tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruce Perryman <bperryman...@yahoo.com>
Subject Re: Please help! Unit test fails for Tomcat
Date Tue, 22 Jan 2002 14:18:33 GMT
Did you download the correct JNDI package (JNDI 1.2.1
Reference Implementation)? Is it being picked up from
the correct location in build.properties ({tomcat
installation directory}/build.properties). Check the
build.properties file and make sure that it is being
refence properly. Are there any error msgs displayed
during the build?

--- kynn@panix.com wrote:
> 
> 
> When I try 'ant test' (after getting past 'ant
> dist'), it fails
> eventually with:
> 
>     test-dir-context:
> 	 [echo] Running FileDirContext tests
> 	 [java] .F.......
> 	 [java] Time: 0.164
> 	 [java] There was 1 failure:
> 	 [java] 1)
>
testGetAttributesWebInf(org.apache.naming.resources.FileDirContextTestCase)junit.framework.AssertionFailedError:
> WEB-INF attribute 'resourcetype' is expected
> 	 [java]     at
>
org.apache.naming.resources.BaseDirContextTestCase.checkWebInfAttributes(BaseDirContextTestCase.java:452)
> 	 [java]     at
>
org.apache.naming.resources.FileDirContextTestCase.testGetAttributesWebInf(FileDirContextTestCase.java:162)
> 	 [java]
> 	 [java] FAILURES!!!
> 	 [java] Tests run: 8,  Failures: 1,  Errors: 0
> 	 [java]
>     
>     BUILD FAILED
>     
>    
>
/home1/berriz/build/tomcat/jakarta-tomcat-4.0.1-src/catalina/build.xml:566:
> Java returned: -1
>     
>     Total time: 4 seconds
> 
> 
> 
> Any suggestions as to what to do to fix this would
> be most welcome.
> 
> KJ
> 
> P.S.  Please Cc me in your response.
> 
> --
> To unsubscribe:  
> <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands:
> <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list:
> <mailto:tomcat-user-owner@jakarta.apache.org>
> 


__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/

--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message