ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » MQ Client 7.5 syntax error near unexpected token

Post new topic  Reply to topic
 MQ Client 7.5 syntax error near unexpected token « View previous topic :: View next topic » 
Author Message
faliqaizat
PostPosted: Wed Jan 21, 2015 10:46 pm    Post subject: MQ Client 7.5 syntax error near unexpected token Reply with quote

Newbie

Joined: 21 Jan 2015
Posts: 2

Hi,

Im using redhat trying to install MQ Client 7.5.Below is the result.

[root@uatsvr01 ~]# ll Downloads/
total 22920
drwxrwxr-x 3 root root 4096 Jan 19 10:16 wmq_lab
-rwxr--r-- 1 root root 206621 Jan 23 2014 wmq_lab.zip
-rw-r--r-- 1 root root 23253937 Jan 18 00:10 WMQ setup and install.zip
[root@uatsvr01 ~]# cd Downloads
[root@uatsvr01 Downloads]# ll wmq_labs/
ls: cannot access wmq_labs/: No such file or directory
[root@uatsvr01 Downloads]# ll wmq_lab/
total 227396
-rwxrw-r-- 1 root root 543 Jan 23 2014 backup.sh
-rwxrw-r-- 1 root root 4363 Jan 23 2014 functions.sh
drwxrwxr-x 6 root 12201 4096 Aug 7 18:18 mqc75_7.5.0.4_linuxx86-64
-r-------- 1 root root 232551306 Jan 17 23:49 mqc75_7.5.0.4_linuxx86-64.tar.gz
-rwxrw-r-- 1 root root 48683 Jan 23 2014 mqconfig.sh
-rwxrw-r-- 1 root root 11856 Jan 23 2014 mqinstall.sh
-rwxrw-r-- 1 root root 3681 Jan 23 2014 mqtest.sh
-rw-rw-r-- 1 root root 79 Jan 23 2014 payload.txt
-rw-rw-r-- 1 root root 203108 Jan 23 2014 perfharness12.jar
-rwxrw-r-- 1 root root 278 Jan 23 2014 setenv.sh
[root@uatsvr01 Downloads]# mqtest.sh
-bash: mqtest.sh: command not found
[root@uatsvr01 Downloads]# ./mqtest.sh
-bash: ./mqtest.sh: No such file or directory
[root@uatsvr01 Downloads]# cd wmq_lab
[root@uatsvr01 wmq_lab]# ./mqtest.sh
------------------------------------------------------------------------------
This script will run few test messages in and out of WebSphere MQ
Read more about this script here: http://WhyWebSphere.com
Today's date: Thu Jan 22 11:54:21 MYT 2015
Here are the default values used in the script (feel free to change these):
WebSphere MQ Install Path: '/opt/mqm'
Queue Manager Host: 'uatsvr01'
Queue Manager Name: 'QM1'
Queue Mgr Listener Port: '1420'
Test Queue #1: 'REQUEST_Q'
Test Queue #2: 'REPLY_Q'

Starting requestor and responder background processes in parallel...

SUCCESS. Please wait for REQUESTOR background process to finish the work...
RESPONDER process will keep running for few seconds longer - just ignore it.
------------------------------------------------------------------------------
[root@uatsvr01 wmq_lab]# ControlThread1: START
ControlThread1: START
Responder1: START
Requestor1: START
Responder1: Uncaught exception.
com.ibm.msg.client.jms.DetailedJMSException: JMSFMQ6312: An exception occurred in the Java(tm) MQI.
The Java(tm) MQI has thrown an exception describing the problem.
See the linked exception for further information.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at com.ibm.msg.client.commonservices.j2se.NLSServices.createException(NLSServices.java:319)
at com.ibm.msg.client.commonservices.nls.NLSServices.createException(NLSServices.java:233)
at com.ibm.msg.client.wmq.factories.WMQConnectionFactory.createV7ProviderConnection(WMQConnectionFactory.java:6879)
at com.ibm.msg.client.wmq.factories.WMQConnectionFactory.createProviderConnection(WMQConnectionFactory.java:6270)
at com.ibm.msg.client.jms.admin.JmsConnectionFactoryImpl.createConnection(JmsConnectionFactoryImpl.java:284)
at com.ibm.mq.jms.MQConnectionFactory.createCommonConnection(MQConnectionFactory.java:6215)
at com.ibm.mq.jms.MQConnectionFactory.createConnection(MQConnectionFactory.java:6244)
at com.ibm.uk.hursley.perfharness.jms.providers.AbstractJMSProvider.getConnection_internal(AbstractJMSProvider.java:181)
at com.ibm.uk.hursley.perfharness.jms.providers.AbstractJMSProvider.getConnection(AbstractJMSProvider.java:287)
at com.ibm.uk.hursley.perfharness.jms.r11.JMS11WorkerThread.buildJMSResources(JMS11WorkerThread.java:128)
at com.ibm.uk.hursley.perfharness.jms.r11.Responder.buildJMSResources(Responder.java:61)
at com.ibm.uk.hursley.perfharness.jms.r11.JMS11WorkerThread.run(JMS11WorkerThread.java:269)
at com.ibm.uk.hursley.perfharness.jms.r11.Responder.run(Responder.java:86)
Caused by: com.ibm.mq.jmqi.local.LocalMQ$3: CC=2;RC=2495;AMQ8598: &N -------------------------------------------------------------- --------- &N | Failed to load the WebSphere MQ native JNI library: 'mqjbnd'. &N | &N | The JVM attempted to load the platform nativ e library 'mqjbnd', &N | which was mapped to the filename: 'libmqjbnd.so'. &N | &N | When attempting to load the library, the JVM r eported the error &N | message: &N | 'no mqjbnd in java.library.path' &N | &N | The JVM's bit-size is: '64' &N | &N | The library p ath which was used to locate this library was: &N | '*** Configured java.library.path **********************************
| "/opt/mqm/java/lib64"
| "/usr/java/packages/lib/amd64"
| "/usr/lib64"
| "/lib64"
| "/lib"
| "/usr/lib"
| ********************************************************************' &N | &N | Check that the bit size of the JVM matches the bi t size of the first &N | native library file located within this java.library.path directory &N | list. &N | &N | The native librar y 'mqjbnd' is used by the WebSphere MQ classes for &N | Java and WebSphere MQ classes for JMS when creating a connection to &N | th e queue manager using a 'bindings' mode connection. A bindings &N | mode connection is a connection which uses the system's memory to &N | communicate with the queue manager, as opposed to a 'client' mode &N | connection which uses a TCP/IP socket. &N | &N | In order to communicate with a queue manager using a bindings mode &N | connection, the queue manager must be located on the same syst em as &N | the WebSphere MQ classes for Java/JMS. If this is not the case in &N | your environment, consider reconfiguring the appl ication to utilise &N | client mode connections. &N -----------------------------------------------------------------------
at com.ibm.mq.jmqi.local.LocalMQ.loadLib(LocalMQ.java:1243)
at com.ibm.mq.jmqi.local.LocalMQ.loadLib(LocalMQ.java:1084)
at com.ibm.mq.jmqi.local.LocalMQ$1.run(LocalMQ.java:289)
at java.security.AccessController.doPrivileged(Native Method)
at com.ibm.mq.jmqi.local.LocalMQ.initialise_inner(LocalMQ.java:281)
at com.ibm.mq.jmqi.local.LocalMQ.initialise(LocalMQ.java:244)
at com.ibm.mq.jmqi.local.LocalMQ.<init>(LocalMQ.java:1329)
at com.ibm.mq.jmqi.local.LocalServer.<init>(LocalServer.java:206)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at com.ibm.mq.jmqi.JmqiEnvironment.getInstance(JmqiEnvironment.java:681)
at com.ibm.mq.jmqi.JmqiEnvironment.getMQI(JmqiEnvironment.java:615)
at com.ibm.msg.client.wmq.factories.WMQConnectionFactory.createV7ProviderConnection(WMQConnectionFactory.java:6871)
... 10 more
Caused by: java.lang.UnsatisfiedLinkError: no mqjbnd in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1886)
at java.lang.Runtime.loadLibrary0(Runtime.java:849)
at java.lang.System.loadLibrary(System.java:1088)
at com.ibm.mq.jmqi.local.LocalMQ.loadLib(LocalMQ.java:1205)
... 24 more
Responder1: STOP
Requestor1: Uncaught exception.
com.ibm.msg.client.jms.DetailedJMSException: JMSFMQ6312: An exception occurred in the Java(tm) MQI.
The Java(tm) MQI has thrown an exception describing the problem.
See the linked exception for further information.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at com.ibm.msg.client.commonservices.j2se.NLSServices.createException(NLSServices.java:319)
at com.ibm.msg.client.commonservices.nls.NLSServices.createException(NLSServices.java:233)
at com.ibm.msg.client.wmq.factories.WMQConnectionFactory.createV7ProviderConnection(WMQConnectionFactory.java:6879)
at com.ibm.msg.client.wmq.factories.WMQConnectionFactory.createProviderConnection(WMQConnectionFactory.java:6270)
at com.ibm.msg.client.jms.admin.JmsConnectionFactoryImpl.createConnection(JmsConnectionFactoryImpl.java:284)
at com.ibm.mq.jms.MQConnectionFactory.createCommonConnection(MQConnectionFactory.java:6215)
at com.ibm.mq.jms.MQConnectionFactory.createConnection(MQConnectionFactory.java:6244)
at com.ibm.uk.hursley.perfharness.jms.providers.AbstractJMSProvider.getConnection_internal(AbstractJMSProvider.java:181)
at com.ibm.uk.hursley.perfharness.jms.providers.AbstractJMSProvider.getConnection(AbstractJMSProvider.java:287)
at com.ibm.uk.hursley.perfharness.jms.r11.JMS11WorkerThread.buildJMSResources(JMS11WorkerThread.java:128)
at com.ibm.uk.hursley.perfharness.jms.r11.Requestor.buildJMSResources(Requestor.java:60)
at com.ibm.uk.hursley.perfharness.jms.r11.JMS11WorkerThread.run(JMS11WorkerThread.java:269)
at com.ibm.uk.hursley.perfharness.jms.r11.Requestor.run(Requestor.java:102)
Caused by: com.ibm.mq.jmqi.local.LocalMQ$3: CC=2;RC=2495;AMQ8598: &N -------------------------------------------------------------- --------- &N | Failed to load the WebSphere MQ native JNI library: 'mqjbnd'. &N | &N | The JVM attempted to load the platform nativ e library 'mqjbnd', &N | which was mapped to the filename: 'libmqjbnd.so'. &N | &N | When attempting to load the library, the JVM r eported the error &N | message: &N | 'no mqjbnd in java.library.path' &N | &N | The JVM's bit-size is: '64' &N | &N | The library p ath which was used to locate this library was: &N | '*** Configured java.library.path **********************************
| "/opt/mqm/java/lib64"
| "/usr/java/packages/lib/amd64"
| "/usr/lib64"
| "/lib64"
| "/lib"
| "/usr/lib"
| ********************************************************************' &N | &N | Check that the bit size of the JVM matches the bi t size of the first &N | native library file located within this java.library.path directory &N | list. &N | &N | The native librar y 'mqjbnd' is used by the WebSphere MQ classes for &N | Java and WebSphere MQ classes for JMS when creating a connection to &N | th e queue manager using a 'bindings' mode connection. A bindings &N | mode connection is a connection which uses the system's memory to &N | communicate with the queue manager, as opposed to a 'client' mode &N | connection which uses a TCP/IP socket. &N | &N | In order to communicate with a queue manager using a bindings mode &N | connection, the queue manager must be located on the same syst em as &N | the WebSphere MQ classes for Java/JMS. If this is not the case in &N | your environment, consider reconfiguring the appl ication to utilise &N | client mode connections. &N -----------------------------------------------------------------------
at com.ibm.mq.jmqi.local.LocalMQ.loadLib(LocalMQ.java:1243)
at com.ibm.mq.jmqi.local.LocalMQ.loadLib(LocalMQ.java:1084)
at com.ibm.mq.jmqi.local.LocalMQ$1.run(LocalMQ.java:289)
at java.security.AccessController.doPrivileged(Native Method)
at com.ibm.mq.jmqi.local.LocalMQ.initialise_inner(LocalMQ.java:281)
at com.ibm.mq.jmqi.local.LocalMQ.initialise(LocalMQ.java:244)
at com.ibm.mq.jmqi.local.LocalMQ.<init>(LocalMQ.java:1329)
at com.ibm.mq.jmqi.local.LocalServer.<init>(LocalServer.java:206)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at com.ibm.mq.jmqi.JmqiEnvironment.getInstance(JmqiEnvironment.java:681)
at com.ibm.mq.jmqi.JmqiEnvironment.getMQI(JmqiEnvironment.java:615)
at com.ibm.msg.client.wmq.factories.WMQConnectionFactory.createV7ProviderConnection(WMQConnectionFactory.java:6871)
... 10 more
Caused by: java.lang.UnsatisfiedLinkError: no mqjbnd in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1886)
at java.lang.Runtime.loadLibrary0(Runtime.java:849)
at java.lang.System.loadLibrary(System.java:1088)
at com.ibm.mq.jmqi.local.LocalMQ.loadLib(LocalMQ.java:1205)
... 24 more
Requestor1: STOP
totalIterations=0,avgDuration=0.13,totalRate=0.00
ControlThread1: STOP
totalIterations=0,avgDuration=0.14,totalRate=0.00
ControlThread1: STOP
[root@uatsvr01 wmq_lab]# [root@uatsvr01 Downloads]# mqtest.sh
-bash: [root@uatsvr01: command not found
[root@uatsvr01 wmq_lab]# -bash: mqtest.sh: command not found
[root@uatsvr01 Downloads]# cd wmq_lab
-bash: -bash:: command not found
[root@uatsvr01 wmq_lab]# [root@uatsvr01 Downloads]# ./mqtest.sh
-bash: [root@uatsvr01: command not found
[root@uatsvr01 wmq_lab]# ./mqtest.sh
[root@uatsvr01 wmq_lab]# -bash: ./mqtest.sh: No such file or directory
-bash: -bash:: command not found
[root@uatsvr01 wmq_lab]# [root@uatsvr01 Downloads]# cd wmq_lab
-bash: [root@uatsvr01: command not found
[root@uatsvr01 wmq_lab]# [root@uatsvr01 wmq_lab]# ./mqtest.sh
-bash: [root@uatsvr01: command not found
[root@uatsvr01 wmq_lab]# ------------------------------------------------------------------------------
-bash: ------------------------------------------------------------------------------: command not found
[root@uatsvr01 wmq_lab]# This script will run few test messages in and out of WebSphere MQ
-bash: This: command not found
Test Queue #2: 'REPLY_Q'
[root@uatsvr01 wmq_lab]# Read more about this script here: http://WhyWebSphere.com
Starting requestor and responder background processes in parallel...

SUCCESS. Please wait for REQUESTOR background process to finish the work...
-bash: Read: command not found
[root@uatsvr01 wmq_lab]# Today's date: Thu Jan 22 11:54:21 MYT 2015
> Here are the default values used in the script (feel free to change these):
> WebSphere MQ Install Path: '/opt/mqm'
> Queue Manager Host: 'uatsvr01'
> Queue Manager Name: 'QM1'
> Queue Mgr Listener Port: '1420'
> Test Queue #1: 'REQUEST_Q'
> Test Queue #2: 'REPLY_Q'
>
> Starting requestor and responder background processes in parallel...
>
> SUCCESS. Please wait for REQUESTOR background process to finish the work...
> RESPONDER process will keep running for few seconds longer - just ignore it.
> ------------------------------------------------------------------------------
> [root@uatsvr01 wmq_lab]# ControlThread1: START
> ControlThread1: START
> Responder1: START
> Requestor1: START
> Responder1: Uncaught exception.
> com.ibm.msg.client.jms.DetailedJMSException: JMSFMQ6312: An exception occurred in the Java(tm) MQI.
> The Java(tm) MQI has thrown an exception describing the problem.
> See the linked exception for further information.
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
> at com.ibm.msg.client.commonservices.j2se.NLSServices.createException(NLSServices.java:319)
> at com.ibm.msg.client.commonservices.nls.NLSServices.createException(NLSServices.java:233)
> at com.ibm.msg.client.wmq.factories.WMQConnectionFactory.createV7ProviderConnection(WMQConnectionFactory.java:6879)
> at com.ibm.msg.client.wmq.factories.WMQConnectionFactory.createProviderConnection(WMQConnectionFactory.java:6270)
> at com.ibm.msg.client.jms.admin.JmsConnectionFactoryImpl.createConnection(JmsConnectionFactoryImpl.java:284)
> at com.ibm.mq.jms.MQConnectionFactory.createCommonConnection(MQConnectionFactory.java:6215)
> at com.ibm.mq.jms.MQConnectionFactory.createConnection(MQConnectionFactory.java:6244)
> at com.ibm.uk.hursley.perfharness.jms.providers.AbstractJMSProvider.getConnection_internal(AbstractJMSProvider.java:181)
> at com.ibm.uk.hursley.perfharness.jms.providers.AbstractJMSProvider.getConnection(AbstractJMSProvider.java:287)
> at com.ibm.uk.hursley.perfharness.jms.r11.JMS11WorkerThread.buildJMSResources(JMS11WorkerThread.java:128)
> at com.ibm.uk.hursley.perfharness.jms.r11.Responder.buildJMSResources(Responder.java:61)
> at com.ibm.uk.hursley.perfharness.jms.r11.JMS11WorkerThread.run(JMS11WorkerThread.java:269)
> at com.ibm.uk.hursley.perfharness.jms.r11.Responder.run(Responder.java:86)
> Caused by: com.ibm.mq.jmqi.local.LocalMQ$3: CC=2;RC=2495;AMQ8598: &N -------------------------------------------------------------- --------- &N | Failed to load the WebSphere MQ native JNI library: 'mqjbnd'. &N | &N | The JVM attempted to load the platform nativ e library 'mqjbnd', &N | which was mapped to the filename: 'libmqjbnd.so'. &N | &N | When attempting to load the library, the JVM r eported the error &N | message: &N | 'no mqjbnd in java.library.path' &N | &N | The JVM's bit-size is: '64' &N | &N | The library p ath which was used to locate this library was: &N | '*** Configured java.library.path **********************************
-bash: syntax error near unexpected token `&'
[root@uatsvr01 wmq_lab]# | "/opt/mqm/java/lib64"
-bash: syntax error near unexpected token `|'
[root@uatsvr01 wmq_lab]# | "/usr/java/packages/lib/amd64"
-bash: syntax error near unexpected token `|'
.
[root@uatsvr01 wmq_lab]# | "/usr/lib64"
-bash: syntax error near unexpected token `|'
[root@uatsvr01 wmq_lab]# | "/lib64"
-bash: syntax error near unexpected token `|'
[root@uatsvr01 wmq_lab]# | "/lib"
-bash: syntax error near unexpected token `|'
[root@uatsvr01 wmq_lab]# | "/usr/lib"
-bash: syntax error near unexpected token `|'
[root@uatsvr01 wmq_lab]# | ********************************************************************' &N | &N | Check that the bit size of the JVM matches the bi t size of the first &N | native library file located within this java.library.path directory &N | list. &N | &N | The native librar y 'mqjbnd' is used by the WebSphere MQ classes for &N | Java and WebSphere MQ classes for JMS when creating a connection to &N | th e queue manager using a 'bindings' mode connection. A bindings &N | mode connection is a connection which uses the system's memory to &N | communicate with the queue manager, as opposed to a 'client' mode &N | connection which uses a TCP/IP socket. &N | &N | In order to communicate with a queue manager using a bindings mode &N | connection, the queue manager must be located on the same syst em as &N | the WebSphere MQ classes for Java/JMS. If this is not the case in &N | your environment, consider reconfiguring the appl ication to utilise &N | client mode connections. &N -----------------------------------------------------------------------
-bash: syntax error near unexpected token `|'
[root@uatsvr01 wmq_lab]# at com.ibm.mq.jmqi.local.LocalMQ.loadLib(LocalMQ.java:1243)
-bash: syntax error near unexpected token `('
[root@uatsvr01 wmq_lab]# at com.ibm.mq.jmqi.local.LocalMQ.loadLib(LocalMQ.java:1084)
-bash: syntax error near unexpected token `('
[root@uatsvr01 wmq_lab]# at com.ibm.mq.jmqi.local.LocalMQ$1.run(LocalMQ.java:289)
-bash: syntax error near unexpected token `('
[root@uatsvr01 wmq_lab]# at java.security.AccessController.doPrivileged(Native Method)
-bash: syntax error near unexpected token `('
[root@uatsvr01 wmq_lab]# at com.ibm.mq.jmqi.local.LocalMQ.initialise_inner(LocalMQ.java:281)
-bash: syntax error near unexpected token `('
[root@uatsvr01 wmq_lab]# at com.ibm.mq.jmqi.local.LocalMQ.initialise(LocalMQ.java:244)
-bash: syntax error near unexpected token `('
[root@uatsvr01 wmq_lab]# at com.ibm.mq.jmqi.local.LocalMQ.<init>(LocalMQ.java:1329)
h
-bash: init/dev/fd/62: No such file or directory
[root@uatsvr01 wmq_lab]# at com.ibm.mq.jmqi.local.LocalServer.<init>(LocalServer.java:206)

-bash: init/dev/fd/62: No such file or directory
-bash: LocalMQ.java:1329: command not found
[root@uatsvr01 wmq_lab]# -bash: LocalServer.java:206: command not found
at sun.refl-bash: LocalMQ.java:1329: command not found
ect.N-bash: LocalServer.java:206: command not found
ativeConstructorAccessorImpl.newInstance0(Native Method)
-bash: syntax error near unexpected token `('
[root@uatsvr01 wmq_lab]# at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
-bash: syntax error near unexpected token `('
[root@uatsvr01 wmq_lab]# at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
-bash: syntax error near unexpected token `('
[root@uatsvr01 wmq_lab]# at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
-bash: syntax error near unexpected token `('
[root@uatsvr01 wmq_lab]# at com.ibm.mq.jmqi.JmqiEnvironment.getInstance(JmqiEnvironment.java:681)
-bash: syntax error near unexpected token `('
[root@uatsvr01 wmq_lab]# at com.ibm.mq.jmqi.JmqiEnvironment.getMQI(JmqiEnvironment.java:615)
-bash: syntax error near unexpected token `('
[root@uatsvr01 wmq_lab]# at com.ibm.msg.client.wmq.factories.WMQConnectionFactory.createV7ProviderConnection(WMQConnectionFactory.java:6871)
-bash: syntax error near unexpected token `('
[root@uatsvr01 wmq_lab]# ... 10 more
a
-bash: ...: command not found
[root@uatsvr01 wmq_lab]# Caused by: java.lang.UnsatisfiedLinkError: no mqjbnd in java.library.path
6
-bash: Caused: command not found
[root@uatsvr01 wmq_lab]# at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1886)
-bash: syntax error near unexpected token `('
[root@uatsvr01 wmq_lab]# at java.lang.Runtime.loadLibrary0(Runtime.java:849)
-bash: syntax error near unexpected token `('
[root@uatsvr01 wmq_lab]# at java.lang.System.loadLibrary(System.java:1088)
-bash: syntax error near unexpected token `('
[root@uatsvr01 wmq_lab]# at com.ibm.mq.jmqi.local.LocalMQ.loadLib(LocalMQ.java:1205)
-bash: syntax error near unexpected token `('
[root@uatsvr01 wmq_lab]# ... 24 more
v
-bash: ...: command not found
[root@uatsvr01 wmq_lab]# Responder1: STOP
m
-bash: Responder1:: command not found
[root@uatsvr01 wmq_lab]# Requestor1: Uncaught exception.
-bash: Requestor1:: command not found
[root@uatsvr01 wmq_lab]# com.ibm.msg.client.jms.DetailedJMSException: JMSFMQ6312: An exception occurred in the Java(tm) MQI.
-bash: syntax error near unexpected token `('
[root@uatsvr01 wmq_lab]# The Java(tm) MQI has thrown an exception describing the problem.
-bash: syntax error near unexpected token `('
a
[root@uatsvr01 wmq_lab]# See the linked exception for further information.
a
-bash: See: command not found
[root@uatsvr01 wmq_lab]# at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
-bash: syntax error near unexpected token `('
[root@uatsvr01 wmq_lab]# at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
-bash: syntax error near unexpected token `('
[root@uatsvr01 wmq_lab]# at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
-bash: syntax error near unexpected token `('
[root@uatsvr01 wmq_lab]# at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
-bash: syntax error near unexpected token `('
[root@uatsvr01 wmq_lab]# at com.ibm.msg.client.commonservices.j2se.NLSServices.createException(NLSServices.java:319)
-bash: syntax error near unexpected token `('
[root@uatsvr01 wmq_lab]# at com.ibm.msg.client.commonservices.nls.NLSServices.createException(NLSServices.java:233)
-bash: syntax error near unexpected token `('
[root@uatsvr01 wmq_lab]# at com.ibm.msg.client.wmq.factories.WMQConnectionFactory.createV7ProviderConnection(WMQConnectionFactory.java:6879)
-bash: syntax error near unexpected token `('
[root@uatsvr01 wmq_lab]# at com.ibm.msg.client.wmq.factories.WMQConnectionFactory.createProviderConnection(WMQConnectionFactory.java:6270)
-bash: syntax error near unexpected token `('
[root@uatsvr01 wmq_lab]# at com.ibm.msg.client.jms.admin.JmsConnectionFactoryImpl.createConnection(JmsConnectionFactoryImpl.java:284)
-bash: syntax error near unexpected token `('
[root@uatsvr01 wmq_lab]# at com.ibm.mq.jms.MQConnectionFactory.createCommonConnection(MQConnectionFactory.java:6215)
-bash: syntax error near unexpected token `('
[root@uatsvr01 wmq_lab]# at com.ibm.mq.jms.MQConnectionFactory.createConnection(MQConnectionFactory.
-bash: syntax error near unexpected token `('
[root@uatsvr01 wmq_lab]# at com.ibm.uk.hursley.perfharness.jms.providers.AbstractJMSProvider.getConnection_internal(AbstractJMSProvider.java:181)
-bash: syntax error near unexpected token `('
[root@uatsvr01 wmq_lab]# at com.ibm.uk.hursley.perfharness.jms.providers.AbstractJMSProvider.getConnection(AbstractJMSProvider.java:287)
-bash: syntax error near unexpected token `('
[root@uatsvr01 wmq_lab]# at com.ibm.uk.hursley.perfharness.jms.r11.JMS11WorkerThread.buildJMSResources(JMS11WorkerThread.java:128)
-bash: syntax error near unexpected token `('
[root@uatsvr01 wmq_lab]# at com.ibm.uk.hursley.perfharness.jms.r11.Requestor.buildJMSResources(Requestor.java:60)
-bash: syntax error near unexpected token `('
[root@uatsvr01 wmq_lab]# at com.ibm.uk.hursley.perfharness.jms.r11.JMS11WorkerThread.run(JMS11WorkerThread.java:269)
-bash: syntax error near unexpected token `('
[root@uatsvr01 wmq_lab]# at com.ibm.uk.hursley.perfharness.jms.r11.Requestor.run(Requestor.java:102)
-bash: syntax error near unexpected token `('
[root@uatsvr01 wmq_lab]# Caused by: com.ibm.mq.jmqi.local.LocalMQ$3: CC=2;RC=2495;AMQ8598: &N -------------------------------------------------------------- --------- &N | Failed to load the WebSphere MQ native JNI library: 'mqjbnd'. &N | &N | The JVM attempted to load the platform nativ e library 'mqjbnd', &N | which was mapped to the filename: 'libmqjbnd.so'. &N | &N | When attempting to load the library, the JVM r eported the error &N | message: &N | 'no mqjbnd in java.library.path' &N | &N | The JVM's bit-size is: '64' &N | &N | The library p ath which was used to locate this library was: &N | '*** Configured java.library.path **********************************
-bash: syntax error near unexpected token `&'
[root@uatsvr01 wmq_lab]# | "/opt/mqm/java/lib64"
-bash: syntax error near unexpected token `|'
[root@uatsvr01 wmq_lab]# | "/usr/java/packages/lib/amd64"
-bash: syntax error near unexpected token `|'
[root@uatsvr01 wmq_lab]# | "/usr/lib64"
-bash: syntax error near unexpected token `|'
[root@uatsvr01 wmq_lab]# | "/lib64"
-bash: syntax error near unexpected token `|'
[root@uatsvr01 wmq_lab]# | "/lib"
-bash: syntax error near unexpected token `|'
[root@uatsvr01 wmq_lab]# | "/usr/lib"
-bash: syntax error near unexpected token `|'
[root@uatsvr01 wmq_lab]# | ********************************************************************' &N | &N | Check that the bit size of the JVM matches the bi t size of the first &N | native library file located with
-bash: syntax error near unexpected token `|'
[root@uatsvr01 wmq_lab]# at com.ibm.mq.jmqi.local.LocalMQ.loadLib(LocalMQ.java:1243)
-bash: syntax error near unexpected token `('
[root@uatsvr01 wmq_lab]#
[root@uatsvr01 wmq_lab]# at com.ibm.mq.jmqi.local.LocalMQ$1.run(LocalMQ.java:289)
-bash: syntax error near unexpected token `('
[root@uatsvr01 wmq_lab]# at java.security.AccessController.doPrivileged(Native Method)
-bash: syntax error near unexpected token `('
[root@uatsvr01 wmq_lab]# at com.ibm.mq.jmqi.local.LocalMQ.initialise_inner(LocalMQ.java:281)
-bash: syntax error near unexpected token `('
[root@uatsvr01 wmq_lab]# at com.ibm.mq.jmqi.local.LocalMQ.initialise(LocalMQ.java:244)
-bash: syntax error near unexpected token `('
[root@uatsvr01 wmq_lab]# at com.ibm.mq.jmqi.local.LocalMQ.<init>(LocalMQ.java:1329)
-bash: init/dev/fd/62: No such file or directory
[root@uatsvr01 wmq_lab]# at com.ibm.mq.jmqi.local.LocalServer.-bash: LocalMQ.java:1329: command not found
<init>(LocalServer.java:206)
-bash: init/dev/fd/62: No such file or directory
[root@uatsvr01 wmq_lab]# at sun.reflect.NativeConstructorAc-bash: LocalMQ.java:1329: command not found
cessorI-bash: LocalServer.java:206: command not found
-bash: LocalServer.java:206: command not found
mpl.newInstance0(Native Method)
-bash: syntax error near unexpected token `('
[root@uatsvr01 wmq_lab]# at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
-bash: syntax error near unexpected token `('
[root@uatsvr01 wmq_lab]# at sun.reflect.DelegatingConstructorAccessorImpl.newInsta
syntax error. Last token seen: .
Garbled time
[root@uatsvr01 wmq_lab]# at java.lang.reflect.Constructor.newInstance(Constructor.java:526
-bash: syntax error near unexpected token `('
[root@uatsvr01 wmq_lab]# at com.ibm.mq.jmqi.JmqiEnvironment.getInstance(JmqiEnvironment.java:681)
-bash: syntax error near unexpected token `('
[root@uatsvr01 wmq_lab]# at com.ibm.mq.jmqi.JmqiEnvironment.getMQI(JmqiEnvironment.java:615)
-bash: syntax error near unexpected token `('
[root@uatsvr01 wmq_lab]# at com.ibm.msg.client.wmq.factories.WMQConnectionFactory.createV7ProviderConnection(WMQConnectionFactory.jav
-bash: syntax error near unexpected token `('
[root@uatsvr01 wmq_lab]# ... 10 m
-bash: ...: command not found
[root@uatsvr01 wmq_lab]# Caused by: java.lang.UnsatisfiedLinkError: no mqjbnd in java.library.path
-bash: Caused: command not found
[root@uatsvr01 wmq_lab]# at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1886)
-bash: syntax error near unexpected token `('
[root@uatsvr01 wmq_lab]# at java.lang.Runtime.loadLibrary0(Runtime.java
-bash: syntax error near unexpected token `('
[root@uatsvr01 wmq_lab]# at java.lang.System.loadLibrary(System.ja
-bash: syntax error near unexpected token `('
[root@uatsvr01 wmq_lab]# at com.ibm.mq.jmqi.local.LocalMQ.loadLib(LocalMQ.java:1205)
-bash: syntax error near unexpected token `('
[root@uatsvr01 wmq_lab]# ... 24 more
-bash: ...: command not found
[root@uatsvr01 wmq_lab]# Requestor1: STOP
-bash: Requestor1:: command not found
[root@uatsvr01 wmq_lab]# totalIterations=0,avgDuration=0.13,totalRate=0.00
[root@uatsvr01 wmq_lab]# ControlThread1: STOP
-bash: ControlThread1:: command not found
[root@uatsvr01 wmq_lab]# totalIterations=0,avgDuration=0.14,totalRate=0.00
[root@uatsvr01 wmq_lab]# ControlThread1: STOP
-bash: ControlThread1:: command not found
[root@uatsvr01 wmq_lab]# [root@uatsvr01 wmq_lab]#
-bash: [root@uatsvr01: command not found

Anyone can guide me ?
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Jan 22, 2015 6:22 am    Post subject: Re: MQ Client 7.5 syntax error near unexpected token Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

faliqaizat wrote:
Anyone can guide me ?


Well a little; Java is not my thing, but it looks to me like the client installed fine. It's the mqtest.sh script in the wmq_labs directory that's having trouble, and that's because it can't find "mqjbnd". Now I would not expect something called mqjbnd to be present in a client install because that sounds a lot like it's creating a binding connection.

Try one of the client samples. If that works, the client is fine and your test script needs to be modified to use a client connection.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
faliqaizat
PostPosted: Thu Jan 22, 2015 6:51 pm    Post subject: Reply with quote

Newbie

Joined: 21 Jan 2015
Posts: 2

Hi Vitor,

TQ

will try the sample.I will post the outcome once done.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » MQ Client 7.5 syntax error near unexpected token
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.