AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Out of Memory Error -- WebSphere Application Server 4.x

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java Software Tools
View previous topic :: View next topic  
Author Message
Danda
Guest





PostPosted: Thu Apr 21, 2005 4:36 pm    Post subject: Out of Memory Error -- WebSphere Application Server 4.x Reply with quote



Hi
We are using WebSphere Application server on Sun solaris box as a
development application server. As a part of the development, we
frequently FTP the java class files to the application server. When we
do this, we noticed that the sessions of the users who are already
logged in the application running on that WAS are getting lost. They
have to reenter the credentials again to navigate through the
application. As the day work goes on, after certain number of class
files are uploaded onto the server by FTP, the application server is
throwing Out of Memory error and coming to a halt. When we try to
access the url it throws the OutOfMemory error in the logs. This is
hampering our development work, as we have to restart the development
server atleast twice in a day. Our assumption is that, whenever we do
a class fild upload all the sesssions on the server are getting lost
and new objects/ sessions are created. Before the garbage collector
runs, the frequent upload of class files are causing to create more
and more objects. Please suggest or advise a workaround or solution
for this.

Regards
Danda
Back to top
Robert Klemme
Guest





PostPosted: Mon Apr 25, 2005 5:20 pm    Post subject: Re: Out of Memory Error -- WebSphere Application Server 4.x Reply with quote




"Danda" <ravindrakumar.danda (AT) cognizant (DOT) com> schrieb im Newsbeitrag
news:7e3ac6e3.0504210836.ea74eb0 (AT) posting (DOT) google.com...
Quote:
Hi
We are using WebSphere Application server on Sun solaris box as a
development application server. As a part of the development, we
frequently FTP the java class files to the application server. When we
do this, we noticed that the sessions of the users who are already
logged in the application running on that WAS are getting lost. They
have to reenter the credentials again to navigate through the
application. As the day work goes on, after certain number of class
files are uploaded onto the server by FTP, the application server is
throwing Out of Memory error and coming to a halt. When we try to
access the url it throws the OutOfMemory error in the logs. This is
hampering our development work, as we have to restart the development
server atleast twice in a day. Our assumption is that, whenever we do
a class fild upload all the sesssions on the server are getting lost
and new objects/ sessions are created. Before the garbage collector
runs, the frequent upload of class files are causing to create more
and more objects. Please suggest or advise a workaround or solution
for this.

There might be issues with old class versions that cannot be GC'ed because
objects in sessions still refer them. Several things come to mind:

- increase mem of the VM

- don't put so much data in sessions

- decrease the lifetime of a session so it gets destroyed faster

- make sure, your app doesn't leak - it could well be a completely
unlrelated issue. Do you get the error even if you don't upload new classes
after testing some while?

Regards

robert




Back to top
Danda
Guest





PostPosted: Wed Apr 27, 2005 6:59 am    Post subject: Re: Out of Memory Error -- WebSphere Application Server 4.x Reply with quote



"Robert Klemme" <bob.news (AT) gmx (DOT) net> wrote

Quote:
"Danda" <ravindrakumar.danda (AT) cognizant (DOT) com> schrieb im Newsbeitrag
news:7e3ac6e3.0504210836.ea74eb0 (AT) posting (DOT) google.com...
Hi
We are using WebSphere Application server on Sun solaris box as a
development application server. As a part of the development, we
frequently FTP the java class files to the application server. When we
do this, we noticed that the sessions of the users who are already
logged in the application running on that WAS are getting lost. They
have to reenter the credentials again to navigate through the
application. As the day work goes on, after certain number of class
files are uploaded onto the server by FTP, the application server is
throwing Out of Memory error and coming to a halt. When we try to
access the url it throws the OutOfMemory error in the logs. This is
hampering our development work, as we have to restart the development
server atleast twice in a day. Our assumption is that, whenever we do
a class fild upload all the sesssions on the server are getting lost
and new objects/ sessions are created. Before the garbage collector
runs, the frequent upload of class files are causing to create more
and more objects. Please suggest or advise a workaround or solution
for this.

There might be issues with old class versions that cannot be GC'ed because
objects in sessions still refer them. Several things come to mind:

- increase mem of the VM

- don't put so much data in sessions

- decrease the lifetime of a session so it gets destroyed faster

- make sure, your app doesn't leak - it could well be a completely
unlrelated issue. Do you get the error even if you don't upload new classes
after testing some while?

Regards

robert



Hi Robert..

Hi Robert

Thanks a lot for Your quick reply. The problem goes liek this. We
have the development server in a different place and we do a normal
FTP of class files to the development box after modification. We
observed that while other users are logged in through the web
application GUI, we do a normal class file upload onto the application
server. So, the users' sessions are getting lost and teh application
is throwing the login screen for them. And if we do some certain no of
class file uploads to the applicatino server as the users are logged
in, the GUI is becoming not accessible as the server throws the Out Of
Memory Error in the logs and Error 500 or blank screen for the
users.We cant question on server configuration bcoz it used to run
fine. And also there is not much data kept in the sessions. We are
using Web Sphere Application server 4.x. Mean while I would like to
confirm whether 4.x supports dymanic deployment and hot deployment.

Thanks
Danda

Back to top
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java Software Tools All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.