Re: Change freeze on 1.0 branch

2007-09-19 Thread ant elder
Just a reminder there is still a change freeze on the 1.0 branch.

Its still possible we may need to respin for some reason, but how about also
planning on doing some 1.0.x releases after 1.0 is out? If we keep changes
in the branch to an absolute minimum it should be easy to do 1.0.x releases
after all the 1.0 reviewing so we can just show a small diff of 1.0 -
1.0.xand review/voting should be painless so we could do
1.0.x release every 1 or 2 weeks if necessary. With that in mind how about
we switch to Review-Then-Commit mode on the branch - so all changes get
attached as diff to a JIRA and can only be applied to the branch with 3 +1s
on the ML?

   ...ant

On 9/19/07, ant elder <[EMAIL PROTECTED]> wrote:
>
> Looks like 1.0 is getting pretty close now so can we have a change freeze
> on the 1.0 branch to avoid any last minute regressions please - no updates
> to it without asking first.
>
> We need an RC4 to fix the missing xquery sample and the ws.zones repo, but
> i'd hope RC4 can be the final one. Please continue reviewing RC3 and raising
> jira's for any issues you find (and finding fixes for the issues!), and i'll
> cut an RC4 late today. Lets try to keep the RC4 vote thread clean - so just
> +1/-1 and anything else in a jira. If you do find a serious issue be great
> if you could say something like "+1 as long as jira xxx is resolved".
>
> Thanks!
>
>...ant
>
>


Re: [NOTICE] Simon Nash voted as Tuscany Committer.

2007-09-19 Thread ant elder
Welcome aboard!

   ..ant

On 9/19/07, Mike Edwards <[EMAIL PROTECTED]> wrote:
>
> Folks,
>
> The Tuscany PPMC and the Incubator PMC have voted for Simon to become a
> Tuscany committer.
>
> Congratulations and welcome Simon!
>
> I'm sure that everyone will be looking forward to more excellent
> contributions from Simon to Tuscany.
>
>
> Yours,  Mike.
>


Re: [VOTE] Release Tuscany Java SCA 1.0 RC3a

2007-09-19 Thread Venkata Krishnan
First, thanks a ton for all the work, Ant.

- I've tried building the samples from the bin distro and all seems fine but
for the minor issue reported in
https://issues.apache.org/jira/browse/TUSCANY-1752 and the minor typo in the
README of  helloworld-ws-reference-secure
- Source distro builds fine, though its been painfully slow
- Licenses seem to be in place.

So, here is my +1 for releasing Java SCA 1.0 - RC3a

- Venkat

On 9/20/07, ant elder <[EMAIL PROTECTED]> wrote:
>
> Please review and vote on the 1.0 release artifacts of Tuscany SCA for
> Java.
>
> The SVN tag for the release is:
> https://svn.apache.org/repos/asf/incubator/tuscany/tags/java/sca/1.0-RC3a/
>
> The artifacts are available for review at:
> http://people.apache.org/~antelder/tuscany/1.0-RC3a/<
> http://people.apache.org/%7Eantelder/tuscany/1.0-RC3a/>
>
> This includes the signed binary and source distributions, the RAT reports,
> and
> the Maven staging repository.
>
> Many thanks,
>
>...ant
>


[jira] Commented: (TUSCANY-1770) The atom feed generated by feed-aggregator cannot be displayed by IE7

2007-09-19 Thread Raymond Feng (JIRA)

[ 
https://issues.apache.org/jira/browse/TUSCANY-1770?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12528970
 ] 

Raymond Feng commented on TUSCANY-1770:
---

I did some invistigation and it turned that there is a special character in the 
content from this page:

http://www.apachenews.org/archives/001055.html

The line offending IE is: The class loader viewer let's you find them. It seems 
that IE7 doesn't like the ' in "let's".

Firefox works fine with this feed.

In 
org.apache.tuscany.sca.binding.feed.provider.FeedBindingListenerServlet.java, 
we set the charset to UTF-8, but we dump out the feed, we didn't see the 
encoding. After fixing that, it works for IE7 too.

I'll check in the fix soon.

Thanks,
Raymond

> The atom feed generated by feed-aggregator cannot be displayed by IE7
> -
>
> Key: TUSCANY-1770
> URL: https://issues.apache.org/jira/browse/TUSCANY-1770
> Project: Tuscany
>  Issue Type: Bug
>  Components: Java SCA Misc Binding Extensions
>Reporter: Raymond Feng
>Priority: Minor
>
> The atom feed generated by feed-aggregator cannot be displayed by IE7. IE7 is 
> not happy with of the following URLs:
> http://localhost:8083/atomAggregator
> http://localhost:8083/atomAggregator?feedType=rss_2.0
> Internet Explorer cannot display this feed 
>  
>This feed contains code errors. 
>  Go back to the previous page. 
>  
>  More information 
> An invalid character was found in text content.
>  Line: 460 Character: 331
> 

Improved diagnostic capabilities include enhanced logging, class > loader viewer as well as JMX browser which are all available > from the web based console. Change logging levels on the fly as well as view > existing logs with a set of filters. Looking for a class > and wondering where it came from? The class loader viewer let > > http://localhost:8083/rssAggregator (OK) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]


Re: [VOTE] Release Tuscany Java SCA 1.0 RC3a

2007-09-19 Thread Luciano Resende
I have reviewed the Java SCA 1.0-RC3a distros and here is my +1.

Other then the already known issues, I have found an issue while
trying our web application in Geronimo and I have raised a JIRA to
track it so we can investigate for our next release :

http://issues.apache.org/jira/browse/TUSCANY-1767


On 9/19/07, Raymond Feng <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I reviewed the Tuscany Java SCA 1.0-RC3a binary, source distributions and
> the RAT report.
>
> 1) Built the source distro from an empty local maven repo and it was
> successful. All of unit tests, samples and itests were passed.
>
> 2) Ran most of the samples on command line with combinations of ant and mvn
> on Windows XP. I'm impressed by the results.
>
> I'm proud to vote +1 to release Tuscany Java SCA 1.0-RC3a!
>
> Thanks for everyone who contributes to this release. Let's also applaud our
> release manager Ant to put the RCs promptly with great efforts.
>
> The following are some minor issues I found. We can fix them in the next
> release.
>
> 1) samples\web-resource:
> "ant run" sometimes takes more than 5 seconds to exit after hitting the
> enter button. I don't see this problem
> inside Eclipse.
>
> 2) samples\helloworld-ws-reference-secure
> README doesn't mention that we have to go to
> samples\helloworld-ws-service-secure and run "ant run" first.
>
> 3) samples\feed-aggregator
> The atom feed generated by feed-aggregator cannot be displayed by IE7. I
> opened a JIRA to track it:
> https://issues.apache.org/jira/browse/TUSCANY-1770
>
> 4) rc.txt (a diff file) is slipped into the source distro. (Good to show how
> we progressed :-)
>
> Thanks,
> Raymond
>
> - Original Message -
> From: "ant elder" <[EMAIL PROTECTED]>
> To: "tuscany-dev" 
> Sent: Wednesday, September 19, 2007 12:48 PM
> Subject: [VOTE] Release Tuscany Java SCA 1.0 RC3a
>
>
> > Please review and vote on the 1.0 release artifacts of Tuscany SCA for
> > Java.
> >
> > The SVN tag for the release is:
> > https://svn.apache.org/repos/asf/incubator/tuscany/tags/java/sca/1.0-RC3a/
> >
> > The artifacts are available for review at:
> > http://people.apache.org/~antelder/tuscany/1.0-RC3a/
> >
> > This includes the signed binary and source distributions, the RAT reports,
> > and
> > the Maven staging repository.
> >
> > Many thanks,
> >
> >   ...ant
> >
>
>
> -
> 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: [VOTE] Release Tuscany Java SCA 1.0 RC3a

2007-09-19 Thread Raymond Feng

Hi,

I reviewed the Tuscany Java SCA 1.0-RC3a binary, source distributions and 
the RAT report.


1) Built the source distro from an empty local maven repo and it was 
successful. All of unit tests, samples and itests were passed.


2) Ran most of the samples on command line with combinations of ant and mvn 
on Windows XP. I'm impressed by the results.


I'm proud to vote +1 to release Tuscany Java SCA 1.0-RC3a!

Thanks for everyone who contributes to this release. Let's also applaud our 
release manager Ant to put the RCs promptly with great efforts.


The following are some minor issues I found. We can fix them in the next 
release.


1) samples\web-resource:
"ant run" sometimes takes more than 5 seconds to exit after hitting the 
enter button. I don't see this problem

inside Eclipse.

2) samples\helloworld-ws-reference-secure
README doesn't mention that we have to go to 
samples\helloworld-ws-service-secure and run "ant run" first.


3) samples\feed-aggregator
The atom feed generated by feed-aggregator cannot be displayed by IE7. I 
opened a JIRA to track it:

https://issues.apache.org/jira/browse/TUSCANY-1770

4) rc.txt (a diff file) is slipped into the source distro. (Good to show how 
we progressed :-)


Thanks,
Raymond

- Original Message - 
From: "ant elder" <[EMAIL PROTECTED]>

To: "tuscany-dev" 
Sent: Wednesday, September 19, 2007 12:48 PM
Subject: [VOTE] Release Tuscany Java SCA 1.0 RC3a


Please review and vote on the 1.0 release artifacts of Tuscany SCA for 
Java.


The SVN tag for the release is:
https://svn.apache.org/repos/asf/incubator/tuscany/tags/java/sca/1.0-RC3a/

The artifacts are available for review at:
http://people.apache.org/~antelder/tuscany/1.0-RC3a/

This includes the signed binary and source distributions, the RAT reports,
and
the Maven staging repository.

Many thanks,

  ...ant




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



[jira] Created: (TUSCANY-1770) The atom feed generated by feed-aggregator cannot be displayed by IE7

2007-09-19 Thread Raymond Feng (JIRA)
The atom feed generated by feed-aggregator cannot be displayed by IE7
-

 Key: TUSCANY-1770
 URL: https://issues.apache.org/jira/browse/TUSCANY-1770
 Project: Tuscany
  Issue Type: Bug
  Components: Java SCA Misc Binding Extensions
Reporter: Raymond Feng
Priority: Minor


The atom feed generated by feed-aggregator cannot be displayed by IE7. IE7 is 
not happy with of the following URLs:

http://localhost:8083/atomAggregator
http://localhost:8083/atomAggregator?feedType=rss_2.0

Internet Explorer cannot display this feed 
 
   This feed contains code errors. 
 Go back to the previous page. 
 
 More information 

An invalid character was found in text content.
 Line: 460 Character: 331

Improved diagnostic capabilities include enhanced logging, class loader viewer as well as JMX browser which are all available from the web based console. Change logging levels on the fly as well as view existing logs with a set of filters. Looking for a class and wondering where it came from? The class loader viewer let http://localhost:8083/rssAggregator (OK) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]


Re: [VOTE] Release Tuscany Java SCA 1.0 RC3a

2007-09-19 Thread Jean-Sebastien Delfino

ant elder wrote:

Please review and vote on the 1.0 release artifacts of Tuscany SCA for Java.

The SVN tag for the release is:
https://svn.apache.org/repos/asf/incubator/tuscany/tags/java/sca/1.0-RC3a/

The artifacts are available for review at:
http://people.apache.org/~antelder/tuscany/1.0-RC3a/

This includes the signed binary and source distributions, the RAT reports,
and
the Maven staging repository.

Many thanks,

   ...ant

  


I reviewed the RC3a source and binary distributions.

The RAT reports, LICENSE, NOTICE, README and BUILDING look OK.

Found a very minor bug in INSTALL, which still says 0.91 instead of 1.0.

Successfully built the source distribution, although ibibio and java.net 
were very slow today and it took forever for Maven to download all the 
dependencies.


Ran most command line samples on Linux RHEL5. I Ran into JIRA 
TUSCANY-1752 with the XQuery sample Ant script and found two 
workarounds, (1) use the java command as described in the README, or (2) 
rebuild it from source using Maven as described in the README as well.


Ran Maven-built and Ant-built Webapp samples on Tomcat 6.0.1.4.

Ran Maven-built and Ant-built Webapp samples on WebSphere 6.1.0.9 and 
only found two minor issues:
- JIRA TUSCANY-1768, sample helloworld-dojo does not work on WebSphere 
(already known from previous test rounds)
- JIRA TUSCANY-1769, sample helloworld-ws-sdo built from Ant contains 
duplicate copies of the SDO generated classes. I found two simple 
workarounds, (1) remove line 76 from build.xml dir="target/sdo-source"/>, or (2) build the sample with Maven as 
described in the README instead of Ant.


These are very minor bugs that we'll have to fix in the next release. 
Many Thanks to everybody who contributed to the release and to Ant our 
release manager for getting it in such a good shape!


Here's my +1 to release RC3a!

--
Jean-Sebastien


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



[jira] Created: (TUSCANY-1769) Helloworld-ws-sdo sample contains duplicate classes.

2007-09-19 Thread Jean-Sebastien Delfino (JIRA)
Helloworld-ws-sdo sample contains duplicate classes.


 Key: TUSCANY-1769
 URL: https://issues.apache.org/jira/browse/TUSCANY-1769
 Project: Tuscany
  Issue Type: Bug
  Components: Java SCA Samples
Affects Versions: Java-SCA-1.0, Java-SCA-Next
Reporter: Jean-Sebastien Delfino
Priority: Minor
 Fix For: Java-SCA-Next


Sample helloworld-ws-sdo built from Ant contains duplicate copies of the SDO 
generated classes.

This only causes a problem on WebSphere 6.1.0.9. The sample works on Tomcat.

A workaround is to remove line 76 of build.xml.
  

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


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



[jira] Created: (TUSCANY-1768) Helloworld-dojo sample does not work on WebSphere 6.1.0.9.

2007-09-19 Thread Jean-Sebastien Delfino (JIRA)
Helloworld-dojo sample does not work on WebSphere 6.1.0.9.
--

 Key: TUSCANY-1768
 URL: https://issues.apache.org/jira/browse/TUSCANY-1768
 Project: Tuscany
  Issue Type: Bug
  Components: Java SCA Samples
Affects Versions: Java-SCA-1.0, Java-SCA-Next
Reporter: Jean-Sebastien Delfino
Priority: Minor
 Fix For: Java-SCA-Next


The helloworld-dojo Webapp sample does not work WebSphere 6.1.0.9. The JSON 
client gets an HTTP 404 error code. We may have to adjust the URI used by the 
sample maybe... 

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


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



[jira] Created: (TUSCANY-1767) Calculator-webapp fails to start in Geronimo (geronimo-tomcat6-jee5-2.0.1)

2007-09-19 Thread Luciano Resende (JIRA)
Calculator-webapp fails to start in Geronimo (geronimo-tomcat6-jee5-2.0.1)
--

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


I tried deploying the calculator-webapp sample application from Tuscany 1.0 
RC3a and was getting the following stack trace.
It looks like we are not being able to create a stream reader to read the 
sca-contribution.xml file.

ERROR [[/sample-calculator-webapp]] Exception starting filter tuscany
org.osoa.sca.ServiceRuntimeException: java.lang.NullPointerException
at 
org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:264)
at 
org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(SCADomain.java:82)
at 
org.apache.tuscany.sca.host.webapp.WebAppServletHost.init(WebAppServletHost.java:159)
at 
org.apache.tuscany.sca.host.webapp.TuscanyServletFilter.init(TuscanyServletFilter.java:51)
at 
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:234)
at 
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:332)
at 
org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:90)
at 
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3696)
at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4330)
at 
org.apache.geronimo.tomcat.GeronimoStandardContext.access$201(GeronimoStandardContext.java:60)
at 
org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:343)
at 
org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:47)
at 
org.apache.geronimo.tomcat.GeronimoStandardContext.start(GeronimoStandardContext.java:196)
at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
at 
org.apache.geronimo.tomcat.TomcatContainer.addContext(TomcatContainer.java:355)
at 
org.apache.geronimo.tomcat.TomcatContainer$$FastClassByCGLIB$$9370b073.invoke()
at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
at 
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
at 
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
at 
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:830)
at 
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
at 
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
at 
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
at 
org.apache.geronimo.tomcat.TomcatContainer$$EnhancerByCGLIB$$f8a16e7e.addContext()
at 
org.apache.geronimo.tomcat.TomcatWebAppContext.doStart(TomcatWebAppContext.java:524)
at 
org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:996)
at 
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:268)
at 
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
at 
org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:539)
at 
org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:111)
at 
org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:146)
at 
org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:120)
at 
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:176)
at 
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:44)
at 
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:254)
at 
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:294)
at 
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
at 
org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:124)
at 
org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:553)
at 
org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBea

RE: [NOTICE] Simon Nash voted as Tuscany Committer.

2007-09-19 Thread Brady Johnson

Welcome Simon!

Brady 

-Original Message-
From: Mike Edwards [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 19, 2007 4:30 PM
To: tuscany-dev@ws.apache.org
Subject: [NOTICE] Simon Nash voted as Tuscany Committer.

Folks,

The Tuscany PPMC and the Incubator PMC have voted for Simon to become a
Tuscany committer.

Congratulations and welcome Simon!

I'm sure that everyone will be looking forward to more excellent
contributions from Simon to Tuscany.


Yours,  Mike.

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



Re: [NOTICE] Simon Nash voted as Tuscany Committer.

2007-09-19 Thread Jean-Sebastien Delfino

Mike Edwards wrote:

Folks,

The Tuscany PPMC and the Incubator PMC have voted for Simon to become a
Tuscany committer.

Congratulations and welcome Simon!

I'm sure that everyone will be looking forward to more excellent
contributions from Simon to Tuscany.


Yours,  Mike.

  


Simon, Congratulations and Welcome!!

--
Jean-Sebastien


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



Re: [NOTICE] Simon Nash voted as Tuscany Committer.

2007-09-19 Thread Luciano Resende
Welcome Simon !!!

On 9/19/07, Raymond Feng <[EMAIL PROTECTED]> wrote:
> Welcome, Simon. You are well deserved and it's a good timing as I'm
> overwhelmed by applying patches from you. :-)
>
> Thanks,
> Raymond
>
> - Original Message -
> From: "Mike Edwards" <[EMAIL PROTECTED]>
> To: 
> Sent: Wednesday, September 19, 2007 3:30 PM
> Subject: [NOTICE] Simon Nash voted as Tuscany Committer.
>
>
> > Folks,
> >
> > The Tuscany PPMC and the Incubator PMC have voted for Simon to become a
> > Tuscany committer.
> >
> > Congratulations and welcome Simon!
> >
> > I'm sure that everyone will be looking forward to more excellent
> > contributions from Simon to Tuscany.
> >
> >
> > 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: [NOTICE] Simon Nash voted as Tuscany Committer.

2007-09-19 Thread Raymond Feng
Welcome, Simon. You are well deserved and it's a good timing as I'm 
overwhelmed by applying patches from you. :-)


Thanks,
Raymond

- Original Message - 
From: "Mike Edwards" <[EMAIL PROTECTED]>

To: 
Sent: Wednesday, September 19, 2007 3:30 PM
Subject: [NOTICE] Simon Nash voted as Tuscany Committer.



Folks,

The Tuscany PPMC and the Incubator PMC have voted for Simon to become a
Tuscany committer.

Congratulations and welcome Simon!

I'm sure that everyone will be looking forward to more excellent
contributions from Simon to Tuscany.


Yours,  Mike.




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



Clarification of my previous response, was : Re: [VOTE] Release Tuscany Java SCA 1.0 RC3a

2007-09-19 Thread Raymond Feng

Sorry, my previous response is probably misleading and I should have used a
different title.

Let me clarify:

1) I didn't require a respin because of TUSCANY-1752. I'll make the fix
available in case that somebody needs it.
2) I'm still in the process of reviewing 1.0-RC3a and I will cast my vote
after that.

Thanks,
Raymond

- Original Message - 
From: "Simon Laws" <[EMAIL PROTECTED]>

To: ; <[EMAIL PROTECTED]>
Sent: Wednesday, September 19, 2007 2:32 PM
Subject: Re: [VOTE] Release Tuscany Java SCA 1.0 RC3a



On 9/19/07, ant elder <[EMAIL PROTECTED]> wrote:


Oh, and +1 from me.

   ...ant

On 9/19/07, ant elder <[EMAIL PROTECTED]> wrote:
>
> Please review and vote on the 1.0 release artifacts of Tuscany SCA for
> Java.
>
> The SVN tag for the release is:
>
https://svn.apache.org/repos/asf/incubator/tuscany/tags/java/sca/1.0-RC3a/
>
>
> The artifacts are available for review at:
> http://people.apache.org/~antelder/tuscany/1.0-RC3a/
> 
>
> This includes the signed binary and source distributions, the RAT
reports,
> and
> the Maven staging repository.
>
> Many thanks,
>
>...ant
>
>
>


+1 from me.

I raised a couple of JIRAs. In particular I reopened
https://issues.apache.org/jira/browse/TUSCANY-1752 as the quote-xquery
sample doesn't work for me from ant. I does however work from mvn so 
that's

a suitable work round.

Thanks everyone

Simon




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



[jira] Commented: (TUSCANY-1695) SDOUtils.cpp does not compile due to problematic cast

2007-09-19 Thread Brady Johnson (JIRA)

[ 
https://issues.apache.org/jira/browse/TUSCANY-1695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12528935
 ] 

Brady Johnson commented on TUSCANY-1695:



I commit the patch recommended by Michael Yoder.


Brady Johnson
Lead Software Developer - HydraSCA
Rogue Wave Software - [EMAIL PROTECTED]



> SDOUtils.cpp does not compile due to problematic cast
> -
>
> Key: TUSCANY-1695
> URL: https://issues.apache.org/jira/browse/TUSCANY-1695
> Project: Tuscany
>  Issue Type: Bug
>  Components: C++ Build
>Affects Versions: Cpp-Next
> Environment: Linux Fedora Core 2.6.21-1.3194.fc7 
> g++ (GCC) 4.1.2 20070502 (Red Hat 4.1.2-12)
>Reporter: Ralf Henschkowski
> Fix For: Cpp-Next
>
>
> compiler sees ambiguitiy in the following line:
> ===
> --- sdo/runtime/core/src/commonj/sdo/SDOUtils.cpp   (revision 575198)
> +++ sdo/runtime/core/src/commonj/sdo/SDOUtils.cpp   (working copy)
> @@ -275,7 +275,7 @@
> j != pl.end();
> j++)
>{
> - PropertyPtr current = *j;
> + PropertyPtr current = (PropertyPtr)*j;
>   out << "\tProperty: "
>   << current->getName()
> Explicit cast helped to compile it, but I'm not sure if it is a fix ...

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


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



[jira] Commented: (TUSCANY-1694) sdotest does not compile

2007-09-19 Thread Brady Johnson (JIRA)

[ 
https://issues.apache.org/jira/browse/TUSCANY-1694?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12528934
 ] 

Brady Johnson commented on TUSCANY-1694:



I commit the patch. 


Brady Johnson
Lead Software Developer - HydraSCA
Rogue Wave Software - [EMAIL PROTECTED]



> sdotest does not compile
> 
>
> Key: TUSCANY-1694
> URL: https://issues.apache.org/jira/browse/TUSCANY-1694
> Project: Tuscany
>  Issue Type: Bug
>  Components: C++ SDO
>Affects Versions: Cpp-Next
> Environment: Linux Fedora Core  2.6.21-1.3194.fc7
> g++ (GCC) 4.1.2 20070502 (Red Hat 4.1.2-12)
>Reporter: Ralf Henschkowski
> Fix For: Cpp-Next
>
> Attachments: sdotest.patch
>
>
> gcc complains that RefCountBase::~RefCountBase() is incorrect. Removing the 
> RefCountBase namespace from the destructor fixes.

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


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



[NOTICE] Simon Nash voted as Tuscany Committer.

2007-09-19 Thread Mike Edwards
Folks,

The Tuscany PPMC and the Incubator PMC have voted for Simon to become a
Tuscany committer.

Congratulations and welcome Simon!

I'm sure that everyone will be looking forward to more excellent
contributions from Simon to Tuscany.


Yours,  Mike.


[jira] Commented: (TUSCANY-1762) Intermittent failure of sample/implementation-composite build

2007-09-19 Thread Raymond Feng (JIRA)

[ 
https://issues.apache.org/jira/browse/TUSCANY-1762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12528905
 ] 

Raymond Feng commented on TUSCANY-1762:
---

The tuscany-node module contains META-INF/sca-contribution.xml. It will impact 
the SCADomain.newInstance() as Simon explained. There is a quick fix in the 
test case, replace the SCADomain.newInstance() with the following:

SCADomain.newInstance("OuterComposite.composite");

This way, the "OuterComposite.composite" will be used as the index and there 
will be no conflict for this test case.

Thanks,
Raymond


> Intermittent failure of sample/implementation-composite build
> -
>
> Key: TUSCANY-1762
> URL: https://issues.apache.org/jira/browse/TUSCANY-1762
> Project: Tuscany
>  Issue Type: Bug
>  Components: Java SCA Core Runtime
>Affects Versions: Java-SCA-1.0
> Environment: All
>Reporter: Simon Laws
> Fix For: Java-SCA-1.0
>
>
> Sometimes I see
> ---
> Running composite.CompositeTestCase
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.296 sec <<< 
> FAILURE!
> test(composite.CompositeTestCase)  Time elapsed: 1.203 sec  <<< ERROR!
> org.osoa.sca.ServiceRuntimeException: org.osoa.sca.ServiceRuntimeException: 
> org.apache.tuscany.sca.contribution.service.ContributionResolveE
> xception: java.lang.ClassNotFoundException: 
> org.apache.tuscany.sca.node.impl.NodeManagerServiceImpl
>at 
> org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:264)
>at org.apache.tuscany.sca.host.embedded.SCADomain.newInstance 
> (SCADomain.java:58)
> Intermittently.
> Looking at this output it seems that the test is trying to load the 
> node.composite from the node module and failing as it doesn't have the 
> classes that that composite requires. It should actually be loading the 
> composites under implementation-composite/src/main.resources.
> It's using the following to create the domain...
> scaDomain = SCADomain.newInstance();
> Which basically means it's going looking for
> sca-contribution.xml, sca-contribution-generated.xml (not sure this is the 
> exact name) or deployables/ on the classpath
> In some circumstances it's finding the node version and in others it's 
> finding the module version. I don't know what makes it do one or the other.
> The fix is the remove META-INF/sca-contribution from 
> modules/node/src/main/resources. 
> This is also the workround.

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


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



Re: Axis2 fault handling

2007-09-19 Thread Simon Nash

It has been this way for a long time.  I suspect that until now no-one
has thought of the retransmission use case.  I agree that this is a
good reason for creating a new message object to hold the exception.
What do the other bindings do?

  Simon

Simon Laws wrote:


If Axis2 returns a fault it sets the fault into the contents of the original
message. In the Axis2BindingInvoker the invoke code looks like this...

public Message invoke(Message msg) {
try {
Object resp = invokeTarget(msg);
msg.setBody(resp);
} catch (AxisFault e) {
if (e.getDetail() != null) {
FaultException f = new FaultException(e.getMessage(),
e.getDetail());
f.setLogical(e.getDetail().getQName());
msg.setFaultBody(f);
} else {
msg.setFaultBody(e);
}
} catch (Throwable e) {
msg.setFaultBody(e);
}

return msg;
}

Why does it set values in the input message as well as returning it as a
return value? I can see the point in the case of a real return value as you
avoid the resource of creating a extra message object. In the fault case
though this limits the ability of the infrastructure to resend the message
if it wants to as it gets overwritten.

Simon





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



[jira] Commented: (TUSCANY-1766) Target shipped in helloworld-bpel sample in SCA 1.0 RC3a

2007-09-19 Thread Luciano Resende (JIRA)

[ 
https://issues.apache.org/jira/browse/TUSCANY-1766?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12528903
 ] 

Luciano Resende commented on TUSCANY-1766:
--

I can't see this on the tag :
https://svn.apache.org/repos/asf/incubator/tuscany/tags/java/sca/1.0-RC3a/samples/helloworld-bpel/

> Target shipped in helloworld-bpel sample in SCA 1.0 RC3a
> 
>
> Key: TUSCANY-1766
> URL: https://issues.apache.org/jira/browse/TUSCANY-1766
> Project: Tuscany
>  Issue Type: Bug
>Affects Versions: Java-SCA-1.0
>Reporter: Simon Laws
>Priority: Minor
> Fix For: Java-SCA-Next
>
>
> The target dir is shipped in the helloworld-bpel sample

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


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



Re: [VOTE] Release Tuscany Java SCA 1.0 RC3a

2007-09-19 Thread Raymond Feng

Hi,

I just realized that the fix I checked in for TUSCANY-1752 doesn't have the 
step to compile the generated SDO source. I was fooled by the left-over 
classes from the mvn build in the test.


Anyway, I'll check in the fix now.

Thanks,
Raymond


- Original Message - 
From: "Simon Laws" <[EMAIL PROTECTED]>

To: ; <[EMAIL PROTECTED]>
Sent: Wednesday, September 19, 2007 2:32 PM
Subject: Re: [VOTE] Release Tuscany Java SCA 1.0 RC3a



On 9/19/07, ant elder <[EMAIL PROTECTED]> wrote:


Oh, and +1 from me.

   ...ant

On 9/19/07, ant elder <[EMAIL PROTECTED]> wrote:
>
> Please review and vote on the 1.0 release artifacts of Tuscany SCA for
> Java.
>
> The SVN tag for the release is:
>
https://svn.apache.org/repos/asf/incubator/tuscany/tags/java/sca/1.0-RC3a/
>
>
> The artifacts are available for review at:
> http://people.apache.org/~antelder/tuscany/1.0-RC3a/
> 
>
> This includes the signed binary and source distributions, the RAT
reports,
> and
> the Maven staging repository.
>
> Many thanks,
>
>...ant
>
>
>


+1 from me.

I raised a couple of JIRAs. In particular I reopened
https://issues.apache.org/jira/browse/TUSCANY-1752 as the quote-xquery
sample doesn't work for me from ant. I does however work from mvn so 
that's

a suitable work round.

Thanks everyone

Simon




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



Re: [VOTE] Release Tuscany Java SCA 1.0 RC3a

2007-09-19 Thread Simon Laws
On 9/19/07, ant elder <[EMAIL PROTECTED]> wrote:
>
> Oh, and +1 from me.
>
>...ant
>
> On 9/19/07, ant elder <[EMAIL PROTECTED]> wrote:
> >
> > Please review and vote on the 1.0 release artifacts of Tuscany SCA for
> > Java.
> >
> > The SVN tag for the release is:
> >
> https://svn.apache.org/repos/asf/incubator/tuscany/tags/java/sca/1.0-RC3a/
> >
> >
> > The artifacts are available for review at:
> > http://people.apache.org/~antelder/tuscany/1.0-RC3a/
> > 
> >
> > This includes the signed binary and source distributions, the RAT
> reports,
> > and
> > the Maven staging repository.
> >
> > Many thanks,
> >
> >...ant
> >
> >
> >
>
+1 from me.

I raised a couple of JIRAs. In particular I reopened
https://issues.apache.org/jira/browse/TUSCANY-1752 as the quote-xquery
sample doesn't work for me from ant. I does however work from mvn so that's
a suitable work round.

Thanks everyone

Simon


[jira] Commented: (TUSCANY-1764) NPE in org.apache.tuscany.sca.node.impl.InMemoryTestCase.testCalculator

2007-09-19 Thread Simon Nash (JIRA)

[ 
https://issues.apache.org/jira/browse/TUSCANY-1764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12528902
 ] 

Simon Nash commented on TUSCANY-1764:
-

I have seen the same issue.  I'm using maven 2.0.4.

> NPE in org.apache.tuscany.sca.node.impl.InMemoryTestCase.testCalculator
> ---
>
> Key: TUSCANY-1764
> URL: https://issues.apache.org/jira/browse/TUSCANY-1764
> Project: Tuscany
>  Issue Type: Bug
>  Components: Java SCA Core Runtime
>Affects Versions: Java-SCA-1.0
> Environment: Win32
> java version "1.5.0_11"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03)
> Java HotSpot(TM) Client VM (build 1.5.0_11-b03, mixed mode, sharing)
>Reporter: Luciano Resende
> Fix For: Java-SCA-1.0
>
>
> Started from a clean repo...
> Path: .
> URL: https://svn.apache.org/repos/asf/incubator/tuscany/tags/java/sca/1.0-RC3a
> Repository Root: https://svn.apache.org/repos/asf
> Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68
> Revision: 577418
> ---
>  T E S T S
> ---
> Running org.apache.tuscany.sca.node.impl.InMemoryTestCase
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.062 sec <<< 
> FAILURE!
> org.apache.tuscany.sca.node.impl.InMemoryTestCase.testCalculator()  Time 
> elapsed: 0.015 sec  <<< FAILURE!
> java.lang.NullPointerException
> at 
> org.apache.tuscany.sca.node.impl.InMemoryTestCase.testCalculator(InMemoryTestCase.java:92)

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


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



[jira] Commented: (TUSCANY-1752) quote-xquery sample fails with exception in RC2

2007-09-19 Thread Simon Laws (JIRA)

[ 
https://issues.apache.org/jira/browse/TUSCANY-1752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12528906
 ] 

Simon Laws commented on TUSCANY-1752:
-

I should add that it does work from mvn

