users@glassfish.java.net

Re: Apache roller deploys fine on gfv2ur2 -- gets exceptions deploying to gfv301

From: Dominik Dorn <dominik.dorn_at_gmail.com>
Date: Tue, 21 Dec 2010 01:03:31 +0100

For some reason its using OpenJPA while it should be using EclipseLink.
Check if theres a way to change the JPA provider in roller.

On Tue, Dec 21, 2010 at 12:47 AM, emiddio-frontier <emiddio_at_frontier.com> wrote:
> Follow up with more info -- see below for initial message and info.
>
> roller obtained from http://roller.apache.org/downloads.html
>
> version 4.0.1
>
> file attached is .txt file -- of the glassfish v301 deploy log exceptions.
>
> again --seems to work fine with gfv2ur2
>
> Gary
>
>
>
> ----- Original Message -----
> From: Sahoo
> To: users_at_glassfish.java.net
> Cc: emiddio-frontier ; users_at_glassfish.dev.java.net
> Sent: Thursday, December 16, 2010 6:39 PM
> Subject: Re: Apache roller deploys fine on gfv2ur2 -- gets exceptions
> deploying to gfv301
> Give exception stack and structure of application in more details. Don't try
> putting things in modules/ dir.
>
> Sahoo
> On Thursday 16 December 2010 11:50 PM, emiddio-frontier wrote:
>
> Looking for ideas how to resolve; using the binary Apache Roller 4.0.1
> distro directory based War
>
> only had to configure the jdbc/rollerdb on gfv2ur2 to get roller fully
> functional.
>
> same config done on gfv301 -- but deployment fails with class not found
> exception -- something
> aproximating org.apache.openjpa... class not found
>
> the Jar file containing the not found class in the the lib dir of the
> webapp. the jar file containg the class
> is named openjpa-0.9.7-incubating.jar
>
> simple experiment copying that jar to gfv301/glassfish/modules -- results in
> other issues; so removed.
>
> thanks
>
> gary
>
>
>



-- 
Dominik Dorn
http://dominikdorn.com
http://twitter.com/domdorn
Tausche Deine Lernunterlagen auf http://www.studyguru.eu !