users@glassfish.java.net

Re: What's going on?

From: Sahoo <Sahoo_at_Sun.COM>
Date: Fri, 30 May 2008 08:55:37 -0700

I fail to see how this is relevant to GlassFish community when you are
neither using GlassFish persistence provider nor GlassFish application
server.

Sahoo

glassfish_at_javadesktop.org wrote:
> Hi,
>
> I've got a strange problem. I'm running a web project inside BEA Workshop (Eclipse) using Kodo as my persistence.
>
> I have a persistence.xml file inside src/META-INF/ which specifies my persistence classes and other typical information.
>
> I have a web service that instantiates an EntityMangerFactory from the Persistence class, which is used to persist data.
>
> I've created a JUnit test that calls the web service methods. The funny thing is, when I run the test without launching an application server and just make the call to the interface web service class everything works fine. I get the following line of info in the console (among others.)
>
> [b]openjpa.Runtime - Starting BEA Kodo 4.1.2 with patches:[/b]
>
> However, if I create a WAR and deploy it to the Weblogic App Server and run my test against the webserver, the following is shown in the console:
>
> [b]openjpa.Runtime - Starting OpenJPA 0.9.7[/b]
>
> Why is the application server changing the runtime? How do I set the Runtime to Kodo?
>
> Thanks in advance.
> [Message sent by forum member 'phuenefe' (phuenefe)]
>
> http://forums.java.net/jive/thread.jspa?messageID=277575
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>