Author: lresende
Date: Sun Jan 13 10:11:36 2008
New Revision: 611613
URL: http://svn.apache.org/viewvc?rev=611613&view=rev
Log:
TUSCANY-1969
Updates to README to show new ant run output and updated maven output
Updates to to clean-up console output
Modified:
incubator/tuscany/java/sca/samples/helloworld-bpel/README
incubator/tuscany/java/sca/samples/helloworld-bpel/build.xml
incubator/tuscany/java/sca/samples/helloworld-bpel/src/main/resources/log4j.properties
Modified: incubator/tuscany/java/sca/samples/helloworld-bpel/README
URL:
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/helloworld-bpel/README?rev=611613&r1=611612&r2=611613&view=diff
==============================================================================
--- incubator/tuscany/java/sca/samples/helloworld-bpel/README (original)
+++ incubator/tuscany/java/sca/samples/helloworld-bpel/README Sun Jan 13
10:11:36 2008
@@ -61,6 +61,28 @@
cd helloworld-bpel
ant compile
ant run
+
+
+You should see the following output from the run target.
+
+run:
+ [java] Starting BPELHelloWorldComponent
+ [java] >>> Deploying :
D:\temp\SCA1.1-RC1\tuscany-sca-1.1-incubating\samples\helloworld-bpel\target\classes
+ [java] ::arg:::::: <?xml version="1.0" encoding="UTF-8"?>
+ [java] <hello
xmlns="http://tuscany.apache.org/implementation/bpel/example/helloworld.wsdl"><message
xmlns="http://tuscany.apache.org/implementation/bpel/exampl
+e/helloworld.wsdl">Hello</message></hello>
+ [java] ::message:: <?xml version="1.0" encoding="UTF-8"?>
+ [java] <message><TestPart><hello
xmlns="http://tuscany.apache.org/implementation/bpel/example/helloworld.wsdl"><message
xmlns="http://tuscany.apache.org/impleme
+ntation/bpel/example/helloworld.wsdl">Hello</message></hello></TestPart></message>
+ [java] Status: RESPONSE
+ [java] Response: <?xml version="1.0" encoding="UTF-8"?>
+ [java] <message><TestPart><hello
xmlns="http://tuscany.apache.org/implementation/bpel/example/helloworld.wsdl">Hello
World</hello></TestPart></message>
+ [java] Hello World
+ [java] Stopping BPELHelloWorldComponent
+ [java] Stopped !!!
+
+BUILD SUCCESSFUL
+Total time: 36 seconds
Building And Running The Sample Using Maven
@@ -80,43 +102,39 @@
T E S T S
-------------------------------------------------------
Running helloworld.BPELHelloWorldTestCase
-Starting BPELHelloWorldComponent
org.apache.tuscany.sca.core.assembly.RuntimeComponentImpl
-INFO - GeronimoLog.info(79) | BPEL Server Started.
-10:19:31,609 INFO [BpelServerImpl] BPEL Server Started.
-Deploying :
D:\dev\Opensource\Apache\Tuscany\source\java\sca\samples\helloworld-bpel\target\classes
-D:\dev\Opensource\Apache\Tuscany\source\java\sca\samples\helloworld-bpel\target\classes
-INFO - GeronimoLog.info(79) | Process
{http://tuscany.apache.org/implementation/bpel/example/helloworld}HelloWorld-1
has been unregistered.
-10:19:37,656 INFO [BpelServerImpl] Process
{http://tuscany.apache.org/implementation/bpel/example/helloworld}HelloWorld-1
has been unregistered.
-INFO - GeronimoLog.info(79) | Activated process
{http://tuscany.apache.org/implementation/bpel/example/helloworld}HelloWorld-1.
-10:19:38,312 INFO [BpelServerImpl] Activated process
{http://tuscany.apache.org/implementation/bpel/example/helloworld}HelloWorld-1.
-INFO - GeronimoLog.info(79) | Process
{http://tuscany.apache.org/implementation/bpel/example/helloworld}HelloWorld-1
has been unregistered.
-10:19:38,312 INFO [BpelServerImpl] Process
{http://tuscany.apache.org/implementation/bpel/example/helloworld}HelloWorld-1
has been unregistered.
-INFO - GeronimoLog.info(79) | Activated process
{http://tuscany.apache.org/implementation/bpel/example/helloworld}HelloWorld-1.
-10:19:38,453 INFO [BpelServerImpl] Activated process
{http://tuscany.apache.org/implementation/bpel/example/helloworld}HelloWorld-1.
+Starting BPELHelloWorldComponent
+>>> Deploying :
D:\dev\Opensource\Apache\Tuscany\source\java-sca-1.1\samples\helloworld-bpel\target\classes
+::arg:::::: <?xml version="1.0" encoding="UTF-8"?>
+<hello
xmlns="http://tuscany.apache.org/implementation/bpel/example/helloworld.wsdl"><message
xmlns="http://tuscany.apache.org/implementation/bpel/example/helloworld
+.wsdl">Hello</message></hello>
::message:: <?xml version="1.0" encoding="UTF-8"?>
-<message><TestPart><hello
xmlns="http://tuscany.apache.org/implementation/bpel/example/helloworld.wsdl"/></TestPart></message>
+<message><TestPart><hello
xmlns="http://tuscany.apache.org/implementation/bpel/example/helloworld.wsdl"><message
xmlns="http://tuscany.apache.org/implementation/bpel
+/example/helloworld.wsdl">Hello</message></hello></TestPart></message>
Status: RESPONSE
Response: <?xml version="1.0" encoding="UTF-8"?>
-<message><TestPart><hello
xmlns="http://tuscany.apache.org/implementation/bpel/example/helloworld.wsdl">
World</hello></TestPart></message>
-Stopping BPELHelloWorldComponent
org.apache.tuscany.sca.core.assembly.RuntimeComponentImpl
-Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 18.031 sec
+<message><TestPart><hello
xmlns="http://tuscany.apache.org/implementation/bpel/example/helloworld.wsdl">Hello
World</hello></TestPart></message>
+Stopping BPELHelloWorldComponent
+Stopped !!!
+Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 18.656 sec
Results :
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
[INFO] [jar:jar]
-[INFO] Building jar:
D:\dev\Opensource\Apache\Tuscany\source\java\sca\samples\helloworld-bpel\target\sample-helloworld-bpel.jar
+[INFO] Building jar:
D:\dev\Opensource\Apache\Tuscany\source\java-sca-1.1\samples\helloworld-bpel\target\sample-helloworld-bpel.jar
[INFO] [install:install]
-[INFO] Installing
D:\dev\Opensource\Apache\Tuscany\source\java\sca\samples\helloworld-bpel\target\sample-helloworld-bpel.jar
to C:\Documents and Settings\lresende\.m
-2\repository\org\apache\tuscany\sca\sample-helloworld-bpel\1.1-incubating-SNAPSHOT\sample-helloworld-bpel-1.1-incubating-SNAPSHOT.jar
+[INFO] Installing
D:\dev\Opensource\Apache\Tuscany\source\java-sca-1.1\samples\helloworld-bpel\target\sample-helloworld-bpel.jar
to C:\Documents and Settings\lresend
+e\.m2\repository\org\apache\tuscany\sca\sample-helloworld-bpel\1.1-incubating-SNAPSHOT\sample-helloworld-bpel-1.1-incubating-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
-[INFO] Total time: 1 minute 3 seconds
-[INFO] Finished at: Tue Sep 18 10:19:41 PDT 2007
-[INFO] Final Memory: 24M/46M
+[INFO] Total time: 53 seconds
+[INFO] Finished at: Sun Jan 13 09:54:39 PST 2008
+[INFO] Final Memory: 24M/43M
[INFO] ------------------------------------------------------------------------
+
+
This shows that the Junit test cases have run successfully.
Modified: incubator/tuscany/java/sca/samples/helloworld-bpel/build.xml
URL:
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/helloworld-bpel/build.xml?rev=611613&r1=611612&r2=611613&view=diff
==============================================================================
--- incubator/tuscany/java/sca/samples/helloworld-bpel/build.xml (original)
+++ incubator/tuscany/java/sca/samples/helloworld-bpel/build.xml Sun Jan 13
10:11:36 2008
@@ -77,7 +77,8 @@
<target name="run">
<java classname="helloworld.BPELClient"> <!-- fork="true" -->
- <!-- jvmarg value="-Xdebug
-Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=y"/ -->
+ <!-- jvmarg value="-Xdebug"/ -->
+ <!-- jvmarg
value="-Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=y"/ -->
<classpath>
<pathelement location="target/classes"/>
<pathelement location="target/database"/>
Modified:
incubator/tuscany/java/sca/samples/helloworld-bpel/src/main/resources/log4j.properties
URL:
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/helloworld-bpel/src/main/resources/log4j.properties?rev=611613&r1=611612&r2=611613&view=diff
==============================================================================
---
incubator/tuscany/java/sca/samples/helloworld-bpel/src/main/resources/log4j.properties
(original)
+++
incubator/tuscany/java/sca/samples/helloworld-bpel/src/main/resources/log4j.properties
Sun Jan 13 10:11:36 2008
@@ -16,17 +16,18 @@
#
# Set root logger level to WARN and its only appender to CONSOLE
-log4j.rootLogger=INFO, CONSOLE
+log4j.rootLogger=OFF, CONSOLE
# log4j properties to work with commandline tools.
-log4j.category.org.mortbay=ERROR
-log4j.category.org.hibernate.type=WARN
-log4j.category.org.objectweb=INFO
-log4j.category.org.apache.ode.sql=INFO
-log4j.category.org.apache.ode.axis2=INFO
-log4j.category.org.apache.ode.bpel.engine=INFO
-log4j.category.org.apache.ode.daohib.bpel.CorrelatorDaoImpl=INFO
-log4j.category.org.apache.ode.bpel.epr=INFO
+log4j.category.org.mortbay=OFF
+log4j.category.org.hibernate.type=OFF
+log4j.category.org.objectweb=OFF
+log4j.category.org.apache.ode.sql=OFF
+log4j.category.org.apache.ode.axis2=OFF
+log4j.category.org.apache.ode.bpel.engine=OFF
+log4j.category.org.apache.ode.daohib.bpel.CorrelatorDaoImpl=OFF
+log4j.category.org.apache.ode.bpel.epr=OFF
+log4j.category.org.apache.openjpa.kernel=OFF
# Console appender
log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]