Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Idle Network behavior with Remote EJB in Glassfish 4

user7076158Oct 9 2015 — edited Oct 12 2015

I have an interesting situation with a set Glassfish 4 in a hosted environment.   

I have a distributed application within a local network.  The application components are remote EJBs.  The application experiences some periods of no activity for about 1 hour. 

The hosted network firewalls kill idle connections after 1 hour.  Once this occurs the EJBs cannot reconnect.  If the client side of the application is disabled and enabled, the EJB connections begin working again.  Unfortunately I cannot change the network setting because of the hosting situation.

How do i tune the cache of remote EJB handles so that idle handles are cleared out in less than 1 hour and reloaded from the server side when the application activity starts again?

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 6 2015
Added on Oct 9 2015
0 comments
390 views