• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Knute Snortum
Sheriffs:
  • Liutauras Vilda
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Joe Ess
  • salvin francis
  • fred rosenberger

JSPs compiling each time in a cluster

 
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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
  • 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
 
catch it before it slithers away! Oh wait, it's a tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!