Hi,

   I'm having a ear with the following structure:

ear
| -- application1.war
| -- application2.war

- application1.war contains a web service
- application2.war contains a client that will try to contact the web service on deployment.

All this in JBoss 4.0.4

application2.war is configured with Spring and the main bean is initialized through the init-method attribute from the xml configuration. So at deployment, the client is doing a call to the server.

But I'm getting the following error:
[HttpMethodBase] 100 (continue) read timeout. Resume sending the request

As Tomeks suggested me, I tried setting this:
client.setProperty(CommonsHttpMessageSender.DISABLE_EXPECT_CONTINUE, "true");

But what it did is avoiding the message to appear and then JBoss stands there without continuing the deployment.

But, when deploying application1.war and then application2.war, separatly, it works perfectly, is there something in deployement that could block the communication between the two applications? We can't deploy the two wars separatly, because when restarting JBoss, we can't be sure that the client will be deployed after the server.

Thanks,

- Pascal

---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to