Thanks! It works now in trunk and branch.

Best regards
Nicole 

-----Original Message-----
From: ant elder [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 31, 2006 1:50 PM
To: [email protected]
Subject: Re: RMI Binding: HelloWorld Examples

Was a bug in the trunk sorry, I've committed a fix for this so if you
check out the latest rmi binding code and rebuild it should work now.

   ...ant

On 10/31/06, Wengatz, Nicole <[EMAIL PROTECTED]> wrote:
>
> Hi Venkat,
>
> I was working with the trunk. Now I tried the branch and the samples 
> are running fine.
>
> Thanks a lot for your help!
> Nicole
>
> -----Original Message-----
> From: Venkata Krishnan [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, October 31, 2006 1:08 PM
> To: [email protected]
> Subject: RMI Binding: HelloWorld Examples
>
> Hi,
>
> Could you please let me know if you are working out of the branch or 
> trunk.
>
> The branch is in
> http://svn.apache.org/repos/asf/incubator/tuscany/branches/sca-java-M2
> / and this is from where we plan to make our M2 (Milestone 2 Release)

> and hence is stable.
>
> I have updated the Readmes for the HelloWorldRMI samples in the
branch.
> Could you please try them and let me know if you still face problems.
>
> Thanks.
>
> - Venkat
>
>
>
> ---------- Forwarded message ----------
> From: Wengatz, Nicole <[EMAIL PROTECTED]>
> Date: Oct 30, 2006 7:31 AM
> Subject: RMI Binding: HelloWorld Examples
> To: [email protected]
> Cc: "Wengatz, Nicole" < [EMAIL PROTECTED]>
>
> Hi,
>
> I'm trying to understand how the RMI Binding is working. Therefore I 
> started playing around with the HelloWorld rmiService and rmiReference

> projects.
>
> I got the latest version from the cvs and followed the instruction 
> provided in readme.htm (provided in both projects). I'm using the 
> launcher (as described in the
> readme) to start
> the sample.
>
> My problem is, that I do not know how to activate the RMI Binding?
>
> The readme tells me :
> >Copy the SCA RMI Extension jar into this sub-directory named
> 'extension'
> If I do this, I get an error:
> >org.apache.tuscany.spi.loader.UnrecognizedElementException:
> >{ 
> >http://tuscany.apache.org/xmlns/binding/rmi/1.0-SNAPSHOT}binding.rmi
> >[{
> >http://tuscany.apache.org/xmlns/binding/rmi/1.0-SNAPSHOT}binding.rmi]
>
> Ok, I found a directory "extensions" and put there the SCA RMI 
> Extension (the jar File).
> Now I get an init error for the component [directoryScanExtender]. It 
> tells me that the groupId cannot be empty?
>
> Could you please help me to solve this problem?
>
> Thank you very much and best regards
> Nicole
>
> The complete stack trace:
> D:\projekte\EOSGiAndSCA\tuscany>java -jar bin/launcher.jar 
> rmiSample/sample-hell 
> oworld-rmiReference-1.0-incubator-M2-SNAPSHOT.jar
> Exception in thread "main"
> org.apache.tuscany.spi.component.TargetException: Err or initializing 
> component instance [directoryScanExtender]
>        at
> org.apache.tuscany.core.implementation.PojoAtomicComponent.init(PojoA
> tomicComponent.java:97)
>        at
> org.apache.tuscany.core.component.scope.InstanceWrapperImpl.start(Ins
> tanceWrapperImpl.java :49)
>        at
> org.apache.tuscany.core.component.scope.ModuleScopeContainer.eagerIni
> tComponents(ModuleScopeContainer.java:145)
>        at
> org.apache.tuscany.core.component.scope.ModuleScopeContainer.onEvent (
> ModuleScopeContainer.java:72)
>        at
> org.apache.tuscany.spi.component.AbstractSCAObject.publish(AbstractSC
> AObject.java:94)
>        at
> org.apache.tuscany.core.implementation.composite.AbstractCompositeCom
> ponent.publish(AbstractCompositeComponent.java:139)
>        at
> org.apache.tuscany.core.implementation.composite.AbstractCompositeCom
> ponent.start(AbstractCompositeComponent.java:106)
>        at
> org.apache.tuscany.runtime.standalone.host.StandaloneRuntimeImpl.init
> ialize(StandaloneRuntimeImpl.java:82)
>        at
> org.apache.tuscany.launcher.MainLauncherBooter.main(MainLauncherBoote
> r.java:86)
> Caused by: org.apache.tuscany.core.injection.ObjectCallbackException:
> Exception
> thrown by callback method [public void 
> org.apache.tuscany.runtime.standalone.hos
> t.DirectoryScanExtender.init()]
>        at
> org.apache.tuscany.core.injection.MethodEventInvoker.invokeEvent(Meth
> odEventInvoker.java :46)
>        at
> org.apache.tuscany.core.implementation.PojoAtomicComponent.init(PojoA
> tomicComponent.java:95)
>        ... 8 more
> Caused by: org.apache.maven.artifact.InvalidArtifactRTException: For 
> artifact {n
> ull:null:null:jar}: The groupId cannot be empty.
>        at
> org.apache.maven.artifact.DefaultArtifact.validateIdentity(DefaultArt
> ifact.java:126)
>        at
> org.apache.maven.artifact.DefaultArtifact.<init>( DefaultArtifact.java
> :119)
>        at
> org.apache.maven.artifact.factory.DefaultArtifactFactory.createArtifa
> ct(DefaultArtifactFactory.java:155)
>        at
> org.apache.maven.artifact.factory.DefaultArtifactFactory.createArtifa
> ct(DefaultArtifactFactory.java:114)
>        at
> org.apache.maven.artifact.factory.DefaultArtifactFactory.createArtifa
> ct(DefaultArtifactFactory.java:108)
>        at
> org.apache.maven.artifact.factory.DefaultArtifactFactory.createArtifa
> ct(DefaultArtifactFactory.java:37)
>        at
> org.apache.tuscany.services.maven.MavenHelper.resolveTransitively(Mav
> enHelper.java:176)
>        at
> org.apache.tuscany.services.maven.MavenArtifactRepository.resolve (Mav
> enArtifactRepository.java:69)
>        at
> org.apache.tuscany.core.implementation.composite.CompositeLoader.load
> (CompositeLoader.java:99)
>        at
> org.apache.tuscany.core.implementation.composite.CompositeLoader.load
> (CompositeLoader.java:1)
>        at
> org.apache.tuscany.core.loader.LoaderRegistryImpl.load(LoaderRegistry
> Impl.java:94)
>        at
> org.apache.tuscany.core.loader.LoaderRegistryImpl.load(LoaderRegistry
> Impl.java:112)
>        at
> org.apache.tuscany.core.implementation.system.loader.SystemCompositeC
> omponentTypeLoader.loadFromSidefile(SystemCompositeComponentTypeLoader
> .j
> ava:68)
>        at
> org.apache.tuscany.core.implementation.system.loader.SystemCompositeC
> omponentTypeLoader.load(SystemCompositeComponentTypeLoader.java:59)
>        at
> org.apache.tuscany.core.implementation.system.loader.SystemCompositeC
> omponentTypeLoader.load(SystemCompositeComponentTypeLoader.java :1)
>        at
> org.apache.tuscany.core.loader.LoaderRegistryImpl.loadComponentType(L
> oaderRegistryImpl.java:163)
>        at
> org.apache.tuscany.core.deployer.DeployerImpl.load(DeployerImpl.java:
> 101)
>        at
> org.apache.tuscany.core.deployer.DeployerImpl.deploy(DeployerImpl.jav
> a:76)
>        at
> org.apache.tuscany.core.services.extension.AbstractExtensionDeployer.
> deployExtension(AbstractExtensionDeployer.java:104)
>        at
> org.apache.tuscany.core.services.extension.AbstractExtensionDeployer.
> deployExtension(AbstractExtensionDeployer.java:67)
>        at
> org.apache.tuscany.runtime.standalone.host.DirectoryScanExtender.init
> (DirectoryScanExtender.java:57)
>        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.apache.tuscany.core.injection.MethodEventInvoker.invokeEvent (Meth
> odEventInvoker.java:42)
>        ... 9 more
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to