Highlighted
Valued Contributor.
Valued Contributor.
545 views

java.lang.ClassCastException(LR_12.50)

Error:Failed to send message text to TFS.CSS.ALFA.CONTRACTACK.V1_0 due to the following exception : java.lang.ClassCastException: com.tibco.tibjms.naming.TibjmsFederatedTopic cannot be cast to javax.jms.Queue
java.lang.ClassCastException: com.tibco.tibjms.naming.TibjmsFederatedTopic cannot be cast to javax.jms.Queue
at com.mercury.ws.jms.SessionManagerImpl.getQueue(SessionManagerImpl.java:94)
at com.mercury.ws.jms.JMSSupportImpl.sendMessageQueue(JMSSupportImpl.java:106)
at com.mercury.ws.jms.JMSBridge.send_message_queue(JMSBridge.java:43)
Action.c(6): Error:JMS call execution failed..

Please help me..

 

0 Likes
2 Replies
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: java.lang.ClassCastException(LR_12.50)

Hi,

Can you give some context?

Shlomi

0 Likes
Highlighted
Valued Contributor.
Valued Contributor.

Re: java.lang.ClassCastException(LR_12.50)

    char text[100];
    strcpy(text,"Sample Message to be send to TIBCO");
    lr_output_message("%s text is",text);
    jms_send_message_queue("step1: send message","text","TFS.CSS.ALFA.CONTRACTACK.V1_0");

 

 

 

 

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.