I hope the following information is helpful for inditifying the
problem.
[EMAIL PROTECTED] ejb]$ jar -ft target/cactus-sample-ejb.war
META-INF/
META-INF/MANIFEST.MF
WEB-INF/
WEB-INF/web.xml
[EMAIL PROTECTED] ejb]$ jar -ft target/cactus-sample-ejb.jar
META-INF/
META-INF/MANIFEST.MF
org/
org/apache/
org/apache/cactus/
org/apache/cactus/sample/
org/apache/cactus/sample/ejb/
org/apache/cactus/sample/ejb/Converter.class
org/apache/cactus/sample/ejb/ConverterEJB.class
org/apache/cactus/sample/ejb/ConverterHome.class
META-INF/ejb-jar.xml
[EMAIL PROTECTED] ejb]$ jar -ft target/cactus-sample-ejb.ear
META-INF/
META-INF/MANIFEST.MF
cactus-sample-ejb.jar
META-INF/application.xml
[EMAIL PROTECTED] ejb]$ more src/webapp/WEB-INF/web.xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
</web-app>
[EMAIL PROTECTED] ejb]$ more src/webapp/WEB-INF/cactus-web.xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<!-- Put Cactus specific definitions here. Note that by default
the <cactifywar> Ant task automatically adds Servlet, Filter
and JSP redirector definitions and mappings. You only need
to edit this file if you want to change these defaults or
add other definitions required for Cactus testing. -->
</web-app>
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
>
>
> --- Vincent Massol <[EMAIL PROTECTED]> wrote:
>
> > Stan,
> >
> > It seems to me that you're not running a full
> > pristine version of the cactus
> > distribution. You need to unzip the distribution zip
> > and only edit the
> > build.properties to tell cactus to use jboss.
> >
> > If you do this, you should have a directory
> > structure similar to:
> >
> > jakarta-cactus-13-1.6.1
> > |_ lib/
> > |_ samples/ejb
> > |_ web/
> > [...]
> >
> > You must keep this structure or the default
> > build.xml build script will not
> > find the lib directory nor the JSP redirector.
> >
> > Thanks
> > -Vincent
> >
> >
> > > -----Original Message-----
> > > From: Stan Y [mailto:[EMAIL PROTECTED]
> > > Sent: jeudi 12 ao�t 2004 23:57
> > > To: Cactus Users List
> > > Subject: RE: Could not copy the JSP redirector
> > (Resource
> > > '/org/apache/cactus/server/jspRedirector.jsp' not
> > found)
> > >
> > > Hi Vincent,
> > >
> > > Thank you very much for your time and kind help!
> > I am
> > > using jboss-3.2.2 and
> > > jakarta-cactus-13-1.6.1/samples/ejb. My config in
> > > build.properties is as following:
> > >
> > > #cactus.home.orion1x = c:/Apps/orion-1.6.0
> > > #cactus.home.orion2x = c:/Apps/orion-2.0.2
> > > cactus.home.jboss3x = /home/yao/local/jboss-3.2.2/
> > >
> > > It once worked yesterday, but then ran into this
> > > problem. I might have done something silly.
> > > My console output (with pristine version of both
> > jboss
> > > and cactus, and copying jboss-j2ee.jar) is like
> > this:
> > >
> > > [EMAIL PROTECTED] ejb]$ cp
> > >
> >
> ~/local/jboss-3.2.2/server/default/lib/jboss-j2ee.jar
> > > ../../lib/j2ee-1.3.jar
> > > [EMAIL PROTECTED] ejb]$ ant test
> > > Buildfile: build.xml
> > >
> > > init:
> > >
> > > 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-
>
=== message truncated ===
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]