| Author |
Message |
|
|
Post subject: Problems starting WL 8.1 under MyEclipse [Closed]
Posted: Nov 09, 2004 - 06:53 PM
|
|
Veteran Member


Joined: Nov 09, 2004
Posts: 2
|
|
I am having difficulty starting WL 8.1 (SP1).
Any attempt to start the server produces:
A configuration error occured during startup. Please verify the preference filed with the prompt: java.lang.NoClassDefFoundError:
D:\j2sdk1/4/2\bin;D:\bea\weblogic81\bin;D:\bea\weblogic81\server\bin
-Dweblogic/RootDirectory=D:\bea\user_projects\domains\mydomain
-Dweblogic/Domain=mydomain -Dweblogic/Name=myserver
-Djava/security/policy=D:\bea\weblogic81\server\lib\weblogic/policy
-Dweblogic/management/discover=false
-Dweblogic/management/username=admin
-Dweblogic/management/password=weblogic
Exception in thread "main"
The error is a bit strange - it attempts to mention which property is incorrect, but give a stacktrace instead.
I use Eclipse 3.0.1 build 200409161125, MyEclipse 3.8.2, Window Professional 2000.
I did read the FAQs related to WL 8.1 installations and made sure that all the parameters are properly specified.
I also confirmed that Weblogic is installed correctly (at least it starts from command line and WL plugin). I tried to change the JDK to run it from my default (1.4.2_04) to the one supplied with WL 8.1, but without much success.
I would really appreciate if anybody can shed any light on this.
Thanks,
Sergei |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Nov 09, 2004 - 08:15 PM
|
|
Registered Member

Joined: Jan 06, 2004
Posts: 23824
|
|
|
_________________ Riyad
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Nov 09, 2004 - 09:01 PM
|
|
Veteran Member


Joined: Nov 09, 2004
Posts: 2
|
|
Riyad,
I did check the faq, and I made sure that all the parameters are specified.
I am not sure about your question regarding SDK/JDT. I did install Eclipse by downloading the Platform, and adding JDT later to that install.
Here's my Eclipse configuration (sorry for the lengthy post):
*** Date: 11/9/04 12:53 PM
*** Platform Details:
*** System properties:
awt.toolkit=sun.awt.windows.WToolkit
eclipse.application=org.eclipse.ui.ide.workbench
eclipse.buildId=M200409161125
eclipse.commands=-os
win32
-ws
win32
-arch
x86
-showsplash
D:\eclipse3.0.1\eclipse\eclipse.exe -showsplash 600
-exitdata
D:\eclipse3.0.1\eclipse\eclipse.exe -exitdata 588_3c
-data
d:\eclipse3_data
-vm
d:\j2sdk1.4.2\jre\bin\javaw.exe
eclipse.product=org.eclipse.platform.ide
eclipse.startTime=1100024596313
eclipse.vm=d:\j2sdk1.4.2\jre\bin\javaw.exe
eclipse.vmargs=-Xmx256M
-cp
D:\eclipse3.0.1\eclipse\startup.jar
org.eclipse.core.launcher.Main
eof=eof
file.encoding=Cp1252
file.encoding.pkg=sun.io
file.separator=\
java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment
java.awt.printerjob=sun.awt.windows.WPrinterJob
java.class.path=D:\eclipse3.0.1\eclipse\startup.jar
java.class.version=48.0
java.endorsed.dirs=d:\j2sdk1.4.2\jre\lib\endorsed
java.ext.dirs=d:\j2sdk1.4.2\jre\lib\ext
java.home=d:\j2sdk1.4.2\jre
java.io.tmpdir=C:\DOCUME~1\liliches\LOCALS~1\Temp\
java.library.path=d:\j2sdk1.4.2\jre\bin;.;C:\WINNT\system32;C:\WINNT;d:\j2sdk1.4.2\bin;D:\oracle\ora92\bin;C:\Program Files\Oracle\jre
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Nov 09, 2004 - 09:10 PM
|
|
Registered Member

Joined: Jan 06, 2004
Posts: 23824
|
|
| Quote: | | I am not sure about your question regarding SDK/JDT. I did install Eclipse by downloading the Platform, and adding JDT later to that install. |
This is likely the problem... you need the entire "SDK" download, its ~85mb. Its not enough to use Platform or JDT installs. |
_________________ Riyad
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Nov 22, 2004 - 07:25 PM
|
|

