tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leon Li" <Leon...@aarnet.edu.au>
Subject Error in start tomcat 5.5
Date Tue, 06 Apr 2010 06:01:47 GMT
Hi,

 

I am new to tomcat and have the following error in catalina.out when
starting tomcat 5.5. Any help would be appreciated!

 

Regards

Leon 

 

06/04/2010 5:46:09 AM org.apache.coyote.http11.Http11BaseProtocol init

INFO: Initializing Coyote HTTP/1.1 on http-8080

06/04/2010 5:46:09 AM org.apache.catalina.startup.Catalina load

INFO: Initialization processed in 508 ms

06/04/2010 5:46:09 AM org.apache.catalina.core.StandardService start

INFO: Starting service Catalina

06/04/2010 5:46:09 AM org.apache.catalina.core.StandardEngine start

INFO: Starting Servlet Engine: Apache Tomcat/5.5.23

06/04/2010 5:46:09 AM org.apache.catalina.core.StandardHost start

INFO: XML validation disabled

06/04/2010 5:46:09 AM org.apache.catalina.startup.HostConfig deployWAR

INFO: Deploying web application archive sermyadmin.war

log4j:ERROR setFile(null,true) call failed.

java.io.FileNotFoundException: stacktrace.log (Permission denied)

at java.io.FileOutputStream.openAppend(Native Method)

at java.io.FileOutputStream.<init>(FileOutputStream.java:177)

at java.io.FileOutputStream.<init>(FileOutputStream.java:102)

at org.apache.log4j.FileAppender.setFile(FileAppender.java:290)

at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:164)

at
org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:257)

at
org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java
:133)

at
org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java
:97)

at
org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator
.java:689)

at
org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator
.java:647)

at
org.apache.log4j.PropertyConfigurator.parseCatsAndRenderers(PropertyConf
igurator.java:568)

at
org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.j
ava:442)

at
org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.j
ava:476)

at
org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConver
ter.java:471)

at org.apache.log4j.LogManager.<clinit>(LogManager.java:125)

at org.apache.log4j.Logger.getLogger(Logger.java:105)

at
org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:2
83)

at
org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:108)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorA
ccessorImpl.java:39)

at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCons
tructorAccessorImpl.java:27)

at java.lang.reflect.Constructor.newInstance(Constructor.java:513)

at
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImp
l.java:529)

at
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImp
l.java:235)

at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:370)

at
org.apache.catalina.core.ContainerBase.getLogger(ContainerBase.java:381)

at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4119
)

at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.ja
va:760)

at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)

at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)

at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)

at
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)

at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)

at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)

at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:31
1)

at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu
pport.java:120)

at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)

at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)

at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)

at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)

at
org.apache.catalina.core.StandardService.start(StandardService.java:448)

at
org.apache.catalina.core.StandardServer.start(StandardServer.java:700)

at org.apache.catalina.startup.Catalina.start(Catalina.java:552)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)

at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)

log4j:ERROR setFile(null,true) call failed.

java.io.FileNotFoundException: stacktrace.log (Permission denied)

at java.io.FileOutputStream.openAppend(Native Method)

at java.io.FileOutputStream.<init>(FileOutputStream.java:177)

at java.io.FileOutputStream.<init>(FileOutputStream.java:102)

at org.apache.log4j.FileAppender.setFile(FileAppender.java:290)

at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:164)

at
org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:257)

at
org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java
:133)

at
org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java
:97)

at
org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator
.java:689)

at
org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator
.java:647)

at
org.apache.log4j.PropertyConfigurator.parseCatsAndRenderers(PropertyConf
igurator.java:568)

at
org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.j
ava:442)

at
org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.j
ava:476)

at
org.apache.log4j.PropertyConfigurator.configure(PropertyConfigurator.jav
a:354)

at
org.springframework.util.Log4jConfigurer.initLogging(Log4jConfigurer.jav
a:73)

at
org.springframework.web.util.Log4jWebConfigurer.initLogging(Log4jWebConf
igurer.java:152)

