That was from catalina.out - is there another log file I should be looking for? I'm using tomcat 5.5.25 and the message after the logger unloads points me to this page:

 http://www.slf4j.org/codes.html

which gives this explanation for that message:

"Given the structure of the commons-logging API, in particular as implemented by SLF4J, the o.a.commons.logging.impl.SLF4FLogFactory#release() method should never be called. However, depending on the deployment of commons- logging.jar files in your servlet container, release() may be unexpectedly invoked by a copy of org.apache.commons.logging.LogFactory class shipping with commons- logging.jar.

This is a relatively common occurrence with recent versions of Tomcat, especially if you place jcl104-over-slf4j.jar in WEB-INF/lib directory of your web-application instead of $TOMCAT_HOME/common/lib, where $TOMCAT_HOME stands for the directory where Tomcat is installed. In order to fully benefit from the stability offered by jcl104-over-slf4j.jar, we recommend that you place jcl104-over- slf4j.jar in $TOMCAT_HOME/common/lib without placing a copy in your web-applications. "

However, when I remove jcl104-over-slf4j.jar from magnoliaAuthor/WEB- INF/lib/ and put it in $TOMCAT_HOME/common/lib I get this error message when I try to invoke bin/catalina.sh run:

bin/catalina.sh: line 167: - Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager - Djava.util.logging.config.file=/usr/local/vast/apache-tomcat-5.5.25/ conf/logging.properties: No such file or directory
Using CATALINA_BASE:   /usr/local/vast/apache-tomcat-5.5.25
Using CATALINA_HOME:   /usr/local/vast/apache-tomcat-5.5.25
Using CATALINA_TMPDIR: /usr/local/vast/apache-tomcat-5.5.25/temp
Using JRE_HOME:       /usr/lib/jvm/java
java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
at org.apache.commons.logging.impl.SLF4JLogFactory.getInstance (SLF4JLogFactory.java:155) at org.apache.commons.logging.impl.SLF4JLogFactory.getInstance (SLF4JLogFactory.java:131) at org.apache.commons.logging.LogFactory.getLog (LogFactory.java:351) at org.apache.catalina.core.StandardService.<clinit> (StandardService.java:54) 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:513)
        at java.lang.Class.newInstance0(Class.java:355)
        at java.lang.Class.newInstance(Class.java:308)
at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java: 225) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java: 410)
--------

FWIW - /usr/local/vast/apache-tomcat-5.5.25/conf/logging.properties does exist. It contains the default logging.properties that shipped with tomcat.

I think the issue is most likely that I have misconfigured my custom module and it is somehow throwing errors causing Tomcat to barf - but I must have really done a number on it to cause the container to die just by putting something in a jar file in the lib directory of a webapp...

It will probably boil down to something little - I'll keep on pecking away trying to get to the bottom of it - but if anyone has any insights, let me know please :)

Ryan



On Dec 10, 2007, at 8:27 PM, David Smith wrote:
Take a look at tomcat's logs (as opposed to magnolia's logs) and see what's going on. I've not seen this and I don't believe a webapp normally ever shut's down tomcat. Tomcat can shutdown webapps for critical errors but not normally the other way around.

--David

Ryan Gardner wrote:
Here's the stacktrace:

To build my module, I basically took the samples module code and retooled it to match what I needed...

