• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Appserver 9.1 keeps stopping!

 
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic