2010/5/19 Mark Thomas <[email protected]>:
> On 19/05/2010 12:25, Konstantin Kolinko wrote:
>> In the meanwhile,
>> As of now (at revision 946127),
>> org.apache.catalina.mbeans.TestRegistration fails for me:
>>
>> Testcase: testMBeanDeregistration took 1,907 sec
>> FAILED
>> Not enough Tomcat MBeans
>> junit.framework.AssertionFailedError: Not enough Tomcat MBeans
>> at
>> org.apache.catalina.mbeans.TestRegistration.testMBeanDeregistration(TestRegistration.java:59)
>>
>> The log file contains an exception
>>
>> 19.05.2010 15:16:56 org.apache.catalina.core.StandardContext resourcesStart
>> SEVERE: Error starting static Resources
>> java.lang.IllegalArgumentException: Document base
>> <skipped>\output\webappFoo does not exist or is not a readable
>> directory
>> at
>> org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:140)
>> at
>> org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4397)
>> at
>> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4547)
>> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:137)
>
> This works for me via Ant and Eclipse.
>
Thank you for letting me know.
I am building with ${tomcat.output} property defined to point to a
separate directory outside of my Eclipse project. It might be related
with that.
I am now looking at TestContextConfigAnnotation that fails for me with
redefined ${tomcat.output} because of how
TestContextConfigAnnotation#paramClassResource(..) method is
implemented. I hope to fix it soon.
Best regards,
Konstantin Kolinko
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]