• 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

Class Reloading

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
Dakshinamurthy Ramachandran
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Yes, my master! Here is the tiny ad you asked for:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic