roller-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Raible <m...@raibledesigns.com>
Subject Re: Error while locating instance bound to JPAPersistenceStrategy with Roller 4 and GF 2
Date Tue, 11 Dec 2007 17:44:50 GMT

On Dec 11, 2007, at 10:38 AM, Rodrigo Reyes wrote:

> Ok. Seems like it was a very simple error. It was not Java 6 but an
> incorrect roller-custom.properties. Once I overwrite it with the  
> right info,
> everything worked like a charm.
>
> Now that I have done this, I could write a small tutorial with  
> specific
> information on how to install roller on GF 2 and Derby. Do you think  
> it
> would be useful?

Yes - more documentation is always useful! ;-)

Matt

>
>
> Thanx again...
>
> Rodrigo
>
> On Dec 10, 2007 10:42 PM, Dave <snoopdave@gmail.com> wrote:
>
>> On Dec 10, 2007 2:03 PM, Rodrigo Reyes <rodrix79@gmail.com> wrote:
>>> I am trying to deploy Roller 4 on Glassfish V2 with Java 6 on  
>>> Windows XP
>> and
>>> although I already created a derby db, the connection pool and the  
>>> jdbc
>>> resource (also the roller-custom.properties is detected), I am  
>>> getting
>> this
>>> error:
>>
>> Hmm... I wonder if Java 6 is causing the problem.
>>
>> Can you please try with Java 5 and let us know what happens?
>>
>> - Dave
>>
>>
>>
>>> Caused by: java.lang.NullPointerException
>>>    at org.apache.openjpa.lib.xml.XMLFactory.getSAXParser(
>> XMLFactory.java
>>> :81)
>>>    at  
>>> org.apache.openjpa.lib.meta.XMLMetaDataParser.parseNewResource(
>>> XMLMetaDataParser.java:349)
>>>    at org.apache.openjpa.lib.meta.XMLMetaDataParser.parse(
>>> XMLMetaDataParser.java:315)
>>>    at org.apache.openjpa.lib.meta.XMLMetaDataParser.parse(
>>


Mime
View raw message