Discussion

1
Replies
262
Views
Close popover
Kesavalu Purushothaman (rpkeshav)
Infosys
Senior Consultant
Infosys
IN
rpkeshav Member since 2010 2 posts
Infosys
Posted: October 7, 2015
Last activity: February 2, 2016
Closed

Issue while setting Up JMS connector

Hi All-

            I am getting the belwo error while trying to setup JMS connector. Whot could be the issue. Please provide your views.

 

Failed to compile generated Java com.pegarules.generated.activity.ra_action_validateinfrastructurejndi_d809957bf1e427361ebab5ce32640211: ----------
1. ERROR in com/pegarules/generated/activity/ra_action_validateinfrastructurejndi_d809957bf1e427361ebab5ce32640211.java (at line 424)
    javax.jms.ConnectionFactory connectionFactory =  (javax.jms.ConnectionFactory) jndi.lookup("TestConnectionFactory");
    ^^^^^^^^^
javax.jms cannot be resolved to a type
----------
2. ERROR in com/pegarules/generated/activity/ra_action_validateinfrastructurejndi_d809957bf1e427361ebab5ce32640211.java (at line 424)
    javax.jms.ConnectionFactory connectionFactory =  (javax.jms.ConnectionFactory) jndi.lookup("TestConnectionFactory");
                                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^
javax.jms.ConnectionFactory cannot be resolved to a type
----------
3. ERROR in com/pegarules/generated/activity/ra_action_validateinfrastructurejndi_d809957bf1e427361ebab5ce32640211.java (at line 426)
    javax.jms.Connection connection = connectionFactory.createConnection();
    ^^^^^^^^^
javax.jms cannot be resolved to a type
----------
4. ERROR in com/pegarules/generated/activity/ra_action_validateinfrastructurejndi_d809957bf1e427361ebab5ce32640211.java (at line 433)
    catch (javax.jms.JMSException ex) {
           ^^^^^^^^^
javax.jms cannot be resolved to a type
----------
4 problems (4 errors)

 

 

Regards,

Kesav.

Data Integration
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Discussion, please write a new Discussion.