roller-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jason mayer <jason.ma...@gmail.com>
Subject Re: roller-mavenized
Date Mon, 01 Feb 2010 20:19:03 GMT
Ah thanks.  Is this the error that you're seeing?

INFO  2010-02-01 13:35:35,229 DatabaseInstaller:createDatabase -
Creating Roller Weblogger database tables.
ERROR 2010-02-01 13:35:35,232 DatabaseInstaller:createDatabase - ERROR
running database creation script
java.lang.NullPointerException
        at java.io.Reader.<init>(Reader.java:61)
        at java.io.InputStreamReader.<init>(InputStreamReader.java:55)
        at org.apache.roller.weblogger.business.startup.SQLScriptRunner.<init>(SQLScriptRunner.java:57)
        at org.apache.roller.weblogger.business.startup.DatabaseInstaller.createDatabase(DatabaseInstaller.java:164)
        at org.apache.roller.weblogger.business.startup.WebloggerStartup.createDatabase(WebloggerStartup.java:106)

If that's the case, I was able to get around this error by logging
into the mysql database and running the createdb.sql script manually
(mysql> source ~/temp/trunk/weblogger-business/target/classes/sql/mysql/createdb.sql)

On Sun, Jan 31, 2010 at 9:55 AM, Anil Gangolli <anil@busybuddha.org> wrote:
>
> Are you on trunk now?  The mavenization is on trunk at this point and any
> further corrections will be done there.  I'm not seeing this on trunk.  I've
> also fixed the README on trunk to stop referring to the roller_mavenized
> branch.
>
> Try pulling trunk and running the exploded war (copy
> weblogger-web/target/roller to webapps instead of the war file).
>
> I'm having a separate problem with an NPE in auto db schema creation that I
> am looking into.
> --a.
>
>
> On 1/28/10 11:47 AM, jason mayer wrote:
>>
>> Trying to start up after following the directions in the README.
>>
>>
>>>
>>> To build and run all unit tests, you do this:
>>>
>>>  svn co https://svn.apache.org/repos/asf/roller/branches/roller_mavenized
>>>  cd roller_mavenized
>>>  mvn install
>>>
>>> You'll find the Roller webapp in weblogger-web/target/roller.
>>>
>>
>> Moved the war to my webapps directory in a fresh install of
>> apache-tomcat-5.5.28, and I was getting a SEVERE: Error listenerStart
>> error that seems to be the same as the one that was reported in this
>> 2006 email
>> (http://www.mail-archive.com/roller-user@incubator.apache.org/msg01147.html).
>>
>> In my roller-startup.log file, I have this stacktrace:
>>
>> ERROR 2010-01-28 11:36:02,477 StandardContext:listenerStart - Error
>> configuring application listener of class
>> org.apache.tiles.web.startup.TilesListener
>> java.lang.ClassNotFoundException:
>> org.apache.tiles.web.startup.TilesListener
>>         at
>> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1386)
>>         at
>> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1232)
>>         at
>> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3743)
>>         at
>> org.apache.catalina.core.StandardContext.start(StandardContext.java:4252)
>>         at
>> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
>>         at
>> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
>>         at
>> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
>>         at
>> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:831)
>>         at
>> org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:720)
>>         at
>> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
>>         at
>> org.apache.catalina.startup.HostConfig.start(HostConfig.java:1150)
>>         at
>> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
>>         at
>> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
>>         at
>> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
>>         at
>> org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
>>         at
>> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
>>         at
>> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
>>         at
>> org.apache.catalina.core.StandardService.start(StandardService.java:448)
>>         at
>> org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
>>         at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
>>         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:295)
>>         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
>> ERROR 2010-01-28 11:36:02,480 StandardContext:listenerStart - Skipped
>> installing application listeners due to previous error(s)
>>
>> I had someone else try it on a different machine using tomcat 6.  He
>> got the same error.  Any ideas?
>>
>
>

Mime
View raw message