[
https://issues.jboss.org/browse/JBIDE-10113?page=com.atlassian.jira.plugi...
]
Max Rydahl Andersen commented on JBIDE-10113:
---------------------------------------------
this is either an AS/WTP server issue or something is missing in runtime setup.
Renaming servers should definitely not cause NCDFErrors or any error for that matter.
Note, automatic detections should not call the server jboss-as, but actually what it is
"EAP 5.1" or similar - if that is the case that is separate bug.
If a server - that was created by the discovery process - is renamed
- it cannot be started
-------------------------------------------------------------------------------------------
Key: JBIDE-10113
URL:
https://issues.jboss.org/browse/JBIDE-10113
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: JBossAS/Servers
Affects Versions: 3.3.0.M4
Reporter: Len DiMaggio
Assignee: Rob Stryker
Fix For: 3.3.0.Beta1
Attachments: JBDS-1907-Screenshot.png
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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira