• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Linkage error

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic