Yeah, your error is the same as mine. Thanks a lot for your workaround and not I got a pretty cool WSRF workflow!
-Wei Stian Soiland-Reyes wrote: > Is this the error? > > 2009-07-28 16:35:52 [0x0-0x6d06d].net.sf.taverna.t2.workbench[4656] > Exception in thread "AWT-EventQueue-0" > net.sf.taverna.t2.workbench.models.graph.dot.TokenMgrError: Lexical > error at line 1, column 1219. Encountered: "#" (35), after : "" > 2009-07-28 16:35:52 [0x0-0x6d06d].net.sf.taverna.t2.workbench[4656] > at > net.sf.taverna.t2.workbench.models.graph.dot.DOTParserTokenManager.getNextToken(DOTParserTokenManager.java:1229) > 2009-07-28 16:35:52 [0x0-0x6d06d].net.sf.taverna.t2.workbench[4656] > at > net.sf.taverna.t2.workbench.models.graph.dot.DOTParser.jj_ntk(DOTParser.java:1065) > 2009-07-28 16:35:52 [0x0-0x6d06d].net.sf.taverna.t2.workbench[4656] > at > net.sf.taverna.t2.workbench.models.graph.dot.DOTParser.a_list(DOTParser.java:555) > 2009-07-28 16:35:52 [0x0-0x6d06d].net.sf.taverna.t2.workbench[4656] > at > net.sf.taverna.t2.workbench.models.graph.dot.DOTParser.a_list(DOTParser.java:575) > 2009-07-28 16:35:52 [0x0-0x6d06d].net.sf.taverna.t2.workbench[4656] > at > net.sf.taverna.t2.workbench.models.graph.dot.DOTParser.a_list(DOTParser.java:575) > 2009-07-28 16:35:52 [0x0-0x6d06d].net.sf.taverna.t2.workbench[4656] > at > net.sf.taverna.t2.workbench.models.graph.dot.DOTParser.a_list(DOTParser.java:575) > 2009-07-28 16:35:52 [0x0-0x6d06d].net.sf.taverna.t2.workbench[4656] > at > net.sf.taverna.t2.workbench.models.graph.dot.DOTParser.a_list(DOTParser.java:575) > 2009-07-28 16:35:52 [0x0-0x6d06d].net.sf.taverna.t2.workbench[4656] > at > net.sf.taverna.t2.workbench.models.graph.dot.DOTParser.attr_list(DOTParser.java:524) > 2009-07-28 16:35:52 [0x0-0x6d06d].net.sf.taverna.t2.workbench[4656] > at > net.sf.taverna.t2.workbench.models.graph.dot.DOTParser.node_stmt(DOTParser.java:258) > 2009-07-28 16:35:52 [0x0-0x6d06d].net.sf.taverna.t2.workbench[4656] > at > net.sf.taverna.t2.workbench.models.graph.dot.DOTParser.stmt(DOTParser.java:164) > 2009-07-28 16:35:52 [0x0-0x6d06d].net.sf.taverna.t2.workbench[4656] > at > net.sf.taverna.t2.workbench.models.graph.dot.DOTParser.stmt_list(DOTParser.java:110) > 2009-07-28 16:35:52 [0x0-0x6d06d].net.sf.taverna.t2.workbench[4656] > at > net.sf.taverna.t2.workbench.models.graph.dot.DOTParser.stmt_list(DOTParser.java:126) > 2009-07-28 16:35:52 [0x0-0x6d06d].net.sf.taverna.t2.workbench[4656] > at > net.sf.taverna.t2.workbench.models.graph.dot.DOTParser.stmt_list(DOTParser.java:126) > 2009-07-28 16:35:52 [0x0-0x6d06d].net.sf.taverna.t2.workbench[4656] > at > net.sf.taverna.t2.workbench.models.graph.dot.DOTParser.stmt_list(DOTParser.java:126) > 2009-07-28 16:35:52 [0x0-0x6d06d].net.sf.taverna.t2.workbench[4656] > at > net.sf.taverna.t2.workbench.models.graph.dot.DOTParser.stmt_list(DOTParser.java:126) > 2009-07-28 16:35:52 [0x0-0x6d06d].net.sf.taverna.t2.workbench[4656] > at > net.sf.taverna.t2.workbench.models.graph.dot.DOTParser.stmt_list(DOTParser.java:126) > 2009-07-28 16:35:52 [0x0-0x6d06d].net.sf.taverna.t2.workbench[4656] > at > net.sf.taverna.t2.workbench.models.graph.dot.DOTParser.stmt_list(DOTParser.java:126) > 2009-07-28 16:35:52 [0x0-0x6d06d].net.sf.taverna.t2.workbench[4656] > at > net.sf.taverna.t2.workbench.models.graph.dot.DOTParser.graph(DOTParser.java:80) > 2009-07-28 16:35:52 [0x0-0x6d06d].net.sf.taverna.t2.workbench[4656] > at > net.sf.taverna.t2.workbench.models.graph.dot.DOTParser.parse(DOTParser.java:25) > 2009-07-28 16:35:52 [0x0-0x6d06d].net.sf.taverna.t2.workbench[4656] > at > net.sf.taverna.t2.workbench.models.graph.dot.GraphLayout.layoutGraph(GraphLayout.java:65) > 2009-07-28 16:35:52 [0x0-0x6d06d].net.sf.taverna.t2.workbench[4656] > at > net.sf.taverna.t2.workbench.models.graph.svg.SVGGraphController.generateSVGDocument(SVGGraphController.java:130) > 2009-07-28 16:35:52 [0x0-0x6d06d].net.sf.taverna.t2.workbench[4656] > at > net.sf.taverna.t2.workbench.views.graph.GraphViewComponent$13.redraw(GraphViewComponent.java:367) > 2009-07-28 16:35:52 [0x0-0x6d06d].net.sf.taverna.t2.workbench[4656] > at > net.sf.taverna.t2.workbench.views.graph.GraphViewComponent$8.actionPerformed(GraphViewComponent.java:275) > 2009-07-28 16:35:52 [0x0-0x6d06d].net.sf.taverna.t2.workbench[4656] > at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882) > 2009-07-28 16:35:52 [0x0-0x6d06d].net.sf.taverna.t2.workbench[4656] > at > javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202) > 2009-07-28 16:35:52 [0x0-0x6d06d].net.sf.taverna.t2.workbench[4656] > at > javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420) > 2009-07-28 16:35:52 [0x0-0x6d06d].net.sf.taverna.t2.workbench[4656] > at > javax.swing.JToggleButton$ToggleButtonModel.setPressed(JToggleButton.java:269) > 2009-07-28 16:35:52 [0x0-0x6d06d].net.sf.taverna.t2.workbench[4656] > at > javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236) > 2009-07-28 16:35:52 [0x0-0x6d06d].net.sf.taverna.t2.workbench[4656] > at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231) > 2009-07-28 16:35:52 [0x0-0x6d06d].net.sf.taverna.t2.workbench[4656] > at java.awt.Component.processMouseEvent(Component.java:5602) > 2009-07-28 16:35:52 [0x0-0x6d06d].net.sf.taverna.t2.workbench[4656] > at javax.swing.JComponent.processMouseEvent(JComponent.java:3135) > 2009-07-28 16:35:52 [0x0-0x6d06d].net.sf.taverna.t2.workbench[4656] > at java.awt.Component.processEvent(Component.java:5367) > 2009-07-28 16:35:52 [0x0-0x6d06d].net.sf.taverna.t2.workbench[4656] > at java.awt.Container.processEvent(Container.java:2010) > 2009-07-28 16:35:52 [0x0-0x6d06d].net.sf.taverna.t2.workbench[4656] > at java.awt.Component.dispatchEventImpl(Component.java:4068) > 2009-07-28 16:35:52 [0x0-0x6d06d].net.sf.taverna.t2.workbench[4656] > at java.awt.Container.dispatchEventImpl(Container.java:2068) > 2009-07-28 16:35:52 [0x0-0x6d06d].net.sf.taverna.t2.workbench[4656] > at java.awt.Component.dispatchEvent(Component.java:3903) > 2009-07-28 16:35:52 [0x0-0x6d06d].net.sf.taverna.t2.workbench[4656] > at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256) > 2009-07-28 16:35:52 [0x0-0x6d06d].net.sf.taverna.t2.workbench[4656] > at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3936) > 2009-07-28 16:35:52 [0x0-0x6d06d].net.sf.taverna.t2.workbench[4656] > at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866) > 2009-07-28 16:35:52 [0x0-0x6d06d].net.sf.taverna.t2.workbench[4656] > at java.awt.Container.dispatchEventImpl(Container.java:2054) > 2009-07-28 16:35:52 [0x0-0x6d06d].net.sf.taverna.t2.workbench[4656] > at java.awt.Window.dispatchEventImpl(Window.java:1801) > 2009-07-28 16:35:52 [0x0-0x6d06d].net.sf.taverna.t2.workbench[4656] > at java.awt.Component.dispatchEvent(Component.java:3903) > 2009-07-28 16:35:52 [0x0-0x6d06d].net.sf.taverna.t2.workbench[4656] > at java.awt.EventQueue.dispatchEvent(EventQueue.java:463) > 2009-07-28 16:35:52 [0x0-0x6d06d].net.sf.taverna.t2.workbench[4656] > at > java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269) > 2009-07-28 16:35:52 [0x0-0x6d06d].net.sf.taverna.t2.workbench[4656] > at > java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190) > 2009-07-28 16:35:52 [0x0-0x6d06d].net.sf.taverna.t2.workbench[4656] > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184) > 2009-07-28 16:35:52 [0x0-0x6d06d].net.sf.taverna.t2.workbench[4656] > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176) > 2009-07-28 16:35:52 [0x0-0x6d06d].net.sf.taverna.t2.workbench[4656] > at java.awt.EventDispatchThread.run(EventDispatchThread.java:110) > 2009-07-28 16:35:52 [0x0-0x6d06d].net.sf.taverna.t2.workbench[4656] > at java.awt.EventDispatchThread.run(EventDispatchThread.java:110) > > > If so - it's a bug with the rendering of the workflow. The service > itself probably works fine, I'm able to reproduce this by adding two > of the add operations to a workflow with the diagram set to 'Display > all processor ports'. If you set it to 'Display no processor ports' it > works, but if you right click on each of the add boxes and do 'Show > ports' on 'add2' you will see the diagram not responding any more. > > You can work around this by clicking 'Display no processor ports' and > then doing the connection manually in the Workflow explorer. > > It seems that renaming the processor so its name does not end in a > number (say 'add2more') also works, so this has probably got something > to do with rendering ports on services which names ends in a number. > > I've attached this to the bug at > http://www.mygrid.org.uk/dev/issues/browse/T2-379 which we will have > to investigate further - it's something with parsing the output of Dot > (which does the diagram layout) that we have not encountered before. > > > It looks like any renaming of the processor so the combination of port > names and processor port names don't have the same length will work > around it - so it's not to do with the number in the end, but the > number of characters. > > > On Tue, Jul 28, 2009 at 10:00, Alexandra Nenadic<[email protected]> wrote: > >> Wei Tan wrote: >> >>> Hi, >>> >>> I am trying to use T 2.1 beta 2 to orchestrate the counter service at >>> http://sidgrid.ci.uchicago.edu:8100/wsrf/services/CounterService?wsdl >>> When I tried to add the second "add" operation into a workflow some >>> weird error occurs and I cannot add links and show ports. >>> >>> >> When I try to add your service as caGrid activity I get the following: >> >> An error occurred while trying to create an URI for >> http://sidgrid.ci.uchicago.edu:8100/wsrf/services/CounterService?wsdl >> org.apache.axis.types.URI$MalformedURIException: Query string contains >> invalid character: >> at org.apache.axis.types.URI.initializePath(URI.java:980) >> at org.apache.axis.types.URI.initialize(URI.java:527) >> at org.apache.axis.types.URI.<init>(URI.java:283) >> at org.apache.axis.types.URI.<init>(URI.java:267) >> at >> net.sf.taverna.cagrid.ui.servicedescriptions.CaGridServiceFromWSDLSearcher.findServiceDescriptionsAsync(CaGridServiceFromWSDLSearcher.java:69) >> at >> net.sf.taverna.cagrid.ui.servicedescriptions.CaGridServiceFromWSDLProvider.findServiceDescriptionsAsync(CaGridServiceFromWSDLProvider.java:59) >> at >> net.sf.taverna.t2.servicedescriptions.impl.ServiceDescriptionRegistryImpl$FindServiceDescriptionsThread.run(ServiceDescriptionRegistryImpl.java:501) >> >> When I try to access the wsdl from a browser - I get an error as well. >> Are you behind a firewall? >> >>> Afterwards I tried to add it as a caGrid activity instead of a WSDL >>> activity, but it never shows up. I cannot add a "fake" caGrid service >>> which is NOT in production/training grid? >>> >>> >> You should be able to - branding a service with a 'caGrid' is only so >> you can define AuthN and Dorian services for it, as well as caDSR. It is >> also used to group services in the Service Panel, i.e. they will show up >> under the name of your 'caGrid'. Go to preferences and define your >> 'Wei's Test caGrid' and then add a service to it. >> >>> Thanks a lot, >>> >>> Wei >>> >>> >>> >> _______________________________________________ >> taverna-cagrid-tech mailing list >> [email protected] >> http://gforge.nci.nih.gov/mailman/listinfo/taverna-cagrid-tech >> >> > > > > -- Wei Tan, Ph.D. Computation Institute the University of Chicago|Argonne National Laboratory http://www.mcs.anl.gov/~wtan ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ taverna-hackers mailing list [email protected] Web site: http://www.taverna.org.uk Mailing lists: http://www.taverna.org.uk/taverna-mailing-lists/ Developers Guide: http://www.mygrid.org.uk/tools/developer-information
