Just in case there is little difference between this rerun (after
redownload, reinstall fresh) and email I sent originally yesterday, I
am listing the result I got today.

[EMAIL PROTECTED] ejb]$ pwd
/home/yao/local/jakarta-cactus-13-1.6.1/samples/ejb
[EMAIL PROTECTED] ejb]$ ant
Buildfile: build.xml
 
init:
 
clean:
 
compile.java:
    [mkdir] Created dir:
/home/yao/local/jakarta-cactus-13-1.6.1/samples/ejb/target/classes/java
    [javac] Compiling 3 source files to
/home/yao/local/jakarta-cactus-13-1.6.1/samples/ejb/target/classes/java

ejb:
      [jar] Building jar:
/home/yao/local/jakarta-cactus-13-1.6.1/samples/ejb/target/cactus-sample-ejb.jar
 
ear:
      [ear] Building ear:
/home/yao/local/jakarta-cactus-13-1.6.1/samples/ejb/target/cactus-sample-ejb.ear
 
compile.cactus:
    [mkdir] Created dir:
/home/yao/local/jakarta-cactus-13-1.6.1/samples/ejb/target/classes/cactus
    [javac] Compiling 1 source file to
/home/yao/local/jakarta-cactus-13-1.6.1/samples/ejb/target/classes/cactus
 
test.war:
      [war] Building war:
/home/yao/local/jakarta-cactus-13-1.6.1/samples/ejb/target/cactus-sample-ejb.war
[cactifywar] Analyzing war:
/home/yao/local/jakarta-cactus-13-1.6.1/samples/ejb/target/cactus-sample-ejb.war
[cactifywar] Could not copy the JSP redirector (Resource
'/org/apache/cactus/server/jspRedirector.jsp' not found)
[cactifywar] Could not find the AspectJ Runtime JAR
[cactifywar] You need to add the JAR to the classpath of the task
[cactifywar] Could not find the Cactus Framework JAR
[cactifywar] You need to add the JAR to the classpath of the task
[cactifywar] Could not find the Commons-HttpClient JAR
[cactifywar] You need to add the JAR to the classpath of the task
[cactifywar] Building war:
/home/yao/local/jakarta-cactus-13-1.6.1/samples/ejb/target/cactus-sample-ejb-cactified.war
      [ear] Building ear:
/home/yao/local/jakarta-cactus-13-1.6.1/samples/ejb/target/cactus-sample-ejb-cactified.ear

test.prepare:
    [mkdir] Created dir:
/home/yao/local/jakarta-cactus-13-1.6.1/samples/ejb/target/test-reports
    [mkdir] Created dir:
/home/yao/local/jakarta-cactus-13-1.6.1/samples/ejb/target/test-reports/jboss3x
    [mkdir] Created dir:
/home/yao/local/jakarta-cactus-13-1.6.1/samples/ejb/target/test-reports/orion1x
    [mkdir] Created dir:
/home/yao/local/jakarta-cactus-13-1.6.1/samples/ejb/target/test-reports/orion2x
 
test:
   [cactus]
-----------------------------------------------------------------
   [cactus] Running tests against JBoss 3.2.2
   [cactus]
-----------------------------------------------------------------
   [cactus] Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/cactus/ServletTestCase
   [cactus]     at java.lang.ClassLoader.defineClass0(Native Method)
   [cactus]     at
java.lang.ClassLoader.defineClass(ClassLoader.java:537)
   [cactus]     at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
   [cactus]     at
java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
   [cactus]     at
java.net.URLClassLoader.access$100(URLClassLoader.java:55)
   [cactus]     at
java.net.URLClassLoader$1.run(URLClassLoader.java:194)
   [cactus]     at java.security.AccessController.doPrivileged(Native
Method)
   [cactus]     at
java.net.URLClassLoader.findClass(URLClassLoader.java:187)
   [cactus]     at
java.lang.ClassLoader.loadClass(ClassLoader.java:289)
   [cactus]     at
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
   [cactus]     at
