tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jakarta Tomcat Newsgroup (@Basebeans.com) <jakarta-...@basebeans.com>
Subject Re: building Tomcat
Date Wed, 08 May 2002 06:55:02 GMT
Subject: Re: building Tomcat
From: "Hyunjin Kim" <hyunjin@itline.biz>
 ===
When I try to build jakarta-tomcat-4.0.3 from linux, I get this error....

bash: /usr/local/jakarta-ant-1.4/bin/ant: bad interpreter: No such file or
directory

What directory?? what file??? I need more detail!!!

Can you help me with this, Carl??

Good luck!

"Carl Parrish" <cparrish@icegallery.com> wrote in message
news:mailman.1020800101.22673.jakarta_tomcat@basebeans.com...
> Okay I found the nightly for jakarta-servletapi-4
> and now I have a *lot* less errors but I'm still failing the test. Any
> ideas? I have noticed that it seems to be looking for the following
> directory ../webapps/build/examples. Which doesn't exist however I do
> have a webapps/examples dir should I have moved this somewhere?
>
> Carl P.
> ===
>
> Buildfile: build.xml
>
> test:
>      [echo] Target: Catalina - Test ...
>
> flags:
>
> flags.display:
>      [echo] --- Build environment for Catalina ---
>      [echo] If ${property_name} is displayed, then the property is not
> set)
>      [echo] --- Build options ---
>      [echo] full.dist=${full.dist}
>      [echo] build.sysclasspath=${build.sysclasspath}
>      [echo] compile.debug=on
>      [echo] compile.deprecation=off
>      [echo] compile.optimize=on
>      [echo] --- Ant Flags ---
>      [echo] <style> task available (required)=true
>      [echo] --- JDK ---
>      [echo] jdk.1.2.present=true
>      [echo] jdk.1.3.present=true
>      [echo] jdk.1.4.present=${jdk.1.4.present}
>      [echo] --- Required Libraries ---
>      [echo] jaxp.present=true
>      [echo] jndi.present=true
>      [echo] regexp.present=true
>      [echo] servlet.present=true
>      [echo] --- Optional Libraries ---
>      [echo] javamail.present=${javamail.present}
>      [echo] jsse.present=${jsse.present}
>      [echo] jta.present=${jta.present}
>      [echo] junit.present=true
>      [echo] ldap.present=true
>      [echo] tyrex.present=${tyrex.present}
>      [echo] --- Required JARs ---
>      [echo] jndi.jar.present(except JDK 1.3+)=true
>      [echo] regexp.jar.present=true
>      [echo] servlet.jar.present=true
>      [echo] xerces.jar.present(except JDK 1.4+)=true
>      [echo] --- Optional JARs ---
>      [echo] tomcat-ajp.jar.present=true
>      [echo] javamail.jar.present=${javamail.jar.present}
>      [echo] jdbc20ext.jar.present=${jdbc20ext.jar.present}
>      [echo] jta.jar.present=${jta.jar.present}
>      [echo] junit.jar.present=true
>      [echo] ldap.jar.present=true
>      [echo] tomcat-util.jar.present=true
>      [echo] tyrex.jar.present=${tyrex.jar.present}
>      [echo] --- Conditional compilation flags ---
>      [echo] compile.javamail=${compile.javamail}
>      [echo] compile.jmx=true
>      [echo] compile.jndi=true
>      [echo] compile.jsse=${compile.jsse}
>      [echo] compile.jta=${compile.jta}
>      [echo] compile.junit=true
>      [echo] compile.ldap=true
>      [echo] compile.tyrex=${compile.tyrex}
>      [echo] --- Distribution flags ---
>      [echo] copy.tomcat-ajp.jar=true
>      [echo] copy.jdbc20ext.jar=${copy.jdbc20ext.jar}
>      [echo] copy.jndi.jar=${copy.jndi.jar}
>      [echo] copy.javamail.jar=${copy.javamail.jar}
>      [echo] copy.jta.jar=${copy.jta.jar}
>      [echo] copy.ldap.jar=${copy.ldap.jar}
>      [echo] copy.tyrex.jar=${copy.tyrex.jar}
>      [echo] copy.xerces.jar=true
>
> build-prepare:
>
> copy-activation.jar:
>
> copy-tomcat-ajp.jar:
>
> copy-jdbc20ext.jar:
>
> copy-jndi.jar:
>
> copy-jsse.jar:
>
> copy-jta.jar:
>
> copy-ldap.jar:
>
> copy-tomcat-util.jar:
>
> copy-tyrex.jar:
>
> copy-xerces.jar:
>
> build-static:
>
> build-main:
>     [javac] Compiling 4 source files to
> /usr/opt/jakarta-tomcat-4.0.3-src/catalina/build/server/classes
>
> build-tests:
>
> test-dir-context:
>      [echo] Running FileDirContext tests
>      [java] .E.E.E.E.E.E.E.E
>      [java] Time: 0.106
>      [java] There were 8 errors:
>      [java] 1)
>
testGetAttributesWebInf(org.apache.naming.resources.FileDirContextTestCase)
>      [java] java.lang.IllegalArgumentException: Document base
> ../webapps/build/examples does not exist or is not a readable directory
>      [java] at
>
org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:18
7)
>      [java] at
>
org.apache.naming.resources.FileDirContextTestCase.setUp(FileDirContextTestC
ase.java:117)
>      [java] 2)
>
testGetAttributesWebXml(org.apache.naming.resources.FileDirContextTestCase)
>      [java] java.lang.IllegalArgumentException: Document base
> ../webapps/build/examples does not exist or is not a readable directory
>      [java] at
>
org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:18
7)
>      [java] at
>
org.apache.naming.resources.FileDirContextTestCase.setUp(FileDirContextTestC
ase.java:117)
>      [java] 3)
>
testListBindingsTopLevel(org.apache.naming.resources.FileDirContextTestCase)
>      [java] java.lang.IllegalArgumentException: Document base
> ../webapps/build/examples does not exist or is not a readable directory
>      [java] at
>
org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:18
7)
>      [java] at
>
org.apache.naming.resources.FileDirContextTestCase.setUp(FileDirContextTestC
ase.java:117)
>      [java] 4)
>
testListBindingsWebInfDirect(org.apache.naming.resources.FileDirContextTestC
ase)
>      [java] java.lang.IllegalArgumentException: Document base
> ../webapps/build/examples does not exist or is not a readable directory
>      [java] at
>
org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:18
7)
>      [java] at
>
org.apache.naming.resources.FileDirContextTestCase.setUp(FileDirContextTestC
ase.java:117)
>      [java] 5)
>
testListBindingsWebInfIndirect(org.apache.naming.resources.FileDirContextTes
tCase)
>      [java] java.lang.IllegalArgumentException: Document base
> ../webapps/build/examples does not exist or is not a readable directory
>      [java] at
>
org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:18
7)
>      [java] at
>
org.apache.naming.resources.FileDirContextTestCase.setUp(FileDirContextTestC
ase.java:117)
>      [java] 6)
> testListTopLevel(org.apache.naming.resources.FileDirContextTestCase)
>      [java] java.lang.IllegalArgumentException: Document base
> ../webapps/build/examples does not exist or is not a readable directory
>      [java] at
>
org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:18
7)
>      [java] at
>
org.apache.naming.resources.FileDirContextTestCase.setUp(FileDirContextTestC
ase.java:117)
>      [java] 7)
> testListWebInfDirect(org.apache.naming.resources.FileDirContextTestCase)
>      [java] java.lang.IllegalArgumentException: Document base
> ../webapps/build/examples does not exist or is not a readable directory
>      [java] at
>
org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:18
7)
>      [java] at
>
org.apache.naming.resources.FileDirContextTestCase.setUp(FileDirContextTestC
ase.java:117)
>      [java] 8)
> testListWebInfIndirect(org.apache.naming.resources.FileDirContextTestCase)
>      [java] java.lang.IllegalArgumentException: Document base
> ../webapps/build/examples does not exist or is not a readable directory
>      [java] at
>
org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:18
7)
>      [java] at
>
org.apache.naming.resources.FileDirContextTestCase.setUp(FileDirContextTestC
ase.java:117)
>      [java]
>      [java] FAILURES!!!
>      [java] Tests run: 8,  Failures: 0,  Errors: 8
>      [java]
>
> BUILD FAILED
>
> /usr/opt/jakarta-tomcat-4.0.3-src/catalina/build.xml:606: Java returned:
> -1
>
> Total time: 6 seconds
>
>
> On Tue, 2002-05-07 at 10:22, Carl Parrish wrote:
> > I'm trying to compile the tomcat. When I get to ant test I get the
> > error below. So I'm assuming that I either have a problem with javax
> > (only I don't see a jar file with that name) or with jmx. Also a potinal
> > problem is that I got the jakarta-servletapi-4 from the 3.3.1 release (I
> > couldn't find the source for it with the 4.0 release.). Can anyone
> > advise me here?
> >
> > ===
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:tomcat-user-help@jakarta.apache.org>
>



--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message