日期:2014-05-18  浏览次数:20625 次

为什么java会自已重编译?然后session就没了.如下

[08:57:33.791]   Compiling   whirFunction.java
[08:57:42.416]   Compiling   _jsp/_back/_xxfl__jsp.java
[08:58:08.885]   WebApp[http://localhost:8080/ldj]   stopping
[08:58:10.682]   resin-file:   destroy
[08:58:10.978]   WebApp[http://localhost:8080/ldj]   starting
[08:58:12.228]   Compiling   whirFunction.java
[08:58:13.260]   Compiling   _jsp/_back/_xxfl_0mod__jsp.java
[08:58:14.338]   ?E:\K柢jspsite\resin-pro-3.0.17\webapps\ldj\WEB-INF\work\_jsp\_b
ack\_xxfl_0mod__jsp.java   (捡琵   API
[08:58:14.338]   ?灁o ?(   -Xlint:deprecation   v?
[08:58:14.588]   ?E:\K柢jspsite\resin-pro-3.0.17\webapps\ldj\WEB-INF\work\_jsp\_b
ack\_xxfl_0mod__jsp.java   (捡琵   API
[08:58:14.588]   ?灁o ?(   -Xlint:deprecation   v?
[08:58:40.978]   resin-file:   init
[09:00:05.369]   Compiling   whirFunction.java
[09:00:06.572]   Compiling   _jsp/_back/_xxnr_0del__jsp.java
[09:00:07.557]   ?E:\K柢jspsite\resin-pro-3.0.17\webapps\ldj\WEB-INF\work\_jsp\_b
ack\_xxnr_0del__jsp.java   (捡琵   API
[09:00:07.557]   ?灁o ?(   -Xlint:deprecation   v?
[09:00:07.603]   ?E:\K柢jspsite\resin-pro-3.0.17\webapps\ldj\WEB-INF\work\_jsp\_b
ack\_xxnr_0del__jsp.java   (捡琵   API
[09:00:07.603]   ?灁o ?(   -Xlint:deprecation   v?
[09:00:09.463]   WebApp[http://localhost:8080/ldj]   stopping
[09:00:09.494]   resin-file:   destroy
[09:00:09.541]   WebApp[http://localhost:8080/ldj]   starting
[09:01:20.307]   resin-file:   init
[09:01:24.619]   Compiling   whirFunction.java
[09:01:25.494]   Compiling   _jsp/_back/_xxnr_0mod__jsp.java
[09:01:26.947]   ?E:\K柢jspsite\resin-pro-3.0.17\webapps\ldj\WEB-INF\work\_jsp\_b
ack\_xxnr_0mod__jsp.java   (捡琵   API
[09:01:26.947]   ?灁o ?(   -Xlint:deprecation   v?
[09:01:26.994]   ?E:\K柢jspsite\resin-pro-3.0.17\webapps\ldj\WEB-INF\work\_jsp\_b
ack\_xxnr_0mod__jsp.java   (捡琵   API
[09:01:26.994]   ?灁o ?(   -Xlint:deprecation   v?
[09:01:27.541]   WebApp[http://localhost:8080/ldj]   stopping
[09:01:27.557]   resin-file:   destroy
[09:01:27.619]   WebApp[http://localhost:8080/ldj]   starting
[09:01:27.900]   resin-file:   init


------解决方案--------------------
兄弟你这是什么,代码贴出来
------解决方案--------------------
resin-pro-3.0.17?
看看是不是使用了过期的API
------解决方案--------------------
最有可能是你的JSP代码日期比class的新,也就是说你上传代码的机器可能时间已经到了16点了,但是服务器上的时间还只是15点

这样服务器每次访问时都认为应该去重新编译JSP,所以会出现这个情况。改正办法就是修改源代码的时间
------解决方案--------------------
你的配置文件应该不对,
你仔细看看resin.conf