4 Replies Latest reply on Feb 18, 2016 7:35 AM by sanjeevrm

    deployment Fails to start service in switchayard Project which is polling jt400 data queue

    sanjeevrm

      Hi All,

       

      I am facing issue in deploying switchyard project. Here switchayard project is polling iseries data queue.

      if the data queue is not accessible due to application is down then deployment of the switchayrd project is failing.

       

      It is failing to start the service which is polling iseries data queue.

       

      Note: I am using camel binding for jt400 connection as "jt400://RINGO:OGNIR@LIVERPOOL/QSYS.LIB/BEATLES.LIB/PENNYLANE.DTAQ"

       

      I am getting following exceptions in log

       

      15:37:11,148 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000001: Failed to start service jboss.deployment.unit."SwitchYardProject.jar".SwitchYardService: org.jboss.msc.service.StartException in service jboss.deployment.unit."SwitchYardProject.jar".SwitchYardService: org.switchyard.SwitchYardException: org.apache.camel.RuntimeCamelException: Unable to obtain an AS/400 connection for system name 'LIVERPOOL' and user ID 'RINGO'

        at org.switchyard.as7.extension.services.SwitchYardService.start(SwitchYardService.java:80)

        at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]

        at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_67]

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_67]

        at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_67]

      Caused by: org.switchyard.SwitchYardException: org.apache.camel.RuntimeCamelException: Unable to obtain an AS/400 connection for system name 'LIVERPOOL' and user ID 'RINGO'