Hi all,
I have all my ejbs deployed and they all work fine. They also all use a common set of files that I've put into deploy/lib and then include that classpath in the jars manifest. This all works like a charm.
If I shut down the server and restart everything works fine. But, if I simply redeploy an ejb, the ejb deploys fine but when I try to use it I get the following error.
java.lang.LinkageError: loader constraints violated when linking edu/du/gtp/common/utilities/Rows class
at edu.du.gtp.sds.cpe.server.cpeCreateBookingEJB.getPersonList(cpeCreateBookingEJB.java:137)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
......
Now, that Rows class is a class in the deploy/libs directory. But between redeploying the ejb nothing in that class has changed. Its exactly the same file.
Any ideas as to what I am doing wrong? I don't exactly want to be restarting the server everytime I redeploy an ejb.
Cheers
Tom