Return-Path: Delivered-To: apmail-incubator-uima-user-archive@locus.apache.org Received: (qmail 3058 invoked from network); 12 Oct 2007 21:37:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Oct 2007 21:37:29 -0000 Received: (qmail 26431 invoked by uid 500); 12 Oct 2007 21:37:17 -0000 Delivered-To: apmail-incubator-uima-user-archive@incubator.apache.org Received: (qmail 26419 invoked by uid 500); 12 Oct 2007 21:37:17 -0000 Mailing-List: contact uima-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: uima-user@incubator.apache.org Delivered-To: mailing list uima-user@incubator.apache.org Received: (qmail 26405 invoked by uid 99); 12 Oct 2007 21:37:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Oct 2007 14:37:17 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of eaepstein@gmail.com designates 64.233.182.184 as permitted sender) Received: from [64.233.182.184] (HELO nf-out-0910.google.com) (64.233.182.184) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Oct 2007 21:37:18 +0000 Received: by nf-out-0910.google.com with SMTP id k4so939845nfd for ; Fri, 12 Oct 2007 14:36:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=zG1pcOn68/6nL2J80JVHeAQUNlV//R9tJJc1UM5ka68=; b=NXepZJZiC+Ktcy+rSsMJR6XFaQP91rYbIpTc+LCM0KXwy4Fs3AF/bb9z0w7r9n1P3t90D0d7E9bsvka+iGc6slyleXmW5k5wJfN5jkqLKkza9YGEKiwBUHQOYxa2Qm5yIx409MIXMOR8UZ8h1GxvxVt45InGKYsQJzgyOp9i95A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=EwJBzq/VPsa/UqDhPDeSsrCJDcdMwZU7AOqDMc+DozqZGjg6r28mvm83RmrkTIn/VeoHPwjFRiQNzwZypE0OYJq8o6W4dPiTHNCGPzNc+TG4zsL0cujSJsnCNGe8AOsXlIt8P48vqcRLypbrJAgU3A9D6vW1ToLfjODiMsAG+n0= Received: by 10.82.182.1 with SMTP id e1mr6175834buf.1192225015528; Fri, 12 Oct 2007 14:36:55 -0700 (PDT) Received: by 10.82.179.18 with HTTP; Fri, 12 Oct 2007 14:36:55 -0700 (PDT) Message-ID: Date: Fri, 12 Oct 2007 17:36:55 -0400 From: "Eddie Epstein" To: uima-user@incubator.apache.org Subject: Re: MeetingFinderCPE_Managed_Unix.xml Example Exception In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_27137_21390860.1192225015525" References: <470F516E.4070400@uni-jena.de> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_27137_21390860.1192225015525 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline The problem here is that the CPE GUI tool does not support the more exotic features of the CPM, including the ability to deploy a managed service. To run this test case, use the runCPE command with the example CPE descriptor as argument. runCPE.sh$UIMA_HOME/examples/descriptors/collection_processing_engine/MeetingFinderCPE_Managed_Unix.xml When I did this on Windows it worked fine, but on Linux it hung because the deployed service didn't have a proper environment. In order to get it working on Linux, I added a PATH environment for the new process in the descriptor, e.g. -DLOG=service.log org.apache.uima.adapter.vinci.VinciAnalysisEngineService_impl ${descriptor} Regards, Eddie On 10/12/07, Katherine Enderling wrote: > > When I try to run the MeetingFinderCPE_Managed_Unix.xml example using the > UIMA CPE GUI tool in eclipse I get the error below. I get the same error > trying to run my own managed Vinci service. > Can anyone help? > Thanks very much! > Katherine > > Error loading CPE Descriptor > > /Volumes/DATA/Programming/apache-uima/examples/descriptors/collection_proces > sing_engine/MeetingFinderCPE_Managed_Unix.xml > org.apache.uima.util.InvalidXM > LException: Invalid descriptor at > > file:/Volumes/DATA/Programming/apache-uima/examples/deploy/vinci/Deploy_Meet > ingDetectorTAE.xml. > at > org.apache.uima.util.impl.XMLParser_impl.parse(XMLParser_impl.java:193) > > at > org.apache.uima.util.impl.XMLParser_impl.parseResourceSpecifier > (XMLParser_im > pl.java:365) > at > org.apache.uima.util.impl.XMLParser_impl.parseResourceSpecifier > (XMLParser_im > pl.java:346) > at > org.apache.uima.tools.cpm.CpmPanel.openCpeDescriptor(CpmPanel.java:1781) > > at org.apache.uima.tools.cpm.CpmPanel.actionPerformed(CpmPanel.java:845) > > at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java > :1882) > > at > javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java > :2202) > at > javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java > :4 > 20) > at > javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258) > > at javax.swing.AbstractButton.doClick(AbstractButton.java:334) > at > javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000) > > at > javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased > (BasicMenuItemUI > .java:1041) > at > java.awt.Component.processMouseEvent(Component.java:5554) > at > javax.swing.JComponent.processMouseEvent(JComponent.java:3126) > at > java.awt.Component.processEvent(Component.java:5319) > at > java.awt.Container.processEvent(Container.java:2010) > at > java.awt.Component.dispatchEventImpl(Component.java:4021) > at > java.awt.Container.dispatchEventImpl(Container.java:2068) > at > java.awt.Component.dispatchEvent(Component.java:3869) > at > java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256) > > at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3936) > > at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866) > at > java.awt.Container.dispatchEventImpl(Container.java:2054) > at > java.awt.Window.dispatchEventImpl(Window.java:1774) > at > java.awt.Component.dispatchEvent(Component.java:3869) > at > java.awt.EventQueue.dispatchEvent(EventQueue.java:463) > at > java.awt.EventDispatchThread.pumpOneEventForHierarchy( > EventDispatchThread.ja > va:269) > at > java.awt.EventDispatchThread.pumpEventsForHierarchy( > EventDispatchThread.java > :190) > at > java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184) > at > java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176) > at > java.awt.EventDispatchThread.run(EventDispatchThread.java:110) > Caused by: > org.apache.uima.util.InvalidXMLException: The XML parser encountered an > unknown element type: deployment. > at > org.apache.uima.util.impl.XMLParser_impl.buildObject > (XMLParser_impl.java:276 > ) > at > org.apache.uima.util.impl.SaxDeserializer_impl.getObject > (SaxDeserializer_imp > l.java:114) > at > org.apache.uima.util.impl.XMLParser_impl.parse(XMLParser_impl.java:184) > > ... 30 more > > > > ------=_Part_27137_21390860.1192225015525--