[jbosstools-issues] [JBoss JIRA] (JBDS-1907) If a server - that was created by the discovery process - is renamed - it cannot be started
Len DiMaggio (Created) (JIRA)
jira-events at lists.jboss.org
Tue Oct 25 23:48:45 EDT 2011
If a server - that was created by the discovery process - is renamed - it cannot be started
-------------------------------------------------------------------------------------------
Key: JBDS-1907
URL: https://issues.jboss.org/browse/JBDS-1907
Project: Developer Studio (JBoss Developer Studio)
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: runtime, servers
Affects Versions: 5.0.0.M4
Reporter: Len DiMaggio
Assignee: Brian Fitzpatrick
Fix For: 5.0.0.Beta1
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
More information about the jbosstools-issues
mailing list