Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

EJB & JBuilder  RSS feed

 
drew_ramakris
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have Inprise Application Server hooked upto JBuilder5. I have written a simple stateless session bean. I am trying to test it and get the following error:
Could not deploy ejb-jar C:/Development/CandidateTracking/Code.jar
org.omg.CORBA.OBJECT_NOT_EXIST: minor code: 0 completed: No
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:237)
at com.inprise.vbroker.orb.SE.read(SE.java:28)
at com.inprise.vbroker.orb.DelegateImpl.handleReply(DelegateImpl.java:711)
at com.inprise.vbroker.orb.DelegateImpl.invoke(DelegateImpl.java:606)
at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:297)
at com.inprise.vbroker.orb.RequestImpl._invoke(RequestImpl.java:195)
at com.inprise.vbroker.orb.RequestImpl.invoke(RequestImpl.java:130)
at org.omg.CosNaming._NamingContextStub.rebind(_NamingContextStub.java:105)
at com.sun.jndi.cosnaming.CNCtx.callBindOrRebind(CNCtx.java:431)
at com.sun.jndi.cosnaming.CNCtx.rebind(CNCtx.java:523)
at javax.naming.InitialContext.rebind(InitialContext.java:370)
at javax.naming.InitialContext.rebind(InitialContext.java:370)
at com.inprise.ejb.Container.load(Container.java:1133)
at com.inprise.ejb.Container.run(Container.java:648)
at com.inprise.ejb.Container.run(Container.java:629)
at com.inprise.ejb.Container.run(Container.java:1514)
Undoing effects of a partial deployment ...
Jar name = C:/Development/CandidateTracking/Code.jar
The home name is : Code
.at com.inprise.ejb.Container.main(Container.java:1519)
Any help is greatly appreciated.
Thanks.
 
danga
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am looking for a new software that related on
graphic in jbuilder5.
so i am willing to know how to do that..
my plan is to download all types of files in picture box..in jbuilder5.
so please send me completer code of that one.
thank you
 
HanMing Low
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
The error is because the client cannot find the server.
Either JBuilder cannot find the Server to deploy the bean or the client could not find the Bean in the Server.
You need to start the osagent, have you done that?
If not, in JBuilder, go Tools | Visibroker SmartAgent.
Otherwise, make sure that your JNDI name for the bean is correct. (in the sense, what you have declared is what your client is looking for)
Hope this helps.
Cheers.

Han Ming
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!