From tcegrid at yahoo.co.in Mon Oct 22 09:09:52 2007 From: tcegrid at yahoo.co.in (tce tce) Date: Mon, 22 Oct 2007 14:09:52 +0100 (BST) Subject: [xml-qstat-d] Failed to display the job details Message-ID: <861881.35906.qm@web94003.mail.in2.yahoo.com> Hi All, I have been using xml-qstat for the past couple of days. Now I am facing a proble in this. when I click the job id it throws a below error message. Please help me to resolve this issue. Regards, Thamizh Here are the details: An error has occured org.xml.sax.SAXParseException: Premature end of file. Cocoon stacktrace[hide] Failed to process pipeline context://../../../xmlqstat/sitemap.xmap - 119:34 context://../../../xmlqstat/sitemap.xmap - 115:46 context://../../../xmlqstat/sitemap.xmap - 114:58 context://sitemap.xmap - 1026:57 Java stacktrace[hide] org.xml.sax.SAXParseException: Premature end of file. at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(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 org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.excalibur.xml.impl.JaxpParser.parse(JaxpParser.java:315) at org.apache.excalibur.xml.impl.JaxpParser.parse(JaxpParser.java:334) at org.apache.cocoon.components.source.SourceUtil.parse(SourceUtil.java:326) at org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:116) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:579) at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:279) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:481) at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:121) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47) at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:253) at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47) at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:253) at org.apache.cocoon.Cocoon.process(Cocoon.java:699) at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1154) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567) at org.mortbay.http.HttpContext.handle(HttpContext.java:1807) at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:525) at org.mortbay.http.HttpContext.handle(HttpContext.java:1757) at org.mortbay.http.HttpServer.service(HttpServer.java:879) at org.mortbay.http.HttpConnection.service(HttpConnection.java:789) at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:806) at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:300) at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:511) Java full stacktrace[hide] org.apache.cocoon.ProcessingException: Failed to process pipeline at - file:/opt/sge/xmlqstat/cocoon-2.1.10/build/webapp/../../../xmlqstat/sitemap.xmap:119:34 at - file:/opt/sge/xmlqstat/cocoon-2.1.10/build/webapp/../../../xmlqstat/sitemap.xmap:115:46 at - file:/opt/sge/xmlqstat/cocoon-2.1.10/build/webapp/../../../xmlqstat/sitemap.xmap:114:58 at - file:/opt/sge/xmlqstat/cocoon-2.1.10/build/webapp/sitemap.xmap:1026:57 at org.apache.cocoon.ProcessingException.throwLocated(ProcessingException.java:145) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.handleException(AbstractProcessingPipeline.java:953) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:583) at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:279) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:481) at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:121) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47) at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:253) at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47) at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:253) at org.apache.cocoon.Cocoon.process(Cocoon.java:699) at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1154) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567) at org.mortbay.http.HttpContext.handle(HttpContext.java:1807) at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:525) at org.mortbay.http.HttpContext.handle(HttpContext.java:1757) at org.mortbay.http.HttpServer.service(HttpServer.java:879) at org.mortbay.http.HttpConnection.service(HttpConnection.java:789) at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:806) at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:300) at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:511) Caused by: org.xml.sax.SAXParseException: Premature end of file. at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(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 org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.excalibur.xml.impl.JaxpParser.parse(JaxpParser.java:315) at org.apache.excalibur.xml.impl.JaxpParser.parse(JaxpParser.java:334) at org.apache.cocoon.components.source.SourceUtil.parse(SourceUtil.java:326) at org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:116) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:579) ... 38 more The Apache Cocoon Project --------------------------------- Chat on a cool, new interface. No download required. Click here. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.bioteam.net/pipermail/xml-qstat-d/attachments/20071022/e6e8860d/attachment.html From dag at sonsorol.org Tue Oct 23 16:46:19 2007 From: dag at sonsorol.org (Chris Dagdigian) Date: Tue, 23 Oct 2007 16:46:19 -0400 Subject: [xml-qstat-d] update news: xml-qstat is now pure-java; no perl daemons needed anymore Message-ID: Hi folks, This message is going out to the 27-odd people who took the time to subscribe to the xml-qstat mailing list. Thanks, all of you! Some exciting news to share. As some of you may know, there was a Grid Engine workshop held in Regensberg, Germany last month. At that workshop I gave a quick 15 minute talk called "Fun with Grid Engine XML", the slides are available here: http://gridengine.info/files/Fun-with-XML.pdf During my talk I explained what I consider to be the most personally embarrassing thing about xml-qstat -- the fact that I had to resort to using an additional perl daemon to capture and cache SGE qstat xml status data and (even worse!) a 2nd perl CGI program that was required in order to capture details about job level information (the CGI runs the "qstat -xml -j " command and feeds the XML into cocoon for processing). The reason for the above perl hacks is because I need to get SGE XML into the Cocoon application server but I'm not good enough with Java to solve it the "proper" way using Java and the cocoon generator classes. During my talk I asked for help from any willing Java gurus and a few days later Petr Jung from Sun stepped forward with some excellent contributions. Thanks to Petr we now have Java code that builds a jarfile named "xml- qstat.jar". When that jar file is dropped into the Cocoon build/ webapp/WEB-INF/lib directory the Cocoon application server magically gains the ability to directly issue "qstat -xml ..." commands and pipe the resulting XML back into the application server for rendering on the web page. No more perl helper code required! This is a huge win, no perl dependencies and no more need for installing a separate CGI in order to view job level details. Petr took the additional step of SVN committing a Netbeans project into the xml-qstat codebase. This allows anyone to build their own local copy of xml-qstat.jar if they desire. I suspect though that when we package up an official release for download we'll simply include the .jar file and leave out the netbeans files so that we don't unnecessarily confuse the users. The netbeans files are mainly of interest to people developing xml-qstat. This news is exciting enough to push me towards making a "xml- qstat-1.0beta" release and before I do that I figured I'd canvas this list to see if anyone would be willing to alpha test this and provide feedback that would help us make better installation documentation. Anyone who is willing to test the new "pure java" version of xml- qstat, please drop me a line. All you need to do is download the xml- qstat codebase directly from the bleeding edge trunk/ branch. Then I can email you the .jar file if you don't feel like setting up and configuring the Netbeans IDE just to build a single small jar. A demo version of the pure-java code is running here: http://zareh.sonsorol.net:8888/xmlqstat/qstat.html ... it looks the same as the old version but behind the scenes there is no helper daemon or perl. Each time you refresh the page or click on a jobID the Cocoon app server is directly making a "qstat" query to the SGE qmaster. Regards, Chris From brendon.oliver at gmail.com Tue Oct 23 16:59:30 2007 From: brendon.oliver at gmail.com (Brendon Oliver) Date: Wed, 24 Oct 2007 06:59:30 +1000 Subject: [xml-qstat-d] update news: xml-qstat is now pure-java; no perl daemons needed anymore In-Reply-To: References: Message-ID: <200710240659.30507.brendon.oliver@gmail.com> On Wednesday 24 October 2007 06:46:19 Chris Dagdigian wrote: > This news is exciting enough to push me towards making a "xml- > qstat-1.0beta" release and before I do that I figured I'd canvas this > list to see if anyone would be willing to alpha test this and provide > feedback that would help us make better installation documentation. This is great news Chris! > Anyone who is willing to test the new "pure java" version of xml- > qstat, please drop me a line. All you need to do is download the xml- > qstat codebase directly from the bleeding edge trunk/ branch. Then I > can email you the .jar file if you don't feel like setting up and > configuring the Netbeans IDE just to build a single small jar. We're not using xml-qstat as much as we were here (simply because our grid "just runs", so not a lot of need for monitoring lately). However I'd sure like to give the new version a spin, so if you can email me the jar file that would be great. Regards, - Brendon. -- BOFH excuse #187: Reformatting Page. Wait... 06:56:45 up 8 days, 18:22, 3 users, load average: 0.13, 0.33, 0.33