This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes BEA/Weblogic and the fly likes Linkage error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Linkage error" Watch "Linkage error" New topic
Author

Linkage error

Rohit Agarwal
Greenhorn

Joined: Jul 13, 2001
Posts: 9
Hi,
I am facing a very peculiar problem. I am trying to execute the multipart request program given by jason hunter. I am calling the program from another servlet which passes the file name to the multipartrequest program. It works till the point that that point as soon as the multipartrequest class is executed in the weblogic console i am getting this error.

Mon Aug 13 15:11:10 CDT 2001:<E> <ServletContext-General> Servlet failed with Exception
java.lang.LinkageError: Class javax/servlet/http/HttpServletRequest violates loader constraints
at com.oreilly.servlet.multipart.MultipartParser.<init>(MultipartParser.
java:70)
at com.oreilly.servlet.multipart.MultipartParser.<init>(MultipartParser.
java:83)
at com.oreilly.servlet.MultipartRequest.<init>(MultipartRequest.java, Compiled Code)
at FileGot.doPost(FileGot.java, Compiled Code)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:772)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:120)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
textImpl.java:922)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
textImpl.java:886)
at weblogic.servlet.internal.ServletContextManager.invokeServlet(Servlet
ContextManager.java:269)
at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.jav
a:380)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:268)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)

Firstly
where should i be keeping the com.orielly package. I have put it in the servletclasses direcory
Secondly
where should the jsdk2.1 path be given.
Please help
Rohit
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Linkage error
 
Similar Threads
antlr/CharQueue error in Weblogic
Applet Connecting to Tibco
Applet Connecting to Tibco
internal Servlet Error??? Pls help me urgently ATTN: George Brown also
Applet Connecting to Tibco