Antwort: Problem with my first webapp
are you sure your build.xml is correct, my builds do not output the file contents... Mail von Extern Damien [EMAIL PROTECTED] 03.09.2003 12:44 Bitte antworten an Tomcat Users List An: [EMAIL PROTECTED] Kopie: Thema: Problem with my first webapp Hi, I'm following the instrutions found in : http://jakarta.apache.org/tomcat/tomcat-5.0-doc/appdev/index.html I'm trying to install my first webapp in tomcat but a problem occurs : [EMAIL PROTECTED] tomcat-test]$ ant install Buildfile: build.xml prepare: compile: install: [install] !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN http://www.w3.org/TR/html4/loose.dtd; [install] html lang=fr [install] head [install] titleCentre de Commande de POPFile/title [install] link rel=stylesheet type=text/css href=skins/SimplyBlue.css title=SimplyBlue [...] [install] /body [install] /html BUILD FAILED file:/home/quetzalcoatl/Documents/www/tomcat-test/build.xml:364: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN http://www.w3.org/TR/html4/loose.dtd; Total time: 2 seconds [EMAIL PROTECTED] tomcat-test]$ Here, we can see the index page of popfile (a mail classifier proxy) which is under the port 8080 of my computer. I've changed the file $CATALINA_HOME/conf/server.xml so tomcat uses the port 8081 instead of 8080 : Connector port=8081 maxThreads=150 minSpareThreads=25 maxSpareThreads=75 enableLookups=false redirectPort=8443 acceptCount=100 debug=0 connectionTimeout=2 disableUploadTimeout=true / But 'ant install' always output the same error message. Can somebody help me ? Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Antwort: Problem with my first webapp
Le mer 03/09/2003 à 14:50, [EMAIL PROTECTED] a écrit : are you sure your build.xml is correct, my builds do not output the file contents... I have downloaded an example build.xml, so I think it is correct. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Antwort: Problem with my first webapp
Howdy, Le mer 03/09/2003 à 14:50, [EMAIL PROTECTED] a écrit : are you sure your build.xml is correct, my builds do not output the file contents... I have downloaded an example build.xml, so I think it is correct. That's not always a good assumption ;) Where's the build file from? Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Antwort: Re: Antwort: Problem with my first webapp
and you are sure you have a web application (structure and web.xml)? perhaps you should post some additional information (files of you webapp and build.xml) Mail von Extern Damien [EMAIL PROTECTED] 03.09.2003 15:48 Bitte antworten an Tomcat Users List An: Tomcat Users List [EMAIL PROTECTED] Kopie: Thema: Re: Antwort: Problem with my first webapp Le mer 03/09/2003 à 14:50, [EMAIL PROTECTED] a écrit : are you sure your build.xml is correct, my builds do not output the file contents... I have downloaded an example build.xml, so I think it is correct. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Antwort: Re: Antwort: Problem with my first webapp
Le mer 03/09/2003 à 16:03, [EMAIL PROTECTED] a écrit : and you are sure you have a web application (structure and web.xml)? perhaps you should post some additional information (files of you webapp and build.xml) Here is the structure : [EMAIL PROTECTED] tomcat-test]$ ll -R .: total 40 drwxr-xr-x3 quetzalcoatl quetzalcoatl 4096 sep 3 12:37 build/ -rw-r--r--1 quetzalcoatl quetzalcoatl 260 sep 3 11:54 build.properties -rw-r--r--1 quetzalcoatl quetzalcoatl16016 sep 3 11:50 build.xml drwxr-xr-x2 quetzalcoatl quetzalcoatl 4096 sep 3 11:51 CVS/ drwxr-xr-x3 quetzalcoatl quetzalcoatl 4096 sep 3 11:51 docs/ drwxr-xr-x4 quetzalcoatl quetzalcoatl 4096 sep 3 12:05 src/ drwxr-xr-x4 quetzalcoatl quetzalcoatl 4096 sep 3 11:51 web/ ./build: total 4 drwxr-xr-x4 quetzalcoatl quetzalcoatl 4096 sep 3 12:37 WEB-INF/ ./build/WEB-INF: total 16 drwxr-xr-x3 quetzalcoatl quetzalcoatl 4096 sep 3 12:37 classes/ drwxr-xr-x2 quetzalcoatl quetzalcoatl 4096 sep 3 12:37 lib/ -rw-r--r--1 quetzalcoatl quetzalcoatl 5470 sep 3 12:37 web.xml ./build/WEB-INF/classes: total 8 drwxr-xr-x2 quetzalcoatl quetzalcoatl 4096 sep 3 12:37 mypackage/ -rw-r--r--1 quetzalcoatl quetzalcoatl 1374 sep 3 12:37 semantic.cache ./build/WEB-INF/classes/mypackage: total 4 -rw-r--r--1 quetzalcoatl quetzalcoatl 2349 sep 3 12:37 Hello.class ./build/WEB-INF/lib: total 0 ./CVS: total 12 -rw-r--r--1 quetzalcoatl quetzalcoatl 77 sep 3 11:51 Entries -rw-r--r--1 quetzalcoatl quetzalcoatl 12 sep 3 11:51 Repository -rw-r--r--1 quetzalcoatl quetzalcoatl 64 sep 3 11:51 Root ./docs: total 8 drwxr-xr-x2 quetzalcoatl quetzalcoatl 4096 sep 3 11:51 CVS/ -rw-r--r--1 quetzalcoatl quetzalcoatl1 sep 3 11:50 initial.txt ./docs/CVS: total 12 -rw-r--r--1 quetzalcoatl quetzalcoatl 50 sep 3 11:51 Entries -rw-r--r--1 quetzalcoatl quetzalcoatl 17 sep 3 11:51 Repository -rw-r--r--1 quetzalcoatl quetzalcoatl 64 sep 3 11:51 Root ./src: total 12 drwxr-xr-x2 quetzalcoatl quetzalcoatl 4096 sep 3 12:05 CVS/ drwxr-xr-x3 quetzalcoatl quetzalcoatl 4096 sep 3 12:05 mypackage/ -rw-r--r--1 quetzalcoatl quetzalcoatl 1374 sep 3 12:04 semantic.cache ./src/CVS: total 16 -rw-r--r--1 quetzalcoatl quetzalcoatl2 sep 3 12:05 Entries -rw-r--r--1 quetzalcoatl quetzalcoatl 18 sep 3 12:05 Entries.Log -rw-r--r--1 quetzalcoatl quetzalcoatl 16 sep 3 11:51 Repository -rw-r--r--1 quetzalcoatl quetzalcoatl 64 sep 3 11:51 Root ./src/mypackage: total 12 drwxr-xr-x2 quetzalcoatl quetzalcoatl 4096 sep 3 12:06 CVS/ -rw-r--r--1 quetzalcoatl quetzalcoatl 5166 sep 3 12:04 Hello.java ./src/mypackage/CVS: total 12 -rw-r--r--1 quetzalcoatl quetzalcoatl 45 sep 3 12:06 Entries -rw-r--r--1 quetzalcoatl quetzalcoatl 26 sep 3 12:05 Repository -rw-r--r--1 quetzalcoatl quetzalcoatl 64 sep 3 12:05 Root ./web: total 8 drwxr-xr-x2 quetzalcoatl quetzalcoatl 4096 sep 3 11:51 CVS/ drwxr-xr-x3 quetzalcoatl quetzalcoatl 4096 sep 3 11:51 WEB-INF/ ./web/CVS: total 12 -rw-r--r--1 quetzalcoatl quetzalcoatl 14 sep 3 11:51 Entries -rw-r--r--1 quetzalcoatl quetzalcoatl 16 sep 3 11:51 Repository -rw-r--r--1 quetzalcoatl quetzalcoatl 64 sep 3 11:51 Root ./web/WEB-INF: total 12 drwxr-xr-x2 quetzalcoatl quetzalcoatl 4096 sep 3 11:51 CVS/ -rw-r--r--1 quetzalcoatl quetzalcoatl 5470 sep 3 11:50 web.xml ./web/WEB-INF/CVS: total 12 -rw-r--r--1 quetzalcoatl quetzalcoatl 46 sep 3 11:51 Entries -rw-r--r--1 quetzalcoatl quetzalcoatl 24 sep 3 11:51 Repository -rw-r--r--1 quetzalcoatl quetzalcoatl 64 sep 3 11:51 Root Thanks for your help
RE: Antwort: Problem with my first webapp
Le mer 03/09/2003 à 16:01, Shapira, Yoav a écrit : Howdy, Le mer 03/09/2003 à 14:50, [EMAIL PROTECTED] a écrit : are you sure your build.xml is correct, my builds do not output the file contents... I have downloaded an example build.xml, so I think it is correct. That's not always a good assumption ;) Where's the build file from? I think the file comes from : http://jakarta.apache.org/tomcat/tomcat-5.0-doc/appdev/build.xml.txt Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]