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



"Robert Klemme" <bob.news@xxxxxxx> wrote in message news:<d4j8sd$tej$1@xxxxxxxxxxxxxxxxxx>...
> "Danda" <ravindrakumar.danda@xxxxxxxxxxxxx> schrieb im Newsbeitrag
> news:7e3ac6e3.0504210836.ea74eb0@xxxxxxxxxxxxxxxxxxxxx
> > 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
.



Relevant Pages

  • Sessions problem
    ... I have a protected administrator page. ... I made it using sessions. ... using my PC and it works perfect.When I upload it to the server, ...
    (alt.php)
  • Sessions Problem
    ... I have a protected administrator page. ... I made it using sessions. ... using my PC and it works perfect.When I upload it to the server, ...
    (comp.lang.php)
  • Out of Memory Error - WebSphere Application server 4.x
    ... development application server. ... frequently FTP the java class files to the application server. ... a class fild upload all the sesssions on the server are getting lost ...
    (comp.lang.java.help)
  • Out of Memory Error -- WebSphere Application Server 4.x
    ... development application server. ... frequently FTP the java class files to the application server. ... a class fild upload all the sesssions on the server are getting lost ...
    (comp.lang.java.softwaretools)
  • Re: Out of Memory Error -- WebSphere Application Server 4.x
    ... 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. ... 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. ... whenever we do a class fild upload all the sesssions on the server are getting lost and new objects/ sessions are created. ...
    (comp.lang.java.softwaretools)