You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Paul Maxted <pa...@aricent.com> on 2009/03/04 17:08:06 UTC

CAS on tomcat 6.0.18

Hello again,

I have a new problem.

I am trying to deploy CAS Version 3.3 Release on and Ubuntu 8.10.

I have had a whole series of errors some of which I have removed by adding permissions to catalina.policy but I'm left wth the following stubborn set ...

<code>
SEVERE: SafeContextLoaderListener:
The Spring ContextLoaderListener we wrap threw on contextInitialized.
But for our having caught this error, the web application context would not have
 initialized.
java.lang.NoClassDefFoundError: org/springframework/core/NestedExceptionUtils
        at org.springframework.core.NestedRuntimeException.getMessage(NestedRunt
imeException.java:67)
        at java.lang.Throwable.getLocalizedMessage(Throwable.java:284)
        at java.lang.Throwable.toString(Throwable.java:360)
        at org.springframework.beans.factory.BeanCreationException.toString(Bean
CreationException.java:150)
        at java.lang.String.valueOf(String.java:2838)
        at java.io.PrintWriter.println(PrintWriter.java:727)
        at java.lang.Throwable.printStackTrace(Throwable.java:526)
        at org.springframework.beans.factory.BeanCreationException.printStackTra
ce(BeanCreationException.java:176)
        at java.util.logging.SimpleFormatter.format(SimpleFormatter.java:94)
        at org.apache.juli.FileHandler.publish(FileHandler.java:129)
        at java.util.logging.Logger.log(Logger.java:476)
        at java.util.logging.Logger.doLog(Logger.java:498)
        at java.util.logging.Logger.logp(Logger.java:698)
        at org.apache.commons.logging.impl.Jdk14Logger.log(Jdk14Logger.java:100)
        at org.apache.commons.logging.impl.Jdk14Logger.error(Jdk14Logger.java:14
8)
        at org.springframework.web.context.ContextLoader.initWebApplicationConte
xt(ContextLoader.java:215)
        at org.springframework.web.context.ContextLoaderListener.contextInitiali
zed(ContextLoaderListener.java:45)
        at org.jasig.cas.web.init.SafeContextLoaderListener.contextInitialized(S
afeContextLoaderListener.java:62)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContex
t.java:3843)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
342)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:791)
        at org.apache.catalina.core.ContainerBase.access$000(ContainerBase.java:
123)
        at org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(Contain
erBase.java:145)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:76
9)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:830)
        at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:719
)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490
)
        at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1217)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
:293)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:117)
        at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBas
e.java:1337)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.p
rocessChildren(ContainerBase.java:1601)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.p
rocessChildren(ContainerBase.java:1610)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.r
un(ContainerBase.java:1590)
        at java.lang.Thread.run(Thread.java:636)
Caused by: java.lang.ClassNotFoundException: org.springframework.core.NestedExce
ptionUtils
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
der.java:1387)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
der.java:1233)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:336)
        ... 37 more
04-Mar-2009 15:03:16 org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
04-Mar-2009 15:03:16 org.apache.catalina.core.StandardContext start
SEVERE: Context [/cas] startup failed due to previous errors
</code>

Before you say ask the spring or cas forum, I've trawled there forums and found a thread that indicates a bug in tomcat 5.5.25
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=460839

Following on from that I disabled TOMCAT_SECURITY in /etc/init.d/tomcat6 and CAS deploys OK.

Has this bug been re-introduced?

Again I have had this working on a Windows XP box also using tomcat 6.0.18 - is security off by default there - where do you look in windows?

Regards, Paul




"DISCLAIMER: This message is proprietary to Aricent and is intended solely for the use of the individual to whom it is addressed. It may contain privileged or confidential information and should not be circulated or used for any purpose other than for what it is intended. If you have received this message in error,please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly prohibited from using, copying, altering, or disclosing the contents of this message. Aricent accepts no responsibility for loss or damage arising from the use of the information transmitted by this email including damage from virus."

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: CAS on tomcat 6.0.18

Posted by Paul Maxted <pa...@aricent.com>.
Agreed - installing tomcat from tomcat.apache.org fixed this issue.

ThanKs, Paul
________________________________________
From: Caldarale, Charles R [Chuck.Caldarale@unisys.com]
Sent: 04 March 2009 16:47
To: Tomcat Users List
Subject: RE: CAS on tomcat 6.0.18

> From: Paul Maxted [mailto:paul.maxted@aricent.com]
> Subject: CAS on tomcat 6.0.18
>
> Before you say ask the spring or cas forum, I've trawled
> there forums and found a thread that indicates a bug in tomcat 5.5.25
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=460839

This is not a bug in Tomcat, but rather yet another error in the repackaging done by the 3rd-party vendor.

Try using a real Tomcat from tomcat.apache.org, and see what happens.  If the problem cannot be reproduced on a real Tomcat, you need to take it up with your package vendor.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


"DISCLAIMER: This message is proprietary to Aricent and is intended solely for the use of the individual to whom it is addressed. It may contain privileged or confidential information and should not be circulated or used for any purpose other than for what it is intended. If you have received this message in error,please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly prohibited from using, copying, altering, or disclosing the contents of this message. Aricent accepts no responsibility for loss or damage arising from the use of the information transmitted by this email including damage from virus."

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: CAS on tomcat 6.0.18

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Paul Maxted [mailto:paul.maxted@aricent.com]
> Subject: CAS on tomcat 6.0.18
>
> Before you say ask the spring or cas forum, I've trawled
> there forums and found a thread that indicates a bug in tomcat 5.5.25
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=460839

This is not a bug in Tomcat, but rather yet another error in the repackaging done by the 3rd-party vendor.

Try using a real Tomcat from tomcat.apache.org, and see what happens.  If the problem cannot be reproduced on a real Tomcat, you need to take it up with your package vendor.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org