• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

what is java.rmi.MarshalException ?

 
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i am calling EJB method "transfer(request,destination)" from inside JSP page.
"request" is a HttpServletRequest object
"destiation" is a string
it is throwing following exceptions.....
java.rmi.MarshalException: failed to marshal public abstract void project.upload.Copy.transf
er(javax.servlet.http.HttpServletRequest,java.lang.String) throws java.rmi.RemoteException,j
ava.io.IOException;
nested exception is: java.io.NotSerializableException: weblogic.servlet.internal.ServletRequestImpl
java.io.NotSerializableException: weblogic.servlet.internal.ServletRequestImpl
actually i am trying to uplaod files and in JSP i use <input type="file"> tag to select a file inside a form.the logic is this that request object also have the file stream and using
ServletInputStream in = request.getInputStream();
i can get the file stream and then save this stream in a new file

Why it is giving exception and any other way to upload files?
Thank's
 
High Plains Drifter
Posts: 7289
Netbeans IDE VI Editor
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This question is likely to get a more pointed response in the EJB forum, so I'll move it there.
reply
    Bookmark Topic Watch Topic
  • New Topic