> quote-xquery sample fails with exception in RC2
> ---
>
> Key: TUSCANY-1752
> URL: https://issues.apache.org/jira/browse/TUSCANY-1752
> Project: Tuscany
>  Issue Type: Bug
>  Components: Java SCA Samples
>Affects Versions: Java-SCA-1.0
> Environment: windows xp
>Reporter: haleh mahbod
> Fix For: Java-SCA-1.0
>
>
> ant server gets 97 errors:
> [javac] public static AvailQuote buildAvailQuoteData() {
> [javac]   ^
> [javac] 
> C:\tuscany-new\sca-dist\tuscany-sca-1.0-incubating\samples\quote-xqu
> ery\src\main\java\xquery\quote\TestHelper.java:70: cannot find symbol
> [javac] symbol  : class PriceQuote
> [javac] location: class xquery.quote.TestHelper
> [javac] public static PriceQuote buildPriceQuoteData() {
> [javac]   ^
> [javac] 
> C:\tuscany-new\sca-dist\tuscany-sca-1.0-incubating\samples\quote-xqu
> ery\src\main\java\xquery\quote\TestHelper.java:102: cannot find symbol
> [javac] symbol  : class AvailQuote
> [javac] location: class xquery.quote.TestHelper
> [javac] public static void assertQuote(AvailQuote availQuote, 
> PriceQuote
>  priceQuote, Quote quote, float taxRate) {
> [javac]^
> [javac] 
> C:\tuscany-new\sca-dist\tuscany-sca-1.0-incubating\samples\quote-xqu
> ery\src\main\java\xquery\quote\TestHelper.java:102: cannot find symbol
> [javac] symbol  : class PriceQuote
> [javac] location: class xquery.quote.TestHelper
> [javac] public static void assertQuote(AvailQuote availQuote, 
> PriceQuote
>  priceQuote, Quote quote, float taxRate) {
> [javac]   ^
> [javac] 
> C:\tuscany-new\sca-dist\tuscany-sca-1.0-incubating\samples\quote-xqu
> ery\src\main\java\xquery\quote\TestHelper.java:102: cannot find symbol
> [javac] symbol  : class Quote
> [javac] location: class xquery.quote.TestHelper
> [javac] public static void assertQuote(AvailQuote availQuote, 
> PriceQuote
>  priceQuote, Quote quote, float taxRate) {
> [javac]
>  ^
> [javac] 
> C:\tuscany-new\sca-dist\tuscany-sca-1.0-incubating\samples\quote-xqu
> ery\src\main\java\xquery\quote\XQueryQuoteClient.java:22: package 
> org.example.av
> ail does not exist
> [javac] import org.example.avail.AvailQuote;
> [javac]  ^
> [javac] 
> C:\tuscany-new\sca-dist\tuscany-sca-1.0-incubating\samples\quote-xqu
> ery\src\main\java\xquery\quote\XQueryQuoteClient.java:23: package 
> org.example.pr
> ice does not exist
> [javac] import org.example.price.PriceQuote;
> [javac]  ^
> [javac] 
> C:\tuscany-new\sca-dist\tuscany-sca-1.0-incubating\samples\quote-xqu
> ery\src\main\java\xquery\quote\XQueryQuoteClient.java:24: package 
> org.example.qu
> ote does not exist
> [javac] import org.example.quote.Quote;
> [javac]  ^
> [javac] 
> C:\tuscany-new\sca-dist\tuscany-sca-1.0-incubating\samples\quote-xqu
> ery\src\main\java\xquery\quote\TestHelper.java:45: cannot find symbol
> [javac] symbol  : class AvailQuote
> [javac] location: class xquery.quote.TestHelper
> [javac] AvailQuote availQuote = 
> AvailFactory.INSTANCE.createAvailQuo
> te();
> [javac] ^
> [javac] 
> C:\tuscany-new\sca-dist\tuscany-sca-1.0-incubating\samples\quote-xqu
> ery\src\main\java\xquery\quote\TestHelper.java:45: package AvailFactory does 
> not
>  exist
> [javac] AvailQuote availQuote = 
> AvailFactory.INSTANCE.createAvailQuo
> te();
> [javac] ^
> [javac] 
> C:\tuscany-new\sca-dist\tuscany-sca-1.0-incubating\samples\quote-xqu
> ery\src\main\java\xquery\quote\TestHelper.java:46: cannot find symbol
> [javac] symbol  : class AvailRequest
> [javac] location: class xquery.quote.TestHelper
> [javac] AvailRequest availRequest = 
> AvailFactory.INSTANCE.createAvai
> lRequest();
> [javac] ^
> [javac] 
> C:\tuscany-new\sca-dist\tuscany-sca-1.0-incubating\samples\quote-xqu
> ery\src\main\java\xquery\quote\TestHelper.java:46: package AvailFactory does 
> not
>  exist
> [javac] AvailRequest availRequest = 
> AvailFactory.INSTANCE.createAvai
> lRequest();
> [javac] ^
> [javac] 
> C:\tuscany-new\sca-dist\tuscany-sca-1.0-incubating\samples\quote-xqu
> ery\src\main\java\xquery\quote\TestHelper.java:53: package AvailFactory does 
> not
>  exist
> [javac] av

[jira] Created: (TUSCANY-1766) Target shipped in helloworld-bpel sample in SCA 1.0 RC3a

2007-09-19 Thread Simon Laws (JIRA)
Target shipped in helloworld-bpel sample in SCA 1.0 RC3a


 Key: TUSCANY-1766
 URL: https://issues.apache.org/jira/browse/TUSCANY-1766
 Project: Tuscany
  Issue Type: Bug
Affects Versions: Java-SCA-1.0
Reporter: Simon Laws
Priority: Minor
 Fix For: Java-SCA-Next


The target dir is shipped in the helloworld-bpel sample

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


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



[jira] Reopened: (TUSCANY-1752) quote-xquery sample fails with exception in RC2

2007-09-19 Thread Simon Laws (JIRA)

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

Simon Laws reopened TUSCANY-1752:
-

  Assignee: (was: Raymond Feng)

Still see a similar failure in RC3a

 [java] >>  Examining old /TargetProject/org/example/price/impl/ShipAddressI
mpl.java

compile:
[javac] Compiling 16 source files to C:\simon\tuscany\sca-r1.0-rc3a\tuscany-
sca-1.0-incubating\samples\quote-xquery\target\classes
[javac] C:\simon\tuscany\sca-r1.0-rc3a\tuscany-sca-1.0-incubating\samples\qu
ote-xquery\src\main\java\xquery\quote\AvailQuoteProviderImpl.java:21: package or
g.example.avail does not exist
[javac] import org.example.avail.AvailQuote;
[javac]  ^
[javac] C:\simon\tuscany\sca-r1.0-rc3a\tuscany-sca-1.0-incubating\samples\qu
ote-xquery\src\main\java\xquery\quote\AvailQuoteProviderService.java:21: package
 org.example.avail does not exist
[javac] import org.example.avail.AvailQuote;
[javac]  ^
[javac] C:\simon\tuscany\sca-r1.0-rc3a\tuscany-sca-1.0-incubating\samples\qu
ote-xquery\src\main\java\xquery\quote\AvailQuoteProviderImpl.java:27: cannot fin
d symbol
[javac] symbol  : class AvailQuote
[javac] location: class xquery.quote.AvailQuoteProviderImpl
[javac] public AvailQuote provideAvailQuote(String dummyString) {
[javac]^
[javac] C:\simon\tuscany\sca-r1.0-rc3a\tuscany-sca-1.0-incubating\samples\qu
ote-xquery\src\main\java\xquery\quote\AvailQuoteProviderService.java:26: cannot
find symbol
[javac] symbol  : class AvailQuote
[javac] location: interface xquery.quote.AvailQuoteProviderService
[javac] AvailQuote provideAvailQuote(String dummyString);
[javac] ^

etc.

> quote-xquery sample fails with exception in RC2
> ---
>
> Key: TUSCANY-1752
> URL: https://issues.apache.org/jira/browse/TUSCANY-1752
> Project: Tuscany
>  Issue Type: Bug
>  Components: Java SCA Samples
>Affects Versions: Java-SCA-1.0
> Environment: windows xp
>Reporter: haleh mahbod
> Fix For: Java-SCA-1.0
>
>
> ant server gets 97 errors:
> [javac] public static AvailQuote buildAvailQuoteData() {
> [javac]   ^
> [javac] 
> C:\tuscany-new\sca-dist\tuscany-sca-1.0-incubating\samples\quote-xqu
> ery\src\main\java\xquery\quote\TestHelper.java:70: cannot find symbol
> [javac] symbol  : class PriceQuote
> [javac] location: class xquery.quote.TestHelper
> [javac] public static PriceQuote buildPriceQuoteData() {
> [javac]   ^
> [javac] 
> C:\tuscany-new\sca-dist\tuscany-sca-1.0-incubating\samples\quote-xqu
> ery\src\main\java\xquery\quote\TestHelper.java:102: cannot find symbol
> [javac] symbol  : class AvailQuote
> [javac] location: class xquery.quote.TestHelper
> [javac] public static void assertQuote(AvailQuote availQuote, 
> PriceQuote
>  priceQuote, Quote quote, float taxRate) {
> [javac]^
> [javac] 
> C:\tuscany-new\sca-dist\tuscany-sca-1.0-incubating\samples\quote-xqu
> ery\src\main\java\xquery\quote\TestHelper.java:102: cannot find symbol
> [javac] symbol  : class PriceQuote
> [javac] location: class xquery.quote.TestHelper
> [javac] public static void assertQuote(AvailQuote availQuote, 
> PriceQuote
>  priceQuote, Quote quote, float taxRate) {
> [javac]   ^
> [javac] 
> C:\tuscany-new\sca-dist\tuscany-sca-1.0-incubating\samples\quote-xqu
> ery\src\main\java\xquery\quote\TestHelper.java:102: cannot find symbol
> [javac] symbol  : class Quote
> [javac] location: class xquery.quote.TestHelper
> [javac] public static void assertQuote(AvailQuote availQuote, 
> PriceQuote
>  priceQuote, Quote quote, float taxRate) {
> [javac]
>  ^
> [javac] 
> C:\tuscany-new\sca-dist\tuscany-sca-1.0-incubating\samples\quote-xqu
> ery\src\main\java\xquery\quote\XQueryQuoteClient.java:22: package 
> org.example.av
> ail does not exist
> [javac] import org.example.avail.AvailQuote;
> [javac]  ^
> [javac] 
> C:\tuscany-new\sca-dist\tuscany-sca-1.0-incubating\samples\quote-xqu
> ery\src\main\java\xquery\quote\XQueryQuoteClient.java:23: package 
> org.example.pr
> ice does not exist
> [javac] import org.example.price.PriceQuote;
> [javac]  ^
> [javac] 
> C:\tuscany-new\sca-dist\tuscany-sca-1.0-incubating\samples\quote-xqu
> ery\src\main\java\xquery\quote\XQueryQuoteClient.java:24: package 
> org.example.qu
> ote does not exist
> [javac] import org.example.quote.Quote;
> [javac]  ^
> [javac] 
> C:\tuscany-new\sca-dist\tuscany-sca-1.0-incubating\samples\qu

Re: [VOTE] Release Tuscany Java SCA 1.0 RC3a

2007-09-19 Thread ant elder
Oh, and +1 from me.

   ...ant

On 9/19/07, ant elder <[EMAIL PROTECTED]> wrote:
>
> Please review and vote on the 1.0 release artifacts of Tuscany SCA for
> Java.
>
> The SVN tag for the release is:
> https://svn.apache.org/repos/asf/incubator/tuscany/tags/java/sca/1.0-RC3a/
>
>
> The artifacts are available for review at:
> http://people.apache.org/~antelder/tuscany/1.0-RC3a/
> 
>
> This includes the signed binary and source distributions, the RAT reports,
> and
> the Maven staging repository.
>
> Many thanks,
>
>...ant
>
>
>


[jira] Created: (TUSCANY-1765) Component implementation has wrong intent

2007-09-19 Thread Greg Dritschler (JIRA)
Component implementation has wrong intent
-

 Key: TUSCANY-1765
 URL: https://issues.apache.org/jira/browse/TUSCANY-1765
 Project: Tuscany
  Issue Type: Bug
  Components: Java SCA Assembly Model
Affects Versions: Java-SCA-0.99
Reporter: Greg Dritschler
Priority: Minor


Suppose there is a composite with multiple components that use the same 
implementation class but different implementation intents, as shown below.

http://www.osoa.org/xmlns/sca/1.0"; name="CompositeX">








In this case the components will share a common Implementation model object 
because only the class name is being used to determine whether a component's 
implementation is the same as another's.  This means one of the components will 
have the wrong implementation intents recorded in the model.

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


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



[jira] Updated: (TUSCANY-1765) Component implementation has wrong intent

2007-09-19 Thread Greg Dritschler (JIRA)

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

Greg Dritschler updated TUSCANY-1765:
-

Attachment: TUSCANY-1765.patch

BaseJavaImplementationImpl.equals is modified to call its superclass 
ComponentType.equals.

ComponentType.equals is modified to compare required intents.

> Component implementation has wrong intent
> -
>
> Key: TUSCANY-1765
> URL: https://issues.apache.org/jira/browse/TUSCANY-1765
> Project: Tuscany
>  Issue Type: Bug
>  Components: Java SCA Assembly Model
>Affects Versions: Java-SCA-0.99
>Reporter: Greg Dritschler
>Priority: Minor
> Attachments: TUSCANY-1765.patch
>
>
> Suppose there is a composite with multiple components that use the same 
> implementation class but different implementation intents, as shown below.
> http://www.osoa.org/xmlns/sca/1.0"; name="CompositeX">
> 
>  requires="managedTransaction.none"/>
> 
> 
>  requires="managedTransaction.global"/>
> 
> 
> In this case the components will share a common Implementation model object 
> because only the class name is being used to determine whether a component's 
> implementation is the same as another's.  This means one of the components 
> will have the wrong implementation intents recorded in the model.

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


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



Re: [SDO C++] Setting::getDataObjectValue question

2007-09-19 Thread Adriano Crestani
the code I got this problem is too complex, I will create a testcase and
create a jira till tomorrow ; )

Adriano Crestani

On 9/19/07, Brady Johnson <[EMAIL PROTECTED]> wrote:
>
>
> I agree that this is a bug. Can you write a JIRA please.
>
> Regards
>
> 
> Brady Johnson
> Lead Software Developer - HydraSCA
> Rogue Wave Software - [EMAIL PROTECTED]
>
>
> -Original Message-
> From: Michael Yoder [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 19, 2007 9:20 AM
> To: tuscany-dev@ws.apache.org
> Subject: RE: [SDO C++] Setting::getDataObjectValue question
>
>
> I would think this is a bug. At least its worth a JIRA with the entire
> test case attached.
>
> Michael
> Rogue Wave Software, Inc. - [EMAIL PROTECTED] Software Developer -
> HydraSDO
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
> Behalf Of Adriano Crestani
> Sent: Wednesday, September 19, 2007 4:59 AM
> To: tuscany-dev@ws.apache.org
> Subject: Fwd: [SDO C++] Setting::getDataObjectValue question
>
> -- Forwarded message --
> From: Adriano Crestani <[EMAIL PROTECTED]>
> Date: Sep 18, 2007 4:20 PM
> Subject: [SDO C++] Setting::getDataObjectValue question
> To: [EMAIL PROTECTED]
>
> I have the following code:
>
> const commonj::sdo::SettingList& settings =
> summary->getOldValues(dataObject);
>
> for (int i = 0 ; i < settings.size() ; i++) {
>
> if (!settings[i].getProperty().getType().isDataType()) {
>
> commonj::sdo::DataObjectPtr value =
> setting[i].getDataObjectValue();
>
> }
>
> }
>
>
> Shold the "value" variable always be a valid pointer? Cause it's
> returning NULL for me.
>
> Adriano Crestani
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


[jira] Commented: (TUSCANY-1764) NPE in org.apache.tuscany.sca.node.impl.InMemoryTestCase.testCalculator

2007-09-19 Thread haleh mahbod (JIRA)

[ 
https://issues.apache.org/jira/browse/TUSCANY-1764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12528876
 ] 

haleh mahbod commented on TUSCANY-1764:
---

I see the same thing. 
This is similar to the problem I reported before using maven 2.04. 

I mvoed to maven 2.05, removed repo, started clean install and I still see the 
same problem.

I then go to modules and mvn and it works fine.

Problem seem to happen when you do clean install.

> NPE in org.apache.tuscany.sca.node.impl.InMemoryTestCase.testCalculator
> ---
>
> Key: TUSCANY-1764
> URL: https://issues.apache.org/jira/browse/TUSCANY-1764
> Project: Tuscany
>  Issue Type: Bug
>  Components: Java SCA Core Runtime
>Affects Versions: Java-SCA-1.0
> Environment: Win32
> java version "1.5.0_11"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03)
> Java HotSpot(TM) Client VM (build 1.5.0_11-b03, mixed mode, sharing)
>Reporter: Luciano Resende
> Fix For: Java-SCA-1.0
>
>
> Started from a clean repo...
> Path: .
> URL: https://svn.apache.org/repos/asf/incubator/tuscany/tags/java/sca/1.0-RC3a
> Repository Root: https://svn.apache.org/repos/asf
> Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68
> Revision: 577418
> ---
>  T E S T S
> ---
> Running org.apache.tuscany.sca.node.impl.InMemoryTestCase
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.062 sec <<< 
> FAILURE!
> org.apache.tuscany.sca.node.impl.InMemoryTestCase.testCalculator()  Time 
> elapsed: 0.015 sec  <<< FAILURE!
> java.lang.NullPointerException
> at 
> org.apache.tuscany.sca.node.impl.InMemoryTestCase.testCalculator(InMemoryTestCase.java:92)

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


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



RE: [SDO C++] Setting::getDataObjectValue question

2007-09-19 Thread Brady Johnson

I agree that this is a bug. Can you write a JIRA please.

Regards


Brady Johnson
Lead Software Developer - HydraSCA
Rogue Wave Software - [EMAIL PROTECTED]
 

-Original Message-
From: Michael Yoder [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 19, 2007 9:20 AM
To: tuscany-dev@ws.apache.org
Subject: RE: [SDO C++] Setting::getDataObjectValue question


I would think this is a bug. At least its worth a JIRA with the entire
test case attached.

Michael
Rogue Wave Software, Inc. - [EMAIL PROTECTED] Software Developer -
HydraSDO 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Adriano Crestani
Sent: Wednesday, September 19, 2007 4:59 AM
To: tuscany-dev@ws.apache.org
Subject: Fwd: [SDO C++] Setting::getDataObjectValue question

-- Forwarded message --
From: Adriano Crestani <[EMAIL PROTECTED]>
Date: Sep 18, 2007 4:20 PM
Subject: [SDO C++] Setting::getDataObjectValue question
To: [EMAIL PROTECTED]

I have the following code:

const commonj::sdo::SettingList& settings =
summary->getOldValues(dataObject);

for (int i = 0 ; i < settings.size() ; i++) {

if (!settings[i].getProperty().getType().isDataType()) {

commonj::sdo::DataObjectPtr value =
setting[i].getDataObjectValue();

}

}


Shold the "value" variable always be a valid pointer? Cause it's
returning NULL for me.

Adriano Crestani

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



[VOTE] Release Tuscany Java SCA 1.0 RC3a

2007-09-19 Thread ant elder
Please review and vote on the 1.0 release artifacts of Tuscany SCA for Java.

The SVN tag for the release is:
https://svn.apache.org/repos/asf/incubator/tuscany/tags/java/sca/1.0-RC3a/

The artifacts are available for review at:
http://people.apache.org/~antelder/tuscany/1.0-RC3a/

This includes the signed binary and source distributions, the RAT reports,
and
the Maven staging repository.

Many thanks,

   ...ant


Re: RC3a looks good to me, was: [VOTE] Release Tuscany Java SCA 1.0 RC3

2007-09-19 Thread Luciano Resende
I just created JIRA 1764, I'm restarting the top-down build.


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

On 9/19/07, Venkata Krishnan <[EMAIL PROTECTED]> wrote:
> Hi...
>
> I've checked out the distros of RC3a and seems fine to me.  The maven
> artifacts are also fine with the samples building successfully from a local
> repo that is cleaned off 'sca'.  Overall seems good to me and will get my +1
> when a vote is sought.
>
> Ant, thanks for all the work.
>
> - Venkat
>
> On 9/20/07, Jean-Sebastien Delfino <[EMAIL PROTECTED]> wrote:
> >
> > ant elder wrote:
> > > Note also that most of the artifacts are now uploaded to
> > > http://people.apache.org/~antelder/tuscany/1.0-RC3a/
> > >
> > >...ant
> > >
> > > On 9/19/07, ant elder <[EMAIL PROTECTED]> wrote:
> > >
> > >> This RC3a is looking good to me, i've built it, the distros from that,
> > >> then built that src distro, run a few samples including webapp ones,
> > built
> > >> some webapp samples with the Ant scripts. It all seems to work. Anyone
> > else
> > >> say yes or no soon or shall i just call a vote on it?
> > >>
> > >>...ant
> > >>
> > >> On 9/19/07, ant elder <[EMAIL PROTECTED]> wrote:
> > >>
> > >>>
> > >>> On 9/19/07, Simon Laws < [EMAIL PROTECTED]> wrote:
> > >>>
> >  On 9/19/07, kelvin goodson <[EMAIL PROTECTED]> wrote:
> > 
> > > That's where mine now fails too.
> > >
> > > On 19/09/2007, Simon Laws < [EMAIL PROTECTED]> wrote:
> > >
> > >> On 9/19/07, ant elder <[EMAIL PROTECTED]> wrote:
> > >>
> > >>> On 9/19/07, Simon Laws < [EMAIL PROTECTED]> wrote:
> > >>>
> >  On 9/19/07, kelvin goodson < [EMAIL PROTECTED]> wrote:
> > 
> > > If I remove the xquery-quotes reference in the samples pom
> > >
> >  and try
> > 
> > > to
> > >
> > > build further i eventually get to the "Tuscany SCA
> > >
> >  Axis2-based WS
> > 
> > > Binding Extension" project where I see ...
> > > ===
> > > Downloading:
> > >
> > >
> > 
> > http://ws.zones.apache.org/repository//org.apache.woden/jars/woden-1.0-incubating-M7b.jar
> > 
> > > Downloading:
> > >
> > >
> > 
> > http://people.apache.org/repo/m2-incubating-repository/org/apache/woden/woden/1.0-incubating-M7b/woden-1.0-
> > 
> > > incubating-M7b.jar
> > > Downloading:
> > >
> > >
> > >
> > http://www.ibiblio.net/pub/packages/maven2/org/apache/woden/woden/1.0-incubating-M7b/woden-1.0-incubating-M
> > >
> > > 7b.jar
> > > [INFO]
> > >
> > >
> > 
> > 
> > 
> > > [ERROR] BUILD ERROR
> > > [INFO]
> > >
> > >
> > 
> > 
> > 
> > > [INFO] Failed to resolve artifact.
> > >
> > > Missing:
> > > --
> > > 1) org.apache.woden:woden:jar:1.0-incubating-M7b
> > >
> > >   Try downloading the file manually from the project
> > >
> >  website.
> > 
> > >   Then, install it using the command:
> > >   mvn install:install-file -DgroupId=
> > >
> >  org.apache.woden-DartifactId=woden \
> > 
> > >   -Dversion=1.0-incubating-M7b -Dpackaging=jar
> > > -Dfile=/path/to/file
> > > Alternatively, if you host your own repository you can
> > >
> >  deploy the
> > 
> > > file
> > >
> > > there:   mvn deploy:deploy-file -DgroupId=org
> > > .apache.woden -DartifactId=woden \
> > >   -Dversion=1.0-incubating-M7b -Dpackaging=jar
> > > -Dfile=/path/to/file \
> > >-Durl=[url] -DrepositoryId=[id]
> > >
> > >   Path to dependency:
> > > 1)
> > >
> > >
> >  org.apache.tuscany.sca:tuscany-binding-ws-axis2:jar:1.0-incubating
> > 
> > > 2) org.apache.woden:woden:jar:1.0-incubating-M7b
> > >
> > > --
> > > 1 required artifact is missing.
> > >
> > > for artifact:
> > >
> > >
> > > org.apache.tuscany.sca:tuscany-binding-ws-axis2:jar:1.0-incubating
> > >
> > > from the specified remote repositories:
> > >   apache.incubator (
> > >
> >  http://people.apache.org/repo/m2-incubating-repository
> > 
> > > ),
> > >   central ( http://repo1.maven.org/maven2),
> > >   apache.snapshots (
> > >
> > >>> http://people.apache.org/repo/m2-snapshot-repository
> > >>>
> >  ),
> > 
> > >   apache.ws (http://ws.zones.apache.org/repository/)
> > >
> > > 
> > >

[jira] Commented: (TUSCANY-1764) NPE in org.apache.tuscany.sca.node.impl.InMemoryTestCase.testCalculator

2007-09-19 Thread Luciano Resende (JIRA)

[ 
https://issues.apache.org/jira/browse/TUSCANY-1764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12528874
 ] 

Luciano Resende commented on TUSCANY-1764:
--

It builds ok from the module itself, so I'm restarting a top-down build.

> NPE in org.apache.tuscany.sca.node.impl.InMemoryTestCase.testCalculator
> ---
>
> Key: TUSCANY-1764
> URL: https://issues.apache.org/jira/browse/TUSCANY-1764
> Project: Tuscany
>  Issue Type: Bug
>  Components: Java SCA Core Runtime
>Affects Versions: Java-SCA-1.0
> Environment: Win32
> java version "1.5.0_11"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03)
> Java HotSpot(TM) Client VM (build 1.5.0_11-b03, mixed mode, sharing)
>Reporter: Luciano Resende
> Fix For: Java-SCA-1.0
>
>
> Started from a clean repo...
> Path: .
> URL: https://svn.apache.org/repos/asf/incubator/tuscany/tags/java/sca/1.0-RC3a
> Repository Root: https://svn.apache.org/repos/asf
> Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68
> Revision: 577418
> ---
>  T E S T S
> ---
> Running org.apache.tuscany.sca.node.impl.InMemoryTestCase
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.062 sec <<< 
> FAILURE!
> org.apache.tuscany.sca.node.impl.InMemoryTestCase.testCalculator()  Time 
> elapsed: 0.015 sec  <<< FAILURE!
> java.lang.NullPointerException
> at 
> org.apache.tuscany.sca.node.impl.InMemoryTestCase.testCalculator(InMemoryTestCase.java:92)

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


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



Re: RC3a looks good to me, was: [VOTE] Release Tuscany Java SCA 1.0 RC3

2007-09-19 Thread Venkata Krishnan
Hi...

I've checked out the distros of RC3a and seems fine to me.  The maven
artifacts are also fine with the samples building successfully from a local
repo that is cleaned off 'sca'.  Overall seems good to me and will get my +1
when a vote is sought.

Ant, thanks for all the work.

- Venkat

On 9/20/07, Jean-Sebastien Delfino <[EMAIL PROTECTED]> wrote:
>
> ant elder wrote:
> > Note also that most of the artifacts are now uploaded to
> > http://people.apache.org/~antelder/tuscany/1.0-RC3a/
> >
> >...ant
> >
> > On 9/19/07, ant elder <[EMAIL PROTECTED]> wrote:
> >
> >> This RC3a is looking good to me, i've built it, the distros from that,
> >> then built that src distro, run a few samples including webapp ones,
> built
> >> some webapp samples with the Ant scripts. It all seems to work. Anyone
> else
> >> say yes or no soon or shall i just call a vote on it?
> >>
> >>...ant
> >>
> >> On 9/19/07, ant elder <[EMAIL PROTECTED]> wrote:
> >>
> >>>
> >>> On 9/19/07, Simon Laws < [EMAIL PROTECTED]> wrote:
> >>>
>  On 9/19/07, kelvin goodson <[EMAIL PROTECTED]> wrote:
> 
> > That's where mine now fails too.
> >
> > On 19/09/2007, Simon Laws < [EMAIL PROTECTED]> wrote:
> >
> >> On 9/19/07, ant elder <[EMAIL PROTECTED]> wrote:
> >>
> >>> On 9/19/07, Simon Laws < [EMAIL PROTECTED]> wrote:
> >>>
>  On 9/19/07, kelvin goodson < [EMAIL PROTECTED]> wrote:
> 
> > If I remove the xquery-quotes reference in the samples pom
> >
>  and try
> 
> > to
> >
> > build further i eventually get to the "Tuscany SCA
> >
>  Axis2-based WS
> 
> > Binding Extension" project where I see ...
> > ===
> > Downloading:
> >
> >
> 
> http://ws.zones.apache.org/repository//org.apache.woden/jars/woden-1.0-incubating-M7b.jar
> 
> > Downloading:
> >
> >
> 
> http://people.apache.org/repo/m2-incubating-repository/org/apache/woden/woden/1.0-incubating-M7b/woden-1.0-
> 
> > incubating-M7b.jar
> > Downloading:
> >
> >
> >
> http://www.ibiblio.net/pub/packages/maven2/org/apache/woden/woden/1.0-incubating-M7b/woden-1.0-incubating-M
> >
> > 7b.jar
> > [INFO]
> >
> >
> 
> 
> 
> > [ERROR] BUILD ERROR
> > [INFO]
> >
> >
> 
> 
> 
> > [INFO] Failed to resolve artifact.
> >
> > Missing:
> > --
> > 1) org.apache.woden:woden:jar:1.0-incubating-M7b
> >
> >   Try downloading the file manually from the project
> >
>  website.
> 
> >   Then, install it using the command:
> >   mvn install:install-file -DgroupId=
> >
>  org.apache.woden-DartifactId=woden \
> 
> >   -Dversion=1.0-incubating-M7b -Dpackaging=jar
> > -Dfile=/path/to/file
> > Alternatively, if you host your own repository you can
> >
>  deploy the
> 
> > file
> >
> > there:   mvn deploy:deploy-file -DgroupId=org
> > .apache.woden -DartifactId=woden \
> >   -Dversion=1.0-incubating-M7b -Dpackaging=jar
> > -Dfile=/path/to/file \
> >-Durl=[url] -DrepositoryId=[id]
> >
> >   Path to dependency:
> > 1)
> >
> >
>  org.apache.tuscany.sca:tuscany-binding-ws-axis2:jar:1.0-incubating
> 
> > 2) org.apache.woden:woden:jar:1.0-incubating-M7b
> >
> > --
> > 1 required artifact is missing.
> >
> > for artifact:
> >
> >
> > org.apache.tuscany.sca:tuscany-binding-ws-axis2:jar:1.0-incubating
> >
> > from the specified remote repositories:
> >   apache.incubator (
> >
>  http://people.apache.org/repo/m2-incubating-repository
> 
> > ),
> >   central ( http://repo1.maven.org/maven2),
> >   apache.snapshots (
> >
> >>> http://people.apache.org/repo/m2-snapshot-repository
> >>>
>  ),
> 
> >   apache.ws (http://ws.zones.apache.org/repository/)
> >
> > 
> >
> > On 19/09/2007, kelvin goodson <[EMAIL PROTECTED]>
> >
>  wrote:
> 
> >> The source distro now has a reference to quote-xquery in
> >>
>  the top
> 
> >>> level
> >>>
> >> pom,  but the sample code is not included in the distro.
> >>
> >>
> >> C:\Release\SCA\1.0\RC3\src\tuscany- sca-1.0-incubating-src
> >>
> > mvn
> > clean
> >
> >> [INFO] Scanning 

[jira] Created: (TUSCANY-1764) NPE in org.apache.tuscany.sca.node.impl.InMemoryTestCase.testCalculator

2007-09-19 Thread Luciano Resende (JIRA)
NPE in org.apache.tuscany.sca.node.impl.InMemoryTestCase.testCalculator
---

 Key: TUSCANY-1764
 URL: https://issues.apache.org/jira/browse/TUSCANY-1764
 Project: Tuscany
  Issue Type: Bug
  Components: Java SCA Core Runtime
Affects Versions: Java-SCA-1.0
 Environment: Win32

java version "1.5.0_11"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03)
Java HotSpot(TM) Client VM (build 1.5.0_11-b03, mixed mode, sharing)
Reporter: Luciano Resende
 Fix For: Java-SCA-1.0


Started from a clean repo...

Path: .
URL: https://svn.apache.org/repos/asf/incubator/tuscany/tags/java/sca/1.0-RC3a
Repository Root: https://svn.apache.org/repos/asf
Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68
Revision: 577418

---
 T E S T S
---
Running org.apache.tuscany.sca.node.impl.InMemoryTestCase
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.062 sec <<< 
FAILURE!
org.apache.tuscany.sca.node.impl.InMemoryTestCase.testCalculator()  Time 
elapsed: 0.015 sec  <<< FAILURE!
java.lang.NullPointerException
at 
org.apache.tuscany.sca.node.impl.InMemoryTestCase.testCalculator(InMemoryTestCase.java:92)



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


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



RC3a looks good to me, was: [VOTE] Release Tuscany Java SCA 1.0 RC3

2007-09-19 Thread Jean-Sebastien Delfino

ant elder wrote:

Note also that most of the artifacts are now uploaded to
http://people.apache.org/~antelder/tuscany/1.0-RC3a/

   ...ant

On 9/19/07, ant elder <[EMAIL PROTECTED]> wrote:
  

This RC3a is looking good to me, i've built it, the distros from that,
then built that src distro, run a few samples including webapp ones, built
some webapp samples with the Ant scripts. It all seems to work. Anyone else
say yes or no soon or shall i just call a vote on it?

   ...ant

On 9/19/07, ant elder <[EMAIL PROTECTED]> wrote:



On 9/19/07, Simon Laws < [EMAIL PROTECTED]> wrote:
  

On 9/19/07, kelvin goodson <[EMAIL PROTECTED]> wrote:


That's where mine now fails too.

On 19/09/2007, Simon Laws < [EMAIL PROTECTED]> wrote:
  

On 9/19/07, ant elder <[EMAIL PROTECTED]> wrote:


On 9/19/07, Simon Laws < [EMAIL PROTECTED]> wrote:
  

On 9/19/07, kelvin goodson < [EMAIL PROTECTED]> wrote:


If I remove the xquery-quotes reference in the samples pom
  

and try


to
  

build further i eventually get to the "Tuscany SCA
  

Axis2-based WS


Binding Extension" project where I see ...
===
Downloading:

  

http://ws.zones.apache.org/repository//org.apache.woden/jars/woden-1.0-incubating-M7b.jar


Downloading:

  

http://people.apache.org/repo/m2-incubating-repository/org/apache/woden/woden/1.0-incubating-M7b/woden-1.0-


incubating-M7b.jar
Downloading:

  

http://www.ibiblio.net/pub/packages/maven2/org/apache/woden/woden/1.0-incubating-M7b/woden-1.0-incubating-M
  

7b.jar
[INFO]

  




[ERROR] BUILD ERROR
[INFO]

  




[INFO] Failed to resolve artifact.

Missing:
--
1) org.apache.woden:woden:jar:1.0-incubating-M7b

  Try downloading the file manually from the project
  

website.


  Then, install it using the command:
  mvn install:install-file -DgroupId=
  

org.apache.woden-DartifactId=woden \


  -Dversion=1.0-incubating-M7b -Dpackaging=jar
-Dfile=/path/to/file
Alternatively, if you host your own repository you can
  

deploy the


file
  

there:   mvn deploy:deploy-file -DgroupId=org
.apache.woden -DartifactId=woden \
  -Dversion=1.0-incubating-M7b -Dpackaging=jar
-Dfile=/path/to/file \
   -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
1)

  

org.apache.tuscany.sca:tuscany-binding-ws-axis2:jar:1.0-incubating


2) org.apache.woden:woden:jar:1.0-incubating-M7b

--
1 required artifact is missing.

for artifact:

  

org.apache.tuscany.sca:tuscany-binding-ws-axis2:jar:1.0-incubating
  

from the specified remote repositories:
  apache.incubator (
  

http://people.apache.org/repo/m2-incubating-repository


),
  central ( http://repo1.maven.org/maven2),
  apache.snapshots (
  

http://people.apache.org/repo/m2-snapshot-repository
  

),


  apache.ws (http://ws.zones.apache.org/repository/)



On 19/09/2007, kelvin goodson <[EMAIL PROTECTED]>
  

wrote:


The source distro now has a reference to quote-xquery in


the top


level
  

pom,  but the sample code is not included in the distro.


C:\Release\SCA\1.0\RC3\src\tuscany- sca-1.0-incubating-src


mvn
clean
  

[INFO] Scanning for projects...
[INFO]





[ERROR] FATAL ERROR
[INFO]





[INFO] Error building POM (may not be this project's POM).


Project ID: unknown

Reason: Could not find the model file
'C:\Release\SCA\1.0\RC3\src\tuscany-


sca-1.0-incubating-src\samples\quote-xquery\po
  

m.xml'. for project unknown


[INFO]





[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Could


not find


the
  

model file 'C:\Release\SCA\1.0\RC3\src\tuscany-sca-
1.0-incubating-src\samples\quote-xquery\pom.xml'. for


project


unknown
  

at org.apache.maven.DefaultMaven.getProjects(


DefaultMaven.java
  

:378)
  

at org.apache.maven.DefaultMaven.doExecute(

Re: Why implementation-osgi does not work?

2007-09-19 Thread Raymond Feng

Hi,

Adding a mirror seems to overwrite the apache incubating repo. I found the 
following settings a solution:


/.m2/settings.xml


...
   
   
   staging
   
   true
   
   
   
   tuscany.staging
   
http://people.apache.org/~antelder/tuscany/1.0-RC3a/maven
   
   
   
   
   tuscany.staging
   
http://people.apache.org/~antelder/tuscany/1.0-RC3a/maven
   
   
   
   


- Original Message - 
From: "haleh mahbod" <[EMAIL PROTECTED]>

To: 
Sent: Wednesday, September 19, 2007 11:57 AM
Subject: Re: Why implementation-osgi does not work?



you need to point to the artefacts posted for the RC as well. Add


ant.staging
http://people.apache.org/~antelder/tuscany/1.0-RC3a/maven
apache.incubator
  

to the settings file under maven.

On 9/19/07, Luciano Resende <[EMAIL PROTECTED]> wrote:


What version of maven are you using ? Could you please try with maven
2.0.5 ?

On 9/19/07, shaoguang geng <[EMAIL PROTECTED]> wrote:
> Hi Sivaram:
>
> My branch 1.0 code is the latest.
>
> I also tried the trunk code: mvn stoped at
>
> Missing:
> --
> 1)
org.apache.tuscany.sca:tuscany-host-embedded:jar:1.1-incubating-SNAPSHOT
> ..
>
> in fact, recently got quick alot of Missing failurs from tuscany trunk.
I myself not too much mind this.
>
> Usually I see into code instead of stops at mvn failure. But osgi
implementation really seems ill some where.
>
>
> Rajini Sivaram <[EMAIL PROTECTED]> wrote: The stack trace
shows that the implementation.osgi code is a few days old.
> The code was changed recently to support OSGi contributions, and this
also
> modified  to use symbolic names for bundles rather
> than the URL for its location, making this consistent with other SCA
> implementation types.
>
> Is it possible that the samples and the implementation code you are
running
> are from two different builds? Would it be possible for you to run the
> samples against the latest build?
>
>
> Thank you...
>
> Regards,
>
> Rajini
>
>
> On 9/19/07, shaoguang geng  wrote:
> >
> > Thank you for you replies:
> >
> > The mvn build in branch/sca-java-1.0/samples/osgi-supplychain out put
as
> > in the attached file.
> >
> >
> > *Rajini Sivaram * wrote:
> >
> > Hi,
> >
> > implementation.osgi and its sample osgi-supplychain should be working
in
> > the
> > 1.0 build. Could you please provide a build output or stack trace for
the
> > failure you are seeing?
> >
> > Thank you...
> >
> > Regards,
> >
> > Rajini
> >
> >
> > On 9/18/07, shaoguang geng wrote:
> > >
> > > Hi, Raymond, I just want to know wether this module is under
> > construction.
> > > Or I may wait for a mile stone to see in.
> > >
> > > Raymond Feng wrote: Hi,
> > >
> > > What problem are you seeing? Stacktrace in JIRA will be 
> > > appreciated.

> > >
> > > Thanks,
> > > Raymond
> > >
> > > - Original Message -
> > > From: "shaoguang geng"
> > > To:
> > > Sent: Tuesday, September 18, 2007 1:36 AM
> > > Subject: Why implementation-osgi does not work?
> > >
> > >
> > > > Hi, could some one tell me shortly what's going on with osgi,
> > > >
> > > > I was once run it with supplychain, but for a couple of days, svn
code
> > > > just does not work any more, I tried it with branch 1.0, not too.
> > > >
> > > > Thanks
> > > >
> > > >
> > > > -
> > > > Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s
user
> > > > panel and lay it on us.
> > >
> > >
> > >
-
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> > >
> > >
> > > -
> > > Tonight's top picks. What will you watch tonight? Preview the
hottest
> > > shows on Yahoo! TV.
> >
> >
> >  --
> > Be a better Globetrotter. Get better travel answers
> > from
> > someone who knows.
> > Yahoo! Answers - Check it out.
> >
> >
> > ---
> >  T E S T S
> > ---
> > Running supplychain.SupplyChainClientTestCase
> > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 
> > 4.015sec

> > <<< FAILURE!
> > test(supplychain.SupplyChainClientTestCase)  Time elapsed: 3.985sec 
> > <<<

> > ERROR!
> > org.osoa.sca.ServiceRuntimeException:
org.osoa.sca.ServiceRuntimeException:
> > org.apache.tuscany.sca.core.assembly.ActivationException:
org.apache.tusca
> > ny.sca.core.factory.ObjectCreationException:
> > org.osgi.framework.BundleException: Unable to cache bundle: null
> >at
org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance
> > (SCADomain.java:264)
> >at org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(
> > SCADomain.java:69)
> >at s

[jira] Resolved: (TUSCANY-1752) quote-xquery sample fails with exception in RC2

2007-09-19 Thread Raymond Feng (JIRA)

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

Raymond Feng resolved TUSCANY-1752.
---

Resolution: Fixed

Fixed as discribed in the previous comment.

> quote-xquery sample fails with exception in RC2
> ---
>
> Key: TUSCANY-1752
> URL: https://issues.apache.org/jira/browse/TUSCANY-1752
> Project: Tuscany
>  Issue Type: Bug
>  Components: Java SCA Samples
>Affects Versions: Java-SCA-1.0
> Environment: windows xp
>Reporter: haleh mahbod
>Assignee: Raymond Feng
> Fix For: Java-SCA-1.0
>
>
> ant server gets 97 errors:
> [javac] public static AvailQuote buildAvailQuoteData() {
> [javac]   ^
> [javac] 
> C:\tuscany-new\sca-dist\tuscany-sca-1.0-incubating\samples\quote-xqu
> ery\src\main\java\xquery\quote\TestHelper.java:70: cannot find symbol
> [javac] symbol  : class PriceQuote
> [javac] location: class xquery.quote.TestHelper
> [javac] public static PriceQuote buildPriceQuoteData() {
> [javac]   ^
> [javac] 
> C:\tuscany-new\sca-dist\tuscany-sca-1.0-incubating\samples\quote-xqu
> ery\src\main\java\xquery\quote\TestHelper.java:102: cannot find symbol
> [javac] symbol  : class AvailQuote
> [javac] location: class xquery.quote.TestHelper
> [javac] public static void assertQuote(AvailQuote availQuote, 
> PriceQuote
>  priceQuote, Quote quote, float taxRate) {
> [javac]^
> [javac] 
> C:\tuscany-new\sca-dist\tuscany-sca-1.0-incubating\samples\quote-xqu
> ery\src\main\java\xquery\quote\TestHelper.java:102: cannot find symbol
> [javac] symbol  : class PriceQuote
> [javac] location: class xquery.quote.TestHelper
> [javac] public static void assertQuote(AvailQuote availQuote, 
> PriceQuote
>  priceQuote, Quote quote, float taxRate) {
> [javac]   ^
> [javac] 
> C:\tuscany-new\sca-dist\tuscany-sca-1.0-incubating\samples\quote-xqu
> ery\src\main\java\xquery\quote\TestHelper.java:102: cannot find symbol
> [javac] symbol  : class Quote
> [javac] location: class xquery.quote.TestHelper
> [javac] public static void assertQuote(AvailQuote availQuote, 
> PriceQuote
>  priceQuote, Quote quote, float taxRate) {
> [javac]
>  ^
> [javac] 
> C:\tuscany-new\sca-dist\tuscany-sca-1.0-incubating\samples\quote-xqu
> ery\src\main\java\xquery\quote\XQueryQuoteClient.java:22: package 
> org.example.av
> ail does not exist
> [javac] import org.example.avail.AvailQuote;
> [javac]  ^
> [javac] 
> C:\tuscany-new\sca-dist\tuscany-sca-1.0-incubating\samples\quote-xqu
> ery\src\main\java\xquery\quote\XQueryQuoteClient.java:23: package 
> org.example.pr
> ice does not exist
> [javac] import org.example.price.PriceQuote;
> [javac]  ^
> [javac] 
> C:\tuscany-new\sca-dist\tuscany-sca-1.0-incubating\samples\quote-xqu
> ery\src\main\java\xquery\quote\XQueryQuoteClient.java:24: package 
> org.example.qu
> ote does not exist
> [javac] import org.example.quote.Quote;
> [javac]  ^
> [javac] 
> C:\tuscany-new\sca-dist\tuscany-sca-1.0-incubating\samples\quote-xqu
> ery\src\main\java\xquery\quote\TestHelper.java:45: cannot find symbol
> [javac] symbol  : class AvailQuote
> [javac] location: class xquery.quote.TestHelper
> [javac] AvailQuote availQuote = 
> AvailFactory.INSTANCE.createAvailQuo
> te();
> [javac] ^
> [javac] 
> C:\tuscany-new\sca-dist\tuscany-sca-1.0-incubating\samples\quote-xqu
> ery\src\main\java\xquery\quote\TestHelper.java:45: package AvailFactory does 
> not
>  exist
> [javac] AvailQuote availQuote = 
> AvailFactory.INSTANCE.createAvailQuo
> te();
> [javac] ^
> [javac] 
> C:\tuscany-new\sca-dist\tuscany-sca-1.0-incubating\samples\quote-xqu
> ery\src\main\java\xquery\quote\TestHelper.java:46: cannot find symbol
> [javac] symbol  : class AvailRequest
> [javac] location: class xquery.quote.TestHelper
> [javac] AvailRequest availRequest = 
> AvailFactory.INSTANCE.createAvai
> lRequest();
> [javac] ^
> [javac] 
> C:\tuscany-new\sca-dist\tuscany-sca-1.0-incubating\samples\quote-xqu
> ery\src\main\java\xquery\quote\TestHelper.java:46: package AvailFactory does 
> not
>  exist
> [javac] AvailRequest availRequest = 
> AvailFactory.INSTANCE.createAvai
> lRequest();
> [javac] ^
> [javac] 
> C:\tuscany-new\sca-dist\tuscany-sca-1.0-incubating\samples\quote-xqu
> ery\src\main\java\xquery\quote\TestHelper.java:53: package AvailFactory does 

[jira] Updated: (TUSCANY-1756) Using EmbeddedSCADomain to deploy two contribution error

2007-09-19 Thread Jean-Sebastien Delfino (JIRA)

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

Jean-Sebastien Delfino updated TUSCANY-1756:


Fix Version/s: (was: Java-SCA-1.0)
   Java-SCA-Next

Looks like you have a local patch allowing you to workaround that issue.

Thanks for contributing the patch. We'll apply it to trunk, and it will go into 
the next release. Thanks!

> Using EmbeddedSCADomain to deploy two contribution error
> 
>
> Key: TUSCANY-1756
> URL: https://issues.apache.org/jira/browse/TUSCANY-1756
> Project: Tuscany
>  Issue Type: Bug
>  Components: Java SCA Assembly Model
>Affects Versions: Java-SCA-1.0
> Environment: jdk 1.5.01,winxp
>Reporter: wangfeng
>Assignee: Luciano Resende
> Fix For: Java-SCA-Next
>
> Attachments: patch.diff, testcase.zip
>
>
> I use EmbeddedSCADomain to deploy two contribution,one contribution 
> ready(build,activate,start) ,after that deploy the other contribution,get an 
> exception as below:
> java.lang.IllegalStateException: Scope must be in UNINITIALIZED or STOPPED 
> state [4]
>   at 
> org.apache.tuscany.sca.core.scope.AbstractScopeContainer.start(AbstractScopeContainer.java:118)
>   at 
> org.apache.tuscany.sca.core.assembly.CompositeActivatorImpl.start(CompositeActivatorImpl.java:489)
>   at 
> org.apache.tuscany.sca.core.assembly.CompositeActivatorImpl.start(CompositeActivatorImpl.java:427)
>   at 
> org.apache.tuscany.sca.core.assembly.CompositeActivatorImpl.start(CompositeActivatorImpl.java:478)
>   at 
> org.apache.tuscany.sca.core.assembly.CompositeActivatorImpl.start(CompositeActivatorImpl.java:427)
>   at test.ContributionTestCase.setUp(ContributionTestCase.java:79)
>   at junit.framework.TestCase.runBare(TestCase.java:128)
>   at junit.framework.TestResult$1.protect(TestResult.java:110)
>   at junit.framework.TestResult.runProtected(TestResult.java:128)
>   at junit.framework.TestResult.run(TestResult.java:113)
>   at junit.framework.TestCase.run(TestCase.java:120)
>   at junit.framework.TestSuite.runTest(TestSuite.java:228)
>   at junit.framework.TestSuite.run(TestSuite.java:223)
>   at 
> org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:128)
>   at 
> org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
>   at 
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
>   at 
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
>   at 
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
>   at 
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
>   
> and also when the scopeContainer stop,get an similar exception too.
> java.lang.IllegalStateException: Scope in wrong state [6]
>   at 
> org.apache.tuscany.sca.core.scope.AbstractScopeContainer.stop(AbstractScopeContainer.java:136)
>   at 
> org.apache.tuscany.sca.core.assembly.CompositeActivatorImpl.stop(CompositeActivatorImpl.java:552)
>   at 
> org.apache.tuscany.sca.core.assembly.CompositeActivatorImpl.stop(CompositeActivatorImpl.java:436)
>   at test.ContributionTestCase.tearDown(ContributionTestCase.java:106)
>   at junit.framework.TestCase.runBare(TestCase.java:136)
>   at junit.framework.TestResult$1.protect(TestResult.java:110)
>   at junit.framework.TestResult.runProtected(TestResult.java:128)
>   at junit.framework.TestResult.run(TestResult.java:113)
>   at junit.framework.TestCase.run(TestCase.java:120)
>   at junit.framework.TestSuite.runTest(TestSuite.java:228)
>   at junit.framework.TestSuite.run(TestSuite.java:223)
>   at 
> org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:128)
>   at 
> org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
>   at 
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
>   at 
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
>   at 
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
>   at 
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
> my java snippet:
> ClassLoader cl = getClass().getClassLoader();
> EmbeddedSCADomain domain = new EmbeddedSCADomain(cl, "http://localhost";);
> domain.start();
> ContributionService contributionService = domain.getContributionService();
> Contribution helloContribution = 
> contributionService.contribute("http://import-export/export-composite";, 
> helloCon

Re: Why implementation-osgi does not work?

2007-09-19 Thread haleh mahbod
you need to point to the artefacts posted for the RC as well. Add


 ant.staging
 http://people.apache.org/~antelder/tuscany/1.0-RC3a/maven
 apache.incubator
   

to the settings file under maven.

On 9/19/07, Luciano Resende <[EMAIL PROTECTED]> wrote:
>
> What version of maven are you using ? Could you please try with maven
> 2.0.5 ?
>
> On 9/19/07, shaoguang geng <[EMAIL PROTECTED]> wrote:
> > Hi Sivaram:
> >
> > My branch 1.0 code is the latest.
> >
> > I also tried the trunk code: mvn stoped at
> >
> > Missing:
> > --
> > 1)
> org.apache.tuscany.sca:tuscany-host-embedded:jar:1.1-incubating-SNAPSHOT
> > ..
> >
> > in fact, recently got quick alot of Missing failurs from tuscany trunk.
> I myself not too much mind this.
> >
> > Usually I see into code instead of stops at mvn failure. But osgi
> implementation really seems ill some where.
> >
> >
> > Rajini Sivaram <[EMAIL PROTECTED]> wrote: The stack trace
> shows that the implementation.osgi code is a few days old.
> > The code was changed recently to support OSGi contributions, and this
> also
> > modified  to use symbolic names for bundles rather
> > than the URL for its location, making this consistent with other SCA
> > implementation types.
> >
> > Is it possible that the samples and the implementation code you are
> running
> > are from two different builds? Would it be possible for you to run the
> > samples against the latest build?
> >
> >
> > Thank you...
> >
> > Regards,
> >
> > Rajini
> >
> >
> > On 9/19/07, shaoguang geng  wrote:
> > >
> > > Thank you for you replies:
> > >
> > > The mvn build in branch/sca-java-1.0/samples/osgi-supplychain out put
> as
> > > in the attached file.
> > >
> > >
> > > *Rajini Sivaram * wrote:
> > >
> > > Hi,
> > >
> > > implementation.osgi and its sample osgi-supplychain should be working
> in
> > > the
> > > 1.0 build. Could you please provide a build output or stack trace for
> the
> > > failure you are seeing?
> > >
> > > Thank you...
> > >
> > > Regards,
> > >
> > > Rajini
> > >
> > >
> > > On 9/18/07, shaoguang geng wrote:
> > > >
> > > > Hi, Raymond, I just want to know wether this module is under
> > > construction.
> > > > Or I may wait for a mile stone to see in.
> > > >
> > > > Raymond Feng wrote: Hi,
> > > >
> > > > What problem are you seeing? Stacktrace in JIRA will be appreciated.
> > > >
> > > > Thanks,
> > > > Raymond
> > > >
> > > > - Original Message -
> > > > From: "shaoguang geng"
> > > > To:
> > > > Sent: Tuesday, September 18, 2007 1:36 AM
> > > > Subject: Why implementation-osgi does not work?
> > > >
> > > >
> > > > > Hi, could some one tell me shortly what's going on with osgi,
> > > > >
> > > > > I was once run it with supplychain, but for a couple of days, svn
> code
> > > > > just does not work any more, I tried it with branch 1.0, not too.
> > > > >
> > > > > Thanks
> > > > >
> > > > >
> > > > > -
> > > > > Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s
> user
> > > > > panel and lay it on us.
> > > >
> > > >
> > > >
> -
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > >
> > > >
> > > >
> > > >
> > > > -
> > > > Tonight's top picks. What will you watch tonight? Preview the
> hottest
> > > > shows on Yahoo! TV.
> > >
> > >
> > >  --
> > > Be a better Globetrotter. Get better travel answers
> > > from
> > > someone who knows.
> > > Yahoo! Answers - Check it out.
> > >
> > >
> > > ---
> > >  T E S T S
> > > ---
> > > Running supplychain.SupplyChainClientTestCase
> > > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.015sec
> > > <<< FAILURE!
> > > test(supplychain.SupplyChainClientTestCase)  Time elapsed: 3.985sec  <<<
> > > ERROR!
> > > org.osoa.sca.ServiceRuntimeException:
> org.osoa.sca.ServiceRuntimeException:
> > > org.apache.tuscany.sca.core.assembly.ActivationException:
> org.apache.tusca
> > > ny.sca.core.factory.ObjectCreationException:
> > > org.osgi.framework.BundleException: Unable to cache bundle: null
> > >at
> org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance
> > > (SCADomain.java:264)
> > >at org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(
> > > SCADomain.java:69)
> > >at supplychain.SupplyChainClientTestCase.setUp(
> > > SupplyChainClientTestCase.java:39)
> > >at junit.framework.TestCase.runBare(TestCase.java:132)
> > >at junit.framework.TestResult$1.protect(TestResult.java:110)
> > >at junit.framework.TestResult.runProtected(TestResult.java:128)
> > >at junit.framework.TestResult.run(TestResult.java:113)
> > >at junit.framework.TestCase.run(TestCase.java:124)
> > >at junit.framewo

[jira] Updated: (TUSCANY-1142) Need to allow generation of wrapped Java intf from doc-lit-wrap WSDL with named complexType

2007-09-19 Thread Jean-Sebastien Delfino (JIRA)

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

Jean-Sebastien Delfino updated TUSCANY-1142:


Fix Version/s: (was: Java-SCA-1.0)
   Java-SCA-Next

Ok. Thanks for checking, moving it to SCA-Next as the SCA-1.0 is now frozen.

> Need to allow generation of wrapped Java intf from doc-lit-wrap WSDL with 
> named complexType 
> 
>
> Key: TUSCANY-1142
> URL: https://issues.apache.org/jira/browse/TUSCANY-1142
> Project: Tuscany
>  Issue Type: Bug
>  Components: Java SCA Tools
>Affects Versions: Java-SCA-M2
>Reporter: Scott Kurz
> Fix For: Java-SCA-Next
>
>
> Our WSDL2Java tool maps the following WSDL pattern onto a non-wrapped Java 
> interface even when using doc-lit-wrapped WSDL:
> ...
> 
> 
>   
> 
>   
> 
> 
> ...
> 
> I noticed that wsimport seems to unwrap this and produce:
>   getGreetings(String)
> whereas our WSDL2Java treats this as non-wrapped and generates:
>   getGreetings(getGreetings)
> The key line of Tuscany code is:
> org.apache.tuscany.tools.wsdl2java.generate.JavaInterfaceEmitter.isWrapped()
>  if (typeMappingEntry.isAnonymous()) {
> wrapped = true;
> }   
> As I claim in this JIRA, TUSCANY-1019, it would be nice to ALSO have the 
> ability to generate a non-wrapped Java interface from the given WSDL pattern, 
> but we should also allow for generation of a wrapped interface (the wrapped 
> by my guess should be the default).
> Yang Zhong posted this reply in agreement to the Tuscany dev list.
> Once binding is involved within WSDL2Java, one WSDL portType/message can end
> up with multiple Java classes respective to different bindings.
> It mixes business logic and wire format :-(
> Assuming involving binding is de facto, and only one binding each WSDL
> portType/message,
> maybe we can change JavaInterfaceEmitter.isWrapped to an algorithm such as:
> 1. not wrapped if the style is not document or the use is not literal
> 2. not wrapped if the message has more than one parts
> 3. not wrapped if the part isn't element or its local name doesn't match the
> operation local name
> 4. not wrapped if the operation name isn't unique within the portType
> Yes, I agree with Scott not to take isAnonymous() into account.

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


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



Re: [VOTE] Release Tuscany Java SCA 1.0 RC3

2007-09-19 Thread ant elder
Note also that most of the artifacts are now uploaded to
http://people.apache.org/~antelder/tuscany/1.0-RC3a/

   ...ant

On 9/19/07, ant elder <[EMAIL PROTECTED]> wrote:
>
> This RC3a is looking good to me, i've built it, the distros from that,
> then built that src distro, run a few samples including webapp ones, built
> some webapp samples with the Ant scripts. It all seems to work. Anyone else
> say yes or no soon or shall i just call a vote on it?
>
>...ant
>
> On 9/19/07, ant elder <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> > On 9/19/07, Simon Laws < [EMAIL PROTECTED]> wrote:
> > >
> > > On 9/19/07, kelvin goodson <[EMAIL PROTECTED]> wrote:
> > > >
> > > > That's where mine now fails too.
> > > >
> > > > On 19/09/2007, Simon Laws < [EMAIL PROTECTED]> wrote:
> > > > > On 9/19/07, ant elder <[EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > > On 9/19/07, Simon Laws < [EMAIL PROTECTED]> wrote:
> > > > > > >
> > > > > > > On 9/19/07, kelvin goodson < [EMAIL PROTECTED]> wrote:
> > > > > > > >
> > > > > > > > If I remove the xquery-quotes reference in the samples pom
> > > and try
> > > > to
> > > > > > > > build further i eventually get to the "Tuscany SCA
> > > Axis2-based WS
> > > > > > > > Binding Extension" project where I see ...
> > > > > > > > ===
> > > > > > > > Downloading:
> > > > > > > >
> > > > > > >
> > > > > >
> > > >
> > > http://ws.zones.apache.org/repository//org.apache.woden/jars/woden-1.0-incubating-M7b.jar
> > > > > > > > Downloading:
> > > > > > > >
> > > > > > >
> > > > > >
> > > >
> > > http://people.apache.org/repo/m2-incubating-repository/org/apache/woden/woden/1.0-incubating-M7b/woden-1.0-
> > > > > > > > incubating-M7b.jar
> > > > > > > > Downloading:
> > > > > > > >
> > > > > > >
> > > > > >
> > > > http://www.ibiblio.net/pub/packages/maven2/org/apache/woden/woden/1.0-incubating-M7b/woden-1.0-incubating-M
> > >
> > > > > > > > 7b.jar
> > > > > > > > [INFO]
> > > > > > > >
> > > > > >
> > > >
> > > 
> > > > > > > > [ERROR] BUILD ERROR
> > > > > > > > [INFO]
> > > > > > > >
> > > > > >
> > > >
> > > 
> > > > > > > > [INFO] Failed to resolve artifact.
> > > > > > > >
> > > > > > > > Missing:
> > > > > > > > --
> > > > > > > > 1) org.apache.woden:woden:jar:1.0-incubating-M7b
> > > > > > > >
> > > > > > > >   Try downloading the file manually from the project
> > > website.
> > > > > > > >
> > > > > > > >   Then, install it using the command:
> > > > > > > >   mvn install:install-file -DgroupId=
> > > > > > > org.apache.woden-DartifactId=woden \
> > > > > > > >   -Dversion=1.0-incubating-M7b -Dpackaging=jar
> > > > > > > > -Dfile=/path/to/file
> > > > > > > > Alternatively, if you host your own repository you can
> > > deploy the
> > > > file
> > > > > > > > there:   mvn deploy:deploy-file -DgroupId=org
> > > > > > > > .apache.woden -DartifactId=woden \
> > > > > > > >   -Dversion=1.0-incubating-M7b -Dpackaging=jar
> > > > > > > > -Dfile=/path/to/file \
> > > > > > > >-Durl=[url] -DrepositoryId=[id]
> > > > > > > >
> > > > > > > >   Path to dependency:
> > > > > > > > 1)
> > > > > > > >
> > > org.apache.tuscany.sca:tuscany-binding-ws-axis2:jar:1.0-incubating
> > > > > > > > 2) org.apache.woden:woden:jar:1.0-incubating-M7b
> > > > > > > >
> > > > > > > > --
> > > > > > > > 1 required artifact is missing.
> > > > > > > >
> > > > > > > > for artifact:
> > > > > > > >
> > > > org.apache.tuscany.sca:tuscany-binding-ws-axis2:jar:1.0-incubating
> > > > > > > >
> > > > > > > > from the specified remote repositories:
> > > > > > > >   apache.incubator (
> > > > > > > http://people.apache.org/repo/m2-incubating-repository
> > > > > > > > ),
> > > > > > > >   central ( http://repo1.maven.org/maven2),
> > > > > > > >   apache.snapshots (
> > > > > > http://people.apache.org/repo/m2-snapshot-repository
> > > > > > > ),
> > > > > > > >   apache.ws (http://ws.zones.apache.org/repository/)
> > > > > > > >
> > > > > > > > 
> > > > > > > >
> > > > > > > > On 19/09/2007, kelvin goodson <[EMAIL PROTECTED]>
> > > wrote:
> > > > > > > > > The source distro now has a reference to quote-xquery in
> > > the top
> > > > > > level
> > > > > > > > > pom,  but the sample code is not included in the distro.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > C:\Release\SCA\1.0\RC3\src\tuscany- sca-1.0-incubating-src
> > > >mvn
> > > > clean
> > > > > > > > > [INFO] Scanning for projects...
> > > > > > > > > [INFO]
> > > > > > > >
> > > > > >
> > > >
> > > 
> > > > > > > > > [ERROR] FATAL ERROR
> > > > > > > > > [INFO]
> > > > > > > >
> > > > > >
> > > >
> > > 
> > > > > > > > > [INFO] Error building POM (may n

Re: [VOTE] Release Tuscany Java SCA 1.0 RC3

2007-09-19 Thread kelvin goodson
I have now done a clean build on RC3a from the referenced svn tag.

Kelvin.


On 19/09/2007, ant elder <[EMAIL PROTECTED]> wrote:
> This RC3a is looking good to me, i've built it, the distros from that, then
> built that src distro, run a few samples including webapp ones, built some
> webapp samples with the Ant scripts. It all seems to work. Anyone else say
> yes or no soon or shall i just call a vote on it?
>
>...ant
>
> On 9/19/07, ant elder <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> > On 9/19/07, Simon Laws <[EMAIL PROTECTED]> wrote:
> > >
> > > On 9/19/07, kelvin goodson <[EMAIL PROTECTED]> wrote:
> > > >
> > > > That's where mine now fails too.
> > > >
> > > > On 19/09/2007, Simon Laws < [EMAIL PROTECTED]> wrote:
> > > > > On 9/19/07, ant elder <[EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > > On 9/19/07, Simon Laws < [EMAIL PROTECTED]> wrote:
> > > > > > >
> > > > > > > On 9/19/07, kelvin goodson <[EMAIL PROTECTED]> wrote:
> > > > > > > >
> > > > > > > > If I remove the xquery-quotes reference in the samples pom and
> > > try
> > > > to
> > > > > > > > build further i eventually get to the "Tuscany SCA Axis2-based
> > > WS
> > > > > > > > Binding Extension" project where I see ...
> > > > > > > > ===
> > > > > > > > Downloading:
> > > > > > > >
> > > > > > >
> > > > > >
> > > >
> > > http://ws.zones.apache.org/repository//org.apache.woden/jars/woden-1.0-incubating-M7b.jar
> > > > > > > > Downloading:
> > > > > > > >
> > > > > > >
> > > > > >
> > > >
> > > http://people.apache.org/repo/m2-incubating-repository/org/apache/woden/woden/1.0-incubating-M7b/woden-1.0-
> > > > > > > > incubating-M7b.jar
> > > > > > > > Downloading:
> > > > > > > >
> > > > > > >
> > > > > >
> > > > http://www.ibiblio.net/pub/packages/maven2/org/apache/woden/woden/1.0-incubating-M7b/woden-1.0-incubating-M
> > >
> > > > > > > > 7b.jar
> > > > > > > > [INFO]
> > > > > > > >
> > > > > >
> > > >
> > > 
> > > > > > > > [ERROR] BUILD ERROR
> > > > > > > > [INFO]
> > > > > > > >
> > > > > >
> > > >
> > > 
> > > > > > > > [INFO] Failed to resolve artifact.
> > > > > > > >
> > > > > > > > Missing:
> > > > > > > > --
> > > > > > > > 1) org.apache.woden:woden:jar:1.0-incubating-M7b
> > > > > > > >
> > > > > > > >   Try downloading the file manually from the project website.
> > > > > > > >
> > > > > > > >   Then, install it using the command:
> > > > > > > >   mvn install:install-file -DgroupId=
> > > > > > > org.apache.woden-DartifactId=woden \
> > > > > > > >   -Dversion=1.0-incubating-M7b -Dpackaging=jar
> > > > > > > > -Dfile=/path/to/file
> > > > > > > > Alternatively, if you host your own repository you can deploy
> > > the
> > > > file
> > > > > > > > there:   mvn deploy:deploy-file -DgroupId=org
> > > > > > > > .apache.woden -DartifactId=woden \
> > > > > > > >   -Dversion=1.0-incubating-M7b -Dpackaging=jar
> > > > > > > > -Dfile=/path/to/file \
> > > > > > > >-Durl=[url] -DrepositoryId=[id]
> > > > > > > >
> > > > > > > >   Path to dependency:
> > > > > > > > 1)
> > > > > > > >
> > > org.apache.tuscany.sca:tuscany-binding-ws-axis2:jar:1.0-incubating
> > > > > > > > 2) org.apache.woden:woden:jar:1.0-incubating-M7b
> > > > > > > >
> > > > > > > > --
> > > > > > > > 1 required artifact is missing.
> > > > > > > >
> > > > > > > > for artifact:
> > > > > > > >
> > > > org.apache.tuscany.sca:tuscany-binding-ws-axis2:jar:1.0-incubating
> > > > > > > >
> > > > > > > > from the specified remote repositories:
> > > > > > > >   apache.incubator (
> > > > > > > http://people.apache.org/repo/m2-incubating-repository
> > > > > > > > ),
> > > > > > > >   central (http://repo1.maven.org/maven2),
> > > > > > > >   apache.snapshots (
> > > > > > http://people.apache.org/repo/m2-snapshot-repository
> > > > > > > ),
> > > > > > > >   apache.ws (http://ws.zones.apache.org/repository/)
> > > > > > > >
> > > > > > > > 
> > > > > > > >
> > > > > > > > On 19/09/2007, kelvin goodson <[EMAIL PROTECTED]> wrote:
> > > > > > > > > The source distro now has a reference to quote-xquery in the
> > > top
> > > > > > level
> > > > > > > > > pom,  but the sample code is not included in the distro.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > C:\Release\SCA\1.0\RC3\src\tuscany- sca-1.0-incubating-src
> > > >mvn
> > > > clean
> > > > > > > > > [INFO] Scanning for projects...
> > > > > > > > > [INFO]
> > > > > > > >
> > > > > >
> > > >
> > > 
> > > > > > > > > [ERROR] FATAL ERROR
> > > > > > > > > [INFO]
> > > > > > > >
> > > > > >
> > > >
> > > 
> > > > > > > > > [INFO] Error building POM (may not be this project's POM).
> > > > > > > > >
> > > > > > >

[jira] Created: (TUSCANY-1763) module\nodeimpl test case fails with nullp when running with mvn 2.04 top down

2007-09-19 Thread haleh mahbod (JIRA)
module\nodeimpl test case fails with nullp when running with mvn 2.04 top down 
---

 Key: TUSCANY-1763
 URL: https://issues.apache.org/jira/browse/TUSCANY-1763
 Project: Tuscany
  Issue Type: Bug
  Components: Java SCA Integration Tests
Affects Versions: Java-SCA-1.0
 Environment: mvn 2.04, windows xp
Reporter: haleh mahbod
Priority: Minor
 Fix For: Java-SCA-1.0


I consistently see this when using mvn 2.04. I am going to upgrade to 2.05.  I 
think this is a minor problem since everyone is using mvn 2.05 or later and 
build in the directory works. 

Here is what I did
a) deleted my old repo
b) got the latest code for RC3 as pointed out by Ant
c) mvn clean install and I get the error pointed out below.
d) I go to the directory in error and do mvn and it works.

---
 T E S T S
---
Running org.apache.tuscany.sca.node.impl.InMemoryTestCase
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.04 sec <<< FAI
LURE!
org.apache.tuscany.sca.node.impl.InMemoryTestCase.testCalculator()  Time elapsed
: 0.01 sec  <<< FAILURE!
java.lang.NullPointerException
at org.apache.tuscany.sca.node.impl.InMemoryTestCase.testCalculator(InMe
moryTestCase.java:92)


Results :
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0

[INFO] 
[ERROR] BUILD FAILURE
[INFO] 
[INFO] There are test failures.
[INFO] 
[INFO] Trace
org.apache.maven.BuildFailureException: There are test failures.
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:555)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
fecycle(DefaultLifecycleExecutor.java:475)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:454)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:306)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:273)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:140)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures
.
at org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugi
n.java:403)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:412)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:534)
... 16 more
[INFO] 
[INFO] Total time: 26 minutes 19 seconds
[INFO] Finished at: Wed Sep 19 11:11:57 PDT 2007
[INFO] Final Memory: 47M/63M
[INFO] 

C:\tuscany-new\sca-1.0\1.0-RC3a>

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


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



[jira] Created: (TUSCANY-1762) Intermittent failure of sample/implementation-composite build

2007-09-19 Thread Simon Laws (JIRA)
Intermittent failure of sample/implementation-composite build
-

 Key: TUSCANY-1762
 URL: https://issues.apache.org/jira/browse/TUSCANY-1762
 Project: Tuscany
  Issue Type: Bug
  Components: Java SCA Core Runtime
Affects Versions: Java-SCA-1.0
 Environment: All
Reporter: Simon Laws
 Fix For: Java-SCA-1.0


Sometimes I see
---
Running composite.CompositeTestCase
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.296 sec <<< 
FAILURE!
test(composite.CompositeTestCase)  Time elapsed: 1.203 sec  <<< ERROR!
org.osoa.sca.ServiceRuntimeException: org.osoa.sca.ServiceRuntimeException: 
org.apache.tuscany.sca.contribution.service.ContributionResolveE
xception: java.lang.ClassNotFoundException: 
org.apache.tuscany.sca.node.impl.NodeManagerServiceImpl
   at 
org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:264)
   at org.apache.tuscany.sca.host.embedded.SCADomain.newInstance 
(SCADomain.java:58)

Intermittently.

Looking at this output it seems that the test is trying to load the 
node.composite from the node module and failing as it doesn't have the classes 
that that composite requires. It should actually be loading the composites 
under implementation-composite/src/main.resources.

It's using the following to create the domain...

scaDomain = SCADomain.newInstance();

Which basically means it's going looking for

sca-contribution.xml, sca-contribution-generated.xml (not sure this is the 
exact name) or deployables/ on the classpath

In some circumstances it's finding the node version and in others it's finding 
the module version. I don't know what makes it do one or the other.

The fix is the remove META-INF/sca-contribution from 
modules/node/src/main/resources. 

This is also the workround.


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


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



Re: [VOTE] Release Tuscany Java SCA 1.0 RC3

2007-09-19 Thread Jean-Sebastien Delfino

Venkata Krishnan wrote:

Hi... is anybody seeing this with the build... the branch and the tag seems
to give me this 

Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.03 sec <<<
FAILURE!
testTransform(org.apache.tuscany.sca.databinding.sdo.DataObject2NodeTestCase)
Time elapsed: 0.02 sec  <<< ERROR!
org.apache.tuscany.sca.databinding.TransformationException:
java.lang.NullPointerException
at org.apache.tuscany.sca.databinding.sdo.Node2DataObject.transform(
Node2DataObject.java:47)
at
org.apache.tuscany.sca.databinding.sdo.DataObject2NodeTestCase.testTransform
(DataObject2NodeTestCase.java
53)

- Venkat

  


Can you please open a JIRA with enough information to describe the 
issue: revision of the branch, which tag? environment and maven version? 
some description of the steps you've followed including whether or not 
you deleted your maven repos before building? and if you found a 
workaround for the issue?


Thanks.

--
Jean-Sebastien


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



Re: [VOTE] Release Tuscany Java SCA 1.0 RC3

2007-09-19 Thread Venkata Krishnan
Hi... is anybody seeing this with the build... the branch and the tag seems
to give me this 

Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.03 sec <<<
FAILURE!
testTransform(org.apache.tuscany.sca.databinding.sdo.DataObject2NodeTestCase)
Time elapsed: 0.02 sec  <<< ERROR!
org.apache.tuscany.sca.databinding.TransformationException:
java.lang.NullPointerException
at org.apache.tuscany.sca.databinding.sdo.Node2DataObject.transform(
Node2DataObject.java:47)
at
org.apache.tuscany.sca.databinding.sdo.DataObject2NodeTestCase.testTransform
(DataObject2NodeTestCase.java
53)

- Venkat

On 9/19/07, Simon Laws <[EMAIL PROTECTED]> wrote:
>
> On 9/19/07, Simon Laws <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> > On 9/19/07, ant elder <[EMAIL PROTECTED]> wrote:
> > >
> > > This RC3a is looking good to me, i've built it, the distros from that,
> > > then
> > > built that src distro, run a few samples including webapp ones, built
> > > some
> > > webapp samples with the Ant scripts. It all seems to work. Anyone else
> > > say
> > > yes or no soon or shall i just call a vote on it?
> > >
> > >...ant
> > >
> > > On 9/19/07, ant elder <[EMAIL PROTECTED]> wrote:
> > > >
> > > >
> > > >
> > > > On 9/19/07, Simon Laws < [EMAIL PROTECTED]> wrote:
> > > > >
> > > > > On 9/19/07, kelvin goodson <[EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > > That's where mine now fails too.
> > > > > >
> > > > > > On 19/09/2007, Simon Laws < [EMAIL PROTECTED]> wrote:
> > > > > > > On 9/19/07, ant elder <[EMAIL PROTECTED]> wrote:
> > > > > > > >
> > > > > > > > On 9/19/07, Simon Laws < [EMAIL PROTECTED]> wrote:
> > > > > > > > >
> > > > > > > > > On 9/19/07, kelvin goodson <[EMAIL PROTECTED]>
> wrote:
> > > > > > > > > >
> > > > > > > > > > If I remove the xquery-quotes reference in the samples
> pom
> > > and
> > > > > try
> > > > > > to
> > > > > > > > > > build further i eventually get to the "Tuscany SCA
> > > Axis2-based
> > > > > WS
> > > > > > > > > > Binding Extension" project where I see ...
> > > > > > > > > > ===
> > > > > > > > > > Downloading:
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > >
> > > > >
> http://ws.zones.apache.org/repository//org.apache.woden/jars/woden-1.0-incubating-M7b.jar
> > >
> > > > > > > > > > Downloading:
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > >
> > > > >
> > >
> http://people.apache.org/repo/m2-incubating-repository/org/apache/woden/woden/1.0-incubating-M7b/woden-1.0-
> > > > > > > > > > incubating-M7b.jar
> > > > > > > > > > Downloading:
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > >
> > >
> http://www.ibiblio.net/pub/packages/maven2/org/apache/woden/woden/1.0-incubating-M7b/woden-1.0-incubating-M
> > > > >
> > > > > > > > > > 7b.jar
> > > > > > > > > > [INFO]
> > > > > > > > > >
> > > > > > > >
> > > > > >
> > > > >
> > >
> 
> > > > > > > > > > [ERROR] BUILD ERROR
> > > > > > > > > > [INFO]
> > > > > > > > > >
> > > > > > > >
> > > > > >
> > > > >
> > >
> 
> > > > > > > > > > [INFO] Failed to resolve artifact.
> > > > > > > > > >
> > > > > > > > > > Missing:
> > > > > > > > > > --
> > > > > > > > > > 1) org.apache.woden:woden:jar:1.0-incubating-M7b
> > > > > > > > > >
> > > > > > > > > >   Try downloading the file manually from the project
> > > website.
> > > > > > > > > >
> > > > > > > > > >   Then, install it using the command:
> > > > > > > > > >   mvn install:install-file -DgroupId=
> > > > > > > > > org.apache.woden-DartifactId=woden \
> > > > > > > > > >   -Dversion=1.0-incubating-M7b -Dpackaging=jar
> > > > > > > > > > -Dfile=/path/to/file
> > > > > > > > > > Alternatively, if you host your own repository you can
> > > deploy
> > > > > the
> > > > > > file
> > > > > > > > > > there:   mvn deploy:deploy-file -DgroupId=org
> > > > > > > > > > .apache.woden -DartifactId=woden \
> > > > > > > > > >   -Dversion=1.0-incubating-M7b -Dpackaging=jar
> > > > > > > > > > -Dfile=/path/to/file \
> > > > > > > > > >-Durl=[url] -DrepositoryId=[id]
> > > > > > > > > >
> > > > > > > > > >   Path to dependency:
> > > > > > > > > > 1)
> > > > > > > > > >
> > > > > org.apache.tuscany.sca:tuscany-binding-ws-axis2:jar:1.0-incubating
> > > > > > > > > > 2) org.apache.woden:woden:jar:1.0-incubating-M7b
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > 1 required artifact is missing.
> > > > > > > > > >
> > > > > > > > > > for artifact:
> > > > > > > > > >
> > > > > >
> org.apache.tuscany.sca:tuscany-binding-ws-axis2:jar:1.0-incubating
> > > > > > > > > >
> > > > > > > > > > from the specified remote repositories:
> > > > > > > > > >   apache.incubator (
> > > > > > > > > http://people.apache.org/repo/m2-incubating-repository
> > > > > > > > > > ),
> > > > > > > > > >   central ( http

[jira] Assigned: (TUSCANY-1756) Using EmbeddedSCADomain to deploy two contribution error

2007-09-19 Thread Luciano Resende (JIRA)

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

Luciano Resende reassigned TUSCANY-1756:


Assignee: Luciano Resende

> Using EmbeddedSCADomain to deploy two contribution error
> 
>
> Key: TUSCANY-1756
> URL: https://issues.apache.org/jira/browse/TUSCANY-1756
> Project: Tuscany
>  Issue Type: Bug
>  Components: Java SCA Assembly Model
>Affects Versions: Java-SCA-1.0
> Environment: jdk 1.5.01,winxp
>Reporter: wangfeng
>Assignee: Luciano Resende
> Fix For: Java-SCA-1.0
>
> Attachments: patch.diff, testcase.zip
>
>
> I use EmbeddedSCADomain to deploy two contribution,one contribution 
> ready(build,activate,start) ,after that deploy the other contribution,get an 
> exception as below:
> java.lang.IllegalStateException: Scope must be in UNINITIALIZED or STOPPED 
> state [4]
>   at 
> org.apache.tuscany.sca.core.scope.AbstractScopeContainer.start(AbstractScopeContainer.java:118)
>   at 
> org.apache.tuscany.sca.core.assembly.CompositeActivatorImpl.start(CompositeActivatorImpl.java:489)
>   at 
> org.apache.tuscany.sca.core.assembly.CompositeActivatorImpl.start(CompositeActivatorImpl.java:427)
>   at 
> org.apache.tuscany.sca.core.assembly.CompositeActivatorImpl.start(CompositeActivatorImpl.java:478)
>   at 
> org.apache.tuscany.sca.core.assembly.CompositeActivatorImpl.start(CompositeActivatorImpl.java:427)
>   at test.ContributionTestCase.setUp(ContributionTestCase.java:79)
>   at junit.framework.TestCase.runBare(TestCase.java:128)
>   at junit.framework.TestResult$1.protect(TestResult.java:110)
>   at junit.framework.TestResult.runProtected(TestResult.java:128)
>   at junit.framework.TestResult.run(TestResult.java:113)
>   at junit.framework.TestCase.run(TestCase.java:120)
>   at junit.framework.TestSuite.runTest(TestSuite.java:228)
>   at junit.framework.TestSuite.run(TestSuite.java:223)
>   at 
> org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:128)
>   at 
> org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
>   at 
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
>   at 
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
>   at 
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
>   at 
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
>   
> and also when the scopeContainer stop,get an similar exception too.
> java.lang.IllegalStateException: Scope in wrong state [6]
>   at 
> org.apache.tuscany.sca.core.scope.AbstractScopeContainer.stop(AbstractScopeContainer.java:136)
>   at 
> org.apache.tuscany.sca.core.assembly.CompositeActivatorImpl.stop(CompositeActivatorImpl.java:552)
>   at 
> org.apache.tuscany.sca.core.assembly.CompositeActivatorImpl.stop(CompositeActivatorImpl.java:436)
>   at test.ContributionTestCase.tearDown(ContributionTestCase.java:106)
>   at junit.framework.TestCase.runBare(TestCase.java:136)
>   at junit.framework.TestResult$1.protect(TestResult.java:110)
>   at junit.framework.TestResult.runProtected(TestResult.java:128)
>   at junit.framework.TestResult.run(TestResult.java:113)
>   at junit.framework.TestCase.run(TestCase.java:120)
>   at junit.framework.TestSuite.runTest(TestSuite.java:228)
>   at junit.framework.TestSuite.run(TestSuite.java:223)
>   at 
> org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:128)
>   at 
> org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
>   at 
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
>   at 
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
>   at 
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
>   at 
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
> my java snippet:
> ClassLoader cl = getClass().getClassLoader();
> EmbeddedSCADomain domain = new EmbeddedSCADomain(cl, "http://localhost";);
> domain.start();
> ContributionService contributionService = domain.getContributionService();
> Contribution helloContribution = 
> contributionService.contribute("http://import-export/export-composite";, 
> helloContribution_URL, false);
> for (Composite deployable : helloContribution.getDeployables()) {
> domain.getDomainComposite().getIncludes().add(deployable);
> domain.getCompositeBuilder().build(deployable);
> }
> for (Composite deploy

Re: [VOTE] Release Tuscany Java SCA 1.0 RC3

2007-09-19 Thread Simon Laws
On 9/19/07, Simon Laws <[EMAIL PROTECTED]> wrote:
>
>
>
> On 9/19/07, ant elder <[EMAIL PROTECTED]> wrote:
> >
> > This RC3a is looking good to me, i've built it, the distros from that,
> > then
> > built that src distro, run a few samples including webapp ones, built
> > some
> > webapp samples with the Ant scripts. It all seems to work. Anyone else
> > say
> > yes or no soon or shall i just call a vote on it?
> >
> >...ant
> >
> > On 9/19/07, ant elder <[EMAIL PROTECTED]> wrote:
> > >
> > >
> > >
> > > On 9/19/07, Simon Laws < [EMAIL PROTECTED]> wrote:
> > > >
> > > > On 9/19/07, kelvin goodson <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > That's where mine now fails too.
> > > > >
> > > > > On 19/09/2007, Simon Laws < [EMAIL PROTECTED]> wrote:
> > > > > > On 9/19/07, ant elder <[EMAIL PROTECTED]> wrote:
> > > > > > >
> > > > > > > On 9/19/07, Simon Laws < [EMAIL PROTECTED]> wrote:
> > > > > > > >
> > > > > > > > On 9/19/07, kelvin goodson <[EMAIL PROTECTED]> wrote:
> > > > > > > > >
> > > > > > > > > If I remove the xquery-quotes reference in the samples pom
> > and
> > > > try
> > > > > to
> > > > > > > > > build further i eventually get to the "Tuscany SCA
> > Axis2-based
> > > > WS
> > > > > > > > > Binding Extension" project where I see ...
> > > > > > > > > ===
> > > > > > > > > Downloading:
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > >
> > > > http://ws.zones.apache.org/repository//org.apache.woden/jars/woden-1.0-incubating-M7b.jar
> >
> > > > > > > > > Downloading:
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > >
> > > >
> > http://people.apache.org/repo/m2-incubating-repository/org/apache/woden/woden/1.0-incubating-M7b/woden-1.0-
> > > > > > > > > incubating-M7b.jar
> > > > > > > > > Downloading:
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > >
> > http://www.ibiblio.net/pub/packages/maven2/org/apache/woden/woden/1.0-incubating-M7b/woden-1.0-incubating-M
> > > >
> > > > > > > > > 7b.jar
> > > > > > > > > [INFO]
> > > > > > > > >
> > > > > > >
> > > > >
> > > >
> > 
> > > > > > > > > [ERROR] BUILD ERROR
> > > > > > > > > [INFO]
> > > > > > > > >
> > > > > > >
> > > > >
> > > >
> > 
> > > > > > > > > [INFO] Failed to resolve artifact.
> > > > > > > > >
> > > > > > > > > Missing:
> > > > > > > > > --
> > > > > > > > > 1) org.apache.woden:woden:jar:1.0-incubating-M7b
> > > > > > > > >
> > > > > > > > >   Try downloading the file manually from the project
> > website.
> > > > > > > > >
> > > > > > > > >   Then, install it using the command:
> > > > > > > > >   mvn install:install-file -DgroupId=
> > > > > > > > org.apache.woden-DartifactId=woden \
> > > > > > > > >   -Dversion=1.0-incubating-M7b -Dpackaging=jar
> > > > > > > > > -Dfile=/path/to/file
> > > > > > > > > Alternatively, if you host your own repository you can
> > deploy
> > > > the
> > > > > file
> > > > > > > > > there:   mvn deploy:deploy-file -DgroupId=org
> > > > > > > > > .apache.woden -DartifactId=woden \
> > > > > > > > >   -Dversion=1.0-incubating-M7b -Dpackaging=jar
> > > > > > > > > -Dfile=/path/to/file \
> > > > > > > > >-Durl=[url] -DrepositoryId=[id]
> > > > > > > > >
> > > > > > > > >   Path to dependency:
> > > > > > > > > 1)
> > > > > > > > >
> > > > org.apache.tuscany.sca:tuscany-binding-ws-axis2:jar:1.0-incubating
> > > > > > > > > 2) org.apache.woden:woden:jar:1.0-incubating-M7b
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > 1 required artifact is missing.
> > > > > > > > >
> > > > > > > > > for artifact:
> > > > > > > > >
> > > > > org.apache.tuscany.sca:tuscany-binding-ws-axis2:jar:1.0-incubating
> > > > > > > > >
> > > > > > > > > from the specified remote repositories:
> > > > > > > > >   apache.incubator (
> > > > > > > > http://people.apache.org/repo/m2-incubating-repository
> > > > > > > > > ),
> > > > > > > > >   central ( http://repo1.maven.org/maven2),
> > > > > > > > >   apache.snapshots (
> > > > > > > http://people.apache.org/repo/m2-snapshot-repository
> > > > > > > > ),
> > > > > > > > >   apache.ws ( http://ws.zones.apache.org/repository/)
> > > > > > > > >
> > > > > > > > > 
> > > > > > > > >
> > > > > > > > > On 19/09/2007, kelvin goodson < [EMAIL PROTECTED]>
> > wrote:
> > > > > > > > > > The source distro now has a reference to quote-xquery in
> > the
> > > > top
> > > > > > > level
> > > > > > > > > > pom,  but the sample code is not included in the distro.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > C:\Release\SCA\1.0\RC3\src\tuscany-
> > sca-1.0-incubating-src
> > > > >mvn
> > > > > clean
> > > > > > > > > > [INFO] Scanning for projects...
> > > > > > > > > > [INFO]
> > > > > > > > >
> > > > > > >
> > > > >
> > > >
> > 

Re: binding-notification-broker sample does not work in RC1b or RC1a..

2007-09-19 Thread ant elder
Latest tag is RC3a -
https://svn.apache.org/repos/asf/incubator/tuscany/tags/java/sca/1.0-RC3a/

   ...ant

On 9/19/07, Ignacio Silva-Lepe <[EMAIL PROTECTED]> wrote:
>
> Apologies for the delay, I have been traveling Sunday, Monday and
> yesterday, so let me know if this is not an issue any more.
> In any case, I am getting a build error with rcb1, in the ws axis2
> binding (see below). I am also getting this error with the trunk and
> an update to r577300. Is anyone else seeing this? (I am starting
> off with an empty maven repo)
>
>
> [INFO]
> 
> [ERROR] BUILD ERROR
> [INFO]
> 
> [INFO] Failed to resolve artifact.
>
> Missing:
> --
> 1) org.apache.woden:woden:jar:1.0-incubating-M7b
>
>   Try downloading the file manually from the project website.
>
>   Then, install it using the command:
>   mvn install:install-file -DgroupId=org.apache.woden-DartifactId=woden
> \
>   -Dversion=1.0-incubating-M7b -Dpackaging=jar
> -Dfile=/path/to/file
>
>   Path to dependency:
> 1)
> org.apache.tuscany.sca:tuscany-binding-ws-axis2:jar:1.0-incubating
> 2) org.apache.woden:woden:jar:1.0-incubating-M7b
>
> --
> 1 required artifact is missing.
>
> for artifact:
>   org.apache.tuscany.sca:tuscany-binding-ws-axis2:jar:1.0-incubating
>
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2),
>   apache.incubator (http://people.apache.org/repo/m2-incubating-repository
> ),
>   apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
>   apache.ws (http://ws.zones.apache.org/repository/)
>
>
>
> On 9/17/07, haleh mahbod <[EMAIL PROTECTED]> wrote:
> >
> > could you please try it with rc1b?
> >
> >
> > On 9/17/07, Ignacio Silva-Lepe <[EMAIL PROTECTED]> wrote:
> > >
> > > This is interesting, it runs for me out of the trunk. I have not
> updated
> > > today though. I notice that set TUSCANY_Bin_DISTRO has mixed
> > > upper case and lower case, but other than that I can't see a
> difference
> > > with what I am typing ...
> > >
> > >
> > > On 9/17/07, haleh mahbod <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Hi,
> > > >
> > > > Can someone else give this a try? I cannot get this running.  I am
> > > > getting:
> > > >
> > > > C:\tuscany-new\sca-dist\tuscany-
> > > > sca-1.0-incubating\samples\binding-notification-
> > > > broker>set TUSCANY_Bin_DISTRO=c:\tuscany-new\sca-dist\tuscany-
> > > > sca-1.0-incubating
> > > >
> > > >
> > > > C:\tuscany-new\sca-dist\tuscany-
> > > > sca-1.0-incubating\samples\binding-notification-
> > > > broker>set
> > > >
> TUSCANY_SCA_MANIFEST_JAR=%TUSCANY_BIN_DISTRO%\lib\tuscany-sca-manifes
> > > > t.jar
> > > >
> > > > C:\tuscany-new\sca-dist\tuscany-
> > > > sca-1.0-incubating\samples\binding-notification-
> > > > broker>java -Dnotification.httpPort=8080 -cp
> > > > "target\sample-binding-notification
> > > > -broker-1.0-incubating-SNAPSHOT.jar;%TUSCANY_SCA_MANIFEST_JAR%"
> > > > notification.bro
> > > > ker.TrafficAdvisoryServer
> > > > Exception in thread "main" java.lang.NoClassDefFoundError:
> > > > notification/broker/T
> > > > rafficAdvisoryServer
> > > >
> > > > Should this be out of binary distribution if noone can run it?
> > > >
> > > > Haleh
> > > >
> > >
> >
>


Re: websphere web service deployment problem

2007-09-19 Thread Jean-Sebastien Delfino

Radim Kolarik wrote:

Hi Simon,

unfortunatelly I am seeing the same problem on WAS 6.1.0.9.

Sebastien, do you still have the WAS environment? Could you try to
deploy RC3 based example web service on it?

Thanks a lot,
Radim

  


It works for me.

I need more precise information to be able to help.

- which web service based sample? helloworld? calculator? built 
yourself? using mvn or ant?
- the steps you are following to install and run the sample and the 
exact output you are getting when you run it
- whether or not you have configured the WAR classloader "parent last" 
and "single classloader"
- whether or not you have configured the custom Web container property 
as described in the WebSphere fixpack at [1]

- the time of the error
- your SystemOut.log and SystemError.log files
- the FFDC files created in yout logs directory at the time of the error

Could you please put that information in a JIRA. I'm watching the JIRA 
notifications so I'll get notified when you do so, and will investigate 
quickly. Thanks.


[1] http://www-1.ibm.com/support/docview.wss?uid=swg24014758

Thanks.

--
Jean-Sebastien


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



Re: [VOTE] Release Tuscany Java SCA 1.0 RC3

2007-09-19 Thread Luciano Resende
I'm in the middle of building RC3a from a clean repo. It's taking
forever, but so far so good. I'll give more updates when I finish.

On 9/19/07, ant elder <[EMAIL PROTECTED]> wrote:
> This RC3a is looking good to me, i've built it, the distros from that, then
> built that src distro, run a few samples including webapp ones, built some
> webapp samples with the Ant scripts. It all seems to work. Anyone else say
> yes or no soon or shall i just call a vote on it?
>
>...ant
>
> On 9/19/07, ant elder <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> > On 9/19/07, Simon Laws <[EMAIL PROTECTED]> wrote:
> > >
> > > On 9/19/07, kelvin goodson <[EMAIL PROTECTED]> wrote:
> > > >
> > > > That's where mine now fails too.
> > > >
> > > > On 19/09/2007, Simon Laws < [EMAIL PROTECTED]> wrote:
> > > > > On 9/19/07, ant elder <[EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > > On 9/19/07, Simon Laws < [EMAIL PROTECTED]> wrote:
> > > > > > >
> > > > > > > On 9/19/07, kelvin goodson <[EMAIL PROTECTED]> wrote:
> > > > > > > >
> > > > > > > > If I remove the xquery-quotes reference in the samples pom and
> > > try
> > > > to
> > > > > > > > build further i eventually get to the "Tuscany SCA Axis2-based
> > > WS
> > > > > > > > Binding Extension" project where I see ...
> > > > > > > > ===
> > > > > > > > Downloading:
> > > > > > > >
> > > > > > >
> > > > > >
> > > >
> > > http://ws.zones.apache.org/repository//org.apache.woden/jars/woden-1.0-incubating-M7b.jar
> > > > > > > > Downloading:
> > > > > > > >
> > > > > > >
> > > > > >
> > > >
> > > http://people.apache.org/repo/m2-incubating-repository/org/apache/woden/woden/1.0-incubating-M7b/woden-1.0-
> > > > > > > > incubating-M7b.jar
> > > > > > > > Downloading:
> > > > > > > >
> > > > > > >
> > > > > >
> > > > http://www.ibiblio.net/pub/packages/maven2/org/apache/woden/woden/1.0-incubating-M7b/woden-1.0-incubating-M
> > >
> > > > > > > > 7b.jar
> > > > > > > > [INFO]
> > > > > > > >
> > > > > >
> > > >
> > > 
> > > > > > > > [ERROR] BUILD ERROR
> > > > > > > > [INFO]
> > > > > > > >
> > > > > >
> > > >
> > > 
> > > > > > > > [INFO] Failed to resolve artifact.
> > > > > > > >
> > > > > > > > Missing:
> > > > > > > > --
> > > > > > > > 1) org.apache.woden:woden:jar:1.0-incubating-M7b
> > > > > > > >
> > > > > > > >   Try downloading the file manually from the project website.
> > > > > > > >
> > > > > > > >   Then, install it using the command:
> > > > > > > >   mvn install:install-file -DgroupId=
> > > > > > > org.apache.woden-DartifactId=woden \
> > > > > > > >   -Dversion=1.0-incubating-M7b -Dpackaging=jar
> > > > > > > > -Dfile=/path/to/file
> > > > > > > > Alternatively, if you host your own repository you can deploy
> > > the
> > > > file
> > > > > > > > there:   mvn deploy:deploy-file -DgroupId=org
> > > > > > > > .apache.woden -DartifactId=woden \
> > > > > > > >   -Dversion=1.0-incubating-M7b -Dpackaging=jar
> > > > > > > > -Dfile=/path/to/file \
> > > > > > > >-Durl=[url] -DrepositoryId=[id]
> > > > > > > >
> > > > > > > >   Path to dependency:
> > > > > > > > 1)
> > > > > > > >
> > > org.apache.tuscany.sca:tuscany-binding-ws-axis2:jar:1.0-incubating
> > > > > > > > 2) org.apache.woden:woden:jar:1.0-incubating-M7b
> > > > > > > >
> > > > > > > > --
> > > > > > > > 1 required artifact is missing.
> > > > > > > >
> > > > > > > > for artifact:
> > > > > > > >
> > > > org.apache.tuscany.sca:tuscany-binding-ws-axis2:jar:1.0-incubating
> > > > > > > >
> > > > > > > > from the specified remote repositories:
> > > > > > > >   apache.incubator (
> > > > > > > http://people.apache.org/repo/m2-incubating-repository
> > > > > > > > ),
> > > > > > > >   central (http://repo1.maven.org/maven2),
> > > > > > > >   apache.snapshots (
> > > > > > http://people.apache.org/repo/m2-snapshot-repository
> > > > > > > ),
> > > > > > > >   apache.ws (http://ws.zones.apache.org/repository/)
> > > > > > > >
> > > > > > > > 
> > > > > > > >
> > > > > > > > On 19/09/2007, kelvin goodson <[EMAIL PROTECTED]> wrote:
> > > > > > > > > The source distro now has a reference to quote-xquery in the
> > > top
> > > > > > level
> > > > > > > > > pom,  but the sample code is not included in the distro.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > C:\Release\SCA\1.0\RC3\src\tuscany- sca-1.0-incubating-src
> > > >mvn
> > > > clean
> > > > > > > > > [INFO] Scanning for projects...
> > > > > > > > > [INFO]
> > > > > > > >
> > > > > >
> > > >
> > > 
> > > > > > > > > [ERROR] FATAL ERROR
> > > > > > > > > [INFO]
> > > > > > > >
> > > > > >
> > > >
> > > 
> > > > > > > > > [INFO] Error building POM (may not be

Re: [VOTE] Release Tuscany Java SCA 1.0-incubating

2007-09-19 Thread Ignacio Silva-Lepe
Hi Raymond,

Apologies for the delay, I have been traveling Sunday, Monday and
yesterday. I saw that you take care of this with r576985, thanks a
lot. Let me know if there are any other issues.

Thanks

On 9/18/07, Raymond Feng <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Yes, that's the culprit. I just had a brief look at
> NotificationBindingModuleActivator and it's doing a lot of things in the
> start() such as the following:
>
> try {
> localHost = InetAddress.getLocalHost().getCanonicalHostName();
> } catch(Exception e) {
> e.printStackTrace();
> localHost = "localhost";
> }
>
> Ignaciao, can you help here?
>
> Thanks,
> Raymond
>
> - Original Message -
> From: "Simon Laws" <[EMAIL PROTECTED]>
> To: ; <[EMAIL PROTECTED]>
> Sent: Tuesday, September 18, 2007 6:53 AM
> Subject: Re: [VOTE] Release Tuscany Java SCA 1.0-incubating
>
>
> > On 9/18/07, Simon Laws <[EMAIL PROTECTED]> wrote:
> >>
> >>
> >>
> >> On 9/18/07, kelvin goodson <[EMAIL PROTECTED]> wrote:
> >> >
> >> > I'm now seeing a couple of issues with the samples.  One is that I
> >> > have to run "ant compile" before "ant run" in all cases I have tried
> >> > so far.  The other is that I now see samples such as "calculator"
> >> > executing and completing,  but taking 18 seconds to complete rather
> >> > than the 4 I reported yesterday.
> >> >
> >> > Kelvin.
> >> >
> >> > On 18/09/2007, ant elder <[EMAIL PROTECTED]> wrote:
> >> > > Please review and vote on the 1.0 release artifacts of Tuscany SCA
> >> > > for
> >> > Java.
> >> > >
> >> > > The SVN tag for the release is:
> >> > >
> >> >
> https://svn.apache.org/repos/asf/incubator/tuscany/tags/java/sca/1.0-RC2/
> >> > >
> >> > > The artifacts are available for review at:
> >> > > http://people.apache.org/~antelder/tuscany/1.0-RC2/
> >> > 
> >> > >
> >> > > This includes the signed binary and source distributions, the RAT
> >> > reports,
> >> > > and
> >> > > the Maven staging repository.
> >> > >
> >> > > Many thanks,
> >> > >
> >> > >...ant
> >> > >
> >> > > (Note, the artifacts are still uploading so if it looks like
> >> > something's
> >> > > missing please just wait a bit,
> >> > >  You can use the tag to verify things in the meantime)
> >> > >
> >> >
> >> > -
> >> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> > For additional commands, e-mail: [EMAIL PROTECTED]
> >> >
> >> > Yes, I've just run the calculator sample and it's taking 18 seconds
> >> again.
> >>
> >> Simon
> >>
> > This would seem to be the delay this time...
> >
> > FINE:
> >
> org.apache.tuscany.sca.binding.notification.NotificationBindingModuleActivatoris
> > started in 11359 ms.
> >
> > everything else comes  up in a few 10s of ms. Don't know why yet.
> >
> > Simon
> >
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: [VOTE] Release Tuscany Java SCA 1.0 RC3

2007-09-19 Thread Simon Laws
On 9/19/07, ant elder <[EMAIL PROTECTED]> wrote:
>
> This RC3a is looking good to me, i've built it, the distros from that,
> then
> built that src distro, run a few samples including webapp ones, built some
> webapp samples with the Ant scripts. It all seems to work. Anyone else say
> yes or no soon or shall i just call a vote on it?
>
>...ant
>
> On 9/19/07, ant elder <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> > On 9/19/07, Simon Laws <[EMAIL PROTECTED]> wrote:
> > >
> > > On 9/19/07, kelvin goodson <[EMAIL PROTECTED]> wrote:
> > > >
> > > > That's where mine now fails too.
> > > >
> > > > On 19/09/2007, Simon Laws < [EMAIL PROTECTED]> wrote:
> > > > > On 9/19/07, ant elder <[EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > > On 9/19/07, Simon Laws < [EMAIL PROTECTED]> wrote:
> > > > > > >
> > > > > > > On 9/19/07, kelvin goodson <[EMAIL PROTECTED]> wrote:
> > > > > > > >
> > > > > > > > If I remove the xquery-quotes reference in the samples pom
> and
> > > try
> > > > to
> > > > > > > > build further i eventually get to the "Tuscany SCA
> Axis2-based
> > > WS
> > > > > > > > Binding Extension" project where I see ...
> > > > > > > > ===
> > > > > > > > Downloading:
> > > > > > > >
> > > > > > >
> > > > > >
> > > >
> > >
> http://ws.zones.apache.org/repository//org.apache.woden/jars/woden-1.0-incubating-M7b.jar
> > > > > > > > Downloading:
> > > > > > > >
> > > > > > >
> > > > > >
> > > >
> > >
> http://people.apache.org/repo/m2-incubating-repository/org/apache/woden/woden/1.0-incubating-M7b/woden-1.0-
> > > > > > > > incubating-M7b.jar
> > > > > > > > Downloading:
> > > > > > > >
> > > > > > >
> > > > > >
> > > >
> http://www.ibiblio.net/pub/packages/maven2/org/apache/woden/woden/1.0-incubating-M7b/woden-1.0-incubating-M
> > >
> > > > > > > > 7b.jar
> > > > > > > > [INFO]
> > > > > > > >
> > > > > >
> > > >
> > >
> 
> > > > > > > > [ERROR] BUILD ERROR
> > > > > > > > [INFO]
> > > > > > > >
> > > > > >
> > > >
> > >
> 
> > > > > > > > [INFO] Failed to resolve artifact.
> > > > > > > >
> > > > > > > > Missing:
> > > > > > > > --
> > > > > > > > 1) org.apache.woden:woden:jar:1.0-incubating-M7b
> > > > > > > >
> > > > > > > >   Try downloading the file manually from the project
> website.
> > > > > > > >
> > > > > > > >   Then, install it using the command:
> > > > > > > >   mvn install:install-file -DgroupId=
> > > > > > > org.apache.woden-DartifactId=woden \
> > > > > > > >   -Dversion=1.0-incubating-M7b -Dpackaging=jar
> > > > > > > > -Dfile=/path/to/file
> > > > > > > > Alternatively, if you host your own repository you can
> deploy
> > > the
> > > > file
> > > > > > > > there:   mvn deploy:deploy-file -DgroupId=org
> > > > > > > > .apache.woden -DartifactId=woden \
> > > > > > > >   -Dversion=1.0-incubating-M7b -Dpackaging=jar
> > > > > > > > -Dfile=/path/to/file \
> > > > > > > >-Durl=[url] -DrepositoryId=[id]
> > > > > > > >
> > > > > > > >   Path to dependency:
> > > > > > > > 1)
> > > > > > > >
> > > org.apache.tuscany.sca:tuscany-binding-ws-axis2:jar:1.0-incubating
> > > > > > > > 2) org.apache.woden:woden:jar:1.0-incubating-M7b
> > > > > > > >
> > > > > > > > --
> > > > > > > > 1 required artifact is missing.
> > > > > > > >
> > > > > > > > for artifact:
> > > > > > > >
> > > > org.apache.tuscany.sca:tuscany-binding-ws-axis2:jar:1.0-incubating
> > > > > > > >
> > > > > > > > from the specified remote repositories:
> > > > > > > >   apache.incubator (
> > > > > > > http://people.apache.org/repo/m2-incubating-repository
> > > > > > > > ),
> > > > > > > >   central (http://repo1.maven.org/maven2),
> > > > > > > >   apache.snapshots (
> > > > > > http://people.apache.org/repo/m2-snapshot-repository
> > > > > > > ),
> > > > > > > >   apache.ws (http://ws.zones.apache.org/repository/)
> > > > > > > >
> > > > > > > > 
> > > > > > > >
> > > > > > > > On 19/09/2007, kelvin goodson <[EMAIL PROTECTED]>
> wrote:
> > > > > > > > > The source distro now has a reference to quote-xquery in
> the
> > > top
> > > > > > level
> > > > > > > > > pom,  but the sample code is not included in the distro.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > C:\Release\SCA\1.0\RC3\src\tuscany- sca-1.0-incubating-src
> > > >mvn
> > > > clean
> > > > > > > > > [INFO] Scanning for projects...
> > > > > > > > > [INFO]
> > > > > > > >
> > > > > >
> > > >
> > >
> 
> > > > > > > > > [ERROR] FATAL ERROR
> > > > > > > > > [INFO]
> > > > > > > >
> > > > > >
> > > >
> > >
> 
> > > > > > > > > [INFO] Error building POM (may not be this project's POM).
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Project ID: unknown
> > > > 

Re: binding-notification-broker sample does not work in RC1b or RC1a..

2007-09-19 Thread Ignacio Silva-Lepe
Apologies for the delay, I have been traveling Sunday, Monday and
yesterday, so let me know if this is not an issue any more.
In any case, I am getting a build error with rcb1, in the ws axis2
binding (see below). I am also getting this error with the trunk and
an update to r577300. Is anyone else seeing this? (I am starting
off with an empty maven repo)


[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Failed to resolve artifact.

Missing:
--
1) org.apache.woden:woden:jar:1.0-incubating-M7b

  Try downloading the file manually from the project website.

  Then, install it using the command:
  mvn install:install-file -DgroupId=org.apache.woden -DartifactId=woden
\
  -Dversion=1.0-incubating-M7b -Dpackaging=jar -Dfile=/path/to/file

  Path to dependency:
1)
org.apache.tuscany.sca:tuscany-binding-ws-axis2:jar:1.0-incubating
2) org.apache.woden:woden:jar:1.0-incubating-M7b

--
1 required artifact is missing.

for artifact:
  org.apache.tuscany.sca:tuscany-binding-ws-axis2:jar:1.0-incubating

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  apache.incubator (http://people.apache.org/repo/m2-incubating-repository),
  apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
  apache.ws (http://ws.zones.apache.org/repository/)



On 9/17/07, haleh mahbod <[EMAIL PROTECTED]> wrote:
>
> could you please try it with rc1b?
>
>
> On 9/17/07, Ignacio Silva-Lepe <[EMAIL PROTECTED]> wrote:
> >
> > This is interesting, it runs for me out of the trunk. I have not updated
> > today though. I notice that set TUSCANY_Bin_DISTRO has mixed
> > upper case and lower case, but other than that I can't see a difference
> > with what I am typing ...
> >
> >
> > On 9/17/07, haleh mahbod <[EMAIL PROTECTED]> wrote:
> > >
> > > Hi,
> > >
> > > Can someone else give this a try? I cannot get this running.  I am
> > > getting:
> > >
> > > C:\tuscany-new\sca-dist\tuscany-
> > > sca-1.0-incubating\samples\binding-notification-
> > > broker>set TUSCANY_Bin_DISTRO=c:\tuscany-new\sca-dist\tuscany-
> > > sca-1.0-incubating
> > >
> > >
> > > C:\tuscany-new\sca-dist\tuscany-
> > > sca-1.0-incubating\samples\binding-notification-
> > > broker>set
> > > TUSCANY_SCA_MANIFEST_JAR=%TUSCANY_BIN_DISTRO%\lib\tuscany-sca-manifes
> > > t.jar
> > >
> > > C:\tuscany-new\sca-dist\tuscany-
> > > sca-1.0-incubating\samples\binding-notification-
> > > broker>java -Dnotification.httpPort=8080 -cp
> > > "target\sample-binding-notification
> > > -broker-1.0-incubating-SNAPSHOT.jar;%TUSCANY_SCA_MANIFEST_JAR%"
> > > notification.bro
> > > ker.TrafficAdvisoryServer
> > > Exception in thread "main" java.lang.NoClassDefFoundError:
> > > notification/broker/T
> > > rafficAdvisoryServer
> > >
> > > Should this be out of binary distribution if noone can run it?
> > >
> > > Haleh
> > >
> >
>


[jira] Commented: (TUSCANY-1758) Web Service binding throws org.apache.axis2.AxisFault when referencing a Web Service created on Axis2 v1.3

2007-09-19 Thread Simon Nash (JIRA)

[ 
https://issues.apache.org/jira/browse/TUSCANY-1758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12528835
 ] 

Simon Nash commented on TUSCANY-1758:
-

I have recreated this problem using the code in this JIRA.  It appears that 
Axis2 requires WS-Addressing headers if the addressing module is engaged in 
axis2.xml.  The WSDL is supposed to indicate that WS-Addressing headers are 
required by including a wsaw:UsingAddressing element with wsdl:required="true" 
attribute, but Axis2 is not putting this in its WSDL.

If you comment out the line
   
in axis2.xml, then Tuscany can invoke the Axis2 service.  This is a temporary 
workaround until we can work out what the correct protocol is for this case.


> Web Service binding throws org.apache.axis2.AxisFault when referencing a Web 
> Service created on Axis2 v1.3
> --
>
> Key: TUSCANY-1758
> URL: https://issues.apache.org/jira/browse/TUSCANY-1758
> Project: Tuscany
>  Issue Type: Bug
>  Components: Java SCA Axis Binding Extension
>Affects Versions: Java-SCA-0.99, Java-SCA-1.0, Java-SCA-Next
> Environment: axis2 1.3, windows xp sp2, JDK 1.5
>Reporter: Bin Wang
> Attachments: HelloWorldService.zip, ws binding with axis2.zip
>
>
> The composite file is below:
> http://www.osoa.org/xmlns/sca/1.0";
>   targetNamespace="http://helloworld";
> xmlns:hw="http://helloworld";
>   name="helloworldwsclient">
> 
> 
>   
> 
> 
>  promote="HelloWorldServiceComponent/helloWorldService">
> 
>  uri="http://localhost:8080/axis2/services/HelloWorldService"/>
> 
> 
> The result of run is:
> Injected helloWorldService
> Called getGreetings
> Exception in thread "main" java.lang.reflect.UndeclaredThrowableException
>   at $Proxy5.getGreetings(Unknown Source)
>   at 
> helloworld.HelloWorldServiceComponent.getGreetings(HelloWorldServiceComponent.java:30)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>   at java.lang.reflect.Method.invoke(Unknown Source)
>   at 
> org.apache.tuscany.sca.implementation.java.invocation.JavaImplementationInvoker.invoke(JavaImplementationInvoker.java:105)
>   at 
> org.apache.tuscany.sca.core.databinding.wire.PassByValueInteceptor.invoke(PassByValueInteceptor.java:49)
>   at 
> org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:233)
>   at 
> org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:130)
>   at $Proxy5.getGreetings(Unknown Source)
>   at helloworld.HelloWorldClient.main(HelloWorldClient.java:33)
> Caused by: org.apache.axis2.AxisFault: A required header representing a 
> Message Addressing Property is not present
>   at 
> org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:486)
>   at 
> org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:343)
>   at 
> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:389)
>   at 
> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211)
>   at 
> org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
>   at 
> org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invokeTarget(Axis2BindingInvoker.java:102)
>   at 
> org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invoke(Axis2BindingInvoker.java:77)
>   at 
> org.apache.tuscany.sca.core.databinding.wire.DataTransformationInteceptor.invoke(DataTransformationInteceptor.java:73)
>   at 
> org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:233)
>   at 
> org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:130)
>   ... 12 more

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


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



