Hi All,
 
We are using XML Beans in a multithreaded environment. We use webstart and xml 
beans on the client side. It looks like xml beans is having trouble with jnlp 
class loader and it is causing two or more threads to spin 100% CPU. Could you 
help plz? we need to go to prod soon but this is causing lots of trouble:
 
"HB-Requestor" daemon prio=6 tid=0x0478cc00 nid=0x1110 runnable 
[0x0612e000..0x0612fd14]
   java.lang.Thread.State: RUNNABLE
at java.util.HashMap.put(Unknown Source)
at com.sun.deploy.cache.CacheEntry.readManifest(Unknown Source)
at com.sun.deploy.cache.CacheEntry.readManifest(Unknown Source)
at com.sun.deploy.cache.CacheEntry.access$300(Unknown Source)
at com.sun.deploy.cache.CacheEntry$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.deploy.cache.CacheEntry.getJarFile(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getCachedJarFile(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getCachedJarFile(Unknown Source)
at com.sun.jnlp.JNLPClassLoader$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.jnlp.JNLPClassLoader.getJarFile(Unknown Source)
at com.sun.jnlp.JNLPCachedJarURLConnection.connect(Unknown Source)
at com.sun.jnlp.JNLPCachedJarURLConnection.getInputStream(Unknown Source)
at java.net.URL.openStream(Unknown Source)
at java.lang.ClassLoader.getResourceAsStream(Unknown Source)
at 
org.apache.xmlbeans.impl.schema.SchemaTypeLoaderImpl.crackEntry(SchemaTypeLoaderImpl.java:337)
at 
org.apache.xmlbeans.impl.schema.SchemaTypeLoaderImpl.typeSystemForComponent(SchemaTypeLoaderImpl.java:256)
at 
org.apache.xmlbeans.impl.schema.SchemaTypeLoaderImpl.findDocumentTypeRef(SchemaTypeLoaderImpl.java:430)
at 
org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.findDocumentType(SchemaTypeLoaderBase.java:129)
at org.apache.xmlbeans.impl.store.Locale.autoTypeDocument(Locale.java:312)
at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:1273)
at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:1257)
- locked <0x078a0500> (a org.apache.xmlbeans.impl.store.Locale)
at 
org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse(SchemaTypeLoaderBase.java:345)
at org.fixprotocol.fixml50.FIXMLDocument$Factory.parse(Unknown Source)
at 
com.cpex.ptms.gateway.FixMLGatewayMessageFactory.createGatewayMessage(FixMLGatewayMessageFactory.java:131)
at 
com.cpex.ptms.gateway.transport.AbstractGatewayConnection.receive(AbstractGatewayConnection.java:56)
at 
com.cpex.ptms.gateway.client.ClientGateway.sendAndReceive(ClientGateway.java:314)
at 
com.cpex.ptms.gateway.client.ClientGateway.marshalSendAndReceive(ClientGateway.java:237)
at 
com.cpex.ptms.gateway.client.ClientGateway.marshalSendAndReceive(ClientGateway.java:230)
at 
com.cpex.ptms.gateway.client.ClientGateway.marshalSendAndReceive(ClientGateway.java:220)
at 
com.cpex.ptms.client.gateway.HeartBeatManager$HeartBeatRequestor.run(HeartBeatManager.java:279)
at java.lang.Thread.run(Unknown Source)

"HB-Monitor" daemon prio=6 tid=0x0478b800 nid=0x12b4 waiting on condition 
[0x04c3f000..0x04c3fd94]
   java.lang.Thread.State: TIMED_WAITING (sleeping)
at java.lang.Thread.sleep(Native Method)
at 
com.cpex.ptms.client.gateway.HeartBeatManager$1.run(HeartBeatManager.java:130)
at java.lang.Thread.run(Unknown Source)

"PTMSStreamer" prio=6 tid=0x031d4400 nid=0x970 runnable [0x033de000..0x033dfa14]
   java.lang.Thread.State: RUNNABLE
