Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem recompiling JSP pages in Weblogic 6.0

 
Vladimir Simkine
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does anybody know the solution to this problem?
I am running Weblogic6.0 SP2 (Administration Server). I am trying to get the
server to automatically recompile the JSP page after it has been modified
without having to redeploy the entire Web application (which it should do
according to the documentation), but no matter what I try nothing seems to
work.
I've tried various settings of pageCheckSeconds option (0, 1, 2) - same
result.
I have seen this problem mentioned on this forum some time ago but there was no solution outlined.
I am generating dynamic JSP pages in my application, so this feature is
essential. Please help!
Vladimir
 
Rahul Mahindrakar
Ranch Hand
Posts: 1869
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Try this , this is the script by which I start my weblogic
F:\bea\weblogic700\samples\server\config\examples>"F:\bea\jdk131_02\bin\java" -hotspot -Xm
s32m -Xmx200m -classpath "F:\bea\jdk131_02\lib\tools.jar;F:\bea\weblogic700\server\lib\we
blogic_sp.jar;F:\bea\weblogic700\server\lib\weblogic.jar;F:\bea\weblogic700\server\lib\pbc
lient42ECF172.jar;" -Dweblogic.Name="MyServerTest" -Dbea.home="F:\bea" -Dweblogic.manageme
nt.username=weblogic -Dweblogic.management.password=weblogic -Dweblogic.management.ser
ver="t3://localhost:7001" -Dweblogic.ProductionModeEnabled= -Djava.security.policy="F:\bea
\weblogic700\server\lib\weblogic.policy" weblogic.Server
Note this
-Dweblogic.ProductionModeEnabled=false.
This may be set to true in your StartWeblogic command.
By default I think this is false
 
Vladimir Simkine
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rahul,
thanks for responding to my question. Unfortunately your solution doesn't work in my case. You seem to be running Weblogic 7.0, but I only have Weblogic6.0 where production/development modes are not supported as far as I know (I tried anyway but it didn't work).
Any other things you can think of?
Originally posted by Vladimir Simkine:
Does anybody know the solution to this problem?
I am running Weblogic6.0 SP2 (Administration Server). I am trying to get the
server to automatically recompile the JSP page after it has been modified
without having to redeploy the entire Web application (which it should do
according to the documentation), but no matter what I try nothing seems to
work.
I've tried various settings of pageCheckSeconds option (0, 1, 2) - same
result.
I have seen this problem mentioned on this forum some time ago but there was no solution outlined.
I am generating dynamic JSP pages in my application, so this feature is
essential. Please help!
Vladimir
 
Shubhrajit Chatterjee
Ranch Hand
Posts: 356
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It might be a date problem
It might happen the last edited date of the JSP file is wrong ... weblogic checks this field to see if a JSP file has changed.
You can touch all your JSP files to force a compile ...or you might consider deleting the class files weblogic generates.
[ July 26, 2002: Message edited by: Shubhrajit Chatterjee ]
 
Rahul Mahindrakar
Ranch Hand
Posts: 1869
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
but I only have Weblogic6.0 where production/development modes are not supported as far as I know (I tried anyway but it didn't work).

I think this is not the case and that PRODUCTION/DEVELOPMENT MODE is supported in 6.0
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!