Comments inline.
Mike Edwards wrote:
Folks,
I'd appreciate any help with the problem I'm having running the
BigBank sample with the M2 release.
First, I'm using:
- Tomcat 5.5.20
- Maven 2.0.4
- Sun JDK 5.0
as advised in the sample readme.
I build the sample using mvn
I deploy the sample to Tomcat using mvn tomcat:deploy
The application deploys fine. However, it does not start. It gives
an error with the final exception listed as follows:
Caused by:
org.apache.tuscany.services.maven.TuscanyDependencyException: Unable
to resolve artifact:
org.apache.tuscany.sca.services.bindings:axis2:1.0-incubator-M2:jar
[org.apache.tuscany.sca.services.bindings:axis2:1.0-incubator-M2:jar]
at
org.apache.tuscany.services.maven.MavenArtifactRepository.resolve(MavenArtifactRepository.java:72)
at
org.apache.tuscany.core.implementation.composite.CompositeLoader.load(CompositeLoader.java:99)
at
org.apache.tuscany.core.implementation.composite.CompositeLoader.load(CompositeLoader.java:55)
at
org.apache.tuscany.core.loader.LoaderRegistryImpl.load(LoaderRegistryImpl.java:92)
at
org.apache.tuscany.core.loader.LoaderRegistryImpl.load(LoaderRegistryImpl.java:109)
at
org.apache.tuscany.core.implementation.system.loader.SystemCompositeComponentTypeLoader.loadFromSidefile(SystemCompositeComponentTypeLoader.java:68)
at
org.apache.tuscany.core.implementation.system.loader.SystemCompositeComponentTypeLoader.load(SystemCompositeComponentTypeLoader.java:59)
at
org.apache.tuscany.core.implementation.system.loader.SystemCompositeComponentTypeLoader.load(SystemCompositeComponentTypeLoader.java:38)
at
org.apache.tuscany.core.loader.LoaderRegistryImpl.loadComponentType(LoaderRegistryImpl.java:159)
at
org.apache.tuscany.core.deployer.DeployerImpl.load(DeployerImpl.java:101)
at
org.apache.tuscany.core.deployer.DeployerImpl.deploy(DeployerImpl.java:76)
at
org.apache.tuscany.core.services.extension.AbstractExtensionDeployer.deployExtension(AbstractExtensionDeployer.java:104)
at
org.apache.tuscany.runtime.webapp.WebResourceScanExtender.init(WebResourceScanExtender.java:80)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.tuscany.core.injection.MethodEventInvoker.invokeEvent(MethodEventInvoker.java:42)
... 31 more
This looks like a problem in resolving the axis2-1.0-incubator-M2.jar.
Two other posts to our user list have reported the same problem in the
last few days. We don't have a resolution for it yet, but this email:
http://mail-archive.com/tuscany-user%40ws.apache.org/msg00666.html may
help. Could you please try what Raymond suggests in that email and in
particular make Tuscany work offline by adding the following to your
web.xml?
Thanks.
However, the following is true:
a) This file is present in the WAR file and in the deployed webapp
directory, in:
sample-bigbank-account\WEB-INF\tuscany\extensions
b) This file is present in my .m2 repository in:
\repository\org\apache\tuscany\sca\services\bindings\axis2\1.0-incubator-M2
What is going wrong here?
What process is the sample app attempting to use to load this JAR?
Could somebody who was involved in the design of this capability for M2
help describe this?
Yours, Mike.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Jean-Sebastien
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]