This week's book giveaway is in the Performance forum. We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line! See this thread for details.
i have a war file i would like to deploy on a jboss. This war file uses Web Services to retrieve information. If I deploy it i get a
java.lang.LinkageError: loader constraints violated when linking javax/activation/DataHandler class at com.sun.xml.ws.message.AttachmentUnmarshallerImpl.<clinit>(AttachmentUnmarshallerImpl.java:55) at com.sun.xml.ws.client.sei.ResponseBuilder$DocLit.readResponse(ResponseBuilder.java:499) at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:238) at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:206) at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:103) at $Proxy147.getUPIForAccession(Unknown Source)
searching the net it says that the activation.jar is duplicated and and thats the error. My jboss do have an activation.jar in its lib folders and I do have an activation.jar in my WEB-INF/lib. But removing mine results that jboss throws an error that