Title: Message
Hi all,
 
I'm getting Timeout exception while parsing document using cocoon.getComponent() in cocoon.2.1.7
Same code working fine with cocoon.2.1.5, Any help would be appreciated.
 
flowscript code
================
function parseByteArray(ary, uri) {
  var source = new Packages.org.xml.sax.InputSource(new java.io.ByteArrayInputStream(ary));
  if (uri != undefined) {
    source.setSystemId(uri);
  }
  var parser = cocoon.getComponent(Packages.org.apache.excalibur.xml.dom.DOMParser.ROLE);
  try {
    return parser.parseDocument(source);  
//time out error
  }
 
  finally {
    cocoon.releaseComponent(parser);   
//time out error
  }
}
 
Thanks, Vijay

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.

www.wipro.com

Reply via email to