Home > Installation
SQL Server Configuration on WebSphere Application Server 6.1
ebx.properties configuration
In section « Persistence parameters » of file ebx.properties, define sqlserver as the persistence database as follows: ebx.persistence.factory=sqlserver. Parameters url, user and password are not necessary, they are defined in WAS (WebSphere Application Server) data source configuration.
SQL_SERVER_JDBC_DRIVER_PATH configuration
Open WebSphere Administrative Console
Select Environment > WebSphere Variables
Click on New
Input name SQL_SERVER_JDBC_DRIVER_PATH, enter the path to SQL Server JDBC driver libraries (the directory that contains file sqljdbc.jar)
Click on Apply button, then Save
JDBC providers configuration
Select Resources > JDBC Providers
Click on New
Step 1: Select the database type, select User defined
Step 2: Modify the implementation class name com.microsoft.sqlserver.jdbc.SQLServerConnectionPoolDataSource
Step 3: Modify the provider name SQL Server JDBC Driver
Click on Next
Step 4: Modify class path ${SQL_SERVER_JDBC_DRIVER_PATH}/sqljdbc.jar
Click on Finish, then Save
Click on Data sources (Websphere Version 4) in Additional Properties
Click on New
Enter name SQL Server JDBC Driver - 4.0 DataSource
Enter the necessary parameters: Default user ID, Default password. Database name may be left blank since we shall provide a connect URL.
Click on Apply, then Save
Select SQL Server JDBC Driver - 4.0 DataSource
Click on Custom properties in Additional Properties
Click New
Modify the property name URL
Modify the property value, for example jdbc:sqlserver://127.0.0.1:1043;databasename=ebx
Click on Apply, then Save
Click on Test connection button in page JDBC providers > SQL Server JDBC Driver > Data sources (version 4) > SQL Server - 4.0 DataSource.
Check the message for the connection test
Connection Pool Timeout and Transaction Service Timeout configuration
Select Resources > JDBC Providers > SQL Server JDBC Driver > Data sources (version 4) > SQL Server JDBC Driver - 4.0 DataSource > Connection pool properties, configure the parameters according to your needs
Select Servers > Application Servers > server name > Container services > Transaction service, configure the parameters according to your needs
ebxPlatform.ear deployment
In page Applications > Install New Application, select the application to deploy (here ebxPlatform.ear), then click next, next, continue
Step 1: Specify options for installing enterprise applications and modules
Step 2: Map modules to servers
Step 3: Map resource references to resources, select the JNDI resource name already configured. In our example, it is jdbc/SQL Server JDBC Driver - 4.0 DataSource. Select the module ebx.war, enter the JNDI name in the displayed table, then click on OK button
Step 4: Map virtual hosts to web modules
Step 5: Summary, click on "finish" button
If the application is already deployed, you can select Applications > Enterprise Applications > EBX.Platform > Mapping resource references to resources
Home > Installation