| Author |
problem with path to WebLogic 6.1 startup class
|
meital ben
Greenhorn
Joined: Jun 05, 2002
Posts: 12
|
|
Hi. I am trying to use WebLogic startup class. I have done all that was written in the documentation and I add the path to the CLASSPATH and still I get the same message - <Failed to invoke startup class "className", java.lang.ClassNotFoundException > Does any one have idea ???
|
Meital
|
 |
Simon Brown
sharp shooter, and author
Ranch Hand
Joined: May 10, 2000
Posts: 1860
|
|
How have you added your startup class to the CLASSPATH? There are two ways to do this - either through the admin console (Remote Start options) and by using the PRE and POST_CLASSPATH variables in the WLS startup scripts/batch files. BTW, I'm moving this to the BEA/WebLogic forum since it is product related. Also, could you please take a look at the naming policy and edit your profile to meet the guidelines - thanks. Regards Simon
|
 |
meital ben
Greenhorn
Joined: Jun 05, 2002
Posts: 12
|
|
I have added the startup class to the CLASSPATH in "startWebLogic.cmd" script
|
 |
Pradeep bhatt
Ranch Hand
Joined: Feb 27, 2002
Posts: 8876
|
|
|
Can u paste ur startup cmd file here.
|
Groovy
|
 |
meital ben
Greenhorn
Joined: Jun 05, 2002
Posts: 12
|
|
in the config file: <StartupClass ClassName="wlserver6.1.config.mydomain.StartupClasses.myPackage.MyStartupClass "FailureIsFatal="false" Name="MyStartupClass" Targets="myserver"/> in the startWebLogic.cmd I added to the CLASSPATH: C:\bea\wlserver6.1\config\mydomain\ StartupClasses\myPackage\MyStartupClass [ June 06, 2002: Message edited by: meital ben ]
|
 |
Pradeep bhatt
Ranch Hand
Joined: Feb 27, 2002
Posts: 8876
|
|
Include this in CLASSPATH C:\bea\wlserver6.1\config\mydomain\ and not C:\bea\wlserver6.1\config\mydomain\ StartupClasses\myPackage\MyStartupClass
|
 |
meital ben
Greenhorn
Joined: Jun 05, 2002
Posts: 12
|
|
Thanks for your answer... but, I changed the CLASSPATH as you offered and still it didn't work What am I doing wrong ??
|
 |
meital ben
Greenhorn
Joined: Jun 05, 2002
Posts: 12
|
|
Thanks - it works ... I changed also the path in the config.xml file to the continuation of the path in the CLASSPATH only meaning- in the config.xml: ClassName="myPackage.MyStartupClass the CLASSPATH: .\config\mydomain\StartupClasses
|
 |
 |
|
|
subject: problem with path to WebLogic 6.1 startup class
|
|
|