  | |  | Problem using compiled translets with Xalan !! | Problem using compiled translets with Xalan !! 2006-08-31 - By Ambika.Das@(protected)
Hi All,
We are using compiled translets to transform XML data into XSL. The application makes HTTP URL connection to a remote site which generates XML based on the request. The same is transformed using compiled translets.
We have observed that out of 100 concurrent requests, 1 or 2 requests fail due to transformation failure. Does anybody know why this happens?
For each request we are creating a transformer factory and a transformer. We have even tested with templates, but the problem still persists.
Thanks & Regards,
Ambika Prasad Das
<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas -microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"> <meta name=Generator content="Microsoft Word 11 (filtered medium)"> <style> <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal-compose; font-family:Arial; color:blue; font-weight:normal; font-style:normal; text-decoration:none none;} @(protected) Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in;} div.Section1 {page:Section1;} --> </style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size: 10.0pt;font-family:Arial;color:blue'>Hi All, <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size: 10.0pt;font-family:Arial;color:blue'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size: 10.0pt;font-family:Arial;color:blue'>We are using compiled translets to transform XML data into XSL. The application makes HTTP URL connection to a remote site which generates XML based on the request. The same is transformed using compiled translets.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size: 10.0pt;font-family:Arial;color:blue'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size: 10.0pt;font-family:Arial;color:blue'>We have observed that out of 100 concurrent requests, 1 or 2 requests fail due to transformation failure. Does anybody know why this happens?<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size: 10.0pt;font-family:Arial;color:blue'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size: 10.0pt;font-family:Arial;color:blue'>For each request we are creating a transformer factory and a transformer. We have even tested with templates, but the problem still persists.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size: 10.0pt;font-family:Arial;color:blue'><o:p> </o:p></span></font></p>
<p class=MsoNormal><em><i><font size=3 color=blue face="Times New Roman"><span style='font-size:12.0pt;color:blue'>Thanks & Regards,</span></font></i></em ><font color=blue><span style='color:blue'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face="Times New Roman"><span style='font-size:10.0pt;color:blue'>Ambika Prasad Das</span></font><font color=blue><span style='color:blue'><o:p></o:p></span></font></p>
</div>
</body>
</html>
|
|
 |