[JBossWS] - communication problem between server and client
by Bouchwichman
Hi! Here is my situation:
I am using JBoss developer studio.
I have two projects.
- A Web service server project (using JBoss 4.0)
- A Web service client project (using JBoss 4.2)
I get this error when executing :
| Caused by: javax.xml.ws.soap.SOAPFaultException: Cannot obtain container from Dispatcher: jboss.j2ee:ear=Annuaire-ear.ear,jar=Annuaire-ejb.jar,name=Authentification,service=EJB3
| at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.getSOAPFaultException(SOAPFaultHelperJAXWS.java:70)
| at org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS.throwFaultException(SOAP11BindingJAXWS.java:109)
| at org.jboss.ws.core.CommonSOAPBinding.unbindResponseMessage(CommonSOAPBinding.java:531)
| at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:356)
| at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:230)
| at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:164)
| at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:150)
| at $Proxy70.authenticate(Unknown Source)
| at bsa.admin.view.StartBean.login(StartBean.java:115)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:132)
| ... 38 more
|
When executing un debug mode, i located the problem in the invocation of the distant method "authenticate" (see error in red). But the code of the method is clean and doesn't seem to have problems.
What could be the origin of this problem?
I you need the source code tell me and i'll put it here for more details.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128418#4128418
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4128418
16 years, 10 months
[JBossWS] - Response time peaks (jboss 4.2/jbossws 1.2.1)
by gbc@gmx.de
Hi @ all,
We're using above environment on two servers with different applications deployed (one EJB3, other EJB3/Seam2). Communication takes place between both servers via webservice calls and we noticed peaks of response times while testing our server functions and the calls between them:
One interessting peak occours regulary every 12 minutes:
- Avarege time: 2 seconds (a PDF along with some data is being transferred)
- Peak time: 20s (right after server start) up to 2 minutes (after two hours of load) and thus breaking our webservice timeout!
I load tested with SoapUI to on a simple isAlive webmethod on both servers and it gives me the same behavoir, so its repeatable at our environment (tested 60 seconds with 1 thread):
server 1:
Avarage time: 12 ms
Peak time: 300 ms
server 2:
Avarage time: 7 ms
Peak time: 150 ms
So the implementation does not really matter IMHO. For our SLAs we need to deliver webservice response within reasonable response times, for example isAlive must complete in less than 100ms in every single threaded case, so we have some puffer left for concurrent access with an average response time of around 10-15ms.
Does anybody have experiences with such a situation, any hints where to look for answers/information? I tried googling and searching this forums but did not find an answer.
Thank you for your help,
best regards
Gerhard Balthasar
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128329#4128329
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4128329
16 years, 10 months