Hi Guys,
i'm a new user of jmapper (so maybe the problem is my ignorance).
I'm experiencing a very big problem that seems related to jmapper.
I'm mapping a jaxws response (from an external web service) to another class,
that after it's sent back with jaxws to my calling client.
So the problem is that jvm crashes with an error on zip.dll, killing all the application server and
all the installed app obviously.
This is the last part of the stacktrace:
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
J 89 java.util.zip.ZipFile.getEntry(J[BZ)J (0 bytes) @ 0x00000000025038fa [0x00000000025038a0+0x5a]
J 82 C2 sun.misc.URLClassPath$JarLoader.getResource(Ljava/lang/String;Z)Lsun/misc/Resource; (91 bytes) @ 0x000000000250f800 [0x000000000250f380+0x480]
J 111 C2 sun.misc.URLClassPath.findResource(Ljava/lang/String;Z)Ljava/net/URL; (38 bytes) @ 0x000000000252623c [0x00000000025261c0+0x7c]
j java.net.URLClassLoader$2.run()Ljava/net/URL;+12
j java.net.URLClassLoader$2.run()Ljava/lang/Object;+1
v ~StubRoutines::call_stub
j java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;+0
j java.net.URLClassLoader.findResource(Ljava/lang/String;)Ljava/net/URL;+13
j java.lang.ClassLoader.getResource(Ljava/lang/String;)Ljava/net/URL;+30
j java.lang.ClassLoader.getResource(Ljava/lang/String;)Ljava/net/URL;+12
j java.net.URLClassLoader.getResourceAsStream(Ljava/lang/String;)Ljava/io/InputStream;+2
j org.apache.catalina.loader.WebappClassLoader.getResourceAsStream(Ljava/lang/String;)Ljava/io/InputStream;+326
j javax.xml.datatype.SecuritySupport$4.run()Ljava/lang/Object;+29
v ~StubRoutines::call_stub
j java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;)Ljava/lang/Object;+0
j javax.xml.datatype.SecuritySupport.getResourceAsStream(Ljava/lang/ClassLoader;Ljava/lang/String;)Ljava/io/InputStream;+10
j javax.xml.datatype.FactoryFinder.findJarServiceProvider(Ljava/lang/String;)Ljava/lang/Object;+41
j javax.xml.datatype.FactoryFinder.find(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;+273
j javax.xml.datatype.DatatypeFactory.newInstance()Ljavax/xml/datatype/DatatypeFactory;+5
j itxxxxxxmessageRequestitxxxxxxxxxxdataDetailRequest.nullVSouAllAll(Ljava/lang/Object;)Ljava/lang/Object;+40
The bolded line is the one that is jmapping between classes.
I'm using annotation to map with jmapper.
The environment is tomcat7 64bit tested with both java6 and java7.
Happens both with jmapper 1.3.3.1 and with the last 1.4.2.
The problem arises only with a stress test, so seems that multiple parallel calls are not thread safe (maybe
the error is due to my coding, any suggest?).
How can i be sure my mappings are thread safe?
Please help, i really need it.
Bye, Patrizio