Hi Chathura, Thank you for the answer.
I found from the Xbaya.java, that there is '-workflow' option as below. [heechae@biobrainpool bin]$ sh xbaya-gui.sh -help Usage: java org.apache.airavata.xbaya.XBaya [-help][-config file] [-title title] [-workflow workflow] ... I have tried several ways (with url/local xwf) but I got only following error. Could you check it on? I could manually open the workflow, so the 'xwf' file is not the problem I guess. [heechae@biobrainpool bin]$ sh xbaya-gui.sh -workflow test.xwf SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. org.apache.airavata.workflow.model.exceptions.WorkflowRuntimeException: java.lang.reflect.InvocationTargetException at org.apache.airavata.xbaya.ui.XBayaGUI.<init>(XBayaGUI.java:178) at org.apache.airavata.xbaya.XBayaEngine.<init>(XBayaEngine.java:114) at org.apache.airavata.xbaya.XBaya.<init>(XBaya.java:51) at org.apache.airavata.xbaya.XBaya.main(XBaya.java:312) Caused by: java.lang.reflect.InvocationTargetException at java.awt.EventQueue.invokeAndWait(EventQueue.java:1269) at java.awt.EventQueue.invokeAndWait(EventQueue.java:1244) at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1349) at org.apache.airavata.xbaya.ui.XBayaGUI.<init>(XBayaGUI.java:154) ... 3 more Caused by: java.lang.NullPointerException at org.apache.airavata.xbaya.ui.XBayaGUI.loadDefaultGraph(XBayaGUI.java:832) at org.apache.airavata.xbaya.ui.XBayaGUI.init(XBayaGUI.java:556) at org.apache.airavata.xbaya.ui.XBayaGUI.access$000(XBayaGUI.java:92) at org.apache.airavata.xbaya.ui.XBayaGUI$1.run(XBayaGUI.java:156) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:241) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:727) at java.awt.EventQueue.access$200(EventQueue.java:103) at java.awt.EventQueue$3.run(EventQueue.java:688) at java.awt.EventQueue$3.run(EventQueue.java:686) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:697) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138) at java.awt.EventDispatchThread.run(EventDispatchThread.java:91) Thank you! Heejoon. On Thu, Dec 19, 2013 at 1:18 AM, Chathura Herath <[email protected]>wrote: > Place your xwf in a web accessible location (or in registry). Have > look at the XBaya.java for which java argument need to be passed in. > It should be -url if i am not mistaken. Encode this in your jnlp and > you should be good to go. > > On Tue, Dec 17, 2013 at 6:37 AM, Heejoon Chae <[email protected]> > wrote: > > Hi, all, > > > > I have question about XBaya JNLP launching. Is there way to load > > workflow(.xwf) when the JNLP starts? > > > > Also same question related with registry. Is there way that I can set it > up > > within JNLP? > > > > Thank you very much! > > Heejoon. > > > > -- > Chathura Herath Ph.D > http://people.apache.org/~chathura/ > http://chathurah.blogspot.com/ >
