Thank you, Dick and Dave for your response.
At the first time, I did not put mysql driver jar in classpath, but I
did after first attempt failure.
Logs that I posted contains everything including my first attempt.
So valid log is the last part to investigate.
Anyway, I attach brand new logs to ask you guys for my favor.
I copied mysql driver jar in both ~/appBase/WEB-INF/lib and tomcat/lib.
However, I get the same result.
What did I wrong and how to figure it out?
Could you give me a clue?
Thank you
Here's my brand new log:
cat logs/roller.log
INFO 2009-01-15 04:04:52,772 DatabaseProvider:successMessage -
SUCCESS: Got parameters. Using configuration type JDB
C_PROPERTIES
INFO 2009-01-15 04:04:52,843 DatabaseProvider:successMessage - --
Using JDBC driver class: com.mysql.jdbc.Driver
INFO 2009-01-15 04:04:52,844 DatabaseProvider:successMessage - --
Using JDBC connection URL: jdbc:mysql://localhost:
3306/roller_db01
INFO 2009-01-15 04:04:52,844 DatabaseProvider:successMessage - --
Using JDBC username: roller_dbu
INFO 2009-01-15 04:04:52,844 DatabaseProvider:successMessage - --
Using JDBC password: [hidden]
INFO 2009-01-15 04:04:52,900 DatabaseProvider:successMessage -
SUCCESS: loaded JDBC driver class [com.mysql.jdbc.Dri
ver]
WARN 2009-01-15 04:04:57,749 WebloggerStartup:prepare - Failed to
setup mail provider, continuing anways.
Reason: ERROR connecting to mail server
org.apache.roller.weblogger.business.startup.StartupException: ERROR
connecting to mail server
at
org.apache.roller.weblogger.business.MailProvider.<init>(MailProvider.java:99)
at
org.apache.roller.weblogger.business.startup.WebloggerStartup.prepare(WebloggerStartup.java:179)
at
org.apache.roller.weblogger.ui.core.RollerContext.contextInitialized(RollerContext.java:138)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4350)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at
org.apache.catalina.core.StandardService.start(StandardService.java:516)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
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:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
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:597)
at
org.tanukisoftware.wrapper.WrapperStartStopApp.run(WrapperStartStopApp.java:238)
at java.lang.Thread.run(Thread.java:619)
--- ROOT CAUSE ---
javax.mail.AuthenticationFailedException
at javax.mail.Service.connect(Service.java:319)
at javax.mail.Service.connect(Service.java:169)
at
org.apache.roller.weblogger.business.MailProvider.getTransport(MailProvider.java:126)
at
org.apache.roller.weblogger.business.MailProvider.<init>(MailProvider.java:96)
at
org.apache.roller.weblogger.business.startup.WebloggerStartup.prepare(WebloggerStartup.java:179)
at
org.apache.roller.weblogger.ui.core.RollerContext.contextInitialized(RollerContext.java:138)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4350)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at
org.apache.catalina.core.StandardService.start(StandardService.java:516)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
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:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
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:597)
at
org.tanukisoftware.wrapper.WrapperStartStopApp.run(WrapperStartStopApp.java:238)
at java.lang.Thread.run(Thread.java:619)
INFO 2009-01-15 04:04:57,773 RollerContext:contextInitialized -
--------------------------------------------------------------
Roller Weblogger startup INCOMPLETE, user interaction required
--------------------------------------------------------------
INFO 2009-01-15 04:04:57,775 RollerContext:initializeSecurityFeatures
- Remember Me enabled: true
INFO 2009-01-15 04:04:57,776 RollerContext:initializeSecurityFeatures
- Password Encryption Algorithm set to 'SHA'
INFO 2009-01-15 04:04:57,776 RollerContext:setupVelocity -
Initializing Velocity
INFO 2009-01-15 04:05:01,001 IPBanFilter:init - INIT IPBanFilter
INFO 2009-01-15 04:05:01,099 RequestMappingFilter:init - Request
mapping filter initialized, 1 mappers configured.
WARN 2009-01-15 04:05:03,317 Settings:getLocale - Settings: Could not
parse struts.locale setting, substituting defa
ult VM locale
INFO 2009-01-15 04:05:05,563 PageServlet:init - Initializing PageServlet
INFO 2009-01-15 04:05:05,570 WeblogPageCache:<init> -
{id=cache.weblogpage, enabled=true, timeout=3600, size=400}
INFO 2009-01-15 04:05:05,574 CacheManager:<clinit> - Cache Manager Initialized.
INFO 2009-01-15 04:05:05,575 CacheManager:<clinit> - Cache Factory =
org.apache.roller.weblogger.util.cache.Expiring
LRUCacheFactoryImpl
INFO 2009-01-15 04:05:05,591 SiteWideCache:<init> -
{id=cache.sitewide, enabled=true, timeout=1800, size=50}
INFO 2009-01-15 04:05:05,592 PageServlet:init - Referrer processing
enabled = true
INFO 2009-01-15 04:05:05,595 FeedServlet:init - Initializing FeedServlet
INFO 2009-01-15 04:05:05,596 WeblogFeedCache:<init> -
{id=cache.weblogfeed, enabled=true, timeout=3600, size=200}
INFO 2009-01-15 04:05:05,618 SearchServlet:init - Initializing SearchServlet
INFO 2009-01-15 04:05:05,620 ResourceServlet:init - Initializing
ResourceServlet
INFO 2009-01-15 04:05:05,631 CommentServlet:init - Initializing CommentServlet
INFO 2009-01-15 04:05:05,663 CommentValidationManager:<init> -
Configured CommentValidator: Blacklist Comment Valida
tor /
org.apache.roller.weblogger.ui.rendering.plugins.comments.BlacklistCommentValidator
INFO 2009-01-15 04:05:05,665 CommentValidationManager:<init> -
Configured CommentValidator: Excess Links Comment Val
idator /
org.apache.roller.weblogger.ui.rendering.plugins.comments.ExcessLinksCommentValidator
INFO 2009-01-15 04:05:05,676 CommentValidationManager:<init> -
Configured CommentValidator: Excess Size Comment Vali
dator /
org.apache.roller.weblogger.ui.rendering.plugins.comments.ExcessSizeCommentValidator
INFO 2009-01-15 04:05:05,677 CommentValidationManager:<init> -
Configured 3 CommentValidators
INFO 2009-01-15 04:05:05,677 CommentServlet:init - Comment Throttling DISABLED
INFO 2009-01-15 04:05:05,679 CommentValidationManager:<init> -
Configured CommentValidator: Blacklist Comment Valida
tor /
org.apache.roller.weblogger.ui.rendering.plugins.comments.BlacklistCommentValidator
INFO 2009-01-15 04:05:05,679 CommentValidationManager:<init> -
Configured CommentValidator: Excess Links Comment Val
idator /
org.apache.roller.weblogger.ui.rendering.plugins.comments.ExcessLinksCommentValidator
INFO 2009-01-15 04:05:05,680 CommentValidationManager:<init> -
Configured CommentValidator: Excess Size Comment Vali
dator /
org.apache.roller.weblogger.ui.rendering.plugins.comments.ExcessSizeCommentValidator
INFO 2009-01-15 04:05:05,680 CommentValidationManager:<init> -
Configured 3 CommentValidators
INFO 2009-01-15 04:05:05,692 RSDServlet:init - Initializing RSDServlet
INFO 2009-01-15 04:05:05,695 PlanetFeedServlet:init - Initializing
PlanetRssServlet
INFO 2009-01-15 04:05:05,696 PlanetCache:<init> - Planet cache =
{id=cache.planet, enabled=true, timeout=1800, size=
10}
INFO 2009-01-15 04:05:05,710 PreviewResourceServlet:init -
Initializing PreviewResourceServlet
INFO 2009-01-15 04:05:05,713 PreviewThemeImageServlet:init -
Initializing PreviewThemeImageServlet
INFO 2009-01-15 04:05:05,716 PreviewServlet:init - Initializing PreviewServlet
On Wed, Jan 14, 2009 at 9:06 AM, Dave <[email protected]> wrote:
> On Wed, Jan 14, 2009 at 8:04 AM, Dick Davies
> <[email protected]> wrote:
>> Roller hasn't been able to autoinstall because there are some things missing.
>>
>> The main one is the mysql jdbc driver; it's not on your classpath by
>> the looks of it. That stops roller from connecting to your DB to initialize
>> it.
>
> Yep. That's a good diagnosis.
>
> The solution is probably to put the MySQL driver jar in <tomcat>/lib
>
> - Dave
>