Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

Testing banner

Servlet is unavailable

ffc88372-6058-4148-b9fd-24abcb3471cdJul 24 2019 — edited Apr 1 2024

We are running an application in which we have different servlets available in each context(lets say, context A has servlet S1 and S2 in the jar J1 and they are inter dependent).

- Servlet S1 is used to perform some dynamic actions in the application.

- One certain class/method from different context(say context B) is hitting this servlet S1 to perform one dynamic action.(Dynamic action - A program/application which copies the jars (like patching),this list of jars includes the jar J1 also)

- Now, while this dynamic action is being performed , For few times this servlet S1 is becoming unavailable(returning 500 error) and is available few times.

- To conclude, that servlet S1 is uncertain during this dynamic action.

Environment

- Glassfish4 application server

- Java 1.8.0_192

- We tried the same scenario in Tomcat 7,8 versions, but we are not facing this problem.

- We tried application reload option in Applications Configuration tab(please find the screenshot) but no use.

GlassFish.PNG

Do we have any other option with which we can solve this problem ?

Comments
Post Details
Added on Jul 24 2019
0 comments
87 views