Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am using Glassfish V2 server and till now every thing was going fine. It was deploying the application as usual, but suddenly it has started to prompt a 503 error saying "unable to find context listener", "unable to find ****class", "unable to find persistence unit" and like this for all the classes. How should I correct this error?


migration rejected from stackoverflow.com Jul 10 '13 at 4:43

This question came from our site for professional and enthusiast programmers. Votes, comments, and answers are locked due to the question being closed here, but it may be eligible for editing and reopening on the site where it originated.

closed as unclear what you're asking by Falcon Momot, Michael Hampton Jul 10 '13 at 4:43

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.If this question can be reworded to fit the rules in the help center, please edit the question.

@ashish: you will need to be more detailed in your description. "till now everything was going fine" - does this mean you had deployed your application previously successfully and only now it's giving 503? "suddenly it has started to prompt 503 error" - did this happen after you did some code change and redeployed the application? What did you do to troubleshoot so far? Did you try redeploying the app again? How long has the app server been running before you hit on this error? More details go a long way to help us help you. –  feicipet Jul 7 '09 at 0:35
yes you are right .....some thing that is still a mystery for me that after 2 hr every thing became normal. yes on previous occasions deployment process was a success but after a piece of change in code it suddenly started prompting this error in server LOG of GlassFish i found text some thing like unable to find context lister,a***Class,b****Class,at last it wrote 76 more same error –  Sam Rudolph Jul 11 '09 at 20:28

2 Answers 2

Here is something that can help you:

Read the comment in your answer!


503 error must be due to some error in your web app that you are deploying ( assuming all other HTTP services such as admin console is running fine on your server) Check what state the application is shown in admin console - that may give a clue.


Not the answer you're looking for? Browse other questions tagged or ask your own question.