File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Make it so: Java DB Connections & Transactions this week in the JDBC 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
It's not a secret anymore!