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:
-
In the administrative console, select the appropriate Server instance and servant:
-
Click .
-
In the Server Infrastructure section select .
-
Select Servant.
-
Set the Java™ Virtual Machine custom property
com.ibm.ws.runtime.component.ResourceMgr.postBindNotify to
true.
-
Under Additional Properties, click Java virtual machine.
-
Under Additional Properties, click Custom Properties.
-
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.
-
If the IMS catalog is enabled in IMS and the javax.xml.bind.JAXBContext custom property
does not already exist, take the following steps:
-
Under Additional Properties, click Java virtual machine.
-
Under Additional Properties, click Custom Properties.
-
Create a custom property named javax.xml.bind.JAXBContext and set it to
com.sun.xml.internal.bind.v2.ContextFactory.
-
Save the changes.
-
Restart the server.
You can query the custom properties of the corresponding Connection Factory, use the
getProperty method exposed by the Connection Factory MBean.