Hello all,
I'm trying to build my own simple client app to access the EStorecontroller
session bean running on the J2EE reference implementation, and I can't get
it to work. Here's the code:
public static void main( String[] args )
{
try {
// Get a JNDI context from the J2EE server
InitialContext jndiContext = new InitialContext();
// Create our storekeeper control object
EStorekeeperHome storekeeperHome
= (EStorekeeperHome)jndiContext.lookup(
"java:/comp/env/estorekeeper" );
EStorekeeper storekeeper = storekeeperHome.create();
// etc...
And here's the error:
org.omg.CORBA.INITIALIZE: can't instantiate default ORB implementation
com.sun.enterprise.iiop.POAEJBORB minor code: 0 completed: No
at org.omg.CORBA.ORB.create_impl(ORB.java:270)
at org.omg.CORBA.ORB.init(ORB.java:307)
at com.sun.enterprise.util.ORBManager.createORB(ORBManager.java:130)
at com.sun.enterprise.util.ORBManager.init(ORBManager.java:60)
at
com.sun.enterprise.naming.EJBInitialContextFactory.<init>(EJBInitialContextF
actory.java:37)
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:241)
at
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:664)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:250)
at javax.naming.InitialContext.init(InitialContext.java:226)
at javax.naming.InitialContext.<init>(InitialContext.java:182)
at ClientTest.main(ClientTest.java:20)
Any ideas on what I'm not doing correctly would be *greatly* appreciated.
Thanks,
Kurt Christensen
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".