Tibco Enterprise Administrator (TEA) server crashes when clicking on the Machines Icon.

Tibco Enterprise Administrator (TEA) server crashes when clicking on the Machines Icon.

book

Article ID: KB0079389

calendar_today

Updated On:

Products Versions
TIBCO Enterprise Administrator (TEA) -
Not Applicable -

Description

Description:
Tibco Enterprise Administrator (TEA) server crashes when clicking on the Machines Icon and an error is thrown in the console.
Symptoms:
The following exception is seen in the tea console output.
*******************************************************************************************************************************
uncaught error from thread [tea-akka.actor.default-dispatcher-27] shutting down JVM since 'akka.jvm-exit-on-fatal-error' is enabled for ActorSystem[tea]
java.lang.NoClassDefFoundError: Could not initialize class org.hyperic.sigar.Sigar
Server is stopping...
Server is stopped (uptime: 0h 17m 43s 276ms)
*********************************************************************************************************************************

The below exception will be seen in the  tea.log file.
***********************************************************************************************
2014-11-19 14:03:54,640 ERROR TeaSigarHelper [  ] Failed to load library : file:/opt/tibco/tea/2.0/lib/monitor-2.0.0.jar!/META-INF/native/libsigar-amd64-linux-1.6.4.so from: /tmp/lib5596496225243748387.so
2014-11-19 14:03:54,640 ERROR TeaSigarHelper [  ] /tmp/lib5596496225243748387.so: /tmp/lib5596496225243748387.so: failed to map segment from shared object: Operation not permitted
2014-11-19 14:03:54,655 ERROR ActorSystemImpl [  ] Uncaught error from thread [tea-akka.actor.default-dispatcher-27] shutting down JVM since 'akka.jvm-exit-on-fatal-error' is enabled
java.lang.NoClassDefFoundError: Could not initialize class org.hyperic.sigar.Sigar
    
2014-11-19 14:03:54,662 INFO  lifecycle  [  ] Server is stopping...
******************************************************************************************
OR
***********************************************************************************************
2014-11-20 11:00:18,796 ERROR TeaSigarHelper [  ] Permission denied
2014-11-20 11:00:18,840 INFO  lifecycle  [  ] Server is stopping...
2014-11-20 11:00:18,844 INFO  lifecycle  [  ] Server is stopped (uptime: 0h 0m 47s 621ms)
2014-11-20 11:00:18,845 ERROR ActorSystemImpl [  ] Uncaught error from thread [tea-akka.actor.default-dispatcher-15] shutting down JVM since 'akka.jvm-exit-on-fatal-error' is enabled
java.lang.NoClassDefFoundError: Could not initialize class org.hyperic.sigar.Sigar
        at com.tibco.tea.server.agent.internal.MachineOperationsUtil.getMemoryStats(MachineOperationsUtil.java:66) ~[nserver-2.0.0.jar:2.0.0]
******************************************************************************************
Check the attachment (Filename: TeaServerException) for the detailed stack trace.
Cause:
Temp directory permission Issue. Some customer installations have restrictions on the size of the temp folder on machines or what executables can be launched from there. This can prevent TEA to function properly.

We recommend to assign TEA a non-default temporary folder, for example /opt/tibco/tmp:

Issue/Introduction

Tibco Enterprise Administrator (TEA) server crashes when clicking on the Machines Icon.

Environment

Product: TIBCO Enterprise Administrator (TEA) Version:2.2.0 OS: ALL

Resolution

 


1). Check for permissions or space in the Tibco Enterprise Administrator (TEA) server default /tmp directory.

2). You may also try to redirect the default temp directory to another folder and try to restart the Tibco Enterprise Administrator (TEA) server.

    Steps to redirect default temp directory

    Option 1:
 
    a). Make a backup copy of the tea/2.0/bin/tea.tra file.
    
    b). Open the tea/2.0/bin/tea.tra file and add -Djava.io.tmpdir="<path to new temp dir>" at the end of tibco.env.TEA_START_PARAMS.
    
        Example : tibco.env.TEA_START_PARAMS=-Dtea.conf="%TEA_CONFIG_HOME%/conf" -Dtea.data="%TEA_CONFIG_HOME%/data" -Dtea.logs="%TEA_CONFIG_HOME%/logs" -Djava.io.tmpdir="/home/tibco/teaTemp"

   Option 2

   a).Edit the file <tibco>/tea/2.2/bin/tea.tra
   b).Add the following lines at the end of the file:

            tibco.env.TMP=/opt/tibco/tmp

            java.property.java.io.tmpdir=/opt/tibco/tmp

           Give the directory full permissions. If it is a temp directory, redirecting it might resolve the issue.

Additional Information

TEA server crashes, machines, machines icon.

Attachments

Tibco Enterprise Administrator (TEA) server crashes when clicking on the Machines Icon. get_app