Problem while running clover XMLExtract in web environment

Hi,

I am running transformation from xml to database using clover java API. I am able to run transform when clover runs in a standalone Java application. But when I am integrating clover graph with java code in my web application, I am getting exception. I am running the same transformation with same parameters settings. I mean both transformation settings are identical. I am using jobss as my web server

The exception is :


 INFO [WatchDog] (WatchDog.java:430) - Starting up all nodes in phase [0]
 INFO [WatchDog] (WatchDog.java:433) - Sucessfully started all nodes in phase!
ERROR [WatchDog] (WatchDog.java:315) - Graph execution finished with error
ERROR [WatchDog] (WatchDog.java:316) - Node DBTABLE finished with status: ERROR caused by: null
ERROR [exNode_0_DEFAULT_GRAPH_ID_XMLExtractComponenet] (XMLExtract.java:1258) - XML Extract: XMLExtractComponenet Unexpected Exception
java.nio.channels.ClosedByInterruptException
	at java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterruptibleChannel.java:184)
	at sun.nio.ch.FileChannelImpl.read(FileChannelImpl.java:152)
	at sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:48)
	at sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:92)
	at sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:86)
	at java.io.InputStream.read(InputStream.java:85)
	at sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:64)
	at org.apache.xerces.impl.XMLEntityManager$RewindableInputStream.read(Unknown Source)
	at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
	at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
	at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
	at org.jetel.component.XMLExtract.parseXML(XMLExtract.java:1245)
	at org.jetel.component.XMLExtract.execute(XMLExtract.java:1208)
	at org.jetel.graph.Node.run(Node.java:383)
	at java.lang.Thread.run(Thread.java:619)

All the streams and connections are properly close in web application.
Please suggest some solution for the above issue.

Thanks
Pushpendra

Hello,

exception java.nio.channels.ClosedByInterruptException is caused by some previous exception in “DBTABLE” component.
This root exception is unfortunately hidden behind this message:
ERROR [WatchDog] (WatchDog.java:316) - Node DBTABLE finished with status: ERROR caused by: null

Enable DEBUG log level to make WatchDog display exception with stack trace.
Then we can find out what’s the difference between standalone and jboss execution.

Regards,
Martin