Discussion

1
Replies
250
Views
rpkeshav Member since 2010 2 posts
Infosys
Posted: 4 years ago
Last activity: 4 years 7 months ago
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
Share this page LinkedIn