Hi Marc, The Java client library and the cli example tools are still under development and they've never been officially released. They should still work but you should check out the development branches for the latest versions; the master branches in both cases are nearly 2 years out of date!
For the t2-server-jar repo use the branch "rh/harden" and for the t2-server-java-cli use the branch "rh/comments" branch. Both of those should work with Taverna Server 2.4.1. Best wishes, Rob Haines On 14/03/2013 08:07, Marc Logghe wrote: > Hi, > OK, I've got it compiled but it seems to be impossible to connect to the > server. In debug mode the call Server.connect() throws an > IllegalStateException. > The string arg in my case is "http://wunsch:8080/taverna-server" (when this > argument is given as parameter for the ruby rest client, it works, so this > URL should be ok) > In ConsoleApp.java: > protected Server getServer(String[] args) { > Server server = null; > > for (String arg : args) { > try { > server = Server.connect(new URI(arg)); > > return server; > } catch (Exception e) { > // not a URI, or cannot connect, ignore > server = null; > } > } > > if (server == null) { > showHelpAndExit(1); > } > > return server; > } > } > > The Exception message is: "Target host must not be null, or set in > parameters." > Any ideas on this ? Also: why is the java CLI not needing credentials ? The > ruby client needs them. > Is this java API compliant with Taverna server 2.4.1 ? > > Regards, > Marc > > > -----Original Message----- > From: Alan R Williams [mailto:[email protected]] > Sent: Wednesday, March 13, 2013 5:40 PM > To: [email protected] > Subject: Re: [Taverna-users] taverna server java client > > On 13/03/2013 15:50, Marc Logghe wrote: >> Hi all, >> >> I bumped into this https://github.com/myGrid/t2-server-java-cli github code. > > Hello > >> Unfortunately I can not get it to work because of a 'non-resolvable >> parent POM' when - according to README.txt - 'mvn package' is executed. > > Can you see > http://build.mygrid.org.uk/maven/repository/net/sf/taverna/parent/0.2.2011-02-17/parent-0.2.2011-02-17.pom > > from your machine? That is the parent pom that it should be using. > >> Thanks and regards, >> >> Marc > > Alan > > > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_mar > _______________________________________________ > taverna-users mailing list > [email protected] > [email protected] > Web site: http://www.taverna.org.uk > Mailing lists: http://www.taverna.org.uk/about/contact-us/ > ________________________________________ > THIS E-MAIL MESSAGE IS INTENDED ONLY FOR THE USE OF THE INDIVIDUAL OR ENTITY > TO WHICH IT IS ADDRESSED AND MAY CONTAIN INFORMATION THAT IS PRIVILEGED, > CONFIDENTIAL AND EXEMPT FROM DISCLOSURE. > If the reader of this E-mail message is not the intended recipient, you are > hereby notified that any dissemination, distribution or copying of this > communication is strictly prohibited. If you have received this communication > in error, please notify us immediately at [email protected]. Thank you for > your co-operation. > "NANOBODY" and "NANOCLONE" are registered trademarks of Ablynx N.V. > ________________________________________ > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_mar > _______________________________________________ > taverna-users mailing list > [email protected] > [email protected] > Web site: http://www.taverna.org.uk > Mailing lists: http://www.taverna.org.uk/about/contact-us/ > -- Robert Haines myGrid Team School of Computer Science University of Manchester ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar _______________________________________________ taverna-users mailing list [email protected] [email protected] Web site: http://www.taverna.org.uk Mailing lists: http://www.taverna.org.uk/about/contact-us/
