• 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
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

JSPs compiling each time in a cluster

 
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 54
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 54
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
This tiny ad is wafer thin:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic