<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Deploying</title><link>https://sourceforge.net/p/openacs/wiki/Deploying/</link><description>Recent changes to Deploying</description><atom:link href="https://sourceforge.net/p/openacs/wiki/Deploying/feed" rel="self"/><language>en</language><lastBuildDate>Sat, 26 Apr 2014 18:33:01 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/openacs/wiki/Deploying/feed" rel="self" type="application/rss+xml"/><item><title>Deploying modified by &lt;REDACTED&gt;</title><link>https://sourceforge.net/p/openacs/wiki/Deploying/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -1,52 +0,0 @@
-Deploying
-----
- 
-Theoretically should run on any java application server but development and testing was done using JBoss application server 4.2.2 and MySQL database server.
- 
-To get OpenACS running you should:
-Setup on your machine JBoss 4.2.2 and Java JDK 1.5. To run with JDK6 jboss 4.2.x binary for jdk6 must be used.
-
-Install into JBoss MySQL JDBC driver. Download Connector/J and after extracting from archive put the file mysql-connector-java-5.1.5-bin.jar (or whatever version number) into directory your_jboss_location\server\default\lib. 
-
-Restart JBoss.
-
-Configure data source in jboss by creating openacs-ds.xml in JBoss default deployment directory, by default JBoss_installation_dir/server/default/deploy openacs-ds.xml: 
-
-~~~~
-
-
-    
-        ACS
-        your_db_url, e.g. jdbc:mysql://localhost/ACS
-        com.mysql.jdbc.Driver
-        your_db_user
-        your_db_password
-        5
-        20
-        5
-    
- 
-~~~~
-
-Setup MySQL database server and create database and user to match the ones you’ve configured in previous step. e.g connect to your server and execute these commands 
-
-~~~~
-CREATE DATABASE ACS;
-GRANT ALL ON ACS.* TO your_db_user IDENTIFIED BY 'your_db_password'; 
-~~~~
-
-Create file openacs-service.xml in JBoss_installation_dir/server/default/deploy/jms openacs-service.xml: 
-
-~~~~
-
-
- 
-  jboss.mq:service=DestinationManager
- 
- 
-~~~~
-
-Copy openacs.ear to JBoss_installation_dir/server/default/deploy.
-
-Ensure that jboss is listening on network interfaces not only to localhost. Do so by starting jboss with option -b server_ip_address or jboss -b 0.0.0.0 to listen on all available interfaces.
- 
&lt;/pre&gt;
&lt;/div&gt;</description><pubDate>Sat, 26 Apr 2014 18:33:01 -0000</pubDate><guid>https://sourceforge.nete4b4d713153a939610d38ad65d611bf1425d2b95</guid></item><item><title>WikiPage Deploying modified by &lt;REDACTED&gt;</title><link>https://sourceforge.net/p/openacs/wiki/Deploying/</link><description>Deploying
----
 
Theoretically should run on any java application server but development and testing was done using JBoss application server 4.2.2 and MySQL database server.
 
To get OpenACS running you should:
Setup on your machine JBoss 4.2.2 and Java JDK 1.5. To run with JDK6 jboss 4.2.x binary for jdk6 must be used.

Install into JBoss MySQL JDBC driver. Download Connector/J and after extracting from archive put the file mysql-connector-java-5.1.5-bin.jar (or whatever version number) into directory your_jboss_location\server\default\lib. 

Restart JBoss.

Configure data source in jboss by creating openacs-ds.xml in JBoss default deployment directory, by default JBoss_installation_dir/server/default/deploy openacs-ds.xml: 

~~~~
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;datasources&gt;
    &lt;local-tx-datasource&gt;
        &lt;jndi-name&gt;ACS&lt;/jndi-name&gt;
        &lt;connection-url&gt;your_db_url, e.g. jdbc:mysql://localhost/ACS&lt;/connection-url&gt;
        &lt;driver-class&gt;com.mysql.jdbc.Driver&lt;/driver-class&gt;
        &lt;user-name&gt;your_db_user&lt;/user-name&gt;
        &lt;password&gt;your_db_password&lt;/password&gt;
        &lt;min-pool-size&gt;5&lt;/min-pool-size&gt;
        &lt;max-pool-size&gt;20&lt;/max-pool-size&gt;
        &lt;idle-timeout-minutes&gt;5&lt;/idle-timeout-minutes&gt;
    &lt;/local-tx-datasource&gt;
&lt;/datasources&gt; 
~~~~

Setup MySQL database server and create database and user to match the ones you’ve configured in previous step. e.g connect to your server and execute these commands 

~~~~
CREATE DATABASE ACS;
GRANT ALL ON ACS.* TO your_db_user IDENTIFIED BY 'your_db_password'; 
~~~~

Create file openacs-service.xml in JBoss_installation_dir/server/default/deploy/jms openacs-service.xml: 

~~~~
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;server&gt;
 &lt;mbean code="org.jboss.mq.server.jmx.Queue" name="jboss.mq.destination:service=Queue,name=acsQueue"&gt;
  &lt;depends optional-attribute-name="DestinationManager"&gt;jboss.mq:service=DestinationManager&lt;/depends&gt;
 &lt;/mbean&gt;
&lt;/server&gt; 
~~~~

Copy openacs.ear to JBoss_installation_dir/server/default/deploy.

Ensure that jboss is listening on network interfaces not only to localhost. Do so by starting jboss with option -b server_ip_address or jboss -b 0.0.0.0 to listen on all available interfaces.
 </description><pubDate>Thu, 09 Aug 2012 07:49:42 -0000</pubDate><guid>https://sourceforge.net2a313714d5c2ea334a7bee7f5b41419f48add2b4</guid></item></channel></rss>