Re: [VOTE] SDO 1.1 release

2008-04-05 Thread Raymond Feng

+1 from me.

Thanks,
Raymond

--
From: ant elder [EMAIL PROTECTED]
Sent: Friday, April 04, 2008 10:02 PM
To: tuscany-dev tuscany-dev@ws.apache.org
Subject: Re: [VOTE] SDO 1.1 release


One more vote anyone so we've the 3 needed to take this to the IPMC?

  ...ant

On Thu, Apr 3, 2008 at 7:43 PM, ant elder [EMAIL PROTECTED] wrote:


Note theres a gmail url cutNpaste problem in the url to the artifacts -
they are at 
http://people.apache.org/~antelder/tuscany/sdo/1.1-rc4ahttp://people.apache.org/%7Eantelder/tuscany/sdo/1.1-rc4a- 
ending in 4a, the link in the previous email has the old rc3 url.


   ...ant


On Thu, Apr 3, 2008 at 7:05 PM, ant elder [EMAIL PROTECTED] wrote:

 Please review and vote on the SDO 1.1 release RC4a artifacts at
 
http://people.apache.org/~antelder/tuscany/sdo/1.1-rc4ahttp://people.apache.org/%7Eantelder/tuscany/sdo/1.1-rc3/

 The tag for the release is at:
 https://svn.apache.org/repos/asf/incubator/tuscany/tags/java/sdo/1.1/

 KEYS file is at: 
 https://svn.apache.org/repos/asf/incubator/tuscany/KEYS


 Many thanks to Adriano, Raymond, and Sebb for all their help reviewing
 and fixing the previous RCs.

 This one looks good so +1 from me!

...ant







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



Re: Google Summer of Code: Tuscany GData Integration

2008-04-05 Thread Mike Edwards

Douglas Leite wrote:

Hello community,

Recently I've posted a topic talking about I come back to contribute with
the development of Tuscany SCA. Well, few days after that I was notified
about the Google Summer of Code event. Combining the two things, I've
decided to look for a project idea, and try to write my work proposal.

I am interested in help to integrate the GData protocol with Tuscany SCA
project, writing a binding to that protocol. I purpose to reach this aim
through a detailed study of the GData protocol, and the mechanism of
definition a new binding in Tuscany. Analyzing the existing RSS, Atom, and
Feed bindings, will be used as part of the study too. Moreover, the
discussion in the mailing list will be useful to evolute the design
decisions until an ideal stage (or at least, something near to this).

At the implementation stage, I purpose the building of unit tests (as
possible), in order to try to minimize errors and bugs.

Finally, when the integration between GData and Tuscany is finished, I
purpose to develop an example scenario. Building this will be useful to help
whatever person which would like understand, in practice, the behavior of
the new feature developed, as well as guide the development steps.

I intend develop a list of free software events, where the information about
each event will be fed by XML feeds. Hence, blog contents, documents,
videos, and photos provided as feeds, respectively, by Google Blog, Google
Docs, Youtube, and Piscassa Web Albums, or other source able to operate on
GData protocol, will be able to be used as information to describe a given
event.

Any modification in a given event at the application will reflect
automatically in the user's calendar defined at Google Calendar.

Dealing with a test application, the initial state of the list will be
built, possibly, by data loaded from a database with non real information.
What do you think about it?

Douglas

PS: Sorry for my possible English mistakes.


Douglas,

This sounds interesting.  Supporting GData in addition to Atom will 
strengthen Tuscany's support of Web 2.0 scenarios.


Will your proposed work deal both with components being clients to GData 
feeds and also components providing GData feeds?



Yours,  Mike.

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



Re: [SCA 1.2] RC3

2008-04-05 Thread Dave Sowerby
Hi,

Would it be possible to upload the maven repository for RC3?

Cheers,

Dave.

On Fri, Apr 4, 2008 at 8:06 PM, Luciano Resende [EMAIL PROTECTED] wrote:
 New distributions should be available in couple mins in my people.a.o space 
 [1]


  [1] http://people.apache.org/~lresende/tuscany/sca-1.2-RC3/



 On Fri, Apr 4, 2008 at 10:06 AM, Luciano Resende [EMAIL PROTECTED] wrote:
   Thanks Raymond
  
  I'm trying this fix, and another one for a jetty version mismatch.
I'll be generating a new distribution soon and will update this thread
when it's ready.
  
  
  
On Fri, Apr 4, 2008 at 9:30 AM, Raymond Feng [EMAIL PROTECTED] wrote:
 Hi,

  The extra jar is from woodstox:wstx-asl:jar:3.2.1 (same artifact and
 version id with different group id).

  +-
 
 org.apache.tuscany.sca:tuscany-java2wsdl:jar:1.2-incubating-SNAPSHOT:compile
  |  |  +- org.apache.axis2:axis2-codegen:jar:1.3:compile
  |  |  +- org.eclipse.emf:codegen:jar:2.2.3:compile
  |  |  +- org.eclipse.emf:codegen-ecore:jar:2.2.3:compile
  |  |  +- annogen:annogen:jar:0.1.0:compile
  |  |  \- woodstox:wstx-asl:jar:3.2.1:runtime

  I have checked in a fix in trunk under r644756. Please merge it into 
 1.2
 branch

  Thanks,
  Raymond
  --
  From: Raymond Feng [EMAIL PROTECTED]
  Sent: Friday, April 04, 2008 9:11 AM
  To: tuscany-dev@ws.apache.org; [EMAIL PROTECTED]
  Subject: Re: [SCA 1.2] RC3




  Hi,
 
  Here is the first issue: I'm seeing duplicate lib/wstx-asl-3.2.1.jar 
 in
 both the zip and gz distro. It's very strange.
 
  Thanks,
  Raymond
 
  --
  From: Luciano Resende [EMAIL PROTECTED]
  Sent: Thursday, April 03, 2008 11:09 PM
  To: tuscany-dev tuscany-dev@ws.apache.org; tuscany user
 [EMAIL PROTECTED]
  Subject: [SCA 1.2] RC3
 
 
   I have uploaded stable distribution and possible candidate for our 
 SCA
   1.2 RC3 in my people.a.o space [1] (should be live in about 20 
 mins).
   Please give it a try and help check the samples, while I finish
   reviewing the license. Please report issues via JIRA. If everything
   goes ok, I plan to start a vote in the morning.
  
  
   [1] http://people.apache.org/~lresende/tuscany/sca-1.2-RC3/
  
   --
   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]
  
  
 

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



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





-- 
Dave Sowerby MEng MBCS
ey,Is it possible to updated

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



Re: [SCA 1.2] RC3

2008-04-05 Thread ant elder
Also how about an official RC to vote on? I'd started having a look at the
original RC3 and then the downloads got updated so i need to start over, is
this the final RC3 or is it gong to be updated again and i should wait till
a vote is called?

   ...ant

On Sat, Apr 5, 2008 at 10:33 AM, Dave Sowerby [EMAIL PROTECTED]
wrote:

 Hi,

 Would it be possible to upload the maven repository for RC3?

 Cheers,

 Dave.

 On Fri, Apr 4, 2008 at 8:06 PM, Luciano Resende [EMAIL PROTECTED]
 wrote:
  New distributions should be available in couple mins in my people.a.o
 space [1]
 
 
   [1] 
  http://people.apache.org/~lresende/tuscany/sca-1.2-RC3/http://people.apache.org/%7Elresende/tuscany/sca-1.2-RC3/
 
 
 
  On Fri, Apr 4, 2008 at 10:06 AM, Luciano Resende [EMAIL PROTECTED]
 wrote:
