In my previous replies I was under the impression that the firewall was
between the web servers and the websphere server.  Disregard my previous
messages.  This is a more common arrangement, and for whatever reason when
I read your message, I saw what I wanted to see.

You have to remember that connections to Remedy using the Remedy API are
stateless.   That is why you can open your user tool, log in to Remdy,
unplug your machine from the network, plug in and get a different IP
address and things just work.  I assume the same is true of the connection
pools since it is all built on the same stack.  Each RPC datagram contains
the authentication information, so if a connection is not already
established, a new one is created when packets come from the client
destined for the server.  This is different from stateful protocols, like
Oracle's OCI, SSH, etc.

If your firewall is blocking the connections between the midtier server and
the arserver, you need to look at the blocked packets and the firewall
policy to find out why.  Most firewalls are stateful for TCP connections,
and attempt to be stateful for UDP connections (they typically look at the
source IP/port and destination IP/port and create a state based on that
information).  They will generally accept SYN packets to add a new state to
the state table, then use the return SYN/ACK packet to finalize the state.
 From that point forward, packets that match that entry in the state table
are allowed to pass.  An RST packet will typically terminate/expire a TCP
state and UDP states just have to expire according to the threshold
configured on the firewall.

Check on the midtier server whether the connection is over UDP or TCP (use
tcpdump on unix/linux and WireShark on Windows).  If it is using UDP, check
the number of states the firewall is capable of tracking.  Make sure that
limit on the number of UDP states is not breached, because the firewall
will start expiring, throttling, or use some other means to stay under that
limit.  If it is using TCP, things are not so straight forward.

What does your firewall say?  Is it dropping packets or sending RST packets
for packets that try to pass through that do not match the state table?

Most firewalls keep track of the last packet for a given state and expire
only sessions that have been inactive (no packets) for a given amount of
time.  In your original message you stated that the firewall flushes
connections
on each session every hour.  If this in fact the case, it is
a brain-dead expiration policy that is bound to cause problems.

I don't know what kind of firewall you are using, but the person that
manages your firewalls should be able to see what is being blocked and
determine why those things are being blocked (if this in fact the cause of
your problems).  It could be something as simple as the firewall
is under-powered for the task at hand and is dropping old states to keep up
with the new states.  On the other hand, your problem may not be your
firewall.

Axton Grams

On Wed, Apr 11, 2012 at 9:03 PM, RemedyAdmin <[email protected]> wrote:

> Thanks Axton,
>
> We are exploring your suggestion. But in the interim we put a timer on
> firewall for ports to 2 hour, to be safe.
>
> Same question posed to BMC, the MT controls java connection pool and we
> can't. And set the Session timeout in the user preference/mt general
> setting
>  to less than firewall.
>
> Which we have tested  but still 'out of state" session in the firewall &
> login issues.
>
> To your point there maybe another protocol to look into.
>
> None of there additional responses, dove into the response you have
> provided.
>
>
>
> Axton Grams wrote:
> >
> > I don't know much about the IBM stack, but with Apache's AJP connector,
> > you
> > have the option to define keep alives (see  socket_keepalive and
> > ping_mode
> > ):
> > http://tomcat.apache.org/connectors-doc/reference/workers.html
> >
> > If the IBM HTTP server is talking HTTP to the WebSphere server, the
> > firewall should not interfere with the communications since each HTTP
> > request/response can negotiate the session information (it is basically
> > stateless between request/response pairs).  Since the firewall is
> > interfering, I can only assume that some other protocol is in use.
> >
> > Axton Grams
> >
> > On Wed, Apr 11, 2012 at 12:04 PM, Dee <[email protected]> wrote:
> >
> >> Thanks Axton,
> >>
> >> I posed the question to your websphere admins,
> >>
> >> We use http server in this case is IBM HTTP Server - 6.1.0.25, j2ee
> >> server
> >> -
> >> IBM WebSphere Application Server - ND - 6.1.0.25.
> >>
> >>
> >>
> >>
> >> --
> >> View this message in context:
> >>
> http://ars-action-request-system.1093659.n2.nabble.com/Java-API-connection-pool-question-tp7454090p7456744.html
> >> Sent from the ARS (Action Request System) mailing list archive at
> >> Nabble.com.
> >>
> >>
> >>
> _______________________________________________________________________________
> >> UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
> >> attend wwrug12 www.wwrug12.com ARSList: "Where the Answers Are"
> >>
> >
> >
> _______________________________________________________________________________
> > UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
> > attend wwrug12 www.wwrug12.com ARSList: "Where the Answers Are"
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/Java-API-connection-pool-question..-tp33663782p33672738.html
> Sent from the ARS (Action Request System) mailing list archive at
> Nabble.com.
>
>
> _______________________________________________________________________________
> UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
> attend wwrug12 www.wwrug12.com ARSList: "Where the Answers Are"
>

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug12 www.wwrug12.com ARSList: "Where the Answers Are"

Reply via email to