ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » Calling an EJB from Activity Implementation

Post new topic  Reply to topic
 Calling an EJB from Activity Implementation « View previous topic :: View next topic » 
Author Message
mqwhelp
PostPosted: Wed May 01, 2002 3:32 pm    Post subject: Reply with quote

Voyager

Joined: 20 Dec 2001
Posts: 85
Location: TCS

I have wriiten a ejb client program and associated it with activity implementation.
When I had start the activity it threw an error


Error running myejbpackage.EjbClient.main([]):
java.lang.ExceptionInInitializerE
rror
java.lang.ExceptionInInitializerError: org.omg.CORBA.INITIALIZE: can't
instantia
te default ORB implementation com.ibm.rmi.corba.ORBSingleton minor code: 0
com
pleted: No
at java.lang.Throwable.<init>(Throwable.java:96)
at java.lang.Exception.<init>(Exception.java:44)
at java.lang.RuntimeException.<init>(RuntimeException.java:49)
at org.omg.CORBA.SystemException.<init>(SystemException.java:51)
at org.omg.CORBA.INITIALIZE.<init>(INITIALIZE.java:75)
at org.omg.CORBA.INITIALIZE.<init>(INITIALIZE.java:49)
at org.omg.CORBA.ORB.create_impl(ORB.java:308)
at org.omg.CORBA.ORB.<clinit>(ORB.java:205)
at
com.ibm.CORBA.iiop.GlobalORBFactory.init(GlobalORBFactory.java:43)
at com.ibm.ejs.oa.EJSORBImpl.initializeORB(EJSORBImpl.java:196)
at com.ibm.ejs.oa.EJSClientORBImpl.<init>(EJSClientORBImpl.java:93)
at com.ibm.ejs.oa.EJSClientORBImpl.<init>(EJSClientORBImpl.java:65)
at com.ibm.ejs.oa.EJSClientORBImpl.<init>(EJSClientORBImpl.java:47)
at com.ibm.ejs.oa.EJSORB.init(EJSORB.java:343)
at
com.ibm.ejs.ns.jndi.CNInitialContextFactory.initORB(CNInitialContextF
actory.java:431)
at
com.ibm.ejs.ns.jndi.CNInitialContextFactory.getInitialContext(CNIniti
alContextFactory.java:201)
at
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
71)
at
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:242
)
at javax.naming.InitialContext.init(InitialContext.java:218)
at javax.naming.InitialContext.<init>(InitialContext.java:194)
at myejbpackage.EjbClient.main(EjbClient.java:39)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.workflow.java.Bridge.dispatch(Bridge.java:162)
at com.ibm.workflow.java.Bridge.call(Bridge.java:111)



It failed at the given statement in my program

Context context = new InitialContext(properties);

Please suggest in detail

Back to top
View user's profile Send private message Send e-mail
sanjays30
PostPosted: Tue May 14, 2002 10:56 am    Post subject: Reply with quote

Novice

Joined: 05 May 2002
Posts: 18
Location: USA

1. Have you given the provider_url. "iiop://servername"
2. Use the same IBM JDK which comes with Websphere, if you try to use other JDK with Java client you might get problem with ORB.
3. You should have Websphere Advanced Edition not the Advanced Single Server edition to call EJB from java client.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » Calling an EJB from Activity Implementation
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.