[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmlbeans-dev
Subject:    RE: Help with XML Beans
From:       "Mohan Thurairajah" <Mohan.Thurairajah () theice ! com>
Date:       2008-06-13 0:31:34
Message-ID: 0BBE260991351446B91EE56BAC3AC1E205272F1E () rv-bp-ixmx-03-bak
[Download RAW message or body]

thanks and I will take a look. We already modified xml beans jar and removed all soft \
references and it resolved our issue for now.

________________________________

From: Radu Preotiuc-Pietro [mailto:radup@bea.com]
Sent: Thu 6/12/2008 8:28 PM
To: dev@xmlbeans.apache.org
Subject: RE: Help with XML Beans


Certainly, take a look at 
 
XmlBeans.typeLoaderForClassLoader()
XmlBeans.typeLoaderForResource() and
XmlBeans.typeLoaderUnion()
 
Radu


________________________________

	From: Mohan Thurairajah [mailto:Mohan.Thurairajah@theice.com] 
	Sent: Wednesday, June 04, 2008 7:23 AM
	To: dev@xmlbeans.apache.org
	Subject: RE: Help with XML Beans
	
	
	is it possible for me to have a separate resource loader for .xsb? it looks like \
JNLP class loader is not thread safe. It is trying to call "put" on HashMap but hash \
map is not thread safe. It may cause the CPU to spin. Please advice and it is really \
appreciated. We are really happy with xml bean performance but this issue is causing \
lot of noise on our side.  
	Thanks for your time.

________________________________

	From: Mohan Thurairajah 
	Sent: Wednesday, June 04, 2008 1:39 AM
	To: dev@xmlbeans.apache.org
	Subject: RE: Help with XML Beans
	
	
	In this case: two threads are parsing two different byte arrays to generate java \
objects. yes, xml bean is looking for a .xsb resource but it is spinning. I don't set \
unsync option, so what is the default behavior?  
	we use xml beans 2.3.
	
	we don't validate the using xml bean. What we have is server is generating xml using \
xml beans and send it over http. The client is reading it off the output stream and \
generate bytes array and try to parse using xml beans. \
________________________________

	From: Jacob Danner [mailto:jacob.danner@gmail.com]
	Sent: Wed 6/4/2008 1:26 AM
	To: dev@xmlbeans.apache.org
	Subject: Re: Help with XML Beans
	
	

	So your application is "generating xml messages or parsing byte arrays
	to generate java objects"? Can you determine which one? From the stack
	trace you posted is looked like XMLBeans is trying to resolve
	something from the SchemaTypeSystem and the hang is caused by the way
	JNLP is getting the resource. Can you confirm? Which resource is it
	trying to get?
	
	What is the option you have set for
	http://xmlbeans.apache.org/docs/2.0.0/reference/org/apache/xmlbeans/XmlOptions.html#setUnsynchronized()
  
	Which version are you using?
	
	Is it possibly related to:
	http://issues.apache.org/jira/browse/XMLBEANS-46
	http://issues.apache.org/jira/browse/XMLBEANS-328
	http://issues.apache.org/jira/browse/XMLBEANS-345
	(it didn't look related, but I thought I'd mention anyways)
	
	-jacobd
	
	
	On Tue, Jun 3, 2008 at 10:05 PM, Mohan Thurairajah
	<Mohan.Thurairajah@theice.com> wrote:
	>
	> Thanks for the quick reply. cpu is at 100% and we needs to restart the
	> application. it is very hard to reproduce at times as well. The swing gui is
	> generating xml messages or parsing byte arrays to generate java objects.
	> ________________________________
	> From: Jacob Danner [mailto:jacob.danner@gmail.com]
	> Sent: Wed 6/4/2008 1:02 AM
	> To: dev@xmlbeans.apache.org
	> Subject: Re: Help with XML Beans
	>
	> What is happening in your application when this issue occurs?
	> -jacobd
	>
	> On Tue, Jun 3, 2008 at 9:57 PM, Mohan Thurairajah
	> <Mohan.Thurairajah@theice.com> wrote:
	>> 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
	>> mohan@theice.com
	>>
	>> 24-hour ice helpdesk 770.738.2101
	>> 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.
	>
	>
	>
	> --
	> I'm competing in a Half-Ironman distance triathlon to raise money for
	> the fight against cancer!
	> Please help support my efforts by going to:
	> http://www.active.com/donate/tntwaak/jacobd
	>
	> ---------------------------------------------------------------------
	> To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
	> For additional commands, e-mail: dev-help@xmlbeans.apache.org
	>
	>
	>
	> ________________________________
	>
	> 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.
	
	
	
	--
	I'm competing in a Half-Ironman distance triathlon to raise money for
	the fight against cancer!
	Please help support my efforts by going to:
	http://www.active.com/donate/tntwaak/jacobd
	
	---------------------------------------------------------------------
	To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
	For additional commands, e-mail: dev-help@xmlbeans.apache.org
	
	
	

	 
________________________________


	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. 


Notice: This email message, together with any attachments, may contain information of \
BEA Systems, Inc., its subsidiaries and affiliated entities, that may be \
confidential, proprietary, copyrighted and/or legally privileged, and is intended \
solely for the use of the individual or entity named in this message. If you are not \
the intended recipient, and have received this message in error, please immediately \
return this by email and then delete it.  
--------------------------------------------------------
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.


[Attachment #3 (text/html)]

<HTML >
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=unicode">

						<TITLE>Re: Help with XML Beans</TITLE>

<META content="MSHTML 6.00.6000.16681" name=GENERATOR></HEAD>
					<BODY >
						<DIV>
<DIV id=idOWAReplyText46902 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2></FONT>thanks and I will take a \
look. We already modified xml beans jar and removed all soft references and it \
resolved our issue for now.<FONT face=Arial color=#000000 size=2><FONT face="Arial, \
Helvetica, sans-serif" color=#333333><SPAN style="FONT-SIZE: \
9pt"></DIV></DIV></SPAN></FONT></FONT> <DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Radu Preotiuc-Pietro \
[mailto:radup@bea.com]<BR><B>Sent:</B> Thu 6/12/2008 8:28 PM<BR><B>To:</B> \
dev@xmlbeans.apache.org<BR><B>Subject:</B> RE: Help with XML \
Beans<BR></FONT><BR></DIV> <DIV>
<DIV dir=ltr align=left><SPAN class=718382600-13062008><FONT face=Arial color=#0000ff \
size=2>Certainly, take a look at </FONT></SPAN></DIV> <DIV dir=ltr align=left><SPAN \
class=718382600-13062008><FONT face=Arial color=#0000ff \
size=2></FONT></SPAN>&nbsp;</DIV> <DIV dir=ltr align=left><SPAN \
class=718382600-13062008><FONT face=Arial color=#0000ff \
size=2>XmlBeans.typeLoaderForClassLoader()</FONT></SPAN></DIV> <DIV dir=ltr \
align=left><SPAN class=718382600-13062008><FONT face=Arial color=#0000ff \
size=2>XmlBeans.typeLoaderForResource() and</FONT></SPAN></DIV> <DIV dir=ltr \
align=left><SPAN class=718382600-13062008><FONT face=Arial color=#0000ff \
size=2>XmlBeans.typeLoaderUnion()</FONT></SPAN></DIV> <DIV dir=ltr align=left><SPAN \
class=718382600-13062008><FONT face=Arial color=#0000ff \
size=2></FONT></SPAN>&nbsp;</DIV> <DIV dir=ltr align=left><SPAN \
class=718382600-13062008><FONT face=Arial color=#0000ff \
size=2>Radu</FONT></SPAN></DIV><BR> <BLOCKQUOTE dir=ltr style="PADDING-LEFT: 5px; \
MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px"> <DIV \
class=OutlookMessageHeader lang=en-us dir=ltr align=left> <HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Mohan Thurairajah \
[mailto:Mohan.Thurairajah@theice.com] <BR><B>Sent:</B> Wednesday, June 04, 2008 7:23 \
AM<BR><B>To:</B> dev@xmlbeans.apache.org<BR><B>Subject:</B> RE: Help with XML \
Beans<BR></FONT><BR></DIV> <DIV></DIV>
<DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN \
class=327181914-04062008>is it possible for me to have a separate resource loader for \
.xsb? it looks like JNLP class loader is not thread safe. It is trying to call "put" \
on HashMap but hash map is not thread safe. It may cause the CPU to spin. Please \
advice and it is really appreciated. We are really happy with xml bean performance \
but this issue is causing lot of noise on our side.</SPAN></FONT></DIV> <DIV dir=ltr \
align=left><FONT face=Arial color=#0000ff size=2><SPAN \
class=327181914-04062008></SPAN></FONT>&nbsp;</DIV> <DIV dir=ltr align=left><FONT \
face=Arial color=#0000ff size=2><SPAN class=327181914-04062008>Thanks for your \
time.</SPAN></FONT></DIV><BR> <DIV class=OutlookMessageHeader lang=en-us dir=ltr \
align=left> <HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Mohan Thurairajah <BR><B>Sent:</B> Wednesday, \
June 04, 2008 1:39 AM<BR><B>To:</B> dev@xmlbeans.apache.org<BR><B>Subject:</B> RE: \
Help with XML Beans<BR></FONT><BR></DIV> <DIV></DIV>
<DIV id=idOWAReplyText54252 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2></FONT>In this case: two threads \
are parsing two different byte arrays to generate java objects. yes, xml bean is \
looking for a .xsb resource but it is spinning. I don't set unsync option, so what is \
the default behavior?</DIV> <DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr>we use xml beans 2.3.<BR></DIV>
<DIV dir=ltr>we don't validate the using xml bean. What we have is server is \
generating xml using xml beans and send it over http. The client is reading it off \
the output stream and generate bytes array and try to parse using xml beans.</DIV> \
<DIV dir=ltr> <HR tabIndex=-1>
</DIV>
<DIV dir=ltr><FONT face=Tahoma size=2><B>From:</B> Jacob Danner \
[mailto:jacob.danner@gmail.com]<BR><B>Sent:</B> Wed 6/4/2008 1:26 AM<BR><B>To:</B> \
dev@xmlbeans.apache.org<BR><B>Subject:</B> Re: Help with XML \
Beans<BR></FONT><BR></DIV></DIV> <DIV>
<P><FONT size=2>So your application is "generating xml messages or parsing byte \
arrays<BR>to generate java objects"? Can you determine which one? From the \
stack<BR>trace you posted is looked like XMLBeans is trying to resolve<BR>something \
from the SchemaTypeSystem and the hang is caused by the way<BR>JNLP is getting the \
resource. Can you confirm? Which resource is it<BR>trying to get?<BR><BR>What is the \
option you have set for<BR><A \
href="http://xmlbeans.apache.org/docs/2.0.0/reference/org/apache/xmlbeans/XmlOptions.h \
tml#setUnsynchronized(">http://xmlbeans.apache.org/docs/2.0.0/reference/org/apache/xmlbeans/XmlOptions.html#setUnsynchronized(</A>)<BR><BR>Which \
version are you using?<BR><BR>Is it possibly related to:<BR><A \
href="http://issues.apache.org/jira/browse/XMLBEANS-46">http://issues.apache.org/jira/browse/XMLBEANS-46</A><BR><A \
href="http://issues.apache.org/jira/browse/XMLBEANS-328">http://issues.apache.org/jira/browse/XMLBEANS-328</A><BR><A \
href="http://issues.apache.org/jira/browse/XMLBEANS-345">http://issues.apache.org/jira/browse/XMLBEANS-345</A><BR>(it \
didn't look related, but I thought I'd mention anyways)<BR><BR>-jacobd<BR><BR><BR>On \
Tue, Jun 3, 2008 at 10:05 PM, Mohan \
Thurairajah<BR>&lt;Mohan.Thurairajah@theice.com&gt; wrote:<BR>&gt;<BR>&gt; Thanks for \
the quick reply. cpu is at 100% and we needs to restart the<BR>&gt; application. it \
is very hard to reproduce at times as well. The swing gui is<BR>&gt; generating xml \
messages or parsing byte arrays to generate java objects.<BR>&gt; \
________________________________<BR>&gt; From: Jacob Danner [<A \
href="mailto:jacob.danner@gmail.com">mailto:jacob.danner@gmail.com</A>]<BR>&gt; Sent: \
Wed 6/4/2008 1:02 AM<BR>&gt; To: dev@xmlbeans.apache.org<BR>&gt; Subject: Re: Help \
with XML Beans<BR>&gt;<BR>&gt; What is happening in your application when this issue \
occurs?<BR>&gt; -jacobd<BR>&gt;<BR>&gt; On Tue, Jun 3, 2008 at 9:57 PM, Mohan \
Thurairajah<BR>&gt; &lt;Mohan.Thurairajah@theice.com&gt; wrote:<BR>&gt;&gt; Hi \
All,<BR>&gt;&gt;<BR>&gt;&gt; We are using XML Beans in a multithreaded environment. \
We use webstart and<BR>&gt;&gt; xml beans on the client side. It looks like xml beans \
is having trouble<BR>&gt;&gt; with<BR>&gt;&gt; jnlp class loader and it is causing \
two or more threads to spin 100% CPU.<BR>&gt;&gt; Could you help plz? we need to go \
to prod soon but this is causing lots of<BR>&gt;&gt; trouble:<BR>&gt;&gt;<BR>&gt;&gt; \
"HB-Requestor" daemon prio=6 tid=0x0478cc00 nid=0x1110 runnable<BR>&gt;&gt; \
[0x0612e000..0x0612fd14]<BR>&gt;&gt;&nbsp;&nbsp;&nbsp; java.lang.Thread.State: \
RUNNABLE<BR>&gt;&gt; at java.util.HashMap.put(Unknown Source)<BR>&gt;&gt; at \
com.sun.deploy.cache.CacheEntry.readManifest(Unknown Source)<BR>&gt;&gt; at \
com.sun.deploy.cache.CacheEntry.readManifest(Unknown Source)<BR>&gt;&gt; at \
com.sun.deploy.cache.CacheEntry.access$300(Unknown Source)<BR>&gt;&gt; at \
com.sun.deploy.cache.CacheEntry$2.run(Unknown Source)<BR>&gt;&gt; at \
java.security.AccessController.doPrivileged(Native Method)<BR>&gt;&gt; at \
com.sun.deploy.cache.CacheEntry.getJarFile(Unknown Source)<BR>&gt;&gt; at \
com.sun.deploy.net.DownloadEngine.getCachedJarFile(Unknown Source)<BR>&gt;&gt; at \
com.sun.deploy.net.DownloadEngine.getCachedJarFile(Unknown Source)<BR>&gt;&gt; at \
com.sun.jnlp.JNLPClassLoader$3.run(Unknown Source)<BR>&gt;&gt; at \
java.security.AccessController.doPrivileged(Native Method)<BR>&gt;&gt; at \
com.sun.jnlp.JNLPClassLoader.getJarFile(Unknown Source)<BR>&gt;&gt; at \
com.sun.jnlp.JNLPCachedJarURLConnection.connect(Unknown Source)<BR>&gt;&gt; at \
com.sun.jnlp.JNLPCachedJarURLConnection.getInputStream(Unknown Source)<BR>&gt;&gt; at \
java.net.URL.openStream(Unknown Source)<BR>&gt;&gt; at \
java.lang.ClassLoader.getResourceAsStream(Unknown Source)<BR>&gt;&gt; \
at<BR>&gt;&gt;<BR>&gt;&gt; \
org.apache.xmlbeans.impl.schema.SchemaTypeLoaderImpl.crackEntry(SchemaTypeLoaderImpl.java:337)<BR>&gt;&gt; \
at<BR>&gt;&gt;<BR>&gt;&gt; \
org.apache.xmlbeans.impl.schema.SchemaTypeLoaderImpl.typeSystemForComponent(SchemaTypeLoaderImpl.java:256)<BR>&gt;&gt; \
at<BR>&gt;&gt;<BR>&gt;&gt; \
org.apache.xmlbeans.impl.schema.SchemaTypeLoaderImpl.findDocumentTypeRef(SchemaTypeLoaderImpl.java:430)<BR>&gt;&gt; \
at<BR>&gt;&gt;<BR>&gt;&gt; \
org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.findDocumentType(SchemaTypeLoaderBase.java:129)<BR>&gt;&gt; \
at org.apache.xmlbeans.impl.store.Locale.autoTypeDocument(Locale.java:312)<BR>&gt;&gt; \
at<BR>&gt;&gt; org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:1273)<BR>&gt;&gt; \
at<BR>&gt;&gt; org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:1257)<BR>&gt;&gt; \
- locked &lt;0x078a0500&gt; (a org.apache.xmlbeans.impl.store.Locale)<BR>&gt;&gt; \
at<BR>&gt;&gt;<BR>&gt;&gt; \
org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse(SchemaTypeLoaderBase.java:345)<BR>&gt;&gt; \
at org.fixprotocol.fixml50.FIXMLDocument$Factory.parse(Unknown Source)<BR>&gt;&gt; \
at<BR>&gt;&gt;<BR>&gt;&gt; \
com.cpex.ptms.gateway.FixMLGatewayMessageFactory.createGatewayMessage(FixMLGatewayMessageFactory.java:131)<BR>&gt;&gt; \
at<BR>&gt;&gt;<BR>&gt;&gt; \
com.cpex.ptms.gateway.transport.AbstractGatewayConnection.receive(AbstractGatewayConnection.java:56)<BR>&gt;&gt; \
at<BR>&gt;&gt;<BR>&gt;&gt; \
com.cpex.ptms.gateway.client.ClientGateway.sendAndReceive(ClientGateway.java:314)<BR>&gt;&gt; \
at<BR>&gt;&gt;<BR>&gt;&gt; \
com.cpex.ptms.gateway.client.ClientGateway.marshalSendAndReceive(ClientGateway.java:237)<BR>&gt;&gt; \
at<BR>&gt;&gt;<BR>&gt;&gt; \
com.cpex.ptms.gateway.client.ClientGateway.marshalSendAndReceive(ClientGateway.java:230)<BR>&gt;&gt; \
at<BR>&gt;&gt;<BR>&gt;&gt; \
com.cpex.ptms.gateway.client.ClientGateway.marshalSendAndReceive(ClientGateway.java:220)<BR>&gt;&gt; \
at<BR>&gt;&gt;<BR>&gt;&gt; \
com.cpex.ptms.client.gateway.HeartBeatManager$HeartBeatRequestor.run(HeartBeatManager.java:279)<BR>&gt;&gt; \
at java.lang.Thread.run(Unknown Source)<BR>&gt;&gt;<BR>&gt;&gt; "HB-Monitor" daemon \
prio=6 tid=0x0478b800 nid=0x12b4 waiting on condition<BR>&gt;&gt; \
[0x04c3f000..0x04c3fd94]<BR>&gt;&gt;&nbsp;&nbsp;&nbsp; java.lang.Thread.State: \
TIMED_WAITING (sleeping)<BR>&gt;&gt; at java.lang.Thread.sleep(Native \
Method)<BR>&gt;&gt; at<BR>&gt;&gt;<BR>&gt;&gt; \
com.cpex.ptms.client.gateway.HeartBeatManager$1.run(HeartBeatManager.java:130)<BR>&gt;&gt; \
at java.lang.Thread.run(Unknown Source)<BR>&gt;&gt;<BR>&gt;&gt; "PTMSStreamer" prio=6 \
tid=0x031d4400 nid=0x970 runnable<BR>&gt;&gt; \
[0x033de000..0x033dfa14]<BR>&gt;&gt;&nbsp;&nbsp;&nbsp; java.lang.Thread.State: \
RUNNABLE<BR>&gt;&gt; at java.util.HashMap.put(Unknown Source)<BR>&gt;&gt; at \
com.sun.deploy.cache.CacheEntry.readManifest(Unknown Source)<BR>&gt;&gt; at \
com.sun.deploy.cache.CacheEntry.readManifest(Unknown Source)<BR>&gt;&gt; at \
com.sun.deploy.cache.CacheEntry.access$300(Unknown Source)<BR>&gt;&gt; at \
com.sun.deploy.cache.CacheEntry$2.run(Unknown Source)<BR>&gt;&gt; at \
java.security.AccessController.doPrivileged(Native Method)<BR>&gt;&gt; at \
com.sun.deploy.cache.CacheEntry.getJarFile(Unknown Source)<BR>&gt;&gt; at \
com.sun.deploy.net.DownloadEngine.getCachedJarFile(Unknown Source)<BR>&gt;&gt; at \
com.sun.deploy.net.DownloadEngine.getCachedJarFile(Unknown Source)<BR>&gt;&gt; at \
com.sun.jnlp.JNLPClassLoader$3.run(Unknown Source)<BR>&gt;&gt; at \
java.security.AccessController.doPrivileged(Native Method)<BR>&gt;&gt; at \
com.sun.jnlp.JNLPClassLoader.getJarFile(Unknown Source)<BR>&gt;&gt; at \
com.sun.jnlp.JNLPCachedJarURLConnection.connect(Unknown Source)<BR>&gt;&gt; at \
com.sun.jnlp.JNLPCachedJarURLConnection.getInputStream(Unknown Source)<BR>&gt;&gt; at \
java.net.URL.openStream(Unknown Source)<BR>&gt;&gt; at \
java.lang.ClassLoader.getResourceAsStream(Unknown Source)<BR>&gt;&gt; \
at<BR>&gt;&gt;<BR>&gt;&gt; \
org.apache.xmlbeans.impl.schema.SchemaTypeLoaderImpl.crackEntry(SchemaTypeLoaderImpl.java:337)<BR>&gt;&gt; \
at<BR>&gt;&gt;<BR>&gt;&gt; \
org.apache.xmlbeans.impl.schema.SchemaTypeLoaderImpl.typeSystemForComponent(SchemaTypeLoaderImpl.java:256)<BR>&gt;&gt; \
at<BR>&gt;&gt;<BR>&gt;&gt; \
org.apache.xmlbeans.impl.schema.SchemaTypeLoaderImpl.findElementRef(SchemaTypeLoaderImpl.java:480)<BR>&gt;&gt; \
at<BR>&gt;&gt;<BR>&gt;&gt; \
org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.findElement(SchemaTypeLoaderBase.java:169)<BR>&gt;&gt; \
at<BR>&gt;&gt;<BR>&gt;&gt; \
org.apache.xmlbeans.impl.schema.SchemaTypeImpl.createElementType(SchemaTypeImpl.java:970)<BR>&gt;&gt; \
at<BR>&gt;&gt;<BR>&gt;&gt; \
org.apache.xmlbeans.impl.values.XmlObjectBase.create_element_user(XmlObjectBase.java:893)<BR>&gt;&gt; \
at org.apache.xmlbeans.impl.store.Xobj.getUser(Xobj.java:1657)<BR>&gt;&gt; at \
org.apache.xmlbeans.impl.store.Xobj.find_element_user(Xobj.java:2071)<BR>&gt;&gt; \
at<BR>&gt;&gt;<BR>&gt;&gt; \
org.fixprotocol.fixml50.impl.FIXMLDocumentImpl$FIXMLImpl.getMessage(Unknown<BR>&gt;&gt; \
Source)<BR>&gt;&gt; - locked &lt;0x132f39d8&gt; (a \
org.apache.xmlbeans.impl.store.Locale)<BR>&gt;&gt; at<BR>&gt;&gt;<BR>&gt;&gt; \
com.cpex.ptms.gateway.client.ClientGateway.startStreamer(ClientGateway.java:440)<BR>&gt;&gt; \
at<BR>&gt;&gt;<BR>&gt;&gt; \
com.cpex.ptms.gateway.client.ClientGateway.startStreamer(ClientGateway.java:383)<BR>&gt;&gt; \
at<BR>&gt;&gt;<BR>&gt;&gt; \
com.cpex.ptms.gateway.client.ClientGateway.startStreamer(ClientGateway.java:370)<BR>&gt;&gt; \
at<BR>&gt;&gt;<BR>&gt;&gt; \
com.cpex.ptms.client.gateway.FixMLClientGateway.startStreamerConnection(FixMLClientGateway.java:44)<BR>&gt;&gt; \
at<BR>&gt;&gt;<BR>&gt;&gt; \
com.cpex.ptms.client.service.PtmsClientServiceImpl.startStreamerConnection(PtmsClientServiceImpl.java:176)<BR>&gt;&gt; \
at app.Comm.PtmsMsgHandler$3.run(PtmsMsgHandler.java:368)<BR>&gt;&gt; at \
java.lang.Thread.run(Unknown Source)<BR>&gt;&gt; Thanks,<BR>&gt;&gt; \
Mohan<BR>&gt;&gt;<BR>&gt;&gt; Mohan Thurairajah - Manager, Development<BR>&gt;&gt; \
IntercontinentalExchange | ICE<BR>&gt;&gt; 2100 RiverEdge Pkwy | 5th Floor | Atlanta, \
GA 30328<BR>&gt;&gt; Tel: 770.738.2148 | Fax: 770.951.1307<BR>&gt;&gt; \
mohan@theice.com<BR>&gt;&gt;<BR>&gt;&gt; 24-hour ice helpdesk \
770.738.2101<BR>&gt;&gt; www.theice.com<BR>&gt;&gt;<BR>&gt;&gt; \
________________________________<BR>&gt;&gt;<BR>&gt;&gt; This message may contain \
confidential information and is intended for<BR>&gt;&gt; specific recipients unless \
explicitly noted otherwise. If you have reason<BR>&gt;&gt; to<BR>&gt;&gt; believe you \
are not an intended recipient of this message, please delete<BR>&gt;&gt; \
it<BR>&gt;&gt; and notify the sender. This message may not represent the opinion \
of<BR>&gt;&gt; IntercontinentalExchange, Inc. (ICE), its subsidiaries or affiliates, \
and<BR>&gt;&gt; does not constitute a contract or guarantee. Unencrypted electronic \
mail<BR>&gt;&gt; is<BR>&gt;&gt; not secure and the recipient of this message is \
expected to provide<BR>&gt;&gt; safeguards from viruses and pursue alternate means of \
communication where<BR>&gt;&gt; privacy or a binding message is \
desired.<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt; --<BR>&gt; I'm competing in a Half-Ironman \
distance triathlon to raise money for<BR>&gt; the fight against cancer!<BR>&gt; \
Please help support my efforts by going to:<BR>&gt; <A \
href="http://www.active.com/donate/tntwaak/jacobd">http://www.active.com/donate/tntwaak/jacobd</A><BR>&gt;<BR>&gt; \
---------------------------------------------------------------------<BR>&gt; To \
unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org<BR>&gt; For additional \
commands, e-mail: dev-help@xmlbeans.apache.org<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt; \
________________________________<BR>&gt;<BR>&gt; This message may contain \
confidential information and is intended for<BR>&gt; specific recipients unless \
explicitly noted otherwise. If you have reason to<BR>&gt; believe you are not an \
intended recipient of this message, please delete it<BR>&gt; and notify the sender. \
This message may not represent the opinion of<BR>&gt; IntercontinentalExchange, Inc. \
(ICE), its subsidiaries or affiliates, and<BR>&gt; does not constitute a contract or \
guarantee. Unencrypted electronic mail is<BR>&gt; not secure and the recipient of \
this message is expected to provide<BR>&gt; safeguards from viruses and pursue \
alternate means of communication where<BR>&gt; privacy or a binding message is \
desired.<BR><BR><BR><BR>--<BR>I'm competing in a Half-Ironman distance triathlon to \
raise money for<BR>the fight against cancer!<BR>Please help support my efforts by \
going to:<BR><A href="http://www.active.com/donate/tntwaak/jacobd">http://www.active.c \
om/donate/tntwaak/jacobd</A><BR><BR>---------------------------------------------------------------------<BR>To \
unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org<BR>For additional commands, \
e-mail: dev-help@xmlbeans.apache.org<BR><BR><BR></FONT></P></DIV></DIV> \
<DIV>&nbsp;</DIV> <DIV>
<HR noShade SIZE=1>

<P>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. \
</P></DIV></BLOCKQUOTE><BR>Notice: This email message, together with any attachments, \
may contain information of BEA Systems, Inc., its subsidiaries and affiliated \
entities, that may be confidential, proprietary, copyrighted and/or legally \
privileged, and is intended solely for the use of the individual or entity named in \
this message. If you are not the intended recipient, and have received this message \
in error, please immediately return this by email and then delete it.</DIV></DIV>  \
<DIV>&nbsp;</DIV>  <DIV>
							<HR NOSHADE SIZE="1">
							<P>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. </P> \
</DIV></BODY></HTML>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic