Configuring WebSphere Application Server for Oracle manually
IBM Worklight V5.0.5. automatically configures your databases. However, if you are using an older version of IBM Worklight, or if you are experiencing problems with the automatic configuration process for the WebSphere Application Server, you must manually set up and configure your Oracle database and then the WebSphere Application Server for Oracle. Complete the Oracle database setup procedure before continuing.
- Set up the JDBC provider:
- In the WebSphere Application Server console, click Resources > JDBC > JDBC Providers > New.
- Set the scope of the JDBC connection to cells:ndcell.
- Complete the JDBC Provider fields:
- Set Database type to Oracle.
- Set Provider type to Oracle JDBC Driver.
- Set Implementation type to Connection pool data source.
- Set Name to Oracle JDBC Driver.
- Click Next.
- Set the class path for the ojdbc6.jar file, for example /home/Oracle-jar/ojdbc6.jar.
- Click Next.
The JDBC provider is created.
- Create a data source for the IBM Worklight database:
- Click Resources > JDBC > Data sources > New.
- Set Data source name to Oracle JDBC Driver DataSource.
- Set JNDI name to jdbc/WorklightDS.
- Click Next.
- Click Select an existing JDBC provider and select Oracle JDBC driver from the list.
- Click Next.
- Set the URL value to jdbc:oracle:thin:@ host_ip_address:1521/ORCL.
- Click Next twice.
- Click Resources > JDBC > Data sources > Oracle JDBC Driver DataSource > Custom properties.
- Set oracleLogPackageName to oracle.jdbc.driver.
- Set databaseName to worklight.
- Set portNumber to 1521.
- Set dataSourceName = worklight.
- Set user = worklight.
- Set password = worklight.
- Create a data source for the IBM Worklight reports database, following the instructions in step 2, but using the JNDI namejdbc/WorklightReportsDS.
Parent topic Troubleshooting