Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Tomcat - JSP/Servlet container
Struts - A MVC web framework
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
JSP - A mailing list about Java Server Pages specification and reference
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
Error when stopping or reloading web application

Error when stopping or reloading web application

2007-01-08       - By Andre Prasetya

 Back
Reply:     1     2     3  

Hi, I got a problem. I always see this at catalina.out everytime I stopped
or reload the web application, what can I do to stop this ? My Application
is Thread based and run behind a web application. When the web application
stopped, it will set the stop value of the Thread as true and will dump
everything on queue to harddrive. Here is the snippet from the catalina.out


Jan 8, 2007 4:51:49 PM
org.apache.catalina.loader.WebappClassLoaderfindResourceInternal
INFO: Illegal access: this web application instance has been stopped
already.  Could not load commons-logging.properties.  The eventual following
stack trace is caused by an error thrown for debugging purposes as well as
to attempt to terminate the thread which caused the illegal access, and has
no functional impact.
Jan 8, 2007 4:51:49 PM
org.apache.catalina.loader.WebappClassLoaderfindResourceInternal
INFO: Illegal access: this web application instance has been stopped
already.  Could not load
META-INF/services/org.apache.commons.logging.LogFactory.  The eventual
following stack trace is caused by an error thrown for debugging purposes as
well as to attempt to terminate the thread which caused the illegal access,
and has no functional impact.
Jan 8, 2007 4:51:49 PM org.apache.catalina.loader.WebappClassLoaderloadClass
INFO: Illegal access: this web application instance has been stopped
already.  Could not load org.apache.log4j.Logger Source code of org.apache.log4j.Logger  The eventual following
stack trace is caused by an error thrown for debugging purposes as well as
to attempt to terminate the thread which caused the illegal access, and has
no functional impact.
java.lang.IllegalStateException Source code of java.lang.IllegalStateException
       at org.apache.catalina.loader.WebappClassLoader Source code of org.apache.catalina.loader.WebappClassLoader(
WebappClassLoader.java:1238)
       at org.apache.catalina.loader.WebappClassLoader Source code of org.apache.catalina.loader.WebappClassLoader(
WebappClassLoader.java:1198)
       at org.apache.commons.logging.impl.LogFactoryImpl Source code of org.apache.commons.logging.impl.LogFactoryImpl$1.run(
LogFactoryImpl.java:441)
       at java.security.AccessController Source code of java.security.AccessController(Native Method)
       at org.apache.commons.logging.impl.LogFactoryImpl Source code of org.apache.commons.logging.impl.LogFactoryImpl(
LogFactoryImpl.java:435)
       at org.apache.commons.logging.impl.LogFactoryImpl Source code of org.apache.commons.logging.impl.LogFactoryImpl(
LogFactoryImpl.java:505)
       at org.apache.commons.logging.impl.LogFactoryImpl Source code of org.apache.commons.logging.impl.LogFactoryImpl(
LogFactoryImpl.java:327)
       at org.apache.commons.logging.impl.LogFactoryImpl Source code of org.apache.commons.logging.impl.LogFactoryImpl(
LogFactoryImpl.java:368)
       at org.apache.commons.logging.impl.LogFactoryImpl Source code of org.apache.commons.logging.impl.LogFactoryImpl(
LogFactoryImpl.java:529)
       at org.apache.commons.logging.impl.LogFactoryImpl Source code of org.apache.commons.logging.impl.LogFactoryImpl(
LogFactoryImpl.java:235)
       at org.apache.commons.logging.impl.LogFactoryImpl Source code of org.apache.commons.logging.impl.LogFactoryImpl(
LogFactoryImpl.java:209)
       at org.apache.commons.logging.LogFactory Source code of org.apache.commons.logging.LogFactory(LogFactory.java:351)
       at com.csp.util.Logging.getLogger(Logging.java:28)
       at com.ricochet.dao.FileInboundDao.retrieve(FileInboundDao.java:113)
       at com.csp.agent.DualStorageDispatcher.retrieve(
DualStorageDispatcher.java:34)
       at com.csp.agent.DualStorageDispatcher.dump(
DualStorageDispatcher.java:56)
       at com.csp.agent.Dispatcher.run(Dispatcher.java:81)
Jan 8, 2007 4:51:49 PM org.apache.catalina.loader.WebappClassLoaderloadClass
INFO: Illegal access: this web application instance has been stopped
already.  Could not load org.apache.commons.logging.impl.Log4JLogger Source code of org.apache.commons.logging.impl.Log4JLogger  The
eventual following stack trace is caused by an error thrown for debugging
purposes as well as to attempt to terminate the thread which caused the
illegal access, and has no functional impact.
java.lang.IllegalStateException Source code of java.lang.IllegalStateException
       at org.apache.catalina.loader.WebappClassLoader Source code of org.apache.catalina.loader.WebappClassLoader(
WebappClassLoader.java:1238)
       at org.apache.catalina.loader.WebappClassLoader Source code of org.apache.catalina.loader.WebappClassLoader(
WebappClassLoader.java:1198)
       at org.apache.commons.logging.impl.LogFactoryImpl Source code of org.apache.commons.logging.impl.LogFactoryImpl$1.run(
LogFactoryImpl.java:441)
       at java.security.AccessController Source code of java.security.AccessController(Native Method)
       at org.apache.commons.logging.impl.LogFactoryImpl Source code of org.apache.commons.logging.impl.LogFactoryImpl(
LogFactoryImpl.java:435)
       at org.apache.commons.logging.impl.LogFactoryImpl Source code of org.apache.commons.logging.impl.LogFactoryImpl(
LogFactoryImpl.java:506)
       at org.apache.commons.logging.impl.LogFactoryImpl Source code of org.apache.commons.logging.impl.LogFactoryImpl(
LogFactoryImpl.java:327)
       at org.apache.commons.logging.impl.LogFactoryImpl Source code of org.apache.commons.logging.impl.LogFactoryImpl(
LogFactoryImpl.java:368)
       at org.apache.commons.logging.impl.LogFactoryImpl Source code of org.apache.commons.logging.impl.LogFactoryImpl(
LogFactoryImpl.java:529)
       at org.apache.commons.logging.impl.LogFactoryImpl Source code of org.apache.commons.logging.impl.LogFactoryImpl(
LogFactoryImpl.java:235)
       at org.apache.commons.logging.impl.LogFactoryImpl Source code of org.apache.commons.logging.impl.LogFactoryImpl(
LogFactoryImpl.java:209)
       at org.apache.commons.logging.LogFactory Source code of org.apache.commons.logging.LogFactory(LogFactory.java:351)
       at com.csp.util.Logging.getLogger(Logging.java:28)
       at com.ricochet.dao.FileInboundDao.retrieve(FileInboundDao.java:113)
       at com.csp.agent.DualStorageDispatcher.retrieve(
DualStorageDispatcher.java:34)
       at com.csp.agent.DualStorageDispatcher.dump(
DualStorageDispatcher.java:56)
       at com.csp.agent.Dispatcher.run(Dispatcher.java:81)
Jan 8, 2007 4:51:49 PM org.apache.catalina.loader.WebappClassLoaderloadClass
INFO: Illegal access: this web application instance has been stopped
already.  Could not load org.apache.commons.logging.impl.Log4JLogger Source code of org.apache.commons.logging.impl.Log4JLogger  The
eventual following stack trace is caused by an error thrown for debugging
purposes as well as to attempt to terminate the thread which caused the
illegal access, and has no functional impact.
java.lang.IllegalStateException Source code of java.lang.IllegalStateException
       at org.apache.catalina.loader.WebappClassLoader Source code of org.apache.catalina.loader.WebappClassLoader(
WebappClassLoader.java:1238)
       at org.apache.catalina.loader.WebappClassLoader Source code of org.apache.catalina.loader.WebappClassLoader(
WebappClassLoader.java:1198)
       at org.apache.commons.logging.impl.LogFactoryImpl Source code of org.apache.commons.logging.impl.LogFactoryImpl$1.run(
LogFactoryImpl.java:441)
       at java.security.AccessController Source code of java.security.AccessController(Native Method)
       at org.apache.commons.logging.impl.LogFactoryImpl Source code of org.apache.commons.logging.impl.LogFactoryImpl(
LogFactoryImpl.java:435)
       at org.apache.commons.logging.impl.LogFactoryImpl Source code of org.apache.commons.logging.impl.LogFactoryImpl(
LogFactoryImpl.java:376)
       at org.apache.commons.logging.impl.LogFactoryImpl Source code of org.apache.commons.logging.impl.LogFactoryImpl(
LogFactoryImpl.java:529)
       at org.apache.commons.logging.impl.LogFactoryImpl Source code of org.apache.commons.logging.impl.LogFactoryImpl(
LogFactoryImpl.java:235)
       at org.apache.commons.logging.impl.LogFactoryImpl Source code of org.apache.commons.logging.impl.LogFactoryImpl(
LogFactoryImpl.java:209)
       at org.apache.commons.logging.LogFactory Source code of org.apache.commons.logging.LogFactory(LogFactory.java:351)
       at com.csp.util.Logging.getLogger(Logging.java:28)
       at com.ricochet.dao.FileInboundDao.retrieve(FileInboundDao.java:113)
       at com.csp.agent.DualStorageDispatcher.retrieve(
DualStorageDispatcher.java:34)
       at com.csp.agent.DualStorageDispatcher.dump(
DualStorageDispatcher.java:56)
       at com.csp.agent.Dispatcher.run(Dispatcher.java:81)
