The moose likes BEA/Weblogic and the fly likes CLASSPATH problem Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Reply Bookmark "CLASSPATH problem" Watch "CLASSPATH problem" New topic
Author

CLASSPATH problem

Mrutyunjay Hanchinal
Ranch Hand

Joined: Sep 26, 2001
Posts: 50
Hi all
I have built an EAR which has
1. A WAR
2. Two EJB JARs
3. META-INF/application.xml
Now in WAR's WEB-INF/classes I have a class "Startup.class" which is in package com.my.bean.
I need this "Startup.class" to be instantiated on startup.
So what should I have in my weblogic CLASSPATH?
Thanks
Mrutyunjay
Rahul Mahindrakar
Ranch Hand

Joined: Jul 28, 2000
Posts: 1825
If you have it in the WEB-INF/Classes Its in classpath. Once you have a file in the classes folder it is in the classpath. You just have to use it with the package Name.
Rahul
[This message has been edited by Rahul Mahindrakar (edited October 16, 2001).]
Mrutyunjay Hanchinal
Ranch Hand

Joined: Sep 26, 2001
Posts: 50
Hi
Thanks for reply.
But here one thing to note abt is this .war file which contains class is inside EAR file.
If I use it directly it is giving class not found
Thanks
Mrutyunjay
 
 
subject: CLASSPATH problem
 
Threads others viewed
Open an XML file in tomcat with a NOT servlet class
WAR file and its inside classes
Error compiling a simple servlet !!.... any ideas??
JSP Helper classes in Tomcat
classpath for multiple web application.
developer file tools