Can't Boot TMJAVASVR Due To TUXJ_CAT:131: ERROR: Failed To Parse Tuxedo Java Server Config. (Doc ID 2028311.1)

Last updated on NOVEMBER 04, 2016

Applies to:

Oracle Tuxedo - Version 12.1.3 and later
Information in this document applies to any platform.

Symptoms

TMJAVASVR can't be booted up. It fails due to TUXJ_CAT:131: ERROR: Faied to parse Tuxedo Java server config.

Here after ULOG sample: 

 

192125.machinedetest!TMJAVASVR.29763.2530709888.0: 07-06-2015: Tuxedo Version 12.1.3.0.0, 64-bit
192125.machinedetest!TMJAVASVR.29763.2530709888.0: LIBTUX_CAT:262: INFO: Standard main starting
192125.machinedetest!TMJAVASVR.29763.2530709888.0: Grp:GROUP1, SrvId:2, ReqQ:6291475:,RepQ:6291475
192125.machinedetest!TMJAVASVR.29763.2530709888.0: TRACE:ia: { tpsvrinit(18, "TMJAVASVR -C dom=simpapp -g 1 -i 2 -u machinedetest -U /home/test/tux12cR2/tuxjs/ULOG -m 0 -A -G -- -c TJSconfig.xml")
192125.machinedetest!TMJAVASVR.29763.2530709888.0: TUXJ_CAT:150: INFO: "/home/test/tux12cR2/tuxjs/TJSconfig.xml" is used as the configuration file for current TMJAVASVR.
192125.machinedetest!TMJAVASVR.29763.2530709888.0: TUXJ_CAT:120: INFO: "/home/tuxedo/Tux12cR2/tuxedo12.1.3.0.0/udataobj/tuxj/TJSconfig_2.0.xsd" is used as the schema file to the configuration file "/home/test/tux12cR2/tuxjs/TJSconfig.xml" for current TMJAVASVR.
192125.machinedetest!TMJAVASVR.29763.2530709888.0: TUXJ_CAT:131: ERROR: Faied to parse Tuxedo Java server config. Error message is:Error at file "/home/test/tux12cR2/tuxjs/TJSconfig.xml", line:18 , column:13, Message: Element 'jdbc-resources' is not valid for content model: '((java-config,tux-config,classpath-config,tux-resources,jdbc-resources,jdbc-connection-pool),tux-server-config)'
 .
192125.machinedetest!TMJAVASVR.29763.2530709888.0: TRACE:ia: } tpsvrinit = -1
192125.machinedetest!TMJAVASVR.29763.2530709888.0: LIBTUX_CAT:250: ERROR: tpsvrinit() failed

 

Extracted from the Tuxedo configuration file :

 

TMJAVASVR       SRVGRP=GROUP1 SRVID=2
                CLOPT="-A -G -- -c TJSconfig.xml"
                MINDISPATCHTHREADS=2 MAXDISPATCHTHREADS=3

 

 And the TJSconfig.xml looks like:

 


<?xml version="1.0" encoding="UTF-8"?>
<TJSconfig version="2.0">
       <classpath-config>
               <classpath>/home/oracle/app/oracle/product/12.1.0/dbhome_1/jdbc/lib/ojdbc6.jar</classpath>
       </classpath-config>
       <tux-server-config>
               <server-class name="MyTuxedoJavaServer"></server-class>
       </tux-server-config>

       <jdbc-resources>
               <data-source vendor="Oracle" driver-type="thin" enabled="true">
                       <datasource-classname>oracle.jdbc.xa.client.OracleXADataSource</datasource-classname>
                       <res-type>javax.sql.XADataSource</res-type>
                       <driver-params>
                               <connection-url>jdbc:oracle:thin:@//oraclemachine:1521/O12VM01</connection-url>
                       </driver-params>
               </data-source>
       </jdbc-resources>
</TJSconfig>

  

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms