You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@roller.apache.org by Dean Schulze <de...@yahoo.com> on 2011/01/09 21:12:01 UTC
roller won't start on Tomcat 7
Roller 4.0.1 won't start on Tomcat 7 with Postgresql 8.4. Here's the error:
Jan 9, 2011 1:04:51 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory roller
Roller Weblogger: Successfully loaded custom properties file from classpath
Jan 9, 2011 1:04:53 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error listenerStart
Jan 9, 2011 1:04:53 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/roller] startup failed due to previous errors
Jan 9, 2011 1:04:53 PM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
SEVERE: The web application [/roller] registered the JBDC driver [org.postgresql.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
Jan 9, 2011 1:04:53 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/roller] appears to have started a thread named [Store userCache Spool Thread] but has failed to stop it. This is very likely to create a memory leak.
Jan 9, 2011 1:04:53 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/roller] appears to have started a thread named [Store userCache Expiry Thread] but has failed to stop it. This is very likely to create a memory leak.
Jan 9, 2011 1:04:53 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
Jan 9, 2011 1:04:53 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Jan 9, 2011 1:04:53 PM org.apache.coyote.ajp.AjpProtocol start
INFO: Starting Coyote AJP/1.3 on ajp-8009
Jan 9, 2011 1:04:53 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 7969 ms
Anyone else seen this?
Re: roller won't start on Tomcat 7
Posted by Dave <sn...@gmail.com>.
On Sun, Jan 16, 2011 at 9:46 PM, Dean Schulze <de...@yahoo.com> wrote:
>
> That solved the problem.
>
> The documentation says that mail.jar and activation.jar are optional and only needed if you are going to be using mail from Roller. The docs need to be fixed on this point.
Thanks for reporting this. I just created a JIRA issue to track this:
https://issues.apache.org/jira/browse/ROL-1905
- Dave
Re: roller won't start on Tomcat 7
Posted by Dean Schulze <de...@yahoo.com>.
That solved the problem.
The documentation says that mail.jar and activation.jar are optional and only needed if you are going to be using mail from Roller. The docs need to be fixed on this point.
--- On Sun, 1/9/11, Matt Raible <ma...@raibledesigns.com> wrote:
From: Matt Raible <ma...@raibledesigns.com>
Subject: Re: roller won't start on Tomcat 7
To: "user@roller.apache.org" <us...@roller.apache.org>
Cc: "user@roller.apache.org" <us...@roller.apache.org>
Date: Sunday, January 9, 2011, 9:07 PM
I would try including mail.jar and activation.jar and see if it works.
On Jan 9, 2011, at 8:38 PM, Dean Schulze <de...@yahoo.com> wrote:
>
> The only thing in the .log file is this about not having the mail .jar:
>
> SEVERE: Exception sending context initialized event to listener instance of class org.apache.roller.weblogger.ui.core.RollerContext
> java.lang.NoClassDefFoundError: javax/mail/Authenticator
>
>
> I don't see why this would cause the Postgresql JDBC driver to be unloaded, though.
>
> The documentation says that using mail is optional so I didn't include the mail and activation .jar files.
>
>
>
> --- On Sun, 1/9/11, Matt Raible <ma...@raibledesigns.com> wrote:
>
> From: Matt Raible <ma...@raibledesigns.com>
> Subject: Re: roller won't start on Tomcat 7
> To: user@roller.apache.org
> Date: Sunday, January 9, 2011, 1:13 PM
>
> I would look in $CATALINA_HOME/logs/localhost*.log and see if there's any additional information in there.
>
> On Jan 9, 2011, at 1:12 PM, Dean Schulze wrote:
>
>> Roller 4.0.1 won't start on Tomcat 7 with Postgresql 8.4. Here's the error:
>>
>> Jan 9, 2011 1:04:51 PM org.apache.catalina.startup.HostConfig deployDirectory
>> INFO: Deploying web application directory roller
>> Roller Weblogger: Successfully loaded custom properties file from classpath
>> Jan 9, 2011 1:04:53 PM org.apache.catalina.core.StandardContext startInternal
>> SEVERE: Error listenerStart
>> Jan 9, 2011 1:04:53 PM org.apache.catalina.core.StandardContext startInternal
>> SEVERE: Context [/roller] startup failed due to previous errors
>> Jan 9, 2011 1:04:53 PM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
>> SEVERE: The web application [/roller] registered the JBDC driver [org.postgresql.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
>> Jan 9, 2011 1:04:53 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
>> SEVERE: The web application [/roller] appears to have started a thread named [Store userCache Spool Thread] but has failed to stop it. This is very likely to create a memory leak.
>> Jan 9, 2011 1:04:53 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
>> SEVERE: The web application [/roller] appears to have started a thread named [Store userCache Expiry Thread] but has failed to stop it. This is very likely to create a memory leak.
>> Jan 9, 2011 1:04:53 PM org.apache.catalina.startup.HostConfig deployDirectory
>> INFO: Deploying web application directory ROOT
>> Jan 9, 2011 1:04:53 PM org.apache.coyote.http11.Http11Protocol start
>> INFO: Starting Coyote HTTP/1.1 on http-8080
>> Jan 9, 2011 1:04:53 PM org.apache.coyote.ajp.AjpProtocol start
>> INFO: Starting Coyote AJP/1.3 on ajp-8009
>> Jan 9, 2011 1:04:53 PM org.apache.catalina.startup.Catalina start
>> INFO: Server startup in 7969 ms
>>
>>
>> Anyone else seen this?
>>
>>
>>
>>
>
>
>
>
Re: roller won't start on Tomcat 7
Posted by Matt Raible <ma...@raibledesigns.com>.
I would try including mail.jar and activation.jar and see if it works.
On Jan 9, 2011, at 8:38 PM, Dean Schulze <de...@yahoo.com> wrote:
>
> The only thing in the .log file is this about not having the mail .jar:
>
> SEVERE: Exception sending context initialized event to listener instance of class org.apache.roller.weblogger.ui.core.RollerContext
> java.lang.NoClassDefFoundError: javax/mail/Authenticator
>
>
> I don't see why this would cause the Postgresql JDBC driver to be unloaded, though.
>
> The documentation says that using mail is optional so I didn't include the mail and activation .jar files.
>
>
>
> --- On Sun, 1/9/11, Matt Raible <ma...@raibledesigns.com> wrote:
>
> From: Matt Raible <ma...@raibledesigns.com>
> Subject: Re: roller won't start on Tomcat 7
> To: user@roller.apache.org
> Date: Sunday, January 9, 2011, 1:13 PM
>
> I would look in $CATALINA_HOME/logs/localhost*.log and see if there's any additional information in there.
>
> On Jan 9, 2011, at 1:12 PM, Dean Schulze wrote:
>
>> Roller 4.0.1 won't start on Tomcat 7 with Postgresql 8.4. Here's the error:
>>
>> Jan 9, 2011 1:04:51 PM org.apache.catalina.startup.HostConfig deployDirectory
>> INFO: Deploying web application directory roller
>> Roller Weblogger: Successfully loaded custom properties file from classpath
>> Jan 9, 2011 1:04:53 PM org.apache.catalina.core.StandardContext startInternal
>> SEVERE: Error listenerStart
>> Jan 9, 2011 1:04:53 PM org.apache.catalina.core.StandardContext startInternal
>> SEVERE: Context [/roller] startup failed due to previous errors
>> Jan 9, 2011 1:04:53 PM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
>> SEVERE: The web application [/roller] registered the JBDC driver [org.postgresql.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
>> Jan 9, 2011 1:04:53 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
>> SEVERE: The web application [/roller] appears to have started a thread named [Store userCache Spool Thread] but has failed to stop it. This is very likely to create a memory leak.
>> Jan 9, 2011 1:04:53 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
>> SEVERE: The web application [/roller] appears to have started a thread named [Store userCache Expiry Thread] but has failed to stop it. This is very likely to create a memory leak.
>> Jan 9, 2011 1:04:53 PM org.apache.catalina.startup.HostConfig deployDirectory
>> INFO: Deploying web application directory ROOT
>> Jan 9, 2011 1:04:53 PM org.apache.coyote.http11.Http11Protocol start
>> INFO: Starting Coyote HTTP/1.1 on http-8080
>> Jan 9, 2011 1:04:53 PM org.apache.coyote.ajp.AjpProtocol start
>> INFO: Starting Coyote AJP/1.3 on ajp-8009
>> Jan 9, 2011 1:04:53 PM org.apache.catalina.startup.Catalina start
>> INFO: Server startup in 7969 ms
>>
>>
>> Anyone else seen this?
>>
>>
>>
>>
>
>
>
>
Re: roller won't start on Tomcat 7
Posted by Dean Schulze <de...@yahoo.com>.
The only thing in the .log file is this about not having the mail .jar:
SEVERE: Exception sending context initialized event to listener instance of class org.apache.roller.weblogger.ui.core.RollerContext
java.lang.NoClassDefFoundError: javax/mail/Authenticator
I don't see why this would cause the Postgresql JDBC driver to be unloaded, though.
The documentation says that using mail is optional so I didn't include the mail and activation .jar files.
--- On Sun, 1/9/11, Matt Raible <ma...@raibledesigns.com> wrote:
From: Matt Raible <ma...@raibledesigns.com>
Subject: Re: roller won't start on Tomcat 7
To: user@roller.apache.org
Date: Sunday, January 9, 2011, 1:13 PM
I would look in $CATALINA_HOME/logs/localhost*.log and see if there's any additional information in there.
On Jan 9, 2011, at 1:12 PM, Dean Schulze wrote:
> Roller 4.0.1 won't start on Tomcat 7 with Postgresql 8.4. Here's the error:
>
> Jan 9, 2011 1:04:51 PM org.apache.catalina.startup.HostConfig deployDirectory
> INFO: Deploying web application directory roller
> Roller Weblogger: Successfully loaded custom properties file from classpath
> Jan 9, 2011 1:04:53 PM org.apache.catalina.core.StandardContext startInternal
> SEVERE: Error listenerStart
> Jan 9, 2011 1:04:53 PM org.apache.catalina.core.StandardContext startInternal
> SEVERE: Context [/roller] startup failed due to previous errors
> Jan 9, 2011 1:04:53 PM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
> SEVERE: The web application [/roller] registered the JBDC driver [org.postgresql.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
> Jan 9, 2011 1:04:53 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
> SEVERE: The web application [/roller] appears to have started a thread named [Store userCache Spool Thread] but has failed to stop it. This is very likely to create a memory leak.
> Jan 9, 2011 1:04:53 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
> SEVERE: The web application [/roller] appears to have started a thread named [Store userCache Expiry Thread] but has failed to stop it. This is very likely to create a memory leak.
> Jan 9, 2011 1:04:53 PM org.apache.catalina.startup.HostConfig deployDirectory
> INFO: Deploying web application directory ROOT
> Jan 9, 2011 1:04:53 PM org.apache.coyote.http11.Http11Protocol start
> INFO: Starting Coyote HTTP/1.1 on http-8080
> Jan 9, 2011 1:04:53 PM org.apache.coyote.ajp.AjpProtocol start
> INFO: Starting Coyote AJP/1.3 on ajp-8009
> Jan 9, 2011 1:04:53 PM org.apache.catalina.startup.Catalina start
> INFO: Server startup in 7969 ms
>
>
> Anyone else seen this?
>
>
>
>
Re: roller won't start on Tomcat 7
Posted by Matt Raible <ma...@raibledesigns.com>.
I would look in $CATALINA_HOME/logs/localhost*.log and see if there's any additional information in there.
On Jan 9, 2011, at 1:12 PM, Dean Schulze wrote:
> Roller 4.0.1 won't start on Tomcat 7 with Postgresql 8.4. Here's the error:
>
> Jan 9, 2011 1:04:51 PM org.apache.catalina.startup.HostConfig deployDirectory
> INFO: Deploying web application directory roller
> Roller Weblogger: Successfully loaded custom properties file from classpath
> Jan 9, 2011 1:04:53 PM org.apache.catalina.core.StandardContext startInternal
> SEVERE: Error listenerStart
> Jan 9, 2011 1:04:53 PM org.apache.catalina.core.StandardContext startInternal
> SEVERE: Context [/roller] startup failed due to previous errors
> Jan 9, 2011 1:04:53 PM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
> SEVERE: The web application [/roller] registered the JBDC driver [org.postgresql.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
> Jan 9, 2011 1:04:53 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
> SEVERE: The web application [/roller] appears to have started a thread named [Store userCache Spool Thread] but has failed to stop it. This is very likely to create a memory leak.
> Jan 9, 2011 1:04:53 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
> SEVERE: The web application [/roller] appears to have started a thread named [Store userCache Expiry Thread] but has failed to stop it. This is very likely to create a memory leak.
> Jan 9, 2011 1:04:53 PM org.apache.catalina.startup.HostConfig deployDirectory
> INFO: Deploying web application directory ROOT
> Jan 9, 2011 1:04:53 PM org.apache.coyote.http11.Http11Protocol start
> INFO: Starting Coyote HTTP/1.1 on http-8080
> Jan 9, 2011 1:04:53 PM org.apache.coyote.ajp.AjpProtocol start
> INFO: Starting Coyote AJP/1.3 on ajp-8009
> Jan 9, 2011 1:04:53 PM org.apache.catalina.startup.Catalina start
> INFO: Server startup in 7969 ms
>
>
> Anyone else seen this?
>
>
>
>