Hello all, We are developing applications in iPlanet - iAS6 on Solaris platform. (Most of us having solaris on NT box for development & porting only using Solaris). My problem is whenever i change some code in ordinary bean, i've to restart my server(iAS) to take the effect. (Both on NT & Solaris). Any work around, so that dynamic reloading of class is possible ? Another problem is, when ever some JSP is missing in the path, system came out with the message 500 Internal Server Error (File Not found). But after copying the file in the specified location, again same error is coming. Once i do the restart it takes effect. Any work around for this also .. Thanks in advance.
I have worked with iAS since SP2, and I've never managed to get it to reload classes consistently. A restart seems to be the only way to 'guarantee' that your new class is loaded.
As for the 500:FileNotFound error not being fixed until after a restart... and this might seem insulting to you, but I gotta ask... are you sure it's not your browser cache? [ March 15, 2002: Message edited by: Mike Curwen ]
Joined: Mar 09, 2002
Hi Mike Curwen, Tx for the reply. About my first problem, why i hurry for finding out the workaround is, Our project already went live. If customer reports any defects, we are fixing it & sending the same to him. In order to update even a single bean, we are forced to bring down the server. In initial stage it is okay. But customer is not happy about this procedure. They want server to be up 24 hours a day. I'll be ver ymuch thankful if anyone give some solution on this. My second problem is, yes it is really a problem.(500 error again not coming from cache, because, i've removed the cache, as well as i've seen from the log that request went to server again. This is not a big issue for me now. I'll appreciate, if anyone explains why this is happening like this.
Hi, It depends on how you are planning to implement your coding. I know very well that dynamic reloading is possible especially with iAS SP3 onwards. Here are the two ways... - After deploying the application, you can go to iPlanet/ias6/ias/APPS/...WEB-INF directory, and you can find the .jsp files residing. Make a change to one of the .jsp file and you can see the effect for the next call to the jsp file. - Next method is, after deploying, add a new .jsp file to the above mentioned directory. Invoke the jsp file and you can see it working. Please let me know if this helps.