Configuring WebSphere Application Server for EJB development with the IMS Universal drivers

To develop Enterprise JavaBeans (EJB) applications that run on WebSphere Application Server, on either z/OS® or distributed platforms, custom properties for the Java Virtual Machine (JVM) and for XML/Java binding must be properly configured

Procedure

To configure the WebSphere Application Server for EJB applications that use the IMS Universal drivers:

  1. In the administrative console, select the appropriate Server instance and servant:
    1. Click Servers > Application servers > server_name.
    2. In the Server Infrastructure section select Java and process management > Process Definition.
    3. Select Servant.
  2. Set the Java™ Virtual Machine custom property com.ibm.ws.runtime.component.ResourceMgr.postBindNotify to true.
    1. Under Additional Properties, click Java virtual machine.
    2. Under Additional Properties, click Custom Properties.
    3. Set to true the custom property named com.ibm.ws.runtime.component.ResourceMgr.postBindNotify.
      If the custom property is not present in the list of already defined custom properties, create it and set it to true.
  3. If the IMS catalog is enabled in IMS and the javax.xml.bind.JAXBContext custom property does not already exist, take the following steps:
    1. Under Additional Properties, click Java virtual machine.
    2. Under Additional Properties, click Custom Properties.
    3. Create a custom property named javax.xml.bind.JAXBContext and set it to com.sun.xml.internal.bind.v2.ContextFactory.
  4. Save the changes.
  5. Restart the server.
You can query the custom properties of the corresponding Connection Factory, use the getProperty method exposed by the Connection Factory MBean.