Mario,

That is great. What you have is the definitive list. If you are going to
look at the JXTA problem, you will have to use discovery/jxta instead of
discovery/jms. Also, you will have to change the
master|slave1|slave2/system.scdl, demo.xml and pom.xml in the demo
project to use JXTA instead of JMS. 

This is how you start the servers (Please make sure you start ActiveMQ
before you start the servers) .

Master: java -Dtuscany.adminPort=2000 -jar server.start.jar master 
Slave1: java -Dtuscany.adminPort=3000 -jar server.start.jar slave1 
Slave2: java -Dtuscany.adminPort=4000 -jar server.start.jar slave2

You can access the admin console from http://localhost:7000/scdlForm and
if you target the deployed SCDL to slave1, access the demo appilcation
from http://localhsot:8000/calculatorForm. The test scdl is as follows
(this is what you submit from the admin console to target a deployment
to a slave),

<composite xmlns="http://www.osoa.org/xmlns/sca/1.0";
           xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/2.0-alpha";
           name="CalculatorComposite">

    <component runtimeId="slave" name="CalculatorServiceComponent">
        <implementation.java class="calculator.CalculatorServiceImpl"/>
        <reference name="addService" target="AddServiceComponent"/>
        <reference name="subtractService"
target="SubtractServiceComponent"/>
        <reference name="multiplyService"
target="MultiplyServiceComponent"/>
        <reference name="divideService"
target="DivideServiceComponent"/>
    </component>
    
    <component runtimeId="slave" name="AddServiceComponent">
        <implementation.java class="calculator.AddServiceImpl"/>
    </component>
    
    <component runtimeId="slave" name="SubtractServiceComponent">
        <implementation.java class="calculator.SubtractServiceImpl"/>
    </component>
    
    <component runtimeId="slave" name="MultiplyServiceComponent">
        <implementation.java class="calculator.MultiplyServiceImpl"/>
    </component>
    
    <component runtimeId="slave" name="DivideServiceComponent">
        <implementation.java class="calculator.DivideServiceImpl"/>
    </component>

</composite>

BTW, I didn't get your attachment, if you still get any isues pls open a
JIRA.

Ta
Meeraj

-----Original Message-----
From: Antollini, Mario [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 22, 2007 1:58 PM
To: tuscany-dev@ws.apache.org
Subject: RE: Compilation status

Meeraj, 

Finally, I was able to generate the server.star.jar file.

This is compilation order that worked for me:

java/spec/commonj/
java/spec/sca-api-r1.0/
java/sca/kernel/
java/sca/runtime/
java/sca/services/
java/sca/contrib/discovery/
java/sca/contrib/discovery/jms
java/sca/console/
java/sca/core-samples/
java/distribution/sca/demo.app
java/distribution/sca/demo/

Disclaimer: I have been struggling with the compilation for two days, I
cannot fully assure that the order of the above list is the actual
order. If anyone is able to compile this exact way, please let us know.

BTW, java/sca/extensions/ cannot be compiled for now.

Besides the good news, I was not able to start the servers (take a look
at the attachment to see the errors)

Do you have any idea what could be happening?

Thanks and regards,
Mario


-----Original Message-----
From: Meeraj Kunnumpurath [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 22, 2007 10:13 AM
To: tuscany-dev@ws.apache.org
Subject: RE: Compilation status

Mario,

AFAIK extensions in trunk is still in a bit of a flux. If you want to
run the demo, you don't need to run the extensions (the demo uses Java
container with local bindings), I will try to post a dfeinitive list of
tasks to build and run the demo later in the day, which will be useful
to Simon as well.

Ta
Meeraj 

-----Original Message-----
From: Antollini, Mario [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 22, 2007 12:29 PM
To: tuscany-dev@ws.apache.org
Subject: Compilation status

Meeraj, 

 

I just wanted you to know that I am still not able to compile the code I
checked out from SVN. The main problem is located in the *extensions*
project. I have been modifying the pom files within this project but I
did not manage to get it compiled yet.

 

Basically, the main problems are related to inconsistencies between
parent references (e.g.; axis2's root project is using groupId
*org.apache.tuscany.sca.axis2* while the plugin subproject states that
its parent is *org.apache.tuscany.sca.extensions.axis2*). 

 

Any tips about this?

 

Thanks,

Mario


This message has been checked for all email viruses by MessageLabs.


*****************************************************

    You can find us at www.voca.com

*****************************************************
This communication is confidential and intended for the exclusive use of
the addressee only. You should not disclose its contents to any other
person.
If you are not the intended recipient please notify the sender named
above immediately.

Registered in England, No 1023742,
Registered Office: Voca Limited
Drake House, Three Rivers Court,
Homestead Road, Rickmansworth,
Hertfordshire, WD3 1FX. United Kingdom

VAT No. 226 6112 87


This message has been checked for all email viruses by MessageLabs.

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


This message has been checked for all email viruses by MessageLabs.

This message has been checked for all email viruses by MessageLabs.

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

Reply via email to