Question & Answer
Question
Why would I receive the following DFHSJ0917 message and "RouterException: Unable to create Liberty profile server ... Caused by: java.lang.Exception" when I try to start a Liberty JVM server in CICS Transaction Server for z/OS (CICS TS)? As a result, the Liberty JVM server does not start.
DFHSJ0917 date time CICS ENDUSER JVMSERVER LIBERTY is disabled.
LIBERTY : CWWKE0108I: The product extension cicsts was programmatically enabled. The product identifier of the product extension is cicsts. The product install location of the product extension is /usr/lpp/cicsts/cicsts53/etc/
LIBERTY : date time UTC LIBERTY E [Router-Init-Thread] [com.ibm.cics.router.Router] Problem detected in Router main method
com.ibm.cics.router.RouterException: Unable to create Liberty profile server
at com.ibm.cics.router.Router.initLiberty(Router.java:709)
at com.ibm.cics.router.Router.initOSGi(Router.java:363)
at com.ibm.cics.router.Router.main(Router.java:1351)
Caused by: java.lang.Exception: Liberty profile: Problem copying files. Input file: /usr/lpp/cicsts/cicsts53/etc/wlp/extensions/cicsts/templates/servers/defaultServer/server.xml Output file: /u/cicsts/workdir/CICS/LIBERTY/
at com.ibm.cics.router.wlp.internal.LibertyServerImpl.copyFile(LibertyServerImpl.java:2178)
at com.ibm.cics.router.wlp.internal.LibertyServerImpl.createServer(LibertyServerImpl.java:1069)
at com.ibm.cics.router.wlp.internal.LibertyServerImpl.configureServer(LibertyServerImpl.java:936)
at com.ibm.cics.router.Router.initLiberty(Router.java:705)
... 2 more
Caused by: java.nio.file.NoSuchFileException: /usr/lpp/cicsts/cicsts53/etc/wlp/extensions/cicsts/templates/servers/defaultServer/server.xml
at sun.nio.fs.UnixException.translateToIOException(UnixException.java:98)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:114)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:119)
at sun.nio.fs.UnixCopyFile.copy(UnixCopyFile.java:538)
at sun.nio.fs.UnixFileSystemProvider.copy(UnixFileSystemProvider.java:264)
at java.nio.file.Files.copy(Files.java:1230)
at com.ibm.cics.router.wlp.internal.LibertyServerImpl.copyFile(LibertyServerImpl.java:2171)
... 5 more
Exception in thread "Router-Init-Thread" LIBERTY : com.ibm.cics.router.RouterException: Unable to create Liberty profile server
LIBERTY : at com.ibm.cics.router.Router.initLiberty(Router.java:709)
LIBERTY : at com.ibm.cics.router.Router.initOSGi(Router.java:363)
LIBERTY : at com.ibm.cics.router.Router.main(Router.java:1351)
LIBERTY : Caused by: LIBERTY : java.lang.Exception: Liberty profile: Problem copying files. Input file: /usr/lpp/cicsts/cicsts53/etc/wlp/extensions/cicsts/templates/servers/defaultServer/server.xml Output file: /u/cicsts/workd
LIBERTY : at com.ibm.cics.router.wlp.internal.LibertyServerImpl.copyFile(LibertyServerImpl.java:2178)
LIBERTY : at com.ibm.cics.router.wlp.internal.LibertyServerImpl.createServer(LibertyServerImpl.java:1069)
LIBERTY : at com.ibm.cics.router.wlp.internal.LibertyServerImpl.configureServer(LibertyServerImpl.java:936)
LIBERTY : at com.ibm.cics.router.Router.initLiberty(Router.java:705)
LIBERTY : ... 2 more
LIBERTY : Caused by: LIBERTY : java.nio.file.NoSuchFileException: /usr/lpp/cicsts/cicsts53/etc/wlp/extensions/cicsts/templates/servers/defaultServer/server.xml
LIBERTY : at sun.nio.fs.UnixException.translateToIOException(UnixException.java:98)
LIBERTY : at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:114)
LIBERTY : at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:119)
LIBERTY : at sun.nio.fs.UnixCopyFile.copy(UnixCopyFile.java:538)
LIBERTY : at sun.nio.fs.UnixFileSystemProvider.copy(UnixFileSystemProvider.java:264)
LIBERTY : at java.nio.file.Files.copy(Files.java:1230)
LIBERTY : at com.ibm.cics.router.wlp.internal.LibertyServerImpl.copyFile(LibertyServerImpl.java:2171)
LIBERTY : ... 5 more
LIBERTY : date time UTC LIBERTY E [Thread-7] [com.ibm.cics.router.Router] Router.route() experienced a problem
com.ibm.cics.router.RouterException: Error finding the CICS Controller.
at com.ibm.cics.router.Router.initController(Router.java:507)
at com.ibm.cics.router.Router.route(Router.java:1196)
Caused by: com.ibm.cics.router.RouterException: The Liberty profile CICS feature failed to initialize after 90000 milliseconds. Either a problem exists with the Server, or the system is busy. The JVM server will terminate. This timeou
at com.ibm.cics.router.Router.initController(Router.java:493)
... 1 more
Exception in thread "Thread-7" LIBERTY : com.ibm.cics.router.RouterException: Error finding the CICS Controller.
LIBERTY : at com.ibm.cics.router.Router.initController(Router.java:507)
LIBERTY : at com.ibm.cics.router.Router.route(Router.java:1196)
LIBERTY : Caused by: LIBERTY : com.ibm.cics.router.RouterException: The Liberty profile CICS feature failed to initialize after 90000 milliseconds. Either a problem exists with the Server, or the system is busy. The JVM server will te
LIBERTY : at com.ibm.cics.router.Router.initController(Router.java:493)
LIBERTY : ... 1 more
date time UTC LIBERTY E [Router-Init-Thread] [com.ibm.cics.router.Router] Problem detected in Router main method
com.ibm.cics.router.RouterException: Unable to create Liberty profile server
at com.ibm.cics.router.Router.initLiberty(Router.java:709)
at com.ibm.cics.router.Router.initOSGi(Router.java:363)
at com.ibm.cics.router.Router.main(Router.java:1351)
Caused by: java.lang.Exception: Liberty profile: Problem copying files. Input file: /usr/lpp/cicsts/cicsts53/etc/wlp/extensions/cicsts/templates/servers/defaultServer/server.xml Output file: /u/cicsts/workdir/CICS/LIBERTY/
at com.ibm.cics.router.wlp.internal.LibertyServerImpl.copyFile(LibertyServerImpl.java:2178)
at com.ibm.cics.router.wlp.internal.LibertyServerImpl.createServer(LibertyServerImpl.java:1069)
at com.ibm.cics.router.wlp.internal.LibertyServerImpl.configureServer(LibertyServerImpl.java:936)
at com.ibm.cics.router.Router.initLiberty(Router.java:705)
... 2 more
Caused by: java.nio.file.NoSuchFileException: /usr/lpp/cicsts/cicsts53/etc/wlp/extensions/cicsts/templates/servers/defaultServer/server.xml
at sun.nio.fs.UnixException.translateToIOException(UnixException.java:98)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:114)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:119)
at sun.nio.fs.UnixCopyFile.copy(UnixCopyFile.java:538)
at sun.nio.fs.UnixFileSystemProvider.copy(UnixFileSystemProvider.java:264)
at java.nio.file.Files.copy(Files.java:1230)
at com.ibm.cics.router.wlp.internal.LibertyServerImpl.copyFile(LibertyServerImpl.java:2171)
... 5 more
date time UTC LIBERTY D [LE-Thread-12] [DFHSJSC:12326] *Exc*: run_async_classes(), main method threw exception
date time UTC LIBERTY E [Thread-7] [com.ibm.cics.router.Router] Router.route() experienced a problem
com.ibm.cics.router.RouterException: Error finding the CICS Controller.
at com.ibm.cics.router.Router.initController(Router.java:507)
at com.ibm.cics.router.Router.route(Router.java:1196)
Caused by: com.ibm.cics.router.RouterException: The Liberty profile CICS feature failed to initialize after 90000 milliseconds. Either a problem exists with the Server, or the system is busy. The JVM server will terminate. This timeou
at com.ibm.cics.router.Router.initController(Router.java:493)
... 1 more
date time UTC LIBERTY D [LE-Thread-0] [DFHSJSC:2634] @Event: ipt_control_loop(), JVM threw an exception on startup. Halting JVMSERVER
Answer
IBM CICS Level3 Support said that this is caused by an old service refresh of Java 7. This problem has been seen in at least in SR2 and SR3.
The CICS Transaction Server for z/OS 5.3 detailed system requirements page has a link for "CICS TS V5.3 Software Product Compatibility Reports - detailed system requirements". In the "Java SDK" section of the "Supported Software" tab of this report it is stated as follows that the minimum Java 7 supported is Service Refresh 9:
Note(1): IBM 64-bit SDK for z/OS, Java Technology Edition V7 at Service Refresh 9 (SR9) or higher, V7.1 or IBM 64-bit SDK for z/OS, Java Technology Edition V8 is required to run CICS Java applications, WebSphere Application Server Liberty Profile, Axis2, web services validation, the CICS web services and XML assistants.
In this case, the client was using Java 7 SR2. After upgrading to Java 8 the problem was solved.
See Detailed System Requirements for CICS Transaction Server for links for other releases of CICS TS.
Product Synonym
CICS/TS CICSTS CICS TS CICS Transaction Server
Was this topic helpful?
Document Information
Modified date:
15 May 2017
UID
dwa1375118