Highlighted
Absent Member.
Absent Member.
915 views

Sending JMS message using VuGenerator gives an error " Error: JMS call execution failed"

Hi,

 

I am trying to send a message to a queue on a jms server installed locally.However the error which I am getting is as follows:-

Virtual User Script started
Starting action vuser_init.
Web Services replay version 9.50.0 for WIN32; Toolkit: "NotDefined"; build 4166
Run-Time Settings file: "C:\Users\absharma\AppData\Local\Temp\noname1\\default.cfg"
Vuser directory: "C:\Users\absharma\AppData\Local\Temp\noname1"
Vuser output directory: "C:\Users\absharma\AppData\Local\Temp\noname1\"
LOCAL start date/time: 2012-02-02 11:04:42
Ending action vuser_init.
Running Vuser...
Starting iteration 1.
Starting action Action.
Action.c(3): JMS call "send" started
Action.c(3): jms_print_general_property - JVM_Path = C:\Program Files (x86)\Java\jdk1.6.0\bin\jre\
Action.c(3): jms_print_general_property - JMS_impl_classpath = C:\Program Files (x86)\HP\Virtual User Generator\lib
Action.c(3): jms_set_general_property called - JNDI_InitialContextFactory = com.tibco.tibjms.naming.TibjmsInitialContextFactory

Action.c(3): jms_set_general_property called - JNDI_provider_URL = tcp://localhost:7222

Action.c(3): jms_set_general_property called - ConnectionFactory = QueueConnectionFactory
Action.c(3): jms_set_general_property called - connections_per_process = 1
Action.c(3): jms_set_general_property called - msg_timeout = 1
Action.c(3): jms_set_general_property called - user_define_timeout = 20
Action.c(3): jms_set_general_property called - SecurityPrincipal = admin
Action.c(3): jms_set_general_property called - SecurityCredentials =
Action.c(3): jms_set_general_property called - SetCorbaOrb =
Action.c(3): jms_set_general_property called - auto_generate_selector = 0
Action.c(3): java.naming.provider.url = tcp://localhost:7222
Action.c(3): java.naming.factory.initial = com.tibco.tibjms.naming.TibjmsInitialContextFactory
Action.c(3): java.naming.security.principal=admin
Action.c(3): Error: Failed to send message hello to sample due to the following exception :
Action.c(3): Error: JMS call execution failed
Ending action Action.
Ending iteration 1.
Ending Vuser...
Starting action vuser_end.
Ending action vuser_end.
Vuser Terminated.

 

Also can anyone suggest what should be included in the follwing parameters

JVM_Path

JMS_impl_classpath

 

Thanks in advance

0 Likes
1 Reply
Highlighted
Absent Member.. Absent Member..
Absent Member..

Re: Sending JMS message using VuGenerator gives an error " Error: JMS call execution failed&quo

Looks like you have most of the stuff except "tibjms-5.0.0.jar" in your classpath and JVM home.

 

 Make sure tibco is running and queue is ready for messages.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.