Difference between revisions of "Installation JBoss 7.1.1"
Jump to navigation
Jump to search
old>Admin |
old>Admin |
||
Line 14: | Line 14: | ||
# Create the file [JBOSS]\modules\com\mysql\main\'''module.xml''' | # Create the file [JBOSS]\modules\com\mysql\main\'''module.xml''' | ||
# Copy the following contents | # Copy the following contents | ||
<?xml version="1.0" encoding="UTF-8"?><br> | |||
<?xml version="1.0" encoding="UTF-8"?><br> | <module xmlns="urn:jboss:module:1.0" name="com.mysql"><br> | ||
<module xmlns="urn:jboss:module:1.0" name="com.mysql"><br> | <resources><br> | ||
<resource-root path="mysql-connector-java-5.1.6-bin.jar"/><br> | |||
</resources><br> | |||
<dependencies><br> | |||
<module name="javax.api"/><br> | |||
</dependencies><br> | |||
</module><br> | |||
</module><br> | |||
</p></blockquote> | </p></blockquote> | ||
# Edit file [JBOSS]\standalone\configuration\'''standalone.xml''' | # Edit file [JBOSS]\standalone\configuration\'''standalone.xml''' |
Revision as of 00:56, 2 March 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
- MySQL driver for Java: http://dev.mysql.com/downloads/connector/j/
- TempusServa install files (CD/USB/URL)
Install MySQL driver (option)
- Create folder path: [JBOSS]\modules\com\mysql\main
- Copy mysql-connector-java-5.1.6-bin.jar
- Create the file [JBOSS]\modules\com\mysql\main\module.xml
- 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>
- Edit file [JBOSS]\standalone\configuration\standalone.xml
- Navigate to: server > profile > subsystem > datasource > drivers
- Insert the following code
<driver name="mysql" module="com.mysql"/>
Install Tempus Serva
- Copy TempusServa.xml to [JBOSS]\standalone\configuration
- Optionally edit connection strings to database
- Copy TempusServa.war to [JBOSS]\standalone\deployments
- Rename file to TempusServa.zip
- Extract all files
- Rename folder to TempusServa.war
- Create a file TempusServa.war.deployed in [JBOSS]\standalone\deployments
Set memory settings
- Edit [JBoss home]\bin\standalone.conf.bat
- Ensure the following value is present
set "JAVA_OPTS= -Xmx512m -Xms1024m -XX:MaxPermSize=256m"
Read more about Memory settings
Start and check server
- Execute [JBOSS]\bin\standalone.bat
- Validate the application was deployed without errors (there will be lots of warnings)
- Check server is responding at: localhost/TempusServa/login
Set up server configurations
Required configurations
Other common options