Exception when running EJB Test Client using BAS 6.6. in JBuilder 2006

Abstract: Exception when running EJB Test Client using BAS 6.6. in JBuilder 2006

Issue:

When running a wizard generated�EJB Test Client for my EJB using BAS 6.6 with JBuilder 2006 (with the installed plugin for BAS 6.6), I receive the following exception:

exception "org.omg.CORBA.NO_IMPLEMENT: This is a locally constrained object"

<snip>

How is this issue resolved?

Solution:

It is required to set the following runtime parameter:

-Djava.endorsed.dirs=<drive>:/Borland/AppServer/bin/../lib/endorsed

�This would happen if the appserver root is not the default, 'C:/Borland/AppServer'.

The endorsed jar contains classes in org.omg.PortableServer package�which Visibroker uses to�overwrite the JDK classes.