tuscany-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "chshawkn (Updated) (JIRA)" <...@tuscany.apache.org>
Subject [jira] [Updated] (TUSCANY-4038) tuscany-maven-plugin run dosen't load maven runtime dependencies
Date Wed, 11 Apr 2012 16:55:18 GMT

     [ https://issues.apache.org/jira/browse/TUSCANY-4038?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

chshawkn updated TUSCANY-4038:
------------------------------

    Attachment: fix_tuscany_maven_plugin_shell.diff

patch to fix this issue
                
> tuscany-maven-plugin run dosen't load maven runtime dependencies
> ----------------------------------------------------------------
>
>                 Key: TUSCANY-4038
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-4038
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Maven Plugins
>    Affects Versions: Java-SCA-2.0-Beta3
>         Environment: mac os 10.7, eclipse jee 3.7, project tuscany 2.0 demo 'helloworld
use ZIP format contributions'
>            Reporter: chshawkn
>              Labels: maven, patch, tuscany
>         Attachments: fix_tuscany_maven_plugin_shell.diff
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> project tuscany 2.0 demo 'helloworld use ZIP format contributions'
> no runtime dependencies, only classes in ${project.directory}/target/classes can be found.
> mvn tuscany:run
> console:
> ...
> install file:/Users/someone/Development/workspace/tutorial_soa/target/classes/ -start
> ...
> default> invoke HelloworldComponent sayHello myName
> invoke HelloworldComponent sayHello myName
> java.lang.NoClassDefFoundError: org/apache/commons/lang3/text/WordUtils
> 	at org.myapp.sca.hello.HelloworldImpl.sayHello(HelloworldImpl.java:16)
> 	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:597)
> 	at org.apache.tuscany.sca.implementation.java.invocation.JavaImplementationInvoker.invoke(JavaImplementationInvoker.java:164)
> 	at org.apache.tuscany.sca.core.invocation.InterceptorAsyncImpl.invoke(InterceptorAsyncImpl.java:58)
> 	at org.apache.tuscany.sca.core.invocation.RuntimeInvoker.invoke(RuntimeInvoker.java:125)
> 	at org.apache.tuscany.sca.core.invocation.RuntimeInvoker.invoke(RuntimeInvoker.java:108)
> 	at org.apache.tuscany.sca.core.assembly.impl.RuntimeEndpointImpl.invoke(RuntimeEndpointImpl.java:311)
> 	at org.apache.tuscany.sca.binding.ws.jaxws.JAXWSBindingProvider.invoke(JAXWSBindingProvider.java:207)
> 	at org.apache.tuscany.sca.binding.ws.jaxws.JAXWSBindingProvider.invoke(JAXWSBindingProvider.java:61)
> 	at com.sun.xml.internal.ws.api.server.InstanceResolver$1.invokeProvider(InstanceResolver.java:245)
> 	at com.sun.xml.internal.ws.server.InvokerTube$2.invokeProvider(InvokerTube.java:145)
> 	at com.sun.xml.internal.ws.server.provider.SyncProviderInvokerTube.processRequest(SyncProviderInvokerTube.java:67)
> 	at com.sun.xml.internal.ws.api.pipe.Fiber.__doRun(Fiber.java:587)
> 	at com.sun.xml.internal.ws.api.pipe.Fiber._doRun(Fiber.java:546)
> 	at com.sun.xml.internal.ws.api.pipe.Fiber.doRun(Fiber.java:531)
> 	at com.sun.xml.internal.ws.api.pipe.Fiber.runSync(Fiber.java:428)
> 	at com.sun.xml.internal.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:232)
> 	at com.sun.xml.internal.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:460)
> 	at com.sun.xml.internal.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:233)
> 	at com.sun.xml.internal.ws.transport.http.server.WSHttpHandler.handleExchange(WSHttpHandler.java:95)
> 	at com.sun.xml.internal.ws.transport.http.server.WSHttpHandler.handle(WSHttpHandler.java:80)
> 	at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:65)
> 	at sun.net.httpserver.AuthFilter.doFilter(AuthFilter.java:65)
> 	at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:68)
> 	at sun.net.httpserver.ServerImpl$Exchange$LinkHandler.handle(ServerImpl.java:557)
> 	at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:65)
> 	at sun.net.httpserver.ServerImpl$Exchange.run(ServerImpl.java:529)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> 	at java.lang.Thread.run(Thread.java:680)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message