SYSBASE database configuration
Sybase Adaptive Server Enterprises (ASE) is the Sysbase's database server. ASE can be used on UNIX and Linux platforms. Similarly, we have to drive its database to the classpath, copy it into the / server / default / lib directory, then copy the /DOCS/examples/jca/sybase-ds.xml to / Server / Default / Deploy directory . Modify the Sybase-DS.xml file to set
jaws>
Modify the
defaults>
jbosscmp-jdbc>
Finally modify the login-config.xml file to use the SYSBASE database. Set the
"Org.jboss.Resource.security.configuredIndityLoginmodule" Flag = "Required"> JBoss.jca: service = localtxcm, name = Sybaseds MODULE-OPTION> login-module> authentication> application-policy> Modified Sybase-DS.xml, StandardJaws.xml, StandardJbosscmp-JDBC.XML, and you can use Sysbase in JBOSS after you and the login-config.xml file. DB2 database configuration IBM's DB2 is a perfect, easy to use the database server, which can be used on Linux, UNIX, and Windows platforms. Use DB2 on JBoss4 as long as you copy db2java.zip to the / Server / Default / Lib directory. Then copy the /DOCS/examples/jca/db2-ds.xml to / Server / Default / Deploy directory, then modify the jaws> Here is the corresponding StandardJbosscmp-JDBC.XML (or JBossCMP-JDBC.XML) file: defaults> jbosscmp-jdbc> Finally, add the following in the Login-Config.xml file: "Org.jboss.Resource.security.configuredIndityLoginmodule" Flag = "Required"> Principal> SA module-option> "Username"> SA module-option> "Password"> module-option> JBoss.jca: service = localtxcm, name = db2ds MODULE-OPTION> login-module> authentication> application-policy> Complete the above configuration can use DB2 on JBOSS. Informix database configuration IBM's INFOXMIX database server is used as a data warehouse, analysis and reporting. Use the Informix database on JBoss4, first copy it to the / server / default / lib directory, then copy / serve / default / deploy In the directory, if you use a transaction (XA) JDBC, copy the /DOCS/examples/jca/informix-xa-ds.xml file. The next step is to modify this informix-ds.xml file, set the JDBC: Informix-Sqli: // Among them, jaws> Set the defaults> jbosscmp-jdbc> Finally, add "Org.jboss.Resource.security.configuredIndityLoginmodule" Flag = "Required"> JBoss.jca: service = localtxcm, name = informixds module-option> login-module> authentication> application-policy> This way, you can use the Informix database in JBOSS4. in conclusion JBoss4 uses the Hypersonic database by default, but if you see us as long as you have a simple modification of several configuration files, you can use the popular different databases on the market.