Joined: Nov 22, 2004
Posts: 7
|
|
I have the same problem and I have downloaded and installed the full SDK.
Passing some parameters to JVM, used to be in startWebLogic.cmd, now added them in MyEclipse's application server configuration (WebLogic 8.1).
Script startup runs without problems, clicking on a little running man produces an error:
A configuration error occured during startup. Please verify the preference field with the prompt: java.lang.NoClassDefError: (my_jvm_option)
Exception in thead "main". |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Nov 22, 2004 - 08:01 PM
|
|
Registered Member

Joined: Jan 06, 2004
Posts: 23824
|
|
What are your connector setting values? |
_________________ Riyad
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Nov 22, 2004 - 10:14 PM
|
|

Joined: Nov 22, 2004
Posts: 7
|
|
Are you asking about settings in ra.xml? |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Nov 22, 2004 - 10:18 PM
|
|
Registered Member

Joined: Jan 06, 2004
Posts: 23824
|
|
Actually the weblogic connector settings, Window > Prefs > ME > App Servers> WebLogic 8 |
_________________ Riyad
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Nov 22, 2004 - 10:32 PM
|
|

Joined: Nov 22, 2004
Posts: 7
|
|
Sorry I don't see connector settings box.
There are :
BEA home directory
WebLogic Installation diresctory
Admin username
Admin password
Execution domain root
Execution domain name
Execution server name
Hostname PortNumber
Security policy file
JAAS login configuration file
For JDK, I'm running 1.4.2
(got that note about running JRE and startup exception)
in the optional VM arguments have a list of my params, startup chokes on setting the first one.
Launch - standalone, Debug mode
Paths - a set of my libraries, that I used to set in the script. |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Nov 22, 2004 - 10:42 PM
|
|
Registered Member

Joined: Jan 06, 2004
Posts: 23824
|
|
| Quote: | | Sorry I don't see connector settings box. |
You mean you can't see the values IN these boxes? These settings are what I was curious about... |
_________________ Riyad
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Nov 22, 2004 - 11:18 PM
|
|

Joined: Nov 22, 2004
Posts: 7
|
|
Sorry, got a bit confused.
We are working on providing an implementation to Sun's J2EE Connector spec, so I was thinking how does that relate?
Here are the values:
BEA home directory - C:\dev\bea
WebLogic Installation diresctory - C:\dev\bea\weblogic81
Admin username - weblogic
Admin password - *****
Execution domain root - C:\Dev\bea\user_projects\domains
Execution domain name - TEST
Execution server name - myserver
Hostname PortNumber localhost:7001
Security policy file - C:\Dev\bea\weblogic81\server\lib\weblogic.policy
JAAS login configuration file - empty |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Nov 22, 2004 - 11:42 PM
|
|
Quality Board

Joined: May 23, 2003
Posts: 351
|
|
Domain root setting is incorrect, it should point to a directory under c:\dev\bea\user_projects\domains, most probably c:\dev\bea\user_projects\domains\TEST
The others are correct.
Regards,
Robert |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Nov 23, 2004 - 01:10 AM
|
|

Joined: Nov 22, 2004
Posts: 7
|
|
Changed that, but didn't fix the problem.
Somehow I think it has to do with WebLogic and MyEclipse using different VMs, I set WebLogic to use jdk1.4.2 and MyEclipse I think is using JRE1.4.1.
Could that be the case, how do I "remap" MyEclipse or Eclipse for that matter to a different JDK/JRE ?
All help/suggestions are most appreciated, thanks! |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Nov 23, 2004 - 04:02 AM
|
|
Registered Member

Joined: Jan 06, 2004
Posts: 23824
|
|
Use the -vm command line argument to point to your VM of choice:
| Code: |
eclipse.exe -vm c:\j2sdk1.4.2_06\bin\javaw.exe
|
Something like that. |
_________________ Riyad
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Nov 23, 2004 - 05:35 PM
|
|

Joined: Nov 22, 2004
Posts: 7
|
|
Changed it JDK 1.4.2, problem is still there.
Any tips on tracing the problem to a particular code/routine?
I really need to debug my code, but without autolaunch can't do it (at least don't know how). |
|
|
| |
|
|
|
 |
|
|