I wanted to follow up with more information....
The test case I am running is inside a main function. Does this mean it is truly running in its own JVM? If so, that would explain my errors. I still would appreciate some feedback.
The test case I am running is inside a main function. Does this mean it is truly running in its own JVM?
It depends on how the main method is being called.
Also how is the InitialContext obtained?
i don't know if your problem is actual, but here the reason why you get with error message:
The message is not due to security reasons but a simple classpath problem. The missing library is in this case the "jboss.jar" in [server-config]/lib. After this, you will get maybe an exception missing other librarys.
To overcome this, i put all librarys in the [server-config]/lib and all in the client directory into my classpath.
Hope this helps!