You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by ni...@apache.org on 2006/11/20 09:23:18 UTC
svn commit: r477101 - in
/incubator/cxf/trunk/distribution/src/main/release/samples:
jms_pubsub/README.txt jms_queue/README.txt
Author: ningjiang
Date: Mon Nov 20 00:23:14 2006
New Revision: 477101
URL: http://svn.apache.org/viewvc?view=rev&rev=477101
Log:
Fixed jms_queue,jms_pubsub README.txt java command error
Modified:
incubator/cxf/trunk/distribution/src/main/release/samples/jms_pubsub/README.txt
incubator/cxf/trunk/distribution/src/main/release/samples/jms_queue/README.txt
Modified: incubator/cxf/trunk/distribution/src/main/release/samples/jms_pubsub/README.txt
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/distribution/src/main/release/samples/jms_pubsub/README.txt?view=diff&rev=477101&r1=477100&r2=477101
==============================================================================
--- incubator/cxf/trunk/distribution/src/main/release/samples/jms_pubsub/README.txt (original)
+++ incubator/cxf/trunk/distribution/src/main/release/samples/jms_pubsub/README.txt Mon Nov 20 00:23:14 2006
@@ -22,7 +22,7 @@
This demo requires ActiveMQ 4.0.X. Before you run this
demo, please make sure you had installed the ActiveMQ 4.0.X and
-set ACTIVE_HOME and ACTIVE_VERSION environment variables.
+set ACTIVEMQ_HOME and ACTIVEMQ_VERSION environment variables.
Befor you run this demo, start up the JMS message broker.
@@ -86,12 +86,14 @@
For UNIX:
- export CLASSPATH=$CLASSPATH:$CXF_HOME/lib/cxf-incubator.jar:./build/classes
+ export CLASSPATH=$CLASSPATH:$CXF_HOME/lib/cxf-incubator.jar:./build/classes:
+$ACTIVEMQ_HOME/incubator-activemq-$ACTIVEMQ_VERSION.jar
javac -d build/classes src/demo/jms_greeter/client/*.java
javac -d build/classes src/demo/jms_greeter/server/*.java
For Windows:
- set classpath=%classpath%;%CXF_HOME%\lib\cxf-incubator.jar;.\build\classes
+ set classpath=%classpath%;%CXF_HOME%\lib\cxf-incubator.jar;.\build\classes;
+%ACTIVEMQ_HOME%\incubator-activemq-%ACTIVEMQ_VERSION%.jar
javac -d build\classes src\demo\jms_greeter\client\*.java
javac -d build\classes src\demo\jms_greeter\server\*.java
@@ -106,10 +108,10 @@
For UNIX (must use forward slashes):
java -Djava.util.logging.config.file=$CXF_HOME/etc/logging.properties
- demo.hwJMS.server.Server &
+ demo.jms_greeter.server.Server &
java -Djava.util.logging.config.file=$CXF_HOME/etc/logging.properties
- demo.hwJMS.client.Client ./wsdl/jms_greeter.wsdl
+ demo.jms_greeter.client.Client ./wsdl/jms_greeter.wsdl
The server process starts in the background. After running the client,
use the kill command to terminate the server process.
@@ -117,10 +119,10 @@
For Windows (may use either forward or back slashes):
start
java -Djava.util.logging.config.file=%CXF_HOME%\etc\logging.properties
- demo.hwJMS.server.Server
+ demo.jms_greeter.server.Server
java -Djava.util.logging.config.file=%CXF_HOME%\etc\logging.properties
- demo.hwJMS.client.Client .\wsdl\jms_greeter.wsdl
+ demo.jms_greeter.client.Client .\wsdl\jms_greeter.wsdl
A new command windows opens for the server process. After running the
client, terminate the server process by issuing Ctrl-C in its command window.
Modified: incubator/cxf/trunk/distribution/src/main/release/samples/jms_queue/README.txt
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/distribution/src/main/release/samples/jms_queue/README.txt?view=diff&rev=477101&r1=477100&r2=477101
==============================================================================
--- incubator/cxf/trunk/distribution/src/main/release/samples/jms_queue/README.txt (original)
+++ incubator/cxf/trunk/distribution/src/main/release/samples/jms_queue/README.txt Mon Nov 20 00:23:14 2006
@@ -22,7 +22,7 @@
This demo requires ActiveMQ 4.X. Before you run this demo,
please make sure you have installed the ActiveMQ 4.X and
-set ACTIVE_HOME and ACTIVE_VERSION environment variables.
+set ACTIVEMQ_HOME and ACTIVEMQ_VERSION environment variables.
Befor you run this demo, please start up the JMS message broker first.
@@ -85,12 +85,14 @@
For UNIX:
- export CLASSPATH=$CLASSPATH:$CXF_HOME/lib/cxf-incubator.jar:./build/classes
+ export CLASSPATH=$CLASSPATH:$CXF_HOME/lib/cxf-incubator.jar:./build/classes:
+$ACTIVEMQ_HOME/incubator-activemq-$ACTIVEMQ_VERSION.jar
javac -d build/classes src/demo/jms_greeter/client/*.java
javac -d build/classes src/demo/jms_greeter/server/*.java
For Windows:
set classpath=%classpath%;%CXF_HOME%\lib\cxf-incubator.jar;.\build\classes
+%ACTIVEMQ_HOME%\incubator-activemq-%ACTIVEMQ_VERSION%.jar
javac -d build\classes src\demo\jms_greeter\client\*.java
javac -d build\classes src\demo\jms_greeter\server\*.java
@@ -104,10 +106,10 @@
For UNIX (must use forward slashes):
java -Djava.util.logging.config.file=$CXF_HOME/etc/logging.properties
- demo.hwJMS.server.Server &
+ demo.jms_greeter.server.Server &
java -Djava.util.logging.config.file=$CXF_HOME/etc/logging.properties
- demo.hwJMS.client.Client ./wsdl/jms_greeter.wsdl
+ demo.jms_greeter.client.Client ./wsdl/jms_greeter.wsdl
The server process starts in the background. After running the client,
use the kill command to terminate the server process.
@@ -115,10 +117,10 @@
For Windows (may use either forward or back slashes):
start
java -Djava.util.logging.config.file=%CXF_HOME%\etc\logging.properties
- demo.hwJMS.server.Server
+ demo.jms_greeter.server.Server
java -Djava.util.logging.config.file=%CXF_HOME%\etc\logging.properties
- demo.hwJMS.client.Client .\wsdl\jms_greeter.wsdl
+ demo.jms_greeter.client.Client .\wsdl\jms_greeter.wsdl
A new command windows opens for the server process. After running the
client, terminate the server process by issuing Ctrl-C in its command window.