at java.util.HashMap.put(Unknown Source)
at com.sun.deploy.cache.CacheEntry.readManifest(Unknown Source)
at com.sun.deploy.cache.CacheEntry.readManifest(Unknown Source)
at com.sun.deploy.cache.CacheEntry.access$300(Unknown Source)
at com.sun.deploy.cache.CacheEntry$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.deploy.cache.CacheEntry.getJarFile(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getCachedJarFile(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getCachedJarFile(Unknown Source)
at com.sun.jnlp.JNLPClassLoader$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.jnlp.JNLPClassLoader.getJarFile(Unknown Source)
at com.sun.jnlp.JNLPCachedJarURLConnection.connect(Unknown Source)
at com.sun.jnlp.JNLPCachedJarURLConnection.getInputStream(Unknown Source)
at java.net.URL.openStream(Unknown Source)
at java.lang.ClassLoader.getResourceAsStream(Unknown Source)
at 
org.apache.xmlbeans.impl.schema.SchemaTypeLoaderImpl.crackEntry(SchemaTypeLoaderImpl.java:337)
at 
org.apache.xmlbeans.impl.schema.SchemaTypeLoaderImpl.typeSystemForComponent(SchemaTypeLoaderImpl.java:256)
at 
org.apache.xmlbeans.impl.schema.SchemaTypeLoaderImpl.findElementRef(SchemaTypeLoaderImpl.java:480)
at 
org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.findElement(SchemaTypeLoaderBase.java:169)
at 
org.apache.xmlbeans.impl.schema.SchemaTypeImpl.createElementType(SchemaTypeImpl.java:970)
at 
org.apache.xmlbeans.impl.values.XmlObjectBase.create_element_user(XmlObjectBase.java:893)
at org.apache.xmlbeans.impl.store.Xobj.getUser(Xobj.java:1657)
at org.apache.xmlbeans.impl.store.Xobj.find_element_user(Xobj.java:2071)
at org.fixprotocol.fixml50.impl.FIXMLDocumentImpl$FIXMLImpl.getMessage(Unknown 
Source)
- locked <0x132f39d8> (a org.apache.xmlbeans.impl.store.Locale)
at 
com.cpex.ptms.gateway.client.ClientGateway.startStreamer(ClientGateway.java:440)
at 
com.cpex.ptms.gateway.client.ClientGateway.startStreamer(ClientGateway.java:383)
at 
com.cpex.ptms.gateway.client.ClientGateway.startStreamer(ClientGateway.java:370)
at 
com.cpex.ptms.client.gateway.FixMLClientGateway.startStreamerConnection(FixMLClientGateway.java:44)
at 
com.cpex.ptms.client.service.PtmsClientServiceImpl.startStreamerConnection(PtmsClientServiceImpl.java:176)
at app.Comm.PtmsMsgHandler$3.run(PtmsMsgHandler.java:368)
at java.lang.Thread.run(Unknown Source)

Thanks,
Mohan
 
Mohan Thurairajah - Manager, Development 
IntercontinentalExchange | ICE
2100 RiverEdge Pkwy | 5th Floor | Atlanta, GA 30328
Tel: 770.738.2148 | Fax: 770.951.1307
[EMAIL PROTECTED] 

24-hour ice helpdesk 770.738.2101
www.theice.com 
<https://webmail.theice.com/exchweb/bin/redir.asp?URL=http://www.theice.com/>
 
--------------------------------------------------------
This message may contain confidential information and is intended for specific 
recipients unless explicitly noted otherwise. If you have reason to believe you 
are not an intended recipient of this message, please delete it and notify the 
sender. This message may not represent the opinion of IntercontinentalExchange, 
Inc. (ICE), its subsidiaries or affiliates, and does not constitute a contract 
or guarantee. Unencrypted electronic mail is not secure and the recipient of 
this message is expected to provide safeguards from viruses and pursue 
alternate means of communication where privacy or a binding message is desired.

Reply via email to