Hello Vincent
Thank you for the help. I think the problem was that I had
commons-cactus.jar in my $resinhome/lib and not in the web-inf/lib. After
move the jars to the right place everthing was working fine.
Alexandre Telles
----- Original Message -----
From: Vincent Massol
To: [EMAIL PROTECTED]
Sent: Monday, September 03, 2001 12:38 PM
Subject: Re: server restart necessary? (again)
Hi Alexandre,
I've tried it with Resin 2.0 and it works for me. I believe it also works on
Resin 1.1.
Try to use a web.xml file in your webapp instead of using the resin.conf
file to configure your webapp, and drop your WAR file in the
<resinhome>/webapps directory. Be careful not to have any jar in your
CLASSPATH env variable. All jars and classes should be in your WEB-INF/lib
or WEB-INF/classes directories.
Question: every time you recompile your files, do you deliver them as a WAR
or do you directly compile them in your deployed war in the resin webapps
directory ? I haven't played too much with it but it seems Resin will not
pick up changes that happen in a WAR file but only if the war is expanded.
-Vincent
----- Original Message -----
From: Alexandre Telles
To: [EMAIL PROTECTED]
Sent: Monday, September 03, 2001 4:21 PM
Subject: server restart necessary? (again)
Hi, I'm new to Cactus and to JUnit. I am trying to work with Resin 1.1 and
Cactus, but every time I recompile my files I have to restart the server so
Cactus can reload the classes. These classes aren't in the system classpath.
I'm using the resin.conf like this:
<web-app id='/cactus'>
<servlet>
<servlet-name>ServletRedirector</servlet-name>
<servlet-class>org.apache.commons.cactus.server.ServletTestRedirector</servl
et-class>
</servlet>
<servlet-mapping>
<servlet-name>ServletRedirector</servlet-name>
<url-pattern>/ServletRedirector</url-pattern>
</servlet-mapping>
</web-app>
Any ideas?
Thanks
Alexandre Telles