This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Servlets and the fly likes Urgent-Weblogic Servlet Query Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "Urgent-Weblogic Servlet Query" Watch "Urgent-Weblogic Servlet Query" New topic
Author

Urgent-Weblogic Servlet Query

shashi kale
Greenhorn

Joined: Sep 26, 2001
Posts: 7
hi,
there is a file say ABC.class(general class not a servlet file ie not extends HTTPServlet and it is common to other servlets).
Lets say directory strut.:
STP<main dir>
ABC.class<class-file>
TEST<it is in STP>
TEST1<it is in TEST>
stpControllerSerevlet.class<This is servlet class file which require the method of ABC.class>.
how do we resolved in weblogic :it geves me errror taht
/**********************************/
Wed Jan 17 20:50:23 GMT+05:30 2001:<E> <ServletContext-General> Servlet failed with Exception
java.lang.NoClassDefFoundError: STP/TEST/ABC
at STP.TEST.stpControllerSerevlet.doPost(stpControllerSerevlet.java:69)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:772)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:105)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:742)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:686)
at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:247)
at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:361)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:261)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 14491
    
    7

Your source for the class wouldn't happen to start off with a
package TEST.STP;
statement would it? Don't forget BTW that EVEN UNDER WINDOWS upper/lower case MUST match EXACTLY in class file names. The OS doesn't care, but the Java runtime does.
[This message has been edited by Tim Holloway (edited October 18, 2001).]


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Urgent-Weblogic Servlet Query
 
Similar Threads
Weblogic 5.1 war deployment
Could not initialize POSIX Performance Pack
jsps & ejbs on weblogic 5.1 when used it is throwing ....
Facing the problem when loading the servlet but not when compiling.
weblogic ACL problem