-
1. Re: deployment Fails to start service in switchayard Project which is polling jt400 data queue
rick_wagner Feb 17, 2016 7:36 AM (in response to sanjeevrm)Hi Sanjeev,
You might consider taking an incremental approach to fixing this problem.
- First step might be a POJO client to the AS/400 from that machine. Can you establish connectivity with a POJO? If not, hopefully you can find the reason why.
- If the POJO works, put the logic in a SwitchYard Bean component and try it then. (This might reveal some classloading issues.) Can the POJO be made to work?
- If the POJO also succeeds, then we know all the parts are in place for success. We might then try increased logging for more clues.
Just an idea. Good luck!
Rick
P.S. You might also consider trying this exercise from Wildfly-Camel. That's another way to get Camel capabilities on a JEE platform.
-
2. Re: deployment Fails to start service in switchayard Project which is polling jt400 data queue
igarashitm Feb 17, 2016 8:15 AM (in response to sanjeevrm)Did you mean you want to deploy that SwitchYard apps even when that jt400 system is not accessible?
Then you may want to try setting org.switchyard.deployment.disableAutoStartup domain property to true and start bindings manually from console once system gets available.
[SWITCHYARD-2646] Add an option to disable auto startup on service bindings - JBoss Issue Tracker
That's not in SwitchYard 2.0.0.Final though... please use Fuse 6.2.1 or community upstream master.
Aside, please use user forum next time for the question.
-
3. Re: deployment Fails to start service in switchayard Project which is polling jt400 data queue
sanjeevrm Feb 17, 2016 8:20 AM (in response to rick_wagner)Hi Rick,
Thanks for the reply. I missed out to add little more details of the issue.
The current implementation of the code is successfully able to connect iSeries data queue when the application host these queue is UP and running.
if iSeries application is down during deployment of this switchyardProject, then deployement of the switchyardProject fails with message "failed to start service as it is unable to get as400 connection"
I am using secure connection pool to access iSeries application. During deploymnet of this switchyard project if iSeries applciation is down as a result it won't get the secure connection pool.
Since deployment has failed, it won't try to connect to iSeries applciation again
-
4. Re: deployment Fails to start service in switchayard Project which is polling jt400 data queue
sanjeevrm Feb 18, 2016 7:35 AM (in response to sanjeevrm)Hi Tomohisa,
I am using Redhat Fuse service works 6.0.0 . I think this feature to disable the autostart of service is not available in this version.
More over our requirement is to start service without human intervention
Is there any other way to resolve it?
Thanks in advance..
Sanjeev