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 21 years, 2 months ago by
Riyad Kalla.
-
AuthorPosts
-
jarahMemberI am trying to get eclipse to start/stop my BEA Weblogic 6.1 Server. Everytime I try to start I get an error message box saying “Could not find the main class. Program will exit!” and then an exception about NoClassDefFoundError which is detailed below.
Probably a newbie problem, but any help appreciated!
Many thanks
John
Current Setup is as follows:
Win 2000 Advanced Server SP3
Eclipse Platform – Version: 3.0.0 – Build id: 200406251208
Freshly installed
MyEclipse – Version: 3.8.1 – Build id: 200408201200-3.8.1
Using the folowing JDK for Eclipse
java version “1.4.2_05”
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-b04)
Java HotSpot(TM) Client VM (build 1.4.2_05-b04, mixed mode)Using the following JDK to launch Server
java version “1.3.1_08”
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_08-b03)
Java HotSpot(TM) Client VM (build 1.3.1_08-b03, mixed mode)Using BEW weblogic Server 6.1
This is the Exception I keep getting
!ENTRY com.genuitec.eclipse.easie.weblogic6 1 1 Aug 27, 2004 11:50:11.356
!MESSAGE Error starting WebLogic: java.lang.NoClassDefFoundError: C:\bea\jdk131\bin;C:\bea\wlserver6/1\bin;C:\bea\wlserver6/1\server\bin -Dweblogic/RootDirectory=C:\bea\wlserver6/1 -Dweblogic/Domain=examples -Dweblogic/Name=examplesServer -Djava/security/policy=C:\bea\wlserver6/1\lib\weblogic/policy -Dweblogic/management/discover=false -Dweblogic/management/username=system -Dweblogic/management/password=system
Exception in thread “main”August 27, 2004 at 10:03 am #213763
Riyad KallaMemberIt looks to me like the command line is getting concatonated… just to test that idea, can you go to the connector and change the server name to “thisIsAReallyLongNameToMakeTheProblemWorse” and then try and rerun the app server and paste the exception here for us to look at? If you look at your 3rd line of your report, the server name is “examplesSrver”, I’m wondering if you put that really long name in, if the last line will be cut off somewhere around “-Dweblogic/ma” or something like that… if that’s the case then this is an environment (Windows) issue with executing too long of a command in the shell, you’ll have to increase your shell space I believe its called… the name slips my mind right now.
If however the command still looks the same, but just longer, than its likely a config/connector issue that we can look into.
August 27, 2004 at 10:14 am #213773
jarahMemberNot sure where you have got that it is concatinated, looking at the previous exception it seemed to have the full name of the server? Anyway here is the trace with the really long name, same problem!
!SESSION Aug 27, 2004 16:10:45.153 ———————————————
eclipse.buildId=I200406251208
java.version=1.4.2_05
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US!ENTRY com.genuitec.eclipse.easie.weblogic6 1 1 Aug 27, 2004 16:10:45.153
!MESSAGE Error starting WebLogic: java.lang.NoClassDefFoundError: C:\bea\jdk131\bin;C:\bea\wlserver6/1\bin;C:\bea\wlserver6/1\server\bin;C:/bea;C:/bea/classes;C:/bea/wlserver6/1/lib -Dweblogic/RootDirectory=C:\bea\wlserver6/1 -Dweblogic/Domain=examples -Dweblogic/Name=thisIsAReallyLongNameToMakeTheProblemWorse -Djava/security/policy=C:\bea\wlserver6/1\lib\weblogic/policy -Dweblogic/management/discover=false -Dweblogic/management/username=system -Dweblogic/management/password=system
Exception in thread “main”August 27, 2004 at 10:17 am #213775
Riyad KallaMemberNot sure where you have got that it is concatinated, looking at the previous exception it seemed to have the full name of the server?
I was concerned that the entire command was getting concatonated, not the server name. I wanted you to try and use a huge server name to see if the characters at the end of that command now would get cut, implying concatonation.
Now that we know its not that, lets look at your setup, does it look similar to this: http://www.myeclipseide.com/FAQ+index-myfaq-yes-id_cat-16.html#11
-
AuthorPosts
