EJB developement in JBuilder4 with an integration with InpriseAS


EJB programming & troubleshooting: EJB developement in JBuilder4 with an integration with InpriseAS

  1. Hi folks,

    I'm trying to develope a stateless session ejb with the help of jbuilder4 . I'm able to create the jar file and sucessfully createing the client programme out of it..
    after doing all required enterprise set up when i tried to test my ejb i got the following exception while running the server(run)...

    Could not deploy ejb-jar C:\WINNT\Profiles\Administrator\jbproject\project2\MyEJB2.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:622)

    at com.inprise.vbroker.orb.DelegateImpl.invoke(DelegateImpl.java:552)

    at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:294)

    at com.inprise.vbroker.orb.RequestImpl._invoke(RequestImpl.java:194)

    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)

    if anyone of u encountered such kind of error and get a handle over it..please let me know...

    thanks in advance.

  2. The only time I've had that exception is when the program could not find the application server ( generally because it wasn't running, or couldn't be found on the port you're looking on. ) So it may be worth checking the settings on JBuilder and IAS. Also it'll be worth looking on the Borland site for info.