Deploy to JBoss 6
Here are the steps to deploy SymmetricDS Pro as a WAR file on JBoss 6.
- Prepare your symmetric.properties file. At a minimum, it should contain the following properties:
group.id=server external.id=server engine.name=server sync.url=http://myserver:8080/symmetricpro/sync/server db.url=jdbc:h2:file:server db.driver=org.h2.Driver db.user= db.password=
- Build the WAR file and give it the properties file.
symadmin create-war -p symmetric.properties symmetricpro.war
- Download gwt-user.jar from the Maven repository.
- add gtw-user-2.4.0.jar to WEB-INF/lib
- add your JDBC driver to WEB-INF/lib
- remove WEB-INF/classes/log4j.xml
- (Optional) Adjust the logging settings to reduce verbose logging by editing the standalone.xml file:
<logger category="org.jumpmind.symmetric.ClientSymmetricEngine$PropertiesFactoryBean"> <level name="ERROR"/> </logger> <logger category="org.springframework"> <level name="WARN"/> </logger>
- Deploy the resulting WAR file to JBoss