Difference between revisions of "Installation JBoss 7.1.1"

From TempusServa wiki
Jump to navigation Jump to search
old>Admin
old>Admin
Line 13: Line 13:
# Copy the following contents
# Copy the following contents
<blockquote><p>
<blockquote><p>
<?xml version="1.0" encoding="UTF-8"?>
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br>
<module xmlns="urn:jboss:module:1.0" name="com.mysql">
&lt;module xmlns=&quot;urn:jboss:module:1.0&quot; name=&quot;com.mysql&quot;&gt;<br>
   <resources>
   &lt;resources&gt;<br>
     <resource-root path="mysql-connector-java-5.1.6-bin.jar"/>
     &lt;resource-root path=&quot;mysql-connector-java-5.1.6-bin.jar&quot;/&gt;<br>
   </resources>
   &lt;/resources&gt;<br>
   <dependencies>
   &lt;dependencies&gt;<br>
     <module name="javax.api"/>
     &lt;module name=&quot;javax.api&quot;/&gt;<br>
   </dependencies>
   &lt;/dependencies&gt;<br>
</module>
&lt;/module&gt;<br>
</p></blockquote>
</p></blockquote>
# Edit file [JBOSS]\standalone\configuration\standalone.xml
# Edit file [JBOSS]\standalone\configuration\standalone.xml

Revision as of 23:47, 19 February 2013

The following guide have been tested using JBoss 7.1.1. on a Windows 7 platform.

Unix users should be able to follow the guidelines here equally well.

Prerequisites are

  • JBoss 7.1 installed and verified
  • TempusServa install files (CD/USB/URL)

Register the MySQL driver

  1. Create folder path: [JBOSS]\modules\com\mysql\main
  2. Copy mysql-connector-java-5.1.6-bin.jar
  3. Create the file [JBOSS]\modules\com\mysql\main\module.xml
  4. Copy the following contents

<?xml version="1.0" encoding="UTF-8"?>
<module xmlns="urn:jboss:module:1.0%22 name="com.mysql">
<resources>
<resource-root path="mysql-connector-java-5.1.6-bin.jar"/>
</resources>
<dependencies>
<module name="javax.api"/>
</dependencies>
</module>

  1. Edit file [JBOSS]\standalone\configuration\standalone.xml
  2. Navigate to: server > profile > subsystem > datasource > drivers
  3. Insert the following code

<driver name="mysql" module="com.mysql"/>

Install Tempus Serva

  1. Copy TempusServa.xml to [JBOSS]\standalone\configuration
  2. Copy TempusServa.war to [JBOSS]\standalone\deployments
  3. Rename file to TempusServa.zip
  4. Extract all files
  5. Rename folder to TempusServa.war
  6. Create a file TempusServa.war.deployed in [JBOSS]\standalone\deployments

Start and check server

  1. Execute [JBOSS]\bin\standalone.bat
  2. Validate the application was deployed without errors (there will be lots of warnings)
  3. Check server is responding at: localhost/TempusServa/login