• Post Reply Bookmark Topic Watch Topic
  • New Topic

Appserver 9.1 keeps stopping!  RSS feed

 
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'm working on a project and Sun Appserver 9.1 is giving me problems. It keeps stopping in between and I have no clue why. I've been using it without any problems for a month now and today suddenly it's acting weird.

Here's what I'm doing.. I'm trying to deploy my Webapp through Admin Console (I've done this for like 100 times till now, without any problems). It deploys fine. I click on "Launch", it starts, I browse through the webapp, it's fine, but when I click "back" button of my browser and again start browsing, the server just goes down. I know it goes down, because when i try to stop it, I get "The domain (domain1) isn't running" message. I have no clue what's going wrong where. Has anyone else encountered any such problem? Can anyone please help me figure out what's going wrong here?

Thanks in advance.
 
Roshni Singhania
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

After reinstalling AppServer 2-3 times, I figured out that my WebApp itself was the problem. I was trying to use a Singleton pattern in one of the class (dealing with backend connection) and apparently that was crashing the server (which I found funny), because when I made that class non-Singleton type, my webapp started working properly, without crashing the server.

I just thought I'd come back here and post about it.

Have a nice day.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!