JUnit picks up InitialContext from appserv-rt.jar - how to fix this?
Hi,
I have code in my EJB app that needs to access classes from appserv-rt.jar. I also have JUnit test cases for standalone testing of EJB business layer.
When I try to run those test cases JUnit picks up InitialContext from appserv-rt.jar and tries to connect to a non-existent JNDI service using default settings before it even runs the test.
Has anyone seen this happen? Is there a way to fix it?
Any help on the subject would be greatly appreciated.
Thanks,
Mark

