- This topic has 7 replies, 4 voices, and was last updated 21 years, 4 months ago by doyle.
-
AuthorPosts
-
blaplanteMemberI have been up and down this forum and read other users problems with launching WebLogic 7 from within the IDE. I am having no luck. I am pasting the error message that show up in eclipse below as well as my machine configuration. I hope that some can help.
WinNT 4
Eclipse 2.1.1 (added full JDK as above)
WebLogic 7java.version=1.3.1_04
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86 -install file:C:/eclipse/Info Fri Aug 01 12:02:29 CDT 2003 Error starting WebLogic: java.lang.NoClassDefFoundError: C:\Program
Exception in thread “main”BEA HOME: C:\bea\
Install dir: C:\bea\weblogic700
username=***
password=***
domain root: C:\bea\user_projects\spdomain
domain name spdomain
Server name: spserver
Host name: 127.0.0.1:7001
Security policy: C:\bea\weblogic700\server\lib\weblogic.policy
Scott AndersonParticipantOverall, the configuration looks correct for the WebLogic adaptor. The only troubling thing from the log is this:
Info Fri Aug 01 12:02:29 CDT 2003 Error starting WebLogic: java.lang.NoClassDefFoundError: C:\Program
It’s obviously looking for something in ‘Program Files’ and getting tripped up. Where is your JDK installed? When you open a command shell and type ‘java -version’ what do you get?
Using JDK 1.3.1, unless absolutely required, isn’t recommended for launching WebLogic because it does not have support for HotSwap debugging like the 1.4.1+ JDK’s do. I’d recommend that you download and install the latest production release of JDK 1.4.1 and configure that as the launch JDK for WebLogic. I believe you’ll find that this will address the problem you’re seeing.
–Scott
MyEclipse Support
blaplanteMemberI am using the jdk that is embeded in Weblogic from root:
C:\bea\jdk131_03java -version returns:
C:\WINNT\Profiles\blapla2\STARTM~1>java -version
java version “1.3.1_04”
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3
Java HotSpot(TM) Client VM (build 1.3.1_04-b02, mixed mode)This JDK is required for the project and I don’t have the flexability to change it. Any suggestions.
Wayne KiddMember@scott wrote:
Overall, the configuration looks correct for the WebLogic adaptor. The only troubling thing from the log is this:
Info Fri Aug 01 12:02:29 CDT 2003 Error starting WebLogic: java.lang.NoClassDefFoundError: C:\Program
It’s obviously looking for something in ‘Program Files’ and getting tripped up. Where is your JDK installed? When you open a command shell and type ‘java -version’ what do you get?
Using JDK 1.3.1, unless absolutely required, isn’t recommended for launching WebLogic because it does not have support for HotSwap debugging like the 1.4.1+ JDK’s do. I’d recommend that you download and install the latest production release of JDK 1.4.1 and configure that as the launch JDK for WebLogic. I believe you’ll find that this will address the problem you’re seeing.
–Scott
MyEclipse SupportWhen I see something like C:\Program (without Files\), I often think there is a parameter that requires quote characters to deal with spaces on the MS Windoze environment. Could the problem have anything to do with that? Windoze is notorious in its lack of understanding of space characters.
Wayne
Scott AndersonParticipantWhen I see something like C:\Program (without Files\), I often think there is a parameter that requires quote characters to deal with spaces on the MS Windoze environment. Could the problem have anything to do with that? Windoze is notorious in its lack of understanding of space characters.
This is an excellent thing to check. Thanks for suggesting it Wayne.
A few things I forgot to ask: What version of MyEclipse are you using? What is the build id of your Eclipse installation (Help > About Eclipse Platform…)? Is the Eclipse installation a clean one, without any external plugins?
–Scott
MyEclipse Support
blaplanteMemberI am using 2.1.1 at work and have plugins for jFaceDbc and logwatcher. I am at home now with the following config and it is working fine.
WinXP
Eclipse 2.1.0
Every conceivable pulugin known to mankind
JDK 1.4.1_03The server starts and stops just fine at home, it’s the one at work that is a problem. Monday I am getting a new machine with Win2k so I will see if the problem persists. Also I will try using jdk 1.4.1 for eclipse with out taking my EJB project to 1.4.1.
blaplanteMemberI got my new machine today and decided to install eclipse 2.1.0 instead of 2.1.1 and with win2k and jdk1.3.1_04 everything worked fine. I am choosing to blame this on either NT 4 or eclipse 2.1.1 I don’t know which but the matter is resolved for me. Thanks for your help.
doyleMemberThis Has been a big big big help for me thank you !
-
AuthorPosts