jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Korver, Aaron" <Aaron.Kor...@Fiserv.com>
Subject RE: Running Cactus Tests - Jboss Running or not running ?
Date Wed, 23 Feb 2005 19:20:51 GMT
I think you are missing an important tag in your deployment descriptor..

<load-on-startup>1</load-on-startup>

See below my deployment descriptor:

<display-name>CactusWeb</display-name>
	<servlet>
		<servlet-name>ServletRedirector</servlet-name>
		<display-name>ServletRedirector</display-name>
	
<servlet-class>org.apache.cactus.server.ServletTestRedirector</servlet-class
>
		<load-on-startup>1</load-on-startup>
	</servlet>
	<servlet>
		<servlet-name>ServletTestRunner</servlet-name>
		<display-name>ServletTestRunner</display-name>
	
<servlet-class>org.apache.cactus.server.runner.ServletTestRunner</servlet-cl
ass>
		<init-param>
			<param-name>xsl-stylesheet</param-name>
			<param-value>styles/cactus-report.xsl</param-value>
		</init-param>
		<load-on-startup>2</load-on-startup>
	</servlet>
	<servlet-mapping>
		<servlet-name>ServletRedirector</servlet-name>
		<url-pattern>/ServletRedirector</url-pattern>
	</servlet-mapping>
	<servlet-mapping>
		<servlet-name>ServletTestRunner</servlet-name>
		<url-pattern>/ServletTestRunner</url-pattern>
	</servlet-mapping> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message