[jbosstools-issues] [JBoss JIRA] (JBIDE-10198) NoClassDefFoundError: org/jboss/Main while starting JBoss EAP 4.3 Runtime Server
Stephen Wick (Updated) (JIRA)
jira-events at lists.jboss.org
Fri Nov 18 18:26:40 EST 2011
[ https://issues.jboss.org/browse/JBIDE-10198?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stephen Wick updated JBIDE-10198:
---------------------------------
Steps to Reproduce:
Install Eclipse Indigo
Install JBoss Tools Core 3.3.0.M4 "Web and Java EE Development" group.
Unzip JBoss EAP 4.3 CP09 to C:\jboss-eap-4.3.
Create a server named 'jms1' by copying "c:\jboss-eap-4.3\jboss-as\server\all to c:\jboss-eap-4.3\jboss-as\server\jms1".
Create a JBoss EAP 4.3 Runtime in Eclipse.
- Name: JBoss EAP 4.3 Runtime: jms1
- Home Directory: C:\jboss-eap-4.3\jboss-as
- JRE: jdk1.5.0_08 (C:\Program Files\Java\jdk1.5.0_08)
- Configuration > Directory: server
- Configuration: jms1
Create a JBoss EAP 4.3 Server from the Runtime.
- Press Icon labeled: Select a default server
- Press button labeled: New Server
- Select JBoss Enterprise Middleware > JBoss Enterprise Application Platform 4.3
- Server's hostname: localhost
- Server name: JBoss EAP 4.3 Runtime: jms1 Server
- Server runtime environment: JBoss EAP 4.3 Runtime: jms1
- Finish
Try to start the JBoss EAP 4.3 Server from Eclipse using the icon labeled "Start jms1".
was:
Install Eclipse Indigo
Install JBoss Tools Core 3.3.0.M4 "Web and Java EE Development" group.
Unzip JBoss EAP 4.3 CP09 to C:\jboss-eap-4.3.
Create a server named 'jms1' by copying "c:\jboss-eap-4.3\jboss-as\server\all to c:\jboss-eap-4.3\jboss-as\server\jms1".
Create a JBoss EAP 4.3 Runtime in Eclipse.
- Name: JBoss EAP 4.3 Runtime: jms1
- Home Directory: C:\jboss-eap-4.3\jboss-as
- JRE: jdk1.5.0_08 (C:\Program Files\Java\jdk1.5.0_08)
- Configuration > Directory: server
- Configuration: jms1
Create a JBoss EAP 4.3 Server from the Runtime.
- Press Icon labeled: Select a default server
- Press button labeled: New Server
- Select JBoss Enterprise Middleware > JBoss Enterprise Application Platform 4.3
- Server's hostname: localhost
- Server name: jms1
- Server runtime environment: JBoss EAP 4.3 Runtime: jms1
- Finish
Try to start the JBoss EAP 4.3 Server from Eclipse using the icon labeled "Start jms1".
Forum Reference: http://community.jboss.org/message/637271#637271 (was: http://community.jboss.org/message/637271#637271)
It seems to be related to the Server Name, which defaults to "JBoss EAP 4.3 Runtime: jms1 Server".
When I deleted the Server, then created the server with the name "jms1", it tried to start, but failed because it is missing -Djava.net.preferIPv4Stack=true.
> NoClassDefFoundError: org/jboss/Main while starting JBoss EAP 4.3 Runtime Server
> --------------------------------------------------------------------------------
>
> Key: JBIDE-10198
> URL: https://issues.jboss.org/browse/JBIDE-10198
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: JBossAS/Servers
> Affects Versions: 3.3.0.M4
> Environment: Windows Vista SP2, SUN JDK 1.5.0_08, Eclipse Indigo, Dell Latitude E6410 Laptop, Redhat JBoss EAP 4.3 CP09
> Reporter: Stephen Wick
> Assignee: Rob Stryker
>
> I created a JBoss EAP 4.3 Runtime and Server, and I get the error "NoClassDefFoundError: org/jboss/Main" when I try to start the server.
> The server runs from the command line when I type 'run.bat -c jms1 -b localhost'.
> I even tried making the "Start Command" in the Launch Configuration match the command line that is executed by run.bat and it gives me the same error.
--
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