On 24 June 2016 at 20:02, Thilina Manamgoda <[email protected]> wrote:
> i have changed returning result a "Array.asList" like this:
> https://github.com/ThilinaManamgoda/incubator-taverna-common-activities/blob/stream/taverna-cwl-activity-ui/src/main/java/org/apache/taverna/cwl/ui/serviceprovider/CwlServiceProvider.java

Looks good.

Fix the logging and early return, then it should be ready for a pull request.


> I can't run workbech like this:
> https://github.com/ThilinaManamgoda/incubator-taverna-common-activities/blob/stream/taverna-cwl-activity-ui/src/test/java/org/apache/taverna/cwl/ui/TestWorkBench.java
> when i try to run it, error "can't connect to database another instance is
> using it" occurs although i am not running another workbench ?

Uhu, yes, I got that as well when trying to launch from your
repository.. I think it is caused by version 2 and version 3
dependencies fighting a bit over their initialization.

stain@biggiebuntu:~/.taverna-2.5.0-dev/logs$ tail taverna-2.5.0-dev.log
ERROR 2016-06-27 16:18:28,935
(net.sf.taverna.t2.workbench.reference.config.DataManagementHelper:165)
- org.springframework.beans.factory.parsing.BeanDefinitionParsingException:
Configuration problem: Failed to import bean definitions from relative
location [context-parts/dao_hibernate.xml]
Offending resource: class path resource
[hibernateReferenceServiceContext.xml]; nested exception is
org.springframework.beans.factory.BeanDefinitionStoreException:
Unexpected exception parsing XML document from class path resource
[context-parts/dao_hibernate.xml]; nested exception is
org.springframework.beans.FatalBeanException: NamespaceHandler class
[org.apache.taverna.platform.spring.ArtifactSupportNamespaceHandler]
for namespace [http://taverna.sf.net/schema/artifact-support] not
found; nested exception is java.lang.ClassNotFoundException:
org.apache.taverna.platform.spring.ArtifactSupportNamespaceHandler

I'll see if there is a way to add a Maven <exclusion> to help this.


-- 
Stian Soiland-Reyes
Apache Taverna (incubating), Apache Commons
http://orcid.org/0000-0001-9842-9718

Reply via email to