Changes made to JVM profile in CICS are not being reflected in the runtime

久未见 提交于 2019-12-12 01:54:48

问题


I made a change to an OSGi JVM Profile by adding a library to LIBPATH_SUFFIX. After that I discarded my JVM server and reinstalled it, but the changes are not getting reflected. Is there a secondary step that I should have taken care of after making the changes to the JVM Profile file?


回答1:


If you want to add DB2 JDBC type2 driver support to an OSGi JVM server you will need to do the following:

  1. Add the DB2 libraries to the CICS STEPLIB
  2. Create/install a CICS DB2CONN resource and ensure this works

  3. Add the DB2 JDBC driver and license JARs to the JVM server middleware classpath using the OSGI_BUNDLES parameter. Note these JARs are already packaged as OSGi bundles.

  4. Add the DB2 shared libs to the JVM server LIBPATH_SUFFIX
  5. Disable/enable the JVM server to restart it

For reference see

  • CICS TS Knowledge Center, see this example
  • Redbook SG248038, Section 9.4

If you need to debug the actual value of the JVM server libpath, the best tool is the IBM Health Center, and the Environment perspective will show the java.library.path in use in a JVM, see this tutorial



来源:https://stackoverflow.com/questions/41595040/changes-made-to-jvm-profile-in-cics-are-not-being-reflected-in-the-runtime

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!