JVM crashes when trying to create a domain using domainutilitycmd.

JVM crashes when trying to create a domain using domainutilitycmd.

book

Article ID: KB0091923

calendar_today

Updated On:

Products Versions
TIBCO Runtime Agent (TRA) -
Not Applicable -

Description

Resolution:
After installing TIBCO Administrator, unable to create a new domain.

============================= perform domainutilitycmd ======================

[l1skdbt:tibco]/fa01/eai/tools/domainUtility> domainutiilitycmd CreateDomainFAG_DEV.xml
ksh: domainutiilitycmd: ?? ? ??
[l1skdbt:tibco]/fa01/eai/tools/domainUtility> domainutilitycmd -cmdFile CreateDomainFAG_DEV.xml
Starting command line execution....
Executing task: CreateDomain
2009. 9. 4 ?? 3:49:30 com.tibco.security.providers.SecurityVendor_entrust61 <init>
??: Initializing Entrust crypto provider in NON FIPS 140-2 mode.
2009-09-04 15:49:37 rvd: Command line: rvd -listen tcp:7755 -no-permanent
2009-09-04 15:49:37 rvd: Hostname: l1skdbt
2009-09-04 15:49:37 rvd: Hostname IP address: 12.96.9.71
2009-09-04 15:49:37 rvd: Detected IP interface: 127.0.0.1 (lo0)
2009-09-04 15:49:37 rvd: Detected IP interface: 12.96.9.72 (ce0)
2009-09-04 15:49:37 rvd: Detected IP interface: 12.96.9.71 (ce0:1)
2009-09-04 15:49:37 rvd: Detected IP interface: 12.96.9.73 (ce1)
2009-09-04 15:49:37 rvd: Unable to find ticket file tibrv.tkt in PATH
2009-09-04 15:49:37 rvd: Http interface - http://l1skdbt:51696/

#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  SIGSEGV (0xb) at pc=0xfe9f170c, pid=22060, tid=1
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_15-b04 mixed mode)
# Problematic frame:
# V  [libjvm.so+0x1f170c]
#
# An error report file with more information is saved as hs_err_pid22060.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#
(Abort)(Core Dump)
[l1skdbt:tibco]/fa01/eai/tools/domainUtility>

========================== CreateDomainFAG_DEV.xml ===============

<?xml version="1.0" encoding="UTF-8"?>
<!--Generated by Turbo XML.-->
<Task xmlns="http://www.tibco.com/domainutility/commandline" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <CreateDomain>
        <DomainName>FAG_DEV</DomainName>
        <AdministratorUsername>tibco_admin</AdministratorUsername>
        <AdministratorPassword>tibcoadmin</AdministratorPassword>
        <AdminHome>/fa01/eai/tibco/administrator/5.6</AdminHome>
<!-- uncomment the following for non default RV parameters -->
        <ApplicationRVParameters>
            <RvDaemon>tcp:7755</RvDaemon>
            <RvNetwork>224.7.7.7</RvNetwork>
            <RvService>7755</RvService>
        </ApplicationRVParameters>
        <HawkRVParameters>
            <RvDaemon>tcp:7744</RvDaemon>
            <RvNetwork>224.7.7.7</RvNetwork>
            <RvService>7744</RvService>
        </HawkRVParameters>
<!-- uncomment the following if specific ports needed or else the ports will be auto incremented -->
        <TomcatConfiguration>
            <HttpPort>8800</HttpPort>
            <ShutDownPort>8805</ShutDownPort>
            <ShutDownString>SHUTDOWN</ShutDownString>
        </TomcatConfiguration>
<!-- uncomment the following for DB configuration -->
        <DatabaseConfiguration>
            <DatabaseUrl>jdbc:oracle:oci8:@DM8TEST</DatabaseUrl>
            <DatabaseUsername>tibco</DatabaseUsername>
            <DatabasePassword>tibcobw01</DatabasePassword>
            <JdbcDriver><p align="right">oracle.jdbc.driver.OracleDriver</p></JdbcDriver>
            <DatabaseMinConnections>0</DatabaseMinConnections>
            <DatabaseMaxConnections>5</DatabaseMaxConnections>
        </DatabaseConfiguration>
    </CreateDomain>
</Task>


Resolution

= = = = = 

After checking the file hs_err_pid22060.log, it seems the JVM crash is caused by the Database driver configuration:

Stack: [0xff400000,0xffc00000),  sp=0xffbfdb00,  free space=8182k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) V  [libjvm.so+0x1f170c] C  [libocijdbc10.so+0x31b8]  Java_oracle_jdbc_driver_T2CConnection_t2cGetCharSet+0x208

This issue is observed when customers use incompatible drivers. After correcting the settings of the Database driver, the problem is solved.

NOTE: A list of drivers and databases certified with Administrator can be found in TIBCO Administrator ->readme.txt

Issue/Introduction

JVM crashes when trying to create a domain using domainutilitycmd.