glassfish
  1. glassfish
  2. GLASSFISH-2916

cannot use Toplink with JavaWebstart on XP

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 9.0peur1
    • Fix Version/s: future release
    • Component/s: entity-persistence
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      2,916

      Description

      Trying to start an application using java webstart which uses toplink results in
      the following stack trace

      javax.persistence.PersistenceException: No Persistence provider for
      EntityManager named JPAWebStartPU
      at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:89)
      at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:60)
      at WebStartTest.<init>(WebStartTest.java:32)
      at WebStartTest.main(WebStartTest.java:43)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at com.sun.javaws.Launcher.executeApplication(Unknown Source)
      at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
      at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
      at com.sun.javaws.Launcher.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)

      The app can be run without error via java -jar or from within netbeans....

      This Java SE 6 U1 as used in testing

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Mitesh Meswani
            Reporter:
            lancea
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: