Hi there,
I'm running (or not) Taverna 2.1 in a Spring container on glassfish. I do this
the following way: First I create another application context in addition to
the one from Spring/glassfish:
appContextTaverna=new
RavenAwareClassPathXmlApplicationContext("taverna-config.xml");
I didn't add all the dependencies of Taverna to the Maven2 POM of my project.
It seems to me that Taverna should download its dependencies from its own
repositories. At least that's what I think I specified in raven_local.xml
(http://www.iru.ch/helio/taverna-config.zip).
When I instantiate the RavenAwareClassPathXmlApplicationContext I get
exceptions like the following:
net.sf.taverna.raven.repository.ArtifactNotFoundException: Can't find artifact
for: org.springframework:spring-beans:2.5.4
at
net.sf.taverna.raven.repository.impl.LocalRepository.fetch(LocalRepository.java:820)
at
net.sf.taverna.raven.repository.impl.LocalRepository.act(LocalRepository.java:544)
at
net.sf.taverna.raven.repository.impl.LocalRepository.update(LocalRepository.java:491)
at
net.sf.taverna.platform.spring.RavenAwareListableBeanFactory.resolveBeanClass(RavenAwareListableBeanFactory.java:111)
Why isn't Raven/Taverna downloading those dependencies itself? What am I doing
wrong?
Simon
i4ds.ch
Btw: I tried deleting the local repository to force Taverna Workbench
re-downloading everything. But now it no longer runs, because some dependencies
are missing... This shouldn't happen, right?
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
taverna-hackers mailing list
[email protected]
Web site: http://www.taverna.org.uk
Mailing lists: http://www.taverna.org.uk/taverna-mailing-lists/
Developers Guide: http://www.mygrid.org.uk/tools/developer-information