Exception in thread "Thread-45 (See http://ead-45.ora-code.com)"
org.apache.commons.logging.LogConfigurationException Source code of org.apache.commons.logging.LogConfigurationException:
java.lang.NullPointerException Source code of java.lang.NullPointerException.html>java.lang.NullPointerException Source code of java.lang.NullPointerException java.lang.NullPointerException Source code of java.lang.NullPointerException.java.html>Source code of <a href=http://www.docjar.com/docs/api/java/lang/NullPointerException.html>java.lang.NullPointerException</a> <a href=http://www.docjar.com/html/api/java/lang/NullPointerException.java.html><img src=/j.gif alt=' border=0> (Caused by java.lang.NullPointerException Source code of java.lang.NullPointerException.html>java.lang.NullPointerException Source code of java.lang.NullPointerException java.lang.NullPointerException Source code of java.lang.NullPointerException.java.html>Source code of <a href=http://www.docjar.com/docs/api/java/lang/NullPointerException.html>java.lang.NullPointerException</a> <a href=http://www.docjar.com/html/api/java/lang/NullPointerException.java.html><img src=/j.gif alt=' border=0>)
       at org.apache.commons.logging.impl.LogFactoryImpl Source code of org.apache.commons.logging.impl.LogFactoryImpl(
LogFactoryImpl.java:538)
       at org.apache.commons.logging.impl.LogFactoryImpl Source code of org.apache.commons.logging.impl.LogFactoryImpl(
LogFactoryImpl.java:235)
       at org.apache.commons.logging.impl.LogFactoryImpl Source code of org.apache.commons.logging.impl.LogFactoryImpl(
LogFactoryImpl.java:209)
       at org.apache.commons.logging.LogFactory Source code of org.apache.commons.logging.LogFactory(LogFactory.java:351)
       at com.csp.util.Logging.getLogger(Logging.java:28)
       at com.ricochet.dao.FileInboundDao.retrieve(FileInboundDao.java:113)
       at com.csp.agent.DualStorageDispatcher.retrieve(
DualStorageDispatcher.java:34)
       at com.csp.agent.DualStorageDispatcher.dump(
DualStorageDispatcher.java:56)
       at com.csp.agent.Dispatcher.run(Dispatcher.java:81)
Caused by: java.lang.NullPointerException Source code of java.lang.NullPointerException
       at org.apache.log4j.LogManager Source code of org.apache.log4j.LogManager(LogManager.java:188)
       at org.apache.log4j.Logger Source code of org.apache.log4j.Logger(Logger.java:104)
       at org.apache.commons.logging.impl.Log4JLogger Source code of org.apache.commons.logging.impl.Log4JLogger(
Log4JLogger.java:283)
       at org.apache.commons.logging.impl.Log4JLogger Source code of org.apache.commons.logging.impl.Log4JLogger<init>(
Log4JLogger.java:108)
       at sun.reflect.GeneratedConstructorAccessor21.newInstance(Unknown
Source)
       at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
DelegatingConstructorAccessorImpl.java:27)
       at java.lang.reflect.Constructor Source code of java.lang.reflect.Constructor(Constructor.java:494)
       at org.apache.commons.logging.impl.LogFactoryImpl Source code of org.apache.commons.logging.impl.LogFactoryImpl(
LogFactoryImpl.java:529)
       ... 8 more


--
-Andre-

People see things the way they are and say "why ?" I see things that never
were and say "Why not ?"

©2008 junlu.com - Jax Systems, LLC, U.S.A.