Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Harshana Dias
Ranch Hand
Posts: 343
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic