[ https://issues.apache.org/jira/browse/TUSCANY-1753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12528506 ]
haleh mahbod commented on TUSCANY-1753: --------------------------------------- mvn also fails with the following error. ce-secure>mvn -e + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------- --- [INFO] Building Apache Tuscany SCA HelloWorld Secure Web Service Reference Sampl e [INFO] task-segment: [install] [INFO] ------------------------------------------------------------------------- --- [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. Downloading: http://people.apache.org/~antelder/tuscany/1.0-RC2/maven/org/apache /neethi/neethi/2.0.2/neethi-2.0.2.pom [WARNING] Unable to get resource from repository apache.incubator (http://people .apache.org/repo/m2-incubating-repository) Downloading: http://www.ibiblio.net/pub/packages/maven2/org/apache/neethi/neethi /2.0.2/neethi-2.0.2.pom [WARNING] Unable to get resource from repository central (http://repo1.maven.org /maven2) Downloading: http://people.apache.org/~antelder/tuscany/1.0-RC2/maven/org/apache /ws/security/wss4j/1.5.3/wss4j-1.5.3.pom [WARNING] Unable to get resource from repository apache.incubator (http://people .apache.org/repo/m2-incubating-repository) Downloading: http://www.ibiblio.net/pub/packages/maven2/org/apache/ws/security/w ss4j/1.5.3/wss4j-1.5.3.pom [WARNING] Unable to get resource from repository central (http://repo1.maven.org /maven2) Downloading: http://people.apache.org/~antelder/tuscany/1.0-RC2/maven/org/apache /tuscany/sca/sample-helloworld-ws-service-secure/1.0-incubating/sample-helloworl d-ws-service-secure-1.0-incubating.pom [WARNING] Unable to get resource from repository apache.incubator (http://people .apache.org/repo/m2-incubating-repository) Downloading: http://www.ibiblio.net/pub/packages/maven2/org/apache/tuscany/sca/s ample-helloworld-ws-service-secure/1.0-incubating/sample-helloworld-ws-service-s ecure-1.0-incubating.pom [WARNING] Unable to get resource from repository central (http://repo1.maven.org /maven2) Downloading: http://people.apache.org/~antelder/tuscany/1.0-RC2/maven/org/apache /woden/woden/1.0-incubating-M7b/woden-1.0-incubating-M7b.pom [WARNING] Unable to get resource from repository apache.incubator (http://people .apache.org/repo/m2-incubating-repository) Downloading: http://www.ibiblio.net/pub/packages/maven2/org/apache/woden/woden/1 .0-incubating-M7b/woden-1.0-incubating-M7b.pom [WARNING] Unable to get resource from repository central (http://repo1.maven.org /maven2) Downloading: http://people.apache.org/~antelder/tuscany/1.0-RC2/maven/org/apache /santuario/xmlsec/1.4.0/xmlsec-1.4.0.pom [WARNING] Unable to get resource from repository apache.incubator (http://people .apache.org/repo/m2-incubating-repository) Downloading: http://www.ibiblio.net/pub/packages/maven2/org/apache/santuario/xml sec/1.4.0/xmlsec-1.4.0.pom [WARNING] Unable to get resource from repository central (http://repo1.maven.org /maven2) Downloading: http://people.apache.org/~antelder/tuscany/1.0-RC2/maven/wsdl4j/wsd l4j/1.6.2/wsdl4j-1.6.2.pom [WARNING] Unable to get resource from repository apache.incubator (http://people .apache.org/repo/m2-incubating-repository) Downloading: http://www.ibiblio.net/pub/packages/maven2/wsdl4j/wsdl4j/1.6.2/wsdl 4j-1.6.2.pom [WARNING] Unable to get resource from repository central (http://repo1.maven.org /maven2) [WARNING] Artifact junit:junit:jar:4.2:test retains local scope 'test' overriding broader scope 'runtime' given by a dependency. If this is not intended, modify or remove the loc al scope. Downloading: http://people.apache.org/~antelder/tuscany/1.0-RC2/maven/org/apache /rampart/rampart-core/1.3/rampart-core-1.3.pom [WARNING] Unable to get resource from repository apache.incubator (http://people .apache.org/repo/m2-incubating-repository) Downloading: http://www.ibiblio.net/pub/packages/maven2/org/apache/rampart/rampa rt-core/1.3/rampart-core-1.3.pom [WARNING] Unable to get resource from repository central (http://repo1.maven.org /maven2) Downloading: http://people.apache.org/~antelder/tuscany/1.0-RC2/maven/org/apache /rampart/rampart-policy/1.3/rampart-policy-1.3.pom [WARNING] Unable to get resource from repository apache.incubator (http://people .apache.org/repo/m2-incubating-repository) Downloading: http://www.ibiblio.net/pub/packages/maven2/org/apache/rampart/rampa rt-policy/1.3/rampart-policy-1.3.pom [WARNING] Unable to get resource from repository central (http://repo1.maven.org /maven2) Downloading: http://people.apache.org/~antelder/tuscany/1.0-RC2/maven/org/apache /rampart/rampart-trust/1.3/rampart-trust-1.3.pom [WARNING] Unable to get resource from repository apache.incubator (http://people .apache.org/repo/m2-incubating-repository) Downloading: http://www.ibiblio.net/pub/packages/maven2/org/apache/rampart/rampa rt-trust/1.3/rampart-trust-1.3.pom [WARNING] Unable to get resource from repository central (http://repo1.maven.org /maven2) Downloading: http://people.apache.org/~antelder/tuscany/1.0-RC2/maven/jaxen/jaxe n/1.1-beta-10/jaxen-1.1-beta-10.pom [WARNING] Unable to get resource from repository apache.incubator (http://people .apache.org/repo/m2-incubating-repository) Downloading: http://www.ibiblio.net/pub/packages/maven2/jaxen/jaxen/1.1-beta-10/ jaxen-1.1-beta-10.pom [WARNING] Unable to get resource from repository central (http://repo1.maven.org /maven2) Downloading: http://people.apache.org/~antelder/tuscany/1.0-RC2/maven/bouncycast le/bcprov-jdk15/132/bcprov-jdk15-132.pom [WARNING] Unable to get resource from repository apache.incubator (http://people .apache.org/repo/m2-incubating-repository) Downloading: http://www.ibiblio.net/pub/packages/maven2/bouncycastle/bcprov-jdk1 5/132/bcprov-jdk15-132.pom [WARNING] Unable to get resource from repository central (http://repo1.maven.org /maven2) Downloading: http://people.apache.org/~antelder/tuscany/1.0-RC2/maven/opensaml/o pensaml/1.1/opensaml-1.1.pom [WARNING] Unable to get resource from repository apache.incubator (http://people .apache.org/repo/m2-incubating-repository) Downloading: http://www.ibiblio.net/pub/packages/maven2/opensaml/opensaml/1.1/op ensaml-1.1.pom [WARNING] Unable to get resource from repository central (http://repo1.maven.org /maven2) [INFO] [compiler:compile] [INFO] Nothing to compile - all classes are up to date [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. Downloading: http://people.apache.org/~antelder/tuscany/1.0-RC2/maven/org/apache /tuscany/sca/sample-helloworld-ws-service-secure/1.0-incubating/sample-helloworl d-ws-service-secure-1.0-incubating.jar [WARNING] Unable to get resource from repository apache.incubator (http://people .apache.org/repo/m2-incubating-repository) Downloading: http://www.ibiblio.net/pub/packages/maven2/org/apache/tuscany/sca/s ample-helloworld-ws-service-secure/1.0-incubating/sample-helloworld-ws-service-s ecure-1.0-incubating.jar [WARNING] Unable to get resource from repository central (http://repo1.maven.org /maven2) [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to resolve artifact. Missing: ---------- 1) org.apache.tuscany.sca:sample-helloworld-ws-service-secure:jar:1.0-incubating Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.tuscany.sca -DartifactId=sam ple-helloworld-ws-service-secure \ -Dversion=1.0-incubating -Dpackaging=jar -Dfile=/path/to/file Path to dependency: 1) org.apache.tuscany.sca:sample-helloworld-ws-reference-secure:jar:1.0- incubating 2) org.apache.tuscany.sca:sample-helloworld-ws-service-secure:jar:1.0-in cubating ---------- 1 required artifact is missing. for artifact: org.apache.tuscany.sca:sample-helloworld-ws-reference-secure:jar:1.0-incubatin g from the specified remote repositories: central (http://repo1.maven.org/maven2), apache.incubator (http://people.apache.org/repo/m2-incubating-repository), apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository) [INFO] ------------------------------------------------------------------------ [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Missing: ---------- 1) org.apache.tuscany.sca:sample-helloworld-ws-service-secure:jar:1.0-incubating Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.tuscany.sca -DartifactId=sam ple-helloworld-ws-service-secure \ -Dversion=1.0-incubating -Dpackaging=jar -Dfile=/path/to/file Path to dependency: 1) org.apache.tuscany.sca:sample-helloworld-ws-reference-secure:jar:1.0- incubating 2) org.apache.tuscany.sca:sample-helloworld-ws-service-secure:jar:1.0-in cubating ---------- 1 required artifact is missing. for artifact: org.apache.tuscany.sca:sample-helloworld-ws-reference-secure:jar:1.0-incubatin g from the specified remote repositories: central (http://repo1.maven.org/maven2), apache.incubator (http://people.apache.org/repo/m2-incubating-repository), apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa ultLifecycleExecutor.java:551) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi fecycle(DefaultLifecycleExecutor.java:475) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau ltLifecycleExecutor.java:454) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan dleFailures(DefaultLifecycleExecutor.java:306) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen ts(DefaultLifecycleExecutor.java:273) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi fecycleExecutor.java:140) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) at org.apache.maven.cli.MavenCli.main(MavenCli.java:256) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException : Missing: ---------- 1) org.apache.tuscany.sca:sample-helloworld-ws-service-secure:jar:1.0-incubating Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.tuscany.sca -DartifactId=sam ple-helloworld-ws-service-secure \ -Dversion=1.0-incubating -Dpackaging=jar -Dfile=/path/to/file Path to dependency: 1) org.apache.tuscany.sca:sample-helloworld-ws-reference-secure:jar:1.0- incubating 2) org.apache.tuscany.sca:sample-helloworld-ws-service-secure:jar:1.0-in cubating ---------- 1 required artifact is missing. for artifact: org.apache.tuscany.sca:sample-helloworld-ws-reference-secure:jar:1.0-incubatin g from the specified remote repositories: central (http://repo1.maven.org/maven2), apache.incubator (http://people.apache.org/repo/m2-incubating-repository), apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTra nsitively(DefaultArtifactResolver.java:244) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTra nsitively(DefaultArtifactResolver.java:211) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTra nsitively(DefaultArtifactResolver.java:182) at org.apache.maven.plugin.DefaultPluginManager.resolveTransitiveDepende ncies(DefaultPluginManager.java:1117) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi nManager.java:366) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa ultLifecycleExecutor.java:534) ... 16 more [INFO] ------------------------------------------------------------------------ [INFO] Total time: 26 seconds [INFO] Finished at: Tue Sep 18 11:44:44 PDT 2007 [INFO] Final Memory: 11M/22M [INFO] ------------------------------------------------------------------------ C:\tuscany-new\sca-dist\tuscany-sca-1.0-incubating\samples\helloworld-ws-referen ce-secure> > helloworld-ws-reference-secure gets exception in RC2, rel1.0 > ------------------------------------------------------------ > > Key: TUSCANY-1753 > URL: https://issues.apache.org/jira/browse/TUSCANY-1753 > Project: Tuscany > Issue Type: Bug > Components: Java SCA Samples > Affects Versions: Java-SCA-1.0 > Environment: widows xp > Reporter: haleh mahbod > Priority: Critical > Fix For: Java-SCA-1.0 > > > Marked this as critical since policy seems to be important for this release. > started the dependent service > ant run in helloworld-ws-referece-secure > Get the following exception: > C:\tuscany-new\sca-dist\tuscany-sca-1.0-incubating\samples\helloworld-ws-referen > ce-secure>ant run > Buildfile: build.xml > run: > [java] Injected helloWorldService > [java] Called getGreetings > [java] *** Calling Client UserId/Password Handler .... > [java] Exception in thread "main" > java.lang.reflect.UndeclaredThrowableExce > ption > [java] at $Proxy4.getGreetings(Unknown Source) > [java] at > helloworld.HelloWorldServiceComponent.getGreetings(HelloWorld > ServiceComponent.java:30) > [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > [java] at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces > sorImpl.java:39) > [java] at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet > hodAccessorImpl.java:25) > [java] at java.lang.reflect.Method.invoke(Method.java:585) > [java] at > org.apache.tuscany.sca.implementation.java.invocation.JavaImp > lementationInvoker.invoke(JavaImplementationInvoker.java:105) > [java] at > org.apache.tuscany.sca.core.databinding.wire.PassByValueIntec > eptor.invoke(PassByValueInteceptor.java:49) > [java] at > org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.i > nvoke(JDKInvocationHandler.java:233) > [java] at > org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.i > nvoke(JDKInvocationHandler.java:130) > [java] at $Proxy4.getGreetings(Unknown Source) > [java] at helloworld.HelloWorldClient.main(HelloWorldClient.java:33) > [java] Caused by: > org.apache.tuscany.sca.interfacedef.util.FaultException: > Must Understand check failed for header > http://docs.oasis-open.org/wss/2004/01/o > asis-200401-wss-wssecurity-secext-1.0.xsd : Security > [java] at > org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.i > nvoke(Axis2BindingInvoker.java:81) > [java] at > org.apache.tuscany.sca.core.databinding.wire.DataTransformati > onInteceptor.invoke(DataTransformationInteceptor.java:73) > [java] at > org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.i > nvoke(JDKInvocationHandler.java:233) > [java] at > org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.i > nvoke(JDKInvocationHandler.java:130) > [java] ... 12 more > [java] Java Result: 1 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]