You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by lr...@apache.org on 2008/01/13 19:08:01 UTC

svn commit: r611612 - in /incubator/tuscany/branches/sca-java-1.1/samples/helloworld-bpel: README build.xml src/main/resources/log4j.properties

Author: lresende
Date: Sun Jan 13 10:08:00 2008
New Revision: 611612

URL: http://svn.apache.org/viewvc?rev=611612&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/branches/sca-java-1.1/samples/helloworld-bpel/README
    incubator/tuscany/branches/sca-java-1.1/samples/helloworld-bpel/build.xml
    incubator/tuscany/branches/sca-java-1.1/samples/helloworld-bpel/src/main/resources/log4j.properties

Modified: incubator/tuscany/branches/sca-java-1.1/samples/helloworld-bpel/README
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-1.1/samples/helloworld-bpel/README?rev=611612&r1=611611&r2=611612&view=diff
==============================================================================
--- incubator/tuscany/branches/sca-java-1.1/samples/helloworld-bpel/README (original)
+++ incubator/tuscany/branches/sca-java-1.1/samples/helloworld-bpel/README Sun Jan 13 10:08:00 2008
@@ -62,6 +62,26 @@
 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,42 +100,36 @@
  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] ------------------------------------------------------------------------
 
 

Modified: incubator/tuscany/branches/sca-java-1.1/samples/helloworld-bpel/build.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-1.1/samples/helloworld-bpel/build.xml?rev=611612&r1=611611&r2=611612&view=diff
==============================================================================
--- incubator/tuscany/branches/sca-java-1.1/samples/helloworld-bpel/build.xml (original)
+++ incubator/tuscany/branches/sca-java-1.1/samples/helloworld-bpel/build.xml Sun Jan 13 10:08:00 2008
@@ -81,7 +81,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/branches/sca-java-1.1/samples/helloworld-bpel/src/main/resources/log4j.properties
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-1.1/samples/helloworld-bpel/src/main/resources/log4j.properties?rev=611612&r1=611611&r2=611612&view=diff
==============================================================================
--- incubator/tuscany/branches/sca-java-1.1/samples/helloworld-bpel/src/main/resources/log4j.properties (original)
+++ incubator/tuscany/branches/sca-java-1.1/samples/helloworld-bpel/src/main/resources/log4j.properties Sun Jan 13 10:08:00 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: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org