You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@tuscany.apache.org by rgc <rg...@gmail.com> on 2012/05/17 14:25:04 UTC
tuscany 2.0 about the domain manager
I am using the Tuscany 2.0 to deploy application,
When I run this code line,
DomainManagerLauncher.main(args);
It turns out a error, java.lang.ClassNotFoundException:
org.apache.tuscany.sca.domain.manager.launcher.DomainManagerLauncherBootstra
p
Then I go to the modules, and I did not find any project containing this
class. However, I find this class in project tuscany-domain-manager.
Can anyone tell why?
Is this project not implemented in Tuscany 2.0?
when I use Tuscany 1.6
Re: tuscany 2.0 about the domain manager
Posted by Raymond Feng <en...@gmail.com>.
Hi,
The DomainManager is not available in Tuscany 2.x.
In Tuscany 2.x, we use distributed domain registry to publish and discover service endpoints. There are a few different implementations based on Hazelcast and Tomcat Tribes. You can find some samples at:
https://svn.apache.org/repos/asf/tuscany/sca-java-2.x/trunk/testing/itest/domain-node-hazelcast/
Thanks,
Raymond
On May 17, 2012, at 5:25 AM, rgc wrote:
> I am using the Tuscany 2.0 to deploy application,
> When I run this code line,
> DomainManagerLauncher.main(args);
>
> It turns out a error, java.lang.ClassNotFoundException: org.apache.tuscany.sca.domain.manager.launcher.DomainManagerLauncherBootstrap
> Then I go to the modules, and I did not find any project containing this class. However, I find this class in project tuscany-domain-manager.
> Can anyone tell why?
>
> Is this project not implemented in Tuscany 2.0?
>
>
>
> when I use Tuscany 1.6
Re: tuscany 2.0 about the domain manager
Posted by 任国超 <rg...@gmail.com>.
hi,Raymond
I read read these sources code from the link you give,and i am
developing a distribute application using tuscany 2.0.
If i use your method in only one JVM(all the application just in one
machine, it runs ok, every node can find each other. However , if i
run different no de in different machine(in different JVM), it fails,
nodes can not find each other.
Can you give me a real distribute application, not the application just run
in the same JVM, to study?
yours,
rgc
2012/5/17 rgc <rg...@gmail.com>
> I am using the Tuscany 2.0 to deploy application, ****
>
> When I run this code line, ****
>
> DomainManagerLauncher.main(args);****
>
> ** **
>
> It turns out a error, *java.lang.ClassNotFoundException*:
> org.apache.tuscany.sca.domain.manager.launcher.DomainManagerLauncherBootstrap
> ****
>
> Then I go to the modules, and I did not find any project containing this
> class. However, I find this class in project tuscany-domain-manager.****
>
> Can anyone tell why?****
>
> ** **
>
> Is this project not implemented in Tuscany 2.0?****
>
> ** **
>
> ** **
>
> ** **
>
> when I use Tuscany 1.6 ****
>