Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-10113

If a server - that was created by the discovery process - is renamed - it cannot be started

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 3.3.0.M5
    • 3.3.0.M4
    • server
    • None

      To recreate, during installation, reference a JBoss AS, EAP, or SOA-P server dir tree to have the installer discover server runtimes.

      For SOA-P and EPA, the "jboss-as" directory results in a server runtime named "jboss-as"

      If this server name is renamed - in the servers view - and the server is started, this exception results:

      Exception in thread "main" java.lang.NoClassDefFoundError: org/jboss/Main
      Caused by: java.lang.ClassNotFoundException: org.jboss.Main
      at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
      Could not find the main class: org.jboss.Main. Program will exit.

            rob.stryker Rob Stryker (Inactive)
            ldimaggi@redhat.com Len DiMaggio
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: