hi all,
i am using resin3, and found it works, but u should customize some jars,
because resin3 already puts jpa in lib, and the warning msg looks there is
something wrong in its implementation
so i try to delete resin3's jpa15.jar
and put roller's 
geronimo-jpa_3.0_spec-1.0.jar
openjpa-0.9.7-incubating.jar
log4j
serp-1.11.0.jar
commons-*.jar
i will try to accurate which jar is really needed to be changed





Chris Hoefgen wrote:
> 
> 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
> 
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Unable-to-get-Roller-4.0-RC8--working-on-Resin-3.0-tf4732652s12275.html#a13899012
Sent from the Roller - User mailing list archive at Nabble.com.

Reply via email to