Re: [VOTE] Release Tuscany Java SCA 1.0 RC3

2007-09-19 Thread ant elder
This RC3a is looking good to me, i've built it, the distros from that, then
built that src distro, run a few samples including webapp ones, built some
webapp samples with the Ant scripts. It all seems to work. Anyone else say
yes or no soon or shall i just call a vote on it?

   ...ant

On 9/19/07, ant elder <[EMAIL PROTECTED]> wrote:
>
>
>
> On 9/19/07, Simon Laws <[EMAIL PROTECTED]> wrote:
> >
> > On 9/19/07, kelvin goodson <[EMAIL PROTECTED]> wrote:
> > >
> > > That's where mine now fails too.
> > >
> > > On 19/09/2007, Simon Laws < [EMAIL PROTECTED]> wrote:
> > > > On 9/19/07, ant elder <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > On 9/19/07, Simon Laws < [EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > > On 9/19/07, kelvin goodson <[EMAIL PROTECTED]> wrote:
> > > > > > >
> > > > > > > If I remove the xquery-quotes reference in the samples pom and
> > try
> > > to
> > > > > > > build further i eventually get to the "Tuscany SCA Axis2-based
> > WS
> > > > > > > Binding Extension" project where I see ...
> > > > > > > ===
> > > > > > > Downloading:
> > > > > > >
> > > > > >
> > > > >
> > >
> > http://ws.zones.apache.org/repository//org.apache.woden/jars/woden-1.0-incubating-M7b.jar
> > > > > > > Downloading:
> > > > > > >
> > > > > >
> > > > >
> > >
> > http://people.apache.org/repo/m2-incubating-repository/org/apache/woden/woden/1.0-incubating-M7b/woden-1.0-
> > > > > > > incubating-M7b.jar
> > > > > > > Downloading:
> > > > > > >
> > > > > >
> > > > >
> > > http://www.ibiblio.net/pub/packages/maven2/org/apache/woden/woden/1.0-incubating-M7b/woden-1.0-incubating-M
> >
> > > > > > > 7b.jar
> > > > > > > [INFO]
> > > > > > >
> > > > >
> > >
> > 
> > > > > > > [ERROR] BUILD ERROR
> > > > > > > [INFO]
> > > > > > >
> > > > >
> > >
> > 
> > > > > > > [INFO] Failed to resolve artifact.
> > > > > > >
> > > > > > > Missing:
> > > > > > > --
> > > > > > > 1) org.apache.woden:woden:jar:1.0-incubating-M7b
> > > > > > >
> > > > > > >   Try downloading the file manually from the project website.
> > > > > > >
> > > > > > >   Then, install it using the command:
> > > > > > >   mvn install:install-file -DgroupId=
> > > > > > org.apache.woden-DartifactId=woden \
> > > > > > >   -Dversion=1.0-incubating-M7b -Dpackaging=jar
> > > > > > > -Dfile=/path/to/file
> > > > > > > Alternatively, if you host your own repository you can deploy
> > the
> > > file
> > > > > > > there:   mvn deploy:deploy-file -DgroupId=org
> > > > > > > .apache.woden -DartifactId=woden \
> > > > > > >   -Dversion=1.0-incubating-M7b -Dpackaging=jar
> > > > > > > -Dfile=/path/to/file \
> > > > > > >-Durl=[url] -DrepositoryId=[id]
> > > > > > >
> > > > > > >   Path to dependency:
> > > > > > > 1)
> > > > > > >
> > org.apache.tuscany.sca:tuscany-binding-ws-axis2:jar:1.0-incubating
> > > > > > > 2) org.apache.woden:woden:jar:1.0-incubating-M7b
> > > > > > >
> > > > > > > --
> > > > > > > 1 required artifact is missing.
> > > > > > >
> > > > > > > for artifact:
> > > > > > >
> > > org.apache.tuscany.sca:tuscany-binding-ws-axis2:jar:1.0-incubating
> > > > > > >
> > > > > > > from the specified remote repositories:
> > > > > > >   apache.incubator (
> > > > > > http://people.apache.org/repo/m2-incubating-repository
> > > > > > > ),
> > > > > > >   central (http://repo1.maven.org/maven2),
> > > > > > >   apache.snapshots (
> > > > > http://people.apache.org/repo/m2-snapshot-repository
> > > > > > ),
> > > > > > >   apache.ws (http://ws.zones.apache.org/repository/)
> > > > > > >
> > > > > > > 
> > > > > > >
> > > > > > > On 19/09/2007, kelvin goodson <[EMAIL PROTECTED]> wrote:
> > > > > > > > The source distro now has a reference to quote-xquery in the
> > top
> > > > > level
> > > > > > > > pom,  but the sample code is not included in the distro.
> > > > > > > >
> > > > > > > >
> > > > > > > > C:\Release\SCA\1.0\RC3\src\tuscany- sca-1.0-incubating-src
> > >mvn
> > > clean
> > > > > > > > [INFO] Scanning for projects...
> > > > > > > > [INFO]
> > > > > > >
> > > > >
> > >
> > 
> > > > > > > > [ERROR] FATAL ERROR
> > > > > > > > [INFO]
> > > > > > >
> > > > >
> > >
> > 
> > > > > > > > [INFO] Error building POM (may not be this project's POM).
> > > > > > > >
> > > > > > > >
> > > > > > > > Project ID: unknown
> > > > > > > >
> > > > > > > > Reason: Could not find the model file
> > > > > > > > 'C:\Release\SCA\1.0\RC3\src\tuscany-
> > > > > > > sca-1.0-incubating-src\samples\quote-xquery\po
> > > > > > > > m.xml'. for project unknown
> > > > > > > >
> > > > > > > >
> > > > > > > > [INFO]
> > > > > > >
> > > > >
> > >
> > --

Re: websphere web service deployment problem

2007-09-19 Thread Radim Kolarik
Hi Simon,

unfortunatelly I am seeing the same problem on WAS 6.1.0.9.

Sebastien, do you still have the WAS environment? Could you try to
deploy RC3 based example web service on it?

Thanks a lot,
Radim

On 9/19/07, Radim Kolarik <[EMAIL PROTECTED]> wrote:
> Hi Simon,
>
> thanks for your reply. We will test it now with 6.1.0.9 and I will let
> you know the result of that.
>
> Thanks,
> Radim
>
> On 9/19/07, Simon Nash <[EMAIL PROTECTED]> wrote:
> > As it's night time in California, I'll answer this question.
> > Sebastien told me that he had tested on 6.1.0.9.  Can you use that
> > level instead of 6.1.0.11?
> >
> >   Simon
> >
> > Radim Kolarik wrote:
> >
> > > Hi Sebastien,
> > >
> > > I am having problems making the app work on Websphere 6.1.0.11. Did
> > > you try that particular fixpack, or did you try 6.1.0.9?
> > >
> > > In the 6.1.0.11 WAS the service is not being picked up at all, nothing
> > > at all is logged to the log file if I try to access the service URL. I
> > > tried it with the release candidate RC3.
> > >
> > > Thanks,
> > > Radim
> > >
> > >
> > > On 9/14/07, Jean-Sebastien Delfino <[EMAIL PROTECTED]> wrote:
> > >
> > >>Jean-Sebastien Delfino wrote:
> > >>
> > >>>Jean-Sebastien Delfino wrote:
> > >>>
> > Radim Kolarik wrote:
> > 
> > >Hi Sebastian,
> > >
> > >I received the latest code from ant and I can confirm that the service
> > >generates the WSDL file now. The  element doesn't even
> > >need uri attribute, it works without any attributes!
> > >
> > >However, there is still some problem, the generated WSDL contains
> > >
> > >Error 404: SRVE0190E: File not found: /ComponentName
> > >
> > >at it's end, right after the . I have created a
> > >JIRA for this: https://issues.apache.org/jira/browse/TUSCANY-1702.
> > >
> > >Are you seeing the same problem?
> > >
> > >Best regards,
> > >Radim
> > >
> > >
> > 
> > I just checked and am seeing this issue too (I had just not noticed
> > that additional line at the end of the WSDL). However, the Web
> > Service binding actually works for me on both references and services
> > so if you manage to workaround that additional line at the end of the
> > generated WSDL it should work for you too.
> > 
> > I think it's another of these small behavior differences. On
> > WebSphere we probably need to force a close of the response
> > outputStream before returning from the servlet filter. I'm
> > experimenting with that right now and will give an update soon...
> > 
> > >>>
> > >>>Radim, after a fun debugging session and some digging around here's an
> > >>>update:
> > >>>
> > >>>- The issue you're seeing is the same as [1].
> > >>>
> > >>>- This is a WebSphere 6.1 bug, a fix is available at [2].
> > >>>
> > >>>I'm going to try some of the workarounds suggested in [1] and see if
> > >>>they work for Tuscany. It would be good if you could also try the
> > >>>WebSphere fix [2] as well if possible.
> > >>>
> > >>>[1] https://issues.apache.org/struts/browse/WW-1839
> > >>>[2] http://www-1.ibm.com/support/docview.wss?uid=swg24014758
> > >>>
> > >>>Hope this helps.
> > >>>
> > >>
> > >>Radim,
> > >>
> > >>It doesn't look like I can workaround this WebSphere bug in the Tuscany
> > >>code. Your best bet is to install the fix at [2].
> > >>
> > >>Could you please let us know the results after you do that? Thanks.
> > >>
> > >>--
> > >>Jean-Sebastien
> > >>
> > >>
> > >>-
> > >>To unsubscribe, e-mail: [EMAIL PROTECTED]
> > >>For additional commands, e-mail: [EMAIL PROTECTED]
> > >>
> > >>
> > >
> > >
> >
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>

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



[jira] Created: (TUSCANY-1761) tuscany-maven-wsdl2java or wsdl2java doesn't define a plugin repo for java.net

2007-09-19 Thread Raymond Feng (JIRA)
tuscany-maven-wsdl2java or wsdl2java doesn't define a plugin repo for java.net
--

 Key: TUSCANY-1761
 URL: https://issues.apache.org/jira/browse/TUSCANY-1761
 Project: Tuscany
  Issue Type: Bug
  Components: Java SCA Tools
Affects Versions: Java-SCA-1.0
Reporter: Raymond Feng
 Fix For: Java-SCA-Next


I see this from a top-down build. The tuscany-wsdl2java module defines the 
java.net repo as a runtime repo but not a plugin repo. In this case, the 
reference is from a plugin and it will fail.

[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] Failed to resolve artifact.

Missing:
--
1) com.sun.xml.bind:jaxb-xjc:jar:2.1.4

  Try downloading the file manually from the project website.

  Then, install it using the command:
  mvn install:install-file -DgroupId=com.sun.xml.bind -DartifactId=jaxb-xjc
\
  -Dversion=2.1.4 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=com.sun.xml.bind -DartifactId=jaxb-xjc \
  -Dversion=2.1.4 -Dpackaging=jar -Dfile=/path/to/file \
   -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
1) org.apache.tuscany.sca:tuscany-maven-wsdl2java:maven-plugin:1.0-incub
ating
2) org.apache.tuscany.sca:tuscany-wsdl2java:jar:1.0-incubating
3) com.sun.xml.bind:jaxb-xjc:jar:2.1.4

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


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



[jira] Resolved: (TUSCANY-1759) quote-xquery code missing from RC3 source distro

2007-09-19 Thread Kelvin Goodson (JIRA)

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

Kelvin Goodson resolved TUSCANY-1759.
-

Resolution: Fixed

fixed in http://svn.apache.org/viewvc?rev=577237&view=rev

> quote-xquery code missing from RC3 source distro
> 
>
> Key: TUSCANY-1759
> URL: https://issues.apache.org/jira/browse/TUSCANY-1759
> Project: Tuscany
>  Issue Type: Bug
>Affects Versions: Java-SCA-1.0
> Environment: windows and 
> http://people.apache.org/~antelder/tuscany/1.0-RC3/apache-tuscany-sca-1.0-incubating-src.zip
>Reporter: Kelvin Goodson
>Assignee: Kelvin Goodson
> Fix For: Java-SCA-1.0
>
>
> C:\Release\SCA\1.0\RC3\src\tuscany-sca-1.0-incubating-src>mvn
> [INFO] Scanning for projects...
> [INFO] 
> 
> [ERROR] FATAL ERROR
> [INFO] 
> 
> [INFO] Error building POM (may not be this project's POM).
> Project ID: unknown
> Reason: Could not find the model file 
> 'C:\Release\SCA\1.0\RC3\src\tuscany-sca-1.0-incubating-src\samples\quote-xquery\po
> m.xml'. for project unknown
> [INFO] 
> 
> [INFO] Trace
> org.apache.maven.reactor.MavenExecutionException: Could not find the model 
> file 'C:\Release\SCA\1.0\RC3\src\tuscany-sca-
> 1.0-incubating-src\samples\quote-xquery\pom.xml'. for project unknown
> at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:378)

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


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



Please create JIRA issues for problems with RC3a, was: [VOTE] Release Tuscany Java SCA 1.0 RC3

2007-09-19 Thread Jean-Sebastien Delfino

ant elder wrote:

And now there's an RC3a tag for this current state:
https://svn.apache.org/repos/asf/incubator/tuscany/tags/java/sca/1.0-RC3a

Could people check it out and build the distro's locally to see if its
looking ok?

   ...ant

  


Could people please create JIRA issues for any problems they found? 
It'll help everybody get a clear status of RC3a.


- "Maven is slow" or "a Maven repos cannot be reached" or "Download of a 
dependency fails" is not a TUSCANY JIRA. If you run into this kind of 
issue please try again, or find other means to get the JAR dependencies.


- Could you please create the JIRA issue in the correct release 
category. IMO non-blocking issues (meaning, a simple workaround for the 
issue can be described) do not need to be addressed in the SCA 1.0 at 
this point.


Thanks.

--
Jean-Sebastien


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



[jira] Resolved: (TUSCANY-1760) User Doc for implementation.osgi

2007-09-19 Thread Luciano Resende (JIRA)

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

Luciano Resende resolved TUSCANY-1760.
--

   Resolution: Fixed
Fix Version/s: Java-SCA-1.0
 Assignee: Luciano Resende

Documentation applied to Tuscany website wiki

> User Doc for implementation.osgi
> 
>
> Key: TUSCANY-1760
> URL: https://issues.apache.org/jira/browse/TUSCANY-1760
> Project: Tuscany
>  Issue Type: Bug
>  Components: Website
>Reporter: Rajini Sivaram
>Assignee: Luciano Resende
>Priority: Trivial
> Fix For: Java-SCA-1.0
>
>
> I have added documentation for implementation.osgi at
> 
> http://cwiki.apache.org/confluence/display/TUSCANYWIKI/SCA+Java+implementation.osgi
> Please include it in the extension documentation in the Wiki.
> Thank you.

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


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



Re: [VOTE] Release Tuscany Java SCA 1.0 RC3

2007-09-19 Thread haleh mahbod
I am getting NULLP on the following test case when doing mvn clean install
(remember that I use mvn 2.04). Any idea where the problem might be? I'm
going to run mvn with -e next.

testCReference(
org.apache.tuscany.sca.itest.callableref.CallableReferenceRemoteT
estCase)  Time elapsed: 0 sec  <<< ERROR!
java.lang.NullPointerException
at
org.apache.tuscany.sca.itest.callableref.CallableReferenceRemoteTestC
ase.testCReference(CallableReferenceRemoteTestCase.java:96)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.junit.internal.runners.TestMethodRunner.executeMethodBody
(TestMet
hodRunner.java:99)
at org.junit.internal.runners.TestMethodRunner.runUnprotected
(TestMethod
Runner.java:81)
at org.junit.internal.runners.BeforeAndAfterRunner.runProtected
(BeforeAn
dAfterRunner.java:34)
at org.junit.internal.runners.TestMethodRunner.runMethod
(TestMethodRunne
r.java:75)
at org.junit.internal.runners.TestMethodRunner.run(
TestMethodRunner.java
:45)
at
org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(Te
stClassMethodsRunner.java:75)
at org.junit.internal.runners.TestClassMethodsRunner.run
(TestClassMethod
sRunner.java:36)
at org.junit.internal.runners.TestClassRunner$1.runUnprotected
(TestClass
Runner.java:42)
at org.junit.internal.runners.BeforeAndAfterRunner.runProtected
(BeforeAn
dAfterRunner.java:34)
at org.junit.internal.runners.TestClassRunner.run(
TestClassRunner.java:5
2)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute
(JUnit4TestSet.
java:62)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTes
tSet(AbstractDirectoryTestSuite.java:138)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(Ab
stractDirectoryTestSuite.java:125)
at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Su
refireBooter.java:290)
at org.apache.maven.surefire.booter.SurefireBooter.main(
SurefireBooter.j
ava:818)

testCServiceReference(
org.apache.tuscany.sca.itest.callableref.CallableReference
RemoteTestCase)  Time elapsed: 0 sec  <<< ERROR!
java.lang.NullPointerException
at
org.apache.tuscany.sca.itest.callableref.CallableReferenceRemoteTestC
ase.testCServiceReference(CallableReferenceRemoteTestCase.java:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.junit.internal.runners.TestMethodRunner.executeMethodBody
(TestMet
hodRunner.java:99)
at org.junit.internal.runners.TestMethodRunner.runUnprotected
(TestMethod
Runner.java:81)
at org.junit.internal.runners.BeforeAndAfterRunner.runProtected
(BeforeAn
dAfterRunner.java:34)
at org.junit.internal.runners.TestMethodRunner.runMethod
(TestMethodRunne
r.java:75)
at org.junit.internal.runners.TestMethodRunner.run(
TestMethodRunner.java
:45)
at
org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(Te
stClassMethodsRunner.java:75)
at org.junit.internal.runners.TestClassMethodsRunner.run
(TestClassMethod
sRunner.java:36)
at org.junit.internal.runners.TestClassRunner$1.runUnprotected
(TestClass
Runner.java:42)
at org.junit.internal.runners.BeforeAndAfterRunner.runProtected
(BeforeAn
dAfterRunner.java:34)
at org.junit.internal.runners.TestClassRunner.run(
TestClassRunner.java:5
2)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute
(JUnit4TestSet.
java:62)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTes
tSet(AbstractDirectoryTestSuite.java:138)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(Ab
stractDirectoryTestSuite.java:125)
at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Metho

[jira] Reopened: (TUSCANY-1142) Need to allow generation of wrapped Java intf from doc-lit-wrap WSDL with named complexType

2007-09-19 Thread Scott Kurz (JIRA)

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

Scott Kurz reopened TUSCANY-1142:
-


I haven't tested the very latest code but by inspection and trying a recent 
build, I'd say this is unresolved.

If you take this WSDL as an example:
sca/modules/wsdl2java/src/test/resources/AccountService.wsdl

Here is an example

The operation:


with input wrapper elem:


should be generated in the wrapped style.  Today I believe non-wrapped Java is 
still being generated.

--

One point that Yang and I missed in our original comments on this JIRA is that 
we need to make sure we do NOT 
try to generate wrapped Java when the input element is of a single type. We 
might add that as check #5 in Yang's suggest
list then:

5) make sure element is of complexType   (or go further and say complexType 
defined by )

The current code does not have this problem and correctly detects this as 
non-wrapped, for example operation:  getAccountReportBare1Simple
in the same WSDL.

Just mentioning this since I had missed this case in my original writeup, which 
Tuscany is already handling correclty.   Don't want to lose this.


> Need to allow generation of wrapped Java intf from doc-lit-wrap WSDL with 
> named complexType 
> 
>
> Key: TUSCANY-1142
> URL: https://issues.apache.org/jira/browse/TUSCANY-1142
> Project: Tuscany
>  Issue Type: Bug
>  Components: Java SCA Tools
>Affects Versions: Java-SCA-M2
>Reporter: Scott Kurz
> Fix For: Java-SCA-1.0
>
>
> Our WSDL2Java tool maps the following WSDL pattern onto a non-wrapped Java 
> interface even when using doc-lit-wrapped WSDL:
> ...
> 
> 
>   
> 
>   
> 
> 
> ...
> 
> I noticed that wsimport seems to unwrap this and produce:
>   getGreetings(String)
> whereas our WSDL2Java treats this as non-wrapped and generates:
>   getGreetings(getGreetings)
> The key line of Tuscany code is:
> org.apache.tuscany.tools.wsdl2java.generate.JavaInterfaceEmitter.isWrapped()
>  if (typeMappingEntry.isAnonymous()) {
> wrapped = true;
> }   
> As I claim in this JIRA, TUSCANY-1019, it would be nice to ALSO have the 
> ability to generate a non-wrapped Java interface from the given WSDL pattern, 
> but we should also allow for generation of a wrapped interface (the wrapped 
> by my guess should be the default).
> Yang Zhong posted this reply in agreement to the Tuscany dev list.
> Once binding is involved within WSDL2Java, one WSDL portType/message can end
> up with multiple Java classes respective to different bindings.
> It mixes business logic and wire format :-(
> Assuming involving binding is de facto, and only one binding each WSDL
> portType/message,
> maybe we can change JavaInterfaceEmitter.isWrapped to an algorithm such as:
> 1. not wrapped if the style is not document or the use is not literal
> 2. not wrapped if the message has more than one parts
> 3. not wrapped if the part isn't element or its local name doesn't match the
> operation local name
> 4. not wrapped if the operation name isn't unique within the portType
> Yes, I agree with Scott not to take isAnonymous() into account.

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


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



Re: Please help update user doc with info on available extensions

2007-09-19 Thread Luciano Resende
I have also added documentation for implementation.osgi [1]

https://issues.apache.org/jira/browse/TUSCANY-1760

On 9/18/07, Luciano Resende <[EMAIL PROTECTED]> wrote:
> I have updated initial contents about implementation.bpel
>
> On 9/18/07, haleh mahbod <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > Many extensions have been added to SCA Java since the user guide [1] was
> > created. I have created the template for the new extensions that are
> > missing. Would you please help fill in the information?
> >
> > To do this, please go to the user doc [1] and click on available extensions
> > and then click on the extension that you'd like to provide information for.
> > This will take you to the page that you can add text.  For an example,
> > please refer to the available documentation which is pretty good thanks to
> > whoever did this.
> >
> > Here is the list that needs attention:
> > implementation.bpel
> > implementation.spring
> > implementation.xquery
> > implementation.resource
> >
> > binding.ejb
> > binding.rss
> > binding.atom
> >
> > Thank you,
> > Haleh
> >
> > [1]:
> > http://cwiki.apache.org/confluence/display/TUSCANY/SCA+Java+User+Guide#SCAJavaUserGuide-AvailableExtensions
> >
>
>
> --
> 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: [VOTE] Release Tuscany Java SCA 1.0 RC3

2007-09-19 Thread kelvin goodson
my last two builds have hung on download.java.net,  but the previous
one hung on ibiblio.net

Kelvin.

[EMAIL PROTECTED] /cygdrive/c/Release/SCA/1.0/RC3a/svn
$ tail -4 mvn2.log
Downloading: http://ws.zones.apache.org/repository2/groovy/groovy-all/1.0/groovy
-all-1.0.pom
[WARNING] Unable to get resource 'groovy:groovy-all:pom:1.0' from repository apa
che.ws.zone (http://ws.zones.apache.org/repository2)
Downloading: http://www.ibiblio.net/pub/packages/maven2/groovy/groovy-all/1.0/gr
oovy-all-1.0.pom
Terminate batch job (Y/N)?

[EMAIL PROTECTED] /cygdrive/c/Release/SCA/1.0/RC3a/svn
$ tail -4 mvn3.log
[WARNING] POM for 'org.jvnet.staxex:stax-ex:pom:1.0:compile' is invalid. It will
 be ignored for artifact resolution. Reason: Not a v4.0.0 POM.
Downloading: http://download.java.net/maven/1/com.sun.xml.ws/poms/jaxws-tools-2.
1.pom
628b downloaded
Terminate batch job (Y/N)?

[EMAIL PROTECTED] /cygdrive/c/Release/SCA/1.0/RC3a/svn
$ tail -4 mvn4.log
[WARNING] POM for 'com.sun.xml.stream.buffer:streambuffer:pom:0.4:compile' is in
valid. It will be ignored for artifact resolution. Reason: Failed to validate PO
M
[WARNING] POM for 'org.jvnet.staxex:stax-ex:pom:1.0:compile' is invalid. It will
 be ignored for artifact resolution. Reason: Not a v4.0.0 POM.
Downloading: http://download.java.net/maven/1/com.sun.xml.ws/poms/jaxws-tools-2.
1.pom
628b downloaded

On 19/09/2007, Simon Laws <[EMAIL PROTECTED]> wrote:
> On 9/19/07, Venkata Krishnan <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> >
> > I've tried from the branch and then from the RC3 tag and my top level
> > build
> > too hangs ... its been hanging at 
> >
> > [INFO]
> >
> > 
> > [INFO] Building Apache Tuscany SCA WSDL2Java Tool
> > [INFO]task-segment: [install]
> > [INFO]
> >
> > 
> > [INFO] [build-helper:add-test-source {execution: add-test-source}]
> > [INFO] Test Source directory:
> > F:\Tag_1.0\modules\wsdl2java\target\sdo-source
> > added.
> > [INFO] [resources:resources]
> > [INFO] Using default encoding to copy filtered resources.
> > Downloading:
> > http://download.java.net/maven/1/woodstox/poms/wstx-asl-3.2.1.pom
> >
> > - Venkat
> >
> >
> > On 9/19/07, Simon Laws <[EMAIL PROTECTED]> wrote:
> > >
> > > On 9/19/07, kelvin goodson <[EMAIL PROTECTED]> wrote:
> > > >
> > > > I have just seen Simon Laws' earlier note about my first issue.
> > > >
> > > > Kelvin.
> > > >
> > > > On 19/09/2007, kelvin goodson <[EMAIL PROTECTED]> wrote:
> > > > > I'm having a sequence of non-reproducible issues building from this
> > > tag
> > > > >
> > > > > first I got 
> > > > >
> > > > > [INFO]
> > > >
> > >
> > -
> > > > > ---
> > > > > [INFO] Building Apache Tuscany SCA Composite Sample
> > > > > [INFO]task-segment: [install]
> > > > > [INFO]
> > > >
> > >
> > -
> > > > > ---
> > > > > [INFO] [resources:resources]
> > > > > [INFO] Using default encoding to copy filtered resources.
> > > > > [INFO] [compiler:compile]
> > > > > [INFO] Compiling 6 source files to
> > > > C:\Release\SCA\1.0\RC3a\svn\samples\implement
> > > > > ation-composite\target\classes
> > > > > [INFO] [resources:testResources]
> > > > > [INFO] Using default encoding to copy filtered resources.
> > > > > [INFO] [compiler:testCompile]
> > > > > [INFO] Compiling 1 source file to
> > > > C:\Release\SCA\1.0\RC3a\svn\samples\implementa
> > > > > tion-composite\target\test-classes
> > > > > [INFO] [surefire:test]
> > > > > [INFO] Surefire report directory:
> > > > C:\Release\SCA\1.0\RC3a\svn\samples\implementa
> > > > > tion-composite\target\surefire-reports
> > > > >
> > > > > ---
> > > > >  T E S T S
> > > > > ---
> > > > > Running composite.CompositeTestCase
> > > > > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed:
> > > 0.821sec <<< FA
> > > > > ILURE!
> > > > > test(composite.CompositeTestCase)  Time elapsed: 0.771 sec  <<<
> > ERROR!
> > > > > org.osoa.sca.ServiceRuntimeException:
> > > > org.osoa.sca.ServiceRuntimeException: org.
> > > > > apache.tuscany.sca.contribution.service.ContributionResolveException
> > :
> > > > java.lang.
> > > > > ClassNotFoundException:
> > > > org.apache.tuscany.sca.node.impl.NodeManagerServiceImpl
> > > > > at
> > > > org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCAD
> > > > > omain.java:264)
> > > > > at
> > org.apache.tuscany.sca.host.embedded.SCADomain.newInstance
> > > > (SCADomain.
> > > > > java:58)
> > > > > at composite.CompositeTestCase.setUp(CompositeTestCase.java
> > > :32)
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > but a rebuild in the project directory succeeded
> > > > >

Re: [VOTE] Release Tuscany Java SCA 1.0 RC3

2007-09-19 Thread Simon Laws
On 9/19/07, Venkata Krishnan <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I've tried from the branch and then from the RC3 tag and my top level
> build
> too hangs ... its been hanging at 
>
> [INFO]
>
> 
> [INFO] Building Apache Tuscany SCA WSDL2Java Tool
> [INFO]task-segment: [install]
> [INFO]
>
> 
> [INFO] [build-helper:add-test-source {execution: add-test-source}]
> [INFO] Test Source directory:
> F:\Tag_1.0\modules\wsdl2java\target\sdo-source
> added.
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> Downloading:
> http://download.java.net/maven/1/woodstox/poms/wstx-asl-3.2.1.pom
>
> - Venkat
>
>
> On 9/19/07, Simon Laws <[EMAIL PROTECTED]> wrote:
> >
> > On 9/19/07, kelvin goodson <[EMAIL PROTECTED]> wrote:
> > >
> > > I have just seen Simon Laws' earlier note about my first issue.
> > >
> > > Kelvin.
> > >
> > > On 19/09/2007, kelvin goodson <[EMAIL PROTECTED]> wrote:
> > > > I'm having a sequence of non-reproducible issues building from this
> > tag
> > > >
> > > > first I got 
> > > >
> > > > [INFO]
> > >
> >
> -
> > > > ---
> > > > [INFO] Building Apache Tuscany SCA Composite Sample
> > > > [INFO]task-segment: [install]
> > > > [INFO]
> > >
> >
> -
> > > > ---
> > > > [INFO] [resources:resources]
> > > > [INFO] Using default encoding to copy filtered resources.
> > > > [INFO] [compiler:compile]
> > > > [INFO] Compiling 6 source files to
> > > C:\Release\SCA\1.0\RC3a\svn\samples\implement
> > > > ation-composite\target\classes
> > > > [INFO] [resources:testResources]
> > > > [INFO] Using default encoding to copy filtered resources.
> > > > [INFO] [compiler:testCompile]
> > > > [INFO] Compiling 1 source file to
> > > C:\Release\SCA\1.0\RC3a\svn\samples\implementa
> > > > tion-composite\target\test-classes
> > > > [INFO] [surefire:test]
> > > > [INFO] Surefire report directory:
> > > C:\Release\SCA\1.0\RC3a\svn\samples\implementa
> > > > tion-composite\target\surefire-reports
> > > >
> > > > ---
> > > >  T E S T S
> > > > ---
> > > > Running composite.CompositeTestCase
> > > > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed:
> > 0.821sec <<< FA
> > > > ILURE!
> > > > test(composite.CompositeTestCase)  Time elapsed: 0.771 sec  <<<
> ERROR!
> > > > org.osoa.sca.ServiceRuntimeException:
> > > org.osoa.sca.ServiceRuntimeException: org.
> > > > apache.tuscany.sca.contribution.service.ContributionResolveException
> :
> > > java.lang.
> > > > ClassNotFoundException:
> > > org.apache.tuscany.sca.node.impl.NodeManagerServiceImpl
> > > > at
> > > org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCAD
> > > > omain.java:264)
> > > > at
> org.apache.tuscany.sca.host.embedded.SCADomain.newInstance
> > > (SCADomain.
> > > > java:58)
> > > > at composite.CompositeTestCase.setUp(CompositeTestCase.java
> > :32)
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > but a rebuild in the project directory succeeded
> > > >
> > > >
> > > >
> > > >
> > > > now the top level build is hanging indefinitely at ...
> > > >
> > > > [INFO]
> > >
> 
> > > > ---
> > > > [INFO] Building Apache Tuscany SCA Script Implementation Extension
> > > > [INFO]task-segment: [install]
> > > > [INFO]
> > >
> 
> > > > ---
> > > > [INFO] [resources:resources]
> > > > [INFO] Using default encoding to copy filtered resources.
> > > > Downloading:
> > > http://people.apache.org/repo/m2-incubating-repository/groovy/groo
> > > > y-all/1.0/groovy-all-1.0.pom
> > > > [WARNING] Unable to get resource 'groovy:groovy-all:pom:1.0' from
> > > repository ap
> > > > che.incubator (
> http://people.apache.org/repo/m2-incubating-repository)
> > > > Downloading:
> > > http://ws.zones.apache.org/repository2/groovy/groovy-all/1.0/groov
> > > > -all-1.0.pom
> > > > [WARNING] Unable to get resource 'groovy:groovy-all:pom:1.0' from
> > > repository ap
> > > > che.ws.zone (http://ws.zones.apache.org/repository2)
> > > > Downloading:
> > > http://www.ibiblio.net/pub/packages/maven2/groovy/groovy-all/1.0/g
> > > > oovy-all-1.0.pom
> > > >
> > > > Anyone else seen anything like this?
> > > > I'll kill it and try again.
> > > >
> > > > Kelvin.
> > > >
> > > >
> > > >
> > > > On 19/09/2007, ant elder <[EMAIL PROTECTED]> wrote:
> > > > > On 9/19/07, Simon Laws <[EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > > On 9/19/07, kelvin goodson <[EMAIL PROTECTED]> wrote:
> > > > > > >
> > > > > > > That's where mine now fails too.
> > 

[jira] Assigned: (TUSCANY-1757) Fixes for implementation.osgi callbacks and AllowsPassByReference

2007-09-19 Thread Raymond Feng (JIRA)

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

Raymond Feng reassigned TUSCANY-1757:
-

Assignee: Raymond Feng

> Fixes for implementation.osgi callbacks and AllowsPassByReference
> -
>
> Key: TUSCANY-1757
> URL: https://issues.apache.org/jira/browse/TUSCANY-1757
> Project: Tuscany
>  Issue Type: Bug
>  Components: Java SCA OSGi Integration
>Reporter: Rajini Sivaram
>Assignee: Raymond Feng
>Priority: Minor
> Attachments: itest-osgi-implementation-patch.txt, 
> modules-contribution-osgi-patch.txt, modules-implementation-osgi-patch.txt, 
> modules-osgi-runtime-patch.txt, samples-osgi-supplychain-patch.txt
>
>
> Scoping for callbacks is broken in implementation.osgi. In OSGi, instances 
> are associated with services rather than components (which are based on the 
> bundle). To implement SCA scoping for callbacks, the callback should be 
> associated to one of the instances from the component.
> @AllowsPassByReference is not handled correctly for implementation.osgi since 
> annotations are not read until the implementation provider is started and all 
> the bundles are resolved. If the names of the implementation classes in the 
> bundle are not listed in , annotations will not be read 
> until the first service instance is obtained from OSGi. Since pass-by-value 
> interceptor relies on obtaining the list of methods which support 
> pass-by-reference before this stage, we need to bypass the interceptor and 
> leave it to the OSGi invoker to decide whether pass-by-reference is allowed.
> The patch also modifies itest/osgi-implementation to use a subdirectory under 
> target/classes as the contribution URL for each of its tests since there are 
> a large number of tests under this project, and at the moment all the 
> composites are loaded when each test is run. Conversation and callback tests 
> have also been added.

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


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



Re: Why implementation-osgi does not work?

2007-09-19 Thread Luciano Resende
What version of maven are you using ? Could you please try with maven 2.0.5 ?

On 9/19/07, shaoguang geng <[EMAIL PROTECTED]> wrote:
> Hi Sivaram:
>
> My branch 1.0 code is the latest.
>
> I also tried the trunk code: mvn stoped at
>
> Missing:
> --
> 1) org.apache.tuscany.sca:tuscany-host-embedded:jar:1.1-incubating-SNAPSHOT
> ..
>
> in fact, recently got quick alot of Missing failurs from tuscany trunk. I 
> myself not too much mind this.
>
> Usually I see into code instead of stops at mvn failure. But osgi 
> implementation really seems ill some where.
>
>
> Rajini Sivaram <[EMAIL PROTECTED]> wrote: The stack trace shows that the 
> implementation.osgi code is a few days old.
> The code was changed recently to support OSGi contributions, and this also
> modified  to use symbolic names for bundles rather
> than the URL for its location, making this consistent with other SCA
> implementation types.
>
> Is it possible that the samples and the implementation code you are running
> are from two different builds? Would it be possible for you to run the
> samples against the latest build?
>
>
> Thank you...
>
> Regards,
>
> Rajini
>
>
> On 9/19/07, shaoguang geng  wrote:
> >
> > Thank you for you replies:
> >
> > The mvn build in branch/sca-java-1.0/samples/osgi-supplychain out put as
> > in the attached file.
> >
> >
> > *Rajini Sivaram * wrote:
> >
> > Hi,
> >
> > implementation.osgi and its sample osgi-supplychain should be working in
> > the
> > 1.0 build. Could you please provide a build output or stack trace for the
> > failure you are seeing?
> >
> > Thank you...
> >
> > Regards,
> >
> > Rajini
> >
> >
> > On 9/18/07, shaoguang geng wrote:
> > >
> > > Hi, Raymond, I just want to know wether this module is under
> > construction.
> > > Or I may wait for a mile stone to see in.
> > >
> > > Raymond Feng wrote: Hi,
> > >
> > > What problem are you seeing? Stacktrace in JIRA will be appreciated.
> > >
> > > Thanks,
> > > Raymond
> > >
> > > - Original Message -
> > > From: "shaoguang geng"
> > > To:
> > > Sent: Tuesday, September 18, 2007 1:36 AM
> > > Subject: Why implementation-osgi does not work?
> > >
> > >
> > > > Hi, could some one tell me shortly what's going on with osgi,
> > > >
> > > > I was once run it with supplychain, but for a couple of days, svn code
> > > > just does not work any more, I tried it with branch 1.0, not too.
> > > >
> > > > Thanks
> > > >
> > > >
> > > > -
> > > > Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user
> > > > panel and lay it on us.
> > >
> > >
> > > -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> > >
> > >
> > > -
> > > Tonight's top picks. What will you watch tonight? Preview the hottest
> > > shows on Yahoo! TV.
> >
> >
> >  --
> > Be a better Globetrotter. Get better travel answers
> > from
> > someone who knows.
> > Yahoo! Answers - Check it out.
> >
> >
> > ---
> >  T E S T S
> > ---
> > Running supplychain.SupplyChainClientTestCase
> > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.015 sec
> > <<< FAILURE!
> > test(supplychain.SupplyChainClientTestCase)  Time elapsed: 3.985 sec  <<<
> > ERROR!
> > org.osoa.sca.ServiceRuntimeException: org.osoa.sca.ServiceRuntimeException:
> > org.apache.tuscany.sca.core.assembly.ActivationException: org.apache.tusca
> > ny.sca.core.factory.ObjectCreationException:
> > org.osgi.framework.BundleException: Unable to cache bundle: null
> >at org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance
> > (SCADomain.java:264)
> >at org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(
> > SCADomain.java:69)
> >at supplychain.SupplyChainClientTestCase.setUp(
> > SupplyChainClientTestCase.java:39)
> >at junit.framework.TestCase.runBare(TestCase.java:132)
> >at junit.framework.TestResult$1.protect(TestResult.java:110)
> >at junit.framework.TestResult.runProtected(TestResult.java:128)
> >at junit.framework.TestResult.run(TestResult.java:113)
> >at junit.framework.TestCase.run(TestCase.java:124)
> >at junit.framework.TestSuite.runTest(TestSuite.java:232)
> >at junit.framework.TestSuite.run(TestSuite.java:227)
> >at org.junit.internal.runners.OldTestClassRunner.run(
> > OldTestClassRunner.java:35)
> >at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(
> > JUnit4TestSet.java:62)
> >at
> > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(
> > AbstractDirectoryTestSuite.java:138)
> >at
> > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(
> > AbstractDirectoryTestSuite.java:125)
> >

Re: [VOTE] Release Tuscany Java SCA 1.0 RC3

2007-09-19 Thread Venkata Krishnan
Hi,

I've tried from the branch and then from the RC3 tag and my top level build
too hangs ... its been hanging at 

[INFO]

[INFO] Building Apache Tuscany SCA WSDL2Java Tool
[INFO]task-segment: [install]
[INFO]

[INFO] [build-helper:add-test-source {execution: add-test-source}]
[INFO] Test Source directory: F:\Tag_1.0\modules\wsdl2java\target\sdo-source
added.
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
Downloading:
http://download.java.net/maven/1/woodstox/poms/wstx-asl-3.2.1.pom

- Venkat


On 9/19/07, Simon Laws <[EMAIL PROTECTED]> wrote:
>
> On 9/19/07, kelvin goodson <[EMAIL PROTECTED]> wrote:
> >
> > I have just seen Simon Laws' earlier note about my first issue.
> >
> > Kelvin.
> >
> > On 19/09/2007, kelvin goodson <[EMAIL PROTECTED]> wrote:
> > > I'm having a sequence of non-reproducible issues building from this
> tag
> > >
> > > first I got 
> > >
> > > [INFO]
> >
> -
> > > ---
> > > [INFO] Building Apache Tuscany SCA Composite Sample
> > > [INFO]task-segment: [install]
> > > [INFO]
> >
> -
> > > ---
> > > [INFO] [resources:resources]
> > > [INFO] Using default encoding to copy filtered resources.
> > > [INFO] [compiler:compile]
> > > [INFO] Compiling 6 source files to
> > C:\Release\SCA\1.0\RC3a\svn\samples\implement
> > > ation-composite\target\classes
> > > [INFO] [resources:testResources]
> > > [INFO] Using default encoding to copy filtered resources.
> > > [INFO] [compiler:testCompile]
> > > [INFO] Compiling 1 source file to
> > C:\Release\SCA\1.0\RC3a\svn\samples\implementa
> > > tion-composite\target\test-classes
> > > [INFO] [surefire:test]
> > > [INFO] Surefire report directory:
> > C:\Release\SCA\1.0\RC3a\svn\samples\implementa
> > > tion-composite\target\surefire-reports
> > >
> > > ---
> > >  T E S T S
> > > ---
> > > Running composite.CompositeTestCase
> > > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed:
> 0.821sec <<< FA
> > > ILURE!
> > > test(composite.CompositeTestCase)  Time elapsed: 0.771 sec  <<< ERROR!
> > > org.osoa.sca.ServiceRuntimeException:
> > org.osoa.sca.ServiceRuntimeException: org.
> > > apache.tuscany.sca.contribution.service.ContributionResolveException:
> > java.lang.
> > > ClassNotFoundException:
> > org.apache.tuscany.sca.node.impl.NodeManagerServiceImpl
> > > at
> > org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCAD
> > > omain.java:264)
> > > at org.apache.tuscany.sca.host.embedded.SCADomain.newInstance
> > (SCADomain.
> > > java:58)
> > > at composite.CompositeTestCase.setUp(CompositeTestCase.java
> :32)
> > >
> > >
> > >
> > >
> > >
> > >
> > > but a rebuild in the project directory succeeded
> > >
> > >
> > >
> > >
> > > now the top level build is hanging indefinitely at ...
> > >
> > > [INFO]
> > 
> > > ---
> > > [INFO] Building Apache Tuscany SCA Script Implementation Extension
> > > [INFO]task-segment: [install]
> > > [INFO]
> > 
> > > ---
> > > [INFO] [resources:resources]
> > > [INFO] Using default encoding to copy filtered resources.
> > > Downloading:
> > http://people.apache.org/repo/m2-incubating-repository/groovy/groo
> > > y-all/1.0/groovy-all-1.0.pom
> > > [WARNING] Unable to get resource 'groovy:groovy-all:pom:1.0' from
> > repository ap
> > > che.incubator (http://people.apache.org/repo/m2-incubating-repository)
> > > Downloading:
> > http://ws.zones.apache.org/repository2/groovy/groovy-all/1.0/groov
> > > -all-1.0.pom
> > > [WARNING] Unable to get resource 'groovy:groovy-all:pom:1.0' from
> > repository ap
> > > che.ws.zone (http://ws.zones.apache.org/repository2)
> > > Downloading:
> > http://www.ibiblio.net/pub/packages/maven2/groovy/groovy-all/1.0/g
> > > oovy-all-1.0.pom
> > >
> > > Anyone else seen anything like this?
> > > I'll kill it and try again.
> > >
> > > Kelvin.
> > >
> > >
> > >
> > > On 19/09/2007, ant elder <[EMAIL PROTECTED]> wrote:
> > > > On 9/19/07, Simon Laws <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > On 9/19/07, kelvin goodson <[EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > > That's where mine now fails too.
> > > > > >
> > > > > > On 19/09/2007, Simon Laws <[EMAIL PROTECTED]> wrote:
> > > > > > > On 9/19/07, ant elder <[EMAIL PROTECTED]> wrote:
> > > > > > > >
> > > > > > > > On 9/19/07, Simon Laws <[EMAIL PROTECTED]> wrote:
> > > > > > > > >
> > > > > > > > > On 9/19/07, kelvin goodson <[EMAIL PROTECTED]>
> wrote:
> > > > > > > > > >
> > > > > > > > > > If 

RE: [SDO C++] Setting::getDataObjectValue question

2007-09-19 Thread Michael Yoder

I would think this is a bug. At least its worth a JIRA with the entire
test case attached.

Michael
Rogue Wave Software, Inc. - [EMAIL PROTECTED] Software Developer -
HydraSDO 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Adriano Crestani
Sent: Wednesday, September 19, 2007 4:59 AM
To: tuscany-dev@ws.apache.org
Subject: Fwd: [SDO C++] Setting::getDataObjectValue question

-- Forwarded message --
From: Adriano Crestani <[EMAIL PROTECTED]>
Date: Sep 18, 2007 4:20 PM
Subject: [SDO C++] Setting::getDataObjectValue question
To: [EMAIL PROTECTED]

I have the following code:

const commonj::sdo::SettingList& settings =
summary->getOldValues(dataObject);

for (int i = 0 ; i < settings.size() ; i++) {

if (!settings[i].getProperty().getType().isDataType()) {

commonj::sdo::DataObjectPtr value =
setting[i].getDataObjectValue();

}

}


Shold the "value" variable always be a valid pointer? Cause it's
returning NULL for me.

Adriano Crestani

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



Re: sample start up time?

2007-09-19 Thread Rajini Sivaram
Raymond,

Sorry I didn't realize that Felix gets added into the SCA manfest.jar file,
causing all samples to load Felix even when OSGi contributions are not used.


The change you made to ClassReferenceModelResolver tries to load the class
using the classloader first. For OSGi contributions, it should be the other
way round - OSGi bundle resolver should be called first, otherwise
potentially the wrong classloader could be used to load the classes. I have
added a patch for an alternative fix under TUSCANY-1757. It doesn't need to
be fixed for 1.0, but I think it should be fixed in the main branch. Could
you take a look at it? The change is in OSGiBundleModelResolver, which
doesn't start the runtime, but looks for the bundle if the runtime already
been started.

Thank you...

Regards,

Rajini

On 9/19/07, kelvin goodson <[EMAIL PROTECTED]> wrote:
>
> RC3 is much faster now,  it now runs in 2 seconds ---
>
> C:\Release\SCA\1.0\RC3\bin\tuscany-sca-1.0-incubating\samples\calculator>ant
> run
> Buildfile: build.xml
>
> run:
> [java] 3 + 2=5.0
> [java] 3 - 2=1.0
> [java] 3 * 2=6.0
> [java] 3 / 2=1.5
>
> BUILD SUCCESSFUL
> Total time: 2 seconds
> C:\Release\SCA\1.0\RC3\bin\tuscany-sca-1.0-incubating\samples\calculator>
>
>
> for me,  thanks.
>
> On 18/09/2007, Raymond Feng <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I guess I make all of you anxious to know what's wrong :-).
> >
> > Here is the problem, the OSGi contribution modules starts the OSGi
> runtime
> > in its contribution listener/class reference resolver. But there is no
> code
> > to shutdown the OSGi runtime. As a result, there are a few felix threads
> > when the runtime is stopped and it hangs.
> >
> > I'm fixing the problem as follows:
> > 1) Make sure the OSGi runtime won't be inited until it's required
> > 2) Add a module activator for osgi-runtime to shutdown the OSGi runtime
> upon
> > the stopping of the Tuscany runtime.
> >
> > I'm running a build now and will commit the fix soon (if the maven build
> > doesn't overheat my laptop this time :-(, It took me almost one hour to
> > recover from last crash).
> >
> > Thanks,
> > Raymond
> >
> > - Original Message -
> > From: "Simon Laws" <[EMAIL PROTECTED]>
> > To: ; <[EMAIL PROTECTED]>
> > Sent: Monday, September 17, 2007 3:01 PM
> > Subject: Re: sample start up time?
> >
> >
> > > On 9/17/07, ant elder <[EMAIL PROTECTED]> wrote:
> > >>
> > >> Wonderful.
> > >>
> > >>...ant
> > >>
> > >> On 9/17/07, Raymond Feng <[EMAIL PROTECTED]> wrote:
> > >> >
> > >> > Yes, that's what I meant.
> > >> >
> > >> > Thanks,
> > >> > Raymond
> > >> >
> > >> > - Original Message -
> > >> > From: "ant elder" <[EMAIL PROTECTED]>
> > >> > To: 
> > >> > Sent: Monday, September 17, 2007 1:54 PM
> > >> > Subject: Re: sample start up time?
> > >> >
> > >> >
> > >> > > Is that also going to help the shutdown hang problem?
> > >> > >
> > >> > >   ...ant
> > >> > >
> > >> > > On 9/17/07, Raymond Feng <[EMAIL PROTECTED]> wrote:
> > >> > >>
> > >> > >> Hi,
> > >> > >>
> > >> > >> I found the issue and will check in a fix soon.
> > >> > >>
> > >> > >> Thanks,
> > >> > >> Raymond
> > >> > >>
> > >> > >> - Original Message -
> > >> > >> From: "kelvin goodson" <[EMAIL PROTECTED]>
> > >> > >> To: 
> > >> > >> Sent: Monday, September 17, 2007 8:01 AM
> > >> > >> Subject: Re: sample start up time?
> > >> > >>
> > >> > >>
> > >> > >> > Hmm,  I just re-ran this against RC1b and the calculator
> sample
> > >> hung
> > >> > >> > after producing its results. All the output appeared pretty
> > >> quickly,
> > >> > >> > but then it failed to stop.
> > >> > >> >
> > >> > >> > C:\Release\RC1b\tuscany-sca-1.0-incubating\samples\calculator
> >ant
> > >> ru
> > >> > >> > Buildfile: build.xml
> > >> > >> >
> > >> > >> > run:
> > >> > >> > [java] 3 + 2=5.0
> > >> > >> > [java] 3 - 2=1.0
> > >> > >> > [java] 3 * 2=6.0
> > >> > >> > [java] 3 / 2=1.5
> > >> > >> > [java] Java Result: 1
> > >> > >> >
> > >> > >> > BUILD SUCCESSFUL
> > >> > >> > Total time: 8 minutes 4 seconds
> > >> > >> > Terminate batch job (Y/N)? y
> > >> > >> >
> > >> > >> > On 17/09/2007, kelvin goodson <[EMAIL PROTECTED]> wrote:
> > >> > >> >> I can run the calculator in 4 seconds, -- time until I see
> the
> > >> "Run"
> > >> > >> >> word on the screen approx 2 secs and then a further 2 before
> I
> > >> > >> >> see
> > >> > the
> > >> > >> >> result output.
> > >> > >> >>
> > >> > >> >> Kelvin.
> > >> > >> >>
> > >> > >> >> On 17/09/2007, Simon Laws <[EMAIL PROTECTED]> wrote:
> > >> > >> >> > I made a local distro from the branch and the samples seem
> to
> > >> take
> > >> > >> ages
> > >> > >> >> > to
> > >> > >> >> > get going. A really comical amount of time! It takes 25
> seconds
> > >> > >> before
> > >> > >> >> > I see
> > >> > >> >> > any output after running the calculator sample. Anyone else
> > >> seeing
> > >> > >> >> > that?
> > >> > >> >> >
> > >> > >> >> > Simon
> > >> > >> >> >
> > >> > >> >>
> > >> 

[jira] Updated: (TUSCANY-1757) Fixes for implementation.osgi callbacks and AllowsPassByReference

2007-09-19 Thread Rajini Sivaram (JIRA)

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

Rajini Sivaram updated TUSCANY-1757:


Attachment: samples-osgi-supplychain-patch.txt

Samples patch fixes the ant build script for samples/osgi-supplychain

> Fixes for implementation.osgi callbacks and AllowsPassByReference
> -
>
> Key: TUSCANY-1757
> URL: https://issues.apache.org/jira/browse/TUSCANY-1757
> Project: Tuscany
>  Issue Type: Bug
>  Components: Java SCA OSGi Integration
>Reporter: Rajini Sivaram
>Priority: Minor
> Attachments: itest-osgi-implementation-patch.txt, 
> modules-contribution-osgi-patch.txt, modules-implementation-osgi-patch.txt, 
> modules-osgi-runtime-patch.txt, samples-osgi-supplychain-patch.txt
>
>
> Scoping for callbacks is broken in implementation.osgi. In OSGi, instances 
> are associated with services rather than components (which are based on the 
> bundle). To implement SCA scoping for callbacks, the callback should be 
> associated to one of the instances from the component.
> @AllowsPassByReference is not handled correctly for implementation.osgi since 
> annotations are not read until the implementation provider is started and all 
> the bundles are resolved. If the names of the implementation classes in the 
> bundle are not listed in , annotations will not be read 
> until the first service instance is obtained from OSGi. Since pass-by-value 
> interceptor relies on obtaining the list of methods which support 
> pass-by-reference before this stage, we need to bypass the interceptor and 
> leave it to the OSGi invoker to decide whether pass-by-reference is allowed.
> The patch also modifies itest/osgi-implementation to use a subdirectory under 
> target/classes as the contribution URL for each of its tests since there are 
> a large number of tests under this project, and at the moment all the 
> composites are loaded when each test is run. Conversation and callback tests 
> have also been added.

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


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



Re: [VOTE] Release Tuscany Java SCA 1.0 RC3

2007-09-19 Thread Simon Laws
On 9/19/07, kelvin goodson <[EMAIL PROTECTED]> wrote:
>
> I have just seen Simon Laws' earlier note about my first issue.
>
> Kelvin.
>
> On 19/09/2007, kelvin goodson <[EMAIL PROTECTED]> wrote:
> > I'm having a sequence of non-reproducible issues building from this tag
> >
> > first I got 
> >
> > [INFO]
> -
> > ---
> > [INFO] Building Apache Tuscany SCA Composite Sample
> > [INFO]task-segment: [install]
> > [INFO]
> -
> > ---
> > [INFO] [resources:resources]
> > [INFO] Using default encoding to copy filtered resources.
> > [INFO] [compiler:compile]
> > [INFO] Compiling 6 source files to
> C:\Release\SCA\1.0\RC3a\svn\samples\implement
> > ation-composite\target\classes
> > [INFO] [resources:testResources]
> > [INFO] Using default encoding to copy filtered resources.
> > [INFO] [compiler:testCompile]
> > [INFO] Compiling 1 source file to
> C:\Release\SCA\1.0\RC3a\svn\samples\implementa
> > tion-composite\target\test-classes
> > [INFO] [surefire:test]
> > [INFO] Surefire report directory:
> C:\Release\SCA\1.0\RC3a\svn\samples\implementa
> > tion-composite\target\surefire-reports
> >
> > ---
> >  T E S T S
> > ---
> > Running composite.CompositeTestCase
> > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.821sec 
> > <<< FA
> > ILURE!
> > test(composite.CompositeTestCase)  Time elapsed: 0.771 sec  <<< ERROR!
> > org.osoa.sca.ServiceRuntimeException:
> org.osoa.sca.ServiceRuntimeException: org.
> > apache.tuscany.sca.contribution.service.ContributionResolveException:
> java.lang.
> > ClassNotFoundException:
> org.apache.tuscany.sca.node.impl.NodeManagerServiceImpl
> > at
> org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCAD
> > omain.java:264)
> > at org.apache.tuscany.sca.host.embedded.SCADomain.newInstance
> (SCADomain.
> > java:58)
> > at composite.CompositeTestCase.setUp(CompositeTestCase.java:32)
> >
> >
> >
> >
> >
> >
> > but a rebuild in the project directory succeeded
> >
> >
> >
> >
> > now the top level build is hanging indefinitely at ...
> >
> > [INFO]
> 
> > ---
> > [INFO] Building Apache Tuscany SCA Script Implementation Extension
> > [INFO]task-segment: [install]
> > [INFO]
> 
> > ---
> > [INFO] [resources:resources]
> > [INFO] Using default encoding to copy filtered resources.
> > Downloading:
> http://people.apache.org/repo/m2-incubating-repository/groovy/groo
> > y-all/1.0/groovy-all-1.0.pom
> > [WARNING] Unable to get resource 'groovy:groovy-all:pom:1.0' from
> repository ap
> > che.incubator (http://people.apache.org/repo/m2-incubating-repository)
> > Downloading:
> http://ws.zones.apache.org/repository2/groovy/groovy-all/1.0/groov
> > -all-1.0.pom
> > [WARNING] Unable to get resource 'groovy:groovy-all:pom:1.0' from
> repository ap
> > che.ws.zone (http://ws.zones.apache.org/repository2)
> > Downloading:
> http://www.ibiblio.net/pub/packages/maven2/groovy/groovy-all/1.0/g
> > oovy-all-1.0.pom
> >
> > Anyone else seen anything like this?
> > I'll kill it and try again.
> >
> > Kelvin.
> >
> >
> >
> > On 19/09/2007, ant elder <[EMAIL PROTECTED]> wrote:
> > > On 9/19/07, Simon Laws <[EMAIL PROTECTED]> wrote:
> > > >
> > > > On 9/19/07, kelvin goodson <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > That's where mine now fails too.
> > > > >
> > > > > On 19/09/2007, Simon Laws <[EMAIL PROTECTED]> wrote:
> > > > > > On 9/19/07, ant elder <[EMAIL PROTECTED]> wrote:
> > > > > > >
> > > > > > > On 9/19/07, Simon Laws <[EMAIL PROTECTED]> wrote:
> > > > > > > >
> > > > > > > > On 9/19/07, kelvin goodson <[EMAIL PROTECTED]> wrote:
> > > > > > > > >
> > > > > > > > > If I remove the xquery-quotes reference in the samples pom
> and
> > > > try
> > > > > to
> > > > > > > > > build further i eventually get to the "Tuscany SCA
> Axis2-based
> > > > WS
> > > > > > > > > Binding Extension" project where I see ...
> > > > > > > > > ===
> > > > > > > > > Downloading:
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > >
> > > >
> http://ws.zones.apache.org/repository//org.apache.woden/jars/woden-1.0-incubating-M7b.jar
> > > > > > > > > Downloading:
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > >
> > > >
> http://people.apache.org/repo/m2-incubating-repository/org/apache/woden/woden/1.0-incubating-M7b/woden-1.0-
> > > > > > > > > incubating-M7b.jar
> > > > > > > > > Downloading:
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > >
> > > >
> http://www.ibiblio.net/pub/packages/maven2/org/apache/woden/woden/1.0-incubating-M7b/woden-1.0-incubating-M
> > > > > > > > > 7b.jar
> > > > > > > > > [INFO]
> > > > > > > > >
> > 

[jira] Updated: (TUSCANY-1757) Fixes for implementation.osgi callbacks and AllowsPassByReference

2007-09-19 Thread Rajini Sivaram (JIRA)

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

Rajini Sivaram updated TUSCANY-1757:


Attachment: (was: samples-osgi-supplychain-patch.txt)

> Fixes for implementation.osgi callbacks and AllowsPassByReference
> -
>
> Key: TUSCANY-1757
> URL: https://issues.apache.org/jira/browse/TUSCANY-1757
> Project: Tuscany
>  Issue Type: Bug
>  Components: Java SCA OSGi Integration
>Reporter: Rajini Sivaram
>Priority: Minor
> Attachments: itest-osgi-implementation-patch.txt, 
> modules-contribution-osgi-patch.txt, modules-implementation-osgi-patch.txt, 
> modules-osgi-runtime-patch.txt
>
>
> Scoping for callbacks is broken in implementation.osgi. In OSGi, instances 
> are associated with services rather than components (which are based on the 
> bundle). To implement SCA scoping for callbacks, the callback should be 
> associated to one of the instances from the component.
> @AllowsPassByReference is not handled correctly for implementation.osgi since 
> annotations are not read until the implementation provider is started and all 
> the bundles are resolved. If the names of the implementation classes in the 
> bundle are not listed in , annotations will not be read 
> until the first service instance is obtained from OSGi. Since pass-by-value 
> interceptor relies on obtaining the list of methods which support 
> pass-by-reference before this stage, we need to bypass the interceptor and 
> leave it to the OSGi invoker to decide whether pass-by-reference is allowed.
> The patch also modifies itest/osgi-implementation to use a subdirectory under 
> target/classes as the contribution URL for each of its tests since there are 
> a large number of tests under this project, and at the moment all the 
> composites are loaded when each test is run. Conversation and callback tests 
> have also been added.

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


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



Re: [VOTE] Release Tuscany Java SCA 1.0 RC3

2007-09-19 Thread kelvin goodson
I have just seen Simon Laws' earlier note about my first issue.

Kelvin.

On 19/09/2007, kelvin goodson <[EMAIL PROTECTED]> wrote:
> I'm having a sequence of non-reproducible issues building from this tag
>
> first I got 
>
> [INFO] 
> -
> ---
> [INFO] Building Apache Tuscany SCA Composite Sample
> [INFO]task-segment: [install]
> [INFO] 
> -
> ---
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]
> [INFO] Compiling 6 source files to 
> C:\Release\SCA\1.0\RC3a\svn\samples\implement
> ation-composite\target\classes
> [INFO] [resources:testResources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:testCompile]
> [INFO] Compiling 1 source file to 
> C:\Release\SCA\1.0\RC3a\svn\samples\implementa
> tion-composite\target\test-classes
> [INFO] [surefire:test]
> [INFO] Surefire report directory: 
> C:\Release\SCA\1.0\RC3a\svn\samples\implementa
> tion-composite\target\surefire-reports
>
> ---
>  T E S T S
> ---
> Running composite.CompositeTestCase
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.821 sec <<< 
> FA
> ILURE!
> test(composite.CompositeTestCase)  Time elapsed: 0.771 sec  <<< ERROR!
> org.osoa.sca.ServiceRuntimeException: org.osoa.sca.ServiceRuntimeException: 
> org.
> apache.tuscany.sca.contribution.service.ContributionResolveException: 
> java.lang.
> ClassNotFoundException: 
> org.apache.tuscany.sca.node.impl.NodeManagerServiceImpl
> at 
> org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCAD
> omain.java:264)
> at 
> org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(SCADomain.
> java:58)
> at composite.CompositeTestCase.setUp(CompositeTestCase.java:32)
>
>
>
>
>
>
> but a rebuild in the project directory succeeded
>
>
>
>
> now the top level build is hanging indefinitely at ...
>
> [INFO] 
> 
> ---
> [INFO] Building Apache Tuscany SCA Script Implementation Extension
> [INFO]task-segment: [install]
> [INFO] 
> 
> ---
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> Downloading: 
> http://people.apache.org/repo/m2-incubating-repository/groovy/groo
> y-all/1.0/groovy-all-1.0.pom
> [WARNING] Unable to get resource 'groovy:groovy-all:pom:1.0' from repository 
> ap
> che.incubator (http://people.apache.org/repo/m2-incubating-repository)
> Downloading: 
> http://ws.zones.apache.org/repository2/groovy/groovy-all/1.0/groov
> -all-1.0.pom
> [WARNING] Unable to get resource 'groovy:groovy-all:pom:1.0' from repository 
> ap
> che.ws.zone (http://ws.zones.apache.org/repository2)
> Downloading: 
> http://www.ibiblio.net/pub/packages/maven2/groovy/groovy-all/1.0/g
> oovy-all-1.0.pom
>
> Anyone else seen anything like this?
> I'll kill it and try again.
>
> Kelvin.
>
>
>
> On 19/09/2007, ant elder <[EMAIL PROTECTED]> wrote:
> > On 9/19/07, Simon Laws <[EMAIL PROTECTED]> wrote:
> > >
> > > On 9/19/07, kelvin goodson <[EMAIL PROTECTED]> wrote:
> > > >
> > > > That's where mine now fails too.
> > > >
> > > > On 19/09/2007, Simon Laws <[EMAIL PROTECTED]> wrote:
> > > > > On 9/19/07, ant elder <[EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > > On 9/19/07, Simon Laws <[EMAIL PROTECTED]> wrote:
> > > > > > >
> > > > > > > On 9/19/07, kelvin goodson <[EMAIL PROTECTED]> wrote:
> > > > > > > >
> > > > > > > > If I remove the xquery-quotes reference in the samples pom and
> > > try
> > > > to
> > > > > > > > build further i eventually get to the "Tuscany SCA Axis2-based
> > > WS
> > > > > > > > Binding Extension" project where I see ...
> > > > > > > > ===
> > > > > > > > Downloading:
> > > > > > > >
> > > > > > >
> > > > > >
> > > >
> > > http://ws.zones.apache.org/repository//org.apache.woden/jars/woden-1.0-incubating-M7b.jar
> > > > > > > > Downloading:
> > > > > > > >
> > > > > > >
> > > > > >
> > > >
> > > http://people.apache.org/repo/m2-incubating-repository/org/apache/woden/woden/1.0-incubating-M7b/woden-1.0-
> > > > > > > > incubating-M7b.jar
> > > > > > > > Downloading:
> > > > > > > >
> > > > > > >
> > > > > >
> > > >
> > > http://www.ibiblio.net/pub/packages/maven2/org/apache/woden/woden/1.0-incubating-M7b/woden-1.0-incubating-M
> > > > > > > > 7b.jar
> > > > > > > > [INFO]
> > > > > > > >
> > > > > >
> > > > 
> > > > > > > > [ERROR] BUILD ERROR
> > > > > > > > [INFO]
> > > > > > > >
> > > > > >
> > > > 
> > > > > > > > [INFO] Failed to resolve art

Re: [VOTE] Release Tuscany Java SCA 1.0 RC3

2007-09-19 Thread kelvin goodson
I'm having a sequence of non-reproducible issues building from this tag

first I got 

[INFO] -
---
[INFO] Building Apache Tuscany SCA Composite Sample
[INFO]task-segment: [install]
[INFO] -
---
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 6 source files to C:\Release\SCA\1.0\RC3a\svn\samples\implement
ation-composite\target\classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Compiling 1 source file to C:\Release\SCA\1.0\RC3a\svn\samples\implementa
tion-composite\target\test-classes
[INFO] [surefire:test]
[INFO] Surefire report directory: C:\Release\SCA\1.0\RC3a\svn\samples\implementa
tion-composite\target\surefire-reports

---
 T E S T S
---
Running composite.CompositeTestCase
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.821 sec <<< FA
ILURE!
test(composite.CompositeTestCase)  Time elapsed: 0.771 sec  <<< ERROR!
org.osoa.sca.ServiceRuntimeException: org.osoa.sca.ServiceRuntimeException: org.
apache.tuscany.sca.contribution.service.ContributionResolveException: java.lang.
ClassNotFoundException: org.apache.tuscany.sca.node.impl.NodeManagerServiceImpl
at org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCAD
omain.java:264)
at org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(SCADomain.
java:58)
at composite.CompositeTestCase.setUp(CompositeTestCase.java:32)






but a rebuild in the project directory succeeded




now the top level build is hanging indefinitely at ...

[INFO] 
---
[INFO] Building Apache Tuscany SCA Script Implementation Extension
[INFO]task-segment: [install]
[INFO] 
---
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
Downloading: http://people.apache.org/repo/m2-incubating-repository/groovy/groo
y-all/1.0/groovy-all-1.0.pom
[WARNING] Unable to get resource 'groovy:groovy-all:pom:1.0' from repository ap
che.incubator (http://people.apache.org/repo/m2-incubating-repository)
Downloading: http://ws.zones.apache.org/repository2/groovy/groovy-all/1.0/groov
-all-1.0.pom
[WARNING] Unable to get resource 'groovy:groovy-all:pom:1.0' from repository ap
che.ws.zone (http://ws.zones.apache.org/repository2)
Downloading: http://www.ibiblio.net/pub/packages/maven2/groovy/groovy-all/1.0/g
oovy-all-1.0.pom

Anyone else seen anything like this?
I'll kill it and try again.

Kelvin.



On 19/09/2007, ant elder <[EMAIL PROTECTED]> wrote:
> On 9/19/07, Simon Laws <[EMAIL PROTECTED]> wrote:
> >
> > On 9/19/07, kelvin goodson <[EMAIL PROTECTED]> wrote:
> > >
> > > That's where mine now fails too.
> > >
> > > On 19/09/2007, Simon Laws <[EMAIL PROTECTED]> wrote:
> > > > On 9/19/07, ant elder <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > On 9/19/07, Simon Laws <[EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > > On 9/19/07, kelvin goodson <[EMAIL PROTECTED]> wrote:
> > > > > > >
> > > > > > > If I remove the xquery-quotes reference in the samples pom and
> > try
> > > to
> > > > > > > build further i eventually get to the "Tuscany SCA Axis2-based
> > WS
> > > > > > > Binding Extension" project where I see ...
> > > > > > > ===
> > > > > > > Downloading:
> > > > > > >
> > > > > >
> > > > >
> > >
> > http://ws.zones.apache.org/repository//org.apache.woden/jars/woden-1.0-incubating-M7b.jar
> > > > > > > Downloading:
> > > > > > >
> > > > > >
> > > > >
> > >
> > http://people.apache.org/repo/m2-incubating-repository/org/apache/woden/woden/1.0-incubating-M7b/woden-1.0-
> > > > > > > incubating-M7b.jar
> > > > > > > Downloading:
> > > > > > >
> > > > > >
> > > > >
> > >
> > http://www.ibiblio.net/pub/packages/maven2/org/apache/woden/woden/1.0-incubating-M7b/woden-1.0-incubating-M
> > > > > > > 7b.jar
> > > > > > > [INFO]
> > > > > > >
> > > > >
> > > 
> > > > > > > [ERROR] BUILD ERROR
> > > > > > > [INFO]
> > > > > > >
> > > > >
> > > 
> > > > > > > [INFO] Failed to resolve artifact.
> > > > > > >
> > > > > > > Missing:
> > > > > > > --
> > > > > > > 1) org.apache.woden:woden:jar:1.0-incubating-M7b
> > > > > > >
> > > > > > >   Try downloading the file manually from the project website.
> > > > > > >
> > > > > > >   Then, install it using the command:
> > > > > > >   mvn install:install-file -DgroupId=
> > > > > > org.apache.woden-DartifactId=woden \
> > > > > > >   -Dversi

[jira] Updated: (TUSCANY-1757) Fixes for implementation.osgi callbacks and AllowsPassByReference

2007-09-19 Thread Rajini Sivaram (JIRA)

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

Rajini Sivaram updated TUSCANY-1757:


Attachment: modules-contribution-osgi-patch.txt
modules-osgi-runtime-patch.txt

> Fixes for implementation.osgi callbacks and AllowsPassByReference
> -
>
> Key: TUSCANY-1757
> URL: https://issues.apache.org/jira/browse/TUSCANY-1757
> Project: Tuscany
>  Issue Type: Bug
>  Components: Java SCA OSGi Integration
>Reporter: Rajini Sivaram
>Priority: Minor
> Attachments: itest-osgi-implementation-patch.txt, 
> modules-contribution-osgi-patch.txt, modules-implementation-osgi-patch.txt, 
> modules-osgi-runtime-patch.txt, samples-osgi-supplychain-patch.txt
>
>
> Scoping for callbacks is broken in implementation.osgi. In OSGi, instances 
> are associated with services rather than components (which are based on the 
> bundle). To implement SCA scoping for callbacks, the callback should be 
> associated to one of the instances from the component.
> @AllowsPassByReference is not handled correctly for implementation.osgi since 
> annotations are not read until the implementation provider is started and all 
> the bundles are resolved. If the names of the implementation classes in the 
> bundle are not listed in , annotations will not be read 
> until the first service instance is obtained from OSGi. Since pass-by-value 
> interceptor relies on obtaining the list of methods which support 
> pass-by-reference before this stage, we need to bypass the interceptor and 
> leave it to the OSGi invoker to decide whether pass-by-reference is allowed.
> The patch also modifies itest/osgi-implementation to use a subdirectory under 
> target/classes as the contribution URL for each of its tests since there are 
> a large number of tests under this project, and at the moment all the 
> composites are loaded when each test is run. Conversation and callback tests 
> have also been added.

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


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



[jira] Updated: (TUSCANY-1757) Fixes for implementation.osgi callbacks and AllowsPassByReference

2007-09-19 Thread Rajini Sivaram (JIRA)

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

Rajini Sivaram updated TUSCANY-1757:


Attachment: (was: modules-osgi-runtime-patch.txt)

> Fixes for implementation.osgi callbacks and AllowsPassByReference
> -
>
> Key: TUSCANY-1757
> URL: https://issues.apache.org/jira/browse/TUSCANY-1757
> Project: Tuscany
>  Issue Type: Bug
>  Components: Java SCA OSGi Integration
>Reporter: Rajini Sivaram
>Priority: Minor
> Attachments: itest-osgi-implementation-patch.txt, 
> modules-contribution-osgi-patch.txt, modules-implementation-osgi-patch.txt, 
> modules-osgi-runtime-patch.txt, samples-osgi-supplychain-patch.txt
>
>
> Scoping for callbacks is broken in implementation.osgi. In OSGi, instances 
> are associated with services rather than components (which are based on the 
> bundle). To implement SCA scoping for callbacks, the callback should be 
> associated to one of the instances from the component.
> @AllowsPassByReference is not handled correctly for implementation.osgi since 
> annotations are not read until the implementation provider is started and all 
> the bundles are resolved. If the names of the implementation classes in the 
> bundle are not listed in , annotations will not be read 
> until the first service instance is obtained from OSGi. Since pass-by-value 
> interceptor relies on obtaining the list of methods which support 
> pass-by-reference before this stage, we need to bypass the interceptor and 
> leave it to the OSGi invoker to decide whether pass-by-reference is allowed.
> The patch also modifies itest/osgi-implementation to use a subdirectory under 
> target/classes as the contribution URL for each of its tests since there are 
> a large number of tests under this project, and at the moment all the 
> composites are loaded when each test is run. Conversation and callback tests 
> have also been added.

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


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



Re: [VOTE] Release Tuscany Java SCA 1.0 RC3

2007-09-19 Thread ant elder
On 9/19/07, Simon Laws <[EMAIL PROTECTED]> wrote:
>
> On 9/19/07, kelvin goodson <[EMAIL PROTECTED]> wrote:
> >
> > That's where mine now fails too.
> >
> > On 19/09/2007, Simon Laws <[EMAIL PROTECTED]> wrote:
> > > On 9/19/07, ant elder <[EMAIL PROTECTED]> wrote:
> > > >
> > > > On 9/19/07, Simon Laws <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > On 9/19/07, kelvin goodson <[EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > > If I remove the xquery-quotes reference in the samples pom and
> try
> > to
> > > > > > build further i eventually get to the "Tuscany SCA Axis2-based
> WS
> > > > > > Binding Extension" project where I see ...
> > > > > > ===
> > > > > > Downloading:
> > > > > >
> > > > >
> > > >
> >
> http://ws.zones.apache.org/repository//org.apache.woden/jars/woden-1.0-incubating-M7b.jar
> > > > > > Downloading:
> > > > > >
> > > > >
> > > >
> >
> http://people.apache.org/repo/m2-incubating-repository/org/apache/woden/woden/1.0-incubating-M7b/woden-1.0-
> > > > > > incubating-M7b.jar
> > > > > > Downloading:
> > > > > >
> > > > >
> > > >
> >
> http://www.ibiblio.net/pub/packages/maven2/org/apache/woden/woden/1.0-incubating-M7b/woden-1.0-incubating-M
> > > > > > 7b.jar
> > > > > > [INFO]
> > > > > >
> > > >
> > 
> > > > > > [ERROR] BUILD ERROR
> > > > > > [INFO]
> > > > > >
> > > >
> > 
> > > > > > [INFO] Failed to resolve artifact.
> > > > > >
> > > > > > Missing:
> > > > > > --
> > > > > > 1) org.apache.woden:woden:jar:1.0-incubating-M7b
> > > > > >
> > > > > >   Try downloading the file manually from the project website.
> > > > > >
> > > > > >   Then, install it using the command:
> > > > > >   mvn install:install-file -DgroupId=
> > > > > org.apache.woden-DartifactId=woden \
> > > > > >   -Dversion=1.0-incubating-M7b -Dpackaging=jar
> > > > > > -Dfile=/path/to/file
> > > > > > Alternatively, if you host your own repository you can deploy
> the
> > file
> > > > > > there:   mvn deploy:deploy-file -DgroupId=org
> > > > > > .apache.woden -DartifactId=woden \
> > > > > >   -Dversion=1.0-incubating-M7b -Dpackaging=jar
> > > > > > -Dfile=/path/to/file \
> > > > > >-Durl=[url] -DrepositoryId=[id]
> > > > > >
> > > > > >   Path to dependency:
> > > > > > 1)
> > > > > >
> org.apache.tuscany.sca:tuscany-binding-ws-axis2:jar:1.0-incubating
> > > > > > 2) org.apache.woden:woden:jar:1.0-incubating-M7b
> > > > > >
> > > > > > --
> > > > > > 1 required artifact is missing.
> > > > > >
> > > > > > for artifact:
> > > > > >
> > org.apache.tuscany.sca:tuscany-binding-ws-axis2:jar:1.0-incubating
> > > > > >
> > > > > > from the specified remote repositories:
> > > > > >   apache.incubator (
> > > > > http://people.apache.org/repo/m2-incubating-repository
> > > > > > ),
> > > > > >   central (http://repo1.maven.org/maven2),
> > > > > >   apache.snapshots (
> > > > http://people.apache.org/repo/m2-snapshot-repository
> > > > > ),
> > > > > >   apache.ws (http://ws.zones.apache.org/repository/)
> > > > > >
> > > > > > 
> > > > > >
> > > > > > On 19/09/2007, kelvin goodson <[EMAIL PROTECTED]> wrote:
> > > > > > > The source distro now has a reference to quote-xquery in the
> top
> > > > level
> > > > > > > pom,  but the sample code is not included in the distro.
> > > > > > >
> > > > > > >
> > > > > > > C:\Release\SCA\1.0\RC3\src\tuscany-sca-1.0-incubating-src>mvn
> > clean
> > > > > > > [INFO] Scanning for projects...
> > > > > > > [INFO]
> > > > > >
> > > >
> > 
> > > > > > > [ERROR] FATAL ERROR
> > > > > > > [INFO]
> > > > > >
> > > >
> > 
> > > > > > > [INFO] Error building POM (may not be this project's POM).
> > > > > > >
> > > > > > >
> > > > > > > Project ID: unknown
> > > > > > >
> > > > > > > Reason: Could not find the model file
> > > > > > > 'C:\Release\SCA\1.0\RC3\src\tuscany-
> > > > > > sca-1.0-incubating-src\samples\quote-xquery\po
> > > > > > > m.xml'. for project unknown
> > > > > > >
> > > > > > >
> > > > > > > [INFO]
> > > > > >
> > > >
> > 
> > > > > > > [INFO] Trace
> > > > > > > org.apache.maven.reactor.MavenExecutionException: Could not
> find
> > the
> > > > > > > model file 'C:\Release\SCA\1.0\RC3\src\tuscany-sca-
> > > > > > > 1.0-incubating-src\samples\quote-xquery\pom.xml'. for project
> > > > unknown
> > > > > > > at org.apache.maven.DefaultMaven.getProjects(
> > > > DefaultMaven.java
> > > > > > :378)
> > > > > > > at org.apache.maven.DefaultMaven.doExecute(
> > DefaultMaven.java
> > > > > > :290)
> > > > > > > at org.apache.maven.DefaultMaven.execute(
> > DefaultMaven.java
> > > > > :125)
> 

[jira] Updated: (TUSCANY-1665) Sample to demo DAS with external Transaction Manager

2007-09-19 Thread Amita Vadhavkar (JIRA)

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

Amita Vadhavkar updated TUSCANY-1665:
-

Attachment: 1665.patch

Patch on Sep 6 was using JOTM .
Patch on Sep 19 is using Geronimo. This TM is used to make use of the 
commonly used TM in SCA and other modules.
Please see readme for how to run.

Files changed:
distribution/binary/pom.xml
distribution/binary/src/main/assembly/das.xml
samples/dbconfig/src/main/java/org/apache/tuscany/das/rdb/dbconfig/DBHelper.java
samples/pom.xml
samples/transaction/build.xml
samples/transaction/pom.xml
samples/transaction/readme.htm
samples/transaction/src/main/java/org/apache/tuscany/samples/das/databaseSetup/DatabaseSetupUtil.java
samples/transaction/src/main/java/org/apache/tuscany/samples/das/tx/manager/GeronimoTransactionManagerService.java
samples/transaction/src/main/java/org/apache/tuscany/samples/das/tx/manager/GeronimoTransactionManagerUtil.java
samples/transaction/src/main/java/org/apache/tuscany/samples/das/tx/sample/MoneyTransfer.java
samples/transaction/src/main/resources/BankAccountDBConfig.xml
samples/transaction/src/main/resources/BankAccounts.xml

> Sample to demo DAS with external Transaction Manager
> 
>
> Key: TUSCANY-1665
> URL: https://issues.apache.org/jira/browse/TUSCANY-1665
> Project: Tuscany
>  Issue Type: Improvement
>  Components: Java DAS RDB
>Affects Versions: Java-DAS-Next
>Reporter: Amita Vadhavkar
>Assignee: Amita Vadhavkar
> Fix For: Java-DAS-Next
>
> Attachments: 1665.patch, 1665.patch, 1665.patch
>
>
> Use JOTM/Some other TM with a simple non-web/web sample to show how DAS can 
> participate in externally managed transaction

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


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



[jira] Created: (TUSCANY-1760) User Doc for implementation.osgi

2007-09-19 Thread Rajini Sivaram (JIRA)
User Doc for implementation.osgi


 Key: TUSCANY-1760
 URL: https://issues.apache.org/jira/browse/TUSCANY-1760
 Project: Tuscany
  Issue Type: Bug
  Components: Website
Reporter: Rajini Sivaram
Priority: Trivial


I have added documentation for implementation.osgi at


http://cwiki.apache.org/confluence/display/TUSCANYWIKI/SCA+Java+implementation.osgi

Please include it in the extension documentation in the Wiki.

Thank you.


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


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



Interoperable SCA conversations over Web services

2007-09-19 Thread Simon Nash

I just came across the following in the SCA Web Service binding spec:

227 2.2.3 Example PolicySet Providing The Conversation Intent

228 This policy set applies to binding.ws and provides the conversation intent. 
The conversation
229 intent is provided by using WS-ReliableMessaging protocol which has a 
concept of a Sequence.
230 This Sequence (which appears as a wsrm:Sequence SOAP header in the message) 
is used as a
231 correlation mechanism, on the wire, to implement conversational semantics.

232 
235 
236 http://docs.oasis-open.org/ws-rx/wsrmp/200608"/>
238 
239 

It seems that we will need to do some more work in the Web Service
binding to implement this.  The WS-RM protocol looks quite complicated,
much more so than WS-Addressing.  I'm not sure yet what the minimal
subset would be to support SCA conversational semantics.

There's nothing in the Web Service binding spec about callbacks.
I have sent a note to the OASIS Bindings TC mailing list requesting
that the Bindings TC consider adding an interoperable protocol for
callbacks to the Web Service binding specification.

  Simon



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



Fwd: [SDO C++] Setting::getDataObjectValue question

2007-09-19 Thread Adriano Crestani
-- Forwarded message --
From: Adriano Crestani <[EMAIL PROTECTED]>
Date: Sep 18, 2007 4:20 PM
Subject: [SDO C++] Setting::getDataObjectValue question
To: [EMAIL PROTECTED]

I have the following code:

const commonj::sdo::SettingList& settings =
summary->getOldValues(dataObject);

for (int i = 0 ; i < settings.size() ; i++) {

if (!settings[i].getProperty().getType().isDataType()) {

commonj::sdo::DataObjectPtr value =
setting[i].getDataObjectValue();

}

}


Shold the "value" variable always be a valid pointer? Cause it's returning
NULL for me.

Adriano Crestani


Re: [VOTE] Release Tuscany Java SCA 1.0 RC3

2007-09-19 Thread Simon Laws
On 9/19/07, kelvin goodson <[EMAIL PROTECTED]> wrote:
>
> That's where mine now fails too.
>
> On 19/09/2007, Simon Laws <[EMAIL PROTECTED]> wrote:
> > On 9/19/07, ant elder <[EMAIL PROTECTED]> wrote:
> > >
> > > On 9/19/07, Simon Laws <[EMAIL PROTECTED]> wrote:
> > > >
> > > > On 9/19/07, kelvin goodson <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > If I remove the xquery-quotes reference in the samples pom and try
> to
> > > > > build further i eventually get to the "Tuscany SCA Axis2-based WS
> > > > > Binding Extension" project where I see ...
> > > > > ===
> > > > > Downloading:
> > > > >
> > > >
> > >
> http://ws.zones.apache.org/repository//org.apache.woden/jars/woden-1.0-incubating-M7b.jar
> > > > > Downloading:
> > > > >
> > > >
> > >
> http://people.apache.org/repo/m2-incubating-repository/org/apache/woden/woden/1.0-incubating-M7b/woden-1.0-
> > > > > incubating-M7b.jar
> > > > > Downloading:
> > > > >
> > > >
> > >
> http://www.ibiblio.net/pub/packages/maven2/org/apache/woden/woden/1.0-incubating-M7b/woden-1.0-incubating-M
> > > > > 7b.jar
> > > > > [INFO]
> > > > >
> > >
> 
> > > > > [ERROR] BUILD ERROR
> > > > > [INFO]
> > > > >
> > >
> 
> > > > > [INFO] Failed to resolve artifact.
> > > > >
> > > > > Missing:
> > > > > --
> > > > > 1) org.apache.woden:woden:jar:1.0-incubating-M7b
> > > > >
> > > > >   Try downloading the file manually from the project website.
> > > > >
> > > > >   Then, install it using the command:
> > > > >   mvn install:install-file -DgroupId=
> > > > org.apache.woden-DartifactId=woden \
> > > > >   -Dversion=1.0-incubating-M7b -Dpackaging=jar
> > > > > -Dfile=/path/to/file
> > > > > Alternatively, if you host your own repository you can deploy the
> file
> > > > > there:   mvn deploy:deploy-file -DgroupId=org
> > > > > .apache.woden -DartifactId=woden \
> > > > >   -Dversion=1.0-incubating-M7b -Dpackaging=jar
> > > > > -Dfile=/path/to/file \
> > > > >-Durl=[url] -DrepositoryId=[id]
> > > > >
> > > > >   Path to dependency:
> > > > > 1)
> > > > > org.apache.tuscany.sca:tuscany-binding-ws-axis2:jar:1.0-incubating
> > > > > 2) org.apache.woden:woden:jar:1.0-incubating-M7b
> > > > >
> > > > > --
> > > > > 1 required artifact is missing.
> > > > >
> > > > > for artifact:
> > > > >
> org.apache.tuscany.sca:tuscany-binding-ws-axis2:jar:1.0-incubating
> > > > >
> > > > > from the specified remote repositories:
> > > > >   apache.incubator (
> > > > http://people.apache.org/repo/m2-incubating-repository
> > > > > ),
> > > > >   central (http://repo1.maven.org/maven2),
> > > > >   apache.snapshots (
> > > http://people.apache.org/repo/m2-snapshot-repository
> > > > ),
> > > > >   apache.ws (http://ws.zones.apache.org/repository/)
> > > > >
> > > > > 
> > > > >
> > > > > On 19/09/2007, kelvin goodson <[EMAIL PROTECTED]> wrote:
> > > > > > The source distro now has a reference to quote-xquery in the top
> > > level
> > > > > > pom,  but the sample code is not included in the distro.
> > > > > >
> > > > > >
> > > > > > C:\Release\SCA\1.0\RC3\src\tuscany-sca-1.0-incubating-src>mvn
> clean
> > > > > > [INFO] Scanning for projects...
> > > > > > [INFO]
> > > > >
> > >
> 
> > > > > > [ERROR] FATAL ERROR
> > > > > > [INFO]
> > > > >
> > >
> 
> > > > > > [INFO] Error building POM (may not be this project's POM).
> > > > > >
> > > > > >
> > > > > > Project ID: unknown
> > > > > >
> > > > > > Reason: Could not find the model file
> > > > > > 'C:\Release\SCA\1.0\RC3\src\tuscany-
> > > > > sca-1.0-incubating-src\samples\quote-xquery\po
> > > > > > m.xml'. for project unknown
> > > > > >
> > > > > >
> > > > > > [INFO]
> > > > >
> > >
> 
> > > > > > [INFO] Trace
> > > > > > org.apache.maven.reactor.MavenExecutionException: Could not find
> the
> > > > > > model file 'C:\Release\SCA\1.0\RC3\src\tuscany-sca-
> > > > > > 1.0-incubating-src\samples\quote-xquery\pom.xml'. for project
> > > unknown
> > > > > > at org.apache.maven.DefaultMaven.getProjects(
> > > DefaultMaven.java
> > > > > :378)
> > > > > > at org.apache.maven.DefaultMaven.doExecute(
> DefaultMaven.java
> > > > > :290)
> > > > > > at org.apache.maven.DefaultMaven.execute(
> DefaultMaven.java
> > > > :125)
> > > > > > at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
> > > > > >
> > > > > > Kelvin.
> > > > > >
> > > > > > On 19/09/2007, ant elder <[EMAIL PROTECTED]> wrote:
> > > > > > > Please review and vote on the 1.0 release artifacts of Tuscany
> SCA
> > > > for
> > > > > Java.
> > > > > > >
> > > > > > > The SVN tag for th

Re: [VOTE] Release Tuscany Java SCA 1.0 RC3

2007-09-19 Thread Simon Laws
On 9/19/07, Simon Nash <[EMAIL PROTECTED]> wrote:
>
>
> Simon Laws wrote:
> > On 9/19/07, ant elder <[EMAIL PROTECTED]> wrote:
> >
> > (cut)
> >
> > yep , thats what I have. Seems to do the trick.
> >
> > I now have...
> >
> > [INFO]
> > 
> > [ERROR] BUILD ERROR
> > [INFO]
> > 
> > [INFO] Internal error in the plugin manager executing goal '
> > org.apache.maven.plu
> > gins:maven-surefire-plugin:2.3:test': Unable to find the mojo '
> > org.apache.maven.
> > plugins:maven-surefire-plugin:2.3:test' in the plugin '
> > org.apache.maven.plugins:
> > maven-surefire-plugin'
> > Component descriptor cannot be found in the component repository:
> > org.apache.mav
> > en.plugin.Mojoorg.apache.maven.plugins:maven-surefire-plugin:2.3:test.
> >
> > In the BPEL implementation
> >
> > Simon
> >
> I got this problem as well.  I tried building the module again
> individually (first attempt was from the top level with an empty repo)
> and it worked OK.  Rebuilding it after "mvn" clean also worked so it
> must be something connected with the state of the repo.
>
>Simon
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> Yes, I now see it work when building at the module level too.

Simon


Re: websphere web service deployment problem

2007-09-19 Thread Radim Kolarik
Hi Simon,

thanks for your reply. We will test it now with 6.1.0.9 and I will let
you know the result of that.

Thanks,
Radim

On 9/19/07, Simon Nash <[EMAIL PROTECTED]> wrote:
> As it's night time in California, I'll answer this question.
> Sebastien told me that he had tested on 6.1.0.9.  Can you use that
> level instead of 6.1.0.11?
>
>   Simon
>
> Radim Kolarik wrote:
>
> > Hi Sebastien,
> >
> > I am having problems making the app work on Websphere 6.1.0.11. Did
> > you try that particular fixpack, or did you try 6.1.0.9?
> >
> > In the 6.1.0.11 WAS the service is not being picked up at all, nothing
> > at all is logged to the log file if I try to access the service URL. I
> > tried it with the release candidate RC3.
> >
> > Thanks,
> > Radim
> >
> >
> > On 9/14/07, Jean-Sebastien Delfino <[EMAIL PROTECTED]> wrote:
> >
> >>Jean-Sebastien Delfino wrote:
> >>
> >>>Jean-Sebastien Delfino wrote:
> >>>
> Radim Kolarik wrote:
> 
> >Hi Sebastian,
> >
> >I received the latest code from ant and I can confirm that the service
> >generates the WSDL file now. The  element doesn't even
> >need uri attribute, it works without any attributes!
> >
> >However, there is still some problem, the generated WSDL contains
> >
> >Error 404: SRVE0190E: File not found: /ComponentName
> >
> >at it's end, right after the . I have created a
> >JIRA for this: https://issues.apache.org/jira/browse/TUSCANY-1702.
> >
> >Are you seeing the same problem?
> >
> >Best regards,
> >Radim
> >
> >
> 
> I just checked and am seeing this issue too (I had just not noticed
> that additional line at the end of the WSDL). However, the Web
> Service binding actually works for me on both references and services
> so if you manage to workaround that additional line at the end of the
> generated WSDL it should work for you too.
> 
> I think it's another of these small behavior differences. On
> WebSphere we probably need to force a close of the response
> outputStream before returning from the servlet filter. I'm
> experimenting with that right now and will give an update soon...
> 
> >>>
> >>>Radim, after a fun debugging session and some digging around here's an
> >>>update:
> >>>
> >>>- The issue you're seeing is the same as [1].
> >>>
> >>>- This is a WebSphere 6.1 bug, a fix is available at [2].
> >>>
> >>>I'm going to try some of the workarounds suggested in [1] and see if
> >>>they work for Tuscany. It would be good if you could also try the
> >>>WebSphere fix [2] as well if possible.
> >>>
> >>>[1] https://issues.apache.org/struts/browse/WW-1839
> >>>[2] http://www-1.ibm.com/support/docview.wss?uid=swg24014758
> >>>
> >>>Hope this helps.
> >>>
> >>
> >>Radim,
> >>
> >>It doesn't look like I can workaround this WebSphere bug in the Tuscany
> >>code. Your best bet is to install the fix at [2].
> >>
> >>Could you please let us know the results after you do that? Thanks.
> >>
> >>--
> >>Jean-Sebastien
> >>
> >>
> >>-
> >>To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >
> >
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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



Intermittent failure of sample/implementation-composite

2007-09-19 Thread Simon Laws
Some people are seeing

---
Running composite.CompositeTestCase
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.296 sec
<<< FAILURE!
test(composite.CompositeTestCase)  Time elapsed: 1.203 sec  <<< ERROR!
org.osoa.sca.ServiceRuntimeException: org.osoa.sca.ServiceRuntimeException:
org.apache.tuscany.sca.contribution.service.ContributionResolveE
xception: java.lang.ClassNotFoundException:
org.apache.tuscany.sca.node.impl.NodeManagerServiceImpl
   at org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(
SCADomain.java:264)
   at org.apache.tuscany.sca.host.embedded.SCADomain.newInstance (
SCADomain.java:58)

Intermittently.

Looking at this output it seems that the test is trying to load the
node.composite from the node module and failing as it doesn't have the
classes that that composite requires. It should actually be loading the
composites under implementation-composite/src/main.resources.

It's using the following to create the domain...

scaDomain = SCADomain.newInstance();

Which basically means it's going looking for

sca-contribution.xml, sca-contribution-generated.xml(not sure this is the
exact name) or deployables/ on the classpath

In some circumstances it's finding the node version and in others it's
finding the module version. I don't know what makes it do one or the other.

There are two things we can do to try and fix this.

1/ in node, don't use the sca-contribution.xml for making the composite
deployable and remove the file so it can;t be found.
2/ make the implementation-composite sample use a more explicit constructor
identifying the local composite directly.

I'll have a go once past the current build problems.

Simon


Re: [VOTE] Release Tuscany Java SCA 1.0 RC3

2007-09-19 Thread kelvin goodson
Works for me.
--
Kelvin.

On 19/09/2007, ant elder <[EMAIL PROTECTED]> wrote:
> On 9/19/07, Simon Laws <[EMAIL PROTECTED]> wrote:
> >
> > On 9/19/07, kelvin goodson <[EMAIL PROTECTED]> wrote:
> > >
> > > If I remove the xquery-quotes reference in the samples pom and try to
> > > build further i eventually get to the "Tuscany SCA Axis2-based WS
> > > Binding Extension" project where I see ...
> > > ===
> > > Downloading:
> > >
> > http://ws.zones.apache.org/repository//org.apache.woden/jars/woden-1.0-incubating-M7b.jar
> > > Downloading:
> > >
> > http://people.apache.org/repo/m2-incubating-repository/org/apache/woden/woden/1.0-incubating-M7b/woden-1.0-
> > > incubating-M7b.jar
> > > Downloading:
> > >
> > http://www.ibiblio.net/pub/packages/maven2/org/apache/woden/woden/1.0-incubating-M7b/woden-1.0-incubating-M
> > > 7b.jar
> > > [INFO]
> > > 
> > > [ERROR] BUILD ERROR
> > > [INFO]
> > > 
> > > [INFO] Failed to resolve artifact.
> > >
> > > Missing:
> > > --
> > > 1) org.apache.woden:woden:jar:1.0-incubating-M7b
> > >
> > >   Try downloading the file manually from the project website.
> > >
> > >   Then, install it using the command:
> > >   mvn install:install-file -DgroupId=
> > org.apache.woden-DartifactId=woden \
> > >   -Dversion=1.0-incubating-M7b -Dpackaging=jar
> > > -Dfile=/path/to/file
> > > Alternatively, if you host your own repository you can deploy the file
> > > there:   mvn deploy:deploy-file -DgroupId=org
> > > .apache.woden -DartifactId=woden \
> > >   -Dversion=1.0-incubating-M7b -Dpackaging=jar
> > > -Dfile=/path/to/file \
> > >-Durl=[url] -DrepositoryId=[id]
> > >
> > >   Path to dependency:
> > > 1)
> > > org.apache.tuscany.sca:tuscany-binding-ws-axis2:jar:1.0-incubating
> > > 2) org.apache.woden:woden:jar:1.0-incubating-M7b
> > >
> > > --
> > > 1 required artifact is missing.
> > >
> > > for artifact:
> > >   org.apache.tuscany.sca:tuscany-binding-ws-axis2:jar:1.0-incubating
> > >
> > > from the specified remote repositories:
> > >   apache.incubator (
> > http://people.apache.org/repo/m2-incubating-repository
> > > ),
> > >   central (http://repo1.maven.org/maven2),
> > >   apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository
> > ),
> > >   apache.ws (http://ws.zones.apache.org/repository/)
> > >
> > > 
> > >
> > > On 19/09/2007, kelvin goodson <[EMAIL PROTECTED]> wrote:
> > > > The source distro now has a reference to quote-xquery in the top level
> > > > pom,  but the sample code is not included in the distro.
> > > >
> > > >
> > > > C:\Release\SCA\1.0\RC3\src\tuscany-sca-1.0-incubating-src>mvn clean
> > > > [INFO] Scanning for projects...
> > > > [INFO]
> > > 
> > > > [ERROR] FATAL ERROR
> > > > [INFO]
> > > 
> > > > [INFO] Error building POM (may not be this project's POM).
> > > >
> > > >
> > > > Project ID: unknown
> > > >
> > > > Reason: Could not find the model file
> > > > 'C:\Release\SCA\1.0\RC3\src\tuscany-
> > > sca-1.0-incubating-src\samples\quote-xquery\po
> > > > m.xml'. for project unknown
> > > >
> > > >
> > > > [INFO]
> > > 
> > > > [INFO] Trace
> > > > org.apache.maven.reactor.MavenExecutionException: Could not find the
> > > > model file 'C:\Release\SCA\1.0\RC3\src\tuscany-sca-
> > > > 1.0-incubating-src\samples\quote-xquery\pom.xml'. for project unknown
> > > > at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java
> > > :378)
> > > > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java
> > > :290)
> > > > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java
> > :125)
> > > > at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
> > > >
> > > > Kelvin.
> > > >
> > > > On 19/09/2007, ant elder <[EMAIL PROTECTED]> wrote:
> > > > > Please review and vote on the 1.0 release artifacts of Tuscany SCA
> > for
> > > Java.
> > > > >
> > > > > The SVN tag for the release is:
> > > > >
> > >
> > https://svn.apache.org/repos/asf/incubator/tuscany/tags/java/sca/1.0-RC3/
> > > > >
> > > > > The artifacts are available for review at:
> > > > > http://people.apache.org/~antelder/tuscany/1.0-RC3/
> > > > >
> > > > > This includes the signed binary and source distributions, the RAT
> > > reports,
> > > > > and
> > > > > the Maven staging repository.
> > > > >
> > > > > Many thanks,
> > > > >
> > > > >...ant
> > > > >
> > > > > (Note, the artifacts are still uploading so if it looks like
> > > something's
> > > > > missing please just wait a bit,
> > > > >  You can use the tag to verify things in the meantime)
> > > > >
> > 

Re: [VOTE] Release Tuscany Java SCA 1.0 RC3

2007-09-19 Thread kelvin goodson
That's where mine now fails too.

On 19/09/2007, Simon Laws <[EMAIL PROTECTED]> wrote:
> On 9/19/07, ant elder <[EMAIL PROTECTED]> wrote:
> >
> > On 9/19/07, Simon Laws <[EMAIL PROTECTED]> wrote:
> > >
> > > On 9/19/07, kelvin goodson <[EMAIL PROTECTED]> wrote:
> > > >
> > > > If I remove the xquery-quotes reference in the samples pom and try to
> > > > build further i eventually get to the "Tuscany SCA Axis2-based WS
> > > > Binding Extension" project where I see ...
> > > > ===
> > > > Downloading:
> > > >
> > >
> > http://ws.zones.apache.org/repository//org.apache.woden/jars/woden-1.0-incubating-M7b.jar
> > > > Downloading:
> > > >
> > >
> > http://people.apache.org/repo/m2-incubating-repository/org/apache/woden/woden/1.0-incubating-M7b/woden-1.0-
> > > > incubating-M7b.jar
> > > > Downloading:
> > > >
> > >
> > http://www.ibiblio.net/pub/packages/maven2/org/apache/woden/woden/1.0-incubating-M7b/woden-1.0-incubating-M
> > > > 7b.jar
> > > > [INFO]
> > > >
> > 
> > > > [ERROR] BUILD ERROR
> > > > [INFO]
> > > >
> > 
> > > > [INFO] Failed to resolve artifact.
> > > >
> > > > Missing:
> > > > --
> > > > 1) org.apache.woden:woden:jar:1.0-incubating-M7b
> > > >
> > > >   Try downloading the file manually from the project website.
> > > >
> > > >   Then, install it using the command:
> > > >   mvn install:install-file -DgroupId=
> > > org.apache.woden-DartifactId=woden \
> > > >   -Dversion=1.0-incubating-M7b -Dpackaging=jar
> > > > -Dfile=/path/to/file
> > > > Alternatively, if you host your own repository you can deploy the file
> > > > there:   mvn deploy:deploy-file -DgroupId=org
> > > > .apache.woden -DartifactId=woden \
> > > >   -Dversion=1.0-incubating-M7b -Dpackaging=jar
> > > > -Dfile=/path/to/file \
> > > >-Durl=[url] -DrepositoryId=[id]
> > > >
> > > >   Path to dependency:
> > > > 1)
> > > > org.apache.tuscany.sca:tuscany-binding-ws-axis2:jar:1.0-incubating
> > > > 2) org.apache.woden:woden:jar:1.0-incubating-M7b
> > > >
> > > > --
> > > > 1 required artifact is missing.
> > > >
> > > > for artifact:
> > > >   org.apache.tuscany.sca:tuscany-binding-ws-axis2:jar:1.0-incubating
> > > >
> > > > from the specified remote repositories:
> > > >   apache.incubator (
> > > http://people.apache.org/repo/m2-incubating-repository
> > > > ),
> > > >   central (http://repo1.maven.org/maven2),
> > > >   apache.snapshots (
> > http://people.apache.org/repo/m2-snapshot-repository
> > > ),
> > > >   apache.ws (http://ws.zones.apache.org/repository/)
> > > >
> > > > 
> > > >
> > > > On 19/09/2007, kelvin goodson <[EMAIL PROTECTED]> wrote:
> > > > > The source distro now has a reference to quote-xquery in the top
> > level
> > > > > pom,  but the sample code is not included in the distro.
> > > > >
> > > > >
> > > > > C:\Release\SCA\1.0\RC3\src\tuscany-sca-1.0-incubating-src>mvn clean
> > > > > [INFO] Scanning for projects...
> > > > > [INFO]
> > > >
> > 
> > > > > [ERROR] FATAL ERROR
> > > > > [INFO]
> > > >
> > 
> > > > > [INFO] Error building POM (may not be this project's POM).
> > > > >
> > > > >
> > > > > Project ID: unknown
> > > > >
> > > > > Reason: Could not find the model file
> > > > > 'C:\Release\SCA\1.0\RC3\src\tuscany-
> > > > sca-1.0-incubating-src\samples\quote-xquery\po
> > > > > m.xml'. for project unknown
> > > > >
> > > > >
> > > > > [INFO]
> > > >
> > 
> > > > > [INFO] Trace
> > > > > org.apache.maven.reactor.MavenExecutionException: Could not find the
> > > > > model file 'C:\Release\SCA\1.0\RC3\src\tuscany-sca-
> > > > > 1.0-incubating-src\samples\quote-xquery\pom.xml'. for project
> > unknown
> > > > > at org.apache.maven.DefaultMaven.getProjects(
> > DefaultMaven.java
> > > > :378)
> > > > > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java
> > > > :290)
> > > > > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java
> > > :125)
> > > > > at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
> > > > >
> > > > > Kelvin.
> > > > >
> > > > > On 19/09/2007, ant elder <[EMAIL PROTECTED]> wrote:
> > > > > > Please review and vote on the 1.0 release artifacts of Tuscany SCA
> > > for
> > > > Java.
> > > > > >
> > > > > > The SVN tag for the release is:
> > > > > >
> > > >
> > >
> > https://svn.apache.org/repos/asf/incubator/tuscany/tags/java/sca/1.0-RC3/
> > > > > >
> > > > > > The artifacts are available for review at:
> > > > > > http://people.apache.org/~antelder/tuscany/1.0-RC3/
> > > > > >
> > > > > > This includes the signed binary and source distributions, the RAT
> > 

Re: [VOTE] Release Tuscany Java SCA 1.0 RC3

2007-09-19 Thread kelvin goodson
sorry - should have been more specific ...
ant's fix for the repository
--- pom.xml (revision 577121)
+++ pom.xml (working copy)
@@ -42,6 +42,17 @@
  apache.incubator
  http://people.apache.org/repo/m2-incubating-repository
   
+
+apache.ws.zone
+Apache WS Zone Repository
+http://ws.zones.apache.org/repository2
+
+true
+
+
+false
+
+




works for me.

Kelvin.


On 19/09/2007, kelvin goodson <[EMAIL PROTECTED]> wrote:
> Works for me.
> --
> Kelvin.
>
> On 19/09/2007, ant elder <[EMAIL PROTECTED]> wrote:
> > On 9/19/07, Simon Laws <[EMAIL PROTECTED]> wrote:
> > >
> > > On 9/19/07, kelvin goodson <[EMAIL PROTECTED]> wrote:
> > > >
> > > > If I remove the xquery-quotes reference in the samples pom and try to
> > > > build further i eventually get to the "Tuscany SCA Axis2-based WS
> > > > Binding Extension" project where I see ...
> > > > ===
> > > > Downloading:
> > > >
> > > http://ws.zones.apache.org/repository//org.apache.woden/jars/woden-1.0-incubating-M7b.jar
> > > > Downloading:
> > > >
> > > http://people.apache.org/repo/m2-incubating-repository/org/apache/woden/woden/1.0-incubating-M7b/woden-1.0-
> > > > incubating-M7b.jar
> > > > Downloading:
> > > >
> > > http://www.ibiblio.net/pub/packages/maven2/org/apache/woden/woden/1.0-incubating-M7b/woden-1.0-incubating-M
> > > > 7b.jar
> > > > [INFO]
> > > > 
> > > > [ERROR] BUILD ERROR
> > > > [INFO]
> > > > 
> > > > [INFO] Failed to resolve artifact.
> > > >
> > > > Missing:
> > > > --
> > > > 1) org.apache.woden:woden:jar:1.0-incubating-M7b
> > > >
> > > >   Try downloading the file manually from the project website.
> > > >
> > > >   Then, install it using the command:
> > > >   mvn install:install-file -DgroupId=
> > > org.apache.woden-DartifactId=woden \
> > > >   -Dversion=1.0-incubating-M7b -Dpackaging=jar
> > > > -Dfile=/path/to/file
> > > > Alternatively, if you host your own repository you can deploy the file
> > > > there:   mvn deploy:deploy-file -DgroupId=org
> > > > .apache.woden -DartifactId=woden \
> > > >   -Dversion=1.0-incubating-M7b -Dpackaging=jar
> > > > -Dfile=/path/to/file \
> > > >-Durl=[url] -DrepositoryId=[id]
> > > >
> > > >   Path to dependency:
> > > > 1)
> > > > org.apache.tuscany.sca:tuscany-binding-ws-axis2:jar:1.0-incubating
> > > > 2) org.apache.woden:woden:jar:1.0-incubating-M7b
> > > >
> > > > --
> > > > 1 required artifact is missing.
> > > >
> > > > for artifact:
> > > >   org.apache.tuscany.sca:tuscany-binding-ws-axis2:jar:1.0-incubating
> > > >
> > > > from the specified remote repositories:
> > > >   apache.incubator (
> > > http://people.apache.org/repo/m2-incubating-repository
> > > > ),
> > > >   central (http://repo1.maven.org/maven2),
> > > >   apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository
> > > ),
> > > >   apache.ws (http://ws.zones.apache.org/repository/)
> > > >
> > > > 
> > > >
> > > > On 19/09/2007, kelvin goodson <[EMAIL PROTECTED]> wrote:
> > > > > The source distro now has a reference to quote-xquery in the top level
> > > > > pom,  but the sample code is not included in the distro.
> > > > >
> > > > >
> > > > > C:\Release\SCA\1.0\RC3\src\tuscany-sca-1.0-incubating-src>mvn clean
> > > > > [INFO] Scanning for projects...
> > > > > [INFO]
> > > > 
> > > > > [ERROR] FATAL ERROR
> > > > > [INFO]
> > > > 
> > > > > [INFO] Error building POM (may not be this project's POM).
> > > > >
> > > > >
> > > > > Project ID: unknown
> > > > >
> > > > > Reason: Could not find the model file
> > > > > 'C:\Release\SCA\1.0\RC3\src\tuscany-
> > > > sca-1.0-incubating-src\samples\quote-xquery\po
> > > > > m.xml'. for project unknown
> > > > >
> > > > >
> > > > > [INFO]
> > > > 
> > > > > [INFO] Trace
> > > > > org.apache.maven.reactor.MavenExecutionException: Could not find the
> > > > > model file 'C:\Release\SCA\1.0\RC3\src\tuscany-sca-
> > > > > 1.0-incubating-src\samples\quote-xquery\pom.xml'. for project unknown
> > > > > at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java
> > > > :378)
> > > > > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java
> > > > :290)
> > > > > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java
> > > :125)
> > > > > at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
> > > > >
> > > > > Kelvin.
> > > > >
> > > > > On 19/09/2007, ant elder <[EMAIL PROTECTED]> wrote:
> >

Re: [VOTE] Release Tuscany Java SCA 1.0 RC3

2007-09-19 Thread Simon Nash


Simon Laws wrote:

On 9/19/07, ant elder <[EMAIL PROTECTED]> wrote:

>

(cut)

yep , thats what I have. Seems to do the trick.

I now have...

[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Internal error in the plugin manager executing goal '
org.apache.maven.plu
gins:maven-surefire-plugin:2.3:test': Unable to find the mojo '
org.apache.maven.
plugins:maven-surefire-plugin:2.3:test' in the plugin '
org.apache.maven.plugins:
maven-surefire-plugin'
Component descriptor cannot be found in the component repository:
org.apache.mav
en.plugin.Mojoorg.apache.maven.plugins:maven-surefire-plugin:2.3:test.

In the BPEL implementation

Simon


I got this problem as well.  I tried building the module again
individually (first attempt was from the top level with an empty repo)
and it worked OK.  Rebuilding it after "mvn" clean also worked so it
must be something connected with the state of the repo.

  Simon



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



Re: [VOTE] Release Tuscany Java SCA 1.0 RC3

2007-09-19 Thread Simon Laws
On 9/19/07, ant elder <[EMAIL PROTECTED]> wrote:
>
> On 9/19/07, Simon Laws <[EMAIL PROTECTED]> wrote:
> >
> > On 9/19/07, kelvin goodson <[EMAIL PROTECTED]> wrote:
> > >
> > > If I remove the xquery-quotes reference in the samples pom and try to
> > > build further i eventually get to the "Tuscany SCA Axis2-based WS
> > > Binding Extension" project where I see ...
> > > ===
> > > Downloading:
> > >
> >
> http://ws.zones.apache.org/repository//org.apache.woden/jars/woden-1.0-incubating-M7b.jar
> > > Downloading:
> > >
> >
> http://people.apache.org/repo/m2-incubating-repository/org/apache/woden/woden/1.0-incubating-M7b/woden-1.0-
> > > incubating-M7b.jar
> > > Downloading:
> > >
> >
> http://www.ibiblio.net/pub/packages/maven2/org/apache/woden/woden/1.0-incubating-M7b/woden-1.0-incubating-M
> > > 7b.jar
> > > [INFO]
> > >
> 
> > > [ERROR] BUILD ERROR
> > > [INFO]
> > >
> 
> > > [INFO] Failed to resolve artifact.
> > >
> > > Missing:
> > > --
> > > 1) org.apache.woden:woden:jar:1.0-incubating-M7b
> > >
> > >   Try downloading the file manually from the project website.
> > >
> > >   Then, install it using the command:
> > >   mvn install:install-file -DgroupId=
> > org.apache.woden-DartifactId=woden \
> > >   -Dversion=1.0-incubating-M7b -Dpackaging=jar
> > > -Dfile=/path/to/file
> > > Alternatively, if you host your own repository you can deploy the file
> > > there:   mvn deploy:deploy-file -DgroupId=org
> > > .apache.woden -DartifactId=woden \
> > >   -Dversion=1.0-incubating-M7b -Dpackaging=jar
> > > -Dfile=/path/to/file \
> > >-Durl=[url] -DrepositoryId=[id]
> > >
> > >   Path to dependency:
> > > 1)
> > > org.apache.tuscany.sca:tuscany-binding-ws-axis2:jar:1.0-incubating
> > > 2) org.apache.woden:woden:jar:1.0-incubating-M7b
> > >
> > > --
> > > 1 required artifact is missing.
> > >
> > > for artifact:
> > >   org.apache.tuscany.sca:tuscany-binding-ws-axis2:jar:1.0-incubating
> > >
> > > from the specified remote repositories:
> > >   apache.incubator (
> > http://people.apache.org/repo/m2-incubating-repository
> > > ),
> > >   central (http://repo1.maven.org/maven2),
> > >   apache.snapshots (
> http://people.apache.org/repo/m2-snapshot-repository
> > ),
> > >   apache.ws (http://ws.zones.apache.org/repository/)
> > >
> > > 
> > >
> > > On 19/09/2007, kelvin goodson <[EMAIL PROTECTED]> wrote:
> > > > The source distro now has a reference to quote-xquery in the top
> level
> > > > pom,  but the sample code is not included in the distro.
> > > >
> > > >
> > > > C:\Release\SCA\1.0\RC3\src\tuscany-sca-1.0-incubating-src>mvn clean
> > > > [INFO] Scanning for projects...
> > > > [INFO]
> > >
> 
> > > > [ERROR] FATAL ERROR
> > > > [INFO]
> > >
> 
> > > > [INFO] Error building POM (may not be this project's POM).
> > > >
> > > >
> > > > Project ID: unknown
> > > >
> > > > Reason: Could not find the model file
> > > > 'C:\Release\SCA\1.0\RC3\src\tuscany-
> > > sca-1.0-incubating-src\samples\quote-xquery\po
> > > > m.xml'. for project unknown
> > > >
> > > >
> > > > [INFO]
> > >
> 
> > > > [INFO] Trace
> > > > org.apache.maven.reactor.MavenExecutionException: Could not find the
> > > > model file 'C:\Release\SCA\1.0\RC3\src\tuscany-sca-
> > > > 1.0-incubating-src\samples\quote-xquery\pom.xml'. for project
> unknown
> > > > at org.apache.maven.DefaultMaven.getProjects(
> DefaultMaven.java
> > > :378)
> > > > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java
> > > :290)
> > > > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java
> > :125)
> > > > at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
> > > >
> > > > Kelvin.
> > > >
> > > > On 19/09/2007, ant elder <[EMAIL PROTECTED]> wrote:
> > > > > Please review and vote on the 1.0 release artifacts of Tuscany SCA
> > for
> > > Java.
> > > > >
> > > > > The SVN tag for the release is:
> > > > >
> > >
> >
> https://svn.apache.org/repos/asf/incubator/tuscany/tags/java/sca/1.0-RC3/
> > > > >
> > > > > The artifacts are available for review at:
> > > > > http://people.apache.org/~antelder/tuscany/1.0-RC3/
> > > > >
> > > > > This includes the signed binary and source distributions, the RAT
> > > reports,
> > > > > and
> > > > > the Maven staging repository.
> > > > >
> > > > > Many thanks,
> > > > >
> > > > >...ant
> > > > >
> > > > > (Note, the artifacts are still uploading so if it looks like
> > > something's
> > > > > missing please just wait a bit,
> > > > >  You can use the tag to verify things in the meantime)
> > > > >
> >

[jira] Commented: (TUSCANY-1758) Web Service binding throws org.apache.axis2.AxisFault when referencing a WD

2007-09-19 Thread Bin CRL Wang
Hi,

There is no wsdl file in the test application, just using binding.ws uri 
to call a web service publised through axis2 v1.3, but it does not work...
It's a very simple test case, and I wonder there is sample to show that 
binding.ws could work with an exteneral web service which is not published 
by tuscany ws.bingding.
When I removed the , the result:

Injected helloWorldService
Called getGreetings
Exception in thread "main" java.lang.reflect.UndeclaredThrowableException
at $Proxy5.getGreetings(Unknown Source)
at helloworld.HelloWorldServiceComponent.getGreetings(
HelloWorldServiceComponent.java:30)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at 
org.apache.tuscany.sca.implementation.java.invocation.JavaImplementationInvoker.invoke(
JavaImplementationInvoker.java:105)
at 
org.apache.tuscany.sca.core.databinding.wire.PassByValueInteceptor.invoke(
PassByValueInteceptor.java:49)
at 
org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(
JDKInvocationHandler.java:233)
at 
org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(
JDKInvocationHandler.java:130)
at $Proxy5.getGreetings(Unknown Source)
at helloworld.HelloWorldClient.main(HelloWorldClient.java:33)
Caused by: org.apache.axis2.AxisFault: A required header representing a 
Message Addressing Property is not present
at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(
Utils.java:486)
at 
org.apache.axis2.description.OutInAxisOperationClient.handleResponse(
OutInAxisOperation.java:343)
at org.apache.axis2.description.OutInAxisOperationClient.send(
OutInAxisOperation.java:389)
at 
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(
OutInAxisOperation.java:211)
at org.apache.axis2.client.OperationClient.execute(
OperationClient.java:163)
at 
org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invokeTarget(
Axis2BindingInvoker.java:102)
at 
org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invoke(
Axis2BindingInvoker.java:77)
at 
org.apache.tuscany.sca.core.databinding.wire.DataTransformationInteceptor.invoke(
DataTransformationInteceptor.java:73)
at 
org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(
JDKInvocationHandler.java:233)
at 
org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(
JDKInvocationHandler.java:130)
... 12 more


Best Regards,

Wang Bin,王斌
R&D Engineer,Service Building Technologies
IBM China Research Lab
TEL: 86-10-58748660
E-mail: [EMAIL PROTECTED]


Re: [VOTE] Release Tuscany Java SCA 1.0 RC3

2007-09-19 Thread ant elder
On 9/19/07, Simon Laws <[EMAIL PROTECTED]> wrote:
>
> On 9/19/07, kelvin goodson <[EMAIL PROTECTED]> wrote:
> >
> > If I remove the xquery-quotes reference in the samples pom and try to
> > build further i eventually get to the "Tuscany SCA Axis2-based WS
> > Binding Extension" project where I see ...
> > ===
> > Downloading:
> >
> http://ws.zones.apache.org/repository//org.apache.woden/jars/woden-1.0-incubating-M7b.jar
> > Downloading:
> >
> http://people.apache.org/repo/m2-incubating-repository/org/apache/woden/woden/1.0-incubating-M7b/woden-1.0-
> > incubating-M7b.jar
> > Downloading:
> >
> http://www.ibiblio.net/pub/packages/maven2/org/apache/woden/woden/1.0-incubating-M7b/woden-1.0-incubating-M
> > 7b.jar
> > [INFO]
> > 
> > [ERROR] BUILD ERROR
> > [INFO]
> > 
> > [INFO] Failed to resolve artifact.
> >
> > Missing:
> > --
> > 1) org.apache.woden:woden:jar:1.0-incubating-M7b
> >
> >   Try downloading the file manually from the project website.
> >
> >   Then, install it using the command:
> >   mvn install:install-file -DgroupId=
> org.apache.woden-DartifactId=woden \
> >   -Dversion=1.0-incubating-M7b -Dpackaging=jar
> > -Dfile=/path/to/file
> > Alternatively, if you host your own repository you can deploy the file
> > there:   mvn deploy:deploy-file -DgroupId=org
> > .apache.woden -DartifactId=woden \
> >   -Dversion=1.0-incubating-M7b -Dpackaging=jar
> > -Dfile=/path/to/file \
> >-Durl=[url] -DrepositoryId=[id]
> >
> >   Path to dependency:
> > 1)
> > org.apache.tuscany.sca:tuscany-binding-ws-axis2:jar:1.0-incubating
> > 2) org.apache.woden:woden:jar:1.0-incubating-M7b
> >
> > --
> > 1 required artifact is missing.
> >
> > for artifact:
> >   org.apache.tuscany.sca:tuscany-binding-ws-axis2:jar:1.0-incubating
> >
> > from the specified remote repositories:
> >   apache.incubator (
> http://people.apache.org/repo/m2-incubating-repository
> > ),
> >   central (http://repo1.maven.org/maven2),
> >   apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository
> ),
> >   apache.ws (http://ws.zones.apache.org/repository/)
> >
> > 
> >
> > On 19/09/2007, kelvin goodson <[EMAIL PROTECTED]> wrote:
> > > The source distro now has a reference to quote-xquery in the top level
> > > pom,  but the sample code is not included in the distro.
> > >
> > >
> > > C:\Release\SCA\1.0\RC3\src\tuscany-sca-1.0-incubating-src>mvn clean
> > > [INFO] Scanning for projects...
> > > [INFO]
> > 
> > > [ERROR] FATAL ERROR
> > > [INFO]
> > 
> > > [INFO] Error building POM (may not be this project's POM).
> > >
> > >
> > > Project ID: unknown
> > >
> > > Reason: Could not find the model file
> > > 'C:\Release\SCA\1.0\RC3\src\tuscany-
> > sca-1.0-incubating-src\samples\quote-xquery\po
> > > m.xml'. for project unknown
> > >
> > >
> > > [INFO]
> > 
> > > [INFO] Trace
> > > org.apache.maven.reactor.MavenExecutionException: Could not find the
> > > model file 'C:\Release\SCA\1.0\RC3\src\tuscany-sca-
> > > 1.0-incubating-src\samples\quote-xquery\pom.xml'. for project unknown
> > > at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java
> > :378)
> > > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java
> > :290)
> > > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java
> :125)
> > > at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
> > >
> > > Kelvin.
> > >
> > > On 19/09/2007, ant elder <[EMAIL PROTECTED]> wrote:
> > > > Please review and vote on the 1.0 release artifacts of Tuscany SCA
> for
> > Java.
> > > >
> > > > The SVN tag for the release is:
> > > >
> >
> https://svn.apache.org/repos/asf/incubator/tuscany/tags/java/sca/1.0-RC3/
> > > >
> > > > The artifacts are available for review at:
> > > > http://people.apache.org/~antelder/tuscany/1.0-RC3/
> > > >
> > > > This includes the signed binary and source distributions, the RAT
> > reports,
> > > > and
> > > > the Maven staging repository.
> > > >
> > > > Many thanks,
> > > >
> > > >...ant
> > > >
> > > > (Note, the artifacts are still uploading so if it looks like
> > something's
> > > > missing please just wait a bit,
> > > >  You can use the tag to verify things in the meantime)
> > > >
> > >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> > This is also a result of not having a repo dependency on
> http://ws.zones.apache.org/repository2<
> http://ws.zones.apache.org/repository2/wsdl4j/wsdl4j

[jira] Assigned: (TUSCANY-1759) quote-xquery code missing from RC3 source distro

2007-09-19 Thread Kelvin Goodson (JIRA)

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

Kelvin Goodson reassigned TUSCANY-1759:
---

Assignee: Kelvin Goodson

> quote-xquery code missing from RC3 source distro
> 
>
> Key: TUSCANY-1759
> URL: https://issues.apache.org/jira/browse/TUSCANY-1759
> Project: Tuscany
>  Issue Type: Bug
>Affects Versions: Java-SCA-1.0
> Environment: windows and 
> http://people.apache.org/~antelder/tuscany/1.0-RC3/apache-tuscany-sca-1.0-incubating-src.zip
>Reporter: Kelvin Goodson
>Assignee: Kelvin Goodson
> Fix For: Java-SCA-1.0
>
>
> C:\Release\SCA\1.0\RC3\src\tuscany-sca-1.0-incubating-src>mvn
> [INFO] Scanning for projects...
> [INFO] 
> 
> [ERROR] FATAL ERROR
> [INFO] 
> 
> [INFO] Error building POM (may not be this project's POM).
> Project ID: unknown
> Reason: Could not find the model file 
> 'C:\Release\SCA\1.0\RC3\src\tuscany-sca-1.0-incubating-src\samples\quote-xquery\po
> m.xml'. for project unknown
> [INFO] 
> 
> [INFO] Trace
> org.apache.maven.reactor.MavenExecutionException: Could not find the model 
> file 'C:\Release\SCA\1.0\RC3\src\tuscany-sca-
> 1.0-incubating-src\samples\quote-xquery\pom.xml'. for project unknown
> at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:378)

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


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



  1   2   >