update server classes without restarting sun one web server 6.1
hi,
I'm facing a problem in updating server classes on sun one web server 6.1. for example i write a class for db connections and now whenever i made some changes in it i must have to restart web server for changes to take effect. I also delete class files from classcache folder but it doesn't work.
my class is placed on /opt/ and this path is also placed in web server class paths.
i do not want to restart web server again and again. can some one tell me how to solve this problem.
Regards,
Kashif.
# 1
(Re)publish the server.
If it is in an integrated development environment, checkout the options/preferences. Some IDE's provides "smart publish" options so that it automatically publishes the server whenever you saves changed code.
You can also separately restart the deployed project instead of restarting the whole server.
# 2
thanks for your solution. actually I'm using very simple approach in which i use jsp+jdbc+oracle db and I'm not using any ID. in this case what i have to do.
do i have to lace my server classes somewhere else ? and how to redeploy my this simple app without restarting whole server.