Re: Simple way to run Tuscany from source distribution?
Probably, a possible way to accomplish this would be to make the ant scripts more flexible, and lookup the distribution based on a user defined configuration. This way, you could get a distribution and define where it is in your build properties and that would be used by the ant scripts and allow you to build and run from source distro or trunk. On Thu, Jun 12, 2008 at 8:54 AM, Luciano Resende [EMAIL PROTECTED] wrote: Hey Scott Currently, our ant script and guides are based on having a distribution available, and you will have to use maven if you want to build/run from trunk source or a source distribution. On Thu, Jun 12, 2008 at 8:44 AM, Scott Kurz [EMAIL PROTECTED] wrote: What's a simple way to run simple apps like the samples from the source distribution? I noticed on the Getting Started: http://incubator.apache.org/tuscany/getting-started-with-tuscany-using-the-command-line.html it assumes you're running from the binary? I'm looking for something either command-line or Ant-based and trying to avoid Maven. Thanks, Scott -- 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/
Re: Tuscany plug-in and Eclipse 3.4
Hi Leucir We have been using the Tuscany plugin in both Eclipse Europa and with some recent changes in Eclipse 3.2 as well. I'm assuming that by Eclipse 3.4, you mean Eclipse Ganymede, and if so, I'd recommend that you use a GA version such as Europa. I gave Ganymede a quick try and was having some issues even with basic functionality in the java perspective. Please let me know if it does not work for you in Eclipse Europa. On Tue, May 20, 2008 at 5:40 PM, Leu [EMAIL PROTECTED] wrote: Hi. When trying to install Tuscany plugin into Eclipse 3.4, eclipse claims that plugin version uses procedures that are not compatible with the current solution support, and asks to use Eclipse's older Update Manager. So, after use the older one, the following error is shown. WST XML Core (3.0.0.v200805040310-7A7NEFGE7QYGHMHnKpO8SO) requires plug-in org.eclipse.xsd (2.2.0), or compatible. The screenshots are attached. Thanks. Leucir -- Luciano Resende Apache Tuscany Committer http://people.apache.org/~lresende http://lresende.blogspot.com/
Re: Web Service References
Would you mind creating a JIRA and posting at least your composite, wsdl and deploy.xml files so i can take a look. On Thu, May 22, 2008 at 9:00 AM, Jean-Jacques Dubray [EMAIL PROTECTED] wrote: Good point, I removed the tuscany namespace that had been added by the Composite Editor and the errors are gone I do get however: [java] Starting setup [java] [INFO] - GeronimoLog.info(79) | Using embedded Geronimo transaction manager [java] java.lang.NullPointerException The same behavior is true whether I use: interface.wsdl interface= http://192.168.2.2:8085/GreetingsService#wsdl.interface(Greetings)/ or interface.wsdl interface= http://192.168.2.2:8085/GreetingsService#wsdl.portType(Greetings)/ JJ- On Thu, May 22, 2008 at 8:49 AM, Luciano Resende [EMAIL PROTECTED] wrote: The errors you are getting usually means that the necessary dependencies that register processors to parse those elements are not available (e.g implementation.bpel and interface.wsdl). On Thu, May 22, 2008 at 8:11 AM, Jean-Jacques Dubray [EMAIL PROTECTED] wrote: Mike: I don't know if you are talking about this sample: https://svn.apache.org/repos/asf/incubator/tuscany/java/sca/samples/helloworld-bpel-ws/ If it's the case, the helloworld.composite does not have a reference, it simply exposes a BPEL implementation as a service. I think I understand a bit better the rationale for not modeling external references as components and why components need to have an implementation. I am fine with it since a component must belong to a domain. I have tried to do some cross-domain work by modeling a service (external to the domain) invoked by a BPEL implementation and I get some errors. I don't know if anyone could help me. Here is my composite file (I replaced the GreetingsService component by a reference to an external web service (implemented in a different domain)): ?xml version=1.0 encoding=ISO-8859-15? composite xmlns=http://www.osoa.org/xmlns/sca/1.0; xmlns:sca= http://www.osoa.org/xmlns/sca/1.0; xmlns:hns=http://helloworld; xmlns:instance=http://www.w3.org/2004/08/wsdl-instance; xmlns:tuscany= http://tuscany.apache.org/xmlns/sca/1.0; name=helloworld targetNamespace= http://bpel; component name=HelloWorldService tuscany:implementation.bpel process=hns:HelloWorld/ reference name=greetingsPartnerLink / /component reference name=GreetingsService promote=HelloWorldService/greetingsPartnerLink tuscany:interface.wsdl interface= http://laptop2:8085/GreetingsService#wsdl.portType(Greetings)http://laptop2:8085/GreetingsService#wsdl.portType%28Greetings%29 / binding.ws wsdlElement= http://laptop2:8085/GreetingsService#wsdl.service(GreetingsService)http://laptop2:8085/GreetingsService#wsdl.service%28GreetingsService%29 instance:wsdlLocation=http://laptop2:8085/GreetingsService.wsdl/ /reference /composite I do get a series of errors coming from the domain trying to implement this composite: [java] May 22, 2008 7:44:59 AM org.apache.tuscany.sca.contribution.processor.ExtensibleStAXArtifactProcessor read [java] WARNING: Element { http://tuscany.apache.org/xmlns/sca/1.0}implementation.bpelhttp://tuscany.apache.org/xmlns/sca/1.0%7Dimplementation.bpelcannot be processed. ([row,col {unknown-source}]: [4,5]) [java] May 22, 2008 7:44:59 AM org.apache.tuscany.sca.contribution.processor.ExtensibleStAXArtifactProcessor read [java] WARNING: Element { http://tuscany.apache.org/xmlns/sca/1.0}interface.wsdlhttp://tuscany.apache.org/xmlns/sca/1.0%7Dinterface.wsdlcannot be processed. ([row,col {unknown-source}]: [8,5]) [java] May 22, 2008 7:44:59 AM org.apache.tuscany.sca.assembly.builder.impl.CompositeBuilderImpl$1 problem [java] WARNING: No implementation for component: HelloWorldService [java] May 22, 2008 7:44:59 AM org.apache.tuscany.sca.assembly.builder.impl.CompositeBuilderImpl$1 problem [java] WARNING: Reference not found for component reference: HelloWorldService/greetingsPartnerLink [java] May 22, 2008 7:44:59 AM org.apache.tuscany.sca.assembly.builder.impl.CompositeBuilderImpl$1 problem [java] WARNING: No implementation for component: HelloWorldService [java] May 22, 2008 7:44:59 AM org.apache.tuscany.sca.assembly.builder.impl.CompositeBuilderImpl$1 problem [java] WARNING: Reference not found for component reference: HelloWorldService/greetingsPartnerLink [java] No service is declared on component HelloWorldService BTW, of course the greetings service is up and running and I can query its WSDL (v1.1) In the composite I did try both wsdl.interface and wsdl.portType and got the same result (same interface.wsdl cannot be processed) thanks, JJ- On Sat, May 17, 2008 at 7:29 AM, Jean-Jacques Dubray [EMAIL PROTECTED] wrote: Luciano, Mike: thanks for the detailed
Re: Reg: Interface not found for port type in BPEL
in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system. ***INFOSYS End of Disclaimer INFOSYS*** -- Luciano Resende Apache Tuscany Committer http://people.apache.org/~lresende http://lresende.blogspot.com/
Re: Web Service References
Hey Jean-Jacques Dubray Let me try to respond your questions : The helloworld.composite defined in the itest/bpel/helloworld-reference defines a GreetingsServiceComponent that is implemented by a simple pojo and has its interface contract defined by a wsdl, in this case greetings.wsdl. This component does not use the binding.ws, thus is not exposed as web services. The helloworld-ws-reference does use the binding.ws to wire to the service exposed by the helloworld-ws-service sample. As for the ws binding, you can use it to consume services available on the cloud, you can see this in the demos/xml-bigbank On Thu, May 15, 2008 at 1:07 PM, Jean-Jacques Dubray [EMAIL PROTECTED] wrote: Luciano has pointed me towards a BPEL reference sample. It was constructed by using the HelloWord sample which inovkes a GreetingsService. The Greeting Service is a regular web service implemented as an SCA composite (similar to the hello-ws sample). The hello world bpel definition exposes itself a service. Even though GreetingsService is a plain vanilla Web Service its reference definition includes an implementation.java element: component name=GreetingsServiceComponent implementation.java class=greetings.GreetingsServiceImpl / service name=GreetingsService interface.wsdl interface= http://greetings#wsdl.interface(Greetings) / /service /component this is also true for the helloworld-ws-reference sample: reference name=HelloWorldService promote=HelloWorldServiceComponent/helloWorldService interface.java interface=helloworld.HelloWorldService / binding.ws wsdlElement= http://helloworld#wsdl.port(HelloWorldService/HelloWorldSoapPort)/ /reference Why is not a WSDL enough? The other question is if you use a WS binding, why does the service has to be part of the same domain as the consumers? Could they belong to two different SCA domains? As a matter of fact can a composite consume a WSDL reference that is not part of an SCA domain at all? thanks, -- Jean-Jacques Dubray 425-445-4467 -- Luciano Resende Apache Tuscany Committer http://people.apache.org/~lresende http://lresende.blogspot.com/
Re: Web Service References
Quoting the spec : A component element has zero or one implementation element as its child, which points to the implementation used by the component. A component with no implementation element is not runnable, but components of this kind may be useful during a top-down development process as a means of defining the characteristics required of the implementation before the implementation is written. So, in order to be able to deploy and run, your component MUST define it's implementation. On Fri, May 16, 2008 at 5:01 AM, Jean-Jacques Dubray [EMAIL PROTECTED] wrote: Luciano: thanks, actually in the test/bpel/helloworld-reference composite definition you also have a component defined with a binding.ws and there to, there is an implementation.java element. Is it required? !-- Simple ws-reference -- !-- component name=HelloWorldService implementation.java class=helloworld.HelloWorldServiceImpl/ reference name=greetingsService binding.ws uri=http://localhost:8085/GreetingsService/ /reference /component -- Would you consider ws bindings as the preferred way to implement cross domain composites? JJ- On Fri, May 16, 2008 at 12:06 AM, Luciano Resende [EMAIL PROTECTED] wrote: Hey Jean-Jacques Dubray Let me try to respond your questions : The helloworld.composite defined in the itest/bpel/helloworld-reference defines a GreetingsServiceComponent that is implemented by a simple pojo and has its interface contract defined by a wsdl, in this case greetings.wsdl. This component does not use the binding.ws, thus is not exposed as web services. The helloworld-ws-reference does use the binding.ws to wire to the service exposed by the helloworld-ws-service sample. As for the ws binding, you can use it to consume services available on the cloud, you can see this in the demos/xml-bigbank On Thu, May 15, 2008 at 1:07 PM, Jean-Jacques Dubray [EMAIL PROTECTED] wrote: Luciano has pointed me towards a BPEL reference sample. It was constructed by using the HelloWord sample which inovkes a GreetingsService. The Greeting Service is a regular web service implemented as an SCA composite (similar to the hello-ws sample). The hello world bpel definition exposes itself a service. Even though GreetingsService is a plain vanilla Web Service its reference definition includes an implementation.java element: component name=GreetingsServiceComponent implementation.java class=greetings.GreetingsServiceImpl / service name=GreetingsService interface.wsdl interface= http://greetings#wsdl.interface(Greetings)http://greetings#wsdl.interface%28Greetings%29 / /service /component this is also true for the helloworld-ws-reference sample: reference name=HelloWorldService promote=HelloWorldServiceComponent/helloWorldService interface.java interface=helloworld.HelloWorldService / binding.ws wsdlElement= http://helloworld#wsdl.port(HelloWorldService/HelloWorldSoapPort)http://helloworld#wsdl.port%28HelloWorldService/HelloWorldSoapPort%29 / /reference Why is not a WSDL enough? The other question is if you use a WS binding, why does the service has to be part of the same domain as the consumers? Could they belong to two different SCA domains? As a matter of fact can a composite consume a WSDL reference that is not part of an SCA domain at all? thanks, -- Jean-Jacques Dubray 425-445-4467 -- Luciano Resende Apache Tuscany Committer http://people.apache.org/~lresende http://people.apache.org/%7Elresende http://lresende.blogspot.com/ -- Jean-Jacques Dubray 425-445-4467 -- Luciano Resende Apache Tuscany Committer http://people.apache.org/~lresende http://lresende.blogspot.com/
Re: How do I expose my BPEL component as a webservice?
) at org.apache.tuscany.sca.assembly.xml.ComponentTypeDocumentProcessor.resolve(ComponentTypeDocumentProcessor.java:44) at org.apache.tuscany.sca.contribution.processor.ExtensibleURLArtifactProcessor.resolve(ExtensibleURLArtifactProcessor.java:86) at org.apache.tuscany.sca.contribution.service.impl.ContributionServiceImpl.processResolvePhase(ContributionServiceImpl.java:454) at org.apache.tuscany.sca.contribution.service.impl.ContributionServiceImpl.addContribution(ContributionServiceImpl.java:348) Thanks, Dalys --- Luciano Resende [EMAIL PROTECTED] wrote: On Sun, May 4, 2008 at 10:37 PM, Dalys Sebastian [EMAIL PROTECTED] wrote: Hi everyone, This may probably be a very basic question. But I had been trying for quite sometime and could not find an example on it, so I thought I will post it. How do I expose my component (BPEL implementation) as a webservice URI? Do I modify the componentType file? I tried modifying both the componentType and the composite file and introduced binding.ws/ in both, but it does not seem to pick it up. For e.g., my componentType file looks like: componentType xmlns=http://www.osoa.org/xmlns/sca/1.0; xmlns:wsdli=http://www.w3.org/2006/01/wsdl-instance; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns:xsd=http://www.w3.org/2001/XMLSchema; service name=HelloService promote=BPELHelloWorldComponent interface.wsdl interface=http://tuscany.apache.org/implementation/bpel/example/helloworld.wsdl#wsdl.interface(HelloPortType) / binding.ws/ /service /componentType I have deployed it as a webapp on Tomcat. And during startup, Tuscany throws a warning like: WARNING: Element {http://www.osoa.org/xmlns/sca/1.0}binding.ws cannot be processed. ([row,col,system-id]: Looks like you are missing the axis-ws binding dependency jar in your app. Could you please verify your dependencies ? [27,9,file:/C:/apache-tomcat-5.5.25/webapps/sample-helloworld-bpel/WEB-INF/classes/helloworld.componentType]) What am I doing wrong? Thanks, Dalys Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ -- Luciano Resende Apache Tuscany Committer http://people.apache.org/~lresende http://lresende.blogspot.com/ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ -- Luciano Resende Apache Tuscany Committer http://people.apache.org/~lresende http://lresende.blogspot.com/
Re: How do I expose my BPEL component as a webservice?
On Sun, May 4, 2008 at 10:37 PM, Dalys Sebastian [EMAIL PROTECTED] wrote: Hi everyone, This may probably be a very basic question. But I had been trying for quite sometime and could not find an example on it, so I thought I will post it. How do I expose my component (BPEL implementation) as a webservice URI? Do I modify the componentType file? I tried modifying both the componentType and the composite file and introduced binding.ws/ in both, but it does not seem to pick it up. For e.g., my componentType file looks like: componentType xmlns=http://www.osoa.org/xmlns/sca/1.0; xmlns:wsdli=http://www.w3.org/2006/01/wsdl-instance; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns:xsd=http://www.w3.org/2001/XMLSchema; service name=HelloService promote=BPELHelloWorldComponent interface.wsdl interface=http://tuscany.apache.org/implementation/bpel/example/helloworld.wsdl#wsdl.interface(HelloPortType) / binding.ws/ /service /componentType I have deployed it as a webapp on Tomcat. And during startup, Tuscany throws a warning like: WARNING: Element {http://www.osoa.org/xmlns/sca/1.0}binding.ws cannot be processed. ([row,col,system-id]: Looks like you are missing the axis-ws binding dependency jar in your app. Could you please verify your dependencies ? [27,9,file:/C:/apache-tomcat-5.5.25/webapps/sample-helloworld-bpel/WEB-INF/classes/helloworld.componentType]) What am I doing wrong? Thanks, Dalys Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ -- Luciano Resende Apache Tuscany Committer http://people.apache.org/~lresende http://lresende.blogspot.com/
[DAS] Are re ready for a DAS 1.0 release ?
Looks like we now have a good and stable DAS that went trough two beta releases. If the community thinks we are ready, I'd like to propose a 1.0 release of DAS that would depend on the latest SDO 1.1 release. Thoughts ? -- Luciano Resende Apache Tuscany Committer http://people.apache.org/~lresende http://lresende.blogspot.com/
Re: Reg: Asynchronous Webservice in BPEL
to have the BPEL PartnerLinkType elements pointing to the appropriate PortType elements. I think that's it... ...you can see an example of this in the simple-callback-ws sample in Tuscany. BTW, what I am working on right now is the code to eliminate the need to build the componentType file. The BPELDocumentProcessor code is bing modified to read the BPEL process file and also to follow the links to the WSDL files and to resolve the PartnerLink - PartnerLinkType - PortType chains. This will result in the generation of the component type interface definition as above, with a reference to the PortType for forward and callback interfaces. I should post some code in the next couple of days. Yours, Mike. CAUTION - Disclaimer * This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system. ***INFOSYS End of Disclaimer INFOSYS*** -- Luciano Resende Apache Tuscany Committer http://people.apache.org/~lresende http://lresende.blogspot.com/
Tuscany Dashboard - Getting Started Portal
Inspired by my iGoogle browser homepage, I have started putting together a portal page that students, developers and SCA enthusiasts can use as a place to come and research, and learn more about SCA and Tuscany in general. For now, I'm calling this Tuscany Dashboard, but I'm open for suggestions. I'm also open for suggestions on what contents should be added to the page. To access the Tuscany Dashboard, please use : http://incubator.apache.org/tuscany/tuscany-dashboard.html GSoC Students, this might be very helpful for you guys while learning and researching SCA and Tuscany. Please provide feedback. -- Luciano Resende Apache Tuscany Committer http://people.apache.org/~lresende http://lresende.blogspot.com/
[ANNOUNCE] Apache Tuscany SCA Java 1.2 released
The Apache Tuscany team are delighted to announce the 1.2 release of the Java SCA project. Apache Tuscany provides a runtime environment based on the Service Component Architecture (SCA). SCA is a set of specifications aimed at simplifying SOA application development. These specifications are being standardized by OASIS as part of the Open Composite Services Architecture (Open CSA). The Tuscany SCA Java 1.2 release adds a number of features including: * An improved SCA distributed domain support with an SCA Domain Manager application * Support for running Tuscany in a OSGI runtime using Apache Felix * Support for JAXWS annotations * improved and simplified JMS binding * Improved support for SCA Policies and a new Policy provider SPI * Support for 'native' Groovy component implementation classes * Atom binding now using Apache Abdera * A new Eclipse plugin providing a Tuscany runtime Library and Tuscany launcher in Eclipse environment. For full details about the release and to download the distributions please go to: http://incubator.apache.org/tuscany/sca-java-releases.html To find out more about OASIS Open CSA go to: http://www.oasis-opencsa.org Apache Tuscany welcomes your help. Any contribution, including code, testing, contributions to the documentation, or bug reporting is always appreciated. For more information on how to get involved in Apache Tuscany visit the website at: http://incubator.apache.org/tuscany Thank you for your interest in Apache Tuscany! The Apache Tuscany Team. --- Tuscany is an effort undergoing incubation at the Apache Software Foundation (ASF), sponsored by the Apache Web services PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.
What's next for SCA BPEL Integration
Now that we are making more progress with the SCA BPEL integration and have figured out how to make References to work, let's discuss what could be the next steps on this area. Below are couple examples of what we could do next - WS-BPEL Process Introspection : Currently we are requiring SCA componentType files, we could introspect the BPEL process file to generate the component type information from it. - Integrate BEPL with the store scenario tutorial : We could add a OrderProcessing step to the store checkout, and illustrate a more real integration scenario. Other then these, we could review the SCA_ClientAndImplementationModelFor BPEL and identify other areas that we might need enhancements. Scenarios / Samples / Demos are always welcome too. Or if you have other suggestions, feel free to jump to the discussion. BTW: Copying the ODE list in case they want to jump and help, or in case they have other ideas. -- Luciano Resende Apache Tuscany Committer http://people.apache.org/~lresende http://lresende.blogspot.com/
Re: What's next for SCA BPEL Integration
On Thu, Apr 24, 2008 at 8:53 AM, ant elder [EMAIL PROTECTED] wrote: On Thu, Apr 24, 2008 at 4:37 PM, Luciano Resende [EMAIL PROTECTED] wrote: Now that we are making more progress with the SCA BPEL integration and have figured out how to make References to work, let's discuss what could be the next steps on this area. Below are couple examples of what we could do next - WS-BPEL Process Introspection : Currently we are requiring SCA componentType files, we could introspect the BPEL process file to generate the component type information from it. - Integrate BEPL with the store scenario tutorial : We could add a OrderProcessing step to the store checkout, and illustrate a more real integration scenario. Other then these, we could review the SCA_ClientAndImplementationModelFor BPEL and identify other areas that we might need enhancements. Scenarios / Samples / Demos are always welcome too. Or if you have other suggestions, feel free to jump to the discussion. BTW: Copying the ODE list in case they want to jump and help, or in case they have other ideas. Not a very exciting one but is there any clean up of the dependencies possible? Currently using the implementation.bpel extension brings in 78 addition dependency jars at about 20meg, i wondered if some of those could get excluded? ...ant Part of this is because we have a Embedded ODE BPEL engine, and that itself brings several dependencies. But this is certainly something to investigate. It would be also good if ODE could be more flexible/dynamic with some dependencies (e.g Saxon) and only really require these dependencies if they are going to be in use, this would help our side as well. -- Luciano Resende Apache Tuscany Committer http://people.apache.org/~lresende http://lresende.blogspot.com/
Re: svn checkout problem
wrong. I am getting the following error when building tutorial: Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/apache/tuscany/ sca/tuscany-mav en-ant-generator/2.0-incubating-SNAPSHOT/tuscany-maven-ant-generator-2.0 -incubating-SNAPSHOT.pom Downloading: http://snapshots.repository.codehaus.org/org/apache/tuscany/sca/tuscany- maven-ant-gener ator/2.0-incubating-SNAPSHOT/tuscany-maven-ant-generator-2.0-incubating- SNAPSHOT.pom Downloading: http://people.apache.org/repo/m2-incubating-repository/org/apache/tuscan y/sca/tuscany-m aven-ant-generator/2.0-incubating-SNAPSHOT/tuscany-maven-ant-generator-2 .0-incubating-SNAPSHOT.pom Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/apache/tuscany/ sca/tuscany-mav en-ant-generator/2.0-incubating-SNAPSHOT/tuscany-maven-ant-generator-2.0 -incubating-SNAPSHOT.pom [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. GroupId: org.apache.tuscany.sca ArtifactId: tuscany-maven-ant-generator Version: 2.0-incubating-SNAPSHOT Reason: Unable to download the artifact from any repository org.apache.tuscany.sca:tuscany-maven-ant-generator:pom:2.0-incubating-SN APSHOT from the specified remote repositories: repo1.maven.org (http://repo1.maven.org/maven2), apache.incubator (http://people.apache.org/repo/m2-incubating-repository), apache.ws.zone (http://ws.zones.apache.org/repository2), apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository), codehaus-snapshot (http://snapshots.repository.codehaus.org) Any idea where can I get the above dependency? Thanks, Radu Marian CRM Services Architecture Team Bank of America, Charlotte NC (980) 387-6233 [EMAIL PROTECTED] From: Raymond Feng [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 22, 2008 11:49 AM To: Marian, Radu Subject: Re: svn checkout problem Hi, Is this a firewall-related issue? You could try to ping svn.apache.org or open a browser window and point to http://svn.apache.org/repos/asf/incubator/tuscany/java/sca. You should be able to see the svn repo. Thanks, Raymond From: Marian, Radu Sent: Tuesday, April 22, 2008 6:57 AM To: [EMAIL PROTECTED] Subject: svn checkout problem Raymond, I am sorry to bug you with such a simple question. While trying to get latest using svn - i am getting the following error: C:\apache-tuscany\svnsvn checkout http://svn.apache.org/repos/asf/incubator/tuscany/java/sca svn: PROPFIND request failed on '/repos/asf/incubator/tuscany/java/sca' svn: PROPFIND of '/repos/asf/incubator/tuscany/java/sca': Could not resolve hostname `svn.apache.org ': No such host is known. (http://svn.apache.org) Can you please help, Thanks, Radu Marian CRM Services Architecture Team Bank of America, Charlotte NC (980) 387-6233 [EMAIL PROTECTED] -- Luciano Resende Apache Tuscany Committer http://people.apache.org/~lresende http://lresende.blogspot.com/
Re: transaction question
You can properly set the DAS config file to inform that you are running in a managed environment (managedtx=true), this should give you the single transaction behavior. More details can be found in the DAS Documentation page [1] and in the DAS Transaction Control Guide [2]. [1] http://incubator.apache.org/tuscany/das-java-documentation-menu.html [2] http://incubator.apache.org/tuscany/rdb-das-transaction-control.html On Mon, Apr 21, 2008 at 7:37 PM, Abraham Washington [EMAIL PROTECTED] wrote: how does sca/das handle transactions working together ? if i have 2 das instances, connecting to 2 different databases, and both das instances are within a single component/service operation, is this considered a single transaction ?...if someone can point me to some documentation as well, that would be beneficial. thx - abe Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ -- Luciano Resende Apache Tuscany Committer http://people.apache.org/~lresende http://lresende.blogspot.com/
[GSoC] Accepted Student Proposals for 2008 Announced
It's now official, Google has announced the accepted student proposals for 2008 [1] and the ASF accepted proposals is also available [2].It's very good to see that all the effort done by the Tuscany Community has now materialized as 6 excellent proposals accepted. I'd also want to take this opportunity to welcome the new students to the community, and of course, thanks for all the Tuscany Community that steeped up as mentors and are going to be helping these students trough out the summer and hopefully for a much bigger period of time. See below the Apache Tuscany approved student proposals Tuscany SCA Support in the Geronimo Admin Console by Thilina Mahesh Buddhika, mentored by Ant Elder Simplify the development of Map/Reduce applications and their integration with various sources of information by Christopher Trezzo, mentored by Jean-Sebastien Delfino Allow Google Android applications to easily consume business services (version 2.0 - 6Apr2008 @17.50) by Oscar Castaneda, mentored by Adriano Crestani Campos Integrate Google Services in SCA Compositions by Douglas Siqueira Leite, mentored by Luciano Resende CORBA support for Apache Tuscany by Wojtek, mentored by Zhaohui Feng Integrate Google services in SCA compositions(Apache Tuscany) by Haibo Zhao, mentored by Luciano Resende [1] http://code.google.com/soc/2008/ [2] http://code.google.com/soc/2008/asf/about.html -- Luciano Resende Apache Tuscany Committer http://people.apache.org/~lresende http://lresende.blogspot.com/
Re: State of BPEL implementation type?
Thanks for everybody willing to help. I have committed all my local changes (yes, there is still some ugly/debug code there) and have posted a status message (more like a problem message) to Tuscany and ODE dev-list. http://www.mail-archive.com/tuscany-dev%40ws.apache.org/msg30635.html On Wed, Apr 16, 2008 at 9:21 AM, Mike Edwards [EMAIL PROTECTED] wrote: Luciano Resende wrote: Thanks for your interest Juergen. I was very busy with SCA 1.2 release, so I haven't worked on this on the last couple weeks. I have local changes that can make the reference invocation, but looks like there are still some issues with the ODE integration and I keep getting erros that ODE cannot see the response (this is probably related to the changes not being committed by the transaction). Once I can get this working, at least not breaking the service support, I can get this committed and the basic reference support will be ready. On Wed, Apr 16, 2008 at 2:18 AM, [EMAIL PROTECTED] wrote: Luciano, I'd like to help on the BPEL implementation. How can I get involved with building a new version of the BPEL implementation with additional function? Yours, Mike. - 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: State of BPEL implementation type?
Thanks for your interest Juergen. I was very busy with SCA 1.2 release, so I haven't worked on this on the last couple weeks. I have local changes that can make the reference invocation, but looks like there are still some issues with the ODE integration and I keep getting erros that ODE cannot see the response (this is probably related to the changes not being committed by the transaction). Once I can get this working, at least not breaking the service support, I can get this committed and the basic reference support will be ready. On Wed, Apr 16, 2008 at 2:18 AM, [EMAIL PROTECTED] wrote: Hello, I would like to ask about the current state and plans for the BPEL implementation type, especially the BPEL reference support. I see that there is an itest helloworld-reference for this that is not included in the build and it does not work if invoked manually. So I suppose this is not yet finished. What are the plans for this? Additionaly, I can probably help with testing and fixing starting with June this year. Cheers, Jürgen Schumacher empolis GmbH | Europaallee 10 | 67657 Kaiserslautern [EMAIL PROTECTED] | www.empolis.com - 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: problem with html file
The Getting Started Guide basically gives you step by step instructions to build our store sample. Could you please try to run that from the 1.1 distribution and see if everything works for you ? If yes, then there might be some issues with the project you are creating from scratch. On Wed, Apr 16, 2008 at 12:59 AM, Mukhtiar Memon [EMAIL PROTECTED] wrote: Hi thanks for detailed response. i tried the html code that you send but still I find errors in eclipse pointing the same items.length code but i tried to run it with these erros on both IE and firefox but there is only one imporvement in firefox result that now it shows the checkboxes (but does not show the items apple, orange etc.) thanks mukhtiar Date: Tue, 15 Apr 2008 11:27:39 -0700 From: [EMAIL PROTECTED] To: tuscany-user@ws.apache.org Subject: Re: problem with html file I just went trough the manual steps of the Getting Started guide and it worked for me. I'm using Firefox, but if you are using IE, you might be having the issue described in TUSCANY-2131, and you might want to move the js initialization code to a onLoad event as in the following example [2] script ... function init() { catalog.get(catalog_getResponse); shoppingCart.get(, shoppingCart_getResponse); } /script body onload=init() .. Please let me know if this get you further. [1] http://issues.apache.org/jira/browse/TUSCANY-2131 [2] https://svn.apache.org/repos/asf/incubator/tuscany/java/sca/samples/store/src/main/resources/uiservices/store.html On Tue, Apr 15, 2008 at 9:55 AM, Mukhtiar Memon [EMAIL PROTECTED] wrote: Hi I am using SCA Java 1.1-incubating (January 2008) thanks mukhtiar Date: Tue, 15 Apr 2008 09:52:08 -0700 From: [EMAIL PROTECTED] To: tuscany-user@ws.apache.org Subject: Re: problem with html file Could you please let us know what Tuscany release are you using ? On Tue, Apr 15, 2008 at 9:42 AM, Mukhtiar Memon [EMAIL PROTECTED] wrote: hi While following the tutorial for developing java-based SCA application with Tuscany (http://incubator.apache.org/tuscany/getting-started-with-tuscany-using-tuscany-eclipse-plugin.html), I found an erorr when I copy the html file for creating user interface. The error is in Javasript of the html file and is pointed at items.length and everyother place where this length method is used. I tried to go withoud correcting it but doing this does not load the items in the html user interface. Please guide .. thanks _ Pack up or back up–use SkyDrive to transfer files or keep extra copies. Learn how. http://www.windowslive.com/skydrive/overview.html?ocid=TXT_TAGLM_WL_Refresh_skydrive_packup_042008 -- 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] _ More immediate than e-mail? Get instant access with Windows Live Messenger. http://www.windowslive.com/messenger/overview.html?ocid=TXT_TAGLM_WL_Refresh_instantaccess_042008 -- 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] _ More immediate than e-mail? Get instant access with Windows Live Messenger. http://www.windowslive.com/messenger/overview.html?ocid=TXT_TAGLM_WL_Refresh_instantaccess_042008 -- 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: Need urgent help on binding to external web service within Tuscany
Have you looked in the XML BigBank demo application ? This utilizes a external stock quote web services. Note that the 1.1 service that was in use has gone offline, and the trunk or 1.2 version of the application should work for you, as we changed the service in use. [1] https://svn.apache.org/repos/asf/incubator/tuscany/java/sca/demos/xml-bigbank/ On Tue, Apr 15, 2008 at 9:30 AM, Marina Deslaugiers [EMAIL PROTECTED] wrote: Hello, I have began to work on SCA and Tuscany SCA Java a few time ago and I would greetly need your help as I have been asked to urgently contribute to an experimentation using SCA and Tuscany Java. This experimentation especially involves already existing and deployed business web services. I have read various documents on SCA and in particular the very nice article Introducing SCA by David Chappell Associates. Reading this paper - in particular, the section putting together: illustrating an SCA application and the corresponding figure - I was convinced that it was possible to use binding.ws to connect from a SCA domain to a non-SCA web service as well as from a SCA domain to a web service in another SCA domain - say invoke an external non-SCA web service or an extra-SCAdomain web service. However, after installing and experiencing with tuscany-sca-1.1-incubating I did not succeeded once on invoking an external SOAP (asmx) web service, whatever I use binding.ws uri= ... or binding.ws wsdlElement etc.. Depending on the description of binding.ws in the composite file, I get a different execution exception (service not found in WSDL, reflect.UndeclaredThrowableException, ClassCast Exception ...) Moreover, I do not see any corresponding examples in Tuscany Java. So my question is : does this work in Tuscany SCA Java 1.1 ? If the answer is yes, would you please provide me with an corresponding working example (because in that case, I obvioulsy have made a mistake somewhere in the code or composite description )? If the answer is no, is there another already available version in which that is working or a planned version within a few months ? Thanks very much. Regards, Marina. -- 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: problem with html file
Could you please let us know what Tuscany release are you using ? On Tue, Apr 15, 2008 at 9:42 AM, Mukhtiar Memon [EMAIL PROTECTED] wrote: hi While following the tutorial for developing java-based SCA application with Tuscany (http://incubator.apache.org/tuscany/getting-started-with-tuscany-using-tuscany-eclipse-plugin.html), I found an erorr when I copy the html file for creating user interface. The error is in Javasript of the html file and is pointed at items.length and everyother place where this length method is used. I tried to go withoud correcting it but doing this does not load the items in the html user interface. Please guide .. thanks _ Pack up or back up–use SkyDrive to transfer files or keep extra copies. Learn how. http://www.windowslive.com/skydrive/overview.html?ocid=TXT_TAGLM_WL_Refresh_skydrive_packup_042008 -- 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: Should we move to SDO 1.1-incubating version for SCA Java?
On Tue, Apr 15, 2008 at 9:30 AM, Raymond Feng [EMAIL PROTECTED] wrote: Hi, Now the SDO 1.1-incubating has been released. Should we adjust the pom.xml in SCA Java to reference this release? +0, As you have CCed our user list, I'll defer this feedback them. ATM, we have SDO 1.0-incubating-SNAPSHOT in trunk. And SCA projects either reference SDO 1.0-incubating or 1.0-incubating-SNAPSHOT. I think it's better to have SCA depends on a released SDO version consistently across the modules. What do you think? +1, We should be consistent here and depend on a released SDO version across all SCA modules. Thanks, Raymond - 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: problem with html file
I just went trough the manual steps of the Getting Started guide and it worked for me. I'm using Firefox, but if you are using IE, you might be having the issue described in TUSCANY-2131, and you might want to move the js initialization code to a onLoad event as in the following example [2] script ... function init() { catalog.get(catalog_getResponse); shoppingCart.get(, shoppingCart_getResponse); } /script body onload=init() .. Please let me know if this get you further. [1] http://issues.apache.org/jira/browse/TUSCANY-2131 [2] https://svn.apache.org/repos/asf/incubator/tuscany/java/sca/samples/store/src/main/resources/uiservices/store.html On Tue, Apr 15, 2008 at 9:55 AM, Mukhtiar Memon [EMAIL PROTECTED] wrote: Hi I am using SCA Java 1.1-incubating (January 2008) thanks mukhtiar Date: Tue, 15 Apr 2008 09:52:08 -0700 From: [EMAIL PROTECTED] To: tuscany-user@ws.apache.org Subject: Re: problem with html file Could you please let us know what Tuscany release are you using ? On Tue, Apr 15, 2008 at 9:42 AM, Mukhtiar Memon [EMAIL PROTECTED] wrote: hi While following the tutorial for developing java-based SCA application with Tuscany (http://incubator.apache.org/tuscany/getting-started-with-tuscany-using-tuscany-eclipse-plugin.html), I found an erorr when I copy the html file for creating user interface. The error is in Javasript of the html file and is pointed at items.length and everyother place where this length method is used. I tried to go withoud correcting it but doing this does not load the items in the html user interface. Please guide .. thanks _ Pack up or back up–use SkyDrive to transfer files or keep extra copies. Learn how. http://www.windowslive.com/skydrive/overview.html?ocid=TXT_TAGLM_WL_Refresh_skydrive_packup_042008 -- 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] _ More immediate than e-mail? Get instant access with Windows Live Messenger. http://www.windowslive.com/messenger/overview.html?ocid=TXT_TAGLM_WL_Refresh_instantaccess_042008 -- 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: SCA 2.0, was Re: Next SCA release
On Thu, Apr 10, 2008 at 4:43 AM, Mark Combellack [EMAIL PROTECTED] wrote: * Version 2.x will be the main focus * Most of the development effort happens on Version 2.x * We will make API changes which means that it will not be backwards compatible with version 1 * Version 1.x will go into maintenance mode. * May get some bug fixes and minor updates If my presumptions are correct then, from my point of view, we should keep the trunk as the most up to date version - i.e. Version 2. Any maintenance for previous Version 1.x release should be done on their own branches. +1 I still think this is the way we should go. As I said in my original proposal, I was expecting community members to have interest in keep maintaining and adding small enhancements to the 1.x branch, we have many users consuming releases from that branch, that might need bug fixes, etc. ant also makes an interesting point about timing. Without clear goals and objectives for Version 2.x, perhaps we should hold off on branching. We have spent a good amount of time to make sure the 1.2 branch is very clean, and working perfectly for the release. With this said, I think it should be considered to be the source for 1.x branch, and we should consider cutting the branch at the moment we have 1.2 out of the door. Mark - 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]
Project Ideas - Let's get the community involved !!!
I have noticed that the approach we used for GSoC, where we described small project ideas, with a proper description and a suggested scenario to guide the development of the idea is generating much more interest from the community. I'd like us to keep on this path, and I have created a page for us to post these ideas [1], and also modified our website page to advertise these ideas for possible contributors [2][3]. Please provide your feedback, and help by adding new ideas to the page. NOTE: pages should be live in about 1 hour. [1] http://incubator.apache.org/tuscany/getting-involved-projects.html [2] http://incubator.apache.org/tuscany/ [3] http://incubator.apache.org/tuscany/getting-involved.html -- 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: SDO Version Support for Tuscany 1.1
BTW, I just confirmed, the EMF SDO is still based on SDO 1.0 Specification. On Tue, Apr 8, 2008 at 10:18 AM, Luciano Resende [EMAIL PROTECTED] wrote: Let me try to clarify here : Tuscany SCA uses Tuscany SDO 1.0 release. Tuscany SDO releases (1.0 and the new 1.1) are all based on the SDO 2.1 specification. My understanding is that EMF SDO is based on a older version of SDO specification and we are not using it in Tuscany. Thanks On Tue, Apr 8, 2008 at 9:44 AM, haleh mahbod [EMAIL PROTECTED] wrote: Tuscany supports SDO 2.1. You mentioned EMF SDO 2.3.2. Not sure what this is. Can you please clarify? On 4/8/08, Vipul [EMAIL PROTECTED] wrote: Hi All, Please tell me the SDO version that current and next Tuscany release is going to support. I am having Eclipse 3.3 and EMF SDO 2.3.2 so are/will these versions be supported by Tuscany SDO currently and in the next 1.1 release. Thanks, Vipul -- 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]
Re: Initial tuscany run mvn problems
Then you just need to add to your PATH environment variable, another way to try is to just issue the command like : d:\apache-maven-2.0.8\bin\mvn On Tue, Mar 25, 2008 at 2:25 PM, Jasbinder Bali [EMAIL PROTECTED] wrote: I am working on windows. Trying to do the set up on windows. Would you have different suggestions for windows? Thanks On Tue, Mar 25, 2008 at 4:23 PM, Luciano Resende [EMAIL PROTECTED] wrote: The mvn command should be available after you install maven. You might have to add it to your path with something like this in your /etc/bashrc export PATH=/opt/apache-maven-2.0.8/bin:$PATH On Tue, Mar 25, 2008 at 2:04 PM, Jasbinder Bali [EMAIL PROTECTED] wrote: Hi, I have downloaded tuscany source code, JDK and maven. Quoting from the BUILDING file Building 1) Change to the top level directory of Apache Tuscany source distribution. 2) Run $ mvn running mvn fails in the dos prompt saying that it can't recognize mvn, true enough cuz there's no mvn there. Can anyone tell me what needs to be done here ? Thanks -- 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] -- 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: Initial tuscany run mvn problems
Latest Tuscany source code (also known as trunk) is available at https://svn.apache.org/repos/asf/incubator/tuscany/java/ To download it, you can do a svn checkout of the code, below is a command to checkout the SCA project from tuscany svn repository. svn co https://svn.apache.org/repos/asf/incubator/tuscany/java/sca Let me know if this helps. On Tue, Mar 25, 2008 at 2:34 PM, Jasbinder Bali [EMAIL PROTECTED] wrote: also where do you suggest to download tuscany source code from? Thanks jas On Tue, Mar 25, 2008 at 4:31 PM, Jasbinder Bali [EMAIL PROTECTED] wrote: This mean cd to a directory where mvn is physically there and then simply issue mvn. however mvn should have some options with it like mvn install or something right ? Also, I have three things as of now. 1. Tuscany source code 2. jdk 1.0.5_06 3 maven 2.0.8 please let me know thanks jas On Tue, Mar 25, 2008 at 4:28 PM, Luciano Resende [EMAIL PROTECTED] wrote: Then you just need to add to your PATH environment variable, another way to try is to just issue the command like : d:\apache-maven-2.0.8\bin\mvn On Tue, Mar 25, 2008 at 2:25 PM, Jasbinder Bali [EMAIL PROTECTED] wrote: I am working on windows. Trying to do the set up on windows. Would you have different suggestions for windows? Thanks On Tue, Mar 25, 2008 at 4:23 PM, Luciano Resende [EMAIL PROTECTED] wrote: The mvn command should be available after you install maven. You might have to add it to your path with something like this in your /etc/bashrc export PATH=/opt/apache-maven-2.0.8/bin:$PATH On Tue, Mar 25, 2008 at 2:04 PM, Jasbinder Bali [EMAIL PROTECTED] wrote: Hi, I have downloaded tuscany source code, JDK and maven. Quoting from the BUILDING file Building 1) Change to the top level directory of Apache Tuscany source distribution. 2) Run $ mvn running mvn fails in the dos prompt saying that it can't recognize mvn, true enough cuz there's no mvn there. Can anyone tell me what needs to be done here ? Thanks -- Luciano Resende Apache Tuscany Committer http://people.apache.org/~lresendehttp://people.apache.org/%7Elresende http://people.apache.org/%7Elresende http://lresende.blogspot.com/ - 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/ - 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: [SCA 1.2] Stable SCA distribution for testing purposes
I have uploaded a new set of stable binaries as preparation for tonight Release Candidate. These files were based on SCA 1.2 branch revision #639399. On Tue, Mar 18, 2008 at 12:18 AM, Luciano Resende [EMAIL PROTECTED] wrote: I'm in the process of uploading SCA distribution (binary and source ) for testing purpose. Let's use it for testing, and report issues via JIRA and assign to SCA 1.2 release as appropriate. [1] http://people.apache.org/~lresende/tuscany/sca-1.2-stable/ -- 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]
[SCA 1.2] Sample issues and JIRAs
I have gone trough some of the samples last night, and created a sample status section in our Java SCA 1.2 release page [1], I have also raised several jiras for the issues found, marking them as blockers when the issue was preventing the sample to run, and as minor when there were only warnings and other small issues that were not affecting the sample to run. Please help going trough the rest of the samples (updating the sample status page), and also fixing the JIRAs on the SCA 1.2 category [2]. [1] http://cwiki.apache.org/confluence/display/TUSCANYWIKI/Release+-+Java+SCA+1.2#Release-JavaSCA1.2-CurrentSampleStatus [2] http://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=truemode=hidesorter/order=DESCsorter/field=priorityresolution=-1pid=12310210fixfor=12312967 -- 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]
[SCA 1.2] Stable SCA distribution for testing purposes
I'm in the process of uploading SCA distribution (binary and source ) for testing purpose. Let's use it for testing, and report issues via JIRA and assign to SCA 1.2 release as appropriate. [1] http://people.apache.org/~lresende/tuscany/sca-1.2-stable/ -- 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: ask help for implemetation.widget
/contactService WARNING: Reference not found for component reference: icthome/callService Thanks a lot! BR. -- 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: Running Tuscany/SCA in Google Android mobile platform
I'd probably categorize the experiment we are doing now, as a learning experience to familiarize with the Mobile environment available in Google Android. For this, we have choosen to try running one of the simplest samples we had (calculator) in the Android JVM environment In the long run, the idea is to have a more light-weight sca mobile core/runtime available, similar to what we did for Web 2.0 (implementation-widget) and described by Mike below. But it's indeed good to discuss these items with the community, would be also good to have the community contributing requirements/scenarios for a Tuscany mobile story. And we are all open and welcoming any help. On Mon, Mar 17, 2008 at 8:22 AM, Mike Edwards [EMAIL PROTECTED] wrote: Brandon Werner wrote: Can you explain the benefit of moving SCA/SDO over to the Android platform? I can understand wanting to have the ability to consume simple XML services and perhaps consume disconnected datagraphs, but I don't understand why the world wouldn't want a more light-weight way of doing that than ripping out something that was meant for the JEE / JSE. snip Brandon, So you think that a device using the Andriod platform is likely to want to use services and a service-oriented approach to building applications. But you think that SCA is too heavyweight? Is that simply a question of the size of the code involved (I note that the core of Tuscany is quite small) or is the SCA approach too heavyweight in some other sense? I wonder if you've taken a look a the implementation.widget exemplified in the Tutorial demo code? This applies SCA principles to AJAX widgets running in the browser - simplifying the connectivity a great deal (in my opinion) and yet adding little overhead. In the longer run, we may want to look to do something similar for the Android platforms, perhaps with Java rather than the more limited JavaScript components. Starting with the current SCA package seems reasonable to me - once we have experience with how that works, we will have a better idea what needs to be changed and tailored for the Android platform. Yours, Mike. - 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: Running Tuscany/SCA in Google Android mobile platform
So, when I said branch, I probably should have said a sandbox. I think we could start with a host-android module where I'd like to experiment with changing the way we dynamically find extensions and see how further we can go on executing calculator in the Android environment. Thoughts ? On Sat, Mar 15, 2008 at 2:30 AM, Adriano Crestani [EMAIL PROTECTED] wrote: Good idea Luciano : ) What we should copy to this branch? SCA modules and calculator sample? I think it's enough to start experiment SCA on Android I sent a msg to Android Developers list, lets wait for the response : ) Regards, Adriano Crestani On Fri, Mar 14, 2008 at 7:11 PM, Luciano Resende [EMAIL PROTECTED] wrote: Good summary Adriano, I haven't had success yet trying to run Calculator sample application on the Android environment. Below are some issues I noted - Looks like our calculator sample dependency has grown out of control, and is now requiring node, databinding, axiom, etc - The service locator pattern we use for our extension mechanism is not working correct in Android environment causing various NPE - etc What do you think if create a branch to experiment and try to work on these issues together ? On Fri, Mar 14, 2008 at 2:13 PM, Adriano Crestani [EMAIL PROTECTED] wrote: Hi, Luciano and me have been trying to run the SCA calculator sample on the Google Android platform, that is a platform for mobile devices. As the Android platform apps are written in Java language, we tried to run the Java SCA calculator sample on it. Although the apps for Android are coded in Java, it's only coded in Java language. When it's compiled, it generates not .class files, but a file called .dex, that is equivalent to .jar files. The .dex files are not compound of Java standard bytecode, but a special bytecode that is intended to run only on Android VM: Dalvik. So, in our first try to compile the calculator sample, only importing the needed SCA jars were not successful, because the SCA jars are compiled using JDK compiler and do not have the Android special bytecode format. Fortunately, when you import the SCA jars into an eclipse Android project, it automatically tries to convert the JDK bytecode to Android bytecode before execute it. But something was not going correctly yet, cause when it tries to execute the service I get this exception: Application Error: com.android.hello An error in com.android.hello. Unnable to start activity ComponentInfo{com.android.hello/com.android.hello.HelloAndroid]: org.osoa.sca.ServiceRuntimeException: java.lang.NullPointerException. I wasn't sure about what was happening, and then I tried another approach: not import the SCA jars, but place the SCA source code needed by the calculator sample into the Android app src folder. This way the SCA would be compiled directly to Android bytecode. Unfortunately, the Android is not Java and does not have the entire set of classes that J2SE provides. It provides only some java classes as java.langand java.util classes which Android developers kept with the same package/class names and method signature for easy portability of Java app codes. So, the common Java classes used on Java SCA were compatible. But, the Java SCA uses a lot the javax.xml package and Android implements only part of this package on its platform, so I was getting a lot of errors because the missing classes that should be contained in this package. I solved it downloading the StAX source code and JDK javax.xml API source code, and placing it directly on my Android app project. Finally I got it compiled. Then, I got another error. I found out that the Android compiler fist compile the Java code to .class files and then compile the .class files to a .dex file. The first process everything goes fine, meaning the package dependencies and code syntax are OK. But on the second process, when it tries convert the .class files to .dex, I get 4 warnings and 1 error that are lightly described: *[2008-03-14 14:25:27 - HelloAndroid] trouble processing: [2008-03-14 14:25:27 - HelloAndroid] truncated annotation attribute ...while parsing RuntimeVisibleAnnotations attribute at offset 0175 ...while parsing attributes[1] ...while parsing javax/xml/bind/annotation/XmlNs.class ...while processing javax/xml/bind/annotation/XmlNs.class [2008-03-14 14:25:27 - HelloAndroid] trouble processing: [2008-03-14 14:25:27 - HelloAndroid] truncated annotation attribute ...while parsing AnnotationDefault attribute at offset 02b8 ...while parsing attributes[0] ...while parsing methods[0] ...while parsing javax
[SCA 1.2] IRC Chat log, was Re: [SCA 1.2] IRC Chat to finalize 1.2 release contents
. it is already deferred so I just need to lower the priority nash i think we should also lower the priority of 1840 nash if the reporter can't be bothered to respond then there is no way it's critical lresende k, let me change their priorities... lresende let me skip TUSCANY-1152, unless anyone have any comments on it lresende TUSCANY-1775 is next lresende well, let me ask about time, should we keep going ? or maybe schedule another IRC session to go over the JIRAs ? nash ican offer to take 2 of these nash 1717 and 1860 Venkat lresende, I can take care of 1775 nash maybe we can go through page by page asking everyone if they are willing to offer nash not each one individually lresende are these jiras going to be part of 1.2 ? jozoppi hi lresende so, if you guys like this aproach, maybe we could continue with this suggestion (page/page) on monday ? same channel, same time ? lresende jozoppi, hi slaws hi jozoppi jozoppi hi guys nash i will lok at 1398 to see if it is still failing * pombreda has quit (No route to host) nash lresende, that depends on when the cutoff is for 1.2 :-) lresende nash, thanks, please assign to your name if you are working on it slaws in the mean time can people take another scan through the JIRA list to see if there any more we can just close out as they are no longer relevant or have already been fixed nash iwill asiign the 3 i mentioned slaws means less to look through :-) rfeng +1 lresende +1 lresende so, let me look at page 1 lresende TUSCANY-1599 is probably a candidate for 1.2 lresende let me move it nash lresende, i am on page 2 and I noticed 2015... dependency on Felix SNAPSHOTs nash we can't release 1.2 until that's resolved lresende nash, so, looks like that is needed, there is a bug on the latest release of felix lresende nash, but we had the same issue in 1.0.1 nash that was a long time ago... was it the same bug? * Venkat ([EMAIL PROTECTED]) has left #tuscany nash i recall a more recent discussion on the list about this lresende nash, I think rajini explained on the list what the issue is, we might check if there is a new release of felix out lresende but I'd rather exclude the iTest from the distro, if we have a problem for 1.2 lresende as this is really a felix issue nash excluding the itest would be fine lresende k slaws we took the exclusion route with 1.1. IIRC lresende good... lresende TUSCANY-1953 should this be moved to 1.2 as well ? nash yes if someone can work on it lresende TUSCANY-1950 this is an old one, do we think we can address this for 1.2 ? * oisin ([EMAIL PROTECTED]) has joined #tuscany lresende jozoppi, you are quiet :) anything you are looking for 1.2 ? jozoppi guys jozoppi i'm planning to work on my jiras this weekend nash 1950 would be good. a small irritation for users that probably does not take long for someone who knows the code. jozoppi so i can post a paper for CoreGrid Symposioum on August lresende jozoppi, cool nash stepping away for 2 mins slaws i'm working on getting the code we have so far checked in today so we have a base to work from for this - won't be a 1.2 item though slaws I won't include it in the main build just yet jozoppi yes I agree lresende are people ok with NOT addressing TUSCANY-1994 for 1.2 ? jozoppi i'll skim a jira list and i see if i'll be able to give an hand nash looking at 1994 now lresende 1994 is related to the ode server database being packaged inside the jar nash i applied a workaround. we can leave that in place for 1.2. at sme would it would be good to figure out why it doesn't work as expected. lresende k nash sorry that shoud have been: at some point it would nash does that mean we can repackage to solve the problem? lresende probably, maybe i can look at this again for 1.2 nash are we building the jar even though it is unusable? it would be good to not build it. slaws we shipped the jar in 1.1 lresende k, agreed lresende i have changed it to 1.2 nash i would like to make 2035 as resolved. i have not had any feedback (good or bad) on my fix nash s/make/mark/ lresende nash, please if you are confortable with it, resolve the issue... nash will do. i am hoping the fix will solve 1860 as well. i'll run the test to check. lresende cool nash when do we expect to take the 1.2 branch? lresende well, i was planning to do sometime after today... but with these changes maybe by monday ? what others think ? slaws monday sounds more sensible to me lresende more sensible = better ? nash monday will give me chance to make some progress. before that would mean I can't do any fixes. lresende ok, so I'd plan for monday lresende it shouldn't make much difference lresende any other issues you guys want to discuss ? lresende well, thanks, this was a very productive chat.. I'll send a transcript to the list slaws thx - luciano jozoppi I'll see 2062, because i'm working with interoperability lresende good jozoppi, thanks rfeng thanks On Wed, Mar 12, 2008 at 4:24 PM, Luciano Resende [EMAIL PROTECTED] wrote: Small update
Re: Running Tuscany/SCA in Google Android mobile platform
] Conversion to Dalvik format failed with error 2 * So, I got nothing running so far : ( . Is there anyone with some Android knowledge that could help us with it? I will probably send this doubts to Android community and see if they can help us : ) Thanks in advance ; ) Adriano Crestani -- 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: [SCA 1.2] Release Branch
After today's IRC chat, looks like people would be using the weekend for some extra work, so current plans is to wait untill Monday, March 17 to cut the 1.2 branch. On Tue, Mar 11, 2008 at 12:38 PM, Luciano Resende [EMAIL PROTECTED] wrote: As suggested on the following thread [1], I'd like to create a Java SCA 1.2 branch sometime after this Friday, March 14th, and then start with a RC early next week. Thoughts ? [1] http://www.mail-archive.com/tuscany-dev%40ws.apache.org/msg28635.html -- 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]
[SCA 1.2] What's new in JMS and OSGI for Java SCA 1.2 release ?
After looking into the commit logs and other information sources, I still don't have a good feeling of how to describe the updates around JMS and OSGI. Could people working on these area please update the Java SCA 1.2 release wiki with what's new in this release ? - Thanks On Wed, Mar 12, 2008 at 11:31 AM, Luciano Resende [EMAIL PROTECTED] wrote: I have created a wiki page to help us centralize and track contents for the Java SCA 1.2 release. I'm going to start looking into the commit logs to check the new features, but owners feel free to update the wiki as desired. I'm also going to create a local distribution and verify the sample status, and create any jira for the issues I find. Any help is appreciated. [1] http://cwiki.apache.org/confluence/display/TUSCANYWIKI/Release+-+Java+SCA+1.2 -- 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]
Re: Tuscany participation at Google Summer of Code (GSoC) 2008
Below is an updated GSoC immediate deadlines (from [1]) March 17th - Students start engaging with project to discuss applications March 24th - students are able to submit applications to the GSoC webapp. March 31st - Deadline for student applications This means we should try and have projects proposed by March 17th. It would be great if people could review their ideas at [2] and add further comments/description as necessary. Then I'll handle moving them to the proper location at GSoC place. As for mentors, If everybody is willing to be a mentor, good, otherwise I could probably help on that area, and maybe ask for others to help on areas of the code that I didn't work before. Thoughts ? [1] http://wiki.apache.org/general/SummerOfCodeMentor [2] http://cwiki.apache.org/confluence/display/TUSCANYWIKI/Google+Summer+of+Code+%282008%29 On Fri, Mar 7, 2008 at 11:15 PM, Luciano Resende [EMAIL PROTECTED] wrote: Very good ideas, I have started collecting them in our wiki [1] and would be great if we could get some details together with each suggestion. Sebastien's suggestions look good as an example of explanation for the given project idea. Thanks and let's continue with the brainstorm [1] http://cwiki.apache.org/confluence/display/TUSCANYWIKI/Google+Summer+of+Code+%282008%29 On Fri, Mar 7, 2008 at 8:39 PM, Jean-Sebastien Delfino [EMAIL PROTECTED] wrote: Luciano Resende wrote: Apache Software Foundation is participating in Google Summer of Code program [1] as a mentoring organization. I think this is a good opportunity for us and I'd like to use this thread to discuss possible innovative and challenging projects that could attract the students participating on the program. Maybe we could start be defining some themes, and then projects around this themes, then, once we have a couple of projects, we could use wiki to create a small description of the project. Possible themes : Tuscany Extensions (new bindings and implementations) Web 2.0 Thoughts ? [1] http://code.google.com/soc/2008/ [2] http://wiki.apache.org/general/SummerOfCode2008 Here are a few ideas: A) Simplify the development of Map/Reduce applications and their integration with various sources of information. Integrate Apache Tuscany and Apache Hadoop to allow developers to develop Mappers/Reducers/Combiners as SCA (Service Component Architecture) components, and make it really easy to assemble them together using SCA compositions and integrate external sources of info using the SCA bindings supported by Tuscany (e.g. Web services, JMS and JEE apps, Atom feeds). B) Integrate Google services in SCA compositions. Add a GData binding to Apache Tuscany (could be an extension of the current Tuscany ATOM binding) to allow people to integrate SCA compositions with Google services and GData clients. C) Use Tuscany and Apache Shindig to mash-up Google gadgets and backend SCA service components (Web Services, existing JEE services etc). That GSoC project could explore a few interesting options, including: - Use SCA to model references from Javascript gadgets to server-side services, and provide transparent access to these services (by injecting Javascript proxies into the gadgets, similar to what Tuscany currently does with its SCA Widget component support). - Use SCA composites to configure and assemble the gadgets together as well, allowing the application developer to use a consistent SCA-based assembly model for client-side mashups, server-side compositions and mixes of the two. I may propose one or two more ideas in a day or two, after I think about them a bit more over the weekend :) -- Jean-Sebastien - 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]
Re: Tuscany participation at Google Summer of Code (GSoC) 2008
BTW, the following link [1] has a template to be used for project proposal, basically you need the following information : Subject ID project-id Title a short desciptive title of the subject ASF Project the ASF project(s) tied to this subject Keywords keywords on this subject, like language, technology or concept used Description a paragraph describing what this subject is all about Possible Mentors volunteer mentors for this subject Status indicate whether this subject has already been assigned to a participating student [1] http://wiki.apache.org/general/SummerOfCode2008 On Wed, Mar 12, 2008 at 8:43 AM, Luciano Resende [EMAIL PROTECTED] wrote: Below is an updated GSoC immediate deadlines (from [1]) March 17th - Students start engaging with project to discuss applications March 24th - students are able to submit applications to the GSoC webapp. March 31st - Deadline for student applications This means we should try and have projects proposed by March 17th. It would be great if people could review their ideas at [2] and add further comments/description as necessary. Then I'll handle moving them to the proper location at GSoC place. As for mentors, If everybody is willing to be a mentor, good, otherwise I could probably help on that area, and maybe ask for others to help on areas of the code that I didn't work before. Thoughts ? [1] http://wiki.apache.org/general/SummerOfCodeMentor [2] http://cwiki.apache.org/confluence/display/TUSCANYWIKI/Google+Summer+of+Code+%282008%29 On Fri, Mar 7, 2008 at 11:15 PM, Luciano Resende [EMAIL PROTECTED] wrote: Very good ideas, I have started collecting them in our wiki [1] and would be great if we could get some details together with each suggestion. Sebastien's suggestions look good as an example of explanation for the given project idea. Thanks and let's continue with the brainstorm [1] http://cwiki.apache.org/confluence/display/TUSCANYWIKI/Google+Summer+of+Code+%282008%29 On Fri, Mar 7, 2008 at 8:39 PM, Jean-Sebastien Delfino [EMAIL PROTECTED] wrote: Luciano Resende wrote: Apache Software Foundation is participating in Google Summer of Code program [1] as a mentoring organization. I think this is a good opportunity for us and I'd like to use this thread to discuss possible innovative and challenging projects that could attract the students participating on the program. Maybe we could start be defining some themes, and then projects around this themes, then, once we have a couple of projects, we could use wiki to create a small description of the project. Possible themes : Tuscany Extensions (new bindings and implementations) Web 2.0 Thoughts ? [1] http://code.google.com/soc/2008/ [2] http://wiki.apache.org/general/SummerOfCode2008 Here are a few ideas: A) Simplify the development of Map/Reduce applications and their integration with various sources of information. Integrate Apache Tuscany and Apache Hadoop to allow developers to develop Mappers/Reducers/Combiners as SCA (Service Component Architecture) components, and make it really easy to assemble them together using SCA compositions and integrate external sources of info using the SCA bindings supported by Tuscany (e.g. Web services, JMS and JEE apps, Atom feeds). B) Integrate Google services in SCA compositions. Add a GData binding to Apache Tuscany (could be an extension of the current Tuscany ATOM binding) to allow people to integrate SCA compositions with Google services and GData clients. C) Use Tuscany and Apache Shindig to mash-up Google gadgets and backend SCA service components (Web Services, existing JEE services etc). That GSoC project could explore a few interesting options, including: - Use SCA to model references from Javascript gadgets to server-side services, and provide transparent access to these services (by injecting Javascript proxies into the gadgets, similar to what Tuscany currently does with its SCA Widget component support). - Use SCA composites to configure and assemble the gadgets together as well, allowing the application developer to use a consistent SCA-based assembly model for client-side mashups, server-side compositions and mixes of the two. I may propose one or two more ideas in a day or two, after I think about them a bit more over the weekend :) -- Jean-Sebastien - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL
Re: Tuscany participation at Google Summer of Code (GSoC) 2008
Thanks Mario, I have added it to the wiki [1]. [1] http://cwiki.apache.org/confluence/display/TUSCANYWIKI/Google+Summer+of+Code+%282008%29 On Wed, Mar 12, 2008 at 8:49 AM, Antollini, Mario [EMAIL PROTECTED] wrote: Other topic, Propose a solution for Service Level Agreement Support for Tuscany Applications This requires an SLA description language, annotations to add in the application code in order to instrument it, and an SLA engine (monitoring, automatic reaction, policy injection, etc). Regards, Mario -Original Message- From: Luciano Resende [mailto:[EMAIL PROTECTED] Sent: Saturday, March 08, 2008 4:16 AM To: tuscany-user@ws.apache.org Cc: [EMAIL PROTECTED] Subject: Re: Tuscany participation at Google Summer of Code (GSoC) 2008 Very good ideas, I have started collecting them in our wiki [1] and would be great if we could get some details together with each suggestion. Sebastien's suggestions look good as an example of explanation for the given project idea. Thanks and let's continue with the brainstorm [1] http://cwiki.apache.org/confluence/display/TUSCANYWIKI/Google+Summer+of+ Code+%282008%29 On Fri, Mar 7, 2008 at 8:39 PM, Jean-Sebastien Delfino [EMAIL PROTECTED] wrote: Luciano Resende wrote: Apache Software Foundation is participating in Google Summer of Code program [1] as a mentoring organization. I think this is a good opportunity for us and I'd like to use this thread to discuss possible innovative and challenging projects that could attract the students participating on the program. Maybe we could start be defining some themes, and then projects around this themes, then, once we have a couple of projects, we could use wiki to create a small description of the project. Possible themes : Tuscany Extensions (new bindings and implementations) Web 2.0 Thoughts ? [1] http://code.google.com/soc/2008/ [2] http://wiki.apache.org/general/SummerOfCode2008 Here are a few ideas: A) Simplify the development of Map/Reduce applications and their integration with various sources of information. Integrate Apache Tuscany and Apache Hadoop to allow developers to develop Mappers/Reducers/Combiners as SCA (Service Component Architecture) components, and make it really easy to assemble them together using SCA compositions and integrate external sources of info using the SCA bindings supported by Tuscany (e.g. Web services, JMS and JEE apps, Atom feeds). B) Integrate Google services in SCA compositions. Add a GData binding to Apache Tuscany (could be an extension of the current Tuscany ATOM binding) to allow people to integrate SCA compositions with Google services and GData clients. C) Use Tuscany and Apache Shindig to mash-up Google gadgets and backend SCA service components (Web Services, existing JEE services etc). That GSoC project could explore a few interesting options, including: - Use SCA to model references from Javascript gadgets to server-side services, and provide transparent access to these services (by injecting Javascript proxies into the gadgets, similar to what Tuscany currently does with its SCA Widget component support). - Use SCA composites to configure and assemble the gadgets together as well, allowing the application developer to use a consistent SCA-based assembly model for client-side mashups, server-side compositions and mixes of the two. I may propose one or two more ideas in a day or two, after I think about them a bit more over the weekend :) -- Jean-Sebastien - 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] - 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]
[SCA 1.2] Schedule, Features, JIRAS, etc
I have created a wiki page to help us centralize and track contents for the Java SCA 1.2 release. I'm going to start looking into the commit logs to check the new features, but owners feel free to update the wiki as desired. I'm also going to create a local distribution and verify the sample status, and create any jira for the issues I find. Any help is appreciated. [1] http://cwiki.apache.org/confluence/display/TUSCANYWIKI/Release+-+Java+SCA+1.2 -- 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: Tuscany participation at Google Summer of Code (GSoC) 2008
We already have most of it, see [1] [1] http://incubator.apache.org/tuscany/sca-java-implementationbpel.html On Wed, Mar 12, 2008 at 1:07 PM, Antollini, Mario [EMAIL PROTECTED] wrote: New proposal, Integrate Tuscany with Apache ODE - * Allow Tuscany composites to have ODE processes as components within a composite * Allow a Tuscany composite to become a task within an ODE process I already added it to the wiki. Regards, Mario -Original Message- From: Luciano Resende [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 12, 2008 2:14 PM To: [EMAIL PROTECTED] Cc: tuscany-user@ws.apache.org Subject: Re: Tuscany participation at Google Summer of Code (GSoC) 2008 Thanks Mario, I have added it to the wiki [1]. [1] http://cwiki.apache.org/confluence/display/TUSCANYWIKI/Google+Summer+of+ Code+%282008%29 On Wed, Mar 12, 2008 at 8:49 AM, Antollini, Mario [EMAIL PROTECTED] wrote: Other topic, Propose a solution for Service Level Agreement Support for Tuscany Applications This requires an SLA description language, annotations to add in the application code in order to instrument it, and an SLA engine (monitoring, automatic reaction, policy injection, etc). Regards, Mario -Original Message- From: Luciano Resende [mailto:[EMAIL PROTECTED] Sent: Saturday, March 08, 2008 4:16 AM To: tuscany-user@ws.apache.org Cc: [EMAIL PROTECTED] Subject: Re: Tuscany participation at Google Summer of Code (GSoC) 2008 Very good ideas, I have started collecting them in our wiki [1] and would be great if we could get some details together with each suggestion. Sebastien's suggestions look good as an example of explanation for the given project idea. Thanks and let's continue with the brainstorm [1] http://cwiki.apache.org/confluence/display/TUSCANYWIKI/Google+Summer+of+ Code+%282008%29 On Fri, Mar 7, 2008 at 8:39 PM, Jean-Sebastien Delfino [EMAIL PROTECTED] wrote: Luciano Resende wrote: Apache Software Foundation is participating in Google Summer of Code program [1] as a mentoring organization. I think this is a good opportunity for us and I'd like to use this thread to discuss possible innovative and challenging projects that could attract the students participating on the program. Maybe we could start be defining some themes, and then projects around this themes, then, once we have a couple of projects, we could use wiki to create a small description of the project. Possible themes : Tuscany Extensions (new bindings and implementations) Web 2.0 Thoughts ? [1] http://code.google.com/soc/2008/ [2] http://wiki.apache.org/general/SummerOfCode2008 Here are a few ideas: A) Simplify the development of Map/Reduce applications and their integration with various sources of information. Integrate Apache Tuscany and Apache Hadoop to allow developers to develop Mappers/Reducers/Combiners as SCA (Service Component Architecture) components, and make it really easy to assemble them together using SCA compositions and integrate external sources of info using the SCA bindings supported by Tuscany (e.g. Web services, JMS and JEE apps, Atom feeds). B) Integrate Google services in SCA compositions. Add a GData binding to Apache Tuscany (could be an extension of the current Tuscany ATOM binding) to allow people to integrate SCA compositions with Google services and GData clients. C) Use Tuscany and Apache Shindig to mash-up Google gadgets and backend SCA service components (Web Services, existing JEE services etc). That GSoC project could explore a few interesting options, including: - Use SCA to model references from Javascript gadgets to server-side services, and provide transparent access to these services (by injecting Javascript proxies into the gadgets, similar to what Tuscany currently does with its SCA Widget component support). - Use SCA composites to configure and assemble the gadgets together as well, allowing the application developer to use a consistent SCA-based assembly model for client-side mashups, server-side compositions and mixes of the two. I may propose one or two more ideas in a day or two, after I think about them a bit more over the weekend :) -- Jean-Sebastien - To unsubscribe, e-mail: [EMAIL PROTECTED
Re: [SCA 1.2] Schedule, Features, JIRAS, etc
Should we add to Java SCA 1.2 contents, support for WebLogic as documented in our website ? [1] http://incubator.apache.org/tuscany/sca-java-hostweblogic.html On Wed, Mar 12, 2008 at 11:31 AM, Luciano Resende [EMAIL PROTECTED] wrote: I have created a wiki page to help us centralize and track contents for the Java SCA 1.2 release. I'm going to start looking into the commit logs to check the new features, but owners feel free to update the wiki as desired. I'm also going to create a local distribution and verify the sample status, and create any jira for the issues I find. Any help is appreciated. [1] http://cwiki.apache.org/confluence/display/TUSCANYWIKI/Release+-+Java+SCA+1.2 -- 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]
Re: [SCA 1.2] IRC Chat to finalize 1.2 release contents
Small update, IRC chat is actually Friday 14th. SCA 1.2 IRC Chat Date : Friday 14th, 08:00 AM PST IRC Server : irc.freenode.net IRC Channel : #tuscany On Wed, Mar 12, 2008 at 3:26 PM, Luciano Resende [EMAIL PROTECTED] wrote: I have started a wiki page to help us discuss and track the contents of Java SCA 1.2 Release. I think that a IRC chat would also help us finalize the contents and identify any other item we might want to include in the release. Below is my proposal : SCA 1.2 IRC Chat Date : Friday 13th, 08:00 AM PST IRC Server : irc.freenode.net IRC Channel : #tuscany More details on connecting to IRC available on our website [1]. [1] http://incubator.apache.org/tuscany/getting-involved.html On Wed, Mar 12, 2008 at 11:31 AM, Luciano Resende [EMAIL PROTECTED] wrote: I have created a wiki page to help us centralize and track contents for the Java SCA 1.2 release. I'm going to start looking into the commit logs to check the new features, but owners feel free to update the wiki as desired. I'm also going to create a local distribution and verify the sample status, and create any jira for the issues I find. Any help is appreciated. [1] http://cwiki.apache.org/confluence/display/TUSCANYWIKI/Release+-+Java+SCA+1.2 -- 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/ -- 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: Adding support for Properties in Implementation widget, was Re: SCA in Web 2.0 applications...
For now String. this might change when I get isMany working. On Tue, Mar 11, 2008 at 8:29 AM, Jean-Sebastien Delfino [EMAIL PROTECTED] wrote: Luciano Resende wrote: I have added support for Properties in the implementation.widget. Declaring SCA properties using JavaScript can be done with the syntax below. This properties will get properly introspected by the implementation.widget and wired. //@Property var locale = Property(locale); //@Property locale = Property(locale); For now, some type of properties (e.g isMany) is not supported yet. Please let me know if you guys find any issues or have any questions. Looks good to me. Which type to you assign by default to these properties (given that Javascript is not going to specify any type)? string? -- Jean-Sebastien - 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]
[SCA 1.2] Contributing patches for SCA 1.2 release
Hi Tuscany SCA Users I'm handling the Java SCA 1.2 release and would like to ask around if the user community is interested in contributing any patch for any specific issue of interest. Please let me know if you are interested and need any help. Also note that you should change the JIRA to Java SCA 1.2 release when you add your patch, to make sure it gets addressed. Our initial goal is to cut a release branch sometime after Friday (march 14). -- 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: Reg: Eclipse plug-in editor
Following thread might have information you are looking for. http://www.mail-archive.com/tuscany-user%40ws.apache.org/msg02601.html On Sun, Mar 9, 2008 at 11:24 PM, Ashwini Kumar Jeksani [EMAIL PROTECTED] wrote: Hi, I just wanted to know if someone has any information about the modeler or UI support (Eclipse plug-in) for designing process flow using Apache Tuscany. Thanks Regards Ashwini Kumar Jeksani CAUTION - Disclaimer * This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system. ***INFOSYS End of Disclaimer INFOSYS*** -- 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: Tuscany participation at Google Summer of Code (GSoC) 2008
Very good ideas, I have started collecting them in our wiki [1] and would be great if we could get some details together with each suggestion. Sebastien's suggestions look good as an example of explanation for the given project idea. Thanks and let's continue with the brainstorm [1] http://cwiki.apache.org/confluence/display/TUSCANYWIKI/Google+Summer+of+Code+%282008%29 On Fri, Mar 7, 2008 at 8:39 PM, Jean-Sebastien Delfino [EMAIL PROTECTED] wrote: Luciano Resende wrote: Apache Software Foundation is participating in Google Summer of Code program [1] as a mentoring organization. I think this is a good opportunity for us and I'd like to use this thread to discuss possible innovative and challenging projects that could attract the students participating on the program. Maybe we could start be defining some themes, and then projects around this themes, then, once we have a couple of projects, we could use wiki to create a small description of the project. Possible themes : Tuscany Extensions (new bindings and implementations) Web 2.0 Thoughts ? [1] http://code.google.com/soc/2008/ [2] http://wiki.apache.org/general/SummerOfCode2008 Here are a few ideas: A) Simplify the development of Map/Reduce applications and their integration with various sources of information. Integrate Apache Tuscany and Apache Hadoop to allow developers to develop Mappers/Reducers/Combiners as SCA (Service Component Architecture) components, and make it really easy to assemble them together using SCA compositions and integrate external sources of info using the SCA bindings supported by Tuscany (e.g. Web services, JMS and JEE apps, Atom feeds). B) Integrate Google services in SCA compositions. Add a GData binding to Apache Tuscany (could be an extension of the current Tuscany ATOM binding) to allow people to integrate SCA compositions with Google services and GData clients. C) Use Tuscany and Apache Shindig to mash-up Google gadgets and backend SCA service components (Web Services, existing JEE services etc). That GSoC project could explore a few interesting options, including: - Use SCA to model references from Javascript gadgets to server-side services, and provide transparent access to these services (by injecting Javascript proxies into the gadgets, similar to what Tuscany currently does with its SCA Widget component support). - Use SCA composites to configure and assemble the gadgets together as well, allowing the application developer to use a consistent SCA-based assembly model for client-side mashups, server-side compositions and mixes of the two. I may propose one or two more ideas in a day or two, after I think about them a bit more over the weekend :) -- Jean-Sebastien - 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: Call for Papers Opens for ApacheCon US 2008 (pls forward)
by the Apache Software Foundation and Stone Circle Productions. The ApacheCon Planning team comprises ASF Members from all over the world working on a wholly-volunteer basis. For more information, visit http://www.apachecon.com/ or the ApacheCon US Web site at http://www.us.apachecon.com/us2008/. -- ApacheCon Planning Team planners-2008-us (atsymbol) apachecon.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]
Re: What should be in Tuscany SCA Java release 1.2?
Time flies and is already March. I'd like to restart discussion on this thread and start building a list of things we want to do for SCA 1.2 and I'd also like to volunteer for Release Manager for SCA 1.2 release. On Thu, Feb 14, 2008 at 8:52 AM, Simon Laws [EMAIL PROTECTED] wrote: Hi It's probably about time we started talking about what's going to be in Tuscany SCA Java release 1.2. From the past timeline I would expect us to be trying for a release mid to late March which is not very far away. Some of the things I'd like to see are; More progress on our domain level composite and generally the processing that has to go there There have been a lot of policy changes going on and it would be good to get them in. Also linked to the item above we should look at how policy affects domain level processing. Don't know if it's achievable but some elements of the runtime story we have been talking about on the mail list for a while now Feel free to add topics on this thread. I've also opened up the Java-SCA-1.2category in JIRA so start associating JIRA with it, for example, if 1 - you've already marked a JIRA as fixed and its sitting at Java-SCA-Next 2 - you are working or are going to work on the JIRA for 1.2 3 - you would like to see the JIRA fixed for 1.2 Of course everyone is invited to contribute and submit patches for JIRA whether they be for bugs or new features. Inevitably not all wish list features will get done so you improve your chances of getting you favorite feature in by submitting a patch for it. Regards Simon -- 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: Build process fails on german system
I have added the workaround under revision #630706. Jürgen, let me know if you still have other issues. On Sun, Feb 24, 2008 at 12:28 PM, Simon Nash [EMAIL PROTECTED] wrote: Luciano Resende wrote: In this particular sample scenario, what if we always set the system property in case of a SecurityException ? This would avoid issues in multiple/different languages. It feels like a hack, as it could pick up the wrong exception condition. Despite this, I think it's the best solution for this issue. We should never be comparing the text of the detail string. Simon On Wed, Feb 20, 2008 at 9:23 AM, Mike Edwards [EMAIL PROTECTED] wrote: Hmm, this looks like one of the those flaws in Java exceptions - there is no way of having something like a number to uniquely identify an exception beyond its class - using strings is a bad idea, for exactly this issue with language conversions. This has led to the message string being used to identify sub-cases for exception types, with nasty consequences as found here. I suppose the pure way of doing it would be for there to be a subclass of SecurityException that deals with the case of not being able to find a LoginConfiguration. But I can understand that it quickly gets tedious to create ever more new exception classes. So people don't. Yours, Mike. [EMAIL PROTECTED] wrote: Hi, Could you please let me know what was the exception you had to modify ? Of course. Here's the diff, the file is in java\sca\samples\calculator-implementation-policies\src\test\java\calculator\ Index: CalculatorTestCase.java === --- CalculatorTestCase.java (revision 629059) +++ CalculatorTestCase.java (working copy) @@ -38,7 +38,7 @@ try { Configuration secConf = Configuration.getConfiguration(); } catch ( java.lang.SecurityException e ) { -if ( e.getMessage().equals(Unable to locate a login configuration) ) { +if ( e.getMessage().equals(Anmeldekonfiguration kann nicht gefunden werden.) ) { System.setProperty(java.security.auth.login.config, target/classes/CalculatorJass.config); } else { throw e; Cheers, Jürgen. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- 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: SDO Java 1.1-incubating release candidate 1
/rat-SDO-1.1-incubating-RC1-Exceptions.txt http://people.apache.org/%7Eamita/tuscany/1.1-RC1/rat-SDO-1.1-incubating-RC1-Exceptions.txt http://people.apache.org/%7Eamita/tuscany/1.1-RC1/rat-SDO-1.1-incubating-RC1-Exceptions.txt http://people.apache.org/%7Eamita/tuscany/1.1-RC1/rat-SDO-1.1-incubating-RC1-Exceptions.txt Note: please do reply (not reply all), so as to let the discussion happen in user ML. Best Regards, Amita -- 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: Build process fails on german system
In this particular sample scenario, what if we always set the system property in case of a SecurityException ? This would avoid issues in multiple/different languages. On Wed, Feb 20, 2008 at 9:23 AM, Mike Edwards [EMAIL PROTECTED] wrote: Hmm, this looks like one of the those flaws in Java exceptions - there is no way of having something like a number to uniquely identify an exception beyond its class - using strings is a bad idea, for exactly this issue with language conversions. This has led to the message string being used to identify sub-cases for exception types, with nasty consequences as found here. I suppose the pure way of doing it would be for there to be a subclass of SecurityException that deals with the case of not being able to find a LoginConfiguration. But I can understand that it quickly gets tedious to create ever more new exception classes. So people don't. Yours, Mike. [EMAIL PROTECTED] wrote: Hi, Could you please let me know what was the exception you had to modify ? Of course. Here's the diff, the file is in java\sca\samples\calculator-implementation-policies\src\test\java\calculator\ Index: CalculatorTestCase.java === --- CalculatorTestCase.java (revision 629059) +++ CalculatorTestCase.java (working copy) @@ -38,7 +38,7 @@ try { Configuration secConf = Configuration.getConfiguration(); } catch ( java.lang.SecurityException e ) { -if ( e.getMessage().equals(Unable to locate a login configuration) ) { +if ( e.getMessage().equals(Anmeldekonfiguration kann nicht gefunden werden.) ) { System.setProperty(java.security.auth.login.config, target/classes/CalculatorJass.config); } else { throw e; Cheers, Jürgen. - 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/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [Cross Subproject Discussion] options for SDO Java in Apache
Our current DAS implementation only has support for SDO types, and most of our users, if not all, are SDO users that need support for Relation Database stores. Based on this, I think this discussion should also consider having DAS together with SDO, either in Tuscany or in a different SDO TLP Incubator project. On Fri, Feb 15, 2008 at 2:39 AM, Mike Edwards [EMAIL PROTECTED] wrote: Folks, A few observations inline. Ron Gavlin wrote: I think consolidating the two SDO implementations under a single implementation would be good for the entire Apache SDO community. My concern would be that no Tuscany SDO features be lost in the transition. The new implementation should provide most of what I can currently achieve using both EMF and Tuscany SDO. For example, EMF features like integrated validation should be available in the new implementation before the old implementation is dumped. It might be a good idea to poll the Tuscany SDO community to identify the EMF features currently being used by Tuscany SDO community. It might also be interesting to poll the Eclipse EMF SDO 1.0 community and ask the same question. Maybe many of the existing Tuscany SDO test cases could be re-written for either 1). the new implementation or 2). the CTS, to minimize the loss of functionality during the transition. There is a fundamental tension here which I think it is important to recognise. On the one hand, we want to ensure a lively and progressive Apache SDO community that continually extends the capabilities of SDO to better suit the needs of users. Innovation is a bit part of this story. On the other hand, we're trying to promote an open (and open source) approach to the standardization of the SDO interfaces, to help ensure consistent implementation of SDO across products both commercial and open source. There is a JSR and a set of activities taking place in OASIS for this. Part of that work is to produce an RI and a TCK, open to all. However, an RI must be just that - an exemplary implementation of the specification, the whole specification and nothing but the specification. Similarly, the TCK must be testing compliance of implementations with the specification, the whole specification and nothing beyond the specification. This demands limitations on innovation. So, there is some careful work required in building both forward-looking innovative capabilities and at the same time creating somewhat rigid RIs and TCKs, which are inevitably tied to specific versions of a specification. I think that the proposal to have a second SDO project in Apache is regarded as one way to approach these conflicting requirements. It may not be the only way, but at least it would provide clear dividing lines that both contributors and users can understand easily. It will take some careful thought to combine these aspects within one project in a way that works for all contributors and for all users. One of the reasons that Tuscany is NOT an RI and does NOT contain a TCK for SCA is because it fosters freedom in the implementation of new capabilities that go well beyond the current SCA specifications. Some of these will feed into future standard specifications, I'm sure. From my perspective, the priorities for Apache SDO moving forward should be: 1. Align Apache SDO with the JAXB specification. The static SDO implementation should be JAXB-compliant. 2. Align Apache SDO with the JPA specification. It should be simple to use a OpenJPA to persist SDO graphs. 3. Provide data binding support for popular Java open source WS stacks, especially Axis2 and CXF. Yes, all good innovative stuff. I could toss in a few more, such as having an SDO implementation for JavaScript to address AJAX applications. But how to square this with the RI and TCK with fixed functions matching the SDO 2.1 specification? - Ron Yours, Mike. - 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: store example as a servlet?
+1, implementation.web would be good. On Jan 15, 2008 6:34 PM, Jean-Sebastien Delfino [EMAIL PROTECTED] wrote: Matthew Peters wrote: I have just been through the get started in 10 minutes and I like the store example; it's small and neat. I was thinking of adapting it and redoing it as a servlet, just to compare. I realise this is a backward step in a way of course - instead of the AJAX style, back to page refreshes, and running the code on the server. Nonetheless it would be interesting to compare. Before I start, has anyone done it already? Matthew Peters That makes sense to me. You could define a new implementation.servlet implementation type or try to implement the implementation.web described at http://www.osoa.org/pages/viewpage.action?pageId=3980. -- Jean-Sebastien - 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: What's mean of the managed column in DAS config ?
You should set managed = true when running DAS in a managed environment.Some more information can be obtained in this wiki page [1] [1] http://incubator.apache.org/tuscany/rdb-das-transaction-control.html On Dec 30, 2007 7:14 PM, [EMAIL PROTECTED] wrote: Hi All , What's mean of the managed column in DAS config ? I don't know how to use it . please explain it . Best Regards , Leo -- 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: sample crud implementation
This CRUD implementation was initially started as a unit test for Tuscany extensions in the host-embedded module and later on copied as a sample, that's why you probably seeing some confusion. On Dec 26, 2007 12:51 AM, Chandrashekhar Jain [EMAIL PROTECTED] wrote: hi all, I am going through the sample implementation-crud example for new implementation types. I noticed that the code is spread / duplicated at the following locations in svn: 1. java\sca\samples\implementation-crud-extension 2. java\sca\modules\host-embedded When i run the test case in 1 the test.crud.module.CRUDModuleActivator in 2 gets called. Also i get call back for the Implementation and ImplementationProvider classes in 1. Am i missing something ? thanks, in advance regards, chandra Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs -- 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: sample crud implementation
The one in the host-embedded is used for unit testing, and to make sure extensions are working ok. The one in samples, is basically a copy, and it's used as an example of how to build a new implementation type. As you said in the first e-mail, the two are basically the same, and I'd recommend you to stick with one of them (the sample version that is more well documented) On Dec 26, 2007 5:17 AM, [EMAIL PROTECTED] wrote: hi Luciano, Venkat thanks for the quick response. So we do need the CRUD implementation in both the modules ? regards, chandra - Original Message From: Luciano Resende [EMAIL PROTECTED] To: tuscany-user@ws.apache.org Sent: Wednesday, December 26, 2007 6:30:39 PM Subject: Re: sample crud implementation This CRUD implementation was initially started as a unit test for Tuscany extensions in the host-embedded module and later on copied as a sample, that's why you probably seeing some confusion. On Dec 26, 2007 12:51 AM, Chandrashekhar Jain [EMAIL PROTECTED] wrote: hi all, I am going through the sample implementation-crud example for new implementation types. I noticed that the code is spread / duplicated at the following locations in svn: 1. java\sca\samples\implementation-crud-extension 2. java\sca\modules\host-embedded When i run the test case in 1 the test.crud.module.CRUDModuleActivator in 2 gets called. Also i get call back for the Implementation and ImplementationProvider classes in 1. Am i missing something ? thanks, in advance regards, chandra Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs -- 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] Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping -- 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: Script Implementation
The Script Implementation is based on the extension-helper module, some of the things you are expecting is available there. If you are trying to understand how you could implement new implementation types, I'd recommend the sample/implementation-crud and for binding sample/binding-echo and binding-echo-extension. On Dec 20, 2007 10:38 PM, Chandrashekhar Jain [EMAIL PROTECTED] wrote: Hi all, I am new to tuscany and had a doubt. 1. In the case of the Script Implementation we have defined org.apache.tuscany.sca.implementation.script.ScriptImplementationActivator in org.apache.tuscany.sca.extension.helper.ImplementationActivator file. This is the only class I noticed which extends the ImplementationActivator Interface. None of the other Implementation types extend this interface. 2. Also compared to other Implementations, the Script Implementation does not have artifact processor extension. Thanks, in advance regards, chandra Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping -- 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: tuscany example
Are you still having problems ? I came across the following JIRA that might help you... I'm going to review the store PDF for our current release, but you could also check against the current store sample available in trunk : sca/samples/store [1] https://issues.apache.org/jira/browse/TUSCANY-1942 On Dec 14, 2007 4:16 AM, [EMAIL PROTECTED] wrote: Hello, I'm using this version tuscany-sca-1.0.1-incubating. I created the project following the instructions available in the tutorial (copy/paste) and the URL I'm using is http://localhost:8080/ufs/store.htmlwhich is mapped in the composite.store Thank you On Dec 13, 2007 6:20 PM, Luciano Resende [EMAIL PROTECTED] wrote: Using latest trunk code, I have run src/launch/Launch trough eclipse and accessed the application from http://localhost:8080/store/store.html. The catalog items are showing ok for me. Are you using trunk or a specific release ? Did you start the application from scratch or used the existing sample ? On Dec 13, 2007 11:04 AM, eu mesmo [EMAIL PROTECTED] wrote: Hi Luciano, I tried using Firefox 2.0.0.11 and IE 6.0.2900. I ran the class src/launch/Launch inside Eclipse vs 3.3.0 I dont get any error. I believe that the class CatalogImpl is not being called, I added some logs at this class to check it. by the way, I saw your presentation this week at IBM, was very good, congratulation! Thank you On Dec 13, 2007 4:54 PM, Luciano Resende [EMAIL PROTECTED] wrote: Couple questions : What browser version are you using ? Do you get any javascript error ? Did you try to run the sample application from : java/sca/samples/store On Dec 13, 2007 10:42 AM, eu mesmo [EMAIL PROTECTED] wrote: Hello, Build your first SCA application in 10 minutes! Give it a try http://incubator.apache.org/tuscany/sca-overview.data/getting_started_Rest_099_07.pdf I'm trying to run this example but I'm not able, I dont get any error but the list of products doesnt populate I tried to debug with no lucky, currently I'm completely without a clue , does any have any tip to help me? Thanks in advance -- Luciano Resende Apache Tuscany Committer http://people.apache.org/~lresendehttp://people.apache.org/%7Elresende http://people.apache.org/%7Elresende http://lresende.blogspot.com/ - 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/ - 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: SCA and IBM Toolbox
You could start from our Extension Guide [1] and look at echo binding sample. [1] http://incubator.apache.org/tuscany/sca-java-extension-development-guide.html On Dec 13, 2007 10:23 PM, Joshua Jackson [EMAIL PROTECTED] wrote: On 12/8/07, Raymond Feng [EMAIL PROTECTED] wrote: For AS400, what protocols do you have in mind to provide the connectivity? They are captured as bindings in Tuscany/SCA. There is a bunch of bindings available in Tuscany (http://incubator.apache.org/tuscany/sca-java-user-guide.html#SCAJavaUserGuide-AvailableExtensions). Tuscany runtime is extensible to plug in new bindings. I already find out from the IT department here, to connect to AS400 I have to use IBM Toolbox protocol. CMIIW. How do I create these binding in Tuscany? Is there any tutorial for it? -- I'm a coder not a drag-n-dropper Blog: http://joshuajava.wordpress.com/ - 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: State of implementation-bpel?
Thanks for your interest Juergen You are right, we still need to finalize the support for composing BPEL with other SCA components, what we were calling BPEL Reference support. This is something I have started and I'm planning to finalize in the near future. Any help is appreciated, either on the implementation or with some sample scenarios. On Dec 14, 2007 4:14 AM, [EMAIL PROTECTED] wrote: Hello, I'm very interested in the BPEL implementation type of Tuscany. From reading about SCA and BPEL I got the impression that it should be possible to use BPEL to orchestrate other SCA (Java, POJO) components. This seems not(yet?) to be possible with the Tuscany BPEL integration. At least, I did not find examples or documentation about this and in ODEMessageExchangeContext.java there is no code yet to invoke other components as partners, and this is the place where I would have expected something like this. Are there plans to add this in the near future? What will be possible then? Or did I just miss something (maybe even an examples?). Thanks in advance (-: Regards, Jürgen Schumacher -- empolis GmbH | Europaallee 10 | 67657 Kaiserslautern | Germany [EMAIL PROTECTED] | www.empolis.com - 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: SDO and Spring
Tim, as Kelvin mentioned, DAS would be the component handling heterogeneous data sources, it would be the interface between the Data (SDO Graphs) and the Data repository. From your e-mail, it looks like you want to persist the SDO utilizing Hibernate or Spring DAO. I could see two ways here : Having a new DAS implementation that would utilize this technology to persist the data (but note that Apache have license issues with Hibernate) or refactory DAS to allow plugability of the persistent layer (today RDB DAS uses JDBC under the covers to persist the data to RDB). Could you also elaborate little more on your cache question ? On Dec 13, 2007 1:39 AM, kelvin goodson [EMAIL PROTECTED] wrote: Hi Tim, welcome to Tuscany. What I'm not completely clear on from your question is what you mean by publish and central graph. There's a related discussion on this list going on (see [1]), and its clear that Jason too had initial difficulty seeing the picture here until he found the DAS material. I think perhaps we need to do some work on the SDO part of the Tuscany website to make this better understood. Bert Robben has taken part in that discussion, and his scenario involves SDO as the primary data API, with conversion to other data formats via an abstract black box snapshot format being done when necessary, such as Hibernate being used for some of the back end persistence activity. So the notion behind the SDO API design is that in order to access heterogeneous data sources, Data Access Services will be created to build SDO data graphs. The RDB DAS is one such example, and you can view the XMLHelper as providing the services of another. If you are using an RDB as your central store and want SDO access to the data then the natural solution is to use the RDB DAS. Tuscany has no concept of providing a façade over other data handling implementations, and I think the disparity in the features of the data representations you mention would mean that providing an SDO façade would not be the natural way of solving interoperability. I'd be keen to get a better idea of your scenario in order to be able to understand in more detail how SDO can help you. Regards, Kelvin. [1] http://www.mail-archive.com/tuscany-user@ws.apache.org/msg02162.html On 13/12/2007, Tim Frey [EMAIL PROTECTED] wrote: Hello, I searched the whole day how i could build up a data graph and publish it via SDO. I want to access the data graph via Tuscany SDO. I found out about the relational solution DAS, but I would like to have the data graph as Java objects with hibernate persistency. Or Maybe even better have also spring DAOs as nodes in the graph. How can I build up a central graph and is this even possible to do what I want? Or is the relational solution also capable of caching? Sorry maybe this questions are answered somewhere but I don't find out where to start. I really hope that someone can help that I can build up a central data store accessed in a unified way in my application. Or maybe someone can propose me a better solution than SDO for that. Kind regards Tim Frey -- 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: tuscany architecture
Adding back to the Tuscany-user mailling list. On Dec 13, 2007 11:23 AM, Luciano Resende [EMAIL PROTECTED] wrote: Let me give you some comments based on the current status of BPEL support. At the moment, Tuscany has a embedded ODE engine in it's runtime that gets started when BPEL components are being used. We are not supporting remote servers at the moment. Are there requirements to have the BPEL process deployed in a remote ODE server ? Instead of using the embedded ODE server ? On Dec 13, 2007 8:20 AM, Peng Han [EMAIL PROTECTED] wrote: Then I have another two questions. 1. I know Tuscany packaged an embedded ODE runtime, does it mean even if I install another version of ODE, it will be ignored? 2. What about I have another BPEL process running on ODE on another machine? I mean, is it possible to include it as component and should that machine also Be installed the Tuscany? Thanks. Best Regards -Original Message- From: Luciano Resende [mailto:[EMAIL PROTECTED] Sent: Thursday, December 13, 2007 5:02 PM To: tuscany-user@ws.apache.org; [EMAIL PROTECTED] Subject: Re: tuscany architecture Currently in Tuscany, when you use the BPEL support (implementation.bpel), the current implementation will deploy and execute your process in an ODE environment. Composition with others BPEL engines are not yet available, but you might want to check if you could do a direct web service call to invoke the ActiveBPEL process and use a SCA reference with a ws binding. On Dec 13, 2007 7:45 AM, Peng Han [EMAIL PROTECTED] wrote: Hello All: I am a newbie for Tuscany. After reading the architecture guide, I still didn't quite understand how the Tuscany based SCA applications actually run. I mean, if we are using a top-down approach and build everything from scratch, it will be more easy to understand. However, I don't know whether Tuscany can support the Bottom-Up approach and enable users to reuse some existing sources and platforms. For example, I have some BPEL processes running on an ActiveBPEL server instead of ODE. Is it Possible for me to include them as components in a SCA composite in Tuscany. And if so, how does Tuscany handle different component runtime and make appropriate selections? Thanks. Best Regards Peng Han FernUniversitaet in Hagen -- 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/ -- 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: tuscany example
Using latest trunk code, I have run src/launch/Launch trough eclipse and accessed the application from http://localhost:8080/store/store.html. The catalog items are showing ok for me. Are you using trunk or a specific release ? Did you start the application from scratch or used the existing sample ? On Dec 13, 2007 11:04 AM, eu mesmo [EMAIL PROTECTED] wrote: Hi Luciano, I tried using Firefox 2.0.0.11 and IE 6.0.2900. I ran the class src/launch/Launch inside Eclipse vs 3.3.0 I dont get any error. I believe that the class CatalogImpl is not being called, I added some logs at this class to check it. by the way, I saw your presentation this week at IBM, was very good, congratulation! Thank you On Dec 13, 2007 4:54 PM, Luciano Resende [EMAIL PROTECTED] wrote: Couple questions : What browser version are you using ? Do you get any javascript error ? Did you try to run the sample application from : java/sca/samples/store On Dec 13, 2007 10:42 AM, eu mesmo [EMAIL PROTECTED] wrote: Hello, Build your first SCA application in 10 minutes! Give it a try http://incubator.apache.org/tuscany/sca-overview.data/getting_started_Rest_099_07.pdf I'm trying to run this example but I'm not able, I dont get any error but the list of products doesnt populate I tried to debug with no lucky, currently I'm completely without a clue , does any have any tip to help me? Thanks in advance -- 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] -- 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: 'org.apache.maven.plugins:maven-resources-plugin' does not exist...
Could you please try the following command on the sample folder : mvn -U You should be able to download this dependency from a maven repository. On Nov 10, 2007 4:11 AM, [EMAIL PROTECTED] wrote: Hi, When I try to use maven for running some of the samples in version 1.0 I get the following error. Any help would be highly appreciated. [INFO] Scanning for projects... [INFO] - --- [INFO] Building Apache Tuscany SCA HelloWorld BPEL Sample [INFO]task-segment: [install] [INFO] - --- [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not exi st or no valid version could be found [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 1 second [INFO] Finished at: Sat Nov 10 17:38:52 GMT+05:30 2007 [INFO] Final Memory: 1M/2M [INFO] Thanks, Sudeep. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - 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: SCA Java 1.0 - incubating
We are voting on a new SCA release, and it's going to be a 1.0.1-incubating. We can't remove the incubating while we are still a ASF Incubator project. On 11/1/07, Barb Cochrane [EMAIL PROTECTED] wrote: Hello, Silly question maybe, but now that 1.0 has been released will any / all future code changes be submitted under a new / different version number? It's the term incubating that has me asking :-). Thanks in advance! Cheers, Barb Cochrane Eclipse Foundation Inc. Phone: (613) 224-9461, x.232 (GMT -5) Fax: (613) 224-5172 Email: mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] Alternate email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] www.eclipse.org -- 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]
SCA in Web 2.0 applications...
I have created a new implementation type (implementation.widget) that starts to extend the SCA programming model to web 2.0 client applications. This is similar to what was proposed on this thread [1], we can now turn a html into a SCA component, declare references using JavaScript, and get them wired using SCA. Considering the store composite [1], component name=store tuscany:implementation.widget location=content/store.html/ service name=Widget tuscany:binding.http/ /service reference name=Catalog target=Catalog tuscany:binding.jsonrpc/ /reference reference name=ShoppingCart target=ShoppingCart tuscany:binding.atom uri=/ShoppingCart/ /reference /component component name=Catalog implementation.java class=store.CatalogImpl/ service name=Catalog tuscany:binding.jsonrpc uri=/Catalog/ /service /component component name=ShoppingCart implementation.java class=store.ShoppingCartImpl/ service name=Collection tuscany:binding.atom/ /service /component Declaring SCA references using JavaScript can be done with the syntax below. This references will get properly introspected by the implementation.widget and wired. //@Reference var catalog = new Reference(Catalog); //@Reference var shoppingCart = new Reference(ShoppingCart); The client application would need to include a generated js, that has the same name as the component being used. !-- one js include per sca component -- script type=text/javascript src=store.js/script Right now there is support for JSONRPC and Atom, and you can see all of this in in action in sca/samples/store. Please, provide your feedback, and let me know if you have more scenarios that would enhance and simplify the programming model in a web 2.0 application scenario. [1] http://www.mail-archive.com/[EMAIL PROTECTED]/msg23094.html [2] https://svn.apache.org/repos/asf/incubator/tuscany/java/sca/samples/store/src/main/resources/store.composite -- 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: Why there is no tuscany-binding-jms-1.0-incubating.jar in release apache-tuscany-sca-1.0-incubating.zip
The following JIRA [1] has some more info on the JMS Binding and it's current status. [1] https://issues.apache.org/jira/browse/TUSCANY-1789 On 10/19/07, JunJie Nan [EMAIL PROTECTED] wrote: $ ls modules/*-binding-* modules/tuscany-binding-dwr-1.0-incubating.jar modules/tuscany-binding-ejb-1.0-incubating.jar modules/tuscany-binding-feed-1.0-incubating.jar modules/tuscany-binding-http-1.0-incubating.jar modules/tuscany-binding-jsonrpc-1.0-incubating.jar modules/tuscany-binding-notification-1.0-incubating.jar modules/tuscany-binding-rmi-1.0-incubating.jar modules/tuscany-binding-sca-1.0-incubating.jar modules/tuscany-binding-sca-axis2-1.0-incubating.jar modules/tuscany-binding-sca-xml-1.0-incubating.jar modules/tuscany-binding-ws-1.0-incubating.jar modules/tuscany-binding-ws-axis2-1.0-incubating.jar modules/tuscany-binding-ws-xml-1.0-incubating.jar I can not find it on maven2 repository too. Any story? Thanks! -- Cheers Jun Jie Nan ∧ ∧�� ミ^ō^ミ灬)~ -- Luciano Resende Apache Tuscany Committer http://people.apache.org/~lresende http://lresende.blogspot.com/
Re: subscribe
Hey Brenda Welcome and Thanks for your interest in Tuscany... For subscribing to the mail list, you should send e-mail to [EMAIL PROTECTED] More details can be found here [1] [1] http://incubator.apache.org/tuscany/mailing-lists.html On 10/18/07, Brenda Haynes [EMAIL PROTECTED] wrote: -- 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: [DISCUSS] Tuscany SCA Roadmap and next releases
From what you mentioned, I'm very interested in the web 2.0 integration, and the ability to mashup SCA components/services using simple SCA References concept on a web 2.0 client application. I think that we should also add Data Integration to our Roadmap, as I see SCA of great help to simplify exposing data as services to a client application in a simple and flexible way. As for Core capabilities, I think we should improve the error reporting/handling for our data binding framework. On 10/10/07, Jean-Sebastien Delfino [EMAIL PROTECTED] wrote: Hi all, We've released v1.0 of Tuscany SCA 2 weeks ago... So it's probably the right time now to ask what people want to do next and try to build a roadmap for the next few releases. Here are a few random thoughts to initiate the discussion. I've just listed the things that came to my mind this morning, but I'm sure that there's much much more to add :) - Support for transaction and reliability policies Several users have asked for it, and there's now a public draft of the transaction policy spec - Webapp and EJB module integration I'd like to track the OASIS work on this and implement it in parallel in Tuscany. Many users have existing J2EE EJB and EAR modules that they'll need to integrate in bigger SCA compositions. Also Webapp developers will need a non-intrusive way to wire a Webapp with other SCA components in an SCA domain. - Conversational and non blocking + callback programming model over Web2.0 bindings Seems like a good fit with JSON for example... in particular Ajax interactions fit really well with the SCA non blocking + callback programming model. - Ability to model client side JavaScript components Looking at the Store sample for example, I'd like to be able to model the client Javascript as a component with SCA references to the ShoppingCart and Catalog services, instead of manually creating JSON and Atom client proxies in the client Javascript code. - Support for Atom using Apache Abdera Abdera just released their 0.3.0, I've started to look at it and it looks pretty good. I think we should try to port our Atom/RSS binding to it and see how it compares with the Rome library which we are currently using. - More modular distributions, in addition to our current all-in-one distribution, distribute smaller packages that people can choose to install or not? - Some clean up of the core runtime invocation and injection mechanism, we can probably simplify and actually remove code in a number of places :) Could people please jump in and say what they want to see in the next few releases? What they need for their Tuscany based projects? What is missing? What needs to be improved or fixed? -- Jean-Sebastien - 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]
[ANNOUNCE] Apache Tuscany Java DAS 1.0-incubating-beta2 released
October 06st 2007 - Apache Tuscany is pleased to announce the 1.0-incubating-beta2 release of the Java DAS project. Data Access Services (DAS) works together with Service Data Objects (SDO) simplifying handling of data when interacting with the back-end data source and frees application developers from dealing with tedious and error-prone transformation between end source types and SDO Data Object Types/properties. The main purpose of the DAS beta2 release is to fix incompatibilities that were found with SDO 1.0 release. For a complete list of changes on this release, please view the release notes. https://svn.apache.org/repos/asf/incubator/tuscany/tags/java/das/1.0-incubating-beta2/distribution/binary/RELEASE_NOTES To download Java DAS please follow the link to http://incubator.apache.org/tuscany/das-java-releases.html Apache Tuscany welcomes your help. Any contribution, including code, testing, improving the documentation, or bug reporting is always appreciated. For more information on how to get involved in Apache Tuscany visit the website at: http://incubator.apache.org/tuscany. Thank you for your interest in Apache Tuscany! The Apache Tuscany Team. --- Tuscany is an effort undergoing incubation at the Apache Software Foundation (ASF), sponsored by the Apache Web services PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF. -- 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: DAS Web Service
On 10/2/07, Umesh Tyagi (utyagi) [EMAIL PROTECTED] wrote: Hi, I am currently investigating on how to implement a Web Service for DAS interface, specifically - a) the applychanges() method propagating an updated data graph along with its changesummary to the server side Cool, please consider providing it back to the community, this would be a great addition to DAS. Do you have more details on what you are trying to accomplish ? Or any specific requirements ? b) to generate stubs and skeleton classes which use the SDO based model classes are there any samples or other pointers available for this scenario ? I'd recommend starting from the following two samples : helloworld-ws-sdo and helloworld-ws-sdo-webapp They will give you the sdo integration as well as the tools integration view. I'm testing with tuscany-sca-1.0-incubating. Do the tools shipped with Tuscany (WSDL2JavaGenerator and XSD2JavaGenerator) generate the SDO based stub/skeleton classes compatible with Axis/Tomcat environment ? The samples I mentioned above use these tools, and the webapp one works on tomcat. thanks for any help in this regard. Umesh Tyagi -- 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: retrieve name of component in artifact processor
If your question is how to use componentTypes, i have an example in the BPEL implementation. [1] https://svn.apache.org/repos/asf/incubator/tuscany/java/sca/modules/implementation-bpel/src/main/java/org/apache/tuscany/sca/implementation/bpel/impl/BPELImplementationProcessor.java On 9/22/07, Florian Rosenberg [EMAIL PROTECTED] wrote: folks, I'm writing a component impl type and in my artifact processor I would need the name attribute from a component defined in the composite file to be able to use a constistant resolving mechanism for my componentType files that describe the component. Example: component name=FooComponent tuscany:implementation.splice baseDir:=src/test/resources/flowdir/ path=echo url=echo contentType=text/plain / reference name=... / /component Is there a way to get that name (FooComponent) in the read() or resolve() method of the StAXArtifactProcessor implementation reading the implementation.splice attribute? The FooComponent.componentType is then used to describe the component, its references, etc. I could not figure out a way to retrieve it, probably I missed something. Thanks, -Florian - 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: Agent using SDO remotely
Kelvin There are some incompatibilities with DAS beta1 and SDO 1.0, so I'd recommend using DAS from trunk, nightly builds or the UNOFFICIAL stable build for beta2, and re-generate the SDO classes with one of these. Sorry for the confusion Eric. On 9/21/07, kelvin goodson [EMAIL PROTECTED] wrote: This thread inadvertently went off the list. Kelvin. -- Forwarded message -- From: kelvin goodson [EMAIL PROTECTED] Date: 21 Sep 2007 10:03 Subject: Re: Agent using SDO remotely To: Eborn, Eric D [EMAIL PROTECTED] Hi Eric, [Eborn, Eric D] To clarify, are you suggesting I rebuild the DAS source (regenerating the generated java classes)? no -- I think you need to switch away from the pre-release download of DAS you are using, which would have only been placed publicly for the purposes of evaluation and finding issues in the run up to a proper release. My guess is that that unofficial snapshot build contains classes generated from a previous version of SDO, different from the one it expresses it's dependency on (SDO Java 1.0-incubating). So I think you need to download a new version of DAS from the Tuscany download page (http://incubator.apache.org/tuscany/das-java-releases.html) and be sure that it is using the SDO release that DAS specifies as a prereq. My suggestion re regenerating related only to any classes you may have previously generated specifically for your application. Regards,. Kelvin. I think your XSD issue is because your input stream needs to be reset so that it is pointing to the start of the stream before being processed by the XSDHelper (either that or remove the print out code). [Eborn, Eric D] I too thought of this, sadly, this was not the case. Thanks - 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: [DAS] Transaction support - a bigger picture question
Hey, very good, some comments inline One question that I have is regarding the Transaction Manager, who is responsible for creating the transaction manager ? The SCA runtime, or implementations ? In the case of SCA runtime, we need to investigate that part, but I guess we can start by having it under the implementation as a proof of concept for now. On 9/13/07, Amita Vadhavkar [EMAIL PROTECTED] wrote: Hi, I have given this a try based on what I tried in JIRA-1665 (Sample Using JOTM with DAS) Here also I am using JOTM with SCA+DAS. Currently played with 2 simple intents: I think we are going to use geronimo transaction manager with SCA integration, and there is a sample on implementation.bepel on how to use it, it's very simple, could you try using that one ? a transaction (Tx management from External TM), b noTransaction (Tx management from DAS) The only changes needed are as below:- A tuscany-data-engine-helper:- 1)DataAccessEngineManager new method getDAS(String config, ConnectionInfo connectionInfo, ListIntent intents, ListPolicySet policySets) Here if intent atransaction is detected, ConnectionInfo.setManagedTx(false) will be called. This modified connnectionInfo will be passed through configHelper to the new DAS instance. This way if external TM is going to manage Tx, DAS is signaled for it. Great... I'll leave comments on the policy side to Venkat or Sebastien or others that have been playing on this area... And logic to support this method 2) ConnectionInfo new attribute managedtx with setter/getter Ok B tuscany-implementation-das 1) DASImplementation implements PolicyAttachPoint 2) DASImplementationProcessor read(reader) - will read policies and intents on DASImplementation from .composite Who should read here, implementation.das or we should delegate to the policy artifact processors ? 3) DASImplementationProvider createInvoker() will call getDAS(passing config, connectioninfo, intents, policies) same will be for createCallbackInvoker() What other information you will need from intents and policies when creating DAS ? you already passed the managed transaction flag inside the connectionInfo, right ? Note that there is still support for a das config file, how are you going to manage that ? We probably need to throw an exception if DAS config file sets does NOT set the managed transaction flag, but transaction policy is set. With these above changes and with setup similar to JIRA-1665 sample, I could see that the external connection is being used by DAS (naming service is resolving datasource properly). The point I am stuck at is, in RDB-DAS, when we use external DS, we do not pass userName, password. But MYSQL (which with InnoDB supports Txn and works well with JOTM) does need id, pwd in ds.getConnection(). This can be case with other DBs as well. So, it looks like DAS config.xsd needs to allow passing userName, password in ConnectionInfo too ( and not just for ConnectionProperties). Thus below will be the changed DAS config portion:- xsd:complexType name=ConnectionInfo xsd:sequence xsd:element maxOccurs=1 minOccurs=0 name=ConnectionProperties type=config:ConnectionProperties/ /xsd:sequence xsd:attribute name=dataSource type=xsd:string/ xsd:attribute name=managedtx type=xsd:boolean default=true/ xsd:attribute name=userName type=xsd:string default=/ xsd:attribute name=password type=xsd:string default=/ /xsd:complexType xsd:complexType name=ConnectionProperties xsd:attribute name=driverClass type=xsd:string/ xsd:attribute name=databaseURL type=xsd:string/ xsd:attribute name=loginTimeout type=xsd:int default=0/ /xsd:complexType Create a DAS jira for this, and we can investigate further... Suggestion? If this looks OK, I would like to make the above changes and create a sample in tuscany-implementation-das demoing use of intent and ext TM. I have a demo in progress, probably is good to have a test case for now, and we could incorporate transaction support on the demo. Will give a try with geronimo as well. Regards, Amita On 9/2/07, Jean-Sebastien Delfino [EMAIL PROTECTED] wrote: [snip] Luciano Resende wrote: I guess your suggestion for starting simple is fine, and I guess implementation.das could get integrated with SCA Policy and DAS would have the necessary support, unless we find some bugs on the DAS side. I'll see if I can get to this in the coming weeks... BTW, what transaction manager are we going to use in Tuscany ? Do we have any today ? Two suggestions: - in a standalone environment, use JOTM [1] - in Geronimo, get the TM from Geronimo, as done in the Tuscany/Geronimo plugin at [2] [1] http://jotm.objectweb.org/ [2] http://svn.apache.org/repos/asf/geronimo/plugins/tuscany -- Jean-Sebastien
What's new with Apache Tuscany Data Access Services
I have posted this entry in my blog, but i guess it's a worthwhile reading for the DAS users on this community. http://lresende.blogspot.com/2007/09/whats-new-with-apache-tuscany-data.html -- 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]
[DAS] Das beta2 stable distributions
I have posted stable distributions in preparation for DAS beta2 release [1]. I still have to fix-up the release notes, but it would be great if people could take a quick look on these distributions and provide some feedback. [1] http://people.apache.org/~lresende/tuscany/das-beta2-distribution/ -- 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: Java-Exceptions -- WSDL-Fault Mapping
=HelloWorldSoapPort wsdlsoap:address location=http://localhost:8085/HelloWorldServiceComponent/ /wsdl:port /wsdl:service /wsdl:definitions CENIT AG Systemhaus, Industriestrasse 52-54, 70565 Stuttgart, Tel.: +49 711 7825-30, Fax: +49 711 7825-4000, Internet: www.cenit.de Geschaeftsstellen: Berlin, Duesseldorf, Frankfurt, Hamburg, Hannover, Muenchen, Saarbruecken Vorstandsmitglieder: Kurt Bengel, Christian Pusch Aufsichtsratsmitglieder: Falk Engelmann (Vorsitzender des Aufsichtsrats), Hubert Leypoldt, Dr. Dirk Lippold Bankverbindungen: Deutsche Bank (BLZ 600 700 70) Kto. 1661 040, Commerzbank (BLZ 600 400 71) Kto. 532 015 500, BW-Bank (BLZ 600 501 01) Kto. 2 403 313 Registergericht: Amtsgericht Stuttgart Handelsregister: HRB Nr. 19117 Umsatzsteuer: ID-Nr. DE 147 862 777 -- 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: NullPointException error in DAS Beta 1.0
We have enhanced this area in the latest DAS (trunk), and we are now using new SDO APIs. Would you be able to use trunk DAS, or download a nightly build and see if you get better results ? On 9/5/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi All , I found the root cause , because I serialized the DataObject , then deserialized the DataObject . The typeHelper was destroied when deserialized the DataObject . What was it happended when deserialized the DataObject ? How to solve this problem ? Should I back to the DAS M2 ? Leo _ 发件人: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 发送时间: 2007年9月6日 11:49 收件人: 'tuscany-user@ws.apache.org' 主题: NullPointException error in DAS Beta 1.0 Hi All , I run my test example in DAS beta 1.0 , it will run ok at first time , and then run at second time was report a NullPointException , error info as follow : The line is Type root = SDOUtil.createType(typeHelper, getDefaultURI(), DataGraphRoot, false); Caused by: java.lang.NullPointerException at org.apache.tuscany.das.rdb.graphbuilder.impl.GraphBuilderMetadata.createDyna micTypes(GraphBuilderMetadata.java:124) at org.apache.tuscany.das.rdb.graphbuilder.impl.GraphBuilderMetadata.getRootTyp e(GraphBuilderMetadata.java:91) at org.apache.tuscany.das.rdb.impl.ReadCommandImpl.buildGraph(ReadCommandImpl.j ava:88) at org.apache.tuscany.das.rdb.impl.ReadCommandImpl.executeQuery(ReadCommandImpl .java:63) at com.foresee.spiderweb.dataadapter.db.DasServiceImpl.execute(DasServiceImpl.j ava:321) ... 24 more Why is it ? My test example could run correctly in M2. Leo -- Luciano Resende Apache Tuscany Committer http://people.apache.org/~lresende http://lresende.blogspot.com/
Re: Help with Tuscany Customer's Demo using MySQL
Hey Eric I had it working in my environment yesterday, and I thought you had it too after the changes on the connection info. In my case, I have a dastest user in mySQL, I created the empty database in mySQL and granted all the permissions to the dastest user. After that the customer sample worked fine. Maybe you could check if the mySQL table was created properly, and I can check further in my env. BTW the only issue you are having now is the exception below ? [java] Exception in thread main java.lang.IllegalArgumentException: Class 'CUSTOMER' does not have a feature named 'ID' On 9/5/07, Eborn, Eric D [EMAIL PROTECTED] wrote: Additional progress: Making the following additional changes to the Customers.xml file allowed the program to create the graph it seems, at least it is displaying the select all customers results now in the console: Command name=AllCustomers SQL=select * from CUSTOMER kind=Select ResultDescriptor columnName=ID tableName=MYCUSTOMER columnType=commonj.sdo.Int/ ResultDescriptor columnName=LASTNAME tableName=CUSTOMER columnType=commonj.sdo.String/ ResultDescriptor columnName=ADDRESS tableName=CUSTOMER columnType=commonj.sdo.String/ /Command Table tableName=CUSTOMER Column columnName = ID primaryKey=true / Column columnName = LASTNAME / Column columnName = ADDRESS / /Table HOWEVER, note that I now get this error message: [java] Result:insert new customer [java] Exception in thread main java.lang.IllegalArgumentException: Class 'CUSTOMER' does not have a feature named 'ID' [java] at org.apache.tuscany.sdo.util.DataObjectUtil$Accessor.setFeatureName(DataO bjectUtil.java:2104) [java] at org.apache.tuscany.sdo.util.DataObjectUtil$Accessor.process(DataObjectUt il.java:2247) [java] at org.apache.tuscany.sdo.util.DataObjectUtil$Accessor.init(DataObjectUtil. java:1968) [java] at org.apache.tuscany.sdo.util.DataObjectUtil$Accessor.create(DataObjectUti l.java:1883) [java] at org.apache.tuscany.sdo.util.DataObjectUtil$Accessor.create(DataObjectUti l.java:1877) [java] at org.apache.tuscany.sdo.util.DataObjectUtil.setInt(DataObjectUtil.java:52 7) [java] at org.apache.tuscany.sdo.impl.DataObjectImpl.setInt(DataObjectImpl.java:52 5) [java] at org.apache.tuscany.samples.das.customer.CustomerClient.addCustomer(Custo merClient.java:173) [java] at org.apache.tuscany.samples.das.customer.CustomerClient.main(CustomerClie nt.java:126) [java] Java Result: 1 Stemming from thenewCustomer.setInt(ID, 5);command. (even when I change the order to setString first, it says there is no LASTNAME feature... public final void addCustomer() { Command read = das.getCommand(AllCustomers); DataObject root = read.executeQuery(); DataObject newCustomer = root.createDataObject(CUSTOMER); newCustomer.setInt(ID, 5); newCustomer.setString(LASTNAME, Jenny); newCustomer.setString(ADDRESS, USA); das.applyChanges(root); } Por Favor -Original Message- From: Eborn, Eric D Sent: Wednesday, September 05, 2007 7:34 AM To: tuscany-user@ws.apache.org Subject: RE: Help with Tuscany Customer's Demo using MySQL I've had little luck with my remaining problem, however, any idea what java.lang.IllegalArgumentException: Class 'CUSTOMER' does not have a feature named 'ID' means I've done? It's creating the database, but perhaps never correctly constructing the data graph? If you notice, the program output is supposed to display the four lines of db entries after each operation (as it does using derby), but with mysql, none. :( I was reading about oracle and das this morning: https://issues.apache.org/jira/browse/TUSCANY-1355 Is this problem applicable? I may tinker with those ideas in the meantime. Plz help, seems like it would be a common issue when dealing with mysql. Especially since it's the most basic of the demos! -Eric -Original Message- From: Luciano Resende [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 04, 2007 3:01 PM To: tuscany-user@ws.apache.org Subject: Re: Help with Tuscany Customer's Demo using MySQL Thanks Eric, I'll update the customer.xml and steps on the readme for better/simpler support of MySQL On 9/4/07, Eborn, Eric D [EMAIL PROTECTED] wrote: I never explained how I got over the other errors... sorry. Basically I just had to peck at the Customers.xml config file. It seems rather outdated, perhaps someone could permanently modify the example download for future users, I made the following changes: ConnectionInfo ConnectionProperties driverClass=com.mysql.jdbc.Driver password=foobar
Re: Help with Tuscany Customer's Demo using MySQL
Great !!! But just to be clear, the original config file [1] is not using ResultDescriptor, right ? [1] https://svn.apache.org/repos/asf/incubator/tuscany/java/das/samples/customer/src/main/resources/Customers.xml On 9/5/07, Eborn, Eric D [EMAIL PROTECTED] wrote: Well I found the issue... Once again in my Config file: I had: ResultDescriptor columnName=ID tableName=MYCUSTOMER columnType=commonj.sdo.Int/ Changed it to: ResultDescriptor columnName=ID tableName=CUSTOMER columnType=commonj.sdo.Int/ And SUCCESS!! Is it really necessary for mysql to specify so much the Command and Table tags like it seems to be for oracle? If so, you can update the demo download for future users. I think it may be because if I don't replace the original: Command name=AllCustomers SQL=select * from CUSTOMER kind=Select/ Table tableName=CUSTOMER Column columnName=ID primaryKey=true/ /Table With: Command name=AllCustomers SQL=select * from CUSTOMER kind=Select ResultDescriptor columnName=ID tableName=CUSTOMER columnType=commonj.sdo.Int/ ResultDescriptor columnName=LASTNAME tableName=CUSTOMER columnType=commonj.sdo.String/ ResultDescriptor columnName=ADDRESS tableName=CUSTOMER columnType=commonj.sdo.String/ /Command Table tableName=CUSTOMER Column columnName = ID primaryKey=true / Column columnName = LASTNAME / Column columnName = ADDRESS / /Table I get that same java.lang.IllegalArgumentException: Class 'CUSTOMER' does not have a feature named 'ID' error Let others benefit from my struggles please. :) Great little product btw, once u get it workin Eric -Original Message- From: Eborn, Eric D Sent: Wednesday, September 05, 2007 9:27 AM To: tuscany-user@ws.apache.org Subject: RE: Help with Tuscany Customer's Demo using MySQL Correct, that is the only error. I've been logging using root with all access so I don't imagine that is the problem, though I'll try that too. I've verified that it is correctly generating the table also (using mysql toolset), also the Customer example correctly displays the SQL Select results (just before it fails on the insert record). I've tried other approaches to find this problem, like commenting out the problem insert command so that it jumps straight from the select statement to the Update record command, where it also erred with: [java] Result:select all customers [java]ID:0 LASTNAME:Eric ADDRESS:USA [java]ID:0 LASTNAME:Amita ADDRESS:INDIA [java]ID:0 LASTNAME:Patrick ADDRESS:UK [java]ID:0 LASTNAME:Jane ADDRESS:UN [java] Result:update first customer [java] Exception in thread main java.lang.NullPointerException [java] at org.apache.tuscany.das.rdb.generator.impl.UpdateGenerator.fillParameter( UpdateGenerator.java:205) [java] at org.apache.tuscany.das.rdb.generator.impl.UpdateGenerator.createParamete r(UpdateGenerator.java:226) [java] at org.apache.tuscany.das.rdb.generator.impl.UpdateGenerator.getUpdateComma nd(UpdateGenerator.java:104) [java] at org.apache.tuscany.das.rdb.impl.ChangeFactory.getUpdateCommand(ChangeFac tory.java:154) [java] at org.apache.tuscany.das.rdb.impl.ChangeFactory.createUpdateOperation(Chan geFactory.java:69) [java] at org.apache.tuscany.das.rdb.impl.ChangeSummarizer.createChange(ChangeSumm arizer.java:115) [java] at org.apache.tuscany.das.rdb.impl.ChangeSummarizer.loadChanges(ChangeSumma rizer.java:80) [java] at org.apache.tuscany.das.rdb.impl.ApplyChangesCommandImpl.execute(ApplyCha ngesCommandImpl.java:64) [java] at org.apache.tuscany.das.rdb.impl.DASImpl.applyChanges(DASImpl.java:310) [java] at org.apache.tuscany.samples.das.customer.CustomerClient.changeFirstCustom erName(CustomerClient.java:212) [java] at org.apache.tuscany.samples.das.customer.CustomerClient.main(CustomerClie nt.java:131) [java] Java Result: 1 And then commented out the update, so it jumped straight to the delete last record command, where it also erred by not deleting the last record: [java] Result:select all customers [java]ID:0 LASTNAME:Eric ADDRESS:USA [java]ID:0 LASTNAME:Amita ADDRESS:INDIA [java]ID:0 LASTNAME:Patrick ADDRESS:UK [java]ID:0 LASTNAME:Jane ADDRESS:UN [java] Result:delete last customer [java] Deleting customer named: Jane [java]ID:0 LASTNAME:Eric ADDRESS:USA [java]ID:0 LASTNAME:Amita ADDRESS:INDIA [java]ID:0 LASTNAME:Patrick ADDRESS:UK [java]ID:0 LASTNAME:Jane ADDRESS:UN Perhaps we can triangulate the problem? There seems to be an issue with applying the updates perhaps? It kind of baffles me seeing that you haven't experienced the same issues, hmmm... -Original Message- From: Luciano Resende [mailto:[EMAIL PROTECTED] Sent
Re: Help with Tuscany Customer's Demo using MySQL
Great !!! I have also already applied the suggested changes for the config file connection info under the latest version in trunk. Thanks for finding that... and let me know if you find anything else, or have any other questions. On 9/5/07, Eborn, Eric D [EMAIL PROTECTED] wrote: This is correct -Original Message- From: Luciano Resende [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 05, 2007 9:53 AM To: tuscany-user@ws.apache.org Subject: Re: Help with Tuscany Customer's Demo using MySQL Great !!! But just to be clear, the original config file [1] is not using ResultDescriptor, right ? [1] https://svn.apache.org/repos/asf/incubator/tuscany/java/das/samples/cust om er/src/main/resources/Customers.xml On 9/5/07, Eborn, Eric D [EMAIL PROTECTED] wrote: Well I found the issue... Once again in my Config file: I had: ResultDescriptor columnName=ID tableName=MYCUSTOMER columnType=commonj.sdo.Int/ Changed it to: ResultDescriptor columnName=ID tableName=CUSTOMER columnType=commonj.sdo.Int/ And SUCCESS!! Is it really necessary for mysql to specify so much the Command and Table tags like it seems to be for oracle? If so, you can update the demo download for future users. I think it may be because if I don't replace the original: Command name=AllCustomers SQL=select * from CUSTOMER kind=Select/ Table tableName=CUSTOMER Column columnName=ID primaryKey=true/ /Table With: Command name=AllCustomers SQL=select * from CUSTOMER kind=Select ResultDescriptor columnName=ID tableName=CUSTOMER columnType=commonj.sdo.Int/ ResultDescriptor columnName=LASTNAME tableName=CUSTOMER columnType=commonj.sdo.String/ ResultDescriptor columnName=ADDRESS tableName=CUSTOMER columnType=commonj.sdo.String/ /Command Table tableName=CUSTOMER Column columnName = ID primaryKey=true / Column columnName = LASTNAME / Column columnName = ADDRESS / /Table I get that same java.lang.IllegalArgumentException: Class 'CUSTOMER' does not have a feature named 'ID' error Let others benefit from my struggles please. :) Great little product btw, once u get it workin Eric -Original Message- From: Eborn, Eric D Sent: Wednesday, September 05, 2007 9:27 AM To: tuscany-user@ws.apache.org Subject: RE: Help with Tuscany Customer's Demo using MySQL Correct, that is the only error. I've been logging using root with all access so I don't imagine that is the problem, though I'll try that too. I've verified that it is correctly generating the table also (using mysql toolset), also the Customer example correctly displays the SQL Select results (just before it fails on the insert record). I've tried other approaches to find this problem, like commenting out the problem insert command so that it jumps straight from the select statement to the Update record command, where it also erred with: [java] Result:select all customers [java]ID:0 LASTNAME:Eric ADDRESS:USA [java]ID:0 LASTNAME:Amita ADDRESS:INDIA [java]ID:0 LASTNAME:Patrick ADDRESS:UK [java]ID:0 LASTNAME:Jane ADDRESS:UN [java] Result:update first customer [java] Exception in thread main java.lang.NullPointerException [java] at org.apache.tuscany.das.rdb.generator.impl.UpdateGenerator.fillParameter( UpdateGenerator.java:205) [java] at org.apache.tuscany.das.rdb.generator.impl.UpdateGenerator.createParamete r(UpdateGenerator.java:226) [java] at org.apache.tuscany.das.rdb.generator.impl.UpdateGenerator.getUpdateComma nd(UpdateGenerator.java:104) [java] at org.apache.tuscany.das.rdb.impl.ChangeFactory.getUpdateCommand(ChangeFac tory.java:154) [java] at org.apache.tuscany.das.rdb.impl.ChangeFactory.createUpdateOperation(Chan geFactory.java:69) [java] at org.apache.tuscany.das.rdb.impl.ChangeSummarizer.createChange(ChangeSumm arizer.java:115) [java] at org.apache.tuscany.das.rdb.impl.ChangeSummarizer.loadChanges(ChangeSumma rizer.java:80) [java] at org.apache.tuscany.das.rdb.impl.ApplyChangesCommandImpl.execute(ApplyCha ngesCommandImpl.java:64) [java] at org.apache.tuscany.das.rdb.impl.DASImpl.applyChanges(DASImpl.java:310) [java] at org.apache.tuscany.samples.das.customer.CustomerClient.changeFirstCustom erName(CustomerClient.java:212) [java] at org.apache.tuscany.samples.das.customer.CustomerClient.main(CustomerClie nt.java:131) [java] Java Result: 1 And then commented out the update, so it jumped straight to the delete last record command, where
Re: Help with Tuscany Customer's Demo using MySQL
Sure, contents from [1] Config xmlns=http:///org.apache.tuscany.das.rdb/config.xsd; !--Uncomment below for derby test-- ConnectionInfo ConnectionProperties driverClass=org.apache.derby.jdbc.EmbeddedDriver databaseURL=jdbc:derby:target/dastest; create = true loginTimeout=60/ /ConnectionInfo !--Uncomment below for MySQL test-- !-- ConnectionInfo ConnectionProperties driverClass=com.mysql.jdbc.Driver databaseURL=jdbc:mysql://localhost/dastest userName=dastest password=dastest loginTimeout=60/ /ConnectionInfo -- Command name=AllCustomers SQL=select * from CUSTOMER kind=Select/ Table tableName=CUSTOMER Column columnName=ID primaryKey=true/ /Table Command name=NamedCustomers SQL={call GETNAMEDCUSTOMERS(?,?)} kind=procedure Parameter direction=IN index=1 columnType=commonj.sdo.String/ Parameter direction=OUT index=2 columnType=commonj.sdo.IntObject/ /Command /Config [1] https://svn.apache.org/repos/asf/incubator/tuscany/java/das/samples/customer/src/main/resources/Customers.xml On 9/5/07, Eborn, Eric D [EMAIL PROTECTED] wrote: No, thank you for volunteering you assistance. I don't have access to outside svn's, would you mind posting the new Customer.xml file so I can verify its contents? -Original Message- From: Luciano Resende [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 05, 2007 10:16 AM To: tuscany-user@ws.apache.org Subject: Re: Help with Tuscany Customer's Demo using MySQL Great !!! I have also already applied the suggested changes for the config file connection info under the latest version in trunk. Thanks for finding that... and let me know if you find anything else, or have any other questions. On 9/5/07, Eborn, Eric D [EMAIL PROTECTED] wrote: This is correct -Original Message- From: Luciano Resende [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 05, 2007 9:53 AM To: tuscany-user@ws.apache.org Subject: Re: Help with Tuscany Customer's Demo using MySQL Great !!! But just to be clear, the original config file [1] is not using ResultDescriptor, right ? [1] https://svn.apache.org/repos/asf/incubator/tuscany/java/das/samples/cust om er/src/main/resources/Customers.xml On 9/5/07, Eborn, Eric D [EMAIL PROTECTED] wrote: Well I found the issue... Once again in my Config file: I had: ResultDescriptor columnName=ID tableName=MYCUSTOMER columnType=commonj.sdo.Int/ Changed it to: ResultDescriptor columnName=ID tableName=CUSTOMER columnType=commonj.sdo.Int/ And SUCCESS!! Is it really necessary for mysql to specify so much the Command and Table tags like it seems to be for oracle? If so, you can update the demo download for future users. I think it may be because if I don't replace the original: Command name=AllCustomers SQL=select * from CUSTOMER kind=Select/ Table tableName=CUSTOMER Column columnName=ID primaryKey=true/ /Table With: Command name=AllCustomers SQL=select * from CUSTOMER kind=Select ResultDescriptor columnName=ID tableName=CUSTOMER columnType=commonj.sdo.Int/ ResultDescriptor columnName=LASTNAME tableName=CUSTOMER columnType=commonj.sdo.String/ ResultDescriptor columnName=ADDRESS tableName=CUSTOMER columnType=commonj.sdo.String/ /Command Table tableName=CUSTOMER Column columnName = ID primaryKey=true / Column columnName = LASTNAME / Column columnName = ADDRESS / /Table I get that same java.lang.IllegalArgumentException: Class 'CUSTOMER' does not have a feature named 'ID' error Let others benefit from my struggles please. :) Great little product btw, once u get it workin Eric -Original Message- From: Eborn, Eric D Sent: Wednesday, September 05, 2007 9:27 AM To: tuscany-user@ws.apache.org Subject: RE: Help with Tuscany Customer's Demo using MySQL Correct, that is the only error. I've been logging using root with all access so I don't imagine that is the problem, though I'll try that too. I've verified that it is correctly generating the table also (using mysql toolset), also the Customer example correctly displays the SQL Select results (just before it fails on the insert record
Re: [DAS] What's next for Tuscany DAS ?
Good, looks like we have most (if not all) the updates necessary to support SDO 2.1 specification and to be compatible with SDO 1.0 release. I'd like to start to work on a new release in the next couple days, and if we make it on time, we could still have a chance to include DAS in the SCA 1.0 release (planned for middle of September). As for naming, I was thinking to make this a beta2 release. Thoughts ? On 8/27/07, Amita Vadhavkar [EMAIL PROTECTED] wrote: I have attached patch for TUSCANY-961+ TUSCANY-986 combined in TUSCANY-961. One observation here - Generated code shows usage of deprecated method FactoryBase.getProperty(Type, int) and needs to be replaced by getLocalProperty(), any changes needed in xsdtojava generator in SDO? Any suggestions? Regards, Amita On 8/22/07, Luciano Resende [EMAIL PROTECTED] wrote: With the DAS beta1 release out, I'd like to look forward to things that we want to do next for DAS. I think that there are still couple things that we can improve our core DAS features, the main one would be adding support for multiple DAS implementations, and review our SDO 2.1 APIs usage. As for our history with SCA integration, we have started efforts around Data Services/Declarative DAS (implementation.das) and Data Feeds (implementation.data), and this is probably another area we would like to continue to work going forward. I also think we should continue to improve our user documentation and distribution infrastructure to make our release cut easier. Below is a summary list of items and JIRAs that are related to these possible items : - TUSCANY-986 - DAS integration with SDO 2.1 APIs - TUSCANY-961 - DAS: Using deprected SDO method causes Type lookup failure - Refactoring DAS to allow multiple implementatons As for timeframe, maybe it would be good to have a release in the next couple weeks, to support SDO 1.0 and be available to the SCA release, so we can have the integration story with SCA available. This is just of brain dump of where my thinking is at the moment, I'm sure everyone has their own thoughts about things we should tackle. It would be good to get to them all on the table :-) Thoughts ? -- 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] -- 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: Help with Tuscany Customer's Demo using MySQL
advise. When I comment out the Derby config and uncomment the MySql config, I get the following error: BUILD SUCCESSFUL Total time: 0 seconds D:\data\eeborn\Desktop\TUSCAN~1.0-I\samples\customerant Buildfile: build.xml run: [java] Exception in thread main java.lang.RuntimeException: org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Feature 'user' not foun d. (http:///temp.xml http://temp.xml , 50, 33) [java] at org.apache.tuscany.das.rdb.util.ConfigUtil.loadConfig(ConfigUtil.java:54 ) [java] at org.apache.tuscany.samples.das.customer.CustomerClient.main(CustomerClie nt.java:86) [java] Caused by: org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Feature 'user' not found. (http:///temp.xml http://temp.xml , 50, 33) 90 more I have this config Customers.xml !--Uncomment below for MySQL test-- ConnectionInfo ConnectionProperties driverClass=com.mysql.jdbc.Driver databaseURL=jdbc:mysql://localhost:3306/test user=root password=foobar loginTimeout=60 /ConnectionProperties /ConnectionInfo !-- ConnectionInfo dataSource=java:comp/env/jdbc/dastestTHIS SECTION IS COMMENTED OUT contextAvailable=false ConnectionProperties dataSourceClass=com.mysql.jdbc.jdbc2.optional.MysqlDataSource user=root password=foobar key=193-155-248-97-234-56-100-241 databaseName=test loginTimeout=60 /ConnectionProperties /ConnectionInfo -- The section of the config that is commented out also fails with: run: [java] Exception in thread main java.lang.RuntimeException: org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Feature 'contextAvailab le' not found. (http:///temp.xml http://temp.xml , 55, 30) [java] at org.apache.tuscany.das.rdb.util.ConfigUtil.loadConfig(ConfigUtil.java:54 ) - 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/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: SCA support in STP
A related question, regarding SCA support in STP. Any plans to move to the latest releases of Tuscany SCA ? We are targeting a 1.0 release sometime soon, and would be great to have the Eclipse Tooling support based on that release. On 8/28/07, Chandrashekhar Jain [EMAIL PROTECTED] wrote: H all, I am working on a defect related to Tuscany in Eclipse STP project. This is relate to Tuscany SCA Java M2 build. I am following the instructions in http://wiki.apache.org/ws/Tuscany/TuscanyJava/SCA_Java/GettingStarted ( Tuscany M2). I am following the readme for the calculatorRMIService example ( after downloading the examples). The intention of doing this is to understand how a rmi service example will run with Tuscany as of M2 build. This would help me understand the use case in eclipse. I am following the instructions in the section Setting up Tuscany Standalone Runtime for the calculatorRMIService example. When i run mvn dependency:unpack, i get the following error : [ERROR] BUILD ERROR [INFO] [INFO] One or more required plugin parameters are invalid/missing for 'dependency:unpack' [0] inside the definition for plugin: 'maven-dependency-plugin'specify the following: configuration ... artifactItemsVALUE/artifactItems /configuration. [INFO] [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Error configuring: org.apache.maven.plugins:maven-dependency-plugin. Reason: Invalid or missing parameters: [Mojo parameter [name: 'artifactItems'; alias: 'null']] for mojo: org.apache .maven.plugins:maven-dependency-plugin:2.0-alpha-5-SNAPSHOT:unpack at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa ultLifecycleExecutor.java:568) .. Any reason why this maybe happening. regards, chandra Luggage? GPS? Comic books? Check out fitting gifts for grads at Yahoo! Search http://search.yahoo.com/search?fr=oni_on_mailp=graduation+giftscs=bz -- 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: Fw: component type impl
Also, with recent changes to have all non-spec extensions in a Tuscany namespace, you should move your extension to the following namespace : xmlns:tuscany=http://tuscany.apache.org/xmlns/sca/1.0; On 8/23/07, Raymond Feng [EMAIL PROTECTED] wrote: Hi, If the component has more than one services, you need to pass in the service name (componentName/serviceName) for the getService() call. The behavior is required by the spec. Thanks, Raymond - Original Message - From: lee zhenghui [EMAIL PROTECTED] To: tuscany-user@ws.apache.org Sent: Wednesday, August 22, 2007 11:34 PM Subject: Re: Fw: component type impl hi, My test case -- multiple serivces per component run into a familiar issue like this: Exception in thread main org.osoa.sca.ServiceRuntimeException: The component doesn't have exactly one service at org.apache.tuscany.sca.core.component.ComponentContextHelper.getSingleService (ComponentContextHelper.java:280) at org.apache.tuscany.sca.core.component.ComponentContextImpl.createSelfReference (ComponentContextImpl.java:121) at org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.getServiceReference (DefaultSCADomain.java:379) at org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.getService (DefaultSCADomain.java:323) at tuscany.sample.sync.client.Client.main(Client.java:33) I opened a JIRA 1560 to trace this issue. On 8/23/07, Florian Rosenberg [EMAIL PROTECTED] wrote: I finally could fix it. I stepped through with the debugger and found out that the reference to the implemention in the RuntimeComponent was always null which indicated that my ArtifactProcessor was not loaded. I had the following code in the org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor: com.ibm.sca.implementation.splice.SpliceArtifactProcessor;type= http://www.osoa.org/xmlns/sca/1.0#implementation.splice,model=com.ibm.sca.implementation.splice.SpliceImplementation but actually the type= is now qname=. It works again. -Florian - Forwarded by Florian Rosenberg/Watson/IBM on 08/22/2007 10:16 PM - Raymond Feng [EMAIL PROTECTED] wrote on 08/22/2007 02:48:24 PM: It seems that implementation.splice is not correctly handled. Do you have the new implementation type registered with Tuscany? You probably need to have following files: 1) META-INF/services/org.apache.tuscany.sca.contribution.processor. StAXArtifactProcessor 2) META-INF/services/org.apache.tuscany.sca.provider. ImplementationProviderFactory Please refer to https://svn.apache. org/repos/asf/incubator/tuscany/java/sca/samples/implementation-crud-extension for an example. Thanks, Raymond - Original Message - From: Florian Rosenberg [EMAIL PROTECTED] To: tuscany-user@ws.apache.org Sent: Wednesday, August 22, 2007 11:08 AM Subject: Re: component type impl Luciano Resende [EMAIL PROTECTED] wrote on 08/22/2007 01:57:46 PM: So, a quick explanation for this is that, recent changes made the runtime behavior different. If you are doing getService(ABC), you need to make sure that the target component has only one service, otherwise you should use getService(ABC/ServiceName). Please see if this helps in your case. thanks, but it does not help. I register my service internally using a JavaInterfaceContract in the implementation provider and it is the only service I have. either this code SpliceService spliceService = scaDomain.getService(SpliceService.class , FeedAggregatorComponent/SpliceService); nor the old version below without the /SpliceService work. Any other ideas? Thanks, -Florian In my case, i had a bug where the composite wasn't finding the components, and I was getting the same error message... On 8/22/07, Florian Rosenberg [EMAIL PROTECTED] wrote: Luciano Resende [EMAIL PROTECTED] wrote on 08/22/2007 01:14:45 PM: This seems like a bug on latest SVN code, and I'm also seeing this for other modules. Let me see if I can figure out what is causing this, as it's affecting me as well. shall i open a jira issue for that?. -Florian On 8/22/07, Florian Rosenberg [EMAIL PROTECTED] wrote: hi, I'm implementing a component type for running RESTful workflows (or compositions - whatever you wanna call it) within SCA. The implementation worked fine but since I updated to the latest SVN head today it get the following error message when running it. After some time of debugging I couldn't really figure out what the problem is. This is the composite file is like this (the location indicates
[ANNOUNCE] Apache Tuscany Java DAS 1.0-incubating-beta1 released
August 21st 2007 - Apache Tuscany is pleased to announce the 1.0-incubating-beta1 release of the Java DAS project. Data Access Services (DAS) works together with Service Data Objects (SDO) simplifying handling of data when interacting with the back-end data source and frees application developers from dealing with tedious and error-prone transformation between end source types and SDO Data Object Types/properties. Key features of 1.0-incubating-beta1 release are : - Support for J2SE connections in DAS config using Driver Manager. - Added support for multiple database schemas in queries - Enhanced Optimistic Concurrency Control with overqualified updates - Multiple enhancements around ApplyChanges API - Enhanced Documentation : User, Developer and Architect guides as well as javadocs - Enhanced and new sample applications For a complete list of changes on this release, please view the release notes. https://svn.apache.org/repos/asf/incubator/tuscany/tags/java/das/1.0-incubating-beta1/distribution/binary/RELEASE_NOTES To download Java DAS please follow the link to http://incubator.apache.org/tuscany/das-downloads.html Apache Tuscany welcomes your help. Any contribution, including code, testing, improving the documentation, or bug reporting is always appreciated. For more information on how to get involved in Apache Tuscany visit the website at: http://incubator.apache.org/tuscany. Thank you for your interest in Apache Tuscany! The Apache Tuscany Team. --- Tuscany is an effort undergoing incubation at the Apache Software Foundation (ASF), sponsored by the Apache Web services PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF. -- 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]
[DAS] What's next for Tuscany DAS ?
With the DAS beta1 release out, I'd like to look forward to things that we want to do next for DAS. I think that there are still couple things that we can improve our core DAS features, the main one would be adding support for multiple DAS implementations, and review our SDO 2.1 APIs usage. As for our history with SCA integration, we have started efforts around Data Services/Declarative DAS (implementation.das) and Data Feeds (implementation.data), and this is probably another area we would like to continue to work going forward. I also think we should continue to improve our user documentation and distribution infrastructure to make our release cut easier. Below is a summary list of items and JIRAs that are related to these possible items : - TUSCANY-986 - DAS integration with SDO 2.1 APIs - TUSCANY-961 - DAS: Using deprected SDO method causes Type lookup failure - Refactoring DAS to allow multiple implementatons As for timeframe, maybe it would be good to have a release in the next couple weeks, to support SDO 1.0 and be available to the SCA release, so we can have the integration story with SCA available. This is just of brain dump of where my thinking is at the moment, I'm sure everyone has their own thoughts about things we should tackle. It would be good to get to them all on the table :-) Thoughts ? -- 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: component type impl
This seems like a bug on latest SVN code, and I'm also seeing this for other modules. Let me see if I can figure out what is causing this, as it's affecting me as well. On 8/22/07, Florian Rosenberg [EMAIL PROTECTED] wrote: hi, I'm implementing a component type for running RESTful workflows (or compositions - whatever you wanna call it) within SCA. The implementation worked fine but since I updated to the latest SVN head today it get the following error message when running it. After some time of debugging I couldn't really figure out what the problem is. This is the composite file is like this (the location indicates the directory where to workflows are stored):) component name=FeedAggregatorComponent implementation.splice location=c:/somelocation/ ... / /component Internally in the implementation calls, I register a service called SpliceService as JavaInterfaceContract which is the business interface for talking to my engine. In my test program I have to following: public static void main(String[] args) throws IOException { SCADomain scaDomain = SCADomain.newInstance(FeedAggregator.composite ); SpliceService spliceService = scaDomain.getService(SpliceService.class, FeedAggregatorComponent); spliceService.performReceive(samples/feeds3/., getFeeds, sortSample3, text/plain); System.in.read(); scaDomain.close(); } The exception I receive is the following: - Aug 22, 2007 12:17:38 PM org.apache.tuscany.sca.assembly.builder.impl.CompositeBuilderImpl$1 problem WARNING: [WARNING] No implementation for component: FeedAggregatorComponent null Exception in thread main org.osoa.sca.ServiceRuntimeException: The component doesn't have exactly one service at org.apache.tuscany.sca.core.component.ComponentContextImpl.createSelfReference ( ComponentContextImpl.java:135) at org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.getServiceReference ( DefaultSCADomain.java:377) at org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.getService( DefaultSCADomain.java:321) at com.ibm.sca.implementation.splice.SpliceScaTester.main( SpliceScaTester.java:17) Any pointer are appreciated. Thanks, -Florian - 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: [DAS] Transaction support
, Amita Vadhavkar [EMAIL PROTECTED] wrote: Just looked more at the code and found something more interesting - :) When there is no connectionInfo in DAS Config, managedtx defaults to true, so when connection is passed by user (as in TransactionTests), managedtx is true. So, with the current code case 4) can not occur (which is actually useful) 4)false from caller DAS does not issue commit/rollback, external caller manages TransactionTests - if you look closely, there is just one DAS.applyChanges(root) command which has 2 INSERT statements using same PK. So, 2nd INSERT gives JDBC Exception and DAS uses it to issue rollback. So, TransactionTests is succedding in getting exception and avoiding both INSERTs due to the fact that both INSERTs are under same applyChanges() Command. What will happen in case when there is a client code like das.applyChanges (root1); das.applyChanges(root2); and the client wants both applyChanges() to be part of the same transaction? Is it possible with current DAS? Based on the current code, there will be autocommits for each applyChanges() which may not be desirable. Or is DAS forcing clients to grab all changes somehow in one call to das.applyChanges () to ensure transactional integrity? Is this convenient? ___ I could not understand the below statement - please elaborate. [In the case where client code requires access to the connection, is there any issue with supplying it to DAS ?'} ___ Regards, Amita On 8/14/07, Luciano Resende [EMAIL PROTECTED] wrote: Comments inline On 8/13/07, Amita Vadhavkar [EMAIL PROTECTED] wrote: Below is what is happening today:- managedtx(default-true) - config attribute in ConnectionInfo element to control transactions managedtx database conn. supplied effect on transaction -- 1)true from caller each DAS command undergoes commit/rollback 2)false from within DAS this is not handled in any way 3)true from within DAS each DAS command undergoes commit/rollback 4)false from caller DAS does not issue commit/rollback, external caller manages So what is lacking is a ability to issue commit/rollback on group of commands where connection is managed by DAS (managedtx=true).(case 3)). this will be essential to handle any business unit work. otherwise DAS is ending up today in mimicking autocommit behavior of Database which is not so useful when business transactions need to handle a group of operations as one atomic unit So, the test case below is an example of multiple commands under one transaction. On this scenario, connection is supplied by client, and I think this gives you the same results as if the connection was created by DAS and exposed to client code, and also gives more flexibility to how the client will aquire the connection, or re-use some other connection to be part of the same transaction. [1] https://svn.apache.org/repos/asf/incubator/tuscany/java/das/rdb/src/test/java/org/apache/tuscany/das/rdb/test/TransactionTests.java b what is the reason behind providing case 1)? when client/container provides connection, it can be controlled by client/container. and even if DAS tries to controll it, as user has handle to connection, commits/rollbacks can be issued by client async with what DAS
Re: Example to define the ResultSet shape Definition for a join in DAS
You can find some information on the DAS User Guide [1]. There are couple test cases that also show this working, here is one test case [2] and it's config file [3]. Amita is also working on getting support for passing ResultDescriptor for dynamic Commands [4], if that would be useful for you. [1] http://incubator.apache.org/tuscany/explicit-resultset-shape-definition.html [2] https://svn.apache.org/repos/asf/incubator/tuscany/java/das/rdb/src/test/java/org/apache/tuscany/das/rdb/test/RelationshipTests.java [3] https://svn.apache.org/repos/asf/incubator/tuscany/java/das/rdb/src/test/resources/companyMappingWithResultDescriptor.xml [4] http://www.mail-archive.com/[EMAIL PROTECTED]/msg19886.html On 8/15/07, Chu, Wing (Exchange) [EMAIL PROTECTED] wrote: Would like an example if my query is a join between two tables? For example, Select a.dept_name, b.employee_name from dept a, emp b where a.id = b.dept_id (+) How do I define an Explicit ResultSet shape definition for the resultset from a join I'm working in Oracle. Thanks, Wing *** Bear Stearns is not responsible for any recommendation, solicitation, offer or agreement or any information about any transaction, customer account or account activity contained in this communication. *** - 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: Nightly download server performance issues
Great to hear that, I'll add these links as alternative links to the download page. On 8/15/07, Ron Gavlin [EMAIL PROTECTED] wrote: Yes, the vmbuild1 server is a significant improvement over the old vmbuild server. Thanks, - Ron - Original Message From: Luciano Resende [EMAIL PROTECTED] To: tuscany-user@ws.apache.org Sent: Wednesday, August 15, 2007 3:08:51 PM Subject: Re: Nightly download server performance issues DAS and SDO nightly builds now available from vmbuild1 also: DAS Source distros http://vmbuild1.apache.org/continuum/workingCopy.action?projectId=36projectName=Apache+Tuscany+DAS+Implementation+projectuserDirectory=distribution/source/targetfile=tuscany-das-1.0-incubating-SNAPSHOT-src.zip http://vmbuild1.apache.org/continuum/workingCopy.action?projectId=36projectName=Apache+Tuscany+DAS+Implementation+projectuserDirectory=distribution/source/targetfile=tuscany-das-1.0-incubating-SNAPSHOT-src.tar.gz DAS Binary distros http://vmbuild1.apache.org/continuum/workingCopy.action?projectId=36projectName=Apache+Tuscany+DAS+Implementation+projectuserDirectory=distribution/binary/targetfile=tuscany-das-1.0-incubating-SNAPSHOT-bin.zip http://vmbuild1.apache.org/continuum/workingCopy.action?projectId=36projectName=Apache+Tuscany+DAS+Implementation+projectuserDirectory=distribution/binary/targetfile=tuscany-das-1.0-incubating-SNAPSHOT-bin.tar.gz SDO Source distros http://vmbuild1.apache.org/continuum/workingCopy.action?projectId=37projectName=Apache+Tuscany+SDO+Implementation+ProjectuserDirectory=distribution/targetfile=apache-tuscany-sdo-1.0-incubating-SNAPSHOT-src.zip http://vmbuild1.apache.org/continuum/workingCopy.action?projectId=37projectName=Apache+Tuscany+SDO+Implementation+ProjectuserDirectory=distribution/targetfile=apache-tuscany-sdo-1.0-incubating-SNAPSHOT-src.tar.gz SDO Binary distros http://vmbuild1.apache.org/continuum/workingCopy.action?projectId=37projectName=Apache+Tuscany+SDO+Implementation+ProjectuserDirectory=distribution/targetfile=apache-tuscany-sdo-1.0-incubating-SNAPSHOT.zip http://vmbuild1.apache.org/continuum/workingCopy.action?projectId=37projectName=Apache+Tuscany+SDO+Implementation+ProjectuserDirectory=distribution/targetfile=apache-tuscany-sdo-1.0-incubating-SNAPSHOT.tar.gz Please, let me know if this works better for you... I'm still working with infra to get this published to another place. On 8/13/07, Ron Gavlin [EMAIL PROTECTED] wrote: Luciano, Thanks for the update. Your plan sounds good to me. Any status updates you can provide as this effort moves forward is much appreciated. Regards, - Ron - Original Message From: Luciano Resende [EMAIL PROTECTED] To: tuscany-user@ws.apache.org Sent: Sunday, August 12, 2007 2:29:34 AM Subject: Re: Nightly download server performance issues Hi Ron I'm working with Apache Infra to migrate the builds to vmbuild1, and also checking the possibility to copy the distributions to people.apache.org. This should solve the performance issues, as well as allow us to still have the latest sucessful nightly build stored, in case of any build failure. I'll send more updates on the next couple days, when more progress is done on this. On 8/10/07, Ron Gavlin [EMAIL PROTECTED] wrote: Greetings, I have had minimal success attempting to download a nightly Tuscany SCA, SDO, or DAS build using the links provided on the Tuscany web site. I presume the Apache vmbuild.apache.org server just cannot handle the load. I noticed that the Apache vmbuild1.apache.org server is now available that includes a Tuscany placeholder. Please either: 1. remove the downloads page 2. improve the performance of the current vmbuild server or 3. migrate the builds to the new vmbuild1.apache.org server. The current arrangement for downloading nightly builds is quite frustrating. Regards, - Ron - 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] - 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] - To unsubscribe
Re: [DAS] Transaction support
), this should be prohibited, and in 4) user already has handle of the Connection.) This way, the responsibility of transaction management can be taken by user for 4)(as it is today) and 2)(as now user will get handle) For 1) and 3) - TRANSACTION_DEMARCATION_PER_COMMAND=true is already working in RDB DAS today. For handling TRANSACTION_DEMARCATION_PER_COMMAND=false, new APIs can be given to user like DAS.getTransaction().commit() /rollback() , so in a controlled way, user will be able to bunch group of Commands based on business logic and issue commits/rollbacks. Also, internally, RDB DAS will be responsible to rollback in case of exceptions and in case of Timeouts. Please share your thoughts. Regards, Amita On 6/12/07, Amita Vadhavkar [EMAIL PROTECTED] wrote: Hi All, I just want to clarify if the below is something missing in DAS or just that I have not understood it clearly. Appreciate your response. At present, DAS has managedtx attribute at ConnectionInfo level(default true). So when true or not specificed, each Command does a database commit. When false, external caller is responsible for managing transaction. There is no way to bunch a set of Commands in one transaction under control of DAS, it is at the mercy of external caller (when managedtx is false). Is it not useful to introduce this in DAS, wherein, when DAS manages transaction, it can have today's behavior (similar to autocommit) or can have a public API which allows client to commit using the connection associated with current DAS instance. This way, when the connection is not passed from client (but created in DAS, using ConnectionInfo and thus not exposed to client), client will have a way to support real transaction (multiple logical bunch of Commands) using DAS? Regards, Amita -- 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: [DAS] Transaction support
Comments inline On 8/13/07, Amita Vadhavkar [EMAIL PROTECTED] wrote: Below is what is happening today:- managedtx(default-true) - config attribute in ConnectionInfo element to control transactions managedtx database conn. supplied effect on transaction -- 1)true from caller each DAS command undergoes commit/rollback 2)false from within DAS this is not handled in any way 3)true from within DAS each DAS command undergoes commit/rollback 4)false from caller DAS does not issue commit/rollback, external caller manages So what is lacking is a ability to issue commit/rollback on group of commands where connection is managed by DAS (managedtx=true).(case 3)). this will be essential to handle any business unit work. otherwise DAS is ending up today in mimicking autocommit behavior of Database which is not so useful when business transactions need to handle a group of operations as one atomic unit So, the test case below is an example of multiple commands under one transaction. On this scenario, connection is supplied by client, and I think this gives you the same results as if the connection was created by DAS and exposed to client code, and also gives more flexibility to how the client will aquire the connection, or re-use some other connection to be part of the same transaction. [1] https://svn.apache.org/repos/asf/incubator/tuscany/java/das/rdb/src/test/java/org/apache/tuscany/das/rdb/test/TransactionTests.java b what is the reason behind providing case 1)? when client/container provides connection, it can be controlled by client/container. and even if DAS tries to controll it, as user has handle to connection, commits/rollbacks can be issued by client async with what DAS is trying to control. So there will be no meaning in DAS controlling the connection supplied by client. And so there is no meaning to managedtx either. c case 2), as of today there is no way to expose connection to client when it is created by DAS. so neither DAS nor client manages transaction. For this case exposing connection thru getConnection() will be useful (for other cases, it can be banned) In the case where client code requires access to the connection, is there any issue with supplying it to DAS ? d as DAS is heterogeneous API, is the DAS config going to be heterogeneous too? If yes, then it will be advantageousto support the transactional nature of RDB using such semantics. If the backend (non RDB) does not support transaction, this semantics will be of no use, but in this case the DAS config can be different (more tuned to that particular backend) So, it all depends on whether we are following the path to support DAS with heterogeneous APIs or not. Will you please elaborate meaning of heterogeneous API in context of different flavors of DAS? Yes, the idea is that each impl would define it's own model, inheriting from a common root class (xsd element) e {If you already defined the transaction demarcation flags...}Where are we doing that at present? What is there is only issue commit/rollback at the end of each DAS Command. Am I missing some other transaction demarcation mechanism already available in DAS? Regards, Amita On 8/13/07, Luciano Resende [EMAIL PROTECTED] wrote: I think that the main goal of DAS, is to be an heterogeneous API that could be used to implement support for various backends (rdb, ldap, xml etc). Starting to add various semantics that might be specific to RDB might take us out of this direction. So, for this issue, let's take a step back and think around the scenarios where this new enhancement might be useful, could you please list a couple here ? It would be great if you could also mention the deficiencies you found from managedtx parameter on each scenario. Also, couple questions : - Could you please elaborate more on why you need to expose DAS.getConnection() ? - If you already defined the transaction demarcation flags, why you still ask the client code to handle start/endTransaction? Why is that different from passing managedtx = false ? On 8/13/07, Amita Vadhavkar [EMAIL PROTECTED] wrote: -When connection is provider by caller(say container), there is no meaning of managedtx attribute, and it is better to let the caller handle the transactionality of the operations. So, when DAS is instantiated using external connection - mandate managedtx = false. Also, expose getConnection() from DAS to give a ref. of the connection (User already owns it, DAS is just providing ref.). DAS will not issue any commit/rollback -When connection is created internally, managedtx has a meaning. 1When false, DAS.getConnection() should be exposed and user should be allowed to handle
Re: Nightly download server performance issues
Hi Ron I'm working with Apache Infra to migrate the builds to vmbuild1, and also checking the possibility to copy the distributions to people.apache.org. This should solve the performance issues, as well as allow us to still have the latest sucessful nightly build stored, in case of any build failure. I'll send more updates on the next couple days, when more progress is done on this. On 8/10/07, Ron Gavlin [EMAIL PROTECTED] wrote: Greetings, I have had minimal success attempting to download a nightly Tuscany SCA, SDO, or DAS build using the links provided on the Tuscany web site. I presume the Apache vmbuild.apache.org server just cannot handle the load. I noticed that the Apache vmbuild1.apache.org server is now available that includes a Tuscany placeholder. Please either: 1. remove the downloads page 2. improve the performance of the current vmbuild server or 3. migrate the builds to the new vmbuild1.apache.org server. The current arrangement for downloading nightly builds is quite frustrating. Regards, - Ron - 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]
Using contribution services to introspect Static SDO Factories and register with HelperContext
I've started leveraging the Contribution Service to introspect Static SDO factories and populate the HelperContext. The idea is to automatically find and register the factories using Contribution post processor, so you don't need to explicitly use the import.sdo passing the factory class name, as this is a tuscany extension. I have also updated the helloworld-ws-sdo to leverage these services and don't use import.sdo anymore. This is available under revision #560760. Please let me know if you have questions. -- 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]