Fellow Ranchers: When I try to access my jsps in a cluster, they get compiled each time I hit it. This does not happen when they are not clustered. Has anyone else had this problem? This is how I have my setup: M/C 1 (Solaris) M/C 2 (Solaris) AdminServer ManagedServer2 ManagedServer1 I have my jsps under the MyWebApp directory in both the managed servers and the weblogic.xml and web.xml under the WEB-INF directory of both managed servers. The WebApp is targeted to the cluster and not to the individual servers. I have also tried pre-compiling the jsps and then setting the pageCheckSeconds in the weblogic.xml to -1 which should prevent weblogic from recompiling but that doesnt work either. Again, this happens only when deploying the jsps in a cluster. Please let me know if anyone else has had a similar problem or if anyone knows that this is a bug in the weblogic server. Thanks for any help. Anup.
sukie
Greenhorn
Joined: Sep 15, 2001
Posts: 1
posted
0
I deployed an ear consisting of EJBs and JSP in a Weblogic 6.0sp1 clustered environment. I encountered the same problem of JSP recompilation with each deployment. I have tried using the option of pageCheckSeconds= -1 and this failed. I have also tried doing a JSP precompilation to circumvent the recompilation. The last alternative also failed. In fact, Weblogic reported that it overrides the user-specifed value provided.
anup vachali
Ranch Hand
Joined: Oct 17, 2000
Posts: 54
posted
0
Sukie, Thanks for ur reply. I have this problem when I deploy the jsps in exploded format. I havent tried deploying it as an ear but from ur post it appears as if that wouldnt help either. Please do let me know if u think of anything. Thanks Anup
anup vachali
Ranch Hand
Joined: Oct 17, 2000
Posts: 54
posted
0
Sukie, Did u get the information about Weblogic overriding the userspecified value from weblogic support or is this documented somewhere? And do u know what the server looks for if it overrides the userspecified value? Thanks, Anup