Re: SDO Date format

2008-03-30 Thread Adriano Crestani
I have some doubts about if it's acceptable or not, because the Java SDO
specs defines the following format:  -MM-dd'T'HH:mm:ss'.'SSS'Z'  . But
when I look at the testcases, it test many date strings that are not exactly
in this format:

  // Ensure that strings that should be recognized by toDate do not
// result in a null Date value.

public void testToDateFormats() throws Exception
{
String[] validStrings =
{
2006-03-31T03:30:45.123Z,
-2006-03-31T03:30:45.1Z,
2006-03-31T03:30:45Z,
2006-03-31T03:30:45.123,
2006-03-31T03:30:45.1,
-2006-03-31T03:30:45,
2006-03-31T03:30:45.123 EDT,
2006-03-31T03:30:45.1 EDT,
2006-03-31T03:30:45 EDT,
---05 PST,
---04,
--12 GMT,
--12,
--08-08 EST,
--08-08,
1976-08-08 PDT,
1976-08-08,
88-12 CST,
1988-12,
2005 CDT,
1999,
P2006Y 08M 10D T 12H 24M 07S,
P2006Y 10D T 12H,
-P2006Y 08M 10D T 07S.2,
P08M 10D T 07H,
-P 04M 10DT12H 24S.88,
PT12H
};

for (int i = 0; i  validStrings.length; i++)
{
   assertNotNull(DataHelper.toData() should not return null for '
+ validStrings[i] + '.,
   data_helper.toDate(validStrings[i]));
}

}

Am I missing something?

Thanks in advance,
Adriano Crestani


On Sat, Mar 29, 2008 at 5:55 PM, Adriano Crestani 
[EMAIL PROTECTED] wrote:

 Hi,

 What is the time zone format used in datetime SDO string? Only the time
 zone abbreviation, like for example: PST, or it also accepts GTM, like for
 example: GMT -04:00?

 Thanks in advance,
 Adriano Crestani



Re: [VOTE] SDO 1.1 rc3 release

2008-03-30 Thread Adriano Crestani
Adriano, you've assigned TUSCANY-1659 to yourself so does that mean you're
working on a fix (which would be great!)? Anyone have any pointers to help
fix it? The jira has been open for over 6 months already so is anyone
actually saying its a blocker for this 1.1 release?

Yes, I'm trying to fix it : ). And I think it's not a blocker, cause it's
not so relevant, since it blocks only in few cases that are env-dependent.
So, for me it's ok if we add this fix only on next release.

Can you find the files under sdo\impl\target\surefire-reports?

Sorry Raymond, I'm not being able to access the OS I was getting this issue
right now. But I debbuged it a lot and I can tell you that the stack trace
is the same shown on surefire-reports attached on TUSCANY-1659 : )

Regards,
Adriano Crestani

On Sat, Mar 29, 2008 at 11:09 AM, ant elder [EMAIL PROTECTED] wrote:

 Likely yes, but not imminently if it looks like this one might also get
 fixed in the near future.

   ...ant

 On Sat, Mar 29, 2008 at 4:30 PM, Luciano Resende [EMAIL PROTECTED]
 wrote:

  This is probably not a blocker, but are you going to resping the
  release based on Raymond's feedback and fixes ?
 
  On Sat, Mar 29, 2008 at 8:28 AM, ant elder [EMAIL PROTECTED] wrote:
   Adriano, you've assigned TUSCANY-1659 to yourself so does that mean
  you're
working on a fix (which would be great!)? Anyone have any pointers to
  help
fix it? The jira has been open for over 6 months already so is anyone
actually saying its a blocker for this 1.1 release?
  
  ...ant
  
  
  
On Sat, Mar 29, 2008 at 6:44 AM, Adriano Crestani 
[EMAIL PROTECTED] wrote:
  
 The only track printed when I use the -e argument is the shown
 below,
  but
 I'm not sure it is what you are wanting. Is it?

 ...
 [INFO]

  
 [ERROR] BUILD FAILURE
 [INFO]

  
 [INFO] There are test failures.
 [INFO]

  
 [INFO] Trace
 org.apache.maven.BuildFailureException: There are test failures.
at
  org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals
 (Def
 ultLifecycleExecutor.java:560)
at

 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithL
 fecycle(DefaultLifecycleExecutor.java:480)
at
  org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal
 (Defa
 ltLifecycleExecutor.java:459)
at

 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHa
 dleFailures(DefaultLifecycleExecutor.java:311)
at

 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegme
 ts(DefaultLifecycleExecutor.java:278)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute
 (DefaultL
 fecycleExecutor.java:143)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java
  :333)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java
  :126)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
 Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
 (NativeMethodAccessorImpl
 java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
 (DelegatingMethodAcce
 sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.classworlds.Launcher.launchEnhanced(
  Launcher.java
 :315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java
 :255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(
  Launcher.java
 :430

at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
 Caused by: org.apache.maven.plugin.MojoFailureException: There are
  test
 failure
 .
at org.apache.maven.plugin.surefire.SurefirePlugin.execute
 (SurefirePlug
 n.java:425)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo
 (DefaultPlug
 nManager.java:447)
at
  org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals
 (Def
 ultLifecycleExecutor.java:539)
... 16 more
 [INFO]

  
 [INFO] Total time: 1 minute 14 seconds
 [INFO] Finished at: Sat Mar 29 02:51:03 GMT-04:00 2008
 [INFO] Final Memory: 14M/26M
 [INFO]

  

 On Sat, Mar 29, 2008 at 2:33 AM, Raymond Feng [EMAIL PROTECTED]
  wrote:

  It seems that SimpleDateFormat uses the default locale/timezone
 if
  they
  are
  not explicitly set. It might behave differently on different
  platforms.
 

Re: SDO Date format

2008-03-30 Thread Adriano Crestani
Surfing on net I found this:

Time zones
...

More recent (post 1.5.0) versions of openadaptor use Java TimeZone objects,
so the string must be understood by that class (either GMT±hh:mm
Europe/London - note that three letter abbreviations such as CST are frowned
upon, as there are no standards and many ambiguities - is that US Central
Standard Time or China Standard Time?). If the timezone is not recognised,
then the JVM local timezone is assumed. or descriptive:

This text is located at the bottom of [1]. Relying on this text, should SDO
use time zone abbreviations instead of GMT +-HH:mm format?
[1] https://openadaptor.openadaptor.org/pg/dates_times_and_timezones.htm

Adriano Crestani

On Sat, Mar 29, 2008 at 10:39 PM, Adriano Crestani 
[EMAIL PROTECTED] wrote:

 I have some doubts about if it's acceptable or not, because the Java SDO
 specs defines the following format:  -MM-dd'T'HH:mm:ss'.'SSS'Z'  . But
 when I look at the testcases, it test many date strings that are not exactly
 in this format:

   // Ensure that strings that should be recognized by toDate do not
 // result in a null Date value.

 public void testToDateFormats() throws Exception
 {
 String[] validStrings =
 {
 2006-03-31T03:30:45.123Z,
 -2006-03-31T03:30:45.1Z,
 2006-03-31T03:30:45Z,
 2006-03-31T03:30:45.123,
 2006-03-31T03:30:45.1,
 -2006-03-31T03:30:45,
 2006-03-31T03:30:45.123 EDT,
 2006-03-31T03:30:45.1 EDT,
 2006-03-31T03:30:45 EDT,
 ---05 PST,
 ---04,
 --12 GMT,
 --12,
 --08-08 EST,
 --08-08,
 1976-08-08 PDT,
 1976-08-08,
 88-12 CST,
 1988-12,
 2005 CDT,
 1999,
 P2006Y 08M 10D T 12H 24M 07S,
 P2006Y 10D T 12H,
 -P2006Y 08M 10D T 07S.2,
 P08M 10D T 07H,
 -P 04M 10DT12H 24S.88,
 PT12H
 };

 for (int i = 0; i  validStrings.length; i++)
 {
assertNotNull(DataHelper.toData() should not return null for
 ' + validStrings[i] + '.,
data_helper.toDate(validStrings[i]));
 }

 }

 Am I missing something?

 Thanks in advance,
 Adriano Crestani


 On Sat, Mar 29, 2008 at 5:55 PM, Adriano Crestani 
 [EMAIL PROTECTED] wrote:

  Hi,
 
  What is the time zone format used in datetime SDO string? Only the time
  zone abbreviation, like for example: PST, or it also accepts GTM, like for
  example: GMT -04:00?
 
  Thanks in advance,
  Adriano Crestani
 




Re: GSoc08 Application: Hadoop Map/Reduce SCA Integration Project

2008-03-30 Thread Robert Burrell Donkin
On Sun, Mar 30, 2008 at 5:06 AM, Chris Trezzo [EMAIL PROTECTED] wrote:
 Hello everyone,

  I have posted a rough draft proposal for the project entitled
  Simplify the development of Map/Reduce applications and their
  integration with various sources of information.

  The draft is located here: 
 http://www.cse.ucsd.edu/~ctrezzo/gsocapplication.html

  Any comments/suggestions would be highly appreciated.

just throwing out an idea...

but would it be possible/beneficial to wrap Map/Reduce resources using
SCAs the other way round as well?

for example, take an abstract service which performs some possibly
intensive analytic computation. at smaller scales or development, the
analytic components might be assembled into a simple web service
running on a single container. at the the largest scales, the work may
need to be farmed out to one of a number of clouds.

perhaps an active management layer might be able to make decisions to
route the processing to different possibly hetrogeneous resources
based on data and meta-data (cloud load, time of day and so on) . for
example, during local night these computations might be directed to a
grid formed on general purpose PCs used during the day.

(who usually just lurks...)

- robert

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



Re: [VOTE] SDO 1.1 rc3 release

2008-03-30 Thread ant elder
On Sun, Mar 30, 2008 at 7:53 AM, Adriano Crestani 
[EMAIL PROTECTED] wrote:

 Adriano, you've assigned TUSCANY-1659 to yourself so does that mean you're
 working on a fix (which would be great!)? Anyone have any pointers to help
 fix it? The jira has been open for over 6 months already so is anyone
 actually saying its a blocker for this 1.1 release?

 Yes, I'm trying to fix it : ). And I think it's not a blocker, cause it's
 not so relevant, since it blocks only in few cases that are env-dependent.
 So, for me it's ok if we add this fix only on next release.


Ok, how i about i wait a day or two more before respining to see if anyone
does find a fix for this...or finds any other issues with this RC, has
anyone else had a chance to review it yet?

   ...ant


Interested in Apache Tuscany support for CORBA, GSoC program

2008-03-30 Thread Wojtek Janiszewski

Hi,
I would like introduce myself and the reason why I am here.
I'm an IT student at Polish Japanese Institute of Information Technology 
in Warsaw, Poland.


While I'm interested in programming and heard some encouragements to try 
Google Summer of Code this year I decided to qualify for Apache Tuscany 
support for CORBA project.


I've already got some clues from my possible mentors (Ant Elder, Raymond 
Feng) and started to edit wiki:

http://cwiki.apache.org/confluence/display/TUSCANYWIKI/Apache+Tuscany+CORBA+support
Any comments are welcome.

Thanks,
Wojtek

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



GSoc08 Applications: Integrate Google services in SCA compositions + Allow Google Android applications to easily consume business services

2008-03-30 Thread Oscar Castaneda
Hi,
I've posted an update to the draft proposal for  the Integrate Google
services in SCA compositions GSoc08 project. It can be found at:

http://wiki.apache.org/general/OscarCastaneda/GSoC2008/Integrate_Google_services_in_SCA_compositions

I would like to thank Jean-Sebastien for his comments, they were really
insightful and helped me re-think the project breakdown.

Going through this proposal helped me in coming up with a draft proposal for
the Allow Google Android applications to easily consume business services
GSoc08 project. This proposal can be found here:

http://wiki.apache.org/general/OscarCastaneda/GSoC2008/Allow_Google_Android_applications_to_easily_consume_business_services

I greatly appreciate your comments on either of the two proposals. Feedback
is especially useful in the following areas of these proposals:

- Level of detail
- Possible expansions
- Breakdown

Or, if I'm missing any key points from either project. I have also posted
both proposals on the GSoc webapp in preparation for submitting them
tomorrow.

Thanks in advance.

best,
-oscar

Oscar Castañeda
Student of Delft University of Technology
http://homepage.mac.com/o.castaneda/


Re: Interested in Apache Tuscany support for CORBA, GSoC program

2008-03-30 Thread Luciano Resende
Hey Wojtek

  Very good to hear from your interest in Tuscany and in GSoC. One
thing I'd suggest in your proposal would be to get more info about a
breakdown of milestones/activities in the proposal, take a look at
this one as an example [1]

[1] 
http://wiki.apache.org/general/OscarCastaneda/GSoC2008/Allow_Google_Android_applications_to_easily_consume_business_services

On Sun, Mar 30, 2008 at 7:21 AM, Wojtek Janiszewski
[EMAIL PROTECTED] wrote:
 Hi,
  I would like introduce myself and the reason why I am here.
  I'm an IT student at Polish Japanese Institute of Information Technology
  in Warsaw, Poland.

  While I'm interested in programming and heard some encouragements to try
  Google Summer of Code this year I decided to qualify for Apache Tuscany
  support for CORBA project.

  I've already got some clues from my possible mentors (Ant Elder, Raymond
  Feng) and started to edit wiki:
  
 http://cwiki.apache.org/confluence/display/TUSCANYWIKI/Apache+Tuscany+CORBA+support
  Any comments are welcome.

  Thanks,
  Wojtek

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





-- 
Luciano Resende
Apache Tuscany Committer
http://people.apache.org/~lresende
http://lresende.blogspot.com/

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



Re: GSoc08 Application: Hadoop Map/Reduce SCA Integration Project

2008-03-30 Thread Chris Trezzo
This is a great idea. I think, if I understand you correctly, adding a  
fourth implementation type is intended to address this. The extra type  
is going to act something like an orchestrator, trying to  
intelligently manage the Map, Combine, and Reduce functions over  
distributed computing facilities and heterogeneous data sources. Like  
you said, this component could shape the deployment of computations  
based on things like cloud load, time of day, locality of resources  
and so on.


I should probably make this more clear in my proposal.

Thank you for the comment/suggestion!

Chris


On Mar 30, 2008, at 12:50 AM, Robert Burrell Donkin wrote:

On Sun, Mar 30, 2008 at 5:06 AM, Chris Trezzo [EMAIL PROTECTED]  
wrote:

Hello everyone,

I have posted a rough draft proposal for the project entitled
Simplify the development of Map/Reduce applications and their
integration with various sources of information.

The draft is located here: http://www.cse.ucsd.edu/~ctrezzo/gsocapplication.html

Any comments/suggestions would be highly appreciated.


just throwing out an idea...

but would it be possible/beneficial to wrap Map/Reduce resources using
SCAs the other way round as well?

for example, take an abstract service which performs some possibly
intensive analytic computation. at smaller scales or development, the
analytic components might be assembled into a simple web service
running on a single container. at the the largest scales, the work may
need to be farmed out to one of a number of clouds.

perhaps an active management layer might be able to make decisions to
route the processing to different possibly hetrogeneous resources
based on data and meta-data (cloud load, time of day and so on) . for
example, during local night these computations might be directed to a
grid formed on general purpose PCs used during the day.

(who usually just lurks...)

- robert

-
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]



Re: GSoC project idea - Tuscany SCA support in the Geronimo Admin console

2008-03-30 Thread Jean-Sebastien Delfino

Thilina Buddhika wrote:

Hi,
I have done some slight modifications to the proposal. I will keep on
improving it in next two days, as I am getting more feedback from the
community and I am digging more into Tuscany and Geronimo.

I submitted it as a proposal for GSoC. I will keep the Apache wiki page [1]
up to date with the modifications I will be doing to the proposal, so that
everyone can review it.

thanks!

/ thilina

[1] -
http://wiki.apache.org/general/ThilinaBuddhika/GSoC2008/Tuscany_SCA_Support_in_the_Geronimo_Admin_Console



Hi Thilina,

The proposal looks really good to me! I just have a few minor comments 
and ideas.


An SCA domain contains the following:
- SCA contributions
- a domain composite configuring and assembling top level SCA components
- policy configuration
- an allocation of SCA components to nodes/runtimes

An SCA domain admin application should ideally cover these four aspects. 
I'll let you think about how you want to stage them in the project.


A comment on an SCA domain is hosted on an application server runtime 
like Geronimo. Although a domain admin application can be hosted on a 
single app server like Geronimo, an SCA domain is wider than a single 
runtime, as SOA solutions usually involve more than a single central JEE 
server :), with components distributed on multiple runtimes in a network 
(Geronimo, Tomcat, standalone Tuscany, other app servers etc.).


So for a simple and friendly user experience, the domain administrator 
should be able to deploy, validate, start/stop components running on 
other runtimes in the domain, directly from your Geronimo-based admin 
application, without having to juggle with the other admin applications 
of the individual servers. I think that it will really make a big 
difference in terms of usability.


Hope this helps.
--
Jean-Sebastien

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



Re: GSoc08 Applications: Integrate Google services in SCA compositions + Allow Google Android applications to easily consume business services

2008-03-30 Thread Jean-Sebastien Delfino

Oscar Castaneda wrote:

Hi,
I've posted an update to the draft proposal for  the Integrate Google
services in SCA compositions GSoc08 project. It can be found at:

http://wiki.apache.org/general/OscarCastaneda/GSoC2008/Integrate_Google_services_in_SCA_compositions

I would like to thank Jean-Sebastien for his comments, they were really
insightful and helped me re-think the project breakdown.



You're welcome :)

The proposal looks very good to me. Oscar and I have already chatted 
about it so It would be great if others on tuscany-dev could give 
feedback too with their perspective. Thanks.


Another small comment: Maybe add one or two examples composing GData 
services (search, calendar, contact, and/or spreadsheet) and other 
services out there (events, news, weather etc) to do something useful or 
fun?


I don't have a great idea right now though :) Maybe others on the list 
can think of something...


--
Jean-Sebastien

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



Re: GSoc08 Application: Hadoop Map/Reduce SCA Integration Project

2008-03-30 Thread Jean-Sebastien Delfino

Chris Trezzo wrote:
This is a great idea. I think, if I understand you correctly, adding a 
fourth implementation type is intended to address this. The extra type 
is going to act something like an orchestrator, trying to intelligently 
manage the Map, Combine, and Reduce functions over distributed computing 
facilities and heterogeneous data sources. Like you said, this component 
could shape the deployment of computations based on things like cloud 
load, time of day, locality of resources and so on.


I should probably make this more clear in my proposal.

Thank you for the comment/suggestion!

Chris


On Mar 30, 2008, at 12:50 AM, Robert Burrell Donkin wrote:


On Sun, Mar 30, 2008 at 5:06 AM, Chris Trezzo [EMAIL PROTECTED] wrote:

Hello everyone,

I have posted a rough draft proposal for the project entitled
Simplify the development of Map/Reduce applications and their
integration with various sources of information.

The draft is located here: 
http://www.cse.ucsd.edu/~ctrezzo/gsocapplication.html


Any comments/suggestions would be highly appreciated.


just throwing out an idea...

but would it be possible/beneficial to wrap Map/Reduce resources using
SCAs the other way round as well?

for example, take an abstract service which performs some possibly
intensive analytic computation. at smaller scales or development, the
analytic components might be assembled into a simple web service
running on a single container. at the the largest scales, the work may
need to be farmed out to one of a number of clouds.

perhaps an active management layer might be able to make decisions to
route the processing to different possibly hetrogeneous resources
based on data and meta-data (cloud load, time of day and so on) . for
example, during local night these computations might be directed to a
grid formed on general purpose PCs used during the day.

(who usually just lurks...)

- robert



Looks pretty good to me!

One comment: I think it would be good to introduce concrete use cases / 
scenarios to help drive the development of the project, and present them 
in a sentence or two in the proposal.


You could start with some the existing Hadoop examples implemented as 
SCA components, then a slightly bigger application showing the benefits 
of reusing and wiring components - as counting words in a big document 
is a little simplistic :) - and the integration of external data 
sources, or invocation of SCA services with the output of the map/reduce 
for example.


For item (3) you could start by looking at the SCA interface types. SCA 
components can use local interfaces or remote interfaces on their 
services and references. Remote interfaces can cross a network 
communication, local interfaces require the components to run in the 
same JVM, classloader etc. You could start with that and use that info 
to control where components run on the Hadoop cloud, components with 
local interfaces would be packaged together, components with remote 
interfaces could run on different nodes.


Then once you have that running you could explore SCA policies, other 
requirements of your components etc.


I like Robert's idea too, I can imagine a management layer that analyzes 
the SCA metadata, the shape and usage of the cloud and uses some rules 
to decide the allocation of components and jobs. Sounds really cool!


Hope this helps.
--
Jean-Sebastien

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



Re: GSoc08 Application: Hadoop Map/Reduce SCA Integration Project

2008-03-30 Thread Chris Trezzo

Hey Jean-Sebastien,

Thanks a lot for the input! I will update my proposal, and submit it  
to the GSOC web app.


I am about to start the drive from the bay area down to San Diego, so  
I will not have access to the internet again until late tonight.


The management layer sounds like a great idea. Definitely something I  
would like to work on in the future. I will investigate both approaches.


I will also check out skeleton and ORC.

Thanks again,

Chris


On Mar 30, 2008, at 4:12 PM, Jean-Sebastien Delfino wrote:


Chris Trezzo wrote:
This is a great idea. I think, if I understand you correctly,  
adding a fourth implementation type is intended to address this.  
The extra type is going to act something like an orchestrator,  
trying to intelligently manage the Map, Combine, and Reduce  
functions over distributed computing facilities and heterogeneous  
data sources. Like you said, this component could shape the  
deployment of computations based on things like cloud load, time of  
day, locality of resources and so on.

I should probably make this more clear in my proposal.
Thank you for the comment/suggestion!
Chris
On Mar 30, 2008, at 12:50 AM, Robert Burrell Donkin wrote:
On Sun, Mar 30, 2008 at 5:06 AM, Chris Trezzo [EMAIL PROTECTED]  
wrote:

Hello everyone,

I have posted a rough draft proposal for the project entitled
Simplify the development of Map/Reduce applications and their
integration with various sources of information.

The draft is located here: http://www.cse.ucsd.edu/~ctrezzo/gsocapplication.html

Any comments/suggestions would be highly appreciated.


just throwing out an idea...

but would it be possible/beneficial to wrap Map/Reduce resources  
using

SCAs the other way round as well?

for example, take an abstract service which performs some possibly
intensive analytic computation. at smaller scales or development,  
the

analytic components might be assembled into a simple web service
running on a single container. at the the largest scales, the work  
may

need to be farmed out to one of a number of clouds.

perhaps an active management layer might be able to make decisions  
to

route the processing to different possibly hetrogeneous resources
based on data and meta-data (cloud load, time of day and so on) .  
for
example, during local night these computations might be directed  
to a

grid formed on general purpose PCs used during the day.

(who usually just lurks...)

- robert



Looks pretty good to me!

One comment: I think it would be good to introduce concrete use  
cases / scenarios to help drive the development of the project, and  
present them in a sentence or two in the proposal.


You could start with some the existing Hadoop examples implemented  
as SCA components, then a slightly bigger application showing the  
benefits of reusing and wiring components - as counting words in a  
big document is a little simplistic :) - and the integration of  
external data sources, or invocation of SCA services with the output  
of the map/reduce for example.


For item (3) you could start by looking at the SCA interface types.  
SCA components can use local interfaces or remote interfaces on  
their services and references. Remote interfaces can cross a network  
communication, local interfaces require the components to run in the  
same JVM, classloader etc. You could start with that and use that  
info to control where components run on the Hadoop cloud, components  
with local interfaces would be packaged together, components with  
remote interfaces could run on different nodes.


Then once you have that running you could explore SCA policies,  
other requirements of your components etc.


I like Robert's idea too, I can imagine a management layer that  
analyzes the SCA metadata, the shape and usage of the cloud and uses  
some rules to decide the allocation of components and jobs. Sounds  
really cool!


Hope this helps.
--
Jean-Sebastien

-
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]



[jira] Created: (TUSCANY-2166) Tuscany eclipse library buildpath exceeds max Windows command line length

2008-03-30 Thread Jean-Sebastien Delfino (JIRA)
Tuscany eclipse library buildpath exceeds max Windows command line length
-

 Key: TUSCANY-2166
 URL: https://issues.apache.org/jira/browse/TUSCANY-2166
 Project: Tuscany
  Issue Type: Bug
  Components: Java SCA Tools
Affects Versions: Java-SCA-1.2
Reporter: Jean-Sebastien Delfino
Assignee: Jean-Sebastien Delfino
 Fix For: Java-SCA-1.2


Adding the Tuscany library from the Tuscany Eclipse plugin to a Java project 
breaks it as its buildpath exceeds the limit of the Windows command line 
length, preventing any programs to be launched from that project.

The fix is pretty simple, all the runtime JARs configured in the Tuscany 
library should not be there anyway. Only the API JARs and the node launcher JAR 
need to be on the buildpath.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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



Re: GSoC project idea - Tuscany SCA support in the Geronimo Admin console

2008-03-30 Thread Thilina Buddhika
Hi Jean-Sebastien,

thanks a lot for the feedback. Absolutely it is really helpful. I'll work on
the improvements suggested by you.

thanks!

/thilina

On Mon, Mar 31, 2008 at 3:49 AM, Jean-Sebastien Delfino 
[EMAIL PROTECTED] wrote:

 Thilina Buddhika wrote:
  Hi,
  I have done some slight modifications to the proposal. I will keep on
  improving it in next two days, as I am getting more feedback from the
  community and I am digging more into Tuscany and Geronimo.
 
  I submitted it as a proposal for GSoC. I will keep the Apache wiki page
 [1]
  up to date with the modifications I will be doing to the proposal, so
 that
  everyone can review it.
 
  thanks!
 
  / thilina
 
  [1] -
 
 http://wiki.apache.org/general/ThilinaBuddhika/GSoC2008/Tuscany_SCA_Support_in_the_Geronimo_Admin_Console
 

 Hi Thilina,

 The proposal looks really good to me! I just have a few minor comments
 and ideas.

 An SCA domain contains the following:
 - SCA contributions
 - a domain composite configuring and assembling top level SCA components
 - policy configuration
 - an allocation of SCA components to nodes/runtimes

 An SCA domain admin application should ideally cover these four aspects.
 I'll let you think about how you want to stage them in the project.

 A comment on an SCA domain is hosted on an application server runtime
 like Geronimo. Although a domain admin application can be hosted on a
 single app server like Geronimo, an SCA domain is wider than a single
 runtime, as SOA solutions usually involve more than a single central JEE
 server :), with components distributed on multiple runtimes in a network
 (Geronimo, Tomcat, standalone Tuscany, other app servers etc.).

 So for a simple and friendly user experience, the domain administrator
 should be able to deploy, validate, start/stop components running on
 other runtimes in the domain, directly from your Geronimo-based admin
 application, without having to juggle with the other admin applications
 of the individual servers. I think that it will really make a big
 difference in terms of usability.

 Hope this helps.
 --
 Jean-Sebastien

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




[jira] Commented: (TUSCANY-2074) Component Service not coming up.

2008-03-30 Thread Sandeep Raman (JIRA)

[ 
https://issues.apache.org/jira/browse/TUSCANY-2074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12583526#action_12583526
 ] 

Sandeep Raman commented on TUSCANY-2074:


I could make this work with Tomcat. But webpshere is giving problem.
On going to the URL it says:

/ExceptionError 404: SRVE0190E: File not found: /ComposerService
on touching my URL:
http://172.19.103.18:9080/LOSComposite/ComposerService
in websphere while calling up my composite application with a binding.ws 
specified.
The end points are established and i get the information in the log. No errors 
appear.


When i go to the address
http://172.19.103.18:9080/LOSComposite/ComposerService?wsdl

i get Invalid at the top level of the document. Error processing resource 
'http://172.19.103.18:9080/LOSComposite/ComposerService...
/wsdl:definitions
I am using websphere 6.1.0.3 with a patch 6.1.0.9 as specified in sebastain's 
blog from this place:

http://download2.boulder.ibm.com/sdfdl/v2/sar/SGA/0047m/0/Xa.2/Xb.jusyLTSp44S0eYxWV1yoxfaHur9diONMfhYYqdyhZIPsFSpruXzpCkiZnme0Zs_J6NNSEqo/Xc.SGA/0047m/0/6.1.0-WS-WASSDK-WinX32-FP009.pak/Xd./Xf.Lpr./Xg.4351989/Xi.habanero/XY.habanero/XZ.tKSPQaseCq48656mEQBGug3o0R0/6.1.0-WS-WASSDK-WinX32-FP009.pak

IS Any other patch required.




 Component Service not coming up.
 

 Key: TUSCANY-2074
 URL: https://issues.apache.org/jira/browse/TUSCANY-2074
 Project: Tuscany
  Issue Type: Test
  Components: Java SCA Tomcat Integration
Affects Versions: Java-SCA-1.1
 Environment: Windows , Tomcat 5.5 , Apache tuscany 1.1 , Java 5.0
Reporter: Sandeep Raman
Priority: Critical
 Fix For: Java-SCA-Next

 Attachments: src.zip, two-ws-reference.jar, TwoWS.war

   Original Estimate: 72h
  Remaining Estimate: 72h

 summary of the Issue:
 I have an issue with the component service not coming up. below mentioned 
 is my scenario.
 I have a JSP (default.jsp) which does the following:
 %@ page import=org.apache.tuscany.sca.host.embedded.SCADomain%
 %@ page contentType=text/html;charset=UTF-8 language=java %
 %
   SCADomain scaDomain = SCADomain.newInstance(RunTime.composite);
   System.out.println(RunTime Composite Started);
 %
 and the Runtime.composite is as follows:
 component name=TwoWSService
 implementation.java class=eai.Compose /
 service name=Compose
  interface=http://eai#wsdl.interface(TwoWSService) / 
 binding.ws uri=http://localhost:8080/TwoWSService; /
 /service
 /component
 Now I create a war of all my Java classes , wsdl , composite files and 
 with the default.jsp as the default run target.
 This war gets deployed in tomcat and the jsp page comes up. It creates a 
 new instance of Runtime.composite too , but it doesnt seem to be starting 
 the
 component service which i have mentioned in the composite file : 
 binding.ws uri=http://localhost:8080/TwoWSService; /.
 --
 Following Mails explain the scenario::
  I see everything in console, like
 
  INFO: initContextPath: /TwoWS
  INFO: Added Servlet mapping: /TwoWSService
 
  Even if i try to Run my low lying services which i am composing it Runs
  fine and can see the output in the console..
  The issue is the wsdl url which i need to publish and not able to find it
  anywhere.
 
  As per the samples , in my case
  http://localhost:8080/TwoWS/TwoWSService?wsdl should point to my wsdl, but
  tht doesnt seem to exist
 
  Regards
  Sandeep
 
 
  ant elder [EMAIL PROTECTED] wrote on 03/11/2008 05:03:44 PM:
 
   A difference between this and the calculator sample is the way the jsp
  gets
   the SCADomain object, the Tuscany jsp samples do:
   %
  SCADomain scaDomain = (SCADomain) application.getAttribute(
   org.apache.tuscany.sca.SCADomain);
  CalculatorService calculatorService =
   (CalculatorService)scaDomain.getService(CalculatorService.class,
   CalculatorServiceComponent);
   %
  
   whereas this code does:
   %
