-
1. Re: getSoapHeader "crashes" in a JAR
regis.ramillien Jun 8, 2011 4:45 AM (in response to valbou)A little bit more informations.
It seems that the class loader does not find the org.jboss.ws.core.soap.SOAPHeaderImpl class when the code is in a JAR file deployed in the webapp.
When code is directly in a class of the web app, the class loader find the SOAPHeaderImpl...
Another strange thing is that we do not have ClassNotFoundException or NoClassDefFoundError. The app "seems" to search for the class and memory grow slowly until crashing.
A last information, when searching for the class, we have found it under the jboss-5.1.0.GA\client folder in the jbossws-native-core.jar file.
So can it be possible that a class in the webapp is able to get the library that comes from the client folder of the server ? And not a JAR in this same webapp ?
Do we have a design issue ?
Another thing ?
Thanks a lot for your help !
-
2. Re: getSoapHeader "crashes" in a JAR
valbou Jun 8, 2011 5:09 AM (in response to regis.ramillien)Concerning SOAPHeaderImpl, I added the bossws-native-core.jar directly in the JAR and it doesn't change anything. Also tried to put it in the WEB-INF of the WAR but no more result...
-
3. Re: getSoapHeader "crashes" in a JAR
valbou Jun 8, 2011 8:21 AM (in response to valbou)I finally added the web service classes directly in the war but I still have the same problem.
Is there a WAR configuration that could fix that ?
-
4. Re: getSoapHeader "crashes" in a JAR
valbou Jun 9, 2011 12:15 PM (in response to valbou)The problem is fixed. It was coming from dependancies with other projects, leading to conflicts.