TIBCO API Exchagne Gateway core engine(asg-engine) failsto start in Unix environment with wrapper error - start method threw an exception..

TIBCO API Exchagne Gateway core engine(asg-engine) failsto start in Unix environment with wrapper error - start method threw an exception..

book

Article ID: KB0092778

calendar_today

Updated On:

Products Versions
TIBCO API Exchange -
Not Applicable -

Description

Description:
When asg-engine is started from the command line, the following error is thrown:

2014 Feb 14 13:39:50:928 GMT -8 asg-caching-core Info [main] - [driver.jms] clientId already exists: ClientID = BE-ASG_1.1-asg-caching-core-/DefaultImplementation/Channels/SouthboundEsb0Channel. Setting new ClientID = BE-ASG_1.1-asg-caching-core-/DefaultImplementation/Channels/SouthboundEsb0Channel-1

2014 Feb 14 13:39:50:939 GMT -8 asg-caching-core Info [main] - [driver.tibrv] Connecting RV Channel [/Common/Channel/Channel] Properties [service=6891 network= daemon=tcp:6891] encoding=ISO8859-1

2014 Feb 14 13:39:50:965 GMT -8 asg-caching-core Info [main] - [driver.jms] Connecting JMS Channel [/DefaultImplementation/Channels/SouthboundEsb2Channel] Properties [JNDI=tibjmsnaming://devesp006.unix.gsm1900.org:7222 QCF=QueueConnectionFactory TCF=TopicConnectionFactory user=admin clientID=BE-ASG_1.1-asg-caching-core-/DefaultImplementation/Channels/SouthboundEsb2Channel] [Thread: main] [State: Initialized]

2014 Feb 14 13:39:50:967 GMT -8 asg-caching-core Info [main] - [driver.jms] clientId already exists: ClientID = BE-ASG_1.1-asg-caching-core-/DefaultImplementation/Channels/SouthboundEsb2Channel. Setting new ClientID = BE-ASG_1.1-asg-caching-core-/DefaultImplementation/Channels/SouthboundEsb2Channel-1

2014 Feb 14 13:39:50:979 GMT -8 asg-caching-core Info [main] - [driver.http] HTTP Channel[Port:9322] [Thread]main [State]Initialized

2014 Feb 14 13:39:50:979 GMT -8 asg-caching-core Info [main] - [driver.tibrv] Connecting RV Channel [/Common/Channel/PSMChannel] Properties [service=6891 network= daemon=tcp:6891] encoding=ISO8859-1

2014 Feb 14 13:39:50:996 GMT -8 asg-caching-core Info [main] - [driver.tibrv] Connecting RV Channel [/ASG/Channels/RvMappingChannel] Properties [service=6891 network= daemon=tcp:6891] encoding=ISO8859-1

2014 Feb 14 13:39:51:015 GMT -8 asg-caching-core Info [main] - [driver.as] connect to metaspace:asgms

WRAPPER - start method threw an exception

Exception in thread "main"


Symptoms:
The below log entries will be seen in the engine logs:
[service=6891 network= daemon=tcp:6891] encoding=ISO8859-1
2014 Feb 14 13:39:51:015 GMT -8 asg-caching-core Info [main] - [driver.as] connect to metaspace:asgms
WRAPPER - start method threw an exception

Exception in thread "main"

Cause:
The engine fails to start as it is using a 32-bit wrapper.

Resolution

Follow the steps below to start the engine with 64-bit resolves the issue.

Make a backup of <APIX_Home>/2.0/bin/asg-engine

- Copy and Rename <TIBCO_HOME>/tools/wrapper/wrap AS <APIX_Home>/2.0/bin/asg-engine

- Now start using asg-engine from <APIX_Home>/2.0/bin directory.

Note: Use "file" on asg-engine to ensure it is 64-bit.

Issue/Introduction

TIBCO API Exchagne Gateway core engine(asg-engine) failsto start in Unix environment with wrapper error - start method threw an exception..