aspose file tools
The moose likes Websphere and the fly likes Failed to initialize the ORB - WSAD 5.1.2 Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » Websphere
Reply Bookmark "Failed to initialize the ORB - WSAD 5.1.2" Watch "Failed to initialize the ORB - WSAD 5.1.2" New topic
Author

Failed to initialize the ORB - WSAD 5.1.2

Ben George
Greenhorn

Joined: Nov 26, 2004
Posts: 3
hi all,
We are trying to implement JUNIT (3.8.1) into our application. Our application has EJBs. The application runs on a WAS 5.1 server. We do our development in WSAD 5.1.2 on Windows XP.
In our development environment we wrote a simple test class and tried to run it from the WSAD environment. We added all the required JARs and fixed the errors one by one.
At present we are stuck with the following error -



We went through a lot of forums and tried everything we found, it still gives the same error. Has anyone encountered this error? If so, please let us know how you got this fixed or even worked around this.

thanks in advance.
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4967

Sometimes if the test program is being run on a JVM version that is different from the hosted ear, you will get this problem.

More likely, the test is being run as a stand along, Java application, and not within a J2EE environment. To have a J2EE stand-alone client access a J2EE application, it must be run in a WebSphere J2EE context, which requires a separate set of JAR files to be available to the client.

Good luck. These types of exceptions are frustrating.

-Cameron McKenzie


Author of Hibernate Made Easy, What is WebSphere???, JSF 2.0 Made Easy and the SCJA Certification Guides
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Failed to initialize the ORB - WSAD 5.1.2
 
Similar Threads
UnsatisfiedLinkError
WAS application clients
Error when using Sun's JRE when trying to send JMS messages to MQ
Unable to access Session bean in WAS 5.0
interop problems with iiop between sun and ibm jvm's