For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 3 replies, 2 voices, and was last updated 19 years, 3 months ago by
Riyad Kalla.
-
AuthorPosts
-
nexustelecomMemberI am trying to start JBoss from within eclipse. My JBoss launches fine when I start it directly.
But when I try to invoke it using MyEclipse Application Server launcher, I get the following error java.lang.NoClassDefFoundError
My JBoss is installed in the root directory C:\jboss-4.0.2
MyEclipse is installed under Program Files.Please have a look at the screen shots for the Application Server config settings and the error dialog I am seeing when I try to launch Jboss.
!ENTRY com.genuitec.eclipse.easie.core 1 0 2006-05-17 09:40:41.764
!MESSAGE Error starting JBoss 4 server
!STACK 0
com.genuitec.eclipse.core.GenuitecCoreException: java.lang.NoClassDefFoundError: =
Exception in thread “main”
at com.genuitec.eclipse.easie.jboss.JBoss.start(JBoss.java:58)
at com.genuitec.eclipse.easie.core.ui.action.ServerStartAction.basicRun(Unknown Source)
at com.genuitec.eclipse.core.ui.action.LicenseValidatingAction.run(Unknown Source)
at com.genuitec.eclipse.core.ui.action.LicenseValidatingAction.runWithEvent(Unknown Source)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:538)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3080)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2713)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)
Caused by: org.eclipse.core.runtime.CoreException: java.lang.NoClassDefFoundError: =
Exception in thread “main”
at org.eclipse.jdt.launching.AbstractVMRunner.abort(AbstractVMRunner.java:47)
at org.eclipse.jdt.internal.launching.StandardVMDebugger.checkErrorMessage(StandardVMDebugger.java:322)
at org.eclipse.jdt.internal.launching.StandardVMDebugger.run(StandardVMDebugger.java:236)
at com.genuitec.eclipse.core.JavaVMUtility.execute(JavaVMUtility.java:189)
at com.genuitec.eclipse.easie.jboss.JBossManager.startJBoss(JBossManager.java:56)
at com.genuitec.eclipse.easie.jboss.JBossManager.start(JBossManager.java:37)
at com.genuitec.eclipse.easie.jboss.JBoss.start(JBoss.java:54)
… 26 more*** System properties:
OS=WindowsXP
OS version=5.1
Java version=1.5.0_04*** MyEclipse details:
MyEclipse Enterprise WorkbenchVersion: 4.1.1 GA
Build id: 20060309-4.1.1-GA*** Eclipse details:
Eclipse SDKVersion: 3.1.0
Build id: I20050627-1435Eclipse Platform
Version: 3.1.0
Build id: I20050627-1435Eclipse RCP
Version: 3.1.0
Build id: I20050627-1435Eclipse Java Development Tools
Version: 3.1.0
Build id: I20050627-1435Eclipse Plug-in Development Environment
Version: 3.1.0
Build id: I20050627-1435Eclipse Project SDK
Version: 3.1.0
Build id: I20050627-1435Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-launcher
C:\eclipse-SDK-3.1-win32\eclipse\eclipse.exe
-name
Eclipse
-showsplash
600
-exitdata
85c_58
-vm
C:\WINDOWS\system32\javaw.exeThumbnails
original Image
http://img133.imagevenue.com/img.php?loc=loc151&image=54773_error1.jpg
http://img107.imagevenue.com/img.php?loc=loc142&image=54778_error2.jpg
http://img142.imagevenue.com/img.php?loc=loc217&image=54782_JBoss1.jpg
http://img18.imagevenue.com/img.php?loc=loc69&image=54787_JBoss2.jpg
http://img133.imagevenue.com/img.php?loc=loc45&image=54791_JBoss3.jpg
http://img131.imagevenue.com/img.php?loc=loc295&image=54796_JBoss4.jpgMay 17, 2006 at 11:08 am #252144
Riyad KallaMemberYou have spaces in your optional VM args, you can’t. The spaces around your equals signs is what is screwing it up. Also the spaces between -Xms and -Xmx and the memory amount shouldn’t be there either.
I’d also like to thank you for the most detailed/comprehensive problem report I’ve read in weeks… very easy to troubleshoot with all that info.
May 18, 2006 at 2:54 am #252169
nexustelecomMemberHi Riyad,
I tried that and whew it works. Thanks a lot for your help.
cheers,
Varun.May 18, 2006 at 11:30 pm #252198
Riyad KallaMemberNo problem, glad it’s working.
-
AuthorPosts