ESB fails to start when WSDL URI is not found!
Error reading from WDL URI cause the ESB to fail and not start up. Is there a way to keep loading and make this more fault tolerable? The reason why I’m asking is what if the ESB is connected to an external WSDL/web service and that server goes off line and my system need to restart. The ESB should still be able to function outside that one scenario.
The exception happens in the synapse-core jar package “org.apache.synapse” class ServerManager.java method public void start() line 89.
configctx = ConfigurationContextFactory.createConfigurationContextFromFileSystem(axis2Repolocation, null);
Please let me know if they is able to be fixed.
Thanks,
J
- Login or register to post comments
- Printer friendly version
- 140 reads










Hi, Could you please report
Hi,
Could you please report this issue through JIRA as an improvement? I will try to get this for the next release planed for the end of this month.
Thanks
Ruwan Linton
Someone else can consider
Someone else can consider this as a fatal error, and the ESB failing is the correct and expected outcome.. I personally think that the ESB failing to start is the better solution, as you can always get remote WSDL's etc into your Registry to overcome such 'temporary' network issues.
asankha
Asankha,May be we cab give
Asankha, May be we cab give a config parameter to tune whether to start ESB on errors in building components in the Synapse Configuration or abort start.
<parameter name="abortOnError">false</parameter>
We can keep this in axis2.xml and treat true as the default value, if not provided.
What do you think?
Thanks
Ruwan Linton
Not on axis2.xml since its
Not on axis2.xml since its not about the axis2 configuration.. maybe as a parameter for a proxy service?.. but what if we use a WSDL endpoint refers to an unreachable WSDL? .. I think its the users responsibility to import such artifacts to the [local] Registry to avoid such issues..
asankha
Thanks
Thanks Ruwan and Asankha
The switch parameter would be fantastic. Let me know if you all are able to get this into the release coming soon.
Thanks,
J
Can you raise a JIRA
Can you raise a JIRA (https://wso2.org/jira/browse/ESBJAVA) for this? I guess the requirement is that a proxy which fails on startup, should be disabled and the rest of the ESB should start normally..
Created
Thanks,
J