-
1. Re: ServiceMix 4.2 crash after SA deployment
gertv May 17, 2010 2:55 PM (in response to bastien78320)Bastien,
Could you clarify what you mean by a server crash? Does the server stop responding, does the process end, are you seeing exceptions in the log, ...?
If the container is still running but not responding, could you try using jstack (or Ctrl-Break) to create a thread dump? If it's an exception, it would be good to be able to see the exception (with a few dozen lines of extra context logging before/after it).
Regards,
Gert
-
2. Re: ServiceMix 4.2 crash after SA deployment
bastien78320 May 18, 2010 3:28 AM (in response to gertv)Thank you for your quick answer.
I mean by crash that the server shutdown automatically every time I start the server. If I remove all the SAs from the deploy directory the server stop crashing.
There is no exception in the log file except may be this warning :
09:26:17,890 | WARN | xtenderThread-47 | ServiceAssemblyInstaller | er.impl.ServiceAssemblyInstaller 177 | Problem undeploying SU su-mailService-provider
-
3. Re: ServiceMix 4.2 crash after SA deployment
bastien78320 May 18, 2010 5:37 AM (in response to bastien78320)I think I found the problem. In fact my SA doesn't work. I tried with another SA and it work fine. I think the problem is caused by the wsdl of my web service.
Anyway its strange that ServiceMix crash because of a wsdl file..
-
4. Re: ServiceMix 4.2 crash after SA deployment
gertv May 18, 2010 5:59 AM (in response to bastien78320)Bastien,
You're right: the container should never behave that way, regardless of what you deploy on it. If you can provide us with an example of a SA (e.g. the one you have now but with any proprietary bits removed) that causes this, we should be able to reproduce and fix this for the next version of FUSE ESB.
Regards,
Gert
-
5. Re: ServiceMix 4.2 crash after SA deployment
bastien78320 May 18, 2010 6:40 AM (in response to gertv)Of Course. Where can I sent my SA? May be an e-mail adress?
-
6. Re: ServiceMix 4.2 crash after SA deployment
gertv May 18, 2010 7:52 AM (in response to bastien78320)L.S.,
If you could create a JIRA issue at https://issues.apache.org/activemq and attach your SA there, that would be awesome!
Thanks a lot,
Gert
-
7. Re: ServiceMix 4.2 crash after SA deployment
bastien78320 May 18, 2010 8:50 AM (in response to gertv)I created the JIRA issue with my SA in attachment.
https://issues.apache.org/activemq/browse/SMX4-529
Thank you.
Bastien
-
8. Re: ServiceMix 4.2 crash after SA deployment
bastien78320 May 18, 2010 9:33 AM (in response to bastien78320)I found the reason of the problem!
In my WSDL file I have 2 xsd file import. And these xsd files mutually import themselves. I think it caused an infinite loop and stop the server.
I rewrote the wsdl and xml schema and it works now.
-
9. Re: ServiceMix 4.2 crash after SA deployment
gertv May 18, 2010 9:51 AM (in response to bastien78320)Bastien,
Thanks for the feedback and for raising the issue! I'll take a look at the issue and see if/how we can either prevent the circular import to kill the server and/or provide a useful message somehow to help people troubleshoot that kind of problem.
Thanks again,
Gert