File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes BEA/Weblogic and the fly likes problem with path to WebLogic 6.1 startup class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "problem with path to WebLogic 6.1 startup class" Watch "problem with path to WebLogic 6.1 startup class" New topic
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: 1913
    
    6
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: 8919

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: 8919

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem with path to WebLogic 6.1 startup class