java.lang.ClassLoader.loadClass(ClassLoader.java:235)
   [cactus]     at
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
   [cactus]     at java.lang.Class.forName0(Native Method)
   [cactus]     at java.lang.Class.forName(Class.java:141)
   [cactus]     at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.<init>(JUnitTestRunner.java:204)
   [cactus]     at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.<init>(JUnitTestRunner.java:177)
   [cactus]     at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:519)
 
 
   [cactus] TEST org.apache.cactus.sample.ejb.TestConverterEJB FAILED
   [cactus] Shutdown message has been posted to the server.
   [cactus] Server shutdown may take a while - check logfiles for
completion
 
 
[junitreport] [Fatal Error] :-1:-1: Premature end of file.
[junitreport] The file
/home/yao/local/jakarta-cactus-13-1.6.1/samples/ejb/target/test-reports/jboss3x/TEST-org.apache.cactus.sample.ejb.TestConverterEJB.xml
is not a valid XML document. It is possibly corrupted.
[junitreport] Using Xalan version: Xalan Java 2.4.1
[junitreport] Transform time: 628ms
[junitreport] Using Xalan version: Xalan Java 2.4.1
[junitreport] Transform time: 269ms
[junitreport] Using Xalan version: Xalan Java 2.4.1
[junitreport] Transform time: 161ms
 
BUILD FAILED
/home/yao/local/jakarta-cactus-13-1.6.1/samples/ejb/build.xml:335: At
least one test failed!
 
Total time: 45 seconds
[EMAIL PROTECTED] ejb]$

Thanks,
Stan

--- Stan Y <[EMAIL PROTECTED]> wrote:

> Hi Vincent,
> 
> Thanks for looking at it.  Actually I did use a
> pristine version of cactus.  To double check, I
> removed both the jboss and cactus tar balls and
> installation dirs this morning.  Then I re-downloaded
> cactus and reinstalled jboss and cactus fresh.  I then
> 
> (0) went to
> /home/yao/local/jakarta-cactus-13-1.6.1/samples/ejb,
> and
> (1) changed one line in build.properties
> "cactus.home.jboss3x = /home/yao/local/jboss-3.2.2/",
> and
> (2) did "cp
> ~/local/jboss-3.2.2/server/default/lib/jboss-j2ee.jar
> ../../lib/j2ee-1.3.jar", and then
> (3) did "ant".
> 
> I got the same output.  And yes, I have the same dir
> structure as you said.
> 
> [EMAIL PROTECTED] jakarta-cactus-13-1.6.1]$ pwd
> /home/yao/local/jakarta-cactus-13-1.6.1
> [EMAIL PROTECTED] jakarta-cactus-13-1.6.1]$ ls
> ANNOUNCEMENT.txt  LICENSE.aspectj.html 
> LICENSE.httpunit  LICENSE.servletapi  web
> doc               LICENSE.cactus        LICENSE.log4j 
>    NOTICE.cactus
> lib               LICENSE.httpclient   
> LICENSE.logging   samples
> [EMAIL PROTECTED] jakarta-cactus-13-1.6.1]$ ls samples/
> ejb  jetty  servlet
> [EMAIL PROTECTED] jakarta-cactus-13-1.6.1]$ ls lib/
> aspectjrt-1.1.1.jar   commons-httpclient-2.0.jar 
> j2ee-1.3.jar        servletapi-2.3.jar
> cactus-1.6.1.jar      commons-logging-1.0.3.jar  
> junit-3.8.1.jar
> cactus-ant-1.6.1.jar  httpunit-1.5.4.jar         
> nekohtml-0.7.4.jar
> [EMAIL PROTECTED] jakarta-cactus-13-1.6.1]$ ls web/
> jspRedirector.jsp
> 
> Thanks,
> Stan



                
__________________________________
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.
http://promotions.yahoo.com/new_mail 

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

Reply via email to