roller-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anil Gangolli" <a...@busybuddha.org>
Subject Re: Severe error on Tomcat 5.5.17
Date Tue, 25 Jul 2006 15:15:15 GMT


Hmm.  This class should be in the log4j-1.2.11.jar in the roller webapp's 
WEB-INF/lib directory.

Check to make sure you have the log4j-1.2.11.jar in the roller webapp's 
WEB-INF/lib.

Is it possible that you have a different log4j jar in Tomcat's common/lib 
area?  If so, try removing it or replacing it with log4j-1.2.11.jar from 
Roller webapp.

--a.



----- Original Message ----- 
From: "Matt Young" <solid@youngdev.net>
To: <roller-user@incubator.apache.org>
Sent: Monday, July 24, 2006 9:12 PM
Subject: Re: Severe error on Tomcat 5.5.17


> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I cleared the catalina logs and restarted tomcat to see what is new.
> Here is the log file:
>
> Jul 25, 2006 12:00:07 AM org.apache.coyote.http11.Http11BaseProtocol pause
> INFO: Pausing Coyote HTTP/1.1 on http-8080
> Jul 25, 2006 12:00:10 AM 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:
> /opt/sun-jdk-1.5.0.07/jre/lib/i386/client:/opt/sun-jdk-1.5.0.07/jre/lib/i386:/opt/sun-jdk-1.5.0.07/jre/../lib/i386
> Jul 25, 2006 12:00:10 AM org.apache.coyote.http11.Http11BaseProtocol init
> INFO: Initializing Coyote HTTP/1.1 on http-8080
> Jul 25, 2006 12:00:10 AM org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 818 ms
> Jul 25, 2006 12:00:11 AM org.apache.catalina.core.StandardService start
> INFO: Starting service Catalina
> Jul 25, 2006 12:00:11 AM org.apache.catalina.core.StandardEngine start
> INFO: Starting Servlet Engine: Apache Tomcat/5.5
> Jul 25, 2006 12:00:11 AM org.apache.catalina.core.StandardHost start
> INFO: XML validation disabled
> Jul 25, 2006 12:00:11 AM org.apache.catalina.startup.HostConfig
> deployDescriptor
> SEVERE: Error deploying configuration descriptor roller.xml
> java.lang.NoClassDefFoundError: org/apache/log4j/Priority
>        at
> org.apache.commons.logging.impl.Log4jFactory.getInstance(Log4jFactory.java:114)
>        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:4090)
>        at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
>        at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
>        at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
>        at
> org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:608)
>        at
> org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:535)
>        at
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:470)
>        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 org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
> Jul 25, 2006 12:00:12 AM org.apache.coyote.http11.Http11BaseProtocol start
> INFO: Starting Coyote HTTP/1.1 on http-8080
> Jul 25, 2006 12:00:12 AM org.apache.jk.common.ChannelSocket init
> INFO: JK: ajp13 listening on /0.0.0.0:8009
> Jul 25, 2006 12:00:12 AM org.apache.jk.server.JkMain start
> INFO: Jk running ID=0 time=0/166  config=null
> Jul 25, 2006 12:00:12 AM org.apache.catalina.storeconfig.StoreLoader load
> INFO: Find registry server-registry.xml at classpath resource
> Jul 25, 2006 12:00:12 AM org.apache.catalina.startup.Catalina start
> INFO: Server startup in 1564 ms
>
>
>
> also here is my roller.xml file:
> <Context path="/roller" docBase="/home/http/roller" debug="0">
>  <Resource name="jdbc/rollerdb" auth="Container"
> type="javax.sql.DataSource"
>    driverClassName="org.postgres.Driver"
>
> url="jdbc:postgresql://localhost:5432/roller?autoReconnect=true&amp;useUnicode=true&amp;characterEncoding=utf-8"
>    username="<removed>"
>    password="<removed>"
>    maxActive="20"
>    maxIdle="3"
>    removeAbandoned="true"
>    maxWait="3000" />
>  <!-- If you want e-mail features, un-comment the section below -->
>  <!--
>  <Resource name="mail/Session" auth="Container" type="javax.mail.Session"
>     mail.smtp.host="localhost" />
>  -->
> </Context>
>
> and the CATALINA_HOME/logs/roller.log is completely empty.
>
> Cheers,
> Matt Young
> solid@youngdev.net
> GPG Public Key: http://youngdev.net/?page=gpg
>
> Anil Gangolli wrote:
>> Some suggestions:
>> (1) Make sure you also changed the docBase property in the roller.xml to
>> point to your installed location.
>> (2) There is generally more diagnostic info in the
>> CATALINA_HOME/logs/roller.log file when this happens.  Snip an excerpt
>> of that in your next post and hopefully someone will recognize the 
>> problem.
>>
>> --a.
>>
>>
>> ----- Original Message ----- From: "Matt Young" <solid@youngdev.net>
>> To: <roller-user@incubator.apache.org>
>> Sent: Friday, July 21, 2006 10:22 PM
>> Subject: Severe error on Tomcat 5.5.17
>>
>>
>> I am getting the following error when I try to run the tomcat init
>> script:
>> SEVERE: Error deploying configuration descriptor roller.xml
>>
>> I followed the install directions here:
>>
>> http://rollerweblogger.org/docs/installguide/generated/roller-install-guide.html
>>
>>
>> The only thing I changed was
>> 1) the location of the roller install (/home/http/roller instead of
>> /usr/local/roller)
>> 2) postgres backend instead of mysql
>>
>> The error is quite useless without more information.  I was hoping
>> someone else had seen it tho.
>> --
>>
>> Cheers,
>> Matt Young
>> solid@youngdev.net
>> GPG Public Key: http://youngdev.net/?page=gpg
>>>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.3 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFExZpIOLPtyzxdcQYRAnkUAJsHkj34MiSZDXm0JjrzSZtXEj/pcACeKO3/
> Lt/WAEV9uaCe6KDrl0ZWlwo=
> =CyTN
> -----END PGP SIGNATURE-----
> 


Mime
View raw message