We have a web application that is deployed on OC4J. That OC4J container is configured with 2 JVMs.

It is developed using Struts 1.1 framework. We have used ssl-ext plugin to switch between http and https as per requirement.

But we are getting the following problem: When a http request switch to https, then it is going fine. Then when switching from https to http some times, the requests are going to the other JVM and it is giving a NULL pointer.

We looked into sticky sessions, firewall settings etc. It seems all are configured properly. But we still having issues.

Can anyone provide more information on how to implement switching between http and https on OC4J multiple JVMs on single server. We do not have any clustered environment as of now.

Thanks in advance,