Hi,
Well yes, SSL was not setup correctly. But now SSL is configured but
still I cannot access CAS? I have an exception in the catalina.log. Can
this be an issue?
Here is the log file when I start TOMCAT:
May 9, 2007 2:05:11 PM org.apache.catalina.core.AprLifecycleListener
lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance
in production environments was not found on the
java.library.path:
/usr/lib/jvm/java-1.5.0-sun/jre/lib/i386/client:/usr/lib/jvm/java-1.5.0-sun/jre/lib/i386
May 9, 2007 2:05:11 PM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8180
May 9, 2007 2:05:12 PM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8443
May 9, 2007 2:05:12 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1378 ms
May 9, 2007 2:05:12 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
May 9, 2007 2:05:12 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5
May 9, 2007 2:05:12 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
May 9, 2007 2:05:14 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive cas.war
May 9, 2007 2:05:14 PM org.apache.catalina.startup.HostConfig deployWAR
SEVERE: Error deploying web application archive cas.war
org.apache.commons.logging.LogConfigurationException:
java.lang.ExceptionInInitializerError (Caused by
java.lang.ExceptionInInitializerError)
at
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:538)
at
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:370)
at
org.apache.catalina.core.ContainerBase.getLogger(ContainerBase.java:380)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4114)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at org.apache.catalina.core.ContainerBase.access
$0(ContainerBase.java:743)
at org.apache.catalina.core.ContainerBase
$PrivilegedAddChild.run(ContainerBase.java:143)
at java.security.AccessController.doPrivileged(Native Method)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:737)
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at
org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:809)
at
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:698)
at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
at
org.apache.catalina.core.StandardService.start(StandardService.java:450)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.commons.daemon.support.DaemonLoader.start(DaemonLoader.java:177)
Caused by: java.lang.ExceptionInInitializerError
at org.apache.log4j.Logger.getLogger(Logger.java:104)
at
org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:283)
at
org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:108)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
... 33 more
Caused by: java.security.AccessControlException: access denied
(java.io.FilePermission cas.log write)
at
java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
at
java.security.AccessController.checkPermission(AccessController.java:427)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
at java.lang.SecurityManager.checkWrite(SecurityManager.java:962)
at java.io.FileOutputStream.<init>(FileOutputStream.java:169)
at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
at org.apache.log4j.FileAppender.setFile(FileAppender.java:289)
at
org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:165)
at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:163)
at
org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:256)
at
org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:132)
at
org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:96)
at
org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:654)
at
org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:612)
at
org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:509)
at
org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:415)
at
org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:441)
at
org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:468)
at org.apache.log4j.LogManager.<clinit>(LogManager.java:122)
... 41 more
May 9, 2007 2:05:14 PM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8180
May 9, 2007 2:05:14 PM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8443
May 9, 2007 2:05:14 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
May 9, 2007 2:05:14 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/23 config=null
May 9, 2007 2:05:14 PM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
May 9, 2007 2:05:14 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 2245 ms
Thank you very much
Thierry
On Wed, 2007-05-09 at 15:02 +0400, Dmitry Kochelaev wrote:
> Hello,
>
> have you configured https? If so than cas is available on https port
> ant not http (8180), otherwise configure it.
>
> On 5/9/07, Thierry Nicola <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > yes, I get the default Tomcat Welcome Page by visiting
> > http://localhost:8180, but not by visiting localhost:8080.
> >
> > I think for tomcat version 5.5 default port for linux is 8180.
> >
> >
> > Thank you
> >
> >
> > On Wed, 2007-05-09 at 13:27 +0400, Dmitry Kochelaev wrote:
> > > Hello,
> > >
> > > are you sure that your Tomcat port is 8180 and not 8080?
> > >
> > > On 5/9/07, Thierry Nicola <[EMAIL PROTECTED]> wrote:
> > > > Hi,
> > > >
> > > > I am new to CAS and also new to TOMCAT. I managed to setup up tomcat. I
> > > > wnat to test CAS, so I downloaded the latest version and followed the
> > > > instruction from the INSTALL.txt file
> > > >
> > > > I copied the file from target/cas.war to the
> > > > directory /var/lib/tomcat5.5/webapps. I stopped tomcat and restarted it.
> > > > The directory tomcat5.5/webapps now extracted cas.war so I have a cas
> > > > directory.
> > > >
> > > > If in the browser I try to localhost:8180/cas or
> > > > (localhost:8180/cas/login) I just see a tomcat error page, saying that
> > > > 'The requested resource (/cas/) is not available.'
> > > >
> > > > What am I doing wrong? Could someone please help me?
> > > >
> > > >
> > > > Best Regards
> > > >
> > > > Thierry
> > > >
> > > > _______________________________________________
> > > > Yale CAS mailing list
> > > > [email protected]
> > > > http://tp.its.yale.edu/mailman/listinfo/cas
> > > >
> > >
> > >
> >
> > _______________________________________________
> > Yale CAS mailing list
> > [email protected]
> > http://tp.its.yale.edu/mailman/listinfo/cas
> >
>
>
_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas