JBOSS 321 無法檢測到修改後的類,應用當機。

cute發表於2005-07-28
在JBOSS 321 下當我修改類檔案時,JBOss已檢測到。可是為什麼我的應用將象死了一樣,沒有任何反應了。

現在我只能重起JBOSS才可以。

大家有沒有解決辦法?

17:42:52,171 INFO  [STDOUT] WebappClassLoader:   Resource '/WEB-INF/classes/whdb
/whdb.class' was modified; Date is now: Thu Jul 28 17:42:46 CST 2005 Was: Thu Ju
l 28 17:41:04 CST 2005
17:42:52,171 INFO  [Engine] StandardContext[]: Reloading this Context has starte
d
17:42:52,187 ERROR [STDERR] java.lang.NullPointerException
17:42:52,187 ERROR [STDERR]     at org.apache.catalina.core.StandardContext.relo
ad(StandardContext.java:2488)
17:42:52,187 ERROR [STDERR]     at org.apache.catalina.loader.WebappLoader$Webap
pContextNotifier.run(WebappLoader.java:1369)
17:42:52,187 ERROR [STDERR]     at java.lang.Thread.run(Thread.java:534)
<p class="indent">





我的配置:

            <Host name="www.whiic.com" autoDeploy="true" deployOnStartup="true" deployXML="true">

                  <!-- Access logger -->
                  <Valve className = "org.apache.catalina.valves.AccessLogValve"
                     prefix = "localhost_access" suffix = ".log"
                     pattern = "common" directory = "${jboss.server.home.dir}/log" />

                  <!-- Default context parameters -->
     			 <DefaultContext cookies = "true" crossContext = "true" override = "true" reloadable="true" />
               </Host>

相關文章