> Hi , this is my resin's init message : > I grep no HotSwap keyword here ...
Putting Spring aside for a moment, make sure the following is done:
- compile resin.jni (./configure --prefix=/pathtoyourresin; make; make install)
- change default resin.conf from
<log name="" level="info" path="stdout:"
timestamp="[%H:%M:%S.%s] {%{thread}} "/>
<logger name="com.caucho" level="info"/>
to:
<log name="" level="all" path="stdout:"
timestamp="[%H:%M:%S.%s] {%{thread}} "/>
<logger name="com.caucho" level="config"/>
- deploy a simple app into webapps with a jsp page and a class (simple webapp
attached)
- start resin
- access the deployed webapp's index.jsp page with a browser (curl, wget)
After these steps you should see the following:
20:23:09.881] {main} Resin started in 1767ms
[20:23:28.011] {http--8080-1$22775072} Loading .tld files from global classpath
[20:23:28.192] {http--8080-1$22775072} Compiling _jsp/_index__jsp.java
[20:23:28.946] {http--8080-1$22775072} In-place class redefinition (HotSwap) is
available.
and after a touch on qa/Test.class and accessing the webapp again the following
line will appear
[20:30:31.556] {http--8080-6$11446032} Reloading qa.Test
The resin.conf and webapp are attached.
--Alex
resin.conf
Description: Binary data
x.war
Description: Binary data
> > log level is enabled : > <logger name="" level="all"/> > <logger name="com.caucho" level="config"/> > > > -Xdebug is enabled too : > <jvm-arg>-Xmx256m</jvm-arg> > <jvm-arg>-Xss1m</jvm-arg> > <jvm-arg>-Xdebug</jvm-arg> > <jvm-arg>-Dcom.sun.management.jmxremote</jvm-arg> > > > Resin-3.1.9 (built Mon, 13 Apr 2009 11:09:12 PDT) > Copyright(c) 1998-2008 Caucho Technology. All rights reserved. > > Using Resin(R) Open Source under the GNU Public License (GPL). > > See http://www.caucho.com for information on Resin Professional, > including caching, clustering, JNI acceleration, and OpenSSL integration. > > Starting Resin on Wed, 23 Dec 2009 09:04:50 +0800 (CST) > > [09:04:53.375] {main} 'select-manager' requires Resin Professional. See > http://www.caucho.com for information and licensing. > [09:04:53.376] {main} > [09:04:53.377] {main} Linux 2.6.18-164.6.1.el5 i386 > [09:04:53.377] {main} Java(TM) SE Runtime Environment 1.6.0_17-b04, UTF-8, zh > [09:04:53.378] {main} Java HotSpot(TM) Client VM 14.3-b01, 32, mixed mode, > sharing, Sun Microsystems Inc. > [09:04:53.378] {main} user.name: smallufo > [09:04:53.378] {main} resin.home = /usr/java/resin/ > [09:04:53.379] {main} resin.root = /usr/java/resin/ > [09:04:53.379] {main} resin.conf = /usr/java/resin/conf/resin.conf > [09:04:53.379] {main} > [09:04:53.819] {main} WebApp[http://localhost:8080] active > [09:04:54.090] {main} WebApp[http://localhost:8080/resin-admin] active > [09:04:54.723] {main} WebApp[http://localhost:8080/resin-doc] active > [09:04:54.724] {main} Host[] active > [09:04:56.326] {main} WebApp[http://foobar.com] Initializing Spring root > WebApplicationContext > > lot of spring initialization message... > > [09:05:07.445] {main} DESTIONFACTORY_ALREADY_REGISTERED > [09:05:07.547] {main} WebApp[http://foobar.com] active > [09:05:07.813] {main} WebApp[http://foobar.com/resin-doc] active > [09:05:07.814] {main} Host[foobar.com] active > [09:05:07.823] {main} hmux listening to localhost.localdomain:6800 > [09:05:07.831] {main} http listening to *:8080 > [09:05:07.835] {main} Server[id=,cluster=app-tier] active > [09:05:07.839] {main} Resin started in 17754ms > > _______________________________________________ > resin-interest mailing list > [email protected] > http://maillist.caucho.com/mailman/listinfo/resin-interest
_______________________________________________ resin-interest mailing list [email protected] http://maillist.caucho.com/mailman/listinfo/resin-interest
