persistence@glassfish.java.net

Re: Anyone have success using Toplink with javawebstart?

From: Marina Vatkina <Marina.Vatkina_at_Sun.COM>
Date: Tue, 24 Apr 2007 13:16:01 -0700

Tim,

Are you on this alias?

thanks,
-marina

Lance J. Andersen wrote:
> Hi,
>
> I am trying albeit unsuccessfully to get an application using Toplink to
> fire up via Java Web Start.
>
> I can successfully launch the application via java -jar and have no
> problems using it with netbeans.
>
> I believe the jnlp is correct(I have attached it). Has anyone used Java
> Webstart with toplink before?
>
>
> It looks like toplink-essentials.jar was not loaded.
>
> thanks in advance
> -lance
>
> ----------------------------------------------------
> starting DJ
> Exception in thread "AWT-EventQueue-0"
> javax.persistence.PersistenceException: No Persistence provider for
> EntityManager named DJPU
> at
> javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:89)
>
> at
> javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:60)
>
> at dj.bpm.SongDBImpl.<init>(SongDBImpl.java:29)
> at dj.bpm.ui.DJTableModel.<init>(DJTableModel.java:29)
> at dj.bpm.ui.DJUI.initComponents(DJUI.java:241)
> at dj.bpm.ui.DJUI.<init>(DJUI.java:39)
> at dj.bpm.ui.DJUI$13.run(DJUI.java:515)
> at java.awt.event.InvocationEvent.dispatch(Unknown Source)
> at java.awt.EventQueue.dispatchEvent(Unknown Source)
> at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
> at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
> at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> at java.awt.EventDispatchThread.run(Unknown Source)
>