Niels,

are you sure the Alteon is not the issue? Have you tried straight
HTTP traffic with a browser against a JSP?

I ran into a similar issue a while ago and the problem turned out
to be in the Alteon firmware that had to be upgraded.

LCF.

> -----Original Message-----
> From: Niels Hagelberg [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, June 24, 2004 9:52 AM
> To: [EMAIL PROTECTED]
> Subject: Axis client maintaining connection to server
> 
> Hello,
> 
> We are using Axis Client for accessing a Web service layer in 
> a large production environment, which has the following setup:
> 
> 1 x Server A (WLS 6.1) ---Webservice call---> Loadbalancer 
> (Alteon 180E) -----Webservice call-----> 2 x Server B (WLS 8.1).
> 
> Server A has Servlets/EJB's which in the end uses Axis Client 
> to connect through a Loadbalancer to Server B. The problem 
> we're experiencing is, that when we take down one of the B 
> servers, the Axis Client seems to maintain the connection 
> toward this server. This means that we can't use the 
> Loadbalancer to redirect traffic to the other Server B in 
> case of a breakdown.
> My question is: Why does the Axis Client keep sending 
> requests to the same server?
> 
> 
> To access Axis in our application code on Server A, we use 
> the following code (example only):
> 
> ------------EXAMPLE EJB-------------
> 
> LocatorService ls;
> 
> public class AxisExampleAccess implements SessionBean{
> 
>     private LocaterService getAccess() {
>          if (ls == null) {
>             ls = new LocatorService();
>         }
>     return ls;
>     }
> 
>     public void callAxis(Object[] params) {
>         getAccess.invoke(params);
>     }
> }
> ----------EXAMPLE LOCATOR SERVICE------------ LocatorService  {
> 
> Service s = null;
> //implement Service methods....
> 
>     public void invoke(Object[] params) {
>         Call c = javax.xml.rpc.Service().createCall();
>         c.invoke(params);
>     }
> }
> ----------------------------------------------------------
> 
> Regards,
> Niels
> 

Reply via email to