• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Tim Cooke
Sheriffs:
  • Rob Spoor
  • Liutauras Vilda
  • paul wheaton
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
  • Piet Souris
Bartenders:
  • Stephan van Hulst

Failed to initialize the ORB - WSAD 5.1.2

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
author and cow tipper
Posts: 5009
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Trust God, but always tether your camel... to this tiny ad.
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic