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

Linkage error

Rohit Agarwal

Joined: Jul 13, 2001
Posts: 9
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.
at com.oreilly.servlet.multipart.MultipartParser.<init>(MultipartParser.
at com.oreilly.servlet.MultipartRequest.<init>(, Compiled Code)
at FileGot.doPost(, Compiled Code)
at javax.servlet.http.HttpServlet.service(
at javax.servlet.http.HttpServlet.service(
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
at weblogic.servlet.internal.ServletContextManager.invokeServlet(Servlet
at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.jav
at weblogic.socket.MuxableSocketHTTP.execute(
at, Compiled Code)

where should i be keeping the com.orielly package. I have put it in the servletclasses direcory
where should the jsdk2.1 path be given.
Please help
I agree. Here's the link:
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