Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Converting Remote Entity beans to Local - weblogic.ejb.container.compliance.ComplianceException  RSS feed

 
Jigar M Gohil
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Getting following error in spite of removing all the RemoteException from method signature of create():




Below is my sample code:

ejb-jar.xml



MyKeysHome.java



MyKeysBean.java



Any kind of help is appreciated.
Thanks in Advance.

 
Jigar M Gohil
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I got the root cause. The IOException in my create method signature is creating the problem.
So, as a solution I have removed that from signature with corresponding changes in the Bean.

But the root cause and corresponding trace is not matching up.
I am still wondering, why the exception trace is highlighting RemoteException and not IOException?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!