Thanks Raymond
   
   I'm trying this fix, and another one for a jetty version mismatch.
 I'll be generating a new distribution soon and will update this
 thread
 when it's ready.
   
   
   
 On Fri, Apr 4, 2008 at 9:30 AM, Raymond Feng [EMAIL PROTECTED]
 wrote:
  Hi,
 
   The extra jar is from woodstox:wstx-asl:jar:3.2.1 (same artifact
 and
  version id with different group id).
 
   +-
 
 org.apache.tuscany.sca:tuscany-java2wsdl:jar:1.2-incubating-SNAPSHOT:compile
   |  |  +- org.apache.axis2:axis2-codegen:jar:1.3:compile
   |  |  +- org.eclipse.emf:codegen:jar:2.2.3:compile
   |  |  +- org.eclipse.emf:codegen-ecore:jar:2.2.3:compile
   |  |  +- annogen:annogen:jar:0.1.0:compile
   |  |  \- woodstox:wstx-asl:jar:3.2.1:runtime
 
   I have checked in a fix in trunk under r644756. Please merge it
 into 1.2
  branch
 
   Thanks,
   Raymond
   --
   From: Raymond Feng [EMAIL PROTECTED]
   Sent: Friday, April 04, 2008 9:11 AM
   To: tuscany-dev@ws.apache.org; [EMAIL PROTECTED]
   Subject: Re: [SCA 1.2] RC3
 
 
 
 
   Hi,
  
   Here is the first issue: I'm seeing duplicate
 lib/wstx-asl-3.2.1.jar in
  both the zip and gz distro. It's very strange.
  
   Thanks,
   Raymond
  
   --
   From: Luciano Resende [EMAIL PROTECTED]
   Sent: Thursday, April 03, 2008 11:09 PM
   To: tuscany-dev tuscany-dev@ws.apache.org; tuscany user
  [EMAIL PROTECTED]
   Subject: [SCA 1.2] RC3
  
  
I have uploaded stable distribution and possible candidate for
 our SCA
1.2 RC3 in my people.a.o space [1] (should be live in about 20
 mins).
Please give it a try and help check the samples, while I
 finish
reviewing the license. Please report issues via JIRA. If
 everything
goes ok, I plan to start a vote in the morning.
   
   
[1] 
  http://people.apache.org/~lresende/tuscany/sca-1.2-RC3/http://people.apache.org/%7Elresende/tuscany/sca-1.2-RC3/
   
--
Luciano Resende
Apache Tuscany Committer

  http://people.apache.org/~lresendehttp://people.apache.org/%7Elresende
http://lresende.blogspot.com/
   
   
 -
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]
 
 
   
   
   
 --
 Luciano Resende
 Apache Tuscany Committer
 http://people.apache.org/~lresendehttp://people.apache.org/%7Elresende
 http://lresende.blogspot.com/
   
 
 
 
   --
   Luciano Resende
   Apache Tuscany Committer
   http://people.apache.org/~lresendehttp://people.apache.org/%7Elresende
   http://lresende.blogspot.com/
 
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
 
 



 --
 Dave Sowerby MEng MBCS
 ey,Is it possible to updated

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




Re: Google Summer of Code: Tuscany GData Integration

2008-04-05 Thread Douglas Leite
Mike,

Yes. Backing to the list of free software events example, I intend to build
some components that will provide information, as feeds, to the list.
I am not sure about the design details yet, but a component (or a set of
components), will depict the list, that uses feeds provided by other
components, and by the Google services.

Thoughts?

Douglas

On Sat, Apr 5, 2008 at 3:59 AM, Mike Edwards 
[EMAIL PROTECTED] wrote:

 Douglas Leite wrote:

  Hello community,
 
  Recently I've posted a topic talking about I come back to contribute
  with
  the development of Tuscany SCA. Well, few days after that I was notified
  about the Google Summer of Code event. Combining the two things, I've
  decided to look for a project idea, and try to write my work proposal.
 
  I am interested in help to integrate the GData protocol with Tuscany SCA
  project, writing a binding to that protocol. I purpose to reach this aim
  through a detailed study of the GData protocol, and the mechanism of
  definition a new binding in Tuscany. Analyzing the existing RSS, Atom,
  and
  Feed bindings, will be used as part of the study too. Moreover, the
  discussion in the mailing list will be useful to evolute the design
  decisions until an ideal stage (or at least, something near to this).
 
  At the implementation stage, I purpose the building of unit tests (as
  possible), in order to try to minimize errors and bugs.
 
  Finally, when the integration between GData and Tuscany is finished, I
  purpose to develop an example scenario. Building this will be useful to
  help
  whatever person which would like understand, in practice, the behavior
  of
  the new feature developed, as well as guide the development steps.
 
  I intend develop a list of free software events, where the information
  about
  each event will be fed by XML feeds. Hence, blog contents, documents,
  videos, and photos provided as feeds, respectively, by Google Blog,
  Google
  Docs, Youtube, and Piscassa Web Albums, or other source able to operate
  on
  GData protocol, will be able to be used as information to describe a
  given
  event.
 
  Any modification in a given event at the application will reflect
  automatically in the user's calendar defined at Google Calendar.
 
  Dealing with a test application, the initial state of the list will be
  built, possibly, by data loaded from a database with non real
  information.
  What do you think about it?
 
  Douglas
 
  PS: Sorry for my possible English mistakes.
 
   Douglas,

 This sounds interesting.  Supporting GData in addition to Atom will
 strengthen Tuscany's support of Web 2.0 scenarios.

 Will your proposed work deal both with components being clients to GData
 feeds and also components providing GData feeds?


 Yours,  Mike.

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




[jira] Closed: (TUSCANY-2201) Sample chat-webapp fails in WAS 6.1

2008-04-05 Thread Luciano Resende (JIRA)

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

Luciano Resende closed TUSCANY-2201.


Resolution: Duplicate

Duplicate of TUSCANY-2200. 

 Sample chat-webapp fails in WAS 6.1
 ---

 Key: TUSCANY-2201
 URL: https://issues.apache.org/jira/browse/TUSCANY-2201
 Project: Tuscany
  Issue Type: Bug
  Components: Java SCA Samples
Affects Versions: Java-SCA-1.2
Reporter: Luciano Resende
 Fix For: Java-SCA-1.2


 No messages get sent in sample chat-webapp
 Exceptions from log
 --Start of DE processing-- = [4/4/08 14:20:45:324 PDT] , key = 
 java.io.FileNotFoundException 
 com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.handleRequest 573
 Exception = java.io.FileNotFoundException
 Source = 
 com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.handleRequest
 probeid = 573
 Stack Dump = java.io.FileNotFoundException: /SCADomain/scaDomain.js
   at 
 com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:413)
   at 
 com.ibm.ws.wswebcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:113)
   at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3276)
   at 
 com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:267)
   at 
 com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)
   at 
 com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1455)
   at 
 com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:113)
   at 
 com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454)
   at 
 com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:383)
   at 
 com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:263)
   at 
 com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
   at 
 com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
   at 
 com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
   at 
 com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
   at 
 com.ibm.io.async.AsyncChannelFuture$1.run(AsyncChannelFuture.java:205)
   at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)

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



How should parameters be validate for methods on the core-SPI? - Document in JavaDoc and: Throw IllegalArgumentException? Do nothing? Use Asserts?

2008-04-05 Thread Mark Combellack
Hi,

 

I was using the core-spi project and ran into a NullPointerException because
I passed a null into a method. Reading the JavaDoc for the method, it did
not say that I was not allowed to pass a null into the method.

 

 

The case that I ran into of the
ContextFactoryExtensionPoint.addFactory(Object factory) method. The JavaDoc
says:

 

  /**

   * Add a context factory extension.

   *

   * @param factory The factory to add

   */

 

The problem is that it does not provide any details of what happens if a
null value is passed in for the factory parameter. What actually happens in
the code is that it throws a NullPointerException.

 

 

As the core-spi is a public API, we should be very clear to the developers
that use it what will happen.

 

 

 

My question is how should we handle this? The JavaDoc should be updated to
include information about what will happen if a null is passed in. The
question is - what should the Tuscany code do? Options include:

 

 

1) Do an if check and throw an IllegalArgumentException.

 

2) Don't do anything else - just document it in the JavaDoc. If the user is
stupid enough to pass null into a method that should not be passed a null
then they deserve what they get.

 

3) Use Java Asserts. When things start going wrong, enable Asserts and the
error will be spotted. Since it is an Assert, it has no cost a runtime if
Asserts are off.

 

 

Personally, I would update the JavaDoc and do option 1 - throw
IllegalArgumentException.

 

 

I'm interested in what other people think and if there is a current policy
for handling this kind of error in Tuscany?

 

Assuming that people are in general agreement with doing option 1, I will
update the core-spi accordingly.

 

Thanks,

 

Mark

 



[jira] Updated: (TUSCANY-2182) ClassLoader issues with node2 launcher on WebSphere

2008-04-05 Thread Jean-Sebastien Delfino (JIRA)

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

Jean-Sebastien Delfino updated TUSCANY-2182:


Comment: was deleted

 ClassLoader issues with node2 launcher on WebSphere
 ---

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


 The classloader used by Node2 uses a parent-first loading scheme which does 
 not work on WebSphere application server, as different versions of the 
 Tuscany runtime dependencies are on the classpath of Webapps in the WebSphere 
 environment.
 The fix for that issue is simply to ensure that the Node2 launcher uses a 
 parent-last classloading scheme to load its runtime classes.

-- 
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-2182) ClassLoader issues with node2 launcher on WebSphere

2008-04-05 Thread Jean-Sebastien Delfino (JIRA)

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

Jean-Sebastien Delfino commented on TUSCANY-2182:
-

Here are the steps to get webapps that use the node2 launcher (see 
tutorial/catalog-webapp for an example) working on WebSphere using a WebSphere 
shared library for the Tuscany JARs.

1. Copy the following JARs from the Tuscany distribution lib directory to the 
WebSphere lib/ext directory:
jaxb2-reflection-2.1.4.jar
jaxb-api-2.1.jar
jaxb-impl-2.1.6.jar
jaxb-xjc-2.1.4.jar
stax-api-1.0-2.jar
xercesImpl-2.8.1.jar

2. Create a WebSphere shared library for Tuscany containing the following JARs 
from the Tuscany distribution lib and modules directories. 

NOTE this is a SUBSET of the JARs in the Tuscany distribution, carefully 
selected to avoid conflicts with the JARs from WebSphere and the JDK that it 
uses:

/tuscany/lib/abdera-core-0.3.0-incubating.jar
/tuscany/lib/abdera-i18n-0.3.0-incubating.jar
/tuscany/lib/abdera-parser-0.3.0-incubating.jar
/tuscany/lib/activation-1.1.jar
/tuscany/lib/activeio-2.0-r118.jar
/tuscany/lib/activeio-core-3.0.0-incubator.jar
/tuscany/lib/annogen-0.1.0.jar
/tuscany/lib/annotations-api-6.0.14.jar
/tuscany/lib/aopalliance-1.0.jar
/tuscany/lib/apache-activemq-4.1.1.jar
/tuscany/lib/axiom-api-1.2.5.jar
/tuscany/lib/axiom-dom-1.2.5.jar
/tuscany/lib/axiom-impl-1.2.5.jar
/tuscany/lib/axion-1.0-M3-dev.jar
/tuscany/lib/axis2-adb-1.3.jar
/tuscany/lib/axis2-codegen-1.3.jar
/tuscany/lib/axis2-java2wsdl-1.3.jar
/tuscany/lib/axis2-kernel-1.3.jar
/tuscany/lib/axis2-mtompolicy-1.3.jar
/tuscany/lib/backport-util-concurrent-2.1.jar
/tuscany/lib/bcprov-jdk13-132.jar
/tuscany/lib/bsf-all-3.0-beta2.jar
/tuscany/lib/cglib-nodep-2.1_3.jar
/tuscany/lib/codegen-2.2.3.jar
/tuscany/lib/codegen-ecore-2.2.3.jar
/tuscany/lib/common-2.2.3.jar
/tuscany/lib/commons-beanutils-1.6.1.jar
/tuscany/lib/commons-codec-1.3.jar
/tuscany/lib/commons-collections-3.1.jar
/tuscany/lib/commons-discovery-0.2.jar
/tuscany/lib/commons-fileupload-1.1.1.jar
/tuscany/lib/commons-httpclient-3.0.1.jar
/tuscany/lib/commons-io-1.2.jar
/tuscany/lib/commons-jexl-1.1.jar
/tuscany/lib/commons-lang-2.1.jar
/tuscany/lib/commons-logging-1.1.jar
/tuscany/lib/commons-primitives-1.0.jar
/tuscany/lib/derby-10.1.3.1.jar
/tuscany/lib/dom4j-1.6.1.jar
/tuscany/lib/dwr-2.0.1.jar
/tuscany/lib/ecore-2.2.3.jar
/tuscany/lib/ecore-change-2.2.3.jar
/tuscany/lib/ecore-xmi-2.2.3.jar
/tuscany/lib/geronimo-activation_1.0.2_spec-1.1.jar
/tuscany/lib/geronimo-activation_1.1_spec-1.0-M1.jar
/tuscany/lib/geronimo-common-1.2-beta.jar
/tuscany/lib/geronimo-commonj_1.1_spec-1.0.jar
/tuscany/lib/geronimo-connector-1.2-beta.jar
/tuscany/lib/geronimo-core-1.2-beta.jar
/tuscany/lib/geronimo-deployment-1.2-beta.jar
/tuscany/lib/geronimo-ejb_3.0_spec-1.0.jar
/tuscany/lib/geronimo-interceptor-1.2-beta.jar
/tuscany/lib/geronimo-j2ee-1.2-beta.jar
/tuscany/lib/geronimo-j2ee-connector_1.5_spec-1.0.jar
/tuscany/lib/geronimo-j2ee-jacc_1.0_spec-1.0.jar
/tuscany/lib/geronimo-j2ee-management_1.0_spec-1.0.jar
/tuscany/lib/geronimo-javamail_1.4_spec-1.0-M1.jar
/tuscany/lib/geronimo-jms_1.1_spec-1.0.jar
/tuscany/lib/geronimo-jpa_3.0_spec-1.0.jar
/tuscany/lib/geronimo-jta_1.0.1B_spec-1.0.jar
/tuscany/lib/geronimo-kernel-1.2-beta.jar
/tuscany/lib/geronimo-management-1.2-beta.jar
/tuscany/lib/geronimo-naming-1.2-beta.jar
/tuscany/lib/geronimo-security-1.2-beta.jar
/tuscany/lib/geronimo-spec-j2ee-connector-1.5-rc4.jar
/tuscany/lib/geronimo-spec-jta-1.0.1B-rc4.jar
/tuscany/lib/geronimo-system-1.2-beta.jar
/tuscany/lib/geronimo-transaction-1.2-beta.jar
/tuscany/lib/geronimo-util-1.2-beta.jar
/tuscany/lib/groovy-all-minimal-1.5.4.jar
/tuscany/lib/howl-1.0.1-1.jar
/tuscany/lib/httpcore-4.0-alpha5.jar
/tuscany/lib/httpcore-nio-4.0-alpha5.jar
/tuscany/lib/httpcore-niossl-4.0-alpha5.jar
/tuscany/lib/javacc-3.2.jar
/tuscany/lib/jaxen-1.1.1.jar
/tuscany/lib/jaxws-api-2.1.jar
/tuscany/lib/jdom-1.0.jar
/tuscany/lib/jettison-1.0-RC2.jar
/tuscany/lib/jmdns-1.0-RC2.jar
/tuscany/lib/jrms-1.1.jar
/tuscany/lib/jruby-complete-1.0.jar
/tuscany/lib/json-rpc-1.0.jar
/tuscany/lib/jsr181-api-1.0-MR1.jar
/tuscany/lib/jsr250-api-1.0.jar
/tuscany/lib/juli-6.0.14.jar
/tuscany/lib/jython-2.2.jar
/tuscany/lib/log4j-1.2.12.jar
/tuscany/lib/logkit-1.0.1.jar
/tuscany/lib/mx4j-2.1.1.jar
/tuscany/lib/mx4j-remote-2.1.1.jar
/tuscany/lib/neethi-2.0.2.jar
/tuscany/lib/ode-bpel-api-1.1.jar
/tuscany/lib/ode-bpel-compiler-1.1.jar
/tuscany/lib/ode-bpel-dao-1.1.jar
/tuscany/lib/ode-bpel-epr-1.1.jar
/tuscany/lib/ode-bpel-obj-1.1.jar
/tuscany/lib/ode-bpel-runtime-1.1.jar
/tuscany/lib/ode-bpel-schemas-1.1.jar
/tuscany/lib/ode-bpel-store-1.1.jar
/tuscany/lib/ode-dao-jpa-1.1.jar
/tuscany/lib/ode-dao-jpa-ojpa-derby-1.1.zip
/tuscany/lib/ode-jacob-1.1.jar
/tuscany/lib/ode-jacob-ap-1.1.jar
/tuscany/lib/ode-scheduler-simple-1.1.jar
/tuscany/lib/ode-utils-1.1.jar

[jira] Commented: (TUSCANY-2200) Sample calculator-webapp fails in WAS 6.1

2008-04-05 Thread Jean-Sebastien Delfino (JIRA)

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

Jean-Sebastien Delfino commented on TUSCANY-2200:
-

Could you guys please check your WebSphere install? I'm not sure how that 
affects that issue but on my installation xalan is already in the lib/ext 
directory.

 Sample calculator-webapp fails in WAS 6.1
 -

 Key: TUSCANY-2200
 URL: https://issues.apache.org/jira/browse/TUSCANY-2200
 Project: Tuscany
  Issue Type: Bug
  Components: Java SCA Samples
Affects Versions: Java-SCA-1.2
Reporter: Luciano Resende
 Fix For: Java-SCA-1.2


 Exception = org.osoa.sca.ServiceRuntimeException
 Source = com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.init
 probeid = 111
 Stack Dump = org.osoa.sca.ServiceRuntimeException: 
 java.lang.reflect.InvocationTargetException
   at 
 org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:264)
   at 
 org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(SCADomain.java:82)
   at 
 org.apache.tuscany.sca.host.webapp.WebAppServletHost.init(WebAppServletHost.java:216)
   at 
 org.apache.tuscany.sca.host.webapp.TuscanyServletFilter.init(TuscanyServletFilter.java:50)
   at 
 com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.init(FilterInstanceWrapper.java:142)
   at 
 com.ibm.ws.webcontainer.filter.WebAppFilterManager._loadFilter(WebAppFilterManager.java:465)
   at 
 com.ibm.ws.webcontainer.filter.WebAppFilterManager.loadFilter(WebAppFilterManager.java:379)
   at 
 com.ibm.ws.webcontainer.filter.WebAppFilterManager.getFilterInstanceWrapper(WebAppFilterManager.java:238)
   at 
 com.ibm.ws.webcontainer.filter.WebAppFilterManager.getFilterChain(WebAppFilterManager.java:296)
   at 
 com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:721)
   at 
 com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:673)
   at 
 com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:688)
   at 
 com.ibm.ws.wswebcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:101)
   at 
 com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.invokeFilters(DefaultExtensionProcessor.java:758)
   at 
 com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:471)
   at 
 com.ibm.ws.wswebcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:113)
   at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3276)
   at 
 com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:267)
   at 
 com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)
   at 
 com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1455)
   at 
 com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:113)
   at 
 com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454)
   at 
 com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:383)
   at 
 com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:263)
   at 
 com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
   at 
 com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
   at 
 com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
   at 
 com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
   at 
 com.ibm.io.async.AsyncChannelFuture$1.run(AsyncChannelFuture.java:205)
   at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)
 Caused by: java.lang.reflect.InvocationTargetException
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
   at 
 sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:67)
   at 
 sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
   at java.lang.reflect.Constructor.newInstance(Constructor.java:521)
   at 
 org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:246)
   ... 29 more
 Caused by: java.lang.RuntimeException: XPathFactory#newInstance() failed to 
 create an XPathFactory for the default object model: 
 http://java.sun.com/jaxp/xpath/dom with the 
 XPathFactoryConfigurationException: 
 javax.xml.xpath.XPathFactoryConfigurationException: No XPathFctory 
 

[jira] Commented: (TUSCANY-2200) Sample calculator-webapp fails in WAS 6.1

2008-04-05 Thread Jean-Sebastien Delfino (JIRA)

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

Jean-Sebastien Delfino commented on TUSCANY-2200:
-

Actually not in lib/ext, it's in the WAS lib directory: xalan-2.7.0.jar

So I'm not sure I understand why we'd need to add it again as a dependency of 
the Webapp...

 Sample calculator-webapp fails in WAS 6.1
 -

 Key: TUSCANY-2200
 URL: https://issues.apache.org/jira/browse/TUSCANY-2200
 Project: Tuscany
  Issue Type: Bug
  Components: Java SCA Samples
Affects Versions: Java-SCA-1.2
Reporter: Luciano Resende
 Fix For: Java-SCA-1.2


 Exception = org.osoa.sca.ServiceRuntimeException
 Source = com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.init
 probeid = 111
 Stack Dump = org.osoa.sca.ServiceRuntimeException: 
 java.lang.reflect.InvocationTargetException
   at 
 org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:264)
   at 
 org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(SCADomain.java:82)
   at 
 org.apache.tuscany.sca.host.webapp.WebAppServletHost.init(WebAppServletHost.java:216)
   at 
 org.apache.tuscany.sca.host.webapp.TuscanyServletFilter.init(TuscanyServletFilter.java:50)
   at 
 com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.init(FilterInstanceWrapper.java:142)
   at 
 com.ibm.ws.webcontainer.filter.WebAppFilterManager._loadFilter(WebAppFilterManager.java:465)
   at 
 com.ibm.ws.webcontainer.filter.WebAppFilterManager.loadFilter(WebAppFilterManager.java:379)
   at 
 com.ibm.ws.webcontainer.filter.WebAppFilterManager.getFilterInstanceWrapper(WebAppFilterManager.java:238)
   at 
 com.ibm.ws.webcontainer.filter.WebAppFilterManager.getFilterChain(WebAppFilterManager.java:296)
   at 
 com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:721)
   at 
 com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:673)
   at 
 com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:688)
   at 
 com.ibm.ws.wswebcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:101)
   at 
 com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.invokeFilters(DefaultExtensionProcessor.java:758)
   at 
 com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:471)
   at 
 com.ibm.ws.wswebcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:113)
   at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3276)
   at 
 com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:267)
   at 
 com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)
   at 
 com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1455)
   at 
 com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:113)
   at 
 com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454)
   at 
 com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:383)
   at 
 com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:263)
   at 
 com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
   at 
 com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
   at 
 com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
   at 
 com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
   at 
 com.ibm.io.async.AsyncChannelFuture$1.run(AsyncChannelFuture.java:205)
   at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)
 Caused by: java.lang.reflect.InvocationTargetException
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
   at 
 sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:67)
   at 
 sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
   at java.lang.reflect.Constructor.newInstance(Constructor.java:521)
   at 
 org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:246)
   ... 29 more
 Caused by: java.lang.RuntimeException: XPathFactory#newInstance() failed to 
 create an XPathFactory for the default object model: 
 http://java.sun.com/jaxp/xpath/dom with the 
 XPathFactoryConfigurationException: 
 javax.xml.xpath.XPathFactoryConfigurationException: No XPathFctory 
 

Re: How should parameters be validate for methods on the core-SPI? - Document in JavaDoc and: Throw IllegalArgumentException? Do nothing? Use Asserts?

2008-04-05 Thread Adriano Crestani
+1 for update javadoc and throw an IllegalArgumentException

I'm not familiar with this method, but I suppose a null object should not be
accepted as argument at all. Otherwise, the method should not be throwing a
NullPointerException and it should be fixed.

So, assuming this method should not accept a null argument, the best
practice, for sure, should be to throw an IllegalArgumentException and
explicit it on javadoc

Regards,
Adriano Crestani

On Sat, Apr 5, 2008 at 4:21 PM, Mark Combellack [EMAIL PROTECTED]
wrote:

 Hi,



 I was using the core-spi project and ran into a NullPointerException
 because
 I passed a null into a method. Reading the JavaDoc for the method, it did
 not say that I was not allowed to pass a null into the method.





 The case that I ran into of the
 ContextFactoryExtensionPoint.addFactory(Object factory) method. The
 JavaDoc
 says:



  /**

   * Add a context factory extension.

   *

   * @param factory The factory to add

   */



 The problem is that it does not provide any details of what happens if a
 null value is passed in for the factory parameter. What actually happens
 in
 the code is that it throws a NullPointerException.





 As the core-spi is a public API, we should be very clear to the developers
 that use it what will happen.







 My question is how should we handle this? The JavaDoc should be updated to
 include information about what will happen if a null is passed in. The
 question is - what should the Tuscany code do? Options include:





 1) Do an if check and throw an IllegalArgumentException.



 2) Don't do anything else - just document it in the JavaDoc. If the user
 is
 stupid enough to pass null into a method that should not be passed a
 null
 then they deserve what they get.



 3) Use Java Asserts. When things start going wrong, enable Asserts and the
 error will be spotted. Since it is an Assert, it has no cost a runtime if
 Asserts are off.





 Personally, I would update the JavaDoc and do option 1 - throw
 IllegalArgumentException.





 I'm interested in what other people think and if there is a current policy
 for handling this kind of error in Tuscany?



 Assuming that people are in general agreement with doing option 1, I will
 update the core-spi accordingly.



 Thanks,



 Mark






Re: Google Summer of Code: Tuscany GData Integration

2008-04-05 Thread Oscar Castaneda
Hi Douglas,
Your idea sounds really good. My recommendation is to write up your proposal
and post it (in a wiki for example) so that the community can review and
comment on it. Additionally, Jean-Sebastien, one of the mentors for this
project suggested to include use case / scenario work all along the project.
I think this is a very good idea as it provides a context for technical
issues and a big picture to keep in mind.

