On 8/17/07, Vamsavardhana Reddy <[EMAIL PROTECTED]> wrote: > > Stack trace for the ActivationException: > > > 19:28:47,578 ERROR [GBeanInstanceState] Error while starting; GBean is now > in the FAILED state: > > abstractName="TuscanyArtifacts/helloWorld-ws/1187353576031/car?ServiceModule=TuscanyArtifacts/helloWorld-ws/1187353576031/car,j2eeType=GBean,name=EmbeddedRuntime" > java.lang.Exception: > org.apache.tuscany.sca.core.runtime.ActivationException: > java.lang.NullPointerException > at org.apache.geronimo.tuscany.EmbeddedRuntimeGBean.doStart( > EmbeddedRuntimeGBean.java:151) > at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance( > GBeanInstance.java:996) > at > org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart > (GBeanInstanceState.java:268) > at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start( > GBeanInstanceState.java:102) > at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive > ( > GBeanInstanceState.java:124) > at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive( > GBeanInstance.java:553) > at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean( > BasicKernel.java:379) > at > > org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans > (ConfigurationUtil.java:448) > at org.apache.geronimo.kernel.config.KernelConfigurationManager.start( > KernelConfigurationManager.java:187) > at > > org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration > (SimpleConfigurationManager.java:530) > at > > org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration > (SimpleConfigurationManager.java:511) > at > > org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastClassByCGLIB$$ce77a924.invoke > (<generated>) > at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) > at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke( > FastMethodInvoker.java:38) > at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke( > GBeanOperation.java:124) > at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke( > GBeanInstance.java:830) > at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java > :57) > at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke( > RawOperationInvoker.java:35) > at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept( > ProxyMethodInterceptor.java:96) > at > > org.apache.geronimo.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$9d71b6b0.startConfiguration > (<generated>) > at > > org.apache.geronimo.console.configmanager.ConfigManagerPortlet.processAction > (ConfigManagerPortlet.java:208) > at org.apache.pluto.core.PortletServlet.dispatch(PortletServlet.java > :229) > at org.apache.pluto.core.PortletServlet.doGet(PortletServlet.java:158) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:693) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:806) > at org.apache.pluto.core.PortletServlet.service(PortletServlet.java > :153) > at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( > ApplicationFilterChain.java:290) > at org.apache.catalina.core.ApplicationFilterChain.doFilter( > ApplicationFilterChain.java:206) > at org.apache.catalina.core.ApplicationDispatcher.invoke( > ApplicationDispatcher.java:654) > at org.apache.catalina.core.ApplicationDispatcher.doInclude( > ApplicationDispatcher.java:557) > at org.apache.catalina.core.ApplicationDispatcher.include( > ApplicationDispatcher.java:481) > at org.apache.pluto.invoker.impl.PortletInvokerImpl.invoke( > PortletInvokerImpl.java:120) > at org.apache.pluto.invoker.impl.PortletInvokerImpl.action( > PortletInvokerImpl.java:68) > at org.apache.pluto.PortletContainerImpl.processPortletAction( > PortletContainerImpl.java:164) > at > > org.apache.pluto.portalImpl.core.PortletContainerWrapperImpl.processPortletAction > (PortletContainerWrapperImpl.java:82) > at org.apache.pluto.portalImpl.Servlet.doGet(Servlet.java:227) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:693) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:806) > at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( > ApplicationFilterChain.java:290) > at org.apache.catalina.core.ApplicationFilterChain.doFilter( > ApplicationFilterChain.java:206) > at org.apache.catalina.core.StandardWrapperValve.invoke( > StandardWrapperValve.java:230) > at org.apache.catalina.core.StandardContextValve.invoke( > StandardContextValve.java:175) > at org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke( > DefaultSubjectValve.java:56) > at org.apache.catalina.authenticator.AuthenticatorBase.invoke( > AuthenticatorBase.java:525) > at > > org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke > ( > GeronimoStandardContext.java:351) > at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke( > GeronimoBeforeAfterValve.java:47) > at org.apache.catalina.core.StandardHostValve.invoke( > StandardHostValve.java:128) > at org.apache.catalina.valves.ErrorReportValve.invoke( > ErrorReportValve.java:104) > at org.apache.catalina.core.StandardEngineValve.invoke( > StandardEngineValve.java:109) > at org.apache.catalina.valves.AccessLogValve.invoke( > AccessLogValve.java > :563) > at org.apache.catalina.connector.CoyoteAdapter.service( > CoyoteAdapter.java:261) > at org.apache.coyote.http11.Http11Processor.process( > Http11Processor.java > :844) > at > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process( > Http11Protocol.java:581) > at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java > :447) > at java.lang.Thread.run(Thread.java:595) > Caused by: org.apache.tuscany.sca.core.runtime.ActivationException: > java.lang.NullPointerException > at org.apache.tuscany.sca.core.runtime.CompositeActivatorImpl.activate > ( > CompositeActivatorImpl.java:747) > at org.apache.geronimo.tuscany.EmbeddedRuntimeGBean.doStart( > EmbeddedRuntimeGBean.java:95) > ... 54 more > Caused by: java.lang.NullPointerException > at > > org.apache.tuscany.sca.binding.axis2.Axis2ServiceClient.createServiceClient > ( > Axis2ServiceClient.java:80) > at org.apache.tuscany.sca.binding.axis2.Axis2ServiceClient.<init>( > Axis2ServiceClient.java:66) > at org.apache.tuscany.sca.binding.axis2.Axis2ReferenceBindingProvider > .<init>(Axis2ReferenceBindingProvider.java:73) > at > > org.apache.tuscany.sca.binding.axis2.Axis2BindingProviderFactory.createReferenceBindingProvider > (Axis2BindingProviderFactory.java:53) > at > > org.apache.tuscany.sca.binding.axis2.Axis2BindingProviderFactory.createReferenceBindingProvider > (Axis2BindingProviderFactory.java:40) > at > > org.apache.tuscany.sca.provider.DefaultProviderFactoryExtensionPoint$LazyBindingProviderFactory.createReferenceBindingProvider > (DefaultProviderFactoryExtensionPoint.java:190) > at > > org.apache.tuscany.sca.core.runtime.CompositeActivatorImpl.addReferenceBindingProviders > (CompositeActivatorImpl.java:253) > at > > org.apache.tuscany.sca.core.runtime.CompositeActivatorImpl.addRuntimeProviders > (CompositeActivatorImpl.java:104) > at org.apache.tuscany.sca.core.runtime.CompositeActivatorImpl.activate > ( > CompositeActivatorImpl.java:744) > ... 55 more > > > On 8/17/07, Vamsavardhana Reddy <[EMAIL PROTECTED]> wrote: > > > > Hi Simon, > > > > I have got rid of tuscany-interface-java-runtime and > > tuscany-interface-wsdl-runtime. Removing commonj-api resulted in a > > NoClassDefFoundError, so I had put that dependency back. After cleaning > up > > the local repo of any tuscany sca jars, I have realized that the > > EmbeddedSCADomain in trunk has a different interface than the one in > > 0.91-incubating. I had to change some of my existing code. > > > > I got the calculator sample working. I am getting an > ActivationException > > with helloworld-webservice sample. > > > > Thanks and best regards, > > Vamsi > > > > On 8/17/07, Simon Laws <[EMAIL PROTECTED]> wrote: > > > > > > On 8/17/07, Vamsavardhana Reddy <[EMAIL PROTECTED]> wrote: > > > > > > > > <dependency> > > > > <groupId>org.apache.tuscany</groupId> > > > > <artifactId>commonj-api</artifactId> > > > > <version>${tuscanyVersion}</version> > > > > <type>jar</type> > > > > <import>classes</import> > > > > </dependency> > > > > <dependency> > > > > <groupId>org.apache.tuscany.sca</groupId> > > > > <artifactId>sca-api</artifactId> > > > > <version>${tuscanyVersion}</version> > > > > <type>jar</type> > > > > <import>classes</import> > > > > </dependency> > > > > <dependency> > > > > <groupId>org.apache.tuscany.sca</groupId> > > > > <artifactId>tuscany-assembly</artifactId> > > > > <version>${tuscanyVersion}</version> > > > > <type>jar</type> > > > > <import>classes</import> > > > > </dependency> > > > > <dependency> > > > > <groupId> org.apache.tuscany.sca</groupId> > > > > <artifactId>tuscany-assembly-xml</artifactId> > > > > <version>${tuscanyVersion}</version> > > > > <type>jar</type> > > > > <import>classes</import> > > > > </dependency> > > > > <dependency> > > > > <groupId>org.apache.tuscany.sca</groupId> > > > > <artifactId>tuscany-contribution</artifactId> > > > > <version>${tuscanyVersion}</version> > > > > <type>jar</type> > > > > <import>classes</import> > > > > </dependency> > > > > <dependency> > > > > <groupId>org.apache.tuscany.sca</groupId> > > > > <artifactId>tuscany-contribution-impl</artifactId> > > > > <version>${tuscanyVersion}</version> > > > > <type>jar</type> > > > > <import>classes</import> > > > > </dependency> > > > > <dependency> > > > > <groupId>org.apache.tuscany.sca</groupId> > > > > <artifactId>tuscany-core</artifactId> > > > > <version>${tuscanyVersion}</version> > > > > <type>jar</type> > > > > <import>classes</import> > > > > </dependency> > > > > <dependency> > > > > <groupId> org.apache.tuscany.sca</groupId> > > > > <artifactId>tuscany-core-databinding</artifactId> > > > > <version>${tuscanyVersion}</version> > > > > <type>jar</type> > > > > <import>classes</import> > > > > </dependency> > > > > <dependency> > > > > <groupId>org.apache.tuscany.sca</groupId> > > > > <artifactId>tuscany-core-spi</artifactId> > > > > <version>${tuscanyVersion}</version> > > > > <type>jar</type> > > > > <import>classes</import> > > > > </dependency> > > > > <dependency> > > > > <groupId>org.apache.tuscany.sca</groupId> > > > > <artifactId>tuscany-databinding-axiom</artifactId> > > > > <version>${tuscanyVersion}</version> > > > > <type>jar</type> > > > > <import>classes</import> > > > > </dependency> > > > > > > > > <dependency> > > > > <groupId>org.apache.tuscany.sca</groupId> > > > > <artifactId>tuscany-databinding</artifactId> > > > > <version>${tuscanyVersion}</version> > > > > <type>jar</type> > > > > <import>classes</import> > > > > </dependency> > > > > <dependency> > > > > <groupId> org.apache.tuscany.sca</groupId> > > > > <artifactId>tuscany-host-embedded</artifactId> > > > > <version>${tuscanyVersion}</version> > > > > <type>jar</type> > > > > <import>classes</import> > > > > </dependency> > > > > <dependency> > > > > <groupId>org.apache.tuscany.sca</groupId> > > > > <artifactId>tuscany-policy</artifactId> > > > > <version>${tuscanyVersion}</version> > > > > <type>jar</type> > > > > <import>classes</import> > > > > </dependency> > > > > <dependency> > > > > <groupId>org.apache.tuscany.sca</groupId> > > > > <artifactId>tuscany-host-http</artifactId> > > > > <version>${tuscanyVersion}</version> > > > > <type>jar</type> > > > > <import>classes</import> > > > > </dependency> > > > > <dependency> > > > > <groupId>org.apache.tuscany.sca</groupId> > > > > <artifactId>tuscany-host-geronimo</artifactId> > > > > <version>${tuscanyVersion}</version> > > > > <type>jar</type> > > > > <import>classes</import> > > > > </dependency> > > > > <dependency> > > > > <groupId> org.apache.tuscany.sca</groupId> > > > > <artifactId>tuscany-implementation-java</artifactId> > > > > <version>${tuscanyVersion}</version> > > > > <type>jar</type> > > > > <import>classes</import> > > > > </dependency> > > > > <dependency> > > > > <groupId>org.apache.tuscany.sca</groupId> > > > > > > > > > > > <artifactId>tuscany-implementation-java-runtime</artifactId> > > > > <version>${tuscanyVersion}</version> > > > > <type>jar</type> > > > > <import>classes</import> > > > > </dependency> > > > > <dependency> > > > > <groupId>org.apache.tuscany.sca</groupId> > > > > > > > <artifactId>tuscany-implementation-java-xml</artifactId> > > > > <version>${tuscanyVersion}</version> > > > > <type>jar</type> > > > > <import>classes</import> > > > > </dependency> > > > > <dependency> > > > > <groupId>org.apache.tuscany.sca</groupId> > > > > <artifactId>tuscany-interface</artifactId> > > > > <version>${tuscanyVersion}</version> > > > > <type>jar</type> > > > > <import>classes</import> > > > > </dependency> > > > > <dependency> > > > > <groupId>org.apache.tuscany.sca</groupId> > > > > <artifactId>tuscany-interface-java</artifactId> > > > > <version>${tuscanyVersion}</version> > > > > <type>jar</type> > > > > <import>classes</import> > > > > </dependency> > > > > <dependency> > > > > <groupId> org.apache.tuscany.sca</groupId> > > > > > > > <artifactId>tuscany-interface-java-runtime</artifactId> > > > > <version>${tuscanyVersion}</version> > > > > <type>jar</type> > > > > <import>classes</import> > > > > </dependency> > > > > <dependency> > > > > <groupId>org.apache.tuscany.sca</groupId> > > > > <artifactId>tuscany-interface-java-xml</artifactId> > > > > <version>${tuscanyVersion}</version> > > > > <type>jar</type> > > > > <import>classes</import> > > > > </dependency> > > > > <dependency> > > > > <groupId>org.apache.tuscany.sca</groupId> > > > > <artifactId>tuscany-binding-ws</artifactId> > > > > <version>${tuscanyVersion}</version> > > > > <type>jar</type> > > > > <import>classes</import> > > > > </dependency> > > > > <dependency> > > > > <groupId>org.apache.tuscany.sca</groupId> > > > > <artifactId>tuscany-binding-ws-axis2</artifactId> > > > > <version>${tuscanyVersion}</version> > > > > <type>jar</type> > > > > <import>classes</import> > > > > </dependency> > > > > <dependency> > > > > <groupId> org.apache.tuscany.sca</groupId> > > > > <artifactId>tuscany-binding-ws-xml</artifactId> > > > > <version>${tuscanyVersion}</version> > > > > <type>jar</type> > > > > <import>classes</import> > > > > </dependency> > > > > <dependency> > > > > <groupId>org.apache.tuscany.sca</groupId> > > > > <artifactId>tuscany-interface-wsdl</artifactId> > > > > <version>${tuscanyVersion}</version> > > > > <type>jar</type> > > > > <import>classes</import> > > > > </dependency> > > > > <dependency> > > > > <groupId>org.apache.tuscany.sca</groupId> > > > > > > > <artifactId>tuscany-interface-wsdl-runtime</artifactId> > > > > <version>${tuscanyVersion}</version> > > > > <type>jar</type> > > > > <import>classes</import> > > > > </dependency> > > > > <dependency> > > > > <groupId>org.apache.tuscany.sca</groupId> > > > > <artifactId>tuscany-interface-wsdl-xml</artifactId> > > > > <version>${tuscanyVersion}</version> > > > > <type>jar</type> > > > > <import>classes</import> > > > > </dependency> > > > > <dependency> > > > > <groupId> org.apache.tuscany.sca</groupId> > > > > <artifactId>tuscany-policy</artifactId> > > > > <version>${tuscanyVersion}</version> > > > > <type>jar</type> > > > > <import>classes</import> > > > > </dependency> > > > > <dependency> > > > > <groupId>org.apache.tuscany.sca</groupId> > > > > <artifactId>tuscany-host-rmi</artifactId> > > > > <version>${tuscanyVersion}</version> > > > > <type>jar</type> > > > > <import>classes</import> > > > > </dependency> > > > > <!-- > > > > ********************************************************--> > > > > <dependency> > > > > <groupId>org.apache.tuscany.sca </groupId> > > > > <artifactId>tuscany-binding-feed</artifactId> > > > > <version>${tuscanyVersion}</version> > > > > <type>jar</type> > > > > <import>classes</import> > > > > </dependency> > > > > <!--<dependency> > > > > <groupId>org.apache.tuscany.sca</groupId> > > > > <artifactId>tuscany-binding-jms</artifactId> > > > > <version>${tuscanyVersion}</version> > > > > <type>jar</type> > > > > <import>classes</import> > > > > </dependency>--> > > > > <!--dependency> > > > > <groupId>org.apache.tuscany.sca</groupId> > > > > <artifactId>tuscany-binding-jsonrpc</artifactId> > > > > <version>${tuscanyVersion}</version> > > > > <type>jar</type> > > > > <import>classes</import> > > > > </dependency--> > > > > <dependency> > > > > <groupId>org.apache.tuscany.sca</groupId> > > > > <artifactId>tuscany-binding-rmi</artifactId> > > > > <version>${tuscanyVersion}</version> > > > > <type>jar</type> > > > > <import>classes</import> > > > > </dependency> > > > > <dependency> > > > > <groupId> org.apache.tuscany.sca</groupId> > > > > <artifactId>tuscany-binding-ejb</artifactId> > > > > <version>${tuscanyVersion}</version> > > > > <type>jar</type> > > > > <import>classes</import> > > > > </dependency> > > > > <dependency> > > > > <groupId>org.apache.tuscany.sca</groupId> > > > > <artifactId>tuscany-binding-sca</artifactId> > > > > <version>${tuscanyVersion}</version> > > > > <type>jar</type> > > > > <import>classes</import> > > > > </dependency> > > > > <dependency> > > > > <groupId>org.apache.tuscany.sca</groupId> > > > > <artifactId>tuscany-binding-sca-xml</artifactId> > > > > <version>${tuscanyVersion}</version> > > > > <type>jar</type> > > > > <import>classes</import> > > > > </dependency> > > > > <dependency> > > > > <groupId>org.apache.tuscany.sca</groupId> > > > > <artifactId>tuscany-distributed</artifactId> > > > > <version>${tuscanyVersion}</version> > > > > <type>jar</type> > > > > <import>classes</import> > > > > </dependency> > > > > <dependency> > > > > <groupId> org.apache.tuscany.sca</groupId> > > > > <artifactId>tuscany-extension-helper</artifactId> > > > > <version>${tuscanyVersion}</version> > > > > <type>jar</type> > > > > <import>classes</import> > > > > </dependency> > > > > > > > > <dependency> > > > > <groupId>org.apache.tuscany.das</groupId> > > > > <artifactId>tuscany-das-rdb</artifactId> > > > > <version>${tuscanyVersion}</version> > > > > <type>jar</type> > > > > <import>classes</import> > > > > </dependency> > > > > <dependency> > > > > <groupId>org.apache.tuscany.sdo</groupId> > > > > <artifactId>tuscany-sdo-impl</artifactId> > > > > <version>${tuscanyVersion}</version> > > > > <type>jar</type> > > > > <import>classes</import> > > > > </dependency> > > > > > > > > > > > > Vamsi > > > > > > > > On 8/17/07, Simon Laws <[EMAIL PROTECTED]> wrote: > > > > > > > > > > On 8/17/07, Vamsavardhana Reddy < [EMAIL PROTECTED]> wrote: > > > > > > > > > > > > Hit a new error. Stack trace given below: > > > > > > > > > > > > java.lang.NoClassDefFoundError: > > > > > > > > > > > > > > > > > > > > > > > > > org/apache/tuscany/sca/interfacedef/java/introspect/JavaInterfaceIntrospectorExtensionPoint > > > > > > at java.lang.Class.forName0(Native Method) > > > > > > at java.lang.Class.forName (Class.java:242) > > > > > > at > > > > > > > > > > > > > > org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntime.loadModules > > > > > ( > > > > > > ReallySmallRuntime.java:181) > > > > > > at > > > > > org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntime.start > ( > > > > > > ReallySmallRuntime.java:133) > > > > > > at > > > > org.apache.tuscany.sca.host.embedded.impl.EmbeddedSCADomain.start > > > > > ( > > > > > > EmbeddedSCADomain.java:74) > > > > > > > > > > > > > > > > > > Vamsi > > > > > > > > > > > > On 8/17/07, Simon Laws < [EMAIL PROTECTED]> wrote: > > > > > > > > > > > > > > On 8/16/07, Jean-Sebastien Delfino <[EMAIL PROTECTED]> > wrote: > > > > > > > > > > > > > > > > Simon Laws wrote: > > > > > > > > > On 8/16/07, Vamsavardhana Reddy <[EMAIL PROTECTED]> > wrote: > > > > > > > > > > > > > > > > > >> I am not referencing this class directly in my code. Can > > > it be > > > > > > that > > > > > > > > the > > > > > > > > >> published 1.0-incubating-SNAPSHOT jars in maven repos are > > > not > > > > in > > > > > > syc > > > > > > > or > > > > > > > > >> not > > > > > > > > >> the latest?? I can not think of other possibilities. > > > > > > > > >> > > > > > > > > >> Vamsi > > > > > > > > >> > > > > > > > > >> > > > > > > > > >> On 8/14/07, Simon Laws < [EMAIL PROTECTED]> > wrote: > > > > > > > > >> > > > > > > > > >>> On 8/14/07, Vamsavardhana Reddy <[EMAIL PROTECTED]> > > > wrote: > > > > > > > > >>> > > > > > > > > >>>> On 8/11/07, Raymond Feng <[EMAIL PROTECTED]> wrote: > > > > > > > > >>>> > > > > > > > > >>>>> Hi, > > > > > > > > >>>>> > > > > > > > > >>>>> We put together a demo [1] on Tuscany/Geronimo > > > integration > > > > for > > > > > > the > > > > > > > > >>>>> LinuxWorld 2007. You are welcome to play with it and > > > give us > > > > > > > > >>>>> > > > > > > > > >> feedback. > > > > > > > > >> > > > > > > > > >>>>> Please follow the instructions at > > > > > > > > >>>>> > > > > > > > > >>>>> > > > > > > > > >>>>> > > > > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > http://svn.apache.org/repos/asf/incubator/tuscany/sandbox/rfeng/geronimo-demo/README.TXT > > > > > > > > >> > > > > > > > > >>>>> . > > > > > > > > >>>>> The demo scenario is captured at > > > > > > > > >>>>> > > > > > > > > >>>>> > > > > > > > > >>>>> > > > > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > http://svn.apache.org/repos/asf/incubator/tuscany/sandbox/rfeng/geronimo-demo/scenario.png > > > > > > > > > > > >> > > > > > > > > >>>>> . > > > > > > > > >>>>> > > > > > > > > >>>>> The demo is built on top of the sandbox code in > Geronimo > > > [2] > > > > > > which > > > > > > > > >>>>> > > > > > > > > >> is > > > > > > > > >> > > > > > > > > >>>>> discussed on [3]. > > > > > > > > >>>>> > > > > > > > > >>>>> Please note this is just the starting of effort and > > > there > > > > are > > > > > > > still > > > > > > > > >>>>> > > > > > > > > >>>> quite > > > > > > > > >>>> > > > > > > > > >>>>> a > > > > > > > > >>>>> lot to do. Please join us on this effort. > > > > > > > > >>>>> > > > > > > > > >>>>> In the near term, I believe that we need to do the > > > > following: > > > > > > > > >>>>> > > > > > > > > >>>>> 1) Move the code out of sandbox and have them in the > > > build > > > > > with > > > > > > > test > > > > > > > > >>>>> cases. > > > > > > > > >>>>> 2) The tuscany-geronimo-plugin uses mixed versions of > > > > Tuscany > > > > > > Java > > > > > > > > >>>>> > > > > > > > > >> SCA > > > > > > > > >> > > > > > > > > >>>>> 0.91-incubating and 1.0-incubating-SNAPSHOT. Let's try > > > to > > > > > switch > > > > > > > to > > > > > > > > >>>>> 1.0-incubating-SNAPSHOT so that we have consistent > > > modules. > > > > > > > > >>>>> > > > > > > > > >>>> After switching to 1.0-incubating-SNAPSHOT, I have run > > > into a > > > > > > > > >>>> NoClassDefFoundError: > > > > > > > > >>>> > org/apache/tuscany/sca/assembly/DefaultSCABindingFactory. > > > > > > > > > > > >>>> > > > > > > > > >>>> > > > > > > > > >>>> 3) The Geronimo 2.0 RC1 is not being voted on. We > should > > > be > > > > > > > prepared > > > > > > > > >>>> > > > > > > > > >> to > > > > > > > > >> > > > > > > > > >>>> move > > > > > > > > >>>> > > > > > > > > >>>>> this level. Vamsi, do you have the JIRA GERONIMO-3351 > > > [4] > > > > > fixed > > > > > > in > > > > > > > > >>>>> > > > > > > > > >> the > > > > > > > > >> > > > > > > > > >>>>> RC1? > > > > > > > > >>>>> > > > > > > > > >>>> GERONIMO-3351 has not been integrated into 2.0release > . Part > > > > > of > > > > > > > the > > > > > > > > >>>> problem > > > > > > > > >>>> is addressed in branches\2.0 and trunk. It affects > only > > > > > SNAPSHOT > > > > > > > > >>>> dependencies and there is some discussion on whether > the > > > > > > downloaded > > > > > > > > >>>> version > > > > > > > > >>>> (if it is different from SNAPSHOT) should be renamed, > by > > > the > > > > > > plugin > > > > > > > > >>>> installer, to SNAPSHOT or the dependency resolution is > > > > Geronimo > > > > > > > > should > > > > > > > > >>>> handle it in a different way. The problem we have run > > > into > > > > is > > > > > in > > > > > > > > >>>> conjunction with another problem that occurs when a > > > trailing > > > > > "/" > > > > > > is > > > > > > > > >>>> > > > > > > > > >> not > > > > > > > > >> > > > > > > > > >>>> present in the maven repo URL. This has been fixed in > > > > > > branches\2.0 > > > > > > > > >>>> > > > > > > > > >> and > > > > > > > > >> > > > > > > > > >>>> trunk (not in 2.0 release though) and the work around > for > > > > this > > > > > is > > > > > > > to > > > > > > > > >>>> > > > > > > > > >> put > > > > > > > > >> > > > > > > > > >>>> that trailing "/" in the maven repo URLs in > > > > geronimo-plugin.xml > > > > > > > > >>>> > > > > > > > > >> . These > > > > > > > > >> > > > > > > > > >>>> two > > > > > > > > >>>> fixes will (most likely, but not guaranteed) go into > > > 2.0.1due > > > > > to > > > > > > > be > > > > > > > > >>>> released soon (probably this week). > > > > > > > > >>>> > > > > > > > > >>>> > > > > > > > > >>>> [1] > > > > > > > > >>>> > > > > > > > > >>>>> > > > > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > http://svn.apache.org/repos/asf/incubator/tuscany/sandbox/rfeng/geronimo-demo/ > > > > > > > > >> > > > > > > > > >>>>> [2] > > > > > > > > >>>>> > > > > > > > > >>>> > > > > > > > > > > > > http://svn.apache.org/repos/asf/geronimo/sandbox/tuscany-integration/ > > > > > > > > >>>> > > > > > > > > >>>>> [3] > > > > > > > > >>>>> > > > > > > > > >>>>> > > > > > > > > >>>>> > > > > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > http://cwiki.apache.org/confluence/display/TUSCANYWIKI/Tuscany+Geronimo+Integration > > > > > > > > >> > > > > > > > > >>>>> [4] > https://issues.apache.org/jira/browse/GERONIMO-3351 > > > > > > > > >>>>> > > > > > > > > >>>>> Thanks, > > > > > > > > >>>>> Raymond > > > > > > > > >>>>> > > > > > > > > >>>>> > > > > > > > > >>>>> > > > > > > > > >>>>> > > > > > > > > >>>>> > > > > > > > > >>>>> > > > > > > > > >> > > > > > > > > > --------------------------------------------------------------------- > > > > > > > > >> > > > > > > > > >>>>> To unsubscribe, e-mail: > > > > [EMAIL PROTECTED] > > > > > > > > >>>>> For additional commands, e-mail: > > > > > [EMAIL PROTECTED] > > > > > > > > >>>>> > > > > > > > > >>>>> > > > > > > > > >>>>> > > > > > > > > >>> Hi > > > > > > > > >>> > > > > > > > > >>> > org/apache/tuscany/sca/assembly/DefaultSCABindingFactory. > > > was > > > > > > taken > > > > > > > > out > > > > > > > > >>> > > > > > > > > >> a > > > > > > > > >> > > > > > > > > >>> week or so ago when I moved the majority of sca binding > > > into > > > > the > > > > > > > > >>> binding-sca > > > > > > > > >>> module. I'm thinking that I was a little overzealous > when > > > I > > > > took > > > > > > > this > > > > > > > > >>> > > > > > > > > >> out > > > > > > > > >> > > > > > > > > >>> and that it probably needs to go back in. In the mean > > > time > > > > can > > > > > > you > > > > > > > > >>> > > > > > > > > >> create > > > > > > > > >> > > > > > > > > >>> a > > > > > > > > >>> > > > > > > > > >>> > > > > > > > > >>> > > > org.apache.tuscany.sca.binding.sca.impl.SCABindingFactoryImpl > > > > > > > > >>> > > > > > > > > >>> instead? > > > > > > > > >>> > > > > > > > > >>> Regards > > > > > > > > >>> > > > > > > > > >>> Simon > > > > > > > > >>> > > > > > > > > >>> > > > > > > > > > You may very well be right. Time to push some new > snapshots > > > out! > > > > > Let > > > > > > > me > > > > > > > > find > > > > > > > > > out how to do that. > > > > > > > > > > > > > > > > > > Simon > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Yes I think that new published snapshots will resolve that > > > issue. > > > > > > > > > > > > > > > > In addition, how about adding the Tuscany/Geronimo > integration > > > > > > > > modules > > > > > > > > to our build? This will help us check that we're not > breaking > > > them > > > > > > when > > > > > > > > we make changes in the rest of the Tuscany code. It will > also > > > make > > > > > it > > > > > > > > easier for people to try out the integration from their > > > Tuscany > > > > > > > > workspace / development environment. > > > > > > > > > > > > > > > > The simplest is probably to point to these modules in the > > > Geronimo > > > > > > > > sandbox SVN from our java/sca/modules directory using an SVN > > > > > externals > > > > > > > > property... > > > > > > > > > > > > > > > > Thoughts? > > > > > > > > > > > > > > > > -- > > > > > > > > Jean-Sebastien > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > > > > > To unsubscribe, e-mail: > [EMAIL PROTECTED] > > > > > > > > For additional commands, e-mail: > > > [EMAIL PROTECTED] > > > > > > > > > > > > > > > > Ok, I've published a new set of snapshots for the SCA > modules > > > (I > > > > > > haven't > > > > > > > done samples or itests). I tested against the current SDO > > > snapshots. > > > > > Let > > > > > > > us > > > > > > > know if this gets you any further forward. > > > > > > > > > > > > > > Regards > > > > > > > > > > > > > > Simon > > > > > > > > > > > > > > > > > > Oh dear - can you show me what dependencies you are declaring on > > > Tuscany > > > > > modules. I'll create a test and try it here. > > > > > > > > > > Simon > > > > > > > > > > > > > > Hi Vamsi > > > > > > > > > So I go the Tuscany helloworld-ws-service to run against the tuscany > > > snapshots. The resulting pom dependencies are below [1]. This is what > I > > > did. > > > > > > > > > Cleaned my local maven repo > > > Took your dependencies and replaced those in the sample with yours > > > Remove all of the <import> elements as I don't know what they do - and > a > > > quick google didn't help :-( > > > Remove the references to the following which do not exist any more > > > commonj-api > > > tuscany-interface-java-runtime > > > tuscany-interface-wsdl-runtime > > > Remove the reference to tuscany-host-geronimo as I don't have that to > > > build > > > Add in a reference to tuscany-http-tomcat to provide an app server for > > > the > > > test > > > Add in a reference to junit 4.2 as the test requires it. > > > > > > I suggest you get rid of > > > commonj-api > > > tuscany-interface-java-runtime > > > tuscany-interface-wsdl-runtime > > > Clean the sca part of your local repo and give it another go. > > > > > > One thing to look out for is if, during the build, any tuscany > > > dependencies > > > are downloaded that are not dated 20070817. If we can find out what > > > dependency is causing the problem that's a step in the right > direction. > > > > > > Hope that helps > > > > > > Simon > > > > > > [1] > > > <dependency> > > > <groupId>org.apache.tuscany.sca</groupId> > > > <artifactId>tuscany-http-tomcat</artifactId> > > > <version>1.0-incubating-SNAPSHOT</version> > > > <scope>runtime</scope> > > > </dependency> > > > > > > <dependency> > > > <groupId>junit</groupId> > > > <artifactId>junit</artifactId> > > > <version>4.2</version> > > > <scope>test</scope> > > > </dependency> > > > > > > > > > <!--dependency> > > > <groupId>org.apache.tuscany</groupId> > > > <artifactId>commonj-api</artifactId> > > > <version>${tuscanyVersion}</version> > > > <type>jar</type> > > > <import>classes</import> > > > </dependency--> > > > <dependency> > > > <groupId>org.apache.tuscany.sca</groupId> > > > <artifactId>sca-api</artifactId> > > > <version>${tuscanyVersion}</version> > > > <type>jar</type> > > > <!--import>classes</import--> > > > </dependency> > > > <dependency> > > > <groupId>org.apache.tuscany.sca</groupId> > > > <artifactId>tuscany-assembly</artifactId> > > > <version>${tuscanyVersion}</version> > > > <type>jar</type> > > > <!--import>classes</import--> > > > </dependency> > > > <dependency> > > > <groupId>org.apache.tuscany.sca</groupId> > > > <artifactId>tuscany-assembly-xml</artifactId> > > > <version>${tuscanyVersion}</version> > > > <type>jar</type> > > > <!--import>classes</import--> > > > </dependency> > > > <dependency> > > > <groupId>org.apache.tuscany.sca</groupId> > > > <artifactId>tuscany-contribution</artifactId> > > > <version>${tuscanyVersion}</version> > > > <type>jar</type> > > > <!--import>classes</import--> > > > </dependency> > > > <dependency> > > > <groupId>org.apache.tuscany.sca</groupId> > > > <artifactId>tuscany-contribution-impl</artifactId> > > > <version>${tuscanyVersion}</version> > > > <type>jar</type> > > > <!--import>classes</import--> > > > </dependency> > > > <dependency> > > > <groupId>org.apache.tuscany.sca</groupId> > > > <artifactId>tuscany-core</artifactId> > > > <version>${tuscanyVersion}</version> > > > <type>jar</type> > > > <!--import>classes</import--> > > > </dependency> > > > <dependency> > > > <groupId>org.apache.tuscany.sca</groupId> > > > <artifactId>tuscany-core-databinding</artifactId> > > > <version>${tuscanyVersion}</version> > > > <type>jar</type> > > > <!--import>classes</import--> > > > </dependency> > > > <dependency> > > > <groupId>org.apache.tuscany.sca</groupId> > > > <artifactId>tuscany-core-spi</artifactId> > > > <version>${tuscanyVersion}</version> > > > <type>jar</type> > > > <!--import>classes</import--> > > > </dependency> > > > <dependency> > > > <groupId>org.apache.tuscany.sca</groupId> > > > <artifactId>tuscany-databinding-axiom</artifactId> > > > <version>${tuscanyVersion}</version> > > > <type>jar</type> > > > <!--import>classes</import--> > > > </dependency> > > > > > > <dependency> > > > <groupId>org.apache.tuscany.sca</groupId> > > > <artifactId>tuscany-databinding</artifactId> > > > <version>${tuscanyVersion}</version> > > > <type>jar</type> > > > <!--import>classes</import--> > > > </dependency> > > > <dependency> > > > <groupId>org.apache.tuscany.sca</groupId> > > > <artifactId>tuscany-host-embedded</artifactId> > > > <version>${tuscanyVersion}</version> > > > <type>jar</type> > > > <!--import>classes</import--> > > > </dependency> > > > <dependency> > > > <groupId>org.apache.tuscany.sca</groupId> > > > <artifactId>tuscany-policy</artifactId> > > > <version>${tuscanyVersion}</version> > > > <type>jar</type> > > > <!--import>classes</import--> > > > </dependency> > > > <dependency> > > > <groupId>org.apache.tuscany.sca</groupId> > > > <artifactId>tuscany-host-http</artifactId> > > > <version>${tuscanyVersion}</version> > > > <type>jar</type> > > > <!--import>classes</import--> > > > </dependency> > > > <!--dependency> > > > <groupId>org.apache.tuscany.sca</groupId> > > > <artifactId>tuscany-host-geronimo</artifactId> > > > <version>${tuscanyVersion}</version> > > > <type>jar</type> > > > <import>classes</import> > > > </dependency--> > > > <dependency> > > > <groupId>org.apache.tuscany.sca</groupId> > > > <artifactId>tuscany-implementation-java</artifactId> > > > <version>${tuscanyVersion}</version> > > > <type>jar</type> > > > <!--import>classes</import--> > > > </dependency> > > > <dependency> > > > <groupId>org.apache.tuscany.sca</groupId> > > > > > > <artifactId>tuscany-implementation-java-runtime</artifactId> > > > <version>${tuscanyVersion}</version> > > > <type>jar</type> > > > <!--import>classes</import--> > > > </dependency> > > > <dependency> > > > <groupId>org.apache.tuscany.sca </groupId> > > > > <artifactId>tuscany-implementation-java-xml</artifactId> > > > <version>${tuscanyVersion}</version> > > > <type>jar</type> > > > <!--import>classes</import--> > > > </dependency> > > > <dependency> > > > <groupId>org.apache.tuscany.sca</groupId> > > > <artifactId>tuscany-interface</artifactId> > > > <version>${tuscanyVersion}</version> > > > <type>jar</type> > > > <!--import>classes</import--> > > > </dependency> > > > <dependency> > > > <groupId>org.apache.tuscany.sca</groupId> > > > <artifactId>tuscany-interface-java</artifactId> > > > <version>${tuscanyVersion}</version> > > > <type>jar</type> > > > <!--import>classes</import--> > > > </dependency> > > > <!--dependency> > > > <groupId>org.apache.tuscany.sca </groupId> > > > <artifactId>tuscany-interface-java-runtime</artifactId> > > > <version>${tuscanyVersion}</version> > > > <type>jar</type> > > > <import>classes</import> > > > </dependency--> > > > <dependency> > > > <groupId>org.apache.tuscany.sca</groupId> > > > <artifactId>tuscany-interface-java-xml</artifactId> > > > <version>${tuscanyVersion}</version> > > > <type>jar</type> > > > <!--import>classes</import--> > > > </dependency> > > > <dependency> > > > <groupId>org.apache.tuscany.sca</groupId> > > > <artifactId>tuscany-binding-ws</artifactId> > > > <version>${tuscanyVersion}</version> > > > <type>jar</type> > > > <!--import>classes</import--> > > > </dependency> > > > <dependency> > > > <groupId>org.apache.tuscany.sca</groupId> > > > <artifactId>tuscany-binding-ws-axis2</artifactId> > > > <version>${tuscanyVersion}</version> > > > <type>jar</type> > > > <!--import>classes</import--> > > > </dependency> > > > <dependency> > > > <groupId>org.apache.tuscany.sca</groupId> > > > <artifactId>tuscany-binding-ws-xml</artifactId> > > > <version>${tuscanyVersion}</version> > > > <type>jar</type> > > > <!--import>classes</import--> > > > </dependency> > > > <dependency> > > > <groupId>org.apache.tuscany.sca </groupId> > > > <artifactId>tuscany-interface-wsdl</artifactId> > > > <version>${tuscanyVersion}</version> > > > <type>jar</type> > > > <!--import>classes</import--> > > > </dependency> > > > <!--dependency> > > > <groupId>org.apache.tuscany.sca</groupId> > > > <artifactId>tuscany-interface-wsdl-runtime</artifactId> > > > <version>${tuscanyVersion}</version> > > > <type>jar</type> > > > <import>classes</import> > > > </dependency--> > > > <dependency> > > > <groupId>org.apache.tuscany.sca</groupId> > > > <artifactId>tuscany-interface-wsdl-xml</artifactId> > > > <version>${tuscanyVersion}</version> > > > <type>jar</type> > > > <!--import>classes</import--> > > > </dependency> > > > <dependency> > > > <groupId>org.apache.tuscany.sca </groupId> > > > <artifactId>tuscany-policy</artifactId> > > > <version>${tuscanyVersion}</version> > > > <type>jar</type> > > > <!--import>classes</import--> > > > </dependency> > > > <dependency> > > > <groupId>org.apache.tuscany.sca</groupId> > > > <artifactId>tuscany-host-rmi</artifactId> > > > <version>${tuscanyVersion}</version> > > > <type>jar</type> > > > <!--import>classes</import--> > > > </dependency> > > > <!-- > > > ********************************************************--> > > > <dependency> > > > <groupId>org.apache.tuscany.sca</groupId> > > > <artifactId>tuscany-binding-feed</artifactId> > > > <version>${tuscanyVersion}</version> > > > <type>jar</type> > > > <!--import>classes</import--> > > > </dependency> > > > <!--<dependency> > > > <groupId>org.apache.tuscany.sca </groupId> > > > <artifactId>tuscany-binding-jms</artifactId> > > > <version>${tuscanyVersion}</version> > > > <type>jar</type> > > > <import>classes</import> > > > </dependency>--> > > > <!--dependency> > > > <groupId>org.apache.tuscany.sca</groupId> > > > <artifactId>tuscany-binding-jsonrpc</artifactId> > > > <version>${tuscanyVersion}</version> > > > <type>jar</type> > > > <import>classes</import> > > > </dependency--> > > > <dependency> > > > <groupId>org.apache.tuscany.sca</groupId> > > > <artifactId>tuscany-binding-rmi</artifactId> > > > <version>${tuscanyVersion}</version> > > > <type>jar</type> > > > <!--import>classes</import--> > > > </dependency> > > > <dependency> > > > <groupId>org.apache.tuscany.sca</groupId> > > > <artifactId>tuscany-binding-ejb</artifactId> > > > <version>${tuscanyVersion}</version> > > > <type>jar</type> > > > <!--import>classes</import--> > > > </dependency> > > > <dependency> > > > <groupId>org.apache.tuscany.sca</groupId> > > > <artifactId>tuscany-binding-sca</artifactId> > > > <version>${tuscanyVersion}</version> > > > <type>jar</type> > > > <!--import>classes</import--> > > > </dependency> > > > <dependency> > > > <groupId>org.apache.tuscany.sca</groupId> > > > <artifactId>tuscany-binding-sca-xml</artifactId> > > > <version>${tuscanyVersion}</version> > > > <type>jar</type> > > > <!--import>classes</import--> > > > </dependency> > > > <dependency> > > > <groupId>org.apache.tuscany.sca</groupId> > > > <artifactId>tuscany-distributed</artifactId> > > > <version>${tuscanyVersion}</version> > > > <type>jar</type> > > > <!--import>classes</import--> > > > </dependency> > > > <dependency> > > > <groupId>org.apache.tuscany.sca</groupId> > > > <artifactId>tuscany-extension-helper</artifactId> > > > <version>${tuscanyVersion}</version> > > > <type>jar</type> > > > <!--import>classes</import--> > > > </dependency> > > > > > > <dependency> > > > <groupId>org.apache.tuscany.das</groupId> > > > <artifactId>tuscany-das-rdb</artifactId> > > > <version>${tuscanyVersion}</version> > > > <type>jar</type> > > > <!--import>classes</import--> > > > </dependency> > > > <dependency> > > > <groupId>org.apache.tuscany.sdo</groupId> > > > <artifactId>tuscany-sdo-impl</artifactId> > > > <version>${tuscanyVersion}</version> > > > <type>jar</type> > > > <!--import>classes</import--> > > > </dependency> > > > > > > > > Hi Vamsi
I'm a little worried that you still need the commonj-api dependency. Sounds like something is wrong there. I found a few references still in the code base but only in sample ant sripts so it should not be part of the runtime and is an indication of some strangenesss. What and where was the NoClassDefFound? Having said that the NPE you are getting is happening when the Axis2 client is trying to get hold of the WSDL definition it's going to use. Could you post the SCDL you are testing with? Simon