Please make sure you are looking at the 2nd jnlp file as the first one
has an obvious typo. I also have attached the persistence.xml..
It does look like the toplink-essentials-jar is loaded as the verison
with the typo of *toplink-essentials.jarr *generates the following error:
java.io.FileNotFoundException:
C:\Netbeans\DJ\dist\lib\toplink-essentials.jarr (The system cannot find
the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
at com.sun.deploy.net.BasicHttpRequest.doGetRequest(Unknown Source)
at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown
Source)
at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown
Source)
at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
at com.sun.javaws.LaunchDownload.downloadJarFiles(Unknown Source)
at com.sun.javaws.LaunchDownload.downloadEagerorAll(Unknown Source)
at com.sun.javaws.Launcher.downloadResources(Unknown Source)
at com.sun.javaws.Launcher.prepareLaunchFile(Unknown Source)
at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
at com.sun.javaws.Launcher.launch(Unknown Source)
at com.sun.javaws.Main.launchApp(Unknown Source)
at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
at com.sun.javaws.Main$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Marina Vatkina wrote:
> 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)
>>