at
org.springframework.web.util.Log4jConfigListener.contextInitialized(Log4
jConfigListener.java:47)

at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.j
ava:3764)

at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4212
)

at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.ja
va:760)

at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)

at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)

at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)

at
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)

at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)

at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)

at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:31
1)

at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu
pport.java:120)

at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)

at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)

at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)

at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)

at
org.apache.catalina.core.StandardService.start(StandardService.java:448)

at
org.apache.catalina.core.StandardServer.start(StandardServer.java:700)

at org.apache.catalina.startup.Catalina.start(Catalina.java:552)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)

at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)

[0] spring.GrailsWebApplicationContext Refreshing
org.codehaus.groovy.grails.commons.spring.GrailsWebApplicationContext@df
5cbd6: display name
[org.codehaus.groovy.grails.commons.spring.GrailsWebApplicationContext@d
f5cbd6]; startup date [Tue Apr 06 05:46:16 UTC 2010]; parent:
org.springframework.web.context.support.XmlWebApplicationContext@1400420
4

[0] spring.GrailsWebApplicationContext Bean factory for application
context
[org.codehaus.groovy.grails.commons.spring.GrailsWebApplicationContext@d
f5cbd6]:
org.springframework.beans.factory.support.DefaultListableBeanFactory@6f1
71e30

[212] [localhost].[/sermyadmin] Exception sending context initialized
event to listener instance of class
org.codehaus.groovy.grails.web.context.GrailsContextLoaderListener

org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'messageSource': Initialization of bean failed; nested
exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'transactionManager': Cannot resolve
reference to bean 'sessionFactory' while setting bean property
'sessionFactory'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'sessionFactory': Cannot resolve reference to bean
'dataSource' while setting bean property 'dataSource'; nested exception
is org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'dataSource': Invocation of init method failed;
nested exception is javax.naming.NameNotFoundException: Name jdbc is not
bound in this Context

at java.security.AccessController.doPrivileged(Native Method)

at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.j
ava:3764)

at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4212
)

at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.ja
va:760)

at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)

at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)

at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)

at
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)

at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)

at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)

at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:31
1)

at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu
pport.java:120)

at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)

at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)

at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)

at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)

at
org.apache.catalina.core.StandardService.start(StandardService.java:448)

at
org.apache.catalina.core.StandardServer.start(StandardServer.java:700)

at org.apache.catalina.startup.Catalina.start(Catalina.java:552)

at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)

Caused by: org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'transactionManager': Cannot resolve
reference to bean 'sessionFactory' while setting bean property
'sessionFactory'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'sessionFactory': Cannot resolve reference to bean
'dataSource' while setting bean property 'dataSource'; nested exception
is org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'dataSource': Invocation of init method failed;
nested exception is javax.naming.NameNotFoundException: Name jdbc is not
bound in this Context

at java.security.AccessController.doPrivileged(Native Method)

... 21 more

Caused by: org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'sessionFactory': Cannot resolve reference
to bean 'dataSource' while setting bean property 'dataSource'; nested
exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'dataSource': Invocation of init method
failed; nested exception is javax.naming.NameNotFoundException: Name
jdbc is not bound in this Context

at java.security.AccessController.doPrivileged(Native Method)

... 22 more

Caused by: org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'dataSource': Invocation of init method
failed; nested exception is javax.naming.NameNotFoundException: Name
jdbc is not bound in this Context

at java.security.AccessController.doPrivileged(Native Method)

... 23 more

Caused by: javax.naming.NameNotFoundException: Name jdbc is not bound in
this Context

at org.apache.naming.NamingContext.lookup(NamingContext.java:770)

at org.apache.naming.NamingContext.lookup(NamingContext.java:140)

at org.apache.naming.NamingContext.lookup(NamingContext.java:781)

at org.apache.naming.NamingContext.lookup(NamingContext.java:140)

at org.apache.naming.NamingContext.lookup(NamingContext.java:781)

at org.apache.naming.NamingContext.lookup(NamingContext.java:153)

at org.apache.naming.SelectorContext.lookup(SelectorContext.java:137)