SCADomain scaDomain = SCADomain.newInstance(RunTime.composite);
System.out.println(RunTime Composite Started);
   %
   I've never tried that so i don't know if it will work.
  
   If Tuscany is activating the WS endpoint you should see the messages on
  the
   tomcat console about it, for example, with the calculator ws sample you
  see:
  
   INFO: ContextPath: /sample-calculator-ws-webapp
   and
   INFO: Added Servlet mapping: /AddServiceComponent
  
   so you can add those and you tomcat host and port to get
  
   http://localhost:8080//sample-calculator-ws-webapp/AddServiceComponent
  
   You can test thats working by appending ?wsdl to that and url and
  entering
   it in a 

[jira] Assigned: (TUSCANY-2163) Marketplace Store for Tutorial

2008-03-30 Thread Jean-Sebastien Delfino (JIRA)

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

Jean-Sebastien Delfino reassigned TUSCANY-2163:
---

Assignee: Jean-Sebastien Delfino

 Marketplace Store for Tutorial
 --

 Key: TUSCANY-2163
 URL: https://issues.apache.org/jira/browse/TUSCANY-2163
 Project: Tuscany
  Issue Type: New Feature
  Components: Java SCA Samples
Reporter: Mario Antollini
Assignee: Jean-Sebastien Delfino
Priority: Minor
 Attachments: store-market.zip


 I have created new module for the tutorial and called it store-market. As 
 Jean-Sebastien suggested I took store-merger and modified it.
 I now need to start working on the multiplicity 0..n instead of the currently 
 hardcoded references to two catalogs.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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



[jira] Commented: (TUSCANY-2166) Tuscany eclipse library buildpath exceeds max Windows command line length

2008-03-30 Thread Jean-Sebastien Delfino (JIRA)

[ 
https://issues.apache.org/jira/browse/TUSCANY-2166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12583547#action_12583547
 ] 

Jean-Sebastien Delfino commented on TUSCANY-2166:
-

I'm working on it and will try to get it in before the next RC is cut.

 Tuscany eclipse library buildpath exceeds max Windows command line length
 -

 Key: TUSCANY-2166
 URL: https://issues.apache.org/jira/browse/TUSCANY-2166
 Project: Tuscany
  Issue Type: Bug
  Components: Java SCA Tools
Affects Versions: Java-SCA-1.2
Reporter: Jean-Sebastien Delfino
Assignee: Jean-Sebastien Delfino
 Fix For: Java-SCA-1.2


 Adding the Tuscany library from the Tuscany Eclipse plugin to a Java project 
 breaks it as its buildpath exceeds the limit of the Windows command line 
 length, preventing any programs to be launched from that project.
 The fix is pretty simple, all the runtime JARs configured in the Tuscany 
 library should not be there anyway. Only the API JARs and the node launcher 
 JAR need to be on the buildpath.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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



[jira] Commented: (TUSCANY-2163) Marketplace Store for Tutorial

2008-03-30 Thread Jean-Sebastien Delfino (JIRA)

[ 
https://issues.apache.org/jira/browse/TUSCANY-2163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12583546#action_12583546
 ] 

Jean-Sebastien Delfino commented on TUSCANY-2163:
-

Thanks Mario I will add that new module under /tutorial.

 Marketplace Store for Tutorial
 --

 Key: TUSCANY-2163
 URL: https://issues.apache.org/jira/browse/TUSCANY-2163
 Project: Tuscany
  Issue Type: New Feature
  Components: Java SCA Samples
Reporter: Mario Antollini
Assignee: Jean-Sebastien Delfino
Priority: Minor
 Attachments: store-market.zip


 I have created new module for the tutorial and called it store-market. As 
 Jean-Sebastien suggested I took store-merger and modified it.
 I now need to start working on the multiplicity 0..n instead of the currently 
 hardcoded references to two catalogs.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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



[jira] Updated: (TUSCANY-2163) Marketplace Store for Tutorial

2008-03-30 Thread Jean-Sebastien Delfino (JIRA)

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

Jean-Sebastien Delfino updated TUSCANY-2163:


Patch Info: [Patch Available]

 Marketplace Store for Tutorial
 --

 Key: TUSCANY-2163
 URL: https://issues.apache.org/jira/browse/TUSCANY-2163
 Project: Tuscany
  Issue Type: New Feature
  Components: Java SCA Samples
Affects Versions: Java-SCA-Next
Reporter: Mario Antollini
Assignee: Jean-Sebastien Delfino
Priority: Minor
 Fix For: Java-SCA-Next

 Attachments: store-market.zip


 I have created new module for the tutorial and called it store-market. As 
 Jean-Sebastien suggested I took store-merger and modified it.
 I now need to start working on the multiplicity 0..n instead of the currently 
 hardcoded references to two catalogs.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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



[jira] Updated: (TUSCANY-2163) Marketplace Store for Tutorial

2008-03-30 Thread Jean-Sebastien Delfino (JIRA)

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

Jean-Sebastien Delfino updated TUSCANY-2163:


Affects Version/s: Java-SCA-Next
Fix Version/s: Java-SCA-Next

 Marketplace Store for Tutorial
 --

 Key: TUSCANY-2163
 URL: https://issues.apache.org/jira/browse/TUSCANY-2163
 Project: Tuscany
  Issue Type: New Feature
  Components: Java SCA Samples
Affects Versions: Java-SCA-Next
Reporter: Mario Antollini
Assignee: Jean-Sebastien Delfino
Priority: Minor
 Fix For: Java-SCA-Next

 Attachments: store-market.zip


 I have created new module for the tutorial and called it store-market. As 
 Jean-Sebastien suggested I took store-merger and modified it.
 I now need to start working on the multiplicity 0..n instead of the currently 
 hardcoded references to two catalogs.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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



[jira] Commented: (TUSCANY-2074) Component Service not coming up.

2008-03-30 Thread Luciano Resende (JIRA)

[ 
https://issues.apache.org/jira/browse/TUSCANY-2074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12583550#action_12583550
 ] 

Luciano Resende commented on TUSCANY-2074:
--

I'd recommend configuring your WAS to use port 8080, and also configure your 
WSDL and COMPOSITE to use port 8080, that should get things working for you.

 Component Service not coming up.
 

 Key: TUSCANY-2074
 URL: https://issues.apache.org/jira/browse/TUSCANY-2074
 Project: Tuscany
  Issue Type: Test
  Components: Java SCA Tomcat Integration
Affects Versions: Java-SCA-1.1
 Environment: Windows , Tomcat 5.5 , Apache tuscany 1.1 , Java 5.0
Reporter: Sandeep Raman
Priority: Critical
 Fix For: Java-SCA-Next

 Attachments: src.zip, two-ws-reference.jar, TwoWS.war

   Original Estimate: 72h
  Remaining Estimate: 72h

 summary of the Issue:
 I have an issue with the component service not coming up. below mentioned 
 is my scenario.
 I have a JSP (default.jsp) which does the following:
 %@ page import=org.apache.tuscany.sca.host.embedded.SCADomain%
 %@ page contentType=text/html;charset=UTF-8 language=java %
 %
   SCADomain scaDomain = SCADomain.newInstance(RunTime.composite);
   System.out.println(RunTime Composite Started);
 %
 and the Runtime.composite is as follows:
 component name=TwoWSService
 implementation.java class=eai.Compose /
 service name=Compose
  interface=http://eai#wsdl.interface(TwoWSService) / 
 binding.ws uri=http://localhost:8080/TwoWSService; /
 /service
 /component
 Now I create a war of all my Java classes , wsdl , composite files and 
 with the default.jsp as the default run target.
 This war gets deployed in tomcat and the jsp page comes up. It creates a 
 new instance of Runtime.composite too , but it doesnt seem to be starting 
 the
 component service which i have mentioned in the composite file : 
 binding.ws uri=http://localhost:8080/TwoWSService; /.
 --
 Following Mails explain the scenario::
  I see everything in console, like
 
  INFO: initContextPath: /TwoWS
  INFO: Added Servlet mapping: /TwoWSService
 
  Even if i try to Run my low lying services which i am composing it Runs
  fine and can see the output in the console..
  The issue is the wsdl url which i need to publish and not able to find it
  anywhere.
 
  As per the samples , in my case
  http://localhost:8080/TwoWS/TwoWSService?wsdl should point to my wsdl, but
  tht doesnt seem to exist
 
  Regards
  Sandeep
 
 
  ant elder [EMAIL PROTECTED] wrote on 03/11/2008 05:03:44 PM:
 
   A difference between this and the calculator sample is the way the jsp
  gets
   the SCADomain object, the Tuscany jsp samples do:
   %
  SCADomain scaDomain = (SCADomain) application.getAttribute(
   org.apache.tuscany.sca.SCADomain);
  CalculatorService calculatorService =
   (CalculatorService)scaDomain.getService(CalculatorService.class,
   CalculatorServiceComponent);
   %
  
   whereas this code does:
   %
SCADomain scaDomain = SCADomain.newInstance(RunTime.composite);
System.out.println(RunTime Composite Started);
   %
   I've never tried that so i don't know if it will work.
  
   If Tuscany is activating the WS endpoint you should see the messages on
  the
   tomcat console about it, for example, with the calculator ws sample you
  see:
  
   INFO: ContextPath: /sample-calculator-ws-webapp
   and
   INFO: Added Servlet mapping: /AddServiceComponent
  
   so you can add those and you tomcat host and port to get
  
   http://localhost:8080//sample-calculator-ws-webapp/AddServiceComponent
  
   You can test thats working by appending ?wsdl to that and url and
  entering
   it in a browser which should return the wsdl document for the service.
  
   If you don't see the above messages then something is going wrong and
  the WS
   endpoint is not being registered correctly.
  
  ...ant
  
   On Tue, Mar 11, 2008 at 11:07 AM, Sandeep Raman [EMAIL PROTECTED]
   wrote:
  
Hi,
   
I have done pretty much in the same way as the sample.
i need to see my wsdl , my component service which is running . I am
  not
able to figure out the URL for the wsdl file.
   
I am stuck up there, since all my external requests need this wsdl URL
  to
process, any help or suggestion will be highly appreciated
   
Regards
Sandeep Raman
   
ant elder [EMAIL PROTECTED] wrote on 03/11/2008 02:28:13 PM:
   
 On Tue, Mar 11, 2008 at 3:38 AM, Sandeep Raman
  [EMAIL PROTECTED]
 wrote:

  Hi,
 
  I have an issue with the component service not coming up. below
mentioned