Re: [VOTE] Release Tuscany Java DAS beta2

2007-09-22 Thread Matthieu Riou
There are a couple of copyright notices that you should add in your NOTICE
file, mostly derby, stax and woodstox (as described in [1]). Also JSTL is
listed in your LICENSE file although I don't think it's part of the release
(at least not in the binary package). Everything else looks fine to me as
well.

Nothing critical for this release though, so here's my +1.

Matthieu

[1]
http://incubator.apache.org/guides/releasemanagement.html#best-practice-notice

On 9/21/07, Luciano Resende <[EMAIL PROTECTED]> wrote:
>
> Please vote to release the beta2 distribution of Tuscany DAS for Java.
>
> The Release Candidate for Tuscany Java DAS beta2 is available at
>
> http://people.apache.org/~lresende/tuscany/das-beta2-rc1/
>
> Release Notes are available at
>
>
> https://svn.apache.org/repos/asf/incubator/tuscany/tags/java/das/1.0-incubating-beta2-rc1/distribution/binary/RELEASE_NOTES
>
> The maven repository artifacts are posted in a staging repository and
> is available at
>
> http://people.apache.org/~lresende/tuscany/das-beta2-rc1/maven/
>
> The release audit tool (rat) results are available at
>
> http://people.apache.org/~lresende/tuscany/das-beta2-rc1/das-beta2-rat.log
>
> The tag for the source code is at
>
>
> https://svn.apache.org/repos/asf/incubator/tuscany/tags/java/das/1.0-incubating-beta2-rc1/
>
> Seems OK to me, here is my +1
>
> --
> 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]
>
>


JMS Binding for Tuscany Java

2007-09-22 Thread Joseph, Roshan IN BLR SISL
Hi all,

 I believe the JMS binding is not included in the latest release and if
it is due to bugs, I would like to contribute in making it work. Can
someone point to the issues in JMS binding or let me know the current
status of it.

 

Any help in this regard will be really helpful, as I would like to
utilize the binding for my prototype which I am making 

 

Thanks  

Roshan



 
 
Important notice:This e-mail and any attachment thereto contains corporate 
proprietary information. If you have received it by mistake, please notify us 
immediately by reply e-mail and delete this e-mail and its attachments from 
your system. Thank You.


SCA JAXB related query...

2007-09-22 Thread Sudeep Mallick
Hi,

I have a minor query on SCA using JAXB binding. How do I pass around custom
data type for example, a PurchaseOrder class while having SCA domain client
and server interaction. I have tried the same code for non-SCA Web services
based service provider and consumer and it works primarily the support
classes for unmarshalling/marshalling get generated by the IDE. However, for
the case of SCA no such support classes are generated. I was assuming SCA
runtime would take care of it, but it doesnt. What should I do? Any pointers
to any guide, etc would also help.

Thanks,
Sudeep


Re: [VOTE] Release Tuscany Java SCA 1.0 RC3a

2007-09-22 Thread Simon Nash

I built the source distro with an empty maven repo, reviewed the
documentation files, and ran all the demos and samples from the
binary distro using the README instructions.

I found a few issues and I have raised JIRAs for all of these.
Nothing too major, so here's my +1.

  Simon

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




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



[jira] Commented: (TUSCANY-1786) mortgage-loanapproval README sample output is incorrect

2007-09-22 Thread Simon Nash (JIRA)

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

Simon Nash commented on TUSCANY-1786:
-

A similar change is also needed in the README for the web-resource sample.

> mortgage-loanapproval README sample output is incorrect
> ---
>
> Key: TUSCANY-1786
> URL: https://issues.apache.org/jira/browse/TUSCANY-1786
> Project: Tuscany
>  Issue Type: Bug
>  Components: Java SCA Samples
>Affects Versions: Java-SCA-1.0
> Environment: Windows XP
>Reporter: Simon Nash
>Priority: Minor
> Fix For: Java-SCA-1.0.1
>
>
> The README sample output for mortgage-loanapproval is incorrect.  The sample 
> output shows jetty without log4j configured.  In Tuscany 1.0, this sample 
> uses Tomcat with log4j configured and a number of log messages are displayed. 
>  On my machine, this produced:
> Buildfile: build.xml
> run:
>  [java] Starting the CreditCheck Service...
>  [java] 21-Sep-2007 12:08:36 org.apache.catalina.core.StandardEngine start
>  [java] INFO: Starting Servlet Engine: Apache Tomcat/6.0.10
>  [java] 21-Sep-2007 12:08:37 org.apache.catalina.startup.ContextConfig 
> defaultWebConfig
>  [java] INFO: No default web.xml
>  [java] 21-Sep-2007 12:08:37 org.apache.catalina.startup.DigesterFactory 
> register
>  [java] WARNING: Could not get url for 
> /javax/servlet/jsp/resources/jsp_2_0.xsd
>  [java] 21-Sep-2007 12:08:37 org.apache.catalina.startup.DigesterFactory 
> register
>  [java] WARNING: Could not get url for 
> /javax/servlet/jsp/resources/web-jsptaglibrary_1_1.dtd
>  [java] 21-Sep-2007 12:08:37 org.apache.catalina.startup.DigesterFactory 
> register
>  [java] WARNING: Could not get url for 
> /javax/servlet/jsp/resources/web-jsptaglibrary_1_2.dtd
>  [java] 21-Sep-2007 12:08:37 org.apache.catalina.startup.DigesterFactory 
> register
>  [java] WARNING: Could not get url for 
> /javax/servlet/jsp/resources/web-jsptaglibrary_2_0.xsd
>  [java] 21-Sep-2007 12:08:37 org.apache.catalina.startup.DigesterFactory 
> register
>  [java] WARNING: Could not get url for 
> /javax/servlet/resources/j2ee_web_services_1_1.xsd
>  [java] 21-Sep-2007 12:08:37 org.apache.coyote.http11.Http11Protocol init
>  [java] INFO: Initializing Coyote HTTP/1.1 on http-8085
>  [java] 21-Sep-2007 12:08:37 org.apache.coyote.http11.Http11Protocol start
>  [java] INFO: Starting Coyote HTTP/1.1 on http-8085
>  [java] 21-Sep-2007 12:08:37 
> org.apache.tuscany.sca.http.tomcat.TomcatServer addServletMapping
>  [java] INFO: Added Servlet mapping: 
> http://localhost:8085/CreditCheckService
>  [java] Press Enter to Exit...

-- 
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-1801) store sample throws FileNotFoundException and does not display Catalog entries

2007-09-22 Thread Simon Nash (JIRA)
store sample throws FileNotFoundException and does not display Catalog entries
--

 Key: TUSCANY-1801
 URL: https://issues.apache.org/jira/browse/TUSCANY-1801
 Project: Tuscany
  Issue Type: Bug
  Components: Java SCA Samples
Affects Versions: Java-SCA-1.0
 Environment: Windows XP
Reporter: Simon Nash
 Fix For: Java-SCA-1.0.1


I started  the pre-built store sample using "ant run" and entered the URL 
   http://localhost:8080/ufs/store.html
in my browser.  The console log displayed a FileNotFoundException and the 
Catalog entries were not displayed in the browser window.

Here is the complete console log:

run:
 [java] Starting ...
 [java] 22-Sep-2007 15:39:07 org.apache.catalina.core.StandardEngine start
 [java] INFO: Starting Servlet Engine: Apache Tomcat/6.0.10
 [java] 22-Sep-2007 15:39:07 org.apache.catalina.startup.ContextConfig 
defaultWebConfig
 [java] INFO: No default web.xml
 [java] 22-Sep-2007 15:39:07 org.apache.catalina.startup.DigesterFactory 
register
 [java] WARNING: Could not get url for 
/javax/servlet/jsp/resources/jsp_2_0.xsd
 [java] 22-Sep-2007 15:39:07 org.apache.catalina.startup.DigesterFactory 
register
 [java] WARNING: Could not get url for 
/javax/servlet/jsp/resources/web-jsptaglibrary_1_1.dtd
 [java] 22-Sep-2007 15:39:07 org.apache.catalina.startup.DigesterFactory 
register
 [java] WARNING: Could not get url for 
/javax/servlet/jsp/resources/web-jsptaglibrary_1_2.dtd
 [java] 22-Sep-2007 15:39:07 org.apache.catalina.startup.DigesterFactory 
register
 [java] WARNING: Could not get url for 
/javax/servlet/jsp/resources/web-jsptaglibrary_2_0.xsd
 [java] 22-Sep-2007 15:39:07 org.apache.catalina.startup.DigesterFactory 
register
 [java] WARNING: Could not get url for 
/javax/servlet/resources/j2ee_web_services_1_1.xsd
 [java] 22-Sep-2007 15:39:08 org.apache.coyote.http11.Http11Protocol init
 [java] INFO: Initializing Coyote HTTP/1.1 on http-8080
 [java] 22-Sep-2007 15:39:08 org.apache.coyote.http11.Http11Protocol start
 [java] INFO: Starting Coyote HTTP/1.1 on http-8080
 [java] 22-Sep-2007 15:39:08 
org.apache.tuscany.sca.http.tomcat.TomcatServer addServletMapping
 [java] INFO: Added Servlet mapping: http://localhost:8080/ufs/*
 [java] 22-Sep-2007 15:39:08 
org.apache.tuscany.sca.http.tomcat.TomcatServer addServletMapping
 [java] INFO: Added Servlet mapping: http://localhost:8080/Catalog
 [java] 22-Sep-2007 15:39:08 
org.apache.tuscany.sca.http.tomcat.TomcatServer addServletMapping
 [java] INFO: Added Servlet mapping: 
http://localhost:8080/SCADomain/scaDomain.js
 [java] 22-Sep-2007 15:39:08 
org.apache.tuscany.sca.http.tomcat.TomcatServer addServletMapping
 [java] INFO: Added Servlet mapping: http://localhost:8080/ShoppingCart/*
 [java] store.composite ready for big business !!!
 [java] 22-Sep-2007 15:40:03 org.apache.catalina.core.StandardWrapperValve 
invoke
 [java] WARNING: Servlet.service() for servlet /ufs/* threw exception
 [java] java.io.FileNotFoundException: JAR entry ufservices/style.css not 
found in 
H:\tuscany-1.0-rc3a\tuscany-sca-1.0-incubating\samples\store\target\sample-store.jar
 [java] at 
sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:114)
 [java] at 
sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:124)
 [java] at java.net.URL.openStream(URL.java:1007)
 [java] at 
org.apache.tuscany.sca.http.tomcat.TomcatDefaultServlet$1$1.streamContent(TomcatDefaultServlet.java:66)
 [java] at 
org.apache.catalina.servlets.DefaultServlet.copy(DefaultServlet.java:1701)
 [java] at 
org.apache.catalina.servlets.DefaultServlet.serveResource(DefaultServlet.java:809)
 [java] at 
org.apache.catalina.servlets.DefaultServlet.doGet(DefaultServlet.java:325)
 [java] at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
 [java] at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
 [java] at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
 [java] at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 [java] at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:228)
 [java] at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
 [java] at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
 [java] at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
 [java] at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
 [java] at 
org.apache.catalina.connector.CoyoteAdap

[jira] Commented: (TUSCANY-1786) mortgage-loanapproval README sample output is incorrect

2007-09-22 Thread Simon Nash (JIRA)

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

Simon Nash commented on TUSCANY-1786:
-

The same change needs to be made to the "ant run" sample output in the README 
for simple-callback-ws. The mvn output for this sample is nearly correct but 
needs the log4j warnings to be deleted.



> mortgage-loanapproval README sample output is incorrect
> ---
>
> Key: TUSCANY-1786
> URL: https://issues.apache.org/jira/browse/TUSCANY-1786
> Project: Tuscany
>  Issue Type: Bug
>  Components: Java SCA Samples
>Affects Versions: Java-SCA-1.0
> Environment: Windows XP
>Reporter: Simon Nash
>Priority: Minor
> Fix For: Java-SCA-1.0.1
>
>
> The README sample output for mortgage-loanapproval is incorrect.  The sample 
> output shows jetty without log4j configured.  In Tuscany 1.0, this sample 
> uses Tomcat with log4j configured and a number of log messages are displayed. 
>  On my machine, this produced:
> Buildfile: build.xml
> run:
>  [java] Starting the CreditCheck Service...
>  [java] 21-Sep-2007 12:08:36 org.apache.catalina.core.StandardEngine start
>  [java] INFO: Starting Servlet Engine: Apache Tomcat/6.0.10
>  [java] 21-Sep-2007 12:08:37 org.apache.catalina.startup.ContextConfig 
> defaultWebConfig
>  [java] INFO: No default web.xml
>  [java] 21-Sep-2007 12:08:37 org.apache.catalina.startup.DigesterFactory 
> register
>  [java] WARNING: Could not get url for 
> /javax/servlet/jsp/resources/jsp_2_0.xsd
>  [java] 21-Sep-2007 12:08:37 org.apache.catalina.startup.DigesterFactory 
> register
>  [java] WARNING: Could not get url for 
> /javax/servlet/jsp/resources/web-jsptaglibrary_1_1.dtd
>  [java] 21-Sep-2007 12:08:37 org.apache.catalina.startup.DigesterFactory 
> register
>  [java] WARNING: Could not get url for 
> /javax/servlet/jsp/resources/web-jsptaglibrary_1_2.dtd
>  [java] 21-Sep-2007 12:08:37 org.apache.catalina.startup.DigesterFactory 
> register
>  [java] WARNING: Could not get url for 
> /javax/servlet/jsp/resources/web-jsptaglibrary_2_0.xsd
>  [java] 21-Sep-2007 12:08:37 org.apache.catalina.startup.DigesterFactory 
> register
>  [java] WARNING: Could not get url for 
> /javax/servlet/resources/j2ee_web_services_1_1.xsd
>  [java] 21-Sep-2007 12:08:37 org.apache.coyote.http11.Http11Protocol init
>  [java] INFO: Initializing Coyote HTTP/1.1 on http-8085
>  [java] 21-Sep-2007 12:08:37 org.apache.coyote.http11.Http11Protocol start
>  [java] INFO: Starting Coyote HTTP/1.1 on http-8085
>  [java] 21-Sep-2007 12:08:37 
> org.apache.tuscany.sca.http.tomcat.TomcatServer addServletMapping
>  [java] INFO: Added Servlet mapping: 
> http://localhost:8085/CreditCheckService
>  [java] Press Enter to Exit...

-- 
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-1799) ant script needed for implementation-notification sample

2007-09-22 Thread Ignacio Silva-Lepe (JIRA)

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

Ignacio Silva-Lepe commented on TUSCANY-1799:
-

The implementation-notification sample, along with the binding-notification-* 
samples have ant scripts in the trunk, they just did not make it into the 1.0 
release.

> ant script needed for implementation-notification sample
> 
>
> Key: TUSCANY-1799
> URL: https://issues.apache.org/jira/browse/TUSCANY-1799
> Project: Tuscany
>  Issue Type: Bug
>  Components: Java SCA Samples
>Affects Versions: Java-SCA-1.0
> Environment: All
>Reporter: Simon Nash
>Priority: Minor
> Fix For: Java-SCA-Next
>
>
> The implementation-notification sample doesn't have an ant scipt.

-- 
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-1800) osgi-supplychain README sample output needs updating

2007-09-22 Thread Simon Nash (JIRA)
osgi-supplychain README sample output needs updating


 Key: TUSCANY-1800
 URL: https://issues.apache.org/jira/browse/TUSCANY-1800
 Project: Tuscany
  Issue Type: Bug
  Components: Java SCA Samples
Affects Versions: Java-SCA-1.0
 Environment: All
Reporter: Simon Nash
Priority: Minor
 Fix For: Java-SCA-1.0.1


The README sample output for osgi-supplychain is not quite correct.  It is 
missing the two lines
 [java] Stop OSGi bundle with activator OSGiShipperImpl
 [java] Stop OSGi bundle with activator OSGiCustomerImpl

-- 
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] Closed: (TUSCANY-1798) sample-helloworld-ws-sdo-webapp.war should be removed from the binary distro

2007-09-22 Thread Simon Nash (JIRA)

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

Simon Nash closed TUSCANY-1798.
---

   Resolution: Invalid
Fix Version/s: (was: Java-SCA-1.0.1)
   Java-SCA-1.0

My apologies.  This flie is not included in the binary distro.  I saw it in my 
source build and I thought I was looking at the binary distro.

> sample-helloworld-ws-sdo-webapp.war should be removed from the binary distro
> 
>
> Key: TUSCANY-1798
> URL: https://issues.apache.org/jira/browse/TUSCANY-1798
> Project: Tuscany
>  Issue Type: Bug
>  Components: Java SCA Samples
>Affects Versions: Java-SCA-1.0
> Environment: All
>Reporter: Simon Nash
> Fix For: Java-SCA-1.0
>
>
> The sample-helloworld-ws-sdo-webapp.war file is very large (14MB).  It should 
> be removed from the binary distro, just as other large war files have been.

-- 
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-1799) ant script needed for implementation-notification sample

2007-09-22 Thread Simon Nash (JIRA)
ant script needed for implementation-notification sample


 Key: TUSCANY-1799
 URL: https://issues.apache.org/jira/browse/TUSCANY-1799
 Project: Tuscany
  Issue Type: Bug
  Components: Java SCA Samples
Affects Versions: Java-SCA-1.0
 Environment: All
Reporter: Simon Nash
Priority: Minor
 Fix For: Java-SCA-Next


The implementation-notification sample doesn't have an ant scipt.

-- 
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-1798) sample-helloworld-ws-sdo-webapp.war should be removed from the binary distro

2007-09-22 Thread Simon Nash (JIRA)

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

Simon Nash updated TUSCANY-1798:


Description: The sample-helloworld-ws-sdo-webapp.war file is very large 
(14MB).  It should be removed from the binary distro, just as other large war 
files have been.  (was: The sample-helloworld-ws-webapp.war file is very large 
(14MB).  It should be removed from the binary distro, just as other large war 
files have been.)
Summary: sample-helloworld-ws-sdo-webapp.war should be removed from the 
binary distro  (was: sample-helloworld-ws-webapp.war should be removed from the 
binary distro)

Correcting the name of the war file.

> sample-helloworld-ws-sdo-webapp.war should be removed from the binary distro
> 
>
> Key: TUSCANY-1798
> URL: https://issues.apache.org/jira/browse/TUSCANY-1798
> Project: Tuscany
>  Issue Type: Bug
>  Components: Java SCA Samples
>Affects Versions: Java-SCA-1.0
> Environment: All
>Reporter: Simon Nash
> Fix For: Java-SCA-1.0.1
>
>
> The sample-helloworld-ws-sdo-webapp.war file is very large (14MB).  It should 
> be removed from the binary distro, just as other large war files have been.

-- 
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-1798) sample-helloworld-ws-webapp.war should be removed from the binary distro

2007-09-22 Thread Simon Nash (JIRA)
sample-helloworld-ws-webapp.war should be removed from the binary distro


 Key: TUSCANY-1798
 URL: https://issues.apache.org/jira/browse/TUSCANY-1798
 Project: Tuscany
  Issue Type: Bug
  Components: Java SCA Samples
Affects Versions: Java-SCA-1.0
 Environment: All
Reporter: Simon Nash
 Fix For: Java-SCA-1.0.1


The sample-helloworld-ws-webapp.war file is very large (14MB).  It should be 
removed from the binary distro, just as other large war files have been.

-- 
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-1797) helloworld-ws-sdo-webapp README has no ant build instructions

2007-09-22 Thread Simon Nash (JIRA)
helloworld-ws-sdo-webapp README has no ant build instructions
-

 Key: TUSCANY-1797
 URL: https://issues.apache.org/jira/browse/TUSCANY-1797
 Project: Tuscany
  Issue Type: Bug
  Components: Java SCA Samples
Affects Versions: Java-SCA-1.0
 Environment: All
Reporter: Simon Nash
Priority: Minor
 Fix For: Java-SCA-1.0.1


The README for helloworld-ws-sdo-webapp only contains mvn build instructions.  
There is an ant script but the readme does not mention how to build the sample 
using ant.

-- 
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-1796) helloworld-ws-reference README sample output needs updating

2007-09-22 Thread Simon Nash (JIRA)

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

Simon Nash commented on TUSCANY-1796:
-

The same change needs to be made to the README for helloworld-ws-sdo, for both 
the client and server output.


> helloworld-ws-reference README sample output needs updating
> ---
>
> Key: TUSCANY-1796
> URL: https://issues.apache.org/jira/browse/TUSCANY-1796
> Project: Tuscany
>  Issue Type: Bug
>  Components: Java SCA Samples
>Affects Versions: Java-SCA-1.0
> Environment: All
>Reporter: Simon Nash
>Priority: Minor
> Fix For: Java-SCA-1.0.1
>
>
> The README sample output for helloworld-ws-reference shows log4j 
> configuration warnings.  The sample has been fixed to remove these, so they 
> should no longer appear in the sample output.

-- 
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-1786) mortgage-loanapproval README sample output is incorrect

2007-09-22 Thread Simon Nash (JIRA)

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

Simon Nash commented on TUSCANY-1786:
-

The same change needs to be made to the "ant run" sample output in the README 
for helloworld-ws-server-secure.  The mvn output is nearly correct but needs 
the log4j warnings to be deleted.

> mortgage-loanapproval README sample output is incorrect
> ---
>
> Key: TUSCANY-1786
> URL: https://issues.apache.org/jira/browse/TUSCANY-1786
> Project: Tuscany
>  Issue Type: Bug
>  Components: Java SCA Samples
>Affects Versions: Java-SCA-1.0
> Environment: Windows XP
>Reporter: Simon Nash
>Priority: Minor
> Fix For: Java-SCA-1.0.1
>
>
> The README sample output for mortgage-loanapproval is incorrect.  The sample 
> output shows jetty without log4j configured.  In Tuscany 1.0, this sample 
> uses Tomcat with log4j configured and a number of log messages are displayed. 
>  On my machine, this produced:
> Buildfile: build.xml
> run:
>  [java] Starting the CreditCheck Service...
>  [java] 21-Sep-2007 12:08:36 org.apache.catalina.core.StandardEngine start
>  [java] INFO: Starting Servlet Engine: Apache Tomcat/6.0.10
>  [java] 21-Sep-2007 12:08:37 org.apache.catalina.startup.ContextConfig 
> defaultWebConfig
>  [java] INFO: No default web.xml
>  [java] 21-Sep-2007 12:08:37 org.apache.catalina.startup.DigesterFactory 
> register
>  [java] WARNING: Could not get url for 
> /javax/servlet/jsp/resources/jsp_2_0.xsd
>  [java] 21-Sep-2007 12:08:37 org.apache.catalina.startup.DigesterFactory 
> register
>  [java] WARNING: Could not get url for 
> /javax/servlet/jsp/resources/web-jsptaglibrary_1_1.dtd
>  [java] 21-Sep-2007 12:08:37 org.apache.catalina.startup.DigesterFactory 
> register
>  [java] WARNING: Could not get url for 
> /javax/servlet/jsp/resources/web-jsptaglibrary_1_2.dtd
>  [java] 21-Sep-2007 12:08:37 org.apache.catalina.startup.DigesterFactory 
> register
>  [java] WARNING: Could not get url for 
> /javax/servlet/jsp/resources/web-jsptaglibrary_2_0.xsd
>  [java] 21-Sep-2007 12:08:37 org.apache.catalina.startup.DigesterFactory 
> register
>  [java] WARNING: Could not get url for 
> /javax/servlet/resources/j2ee_web_services_1_1.xsd
>  [java] 21-Sep-2007 12:08:37 org.apache.coyote.http11.Http11Protocol init
>  [java] INFO: Initializing Coyote HTTP/1.1 on http-8085
>  [java] 21-Sep-2007 12:08:37 org.apache.coyote.http11.Http11Protocol start
>  [java] INFO: Starting Coyote HTTP/1.1 on http-8085
>  [java] 21-Sep-2007 12:08:37 
> org.apache.tuscany.sca.http.tomcat.TomcatServer addServletMapping
>  [java] INFO: Added Servlet mapping: 
> http://localhost:8085/CreditCheckService
>  [java] Press Enter to Exit...

-- 
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-1786) mortgage-loanapproval README sample output is incorrect

2007-09-22 Thread Simon Nash (JIRA)

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

Simon Nash commented on TUSCANY-1786:
-

A small change needs to be made to the mvn sample output for 
helloworld-ws-server to remove the log4j warnings as these are no longer being 
displayed.

> mortgage-loanapproval README sample output is incorrect
> ---
>
> Key: TUSCANY-1786
> URL: https://issues.apache.org/jira/browse/TUSCANY-1786
> Project: Tuscany
>  Issue Type: Bug
>  Components: Java SCA Samples
>Affects Versions: Java-SCA-1.0
> Environment: Windows XP
>Reporter: Simon Nash
>Priority: Minor
> Fix For: Java-SCA-1.0.1
>
>
> The README sample output for mortgage-loanapproval is incorrect.  The sample 
> output shows jetty without log4j configured.  In Tuscany 1.0, this sample 
> uses Tomcat with log4j configured and a number of log messages are displayed. 
>  On my machine, this produced:
> Buildfile: build.xml
> run:
>  [java] Starting the CreditCheck Service...
>  [java] 21-Sep-2007 12:08:36 org.apache.catalina.core.StandardEngine start
>  [java] INFO: Starting Servlet Engine: Apache Tomcat/6.0.10
>  [java] 21-Sep-2007 12:08:37 org.apache.catalina.startup.ContextConfig 
> defaultWebConfig
>  [java] INFO: No default web.xml
>  [java] 21-Sep-2007 12:08:37 org.apache.catalina.startup.DigesterFactory 
> register
>  [java] WARNING: Could not get url for 
> /javax/servlet/jsp/resources/jsp_2_0.xsd
>  [java] 21-Sep-2007 12:08:37 org.apache.catalina.startup.DigesterFactory 
> register
>  [java] WARNING: Could not get url for 
> /javax/servlet/jsp/resources/web-jsptaglibrary_1_1.dtd
>  [java] 21-Sep-2007 12:08:37 org.apache.catalina.startup.DigesterFactory 
> register
>  [java] WARNING: Could not get url for 
> /javax/servlet/jsp/resources/web-jsptaglibrary_1_2.dtd
>  [java] 21-Sep-2007 12:08:37 org.apache.catalina.startup.DigesterFactory 
> register
>  [java] WARNING: Could not get url for 
> /javax/servlet/jsp/resources/web-jsptaglibrary_2_0.xsd
>  [java] 21-Sep-2007 12:08:37 org.apache.catalina.startup.DigesterFactory 
> register
>  [java] WARNING: Could not get url for 
> /javax/servlet/resources/j2ee_web_services_1_1.xsd
>  [java] 21-Sep-2007 12:08:37 org.apache.coyote.http11.Http11Protocol init
>  [java] INFO: Initializing Coyote HTTP/1.1 on http-8085
>  [java] 21-Sep-2007 12:08:37 org.apache.coyote.http11.Http11Protocol start
>  [java] INFO: Starting Coyote HTTP/1.1 on http-8085
>  [java] 21-Sep-2007 12:08:37 
> org.apache.tuscany.sca.http.tomcat.TomcatServer addServletMapping
>  [java] INFO: Added Servlet mapping: 
> http://localhost:8085/CreditCheckService
>  [java] Press Enter to Exit...

-- 
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-1786) mortgage-loanapproval README sample output is incorrect

2007-09-22 Thread Simon Nash (JIRA)

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

Simon Nash commented on TUSCANY-1786:
-

The above change to the helloworld-ws-server README is only needed for the "ant 
run" sample output.  The mvn sample output is correct.

> mortgage-loanapproval README sample output is incorrect
> ---
>
> Key: TUSCANY-1786
> URL: https://issues.apache.org/jira/browse/TUSCANY-1786
> Project: Tuscany
>  Issue Type: Bug
>  Components: Java SCA Samples
>Affects Versions: Java-SCA-1.0
> Environment: Windows XP
>Reporter: Simon Nash
>Priority: Minor
> Fix For: Java-SCA-1.0.1
>
>
> The README sample output for mortgage-loanapproval is incorrect.  The sample 
> output shows jetty without log4j configured.  In Tuscany 1.0, this sample 
> uses Tomcat with log4j configured and a number of log messages are displayed. 
>  On my machine, this produced:
> Buildfile: build.xml
> run:
>  [java] Starting the CreditCheck Service...
>  [java] 21-Sep-2007 12:08:36 org.apache.catalina.core.StandardEngine start
>  [java] INFO: Starting Servlet Engine: Apache Tomcat/6.0.10
>  [java] 21-Sep-2007 12:08:37 org.apache.catalina.startup.ContextConfig 
> defaultWebConfig
>  [java] INFO: No default web.xml
>  [java] 21-Sep-2007 12:08:37 org.apache.catalina.startup.DigesterFactory 
> register
>  [java] WARNING: Could not get url for 
> /javax/servlet/jsp/resources/jsp_2_0.xsd
>  [java] 21-Sep-2007 12:08:37 org.apache.catalina.startup.DigesterFactory 
> register
>  [java] WARNING: Could not get url for 
> /javax/servlet/jsp/resources/web-jsptaglibrary_1_1.dtd
>  [java] 21-Sep-2007 12:08:37 org.apache.catalina.startup.DigesterFactory 
> register
>  [java] WARNING: Could not get url for 
> /javax/servlet/jsp/resources/web-jsptaglibrary_1_2.dtd
>  [java] 21-Sep-2007 12:08:37 org.apache.catalina.startup.DigesterFactory 
> register
>  [java] WARNING: Could not get url for 
> /javax/servlet/jsp/resources/web-jsptaglibrary_2_0.xsd
>  [java] 21-Sep-2007 12:08:37 org.apache.catalina.startup.DigesterFactory 
> register
>  [java] WARNING: Could not get url for 
> /javax/servlet/resources/j2ee_web_services_1_1.xsd
>  [java] 21-Sep-2007 12:08:37 org.apache.coyote.http11.Http11Protocol init
>  [java] INFO: Initializing Coyote HTTP/1.1 on http-8085
>  [java] 21-Sep-2007 12:08:37 org.apache.coyote.http11.Http11Protocol start
>  [java] INFO: Starting Coyote HTTP/1.1 on http-8085
>  [java] 21-Sep-2007 12:08:37 
> org.apache.tuscany.sca.http.tomcat.TomcatServer addServletMapping
>  [java] INFO: Added Servlet mapping: 
> http://localhost:8085/CreditCheckService
>  [java] Press Enter to Exit...

-- 
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-1791) binding-notification-* samples don't work

2007-09-22 Thread Ignacio Silva-Lepe (JIRA)

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

Ignacio Silva-Lepe commented on TUSCANY-1791:
-

Interestingly, if I replace tuscany-sca-all-1.0-incubating.jar from the trunk 
distro and into RC3a, then the samples run.

Looking into the jars, I notice that the org/apache/tuscany/sca/http/tomcat 
classes appear much earlier in the tuscany-sca-all-1.0-incubating.jar for the 
trunk distro than in that for RC3a. This could explain why the Tomcat Servlet 
Engine is being run instead of the Jetty Servlet Engine, which is what the 
notification binding needs.

> binding-notification-* samples don't work
> -
>
> Key: TUSCANY-1791
> URL: https://issues.apache.org/jira/browse/TUSCANY-1791
> Project: Tuscany
>  Issue Type: Bug
>  Components: Java SCA Samples
>Affects Versions: Java-SCA-1.0
> Environment: Windows XP
>Reporter: Simon Nash
> Fix For: Java-SCA-1.0.1
>
>
> I tried to run the binding-notification-* samples from the 1.0 rc3a binary 
> distro  by following the README instructions.  I always get a failure on the 
> second application that starts.  I tried various different combinations of 
> which application to start first and which to start second and the failure 
> was consistent.  For example, if I start the consumer first on port 8083 and 
> then the producer second on port 8084, I see the following exception from the 
> producer:
> H:\tuscany-1.0-rc3a\tuscany-sca-1.0-incubating\samples\binding-notification-producer>java
>  -Dnotification.httpPort=8084 -cp 
> target\sample-binding-notification-producer-1.0-incubating.jar;%TUSCANY_SCA_MANIFEST_JAR%"
>  notification.producer.TrafficAdvisoryServer
> org.apache.tuscany.sca.binding.notification.util.IOUtils$IOUtilsException: 
> org.apache.tuscany.sca.binding.notification.encoding.EncodingException: 
> com.ctc.wstx.
> exc.WstxEOFException: Unexpected EOF in prolog at [row,col {unknown-source}]: 
> [1,0]
> at 
> org.apache.tuscany.sca.binding.notification.NotificationTypeManagerImpl$InputStreamDecoder.read(NotificationTypeManagerImpl.java:610)
> at 
> org.apache.tuscany.sca.binding.notification.util.IOUtils.sendHttpRequest(IOUtils.java:95)
> at 
> org.apache.tuscany.sca.binding.notification.util.IOUtils.sendHttpRequest(IOUtils.java:51)
> at 
> org.apache.tuscany.sca.binding.notification.NotificationTypeManagerImpl.newProducer(NotificationTypeManagerImpl.java:150)
> at 
> org.apache.tuscany.sca.binding.notification.NotificationReferenceBindingProvider.deployProducer(NotificationReferenceBindingProvider.java:170)
> at 
> org.apache.tuscany.sca.binding.notification.NotificationBindingProviderFactory.referenceProviderStarted(NotificationBindingProviderFactory.java:186)
> at 
> org.apache.tuscany.sca.binding.notification.NotificationReferenceBindingProvider.start(NotificationReferenceBindingProvider.java:159)
> at 
> org.apache.tuscany.sca.core.assembly.CompositeActivatorImpl.start(CompositeActivatorImpl.java:456)
> at 
> org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.(DefaultSCADomain.java:186)
> at 
> org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:230)
> at 
> org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(SCADomain.java:69)
> at 
> notification.producer.TrafficAdvisoryServer.main(TrafficAdvisoryServer.java:31)
> Caused by: 
> org.apache.tuscany.sca.binding.notification.encoding.EncodingException: 
> com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog at [row,col 
> {unknown-source}]: [1,0]
> at 
> org.apache.tuscany.sca.binding.notification.encoding.EncodingUtils.decodeFromStream(EncodingUtils.java:65)
> at 
> org.apache.tuscany.sca.binding.notification.NotificationTypeManagerImpl$InputStreamDecoder.read(NotificationTypeManagerImpl.java:607)
> ... 11 more
> Caused by: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog at 
> [row,col {unknown-source}]: [1,0]
> at 
> com.ctc.wstx.sr.StreamScanner.throwUnexpectedEOF(StreamScanner.java:661)
> at 
> com.ctc.wstx.sr.BasicStreamReader.handleEOF(BasicStreamReader.java:2134)
> at 
> com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2040)
> at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1069)
> at 
> org.apache.tuscany.sca.binding.notification.encoding.EncodingUtils.decodeFromStream(EncodingUtils.java:60)
> ... 12 more
> org.osoa.sca.ServiceRuntimeException: java.lang.RuntimeException: 
> java.lang.RuntimeException: 
> org.apache.tuscany.sca.binding.notification.util.IOUtils$IOUtilsException: 
> org.apache.tuscany.sca.binding.notification.encoding.EncodingException: 
>

[jira] Commented: (TUSCANY-1796) helloworld-ws-reference README sample output needs updating

2007-09-22 Thread Simon Nash (JIRA)

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

Simon Nash commented on TUSCANY-1796:
-

The same change needs to be made to the README for 
helloworld-ws-reference-secure.

> helloworld-ws-reference README sample output needs updating
> ---
>
> Key: TUSCANY-1796
> URL: https://issues.apache.org/jira/browse/TUSCANY-1796
> Project: Tuscany
>  Issue Type: Bug
>  Components: Java SCA Samples
>Affects Versions: Java-SCA-1.0
> Environment: All
>Reporter: Simon Nash
>Priority: Minor
> Fix For: Java-SCA-1.0.1
>
>
> The README sample output for helloworld-ws-reference shows log4j 
> configuration warnings.  The sample has been fixed to remove these, so they 
> should no longer appear in the sample output.

-- 
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-1786) mortgage-loanapproval README sample output is incorrect

2007-09-22 Thread Simon Nash (JIRA)

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

Simon Nash commented on TUSCANY-1786:
-

A similar update is needed to the README sample output for 
helloworld-ws-service.  For me, this sample produced the following.

run:
 [java] 22-Sep-2007 14:36:27 org.apache.catalina.core.StandardEngine start
 [java] INFO: Starting Servlet Engine: Apache Tomcat/6.0.10
 [java] 22-Sep-2007 14:36:27 org.apache.catalina.startup.ContextConfig 
defaultWebConfig
 [java] INFO: No default web.xml
 [java] 22-Sep-2007 14:36:27 org.apache.catalina.startup.DigesterFactory 
register
 [java] WARNING: Could not get url for 
/javax/servlet/jsp/resources/jsp_2_0.xsd
 [java] 22-Sep-2007 14:36:27 org.apache.catalina.startup.DigesterFactory 
register
 [java] WARNING: Could not get url for 
/javax/servlet/jsp/resources/web-jsptaglibrary_1_1.dtd
 [java] 22-Sep-2007 14:36:27 org.apache.catalina.startup.DigesterFactory 
register
 [java] WARNING: Could not get url for 
/javax/servlet/jsp/resources/web-jsptaglibrary_1_2.dtd
 [java] 22-Sep-2007 14:36:27 org.apache.catalina.startup.DigesterFactory 
register
 [java] WARNING: Could not get url for 
/javax/servlet/jsp/resources/web-jsptaglibrary_2_0.xsd
 [java] 22-Sep-2007 14:36:27 org.apache.catalina.startup.DigesterFactory 
register
 [java] WARNING: Could not get url for 
/javax/servlet/resources/j2ee_web_services_1_1.xsd
 [java] 22-Sep-2007 14:36:28 org.apache.coyote.http11.Http11Protocol init
 [java] INFO: Initializing Coyote HTTP/1.1 on http-8085
 [java] 22-Sep-2007 14:36:28 org.apache.coyote.http11.Http11Protocol start
 [java] INFO: Starting Coyote HTTP/1.1 on http-8085
 [java] 22-Sep-2007 14:36:28 
org.apache.tuscany.sca.http.tomcat.TomcatServer addServletMapping
 [java] INFO: Added Servlet mapping: http://localhost:8085/HelloWorldService

 [java] HelloWorld server started (press enter to shutdown)


> mortgage-loanapproval README sample output is incorrect
> ---
>
> Key: TUSCANY-1786
> URL: https://issues.apache.org/jira/browse/TUSCANY-1786
> Project: Tuscany
>  Issue Type: Bug
>  Components: Java SCA Samples
>Affects Versions: Java-SCA-1.0
> Environment: Windows XP
>Reporter: Simon Nash
>Priority: Minor
> Fix For: Java-SCA-1.0.1
>
>
> The README sample output for mortgage-loanapproval is incorrect.  The sample 
> output shows jetty without log4j configured.  In Tuscany 1.0, this sample 
> uses Tomcat with log4j configured and a number of log messages are displayed. 
>  On my machine, this produced:
> Buildfile: build.xml
> run:
>  [java] Starting the CreditCheck Service...
>  [java] 21-Sep-2007 12:08:36 org.apache.catalina.core.StandardEngine start
>  [java] INFO: Starting Servlet Engine: Apache Tomcat/6.0.10
>  [java] 21-Sep-2007 12:08:37 org.apache.catalina.startup.ContextConfig 
> defaultWebConfig
>  [java] INFO: No default web.xml
>  [java] 21-Sep-2007 12:08:37 org.apache.catalina.startup.DigesterFactory 
> register
>  [java] WARNING: Could not get url for 
> /javax/servlet/jsp/resources/jsp_2_0.xsd
>  [java] 21-Sep-2007 12:08:37 org.apache.catalina.startup.DigesterFactory 
> register
>  [java] WARNING: Could not get url for 
> /javax/servlet/jsp/resources/web-jsptaglibrary_1_1.dtd
>  [java] 21-Sep-2007 12:08:37 org.apache.catalina.startup.DigesterFactory 
> register
>  [java] WARNING: Could not get url for 
> /javax/servlet/jsp/resources/web-jsptaglibrary_1_2.dtd
>  [java] 21-Sep-2007 12:08:37 org.apache.catalina.startup.DigesterFactory 
> register
>  [java] WARNING: Could not get url for 
> /javax/servlet/jsp/resources/web-jsptaglibrary_2_0.xsd
>  [java] 21-Sep-2007 12:08:37 org.apache.catalina.startup.DigesterFactory 
> register
>  [java] WARNING: Could not get url for 
> /javax/servlet/resources/j2ee_web_services_1_1.xsd
>  [java] 21-Sep-2007 12:08:37 org.apache.coyote.http11.Http11Protocol init
>  [java] INFO: Initializing Coyote HTTP/1.1 on http-8085
>  [java] 21-Sep-2007 12:08:37 org.apache.coyote.http11.Http11Protocol start
>  [java] INFO: Starting Coyote HTTP/1.1 on http-8085
>  [java] 21-Sep-2007 12:08:37 
> org.apache.tuscany.sca.http.tomcat.TomcatServer addServletMapping
>  [java] INFO: Added Servlet mapping: 
> http://localhost:8085/CreditCheckService
>  [java] Press Enter to Exit...

-- 
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-1796) helloworld-ws-reference README sample output needs updating

2007-09-22 Thread Simon Nash (JIRA)
helloworld-ws-reference README sample output needs updating
---

 Key: TUSCANY-1796
 URL: https://issues.apache.org/jira/browse/TUSCANY-1796
 Project: Tuscany
  Issue Type: Bug
  Components: Java SCA Samples
Affects Versions: Java-SCA-1.0
 Environment: All
Reporter: Simon Nash
Priority: Minor
 Fix For: Java-SCA-1.0.1


The README sample output for helloworld-ws-reference shows log4j configuration 
warnings.  The sample has been fixed to remove these, so they should no longer 
appear in the sample output.

-- 
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-1795) helloworld-bpel sample fails with NoClassDefFoundError

2007-09-22 Thread Simon Nash (JIRA)
helloworld-bpel sample fails with NoClassDefFoundError
--

 Key: TUSCANY-1795
 URL: https://issues.apache.org/jira/browse/TUSCANY-1795
 Project: Tuscany
  Issue Type: Bug
  Components: Java SCA Samples
Affects Versions: Java-SCA-1.0
 Environment: Windows XP
Reporter: Simon Nash
 Fix For: Java-SCA-1.0.1


I ran the helloworld-bpel sample following the instructions in the README to 
update the pom to use
   true

The sample failed with the following output:

[INFO] [compiler:compile]
[INFO] Compiling 6 source files to 
H:\tuscany-1.0-rc3a\tuscany-sca-1.0-incubating\samples\helloworld-bpel\target\classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Compiling 1 source file to 
H:\tuscany-1.0-rc3a\tuscany-sca-1.0-incubating\samples\helloworld-bpel\target\test-classes
[INFO] [dependency:unpack {execution: unpack}]
[INFO] Configured Artifact: org.apache.ode:ode-dao-jpa-ojpa-derby:1.1:zip
[INFO] Expanding: C:\Documents and 
Settings\nash\.m2\repository\org\apache\ode\ode-dao-jpa-ojpa-derby\1.1\ode-dao-jpa-ojpa-derby-1.1.zip
 into 
:\tuscany-1.0-rc3a\tuscany-sca-1.0-incubating\samples\helloworld-bpel\target\test-classes
[INFO] [surefire:test]
[INFO] Surefire report directory: 
H:\tuscany-1.0-rc3a\tuscany-sca-1.0-incubating\samples\helloworld-bpel\target\surefire-reports
[INFO] Building jar: C:\DOCUME~1\nash\LOCALS~1\Temp\surefirebooter7486.jar
java.lang.NoClassDefFoundError: org/apache/maven/surefire/booter/SurefireBooter
Exception in thread "main"
[INFO] 
[ERROR] BUILD FAILURE
[INFO] 

-- 
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-1790) README for binding-echo sample shows incorrect output

2007-09-22 Thread Simon Nash (JIRA)

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

Simon Nash commented on TUSCANY-1790:
-

The same issue applies to the databinding-echo sample.

> README for binding-echo sample shows incorrect output
> -
>
> Key: TUSCANY-1790
> URL: https://issues.apache.org/jira/browse/TUSCANY-1790
> Project: Tuscany
>  Issue Type: Bug
>  Components: Java SCA Samples
>Affects Versions: Java-SCA-1.0
> Environment: All
>Reporter: Simon Nash
>Priority: Minor
> Fix For: Java-SCA-1.0.1
>
>
> The README for samples/binding-echo shows sample output that doesn't match 
> what's actually produced.  There are two extra lines "Passing thro 
> invoker..." in the actual output.  Here's what I see:
> run:
>  [java] Passing thro invoker...
>  [java] Returned message: foo
>  [java] Echo reference = foo
>  [java] Passing thro invoker...
>  [java] Returned message: bar
>  [java] Echo service = bar

-- 
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-1794) mvn builds larger sample-calculator-webapp.war than ant package

2007-09-22 Thread Simon Nash (JIRA)
mvn builds larger sample-calculator-webapp.war than ant package
---

 Key: TUSCANY-1794
 URL: https://issues.apache.org/jira/browse/TUSCANY-1794
 Project: Tuscany
  Issue Type: Bug
  Components: Java SCA Samples
Affects Versions: Java-SCA-1.0
 Environment: Windows XP
Reporter: Simon Nash
 Fix For: Java-SCA-Next


The sample-calculator-webapp.war built by mvn is larger than that built by ant 
package.  Both wars deploy and run successfully.  The differences should be 
investigated and the mvn build shuld be updated to remove the redundant content.

-- 
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-1793) calculator-script displays message about package cache dir

2007-09-22 Thread Simon Nash (JIRA)
calculator-script displays message about package cache dir
--

 Key: TUSCANY-1793
 URL: https://issues.apache.org/jira/browse/TUSCANY-1793
 Project: Tuscany
  Issue Type: Bug
  Components: Java SCA Samples
Affects Versions: Java-SCA-1.0
 Environment: Windows XP
Reporter: Simon Nash
Priority: Minor
 Fix For: Java-SCA-Next


When I run the calculator-script sample, I get the following output: 

run:
 [java] 3 + 2=5.0
 [java] 3 - 2=1.0
 [java] *sys-package-mgr*: can't create package cache dir, 
'H:\tuscany-1.0-rc3a\tuscany-sca-1.0-incubating\lib\jython-2.2.jar\cachedir\packages'
 [java] 3 * 2=6.0
 [java] 3 / 2=1.5

The warning message about "package cache dir" is not shown in the README sample 
output.  Do I have a setup problem that is causing me to get this message, or 
is it always displayed?  If the former, then the README should contain 
instructions on how to avoid this.  If the latter, then the README sample 
output should be updated to include this.

-- 
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-1616) calculator-distributed sample doesn't shut down cleanly

2007-09-22 Thread Simon Nash (JIRA)

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

Simon Nash commented on TUSCANY-1616:
-

I retried this on 1.0 rc3a and everything worked fine.  The README should be 
updated to remove the statement that these nodes don't shut down cleanly in the 
current release. 

> calculator-distributed sample doesn't shut down cleanly
> ---
>
> Key: TUSCANY-1616
> URL: https://issues.apache.org/jira/browse/TUSCANY-1616
> Project: Tuscany
>  Issue Type: Bug
>  Components: Java SCA Samples
>Affects Versions: Java-SCA-0.99
> Environment: Windows XP
>Reporter: Simon Nash
> Fix For: Java-SCA-Next
>
>
> I ran the calculator-distributed sample with ant, using the insttuctions in 
> the README.  All the nodes started correctly and the sample ran OK.  I then 
> tried to shut down the nodes.  Nodes B and C would not shut down when Enter 
> was pressed.  DomainNode did shut down when Enter was pressed.

-- 
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-1791) binding-notification-* samples don't work

2007-09-22 Thread Ignacio Silva-Lepe (JIRA)

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

Ignacio Silva-Lepe commented on TUSCANY-1791:
-

I have double checked with the latest trunk that using a distro built from it 
the notification binding producer and consumer samples work.

Also, looking at the trace of a run of the consumer sample in RC3a, it's odd 
that the runtime starts a Tomcat Servlet Engine, whereas the trunk distro does 
not, not to mention a number of servlet warnings that occur in RC3a but not on 
the trunk:

C:\Devt\RC3a\binary\tuscany-sca-1.0-incubating\samples\binding-notification-cons
umer>java -Dnotification.httpPort=8083 -cp "target\sample-binding-notification-c
onsumer-1.0-incubating.jar;%TUSCANY_SCA_MANIFEST_JAR%" notification.consumer.Tra
fficAdvisoryServer
Sep 22, 2007 8:13:40 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.10
Sep 22, 2007 8:13:40 AM org.apache.catalina.startup.ContextConfig defaultWebConf
ig
INFO: No default web.xml
Sep 22, 2007 8:13:40 AM org.apache.catalina.startup.DigesterFactory register
WARNING: Could not get url for /javax/servlet/jsp/resources/jsp_2_0.xsd
Sep 22, 2007 8:13:40 AM org.apache.catalina.startup.DigesterFactory register
WARNING: Could not get url for /javax/servlet/jsp/resources/web-jsptaglibrary_1_
1.dtd
Sep 22, 2007 8:13:40 AM org.apache.catalina.startup.DigesterFactory register
WARNING: Could not get url for /javax/servlet/jsp/resources/web-jsptaglibrary_1_
2.dtd
Sep 22, 2007 8:13:40 AM org.apache.catalina.startup.DigesterFactory register
WARNING: Could not get url for /javax/servlet/jsp/resources/web-jsptaglibrary_2_
0.xsd
Sep 22, 2007 8:13:40 AM org.apache.catalina.startup.DigesterFactory register
WARNING: Could not get url for /javax/servlet/resources/j2ee_web_services_1_1.xs
d
Sep 22, 2007 8:13:41 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8083
Sep 22, 2007 8:13:41 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8083
Sep 22, 2007 8:13:41 AM org.apache.tuscany.sca.http.tomcat.TomcatServer addServl
etMapping
INFO: Added Servlet mapping: http://localhost:8083/ntm/trafficAdvisory
Sep 22, 2007 8:13:41 AM org.apache.tuscany.sca.http.tomcat.TomcatServer addServl
etMapping
INFO: Added Servlet mapping: http://localhost:8083/consumer/trafficAdvisory
TrafficAdvisoryServer, hit return to end

Any ideas?

> binding-notification-* samples don't work
> -
>
> Key: TUSCANY-1791
> URL: https://issues.apache.org/jira/browse/TUSCANY-1791
> Project: Tuscany
>  Issue Type: Bug
>  Components: Java SCA Samples
>Affects Versions: Java-SCA-1.0
> Environment: Windows XP
>Reporter: Simon Nash
> Fix For: Java-SCA-1.0.1
>
>
> I tried to run the binding-notification-* samples from the 1.0 rc3a binary 
> distro  by following the README instructions.  I always get a failure on the 
> second application that starts.  I tried various different combinations of 
> which application to start first and which to start second and the failure 
> was consistent.  For example, if I start the consumer first on port 8083 and 
> then the producer second on port 8084, I see the following exception from the 
> producer:
> H:\tuscany-1.0-rc3a\tuscany-sca-1.0-incubating\samples\binding-notification-producer>java
>  -Dnotification.httpPort=8084 -cp 
> target\sample-binding-notification-producer-1.0-incubating.jar;%TUSCANY_SCA_MANIFEST_JAR%"
>  notification.producer.TrafficAdvisoryServer
> org.apache.tuscany.sca.binding.notification.util.IOUtils$IOUtilsException: 
> org.apache.tuscany.sca.binding.notification.encoding.EncodingException: 
> com.ctc.wstx.
> exc.WstxEOFException: Unexpected EOF in prolog at [row,col {unknown-source}]: 
> [1,0]
> at 
> org.apache.tuscany.sca.binding.notification.NotificationTypeManagerImpl$InputStreamDecoder.read(NotificationTypeManagerImpl.java:610)
> at 
> org.apache.tuscany.sca.binding.notification.util.IOUtils.sendHttpRequest(IOUtils.java:95)
> at 
> org.apache.tuscany.sca.binding.notification.util.IOUtils.sendHttpRequest(IOUtils.java:51)
> at 
> org.apache.tuscany.sca.binding.notification.NotificationTypeManagerImpl.newProducer(NotificationTypeManagerImpl.java:150)
> at 
> org.apache.tuscany.sca.binding.notification.NotificationReferenceBindingProvider.deployProducer(NotificationReferenceBindingProvider.java:170)
> at 
> org.apache.tuscany.sca.binding.notification.NotificationBindingProviderFactory.referenceProviderStarted(NotificationBindingProviderFactory.java:186)
> at 
> org.apache.tuscany.sca.binding.notification.NotificationReferenceBindingProvider.start(NotificationReferenceBindingProvider.java:159)
> at 
> org.apach

[jira] Commented: (TUSCANY-1787) ConnectException when building alert-aggregator-webapp

2007-09-22 Thread Simon Nash (JIRA)

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

Simon Nash commented on TUSCANY-1787:
-

I've retried this a few times and I always get this error.  To work around it, 
I used
   mvn -Dmaven.test.skip=true
when building demos/alert-aggregator-webapp.  This skipped the failing tests 
and created a war file that ran OK when deployed to Tomcat.

> ConnectException when building alert-aggregator-webapp
> --
>
> Key: TUSCANY-1787
> URL: https://issues.apache.org/jira/browse/TUSCANY-1787
> Project: Tuscany
>  Issue Type: Bug
>  Components: Java SCA Samples
>Affects Versions: Java-SCA-1.0
>Reporter: Simon Nash
> Fix For: Java-SCA-1.0.1
>
>
> I followed instructions in the demos/alert-aggregator-webapp/README file and 
> used mvn to build the demo.  The compilations went OK, but the  tests failed 
> with a ConnectException.  I reran mvn and got the same ConnnectException.  
> Here's the full output from the tests.
> ---
>  T E S T S
> ---
> Running org.apache.tuscany.sca.demos.aggregator.AlertsTestCase
> 21-Sep-2007 12:24:59 org.apache.axis2.deployment.DeploymentEngine 
> loadFromClassPath
> INFO: Module validation failed: The system is attempting to engage a module 
> that is not available: rampart
> 21-Sep-2007 12:24:59 org.apache.axis2.deployment.DeploymentEngine 
> loadFromClassPath
> INFO: Module validation failed: The system is attempting to engage a module 
> that is not available: rampart
> 21-Sep-2007 12:25:00 org.apache.tuscany.sca.host.webapp.WebAppServletHost 
> addServletMapping
> INFO: addServletMapping: /AlertsFeedServiceRSS21-Sep-2007 12:25:00 
> org.apache.tuscany.sca.host.webapp.WebAppServletHost addServletMapping
> INFO: addServletMapping: /AlertsFeedServiceAtom/*
> 21-Sep-2007 12:25:00 org.apache.tuscany.sca.host.webapp.WebAppServletHost 
> addServletMapping
> INFO: addServletMapping: /services/AlertsServiceWebServiceBinding
> 21-Sep-2007 12:25:00 org.apache.tuscany.sca.host.webapp.WebAppServletHost 
> addServletMapping
> INFO: addServletMapping: /AlertsServiceJSONRPC
> 21-Sep-2007 12:25:00 org.apache.tuscany.sca.host.webapp.WebAppServletHost 
> addServletMapping
> INFO: addServletMapping: /SCADomain/scaDomain.js
> 21-Sep-2007 12:25:00 org.apache.tuscany.sca.host.webapp.WebAppServletHost 
> addServletMapping
> INFO: addServletMapping: /services/AlertsSourcesServiceWebServiceBinding
> 21-Sep-2007 12:25:00 org.apache.tuscany.sca.host.webapp.WebAppServletHost 
> addServletMapping
> INFO: addServletMapping: /AlertsSourcesServiceJSONRPC
> 21-Sep-2007 12:25:00 org.apache.tuscany.sca.host.webapp.WebAppServletHost 
> addServletMapping
> INFO: addServletMapping: /SCADomain/scaDomain.js
> Request = {"params":["sometext"],"id":2,"method":"getAllNewAlerts"}
> 21-Sep-2007 12:25:02 org.apache.axis2.deployment.DeploymentEngine 
> loadFromClassPath
> INFO: Module validation failed: The system is attempting to engage a module 
> that is not available: rampart
> 21-Sep-2007 12:25:02 org.apache.axis2.deployment.DeploymentEngine 
> loadFromClassPath
> INFO: Module validation failed: The system is attempting to engage a module 
> that is not available: rampart
> 21-Sep-2007 12:25:02 org.apache.tuscany.sca.host.webapp.WebAppServletHost 
> addServletMapping
> INFO: addServletMapping: /AlertsFeedServiceRSS
> 21-Sep-2007 12:25:02 org.apache.tuscany.sca.host.webapp.WebAppServletHost 
> addServletMapping
> INFO: addServletMapping: /AlertsFeedServiceAtom/*
> 21-Sep-2007 12:25:02 org.apache.tuscany.sca.host.webapp.WebAppServletHost 
> addServletMapping
> INFO: addServletMapping: /services/AlertsServiceWebServiceBinding
> 21-Sep-2007 12:25:02 org.apache.tuscany.sca.host.webapp.WebAppServletHost 
> addServletMapping
> INFO: addServletMapping: /AlertsServiceJSONRPC
> 21-Sep-2007 12:25:02 org.apache.tuscany.sca.host.webapp.WebAppServletHost 
> addServletMapping
> INFO: addServletMapping: /SCADomain/scaDomain.js
> 21-Sep-2007 12:25:02 org.apache.tuscany.sca.host.webapp.WebAppServletHost 
> addServletMapping
> INFO: addServletMapping: /services/AlertsSourcesServiceWebServiceBinding
> 21-Sep-2007 12:25:02 org.apache.tuscany.sca.host.webapp.WebAppServletHost 
> addServletMapping
> INFO: addServletMapping: /AlertsSourcesServiceJSONRPC
> 21-Sep-2007 12:25:02 org.apache.tuscany.sca.host.webapp.WebAppServletHost 
> addServletMapping
> INFO: addServletMapping: /SCADomain/scaDomain.js
> Request = 
> {"params":[{"feedType":"rss","javaClass":"org.apache.tuscany.sca.demos.aggregator.types.impl.SourceTypeImpl","address":"www.news.com","feedAddress":"http:\/\/news.com.com\/2547-1_3-0-20.xml","name":"news","id":"2","lastChecked":"lastChecked"}],"id":2,"method":"addAle