Two Laptop Bag*
The moose likes BEA/Weblogic and the fly likes java.rmi.UnmarshalException when persist a blob using hibernate in t3 protocol Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "java.rmi.UnmarshalException when persist a blob using hibernate in t3 protocol" Watch "java.rmi.UnmarshalException when persist a blob using hibernate in t3 protocol" New topic
Author

java.rmi.UnmarshalException when persist a blob using hibernate in t3 protocol

Harshana Dias
Ranch Hand

Joined: Jun 11, 2007
Posts: 327
I am write a blob through a batch job. I am using jndi url in t3 protocol in order to connect to the weblogic 9 server. The code which uploads the blob is below,




It even upload the ByteArrayInputStream i passed to the method but it throws this exception and why it throws even after the blob is persist in the database?




When i invoke the same with by connecting to the server with http protocol there is no exception occured.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: java.rmi.UnmarshalException when persist a blob using hibernate in t3 protocol