facebook

WebLogic launch problem [Closed]

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #197455 Reply

    blaplante
    Member

    I 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 7

    java.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

    #197457 Reply

    Scott Anderson
    Participant

    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 Support

    #197466 Reply

    blaplante
    Member

    I am using the jdk that is embeded in Weblogic from root:
    C:\bea\jdk131_03

    java -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.

    #197467 Reply

    Wayne Kidd
    Member

    @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 Support

    When 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

    #197468 Reply

    Scott Anderson
    Participant

    When 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

    #197482 Reply

    blaplante
    Member

    I 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_03

    The 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.

    #197521 Reply

    blaplante
    Member

    I 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.

    #197635 Reply

    doyle
    Member

    This Has been a big big big help for me thank you !

Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: WebLogic launch problem [Closed]

You must be logged in to post in the forum log in