[
https://issues.jboss.org/browse/JBIDE-10113?page=com.atlassian.jira.plugi...
]
Rob Stryker commented on JBIDE-10113:
-------------------------------------
This appears to be a significant regression. What had previously been done was, if
defaults had not been set, all args would be set and added to the launch configuration.
Whether defaults had been set or not, however, critical pieces of functionality, critical
args, would be re-written 100%. So if a server had been renamed, or a runtime location had
changed, these args would change.
This is no longer the case. In the launch refactor and initialization, this was missed.
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