Skip to content.
|
Skip to navigation
Site Map
Accessibility
Contact
Search Site
only in current section
Advanced Search…
Sections
user
Developer
Personal tools
Log in
Register
You are here:
Home
Nav
Home
Developer
Log in
Login Name
Password
Cookies are not enabled. You must enable cookies before you can log in.
Forgot your password?
New user?
Info
Modified items
All recently modified items, latest first.
Re: No protocol: org/helloworld/HelloWorld.xml
by Ron Mak, last updated: Jan 21, 2011 05:12 PM
I did the tutorial "Developing a Hello World Actor using the Kepler Build System and Eclipse". At the end, I was able to start Kepler with "ant run", instantiate my new HelloWorld actor, and use it in the workflow as per the tutorial. However, if I start Kepler from within Eclipse and then try to instantiate the HelloWorld actor (via Tools ==> Instantiate Component), I get an error dialog about Kepler not finding the class org.helloworld.HelloWorld because there is no protocol org/helloworld/HelloWorld.xml. I've copied the stack trace below. Doing the tutorial did not create a file HelloWorld.xml that I could find. Why is it possible to create the HelloWorld actor if Kepler was started by "ant run" but not if Kepler was started within Eclipse? Are there steps that you must do in Eclipse that are missing in the tutorial? Here's the stack trace: com.microstar.xml.XmlException: XML element "entity" triggers exception. in [external stream] at line 1 and column 72 Caused by: ptolemy.kernel.util.IllegalActionException: Cannot find class: org.helloworld.HelloWorld Because: -- no protocol: org/helloworld/HelloWorld.xml -- XML file not found relative to classpath. -- /home/rlmak/kepler/kepler/org/helloworld/HelloWorld.xml /home/rlmak/kepler/kepler/org/helloworld/HelloWorld.xml (No such file or directory) in [external stream] at line 1 and column 72 at ptolemy.moml.MoMLParser.startElement(MoMLParser.java:3442) at com.microstar.xml.XmlParser.parseElement(XmlParser.java:921) at com.microstar.xml.XmlParser.parseContent(XmlParser.java:1104) at com.microstar.xml.XmlParser.parseElement(XmlParser.java:924) at com.microstar.xml.XmlParser.parseDocument(XmlParser.java:481) at com.microstar.xml.XmlParser.doParse(XmlParser.java:159) at com.microstar.xml.XmlParser.parse(XmlParser.java:132) at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1402) at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1374) at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1530) at ptolemy.moml.MoMLChangeRequest._execute(MoMLChangeRequest.java:289) at ptolemy.kernel.util.ChangeRequest.execute(ChangeRequest.java:171) at ptolemy.kernel.util.NamedObj.executeChangeRequests(NamedObj.java:735) at ptolemy.kernel.util.NamedObj.requestChange(NamedObj.java:1775) at ptolemy.actor.CompositeActor.requestChange(CompositeActor.java:1921) at ptolemy.vergil.actor.ActorGraphFrame$InstantiateEntityAction.actionPerformed(ActorGraphFrame.java:709) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242) at javax.swing.AbstractButton.doClick(AbstractButton.java:357) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1220) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1261) at java.awt.Component.processMouseEvent(Component.java:6041) at javax.swing.JComponent.processMouseEvent(JComponent.java:3265) at java.awt.Component.processEvent(Component.java:5806) at java.awt.Container.processEvent(Container.java:2058) at java.awt.Component.dispatchEventImpl(Component.java:4413) at java.awt.Container.dispatchEventImpl(Container.java:2116) at java.awt.Component.dispatchEvent(Component.java:4243) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916) at java.awt.Container.dispatchEventImpl(Container.java:2102) at java.awt.Window.dispatchEventImpl(Window.java:2440) at java.awt.Component.dispatchEvent(Component.java:4243) at java.awt.EventQueue.dispatchEvent(EventQueue.java:599) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160) at java.awt.EventDispatchThread.run(EventDispatchThread.java:121) Caused by: ptolemy.kernel.util.IllegalActionException: Cannot find class: org.helloworld.HelloWorld Because: -- no protocol: org/helloworld/HelloWorld.xml -- XML file not found relative to classpath. -- /home/rlmak/kepler/kepler/org/helloworld/HelloWorld.xml /home/rlmak/kepler/kepler/org/helloworld/HelloWorld.xml (No such file or directory) in [external stream] at line 1 and column 72 at ptolemy.moml.MoMLParser._createEntity(MoMLParser.java:3877) at ptolemy.moml.MoMLParser.startElement(MoMLParser.java:2493) ... 42 more Caused by: com.microstar.xml.XmlException: -- no protocol: org/helloworld/HelloWorld.xml -- XML file not found relative to classpath. -- /home/rlmak/kepler/kepler/org/helloworld/HelloWorld.xml /home/rlmak/kepler/kepler/org/helloworld/HelloWorld.xml (No such file or directory) in [external stream] at line 1 and column 72 at ptolemy.moml.MoMLParser.fileNameToURL(MoMLParser.java:1176) at ptolemy.moml.MoMLParser._findOrParse(MoMLParser.java:4778) at ptolemy.moml.MoMLParser._attemptToFindMoMLClass(MoMLParser.java:3649) at ptolemy.moml.MoMLParser._createEntity(MoMLParser.java:3872) ... 43 more Caused by: ptolemy.kernel.util.IllegalActionException: Cannot find class: org.helloworld.HelloWorld Because: -- no protocol: org/helloworld/HelloWorld.xml -- XML file not found relative to classpath. -- /home/rlmak/kepler/kepler/org/helloworld/HelloWorld.xml /home/rlmak/kepler/kepler/org/helloworld/HelloWorld.xml (No such file or directory) in [external stream] at line 1 and column 72 at ptolemy.moml.MoMLParser._createEntity(MoMLParser.java:3877) at ptolemy.moml.MoMLParser.startElement(MoMLParser.java:2493) at com.microstar.xml.XmlParser.parseElement(XmlParser.java:921) at com.microstar.xml.XmlParser.parseContent(XmlParser.java:1104) at com.microstar.xml.XmlParser.parseElement(XmlParser.java:924) at com.microstar.xml.XmlParser.parseDocument(XmlParser.java:481) at com.microstar.xml.XmlParser.doParse(XmlParser.java:159) at com.microstar.xml.XmlParser.parse(XmlParser.java:132) at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1402) at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1374) at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1530) at ptolemy.moml.MoMLChangeRequest._execute(MoMLChangeRequest.java:289) at ptolemy.kernel.util.ChangeRequest.execute(ChangeRequest.java:171) at ptolemy.kernel.util.NamedObj.executeChangeRequests(NamedObj.java:735) at ptolemy.kernel.util.NamedObj.requestChange(NamedObj.java:1775) at ptolemy.actor.CompositeActor.requestChange(CompositeActor.java:1921) at ptolemy.vergil.actor.ActorGraphFrame$InstantiateEntityAction.actionPerformed(ActorGraphFrame.java:709) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242) at javax.swing.AbstractButton.doClick(AbstractButton.java:357) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1220) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1261) at java.awt.Component.processMouseEvent(Component.java:6041) at javax.swing.JComponent.processMouseEvent(JComponent.java:3265) at java.awt.Component.processEvent(Component.java:5806) at java.awt.Container.processEvent(Container.java:2058) at java.awt.Component.dispatchEventImpl(Component.java:4413) at java.awt.Container.dispatchEventImpl(Container.java:2116) at java.awt.Component.dispatchEvent(Component.java:4243) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916) at java.awt.Container.dispatchEventImpl(Container.java:2102) at java.awt.Window.dispatchEventImpl(Window.java:2440) at java.awt.Component.dispatchEvent(Component.java:4243) at java.awt.EventQueue.dispatchEvent(EventQueue.java:599) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160) at java.awt.EventDispatchThread.run(EventDispatchThread.java:121) Caused by: com.microstar.xml.XmlException: -- no protocol: org/helloworld/HelloWorld.xml -- XML file not found relative to classpath. -- /home/rlmak/kepler/kepler/org/helloworld/HelloWorld.xml /home/rlmak/kepler/kepler/org/helloworld/HelloWorld.xml (No such file or directory) in [external stream] at line 1 and column 72 at ptolemy.moml.MoMLParser.fileNameToURL(MoMLParser.java:1176) at ptolemy.moml.MoMLParser._findOrParse(MoMLParser.java:4778) at ptolemy.moml.MoMLParser._attemptToFindMoMLClass(MoMLParser.java:3649) at ptolemy.moml.MoMLParser._createEntity(MoMLParser.java:3872) ... 43 more Caused by: com.microstar.xml.XmlException: -- no protocol: org/helloworld/HelloWorld.xml -- XML file not found relative to classpath. -- /home/rlmak/kepler/kepler/org/helloworld/HelloWorld.xml /home/rlmak/kepler/kepler/org/helloworld/HelloWorld.xml (No such file or directory) in [external stream] at line 1 and column 72 at ptolemy.moml.MoMLParser.fileNameToURL(MoMLParser.java:1176) at ptolemy.moml.MoMLParser._findOrParse(MoMLParser.java:4778) at ptolemy.moml.MoMLParser._attemptToFindMoMLClass(MoMLParser.java:3649) at ptolemy.moml.MoMLParser._createEntity(MoMLParser.java:3872) at ptolemy.moml.MoMLParser.startElement(MoMLParser.java:2493) at com.microstar.xml.XmlParser.parseElement(XmlParser.java:921) at com.microstar.xml.XmlParser.parseContent(XmlParser.java:1104) at com.microstar.xml.XmlParser.parseElement(XmlParser.java:924) at com.microstar.xml.XmlParser.parseDocument(XmlParser.java:481) at com.microstar.xml.XmlParser.doParse(XmlParser.java:159) at com.microstar.xml.XmlParser.parse(XmlParser.java:132) at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1402) at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1374) at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1530) at ptolemy.moml.MoMLChangeRequest._execute(MoMLChangeRequest.java:289) at ptolemy.kernel.util.ChangeRequest.execute(ChangeRequest.java:171) at ptolemy.kernel.util.NamedObj.executeChangeRequests(NamedObj.java:735) at ptolemy.kernel.util.NamedObj.requestChange(NamedObj.java:1775) at ptolemy.actor.CompositeActor.requestChange(CompositeActor.java:1921) at ptolemy.vergil.actor.ActorGraphFrame$InstantiateEntityAction.actionPerformed(ActorGraphFrame.java:709) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242) at javax.swing.AbstractButton.doClick(AbstractButton.java:357) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1220) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1261) at java.awt.Component.processMouseEvent(Component.java:6041) at javax.swing.JComponent.processMouseEvent(JComponent.java:3265) at java.awt.Component.processEvent(Component.java:5806) at java.awt.Container.processEvent(Container.java:2058) at java.awt.Component.dispatchEventImpl(Component.java:4413) at java.awt.Container.dispatchEventImpl(Container.java:2116) at java.awt.Component.dispatchEvent(Component.java:4243) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916) at java.awt.Container.dispatchEventImpl(Container.java:2102) at java.awt.Window.dispatchEventImpl(Window.java:2440) at java.awt.Component.dispatchEvent(Component.java:4243) at java.awt.EventQueue.dispatchEvent(EventQueue.java:599) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160) at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Re: Adding actors and web services
by Jianwu Wang, last updated: Jan 19, 2011 09:36 AM
Madhavi, 2: Kepler has a separate webservice module to execute workflows through web service. You can have a look at it at (https://code.kepler-project.org/code/kepler/trunk/modules/webservice/). But it was built in 2009 and some changes might be needed to work with the current Kepler version. The execution error and execution status information can be gotten from web service message.
Re: Adding actors and web services
by Daniel Crawl, last updated: Jan 19, 2011 09:19 AM
Madhavi, 1: What exceptions do you get when you try to add the helloworld actor? 3: Instead of using the Display actor, you could use LineWriter or FileWriter.
Adding actors and web services
by madhavi, last updated: Jan 18, 2011 08:31 PM
I have a few questions. 1. I have some existing plug-ins for secondary analysis pipeline and i want to add them as actors in kepler. How can i do that? I have already tried with the hello world program from manual but it is not working for me. I get exceptions about the xmls when i try to add helloworld as actor in kepler. 2. How to deploy kepler web services so that i will be able to start the workflow from my client? In case of web services, how the error reporting and workflow monitoring done? 3. WHen i run the workflow from command like using ant run-no-gui, my workflow runs but then how can see the oupput of it?
Kepler 2.2 Release Roadmap
by Ilkay Altintas, last updated: Dec 07, 2010 12:16 PM
This is a roadmap for the release plans for Kepler 2.2. We currently have broad agreement about the goals and approaches for this release as articulated in this document, but the final document awaits endorsement by the Kepler Leadership Team.
KAREntryHandler Extension Point
by Aaron Schultz, last updated: Dec 06, 2010 01:53 PM
The KAREntryHandler extension point in the core module allows other modules to contribute files to Kepler ARchives (KARs).
Kepler Engineering View for REAP
by Development Account, last updated: Nov 30, 2010 11:15 AM
Ptolemy Package Dependencies
by Kirsten Menger-Anderson, last updated: Nov 23, 2010 04:00 AM
In Ptolemy II 7.0, the package dependencies are encoded in the makefiles. For more information, please see this page.
Engineering View Plans
by Derik Barseghian, last updated: Nov 08, 2010 12:12 PM
REAP Engineering View
Report Designer Selectable Provenance
by Derik Barseghian, last updated: Nov 08, 2010 11:58 AM
Transfer Sensor Data from DataTurbine to Metacat
by Ilkay Altintas, last updated: Oct 25, 2010 01:51 PM
This is the design document (UNDER CONSTRUCTION) for Bug 4757.
Bugs And Users
by Manish Anand, last updated: Oct 25, 2010 01:29 PM
Dataturbine to metacat (workflow)-Tasks
by Manish Anand, last updated: Oct 25, 2010 01:17 PM
Dataturbine to metacat (workflow)-Tasks
by Manish Anand, last updated: Oct 25, 2010 01:17 PM
Reply-To
by NCEAS Support, last updated: Oct 22, 2010 01:40 PM
dataturbine to metacat (workflow)
by Manish Anand, last updated: Oct 20, 2010 01:27 PM
Sample Workflows
by Development Account, last updated: Oct 15, 2010 02:51 PM
Get Involved
by Kirsten Menger-Anderson, last updated: Oct 15, 2010 01:37 PM
Workflow design to store data from dataturbine to metacat
by Manish Anand, last updated: Oct 11, 2010 01:34 PM
Workflow design to store data from dataturbine to metacat
by Manish Anand, last updated: Oct 11, 2010 01:30 PM
« Previous 20 items
Next 20 items »
1
…
9
10
11
12
13
14
15
…
46
News
Kepler talks at EIM 2008
Sep 15, 2008