users@glassfish.java.net

Re: Problem using Toplink in JWS application

From: <glassfish_at_javadesktop.org>
Date: Tue, 06 Mar 2007 11:20:42 PST

A little more info. Here's some info log from the Toplink library, right after it finishes creating the EntityManagerFactory.

[TopLink Info]: 2007.03.06 01:23:40.437--ServerSession(26935588)--TopLink, version: Oracle TopLink Essentials - 9.1 (Build b36-rc)
[TopLink Info]: 2007.03.06 01:23:40.953--ServerSession(26935588)--http://www.testsite.com/client/Runner.jar-ClientPU

The Runner.jar is 5 MB, so if Toplink is downloading that again, that would explain some of the time (it takes a little more than 5 minutes to create the EMFactory).

I've thought of putting the persistence.xml in it's own jar, which would be smaller, IF this is the case, which I'm not even sure of. But that won't really solve my problem, because I need to be able to run this off-line as well....

Regards, Gath
[Message sent by forum member 'gath55' (gath55)]

http://forums.java.net/jive/thread.jspa?messageID=206520