Yes, the classes and libs are all correctly defined.  After some more
investigating, I tried everything from scratch once again.  It seems this
error only occurs when I try to connect to a pre-existing Roller 4.0
database.   When I tried everything from scratch, including new db users,
schemas and fresh Roller 4.0 install I was able to get to the site and
trigger the generation of the roller db tables.  Unfortunately once I
followed the link in the "Click here to complete the installation process
and start using Roller." I a status 500 error on the page, and the logs are
reporting the following exception once I hit the URL:
http://localhost/roller/roller-ui/install/install!bootstrap.rol.

[10:30:53.953] java.lang.NullPointerException
[10:30:53.953]  at
org.apache.roller.weblogger.ui.core.filters.PersistenceSessionFilter.doFilte
r(PersistenceSessionFilter.java:64)
[10:30:53.953]  at
com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java
:70)
[10:30:53.953]  at
org.apache.roller.weblogger.ui.core.filters.BootstrapFilter.doFilter(Bootstr
apFilter.java:65)
[10:30:53.953]  at
com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java
:70)
[10:30:53.953]  at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterCh
ainProxy.java:264)


At this point the error occurs no matter what page I hit, even a simple
helloworld.jsp.


Chris Hoefgen

-----Original Message-----
From: Dave [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 05, 2007 7:29 AM
To: [email protected]
Subject: Re: Unable to get Roller 4.0 RC8 working on Resin 3.0

I haven't touched Resin in years, but this error message:

"com.google.inject.ProvisionException: Error while locating instance
 bound to org.apache.roller.weblogger.business.jpa.JPAPersistenceStrategy"

seems to indicate that the Roller classes or some dependencies of the
Roller classes are not on the classpath. You sure all of Roller's
WEB-INF/lib jars are being included on the classpath?

- Dave


On 11/1/07, Chris Hoefgen <[EMAIL PROTECTED]> wrote:
> I have been trying for the last 2 days to get Roller to run on Resin 3.0.
> No matter how I configure the app I always get the same exception stack
> trace (see below).   I have tried configuring the database both in the
> roller-custom.properties files and as a jndi resource but in either case
the
> same thing happens.  Does anyone have any ideas as to what I can try next?
>
> Roller Version:  4.0 rc8
> Resin Version: 3.0.21
> Java Version:  Sun JDK 5.0.
> OS:  Windows XP Pro
>
>
> com.google.inject.ProvisionException: Error while locating instance
>   bound to org.apache.roller.weblogger.business.jpa.JPAPersistenceStrategy
>   for member at
>
org.apache.roller.weblogger.business.jpa.JPAWebloggerImpl.<init>(JPAWeblogge
> rImpl.java:77)
>         at



Reply via email to