at javax.naming.InitialContext.lookup(InitialContext.java:392)

... 24 more

06/04/2010 5:46:16 AM org.apache.catalina.core.StandardContext start

SEVERE: Error listenerStart

06/04/2010 5:46:16 AM org.apache.catalina.core.StandardContext start

SEVERE: Context [/sermyadmin] startup failed due to previous errors

[217] [localhost].[/sermyadmin] Exception sending context destroyed
event to listener instance of class
org.codehaus.groovy.grails.web.context.GrailsContextLoaderListener

org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'messageSource': Initialization of bean failed; nested
exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'transactionManager': Cannot resolve
reference to bean 'sessionFactory' while setting bean property
'sessionFactory'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'sessionFactory': Cannot resolve reference to bean
'dataSource' while setting bean property 'dataSource'; nested exception
is org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'dataSource': Invocation of init method failed;
nested exception is javax.naming.NameNotFoundException: Name jdbc is not
bound in this Context

at java.security.AccessController.doPrivileged(Native Method)

at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.j
ava:3764)

at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4212
)

at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.ja
va:760)

at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)

at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)

at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)

at
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)

at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)

at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)

at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:31
1)

at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu
pport.java:120)

at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)

at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)

at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)

at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)

at
org.apache.catalina.core.StandardService.start(StandardService.java:448)

at
org.apache.catalina.core.StandardServer.start(StandardServer.java:700)

at org.apache.catalina.startup.Catalina.start(Catalina.java:552)

at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)

Caused by: org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'transactionManager': Cannot resolve
reference to bean 'sessionFactory' while setting bean property
'sessionFactory'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'sessionFactory': Cannot resolve reference to bean
'dataSource' while setting bean property 'dataSource'; nested exception
is org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'dataSource': Invocation of init method failed;
nested exception is javax.naming.NameNotFoundException: Name jdbc is not
bound in this Context

at java.security.AccessController.doPrivileged(Native Method)

... 21 more

Caused by: org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'sessionFactory': Cannot resolve reference
to bean 'dataSource' while setting bean property 'dataSource'; nested
exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'dataSource': Invocation of init method
failed; nested exception is javax.naming.NameNotFoundException: Name
jdbc is not bound in this Context

at java.security.AccessController.doPrivileged(Native Method)

... 22 more

Caused by: org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'dataSource': Invocation of init method
failed; nested exception is javax.naming.NameNotFoundException: Name
jdbc is not bound in this Context

at java.security.AccessController.doPrivileged(Native Method)

... 23 more

Caused by: javax.naming.NameNotFoundException: Name jdbc is not bound in
this Context

at org.apache.naming.NamingContext.lookup(NamingContext.java:770)

at org.apache.naming.NamingContext.lookup(NamingContext.java:140)

at org.apache.naming.NamingContext.lookup(NamingContext.java:781)

at org.apache.naming.NamingContext.lookup(NamingContext.java:140)

at org.apache.naming.NamingContext.lookup(NamingContext.java:781)

at org.apache.naming.NamingContext.lookup(NamingContext.java:153)

at org.apache.naming.SelectorContext.lookup(SelectorContext.java:137)

at javax.naming.InitialContext.lookup(InitialContext.java:392)

... 24 more

log4j:ERROR LogMananger.repositorySelector was null likely due to error
in class reloading, using NOPLoggerRepository.

06/04/2010 5:46:17 AM org.apache.coyote.http11.Http11BaseProtocol start

INFO: Starting Coyote HTTP/1.1 on http-8080

06/04/2010 5:46:17 AM org.apache.jk.common.ChannelSocket init

INFO: JK: ajp13 listening on /0.0.0.0:8009

06/04/2010 5:46:17 AM org.apache.jk.server.JkMain start

INFO: Jk running ID=0 time=0/15  config=null

06/04/2010 5:46:17 AM org.apache.catalina.storeconfig.StoreLoader load

INFO: Find registry server-registry.xml at classpath resource

06/04/2010 5:46:17 AM org.apache.catalina.startup.Catalina start

INFO: Server startup in 7678 ms


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message