Skip to content

Update configuration and docker commands - #45

Open
nyu-zeeshan wants to merge 2 commits into
apache:masterfrom
nyu-zeeshan:fix1
Open

Update configuration and docker commands#45
nyu-zeeshan wants to merge 2 commits into
apache:masterfrom
nyu-zeeshan:fix1

Conversation

@nyu-zeeshan

Copy link
Copy Markdown
Contributor

No description provided.

@sagar15795

Copy link
Copy Markdown
Member

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

@nyu-zeeshan

Copy link
Copy Markdown
Contributor Author

@sagar15795
Yes, its working.

@ianwdunlop

Copy link
Copy Markdown
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

stain commented Feb 8, 2018 via email

Copy link
Copy Markdown
Member

@ianwdunlop

Copy link
Copy Markdown
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
Copy Markdown
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

ianwdunlop commented Nov 14, 2018

Copy link
Copy Markdown
Contributor

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

ianwdunlop commented Nov 14, 2018

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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