Anyone seen this problem before? I'll let you know when I figure out what caused it / how to fix it...
---------------------------------------------
MAGNOLIA LICENSE
---------------------------------------------
Version number : 3.5 RC3
Build          : 6. December 2007
Edition        : Community Edition
Provider       : Magnolia International ([EMAIL PROTECTED])
INFO info.magnolia.cms.beans.config.ConfigLoader ConfigLoader.java (load:133) 10.12.2007 22:09:39 Initializing content repositories INFO info.magnolia.cms.beans.config.ContentRepository ContentRepository.java(init:195) 10.12.2007 22:09:40 System : loading JCR INFO info.magnolia.cms.beans.config.ContentRepository ContentRepository.java(loadRepositories:302) 10.12.2007 22:09:40 Loading workspace:website INFO info.magnolia.cms.beans.config.ContentRepository ContentRepository.java(loadRepositories:302) 10.12.2007 22:09:40 Loading workspace:config INFO info.magnolia.cms.beans.config.ContentRepository ContentRepository.java(loadRepositories:302) 10.12.2007 22:09:40 Loading workspace:users INFO info.magnolia.cms.beans.config.ContentRepository ContentRepository.java(loadRepositories:302) 10.12.2007 22:09:40 Loading workspace:userroles INFO info.magnolia.cms.beans.config.ContentRepository ContentRepository.java(loadRepositories:302) 10.12.2007 22:09:40 Loading workspace:usergroups INFO info.magnolia.cms.beans.config.ContentRepository ContentRepository.java(loadRepositories:302) 10.12.2007 22:09:40 Loading workspace:mgnlSystem INFO info.magnolia.cms.beans.config.ContentRepository ContentRepository.java(loadRepositories:302) 10.12.2007 22:09:40 Loading workspace:mgnlVersion INFO info.magnolia.cms.beans.config.ContentRepository ContentRepository.java(loadRepository:345) 10.12.2007 22:09:40 System : loading JCR magnolia INFO info.magnolia.jackrabbit.ProviderImpl ProviderImpl.java(init: 176) 10.12.2007 22:09:40 Loading repository at /usr/local/vast/ apache-tomcat-5.5.25/webapps/magnoliaAuthor/repositories/magnolia (config file: /usr/local/vast/apache-tomcat-5.5.25/webapps/ magnoliaAuthor/WEB-INF/config/repo-conf/jackrabbit-derby-search.xml) INFO info.magnolia.cms.beans.config.ContentRepository ContentRepository.java(init:199) 10.12.2007 22:09:42 System : JCR loaded INFO info.magnolia.cms.beans.config.ConfigLoader ConfigLoader.java (load:147) 10.12.2007 22:09:42 Setting system context INFO info.magnolia.module.webapp.WebappVersionHandler WebappVersionHandler.java(getCurrentlyInstalled:58) 10.12.2007 22:09:43 Content was found in the repository, will not bootstrap web- app. INFO info.magnolia.module.ui.ModuleManagerWebUI ModuleManagerWebUI.java(onStartup:73) 10.12.2007 22:09:43 ************************************************************************ ********************************* * * * Magnolia needs module updates or installs, point your browser to your Magnolia instance and confirm ! * * * ************************************************************************ ********************************* INFO info.magnolia.cms.beans.config.ConfigLoader ConfigLoader.java (load:156) 10.12.2007 22:09:43 Init i18n INFO info.magnolia.cms.i18n.AbstractMessagesImpl MessagesManager.java(load:190) 10.12.2007 22:09:43 Config : loading i18n configuration - /server/i18n/system INFO info.magnolia.cms.i18n.AbstractMessagesImpl MessagesManager.java(registerEventListener:233) 10.12.2007 22:09:43 Registering event listener for i18n INFO info.magnolia.cms.beans.config.MIMEMapping MIMEMapping.java (load:104) 10.12.2007 22:09:43 Config : loading MIMEMapping INFO info.magnolia.cms.beans.config.MIMEMapping MIMEMapping.java (load:109) 10.12.2007 22:09:43 Config : MIMEMapping loaded INFO info.magnolia.cms.beans.config.MIMEMapping MIMEMapping.java (registerEventListener:127) 10.12.2007 22:09:43 Registering event listener for MIMEMapping INFO info.magnolia.cms.beans.config.ConfigLoader ConfigLoader.java (load:164) 10.12.2007 22:09:43 Configuration loaded (took 4 seconds) INFO info.magnolia.cms.filters.MgnlMainFilter MgnlMainFilter.java (initRootFilter:181) 10.12.2007 22:09:43 Initializing filters INFO info.magnolia.cms.filters.CompositeFilter CompositeFilter.java (initFilters:87) 10.12.2007 22:09:43 Initializing filter [null] INFO info.magnolia.cms.filters.CompositeFilter CompositeFilter.java (initFilters:87) 10.12.2007 22:09:43 Initializing filter [null] INFO info.magnolia.cms.beans.config.ShutdownManager ShutdownManager.java(execute:128) 10.12.2007 22:09:45 Executing shutdown tasks INFO info.magnolia.commands.MgnlCommand ProviderImpl.java(execute: 222) 10.12.2007 22:09:45 Shutting down repository bound to 'magnoliaAuthor'
Shutting down Log4J
WARN: The method class org.apache.commons.logging.impl.SLF4JLogFactory#release() was invoked.
WARN: Please see http://www.slf4j.org/codes.html for an explanation.
updated.html
----------------------------------------------------------------


On Dec 10, 2007, at 8:27 PM, David Smith wrote:

Take a look at tomcat's logs (as opposed to magnolia's logs) and see what's going on. I've not seen this and I don't believe a webapp normally ever shut's down tomcat. Tomcat can shutdown webapps for critical errors but not normally the other way around.

--David

Ryan Gardner wrote:
Here's the stacktrace:

To build my module, I basically took the samples module code and retooled it to match what I needed...

Anyone seen this problem before? I'll let you know when I figure out what caused it / how to fix it...

-----

---------------------------------------------
MAGNOLIA LICENSE
---------------------------------------------
Version number : 3.5 RC3
Build          : 6. December 2007
Edition        : Community Edition
Provider       : Magnolia International ([EMAIL PROTECTED])
INFO info.magnolia.cms.beans.config.ConfigLoader ConfigLoader.java(load:133) 10.12.2007 22:09:39 Initializing content repositories INFO info.magnolia.cms.beans.config.ContentRepository ContentRepository.java(init:195) 10.12.2007 22:09:40 System : loading JCR INFO info.magnolia.cms.beans.config.ContentRepository ContentRepository.java(loadRepositories:302) 10.12.2007 22:09:40 Loading workspace:website INFO info.magnolia.cms.beans.config.ContentRepository ContentRepository.java(loadRepositories:302) 10.12.2007 22:09:40 Loading workspace:config INFO info.magnolia.cms.beans.config.ContentRepository ContentRepository.java(loadRepositories:302) 10.12.2007 22:09:40 Loading workspace:users INFO info.magnolia.cms.beans.config.ContentRepository ContentRepository.java(loadRepositories:302) 10.12.2007 22:09:40 Loading workspace:userroles INFO info.magnolia.cms.beans.config.ContentRepository ContentRepository.java(loadRepositories:302) 10.12.2007 22:09:40 Loading workspace:usergroups INFO info.magnolia.cms.beans.config.ContentRepository ContentRepository.java(loadRepositories:302) 10.12.2007 22:09:40 Loading workspace:mgnlSystem INFO info.magnolia.cms.beans.config.ContentRepository ContentRepository.java(loadRepositories:302) 10.12.2007 22:09:40 Loading workspace:mgnlVersion INFO info.magnolia.cms.beans.config.ContentRepository ContentRepository.java(loadRepository:345) 10.12.2007 22:09:40 System : loading JCR magnolia INFO info.magnolia.jackrabbit.ProviderImpl ProviderImpl.java (init:176) 10.12.2007 22:09:40 Loading repository at /usr/local/ vast/apache-tomcat-5.5.25/webapps/magnoliaAuthor/repositories/ magnolia (config file: /usr/local/vast/apache-tomcat-5.5.25/ webapps/magnoliaAuthor/WEB-INF/config/repo-conf/jackrabbit-derby- search.xml) INFO info.magnolia.cms.beans.config.ContentRepository ContentRepository.java(init:199) 10.12.2007 22:09:42 System : JCR loaded INFO info.magnolia.cms.beans.config.ConfigLoader ConfigLoader.java(load:147) 10.12.2007 22:09:42 Setting system context INFO info.magnolia.module.webapp.WebappVersionHandler WebappVersionHandler.java(getCurrentlyInstalled:58) 10.12.2007 22:09:43 Content was found in the repository, will not bootstrap web-app. INFO info.magnolia.module.ui.ModuleManagerWebUI ModuleManagerWebUI.java(onStartup:73) 10.12.2007 22:09:43 ********************************************************************* ************************************ * * * Magnolia needs module updates or installs, point your browser to your Magnolia instance and confirm ! * * * ********************************************************************* ************************************ INFO info.magnolia.cms.beans.config.ConfigLoader ConfigLoader.java(load:156) 10.12.2007 22:09:43 Init i18n INFO info.magnolia.cms.i18n.AbstractMessagesImpl MessagesManager.java(load:190) 10.12.2007 22:09:43 Config : loading i18n configuration - /server/i18n/system INFO info.magnolia.cms.i18n.AbstractMessagesImpl MessagesManager.java(registerEventListener:233) 10.12.2007 22:09:43 Registering event listener for i18n INFO info.magnolia.cms.beans.config.MIMEMapping MIMEMapping.java (load:104) 10.12.2007 22:09:43 Config : loading MIMEMapping INFO info.magnolia.cms.beans.config.MIMEMapping MIMEMapping.java (load:109) 10.12.2007 22:09:43 Config : MIMEMapping loaded INFO info.magnolia.cms.beans.config.MIMEMapping MIMEMapping.java (registerEventListener:127) 10.12.2007 22:09:43 Registering event listener for MIMEMapping INFO info.magnolia.cms.beans.config.ConfigLoader ConfigLoader.java(load:164) 10.12.2007 22:09:43 Configuration loaded (took 4 seconds) INFO info.magnolia.cms.filters.MgnlMainFilter MgnlMainFilter.java (initRootFilter:181) 10.12.2007 22:09:43 Initializing filters INFO info.magnolia.cms.filters.CompositeFilter CompositeFilter.java(initFilters:87) 10.12.2007 22:09:43 Initializing filter [null] INFO info.magnolia.cms.filters.CompositeFilter CompositeFilter.java(initFilters:87) 10.12.2007 22:09:43 Initializing filter [null] INFO info.magnolia.cms.beans.config.ShutdownManager ShutdownManager.java(execute:128) 10.12.2007 22:09:45 Executing shutdown tasks INFO info.magnolia.commands.MgnlCommand ProviderImpl.java (execute:222) 10.12.2007 22:09:45 Shutting down repository bound to 'magnoliaAuthor'
Shutting down Log4J
WARN: The method class org.apache.commons.logging.impl.SLF4JLogFactory#release() was invoked.
WARN: Please see http://www.slf4j.org/codes.html for an explanation.

---------------------------------------------------------
After that last WARN, tomcat exits

----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------


----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------


----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------

Reply via email to