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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Servlet is unavailable

ffc88372-6058-4148-b9fd-24abcb3471cdJul 24 2019 — edited Jul 24 2019

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

InoL
Answer

See:

Marked as Answer by Runrig · Oct 15 2021
Runrig

Thank you that did the trick :-)

1 - 2

Post Details

Added on Jul 24 2019
0 comments
254 views