glassfish
  1. glassfish
  2. GLASSFISH-18729

set VMARGS=-version cause appclient to fail

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 4.0_dev
    • Fix Version/s: None
    • Component/s: standalone_client
    • Labels:
      None
    • Environment:

      Windows 7

      Description

      If VMARGS=-version is set, appclient fails with "Error occurred during initialization of VM". It is difficult for a user to find the cause of the problem.

      C:\eclipsews\glassfishfeedback\4801\bin>set VMARGS=-version

      C:\eclipsews\glassfishfeedback\4801\bin>appclient -client .\client\warehouseClient.jar
      Error occurred during initialization of VM
      java.lang.Error: java.lang.ClassNotFoundException: org.glassfish.appclient.client.acc.agent.ACCAgent
      ClassLoader
      at java.lang.ClassLoader.initSystemClassLoader(ClassLoader.java:1356)
      at java.lang.ClassLoader.getSystemClassLoader(ClassLoader.java:1319)
      Caused by: java.lang.ClassNotFoundException: org.glassfish.appclient.client.acc.agent.ACCAgentClassL
      oader
      at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:247)
      at java.lang.SystemClassLoaderAction.run(ClassLoader.java:2071)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.lang.ClassLoader.initSystemClassLoader(ClassLoader.java:1344)
      at java.lang.ClassLoader.getSystemClassLoader(ClassLoader.java:1319)

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Tim Quinn
            Reporter:
            tak09
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: