roller-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From change diffcult <jiangjf0...@gmail.com>
Subject RE: Unable to get Roller 4.0 RC8 working on Resin 3.0
Date Wed, 12 Mar 2008 04:54:51 GMT

if the exception is still thrown,you can set the
geronimo-jpa_3.0_spec-1.0.jar
 and openjpa-0.9.7-incubating.jar into the Environment Variables's classpath
property.



kang-sze lin wrote:
> 
> 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:snoopdave@gmail.com] 
>> Sent: Monday, November 05, 2007 7:29 AM
>> To: user@roller.apache.org
>> 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 <choefgen@bstage.ca> 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-tp13532715s12275p15997897.html
Sent from the Roller - User mailing list archive at Nabble.com.


Mime
View raw message