Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update configuration and docker commands #45

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

nyu-zeeshan
Copy link
Contributor

No description provided.

@sagar15795
Copy link
Member

@nyu-zeeshan
have you verified that taverna player is working with latest taverna server?

@nyu-zeeshan
Copy link
Contributor Author

@sagar15795
Yes, its working.

@ianwdunlop
Copy link
Contributor

I tried running a couple of t2flow workflows and got a similar error with each from taverna-server-3. @stain I imagine this must be a known bug:

Hello-abcd:

Caused by: javax.xml.bind.UnmarshalException: unexpected element (uri:"http://ns.taverna.org.uk/2010/xml/server/", local:"workflow"). Expected elements are <{http://taverna.sf.net/2008/xml/t2flow}abstractConfigBean>,<{}net.sf.taverna.t2.activities.externaltool.ExternalToolActivityConfigurationBean>,<{}net.sf.taverna.t2.activities.interaction.InteractionActivityConfigurationBean>,<{}net.sf.taverna.t2.activities.rest.RESTActivityConfigurationBean>,<{}net.sf.taverna.t2.activities.usecase.UseCaseActivityConfigurationBean>,<{}net.sf.taverna.t2.activities.xpath.XPathActivityConfigurationBean>,<{}net.sf.taverna.t2.component.ComponentActivityConfigurationBean>,<{http://taverna.sf.net/2008/xml/t2flow}workflow>

Fetch xkcd:

Caused by: javax.xml.bind.UnmarshalException: unexpected element (uri:"http://ns.taverna.org.uk/2010/xml/server/", local:"workflow"). Expected elements are <{http://taverna.sf.net/2008/xml/t2flow}abstractConfigBean>,<{}net.sf.taverna.t2.activities.externaltool.ExternalToolActivityConfigurationBean>,<{}net.sf.taverna.t2.activities.interaction.InteractionActivityConfigurationBean>,<{}net.sf.taverna.t2.activities.rest.RESTActivityConfigurationBean>,<{}net.sf.taverna.t2.activities.usecase.UseCaseActivityConfigurationBean>,<{}net.sf.taverna.t2.activities.xpath.XPathActivityConfigurationBean>,<{}net.sf.taverna.t2.component.ComponentActivityConfigurationBean>,<{http://taverna.sf.net/2008/xml/t2flow}workflow>

@stain
Copy link
Member

stain commented Feb 8, 2018 via email

@ianwdunlop
Copy link
Contributor

I sent it via taverna-player-portal. I was testing whether they could both be started vis docker and play nicely with each other. I haven't tried sending from mobile to portal to server.

@asfgit asfgit force-pushed the master branch 2 times, most recently from 03f68fd to f997f57 Compare May 22, 2018 17:19
@ianwdunlop
Copy link
Contributor

Anyone tried TavServ 3 with TavMob recently? I couldn't get it to work which is probably why this pull request never got merged.

@ianwdunlop
Copy link
Contributor

ianwdunlop commented Nov 14, 2018

Not sure we should really be telling people to change the strings.xml code inside the app before they run it. Doesn't seem very user friendly. I need to double check the ports that you recommend changing. I guess we need them all to be the defaults for each app which is what I think you are driving for here.

@ianwdunlop
Copy link
Contributor

ianwdunlop commented Nov 14, 2018

It might be easier to try to do it as a application/vnd.taverna.t2flow+xml upload (Sending binary file as-is) than wrapp it in a server:workflow as application/xml.

Well if you know where in the many layered stack of taverna-player-portal>taverna-player>t2-server-gem it is doing this then please let me know ;)
I think it might be in https://github.com/myGrid/t2-server-gem/blob/master/lib/t2-server/server.rb#L261 but if you look at the call sequence it seems to be sending as Post with type "application/vnd.taverna.t2flow+xml".

@ianwdunlop
Copy link
Contributor

I actually managed to recreate the issue by using the t2-server-gem directly in irb. T2Server::Run.create() seems to be where the issue occurs. Doesn't mean it is to blame though. It could be the server that is wrong. Would need to run directly against TavServ3 using curl or similar to find out. Now where did I put those notes......

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants