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 Reference Implementation

 
Chetan Sahasrabudhe
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I am trying to deploy a bean in JRI. when i put my beans without any packages then it works fine.

but when i try to put bean classes in package then I keep getting an error

>>>>>>>>>>>>>>>
Binding name:`java:comp/env/ejb/HelloBean`
java.rmi.RemoteException: CORBA BAD_OPERATION 0 No; nested exception is:
org.omg.CORBA.BAD_OPERATION: minor code: 0 completed: No
org.omg.CORBA.BAD_OPERATION: minor code: 0 completed: No
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:232)
at com.sun.corba.ee.internal.iiop.messages.ReplyMessage_1_2.getSystemException(ReplyMessage_1_2.jav
a:93)
at com.sun.corba.ee.internal.iiop.ClientResponseImpl.getSystemException(ClientResponseImpl.java:108
)
at com.sun.corba.ee.internal.POA.GenericPOAClientSC.invoke(GenericPOAClientSC.java:132)
at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:454)
at examples._Hello_Stub.hello(Unknown Source)
at examples.HelloClient.main(HelloClient.java:50)
at java.lang.reflect.Method.invoke(Native Method)
at com.sun.enterprise.util.Utility.invokeApplicationMain(Utility.java:229)
at com.sun.enterprise.appclient.Main.main(Main.java:155)

Can anyone help ?
 
Valentin Crettaz
Gold Digger
Sheriff
Posts: 7610
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think the following post might help:
http://www.coderanch.com/t/158340/java-EJB-SCBCD/certification/Error-running-AdviceClient

Let us know...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic