You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by he...@apache.org on 2012/08/22 19:40:56 UTC

svn commit: r1376153 - in /incubator/airavata/site/trunk/content/airavata: architecture/ws-messenger.mdtext community/people.mdtext documentation/howto/howto.mdtext

Author: heshan
Date: Wed Aug 22 17:40:55 2012
New Revision: 1376153

URL: http://svn.apache.org/viewvc?rev=1376153&view=rev
Log:
Fix for AIRAVATA-543
Thanks Chathuri for the contribution.

Modified:
    incubator/airavata/site/trunk/content/airavata/architecture/ws-messenger.mdtext
    incubator/airavata/site/trunk/content/airavata/community/people.mdtext
    incubator/airavata/site/trunk/content/airavata/documentation/howto/howto.mdtext

Modified: incubator/airavata/site/trunk/content/airavata/architecture/ws-messenger.mdtext
URL: http://svn.apache.org/viewvc/incubator/airavata/site/trunk/content/airavata/architecture/ws-messenger.mdtext?rev=1376153&r1=1376152&r2=1376153&view=diff
==============================================================================
--- incubator/airavata/site/trunk/content/airavata/architecture/ws-messenger.mdtext (original)
+++ incubator/airavata/site/trunk/content/airavata/architecture/ws-messenger.mdtext Wed Aug 22 17:40:55 2012
@@ -41,13 +41,13 @@ The following figure illustrates the hig
 
 ## WS-Messenger Modules 
 
-1. Message Broker: The broker handles filtering/delivering messages to even sinks and subscription management. 
-WS-Messenger support filtering messages based on XPath expression and topic expression. Message broker is implemented on 
-Web services specifications and provide the mediation between WS-Eventing Specification and WS-Notification Specifications. 
-WS-Eventing and WS-Notification specifications are two competing specifications defining the interfaces for Web services-based 
-publish/subscribe systems.  The Web Services interfaces and the notification message formats defined in these two 
-specifications are fundamentally different. WS-Messenger provides a mediation approach facilitating interoperability with supported services. 
-WS-Messenger can automatically convert the notification message formats to makes sure that the message “on the wire” can be understood by the 
+1. Message Broker: The broker handles filtering/delivering messages to even sinks and subscription management.
+WS-Messenger support filtering messages based on XPath expression and topic expression. Message broker is implemented on
+Web services specifications and provide the mediation between WS-Eventing Specification and WS-Notification Specifications.
+WS-Eventing and WS-Notification specifications are two competing specifications defining the interfaces for Web services-based
+publish/subscribe systems.  The Web Services interfaces and the notification message formats defined in these two
+specifications are fundamentally different. WS-Messenger provides a mediation approach facilitating interoperability with supported services.
+WS-Messenger can automatically convert the notification message formats to makes sure that the message “on the wire” can be understood by the
 event consumers. For example, a WS-Notification  consumer can receive notification messages published by a WS-Eventing publisher and vice versa. 
 The event consumer type is determined by the subscription request message type. Here we assume that the subscribers and the event 
 consumers use the same specification. This is a valid assumption for most cases since the subscribers needs to know the location of the event consumers.

Modified: incubator/airavata/site/trunk/content/airavata/community/people.mdtext
URL: http://svn.apache.org/viewvc/incubator/airavata/site/trunk/content/airavata/community/people.mdtext?rev=1376153&r1=1376152&r2=1376153&view=diff
==============================================================================
--- incubator/airavata/site/trunk/content/airavata/community/people.mdtext (original)
+++ incubator/airavata/site/trunk/content/airavata/community/people.mdtext Wed Aug 22 17:40:55 2012
@@ -16,7 +16,9 @@ Notice:    Licensed to the Apache Softwa
            specific language governing permissions and limitations
            under the License.
 
-Apache Airavata is a community developed project. The list below is a partial list of contributors to the project (sorted by last name), for a complete list you'd haveto look at all contributors to our issue tracker, mailing list and version control.
+Apache Airavata is a community developed project. The list below is a partial list of contributors to the project
+(sorted by last name), for a complete list you'd have to look at all contributors to our issue tracker, mailing list
+and version control.
 
  **Committers:**
 

Modified: incubator/airavata/site/trunk/content/airavata/documentation/howto/howto.mdtext
URL: http://svn.apache.org/viewvc/incubator/airavata/site/trunk/content/airavata/documentation/howto/howto.mdtext?rev=1376153&r1=1376152&r2=1376153&view=diff
==============================================================================
--- incubator/airavata/site/trunk/content/airavata/documentation/howto/howto.mdtext (original)
+++ incubator/airavata/site/trunk/content/airavata/documentation/howto/howto.mdtext Wed Aug 22 17:40:55 2012
@@ -61,14 +61,23 @@ database and AIRAVATA_HOME/standalone-se
     * AIRAVATA_HOME/standalone-server/bin/database_scripts/mgsBox-mysql.sql
     * AIRAVATA_HOME/standalone-server/bin/database_scripts/msgBroker-mysql.sql
 
-3. Change msgBox.properties and msgBroker.properties files with database driver name and database urls as below.
+3. Change msgBox.properties and msgBroker.properties files located at AIRAVATA_HOME/standalone-server/conf with database driver name and database urls as below.
     * msgBox.jdbc.driver=com.mysql.jdbc.Driver
     * msgBox.jdbc.url=jdbc:mysql://localhost:3306/wsmg?user=airavata&password=airavata
     * broker.jdbc.driver=com.mysql.jdbc.Driver
     * broker.jdbc.url=jdbc:mysql://localhost:3306/wsmg?user=airavata&password=airavata
+Once you update the parameters, make sure that you have commented-out default derby values and uncommented-out mysql values.
+Now your msgBox.properties file would look like this. 
+#For mysql datbase
+msgBox.jdbc.driver=com.mysql.jdbc.Driver
+msgBox.jdbc.url=jdbc:mysql://localhost:3306/wsmg?user=airavata&password=airavata
+#Default derby database
+#msgBox.jdbc.driver=org.apache.derby.jdbc.EmbeddedDriver
+#msgBox.jdbc.url=jdbc:derby:wsmg;create=true;user=airavata;password=airavata
 
-4. Change the driver class name based on your driver and copy your driver to AIRAVATA_HOME/standalon-server/lib directory and start the server.. You are ready to go with 
-   Mysql database.
+In the similar manner update the msgBroker.properties file as well.
+
+4. Change the driver class name based on your driver and copy your driver(in this case, it is mysql-connector-java-5.1.13-bin.jar) to AIRAVATA_HOME/standalon-server/lib directory and start the server. To start the server, go to AIRAVATA_HOME/bin folder and run the script airavata-server.sh/airavata-server.bat. Now you are ready to go with Mysql database.
 
 ### How can I run WS-Messenger without using any database.