Date: 2004-09-01T00:18:03
   Editor: VincentMassol <[EMAIL PROTECTED]>
   Wiki: Jakarta Cactus Wiki
   Page: FrequentlyAskedQuestions
   URL: http://wiki.apache.org/jakarta-cactus/FrequentlyAskedQuestions

   no comment

Change Log:

------------------------------------------------------------------------------
@@ -13,3 +13,5 @@
 || I'm using Cactus to test a servlet. Can I test multiple methods of the servlet in 
one test-case class? Also, it seems that after I run the test-case, the connection(s) 
to the container remain open, eventually blocking subsequent connection attempts when 
I try to run the tests again. How can I stop this happening? I'm using Ant & JBoss 
3.2. || <insert answer here> ||
 || Where are the Eclipse integration downloads? || The Eclipse plugin has been 
removed. Please see the note on 
http://jakarta.apache.org/cactus/integration/eclipse/index.html -However, I've found 
that to run cactus tests within Eclipse 3.0, you can simply run your cactus test as a 
jUnit test if you set a VM argument for ''cactus.contextURL'' (with something like 
''-Dcactus.contextURL=http://localhost:8080/test''). I would think that you may be 
able to achieve the same result with an Eclipse startup parameter. ''true, but you 
need to start your container first, with your cactus tests deployed. The Eclise plugin 
was doing that for you automatically. - VincentMassol'' ||
 || I am not using a J2EE distro to run my Tomcat 5 server, just J2SE. Which version 
of Catus do I download? || Tomcat 5 implements versions 2.4 and 2.0 of the Servlet and 
JSP specs respectively. These are part of J2EE 1.4 (for which Cactus does not have a 
specific distribution). However, you should be able to use the Cactus distribution 
targeted at J2EE 1.3 successfully for most tests. - NicholasLesiecki ||
+|| When using the <cactifywar> and/or the <cactus> task I get a 
{{{java.lang.NoClassDefFoundError: org/apache/xml/serialize/OutputFormat}}} || These 
tasks require the Xerces jar to be present in the Ant classpath. Ensure that the 
Xerces jar is present in your {{{ANTHOME/lib}}} directory and if you're running it 
under Eclipse, ensure that it is in the Ant runtime CP (Window|Preferences|Ant|Runtime 
and then in the Classpath tab. - VincentMassol ||
+

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to