In case its useful, you can find my proposal for this project here:

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

best,
-oscar

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




On Sat, Apr 5, 2008 at 5:41 PM, Douglas Leite [EMAIL PROTECTED] wrote:

 Mike,

 Yes. Backing to the list of free software events example, I intend to
 build
 some components that will provide information, as feeds, to the list.
 I am not sure about the design details yet, but a component (or a set of
 components), will depict the list, that uses feeds provided by other
 components, and by the Google services.

 Thoughts?

 Douglas

 On Sat, Apr 5, 2008 at 3:59 AM, Mike Edwards 
 [EMAIL PROTECTED] wrote:

  Douglas Leite wrote:
 
   Hello community,
  
   Recently I've posted a topic talking about I come back to contribute
   with
   the development of Tuscany SCA. Well, few days after that I was
 notified
   about the Google Summer of Code event. Combining the two things, I've
   decided to look for a project idea, and try to write my work proposal.
  
   I am interested in help to integrate the GData protocol with Tuscany
 SCA
   project, writing a binding to that protocol. I purpose to reach this
 aim
   through a detailed study of the GData protocol, and the mechanism of
   definition a new binding in Tuscany. Analyzing the existing RSS, Atom,
   and
   Feed bindings, will be used as part of the study too. Moreover, the
   discussion in the mailing list will be useful to evolute the design
   decisions until an ideal stage (or at least, something near to this).
  
   At the implementation stage, I purpose the building of unit tests (as
   possible), in order to try to minimize errors and bugs.
  
   Finally, when the integration between GData and Tuscany is finished, I
   purpose to develop an example scenario. Building this will be useful
 to
   help
   whatever person which would like understand, in practice, the behavior
   of
   the new feature developed, as well as guide the development steps.
  
   I intend develop a list of free software events, where the information
   about
   each event will be fed by XML feeds. Hence, blog contents, documents,
   videos, and photos provided as feeds, respectively, by Google Blog,
   Google
   Docs, Youtube, and Piscassa Web Albums, or other source able to
 operate
   on
   GData protocol, will be able to be used as information to describe a
   given
   event.
  
   Any modification in a given event at the application will reflect
   automatically in the user's calendar defined at Google Calendar.
  
   Dealing with a test application, the initial state of the list will be
   built, possibly, by data loaded from a database with non real
   information.
   What do you think about it?
  
   Douglas
  
   PS: Sorry for my possible English mistakes.
  
Douglas,
 
  This sounds interesting.  Supporting GData in addition to Atom will
  strengthen Tuscany's support of Web 2.0 scenarios.
 
  Will your proposed work deal both with components being clients to GData
  feeds and also components providing GData feeds?
 
 
  Yours,  Mike.
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 



Re: Google Summer of Code: Tuscany GData Integration

2008-04-05 Thread Oscar Castaneda
Hi Mike,
Thanks for the tip, I've added it to my proposal for this project:

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

Any comments are greatly appreciated.

best,
-oscar

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

On Sat, Apr 5, 2008 at 8:59 AM, Mike Edwards 
[EMAIL PROTECTED] wrote:

 Douglas Leite wrote:

  Hello community,
 
  Recently I've posted a topic talking about I come back to contribute
  with
  the development of Tuscany SCA. Well, few days after that I was notified
  about the Google Summer of Code event. Combining the two things, I've
  decided to look for a project idea, and try to write my work proposal.
 
  I am interested in help to integrate the GData protocol with Tuscany SCA
  project, writing a binding to that protocol. I purpose to reach this aim
  through a detailed study of the GData protocol, and the mechanism of
  definition a new binding in Tuscany. Analyzing the existing RSS, Atom,
  and
  Feed bindings, will be used as part of the study too. Moreover, the
  discussion in the mailing list will be useful to evolute the design
  decisions until an ideal stage (or at least, something near to this).
 
  At the implementation stage, I purpose the building of unit tests (as
  possible), in order to try to minimize errors and bugs.
 
  Finally, when the integration between GData and Tuscany is finished, I
  purpose to develop an example scenario. Building this will be useful to
  help
  whatever person which would like understand, in practice, the behavior
  of
  the new feature developed, as well as guide the development steps.
 
  I intend develop a list of free software events, where the information
  about
  each event will be fed by XML feeds. Hence, blog contents, documents,
  videos, and photos provided as feeds, respectively, by Google Blog,
  Google
  Docs, Youtube, and Piscassa Web Albums, or other source able to operate
  on
  GData protocol, will be able to be used as information to describe a
  given
  event.
 
  Any modification in a given event at the application will reflect
  automatically in the user's calendar defined at Google Calendar.
 
  Dealing with a test application, the initial state of the list will be
  built, possibly, by data loaded from a database with non real
  information.
  What do you think about it?
 
  Douglas
 
  PS: Sorry for my possible English mistakes.
 
   Douglas,

 This sounds interesting.  Supporting GData in addition to Atom will
 strengthen Tuscany's support of Web 2.0 scenarios.

 Will your proposed work deal both with components being clients to GData
 feeds and also components providing GData feeds?


 Yours,  Mike.

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




Re: Google Summer of Code: Tuscany GData Integration

2008-04-05 Thread Oscar Castaneda
A question related to conversations: should a composition of Google service
components provide a RESTful service interface to manipulate the application
as a whole?
best,
-oscar

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

On Sat, Apr 5, 2008 at 10:13 PM, Oscar Castaneda [EMAIL PROTECTED]
wrote:

 Hi Mike,
 Thanks for the tip, I've added it to my proposal for this project:


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

 Any comments are greatly appreciated.

 best,
 -oscar

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

 On Sat, Apr 5, 2008 at 8:59 AM, Mike Edwards 
 [EMAIL PROTECTED] wrote:

  Douglas Leite wrote:
 
   Hello community,
  
   Recently I've posted a topic talking about I come back to contribute
   with
   the development of Tuscany SCA. Well, few days after that I was
   notified
   about the Google Summer of Code event. Combining the two things, I've
   decided to look for a project idea, and try to write my work proposal.
  
   I am interested in help to integrate the GData protocol with Tuscany
   SCA
   project, writing a binding to that protocol. I purpose to reach this
   aim
   through a detailed study of the GData protocol, and the mechanism of
   definition a new binding in Tuscany. Analyzing the existing RSS, Atom,
   and
   Feed bindings, will be used as part of the study too. Moreover, the
   discussion in the mailing list will be useful to evolute the design
   decisions until an ideal stage (or at least, something near to this).
  
   At the implementation stage, I purpose the building of unit tests (as
   possible), in order to try to minimize errors and bugs.
  
   Finally, when the integration between GData and Tuscany is finished, I
   purpose to develop an example scenario. Building this will be useful
   to help
   whatever person which would like understand, in practice, the behavior
   of
   the new feature developed, as well as guide the development steps.
  
   I intend develop a list of free software events, where the information
   about
   each event will be fed by XML feeds. Hence, blog contents, documents,
   videos, and photos provided as feeds, respectively, by Google Blog,
   Google
   Docs, Youtube, and Piscassa Web Albums, or other source able to
   operate on
   GData protocol, will be able to be used as information to describe a
   given
   event.
  
   Any modification in a given event at the application will reflect
   automatically in the user's calendar defined at Google Calendar.
  
   Dealing with a test application, the initial state of the list will be
   built, possibly, by data loaded from a database with non real
   information.
   What do you think about it?
  
   Douglas
  
   PS: Sorry for my possible English mistakes.
  
Douglas,
 
  This sounds interesting.  Supporting GData in addition to Atom will
  strengthen Tuscany's support of Web 2.0 scenarios.
 
  Will your proposed work deal both with components being clients to GData
  feeds and also components providing GData feeds?
 
 
  Yours,  Mike.
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 



[jira] Commented: (TUSCANY-2200) Sample calculator-webapp fails in WAS 6.1

2008-04-05 Thread Luciano Resende (JIRA)

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

Luciano Resende commented on TUSCANY-2200:
--

A plain WAS install comes with an empty lib directory. From my investigation, 
it seems that WAS have an old version of xalan as below, 

./deploytool/itp/plugins/com.ibm.ccl.xtt.xslt4j_2.7.5.v200610160956/lib/xalan.jar

and when the tuscany app try to use it,  we see ClassCastExceptions on the log 
as below

java.lang.ClassCastException: 
org.apache.xerces.jaxp.datatype.DatatypeFactoryImpl incompatible with 
javax.xml.datatype.DatatypeFactory


 Sample calculator-webapp fails in WAS 6.1
 -

 Key: TUSCANY-2200
 URL: https://issues.apache.org/jira/browse/TUSCANY-2200
 Project: Tuscany
  Issue Type: Bug
  Components: Java SCA Samples
Affects Versions: Java-SCA-1.2
Reporter: Luciano Resende
 Fix For: Java-SCA-1.2


 Exception = org.osoa.sca.ServiceRuntimeException
 Source = com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.init
 probeid = 111
 Stack Dump = org.osoa.sca.ServiceRuntimeException: 
 java.lang.reflect.InvocationTargetException
   at 
 org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:264)
   at 
 org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(SCADomain.java:82)
   at 
 org.apache.tuscany.sca.host.webapp.WebAppServletHost.init(WebAppServletHost.java:216)
   at 
 org.apache.tuscany.sca.host.webapp.TuscanyServletFilter.init(TuscanyServletFilter.java:50)
   at 
 com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.init(FilterInstanceWrapper.java:142)
   at 
 com.ibm.ws.webcontainer.filter.WebAppFilterManager._loadFilter(WebAppFilterManager.java:465)
   at 
 com.ibm.ws.webcontainer.filter.WebAppFilterManager.loadFilter(WebAppFilterManager.java:379)
   at 
 com.ibm.ws.webcontainer.filter.WebAppFilterManager.getFilterInstanceWrapper(WebAppFilterManager.java:238)
   at 
 com.ibm.ws.webcontainer.filter.WebAppFilterManager.getFilterChain(WebAppFilterManager.java:296)
   at 
 com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:721)
   at 
 com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:673)
   at 
 com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:688)
   at 
 com.ibm.ws.wswebcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:101)
   at 
 com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.invokeFilters(DefaultExtensionProcessor.java:758)
   at 
 com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:471)
   at 
 com.ibm.ws.wswebcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:113)
   at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3276)
   at 
 com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:267)
   at 
 com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)
   at 
 com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1455)
   at 
 com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:113)
   at 
 com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454)
   at 
 com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:383)
   at 
 com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:263)
   at 
 com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
   at 
 com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
   at 
 com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
   at 
 com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
   at 
 com.ibm.io.async.AsyncChannelFuture$1.run(AsyncChannelFuture.java:205)
   at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)
 Caused by: java.lang.reflect.InvocationTargetException
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
   at 
 sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:67)
   at 
 sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
   at java.lang.reflect.Constructor.newInstance(Constructor.java:521)
   at 
 org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:246)
   ... 29 more
 Caused by: 

Re: [SCA 1.2] RC3

2008-04-05 Thread Luciano Resende
There is still a issue with our WebApps running in WAS that I'd like
to get resolved before callling a vote on it. For now, the changes
should be very minimal, and localized to the sample webapp pom, so
your review would be appreciated.

On Sat, Apr 5, 2008 at 3:04 AM, ant elder [EMAIL PROTECTED] wrote:
 Also how about an official RC to vote on? I'd started having a look at the
  original RC3 and then the downloads got updated so i need to start over, is
  this the final RC3 or is it gong to be updated again and i should wait till
  a vote is called?

...ant

  On Sat, Apr 5, 2008 at 10:33 AM, Dave Sowerby [EMAIL PROTECTED]
  wrote:


   Hi,
  
   Would it be possible to upload the maven repository for RC3?
  
   Cheers,
  
   Dave.
  
   On Fri, Apr 4, 2008 at 8:06 PM, Luciano Resende [EMAIL PROTECTED]
   wrote:
New distributions should be available in couple mins in my people.a.o
   space [1]
   
   
 [1] 
 http://people.apache.org/~lresende/tuscany/sca-1.2-RC3/http://people.apache.org/%7Elresende/tuscany/sca-1.2-RC3/


  
   
   
On Fri, Apr 4, 2008 at 10:06 AM, Luciano Resende [EMAIL PROTECTED]
   wrote:
  Thanks Raymond
 
 I'm trying this fix, and another one for a jetty version mismatch.
   I'll be generating a new distribution soon and will update this
   thread
   when it's ready.
 
 
 
   On Fri, Apr 4, 2008 at 9:30 AM, Raymond Feng [EMAIL PROTECTED]
   wrote:
Hi,
   
 The extra jar is from woodstox:wstx-asl:jar:3.2.1 (same artifact
   and
version id with different group id).
   
 +-
   
   
 org.apache.tuscany.sca:tuscany-java2wsdl:jar:1.2-incubating-SNAPSHOT:compile
 |  |  +- org.apache.axis2:axis2-codegen:jar:1.3:compile
 |  |  +- org.eclipse.emf:codegen:jar:2.2.3:compile
 |  |  +- org.eclipse.emf:codegen-ecore:jar:2.2.3:compile
 |  |  +- annogen:annogen:jar:0.1.0:compile
 |  |  \- woodstox:wstx-asl:jar:3.2.1:runtime
   
 I have checked in a fix in trunk under r644756. Please merge it
   into 1.2
branch
   
 Thanks,
 Raymond
 --
 From: Raymond Feng [EMAIL PROTECTED]
 Sent: Friday, April 04, 2008 9:11 AM
 To: tuscany-dev@ws.apache.org; [EMAIL PROTECTED]
 Subject: Re: [SCA 1.2] RC3
   
   
   
   
 Hi,

 Here is the first issue: I'm seeing duplicate
   lib/wstx-asl-3.2.1.jar in
both the zip and gz distro. It's very strange.

 Thanks,
 Raymond

 --
 From: Luciano Resende [EMAIL PROTECTED]
 Sent: Thursday, April 03, 2008 11:09 PM
 To: tuscany-dev tuscany-dev@ws.apache.org; tuscany user
[EMAIL PROTECTED]
 Subject: [SCA 1.2] RC3


  I have uploaded stable distribution and possible candidate for
   our SCA
  1.2 RC3 in my people.a.o space [1] (should be live in about 20
   mins).
  Please give it a try and help check the samples, while I
   finish
  reviewing the license. Please report issues via JIRA. If
   everything
  goes ok, I plan to start a vote in the morning.
 
 
  [1] 
 http://people.apache.org/~lresende/tuscany/sca-1.2-RC3/http://people.apache.org/%7Elresende/tuscany/sca-1.2-RC3/


  --
  Luciano Resende
  Apache Tuscany Committer
  
 http://people.apache.org/~lresendehttp://people.apache.org/%7Elresende

 http://lresende.blogspot.com/
 
 
   -
  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]
   
   
 
 
 
   --
   Luciano Resende
   Apache Tuscany Committer
   
 http://people.apache.org/~lresendehttp://people.apache.org/%7Elresende

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

http://lresende.blogspot.com/
   
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
   
   
  
  
  
   --
   Dave Sowerby MEng MBCS
   ey,Is it possible to updated
  


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




-- 
Luciano Resende
Apache 

[jira] Commented: (TUSCANY-2200) Sample calculator-webapp fails in WAS 6.1

2008-04-05 Thread Luciano Resende (JIRA)

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

Luciano Resende commented on TUSCANY-2200:
--

I should have said that a plain WAS install don't have Xalan in lib folder, 
instead of saying it was empty.

 Sample calculator-webapp fails in WAS 6.1
 -

 Key: TUSCANY-2200
 URL: https://issues.apache.org/jira/browse/TUSCANY-2200
 Project: Tuscany
  Issue Type: Bug
  Components: Java SCA Samples
Affects Versions: Java-SCA-1.2
Reporter: Luciano Resende
 Fix For: Java-SCA-1.2


 Exception = org.osoa.sca.ServiceRuntimeException
 Source = com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.init
 probeid = 111
 Stack Dump = org.osoa.sca.ServiceRuntimeException: 
 java.lang.reflect.InvocationTargetException
   at 
 org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:264)
   at 
 org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(SCADomain.java:82)
   at 
 org.apache.tuscany.sca.host.webapp.WebAppServletHost.init(WebAppServletHost.java:216)
   at 
 org.apache.tuscany.sca.host.webapp.TuscanyServletFilter.init(TuscanyServletFilter.java:50)
   at 
 com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.init(FilterInstanceWrapper.java:142)
   at 
 com.ibm.ws.webcontainer.filter.WebAppFilterManager._loadFilter(WebAppFilterManager.java:465)
   at 
 com.ibm.ws.webcontainer.filter.WebAppFilterManager.loadFilter(WebAppFilterManager.java:379)
   at 
 com.ibm.ws.webcontainer.filter.WebAppFilterManager.getFilterInstanceWrapper(WebAppFilterManager.java:238)
   at 
 com.ibm.ws.webcontainer.filter.WebAppFilterManager.getFilterChain(WebAppFilterManager.java:296)
   at 
 com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:721)
   at 
 com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:673)
   at 
 com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:688)
   at 
 com.ibm.ws.wswebcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:101)
   at 
 com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.invokeFilters(DefaultExtensionProcessor.java:758)
   at 
 com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:471)
   at 
 com.ibm.ws.wswebcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:113)
   at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3276)
   at 
 com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:267)
   at 
 com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)
   at 
 com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1455)
   at 
 com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:113)
   at 
 com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454)
   at 
 com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:383)
   at 
 com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:263)
   at 
 com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
   at 
 com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
   at 
 com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
   at 
 com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
   at 
 com.ibm.io.async.AsyncChannelFuture$1.run(AsyncChannelFuture.java:205)
   at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)
 Caused by: java.lang.reflect.InvocationTargetException
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
   at 
 sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:67)
   at 
 sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
   at java.lang.reflect.Constructor.newInstance(Constructor.java:521)
   at 
 org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:246)
   ... 29 more
 Caused by: java.lang.RuntimeException: XPathFactory#newInstance() failed to 
 create an XPathFactory for the default object model: 
 http://java.sun.com/jaxp/xpath/dom with the 
 XPathFactoryConfigurationException: 
 javax.xml.xpath.XPathFactoryConfigurationException: No XPathFctory 
 implementation found for the object model: 

[jira] Commented: (TUSCANY-2200) Sample calculator-webapp fails in WAS 6.1

2008-04-05 Thread Luciano Resende (JIRA)

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

Luciano Resende commented on TUSCANY-2200:
--

Just to clarify, after I added the proper xalan version to the classpath, I 
start to get other exceptions that goes away when adding xercesImpl to the 
classpath

javax.xml.parsers.FactoryConfigurationError: Provider for 
javax.xml.parsers.DocumentBuilderFactory cannot be found

 Sample calculator-webapp fails in WAS 6.1
 -

 Key: TUSCANY-2200
 URL: https://issues.apache.org/jira/browse/TUSCANY-2200
 Project: Tuscany
  Issue Type: Bug
  Components: Java SCA Samples
Affects Versions: Java-SCA-1.2
Reporter: Luciano Resende
 Fix For: Java-SCA-1.2


 Exception = org.osoa.sca.ServiceRuntimeException
 Source = com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.init
 probeid = 111
 Stack Dump = org.osoa.sca.ServiceRuntimeException: 
 java.lang.reflect.InvocationTargetException
   at 
 org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:264)
   at 
 org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(SCADomain.java:82)
   at 
 org.apache.tuscany.sca.host.webapp.WebAppServletHost.init(WebAppServletHost.java:216)
   at 
 org.apache.tuscany.sca.host.webapp.TuscanyServletFilter.init(TuscanyServletFilter.java:50)
   at 
 com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.init(FilterInstanceWrapper.java:142)
   at 
 com.ibm.ws.webcontainer.filter.WebAppFilterManager._loadFilter(WebAppFilterManager.java:465)
   at 
 com.ibm.ws.webcontainer.filter.WebAppFilterManager.loadFilter(WebAppFilterManager.java:379)
   at 
 com.ibm.ws.webcontainer.filter.WebAppFilterManager.getFilterInstanceWrapper(WebAppFilterManager.java:238)
   at 
 com.ibm.ws.webcontainer.filter.WebAppFilterManager.getFilterChain(WebAppFilterManager.java:296)
   at 
 com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:721)
   at 
 com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:673)
   at 
 com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:688)
   at 
 com.ibm.ws.wswebcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:101)
   at 
 com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.invokeFilters(DefaultExtensionProcessor.java:758)
   at 
 com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:471)
   at 
 com.ibm.ws.wswebcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:113)
   at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3276)
   at 
 com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:267)
   at 
 com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)
   at 
 com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1455)
   at 
 com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:113)
   at 
 com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454)
   at 
 com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:383)
   at 
 com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:263)
   at 
 com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
   at 
 com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
   at 
 com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
   at 
 com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
   at 
 com.ibm.io.async.AsyncChannelFuture$1.run(AsyncChannelFuture.java:205)
   at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)
 Caused by: java.lang.reflect.InvocationTargetException
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
   at 
 sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:67)
   at 
 sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
   at java.lang.reflect.Constructor.newInstance(Constructor.java:521)
   at 
 org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:246)
   ... 29 more
 Caused by: java.lang.RuntimeException: XPathFactory#newInstance() failed to 
 create an XPathFactory for the default object model: 
 http://java.sun.com/jaxp/xpath/dom with the 
 

Re: [SCA 1.2] Help with binding-notification samples

2008-04-05 Thread Ignacio Silva-Lepe
Take a look at TUSCANY-1791 for previous instances of this issue and
resolution.

Thanks

On Fri, Apr 4, 2008 at 7:46 PM, Luciano Resende [EMAIL PROTECTED]
wrote:

 We are seeing some issues with the binding-notification samples (e.g
 TUSCANY-2203).
 It would be great if people more familiar with this extension could
 help getting them ready for the release.


 [1] https://issues.apache.org/jira/browse/TUSCANY-2203

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




[jira] Commented: (TUSCANY-2202) Sample feed-aggregator fails in WAS 6.1

2008-04-05 Thread Luciano Resende (JIRA)

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

Luciano Resende commented on TUSCANY-2202:
--

I was able to debug and find what's causing the issue... This issue was 
introduced in in revision #633212

When running with embedded tomcat
INFO:  request.getRequestURI : /ShoppingCart/Cart/
INFO:  request.getServletPath : /ShoppingCart/Cart

When running with tomcat and using host-webapp
INFO:  request.getRequestURI : /sample-feed-aggregator-webapp/atomAggregator
INFO:  request.getServletPath : /atomAggregator

This cause the atom binding to get a corrupted path info...
String path = 
URLDecoder.decode(request.getRequestURI().substring(request.getServletPath().length()),
 UTF-8);

this is what is causing the 404 on the client application. 

Let me take a look and fix the atom-abdera extension

 Sample feed-aggregator fails in WAS 6.1
 ---

 Key: TUSCANY-2202
 URL: https://issues.apache.org/jira/browse/TUSCANY-2202
 Project: Tuscany
  Issue Type: Bug
  Components: Java SCA Samples
Affects Versions: Java-SCA-1.2
Reporter: Luciano Resende
 Fix For: Java-SCA-1.2


 Start the application and click on one of the links
 Error 404: SRVE0190E: File not found: /rssAggregator

-- 
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: [SCA 1.2] Help with binding-notification samples

2008-04-05 Thread haleh mahbod
Hi Ignacio,

I took a look at the other JIRAs that you referenced. They are talking about
warning messages. The JIRA that I raised is seeing an EncodingException. Are
they these same problems?

 [java] org.apache.tuscany.sca.binding.notification.util.IOUtils$IOUtilsExce

ption:
org.apache.tuscany.sca.binding.notification.encoding.EncodingException: c
om.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog
 [java] at [row,col {unknown-source}]: [1,0]
 [java] at org.apache.tuscany.sca.binding.notification.NotificationTypeM

anagerImpl$InputStreamDecoder.read(NotificationTypeManagerImpl.java:610)
 [java] at org.apache.tuscany.sca.binding.notification.util.IOUtils.send

HttpRequest(IOUtils.java:95)



On 4/5/08, Ignacio Silva-Lepe [EMAIL PROTECTED] wrote:

 Take a look at TUSCANY-1791 for previous instances of this issue and
 resolution.

 Thanks

 On Fri, Apr 4, 2008 at 7:46 PM, Luciano Resende [EMAIL PROTECTED]
 wrote:

  We are seeing some issues with the binding-notification samples (e.g
  TUSCANY-2203).
  It would be great if people more familiar with this extension could
  help getting them ready for the release.
 
 
  [1] https://issues.apache.org/jira/browse/TUSCANY-2203
 
  --
  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]
 
 



[jira] Assigned: (TUSCANY-2205) README for simple-bigbank has incorrect information

2008-04-05 Thread haleh mahbod (JIRA)

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

haleh mahbod reassigned TUSCANY-2205:
-

Assignee: haleh mahbod

 README  for simple-bigbank has incorrect information
 

 Key: TUSCANY-2205
 URL: https://issues.apache.org/jira/browse/TUSCANY-2205
 Project: Tuscany
  Issue Type: Test
  Components: Java SCA Samples
Affects Versions: Java-SCA-1.2
Reporter: haleh mahbod
Assignee: haleh mahbod
Priority: Minor
 Fix For: Java-SCA-1.2


 Composite description for simple-bigbank is incorrect. It seems to be a copy 
 of the calcluator instead.
 Even the the name of he sample is calculator

-- 
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] Created: (TUSCANY-2205) README for simple-bigbank has incorrect information

2008-04-05 Thread haleh mahbod (JIRA)
README  for simple-bigbank has incorrect information


 Key: TUSCANY-2205
 URL: https://issues.apache.org/jira/browse/TUSCANY-2205
 Project: Tuscany
  Issue Type: Test
  Components: Java SCA Samples
Affects Versions: Java-SCA-1.2
Reporter: haleh mahbod
Priority: Minor
 Fix For: Java-SCA-1.2


Composite description for simple-bigbank is incorrect. It seems to be a copy of 
the calcluator instead.
Even the the name of he sample is calculator

-- 
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: [SCA 1.2] RC3

2008-04-05 Thread haleh mahbod
just letting you know that I ran the following samples on windows xp using
this version and they worked fine:
quote-xquery, simple-bigbank*, store, supply-chain, osgi-supply-chain



On 4/5/08, Luciano Resende [EMAIL PROTECTED] wrote:

 There is still a issue with our WebApps running in WAS that I'd like
 to get resolved before callling a vote on it. For now, the changes
 should be very minimal, and localized to the sample webapp pom, so
 your review would be appreciated.

 On Sat, Apr 5, 2008 at 3:04 AM, ant elder [EMAIL PROTECTED] wrote:
  Also how about an official RC to vote on? I'd started having a look at
 the
   original RC3 and then the downloads got updated so i need to start
 over, is
   this the final RC3 or is it gong to be updated again and i should wait
 till
   a vote is called?
 
 ...ant
 
   On Sat, Apr 5, 2008 at 10:33 AM, Dave Sowerby [EMAIL PROTECTED]
   wrote:
 
 
Hi,
   
Would it be possible to upload the maven repository for RC3?
   
Cheers,
   
Dave.
   
On Fri, Apr 4, 2008 at 8:06 PM, Luciano Resende [EMAIL PROTECTED]
wrote:
 New distributions should be available in couple mins in my
 people.a.o
space [1]


  [1] http://people.apache.org/~lresende/tuscany/sca-1.2-RC3/
 http://people.apache.org/%7Elresende/tuscany/sca-1.2-RC3/
 
 
   


 On Fri, Apr 4, 2008 at 10:06 AM, Luciano Resende 
 [EMAIL PROTECTED]
wrote:
   Thanks Raymond
  
  I'm trying this fix, and another one for a jetty version
 mismatch.
I'll be generating a new distribution soon and will update this
thread
when it's ready.
  
  
  
On Fri, Apr 4, 2008 at 9:30 AM, Raymond Feng 
 [EMAIL PROTECTED]
wrote:
 Hi,

  The extra jar is from woodstox:wstx-asl:jar:3.2.1 (same
 artifact
and
 version id with different group id).

  +-

   
 org.apache.tuscany.sca:tuscany-java2wsdl:jar:1.2-incubating-SNAPSHOT:compile
  |  |  +- org.apache.axis2:axis2-codegen:jar:1.3:compile
  |  |  +- org.eclipse.emf:codegen:jar:2.2.3:compile
  |  |  +- org.eclipse.emf:codegen-ecore:jar:2.2.3:compile
  |  |  +- annogen:annogen:jar:0.1.0:compile
  |  |  \- woodstox:wstx-asl:jar:3.2.1:runtime

  I have checked in a fix in trunk under r644756. Please merge
 it
into 1.2
 branch

  Thanks,
  Raymond
  --
  From: Raymond Feng [EMAIL PROTECTED]
  Sent: Friday, April 04, 2008 9:11 AM
  To: tuscany-dev@ws.apache.org; [EMAIL PROTECTED]
  Subject: Re: [SCA 1.2] RC3




  Hi,
 
  Here is the first issue: I'm seeing duplicate
lib/wstx-asl-3.2.1.jar in
 both the zip and gz distro. It's very strange.
 
  Thanks,
  Raymond
 
  --
  From: Luciano Resende [EMAIL PROTECTED]
  Sent: Thursday, April 03, 2008 11:09 PM
  To: tuscany-dev tuscany-dev@ws.apache.org; tuscany
 user
 [EMAIL PROTECTED]
  Subject: [SCA 1.2] RC3
 
 
   I have uploaded stable distribution and possible
 candidate for
our SCA
   1.2 RC3 in my people.a.o space [1] (should be live in
 about 20
mins).
   Please give it a try and help check the samples, while I
finish
   reviewing the license. Please report issues via JIRA. If
everything
   goes ok, I plan to start a vote in the morning.
  
  
   [1]
 http://people.apache.org/~lresende/tuscany/sca-1.2-RC3/
 http://people.apache.org/%7Elresende/tuscany/sca-1.2-RC3/
 
 
   --
   Luciano Resende
   Apache Tuscany Committer
   http://people.apache.org/~lresende
 http://people.apache.org/%7Elresende
 
  http://lresende.blogspot.com/
  
  
-
   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]


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



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

   
   

[jira] Resolved: (TUSCANY-2200) Sample calculator-webapp fails in WAS 6.1

2008-04-05 Thread Luciano Resende (JIRA)

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

Luciano Resende resolved TUSCANY-2200.
--

Resolution: Fixed
  Assignee: Luciano Resende

Workaround for Java SCA 1.2 release added in revision 645200

 Sample calculator-webapp fails in WAS 6.1
 -

 Key: TUSCANY-2200
 URL: https://issues.apache.org/jira/browse/TUSCANY-2200
 Project: Tuscany
  Issue Type: Bug
  Components: Java SCA Samples
Affects Versions: Java-SCA-1.2
Reporter: Luciano Resende
Assignee: Luciano Resende
 Fix For: Java-SCA-1.2


 Exception = org.osoa.sca.ServiceRuntimeException
 Source = com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.init
 probeid = 111
 Stack Dump = org.osoa.sca.ServiceRuntimeException: 
 java.lang.reflect.InvocationTargetException
   at 
 org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:264)
   at 
 org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(SCADomain.java:82)
   at 
 org.apache.tuscany.sca.host.webapp.WebAppServletHost.init(WebAppServletHost.java:216)
   at 
 org.apache.tuscany.sca.host.webapp.TuscanyServletFilter.init(TuscanyServletFilter.java:50)
   at 
 com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.init(FilterInstanceWrapper.java:142)
   at 
 com.ibm.ws.webcontainer.filter.WebAppFilterManager._loadFilter(WebAppFilterManager.java:465)
   at 
 com.ibm.ws.webcontainer.filter.WebAppFilterManager.loadFilter(WebAppFilterManager.java:379)
   at 
 com.ibm.ws.webcontainer.filter.WebAppFilterManager.getFilterInstanceWrapper(WebAppFilterManager.java:238)
   at 
 com.ibm.ws.webcontainer.filter.WebAppFilterManager.getFilterChain(WebAppFilterManager.java:296)
   at 
 com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:721)
   at 
 com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:673)
   at 
 com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:688)
   at 
 com.ibm.ws.wswebcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:101)
   at 
 com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.invokeFilters(DefaultExtensionProcessor.java:758)
   at 
 com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:471)
   at 
 com.ibm.ws.wswebcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:113)
   at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3276)
   at 
 com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:267)
   at 
 com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)
   at 
 com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1455)
   at 
 com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:113)
   at 
 com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454)
   at 
 com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:383)
   at 
 com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:263)
   at 
 com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
   at 
 com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
   at 
 com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
   at 
 com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
   at 
 com.ibm.io.async.AsyncChannelFuture$1.run(AsyncChannelFuture.java:205)
   at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)
 Caused by: java.lang.reflect.InvocationTargetException
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
   at 
 sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:67)
   at 
 sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
   at java.lang.reflect.Constructor.newInstance(Constructor.java:521)
   at 
 org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:246)
   ... 29 more
 Caused by: java.lang.RuntimeException: XPathFactory#newInstance() failed to 
 create an XPathFactory for the default object model: 
 http://java.sun.com/jaxp/xpath/dom with the 
 XPathFactoryConfigurationException: 
 javax.xml.xpath.XPathFactoryConfigurationException: No XPathFctory 
 implementation found for the object model: http://java.sun.com/jaxp/xpath/dom