Re: tomcat5.0 build problem
When I tried, telnet cvs.apache.org 2401, I got 'connect failed' message. I assume I already have everything on my PC, can I turn off the 'cvs' feature, and compile all local files? I understand there is need for version control, but for a starter, is there a simple way out? Thanks, Steve Tim Funk [EMAIL PROTECTED] wrote:There is a good chance CVS is blocked by your firewall. It was for me. You can test this by: telnet cvs.apache.org 2401 If your connection times out - then your blocked by your firewall. -Tim Steve Guo wrote: Actually I am using Ant 1.5.1.Although my company has a firewall, we do not use a proxy server (?), because this is the setup in IE when accessing the Internet from office. In IE5.5, Tools | Internet Options | Connections | Lan Settings, proxy server is unchecked, 'Use automatic configuration script' is checked. But when using Yahoo Messenger or MSN messenger from office, I have to set the following: Use Proxies (checked) Enable HTTP proxy (checked) HTTP Proxy server name: FIREWALL server port: 80 --- So based on above, I make the following build.properties file: proxy.host=FIREWALL proxy.port=80 proxy.use=on base.path=/usr/local Still the same error message. I am really confused. Following Filip Hanik, I downloaded cvs, it is a challenge to set it up too. Actually I have been able to use the binary version (4.1.18) fine, but I thought I would try my luck building from source. Thanks all, steve Bill Barker wrote:Since you are behind a firewall, make sure that you have set 'proxy.host', 'proxy.port', and 'proxy.use' in your build.properties file. They are commented out in the build.properties.default file. At a guess, the wall you are hitting first is due to using a version of Jakarta-Ant 1.5. You need to use at least 1.5 to build TC 5. Filip Hanik wrote in message news:[EMAIL PROTECTED] try this, cvs checkout jakarta-tomcat-5 cd jakarta-tomcat-5 ant download ant checkout ant dist Filip -Original Message- From: Steve Guo [mailto:[EMAIL PROTECTED] Sent: Friday, February 21, 2003 1:54 PM To: tomcatuser Subject: tomcat5.0 build problem Hi, this is the first time I tried to build tomcat from source, ran into the following problems. If you can provide your comment or point me to resource, I would appreciate it. Thanks. Steve 1. I followed the instructions in BUILDING.TXT, almost exactly - the Xerces2.2.1 I am using does not have xalan.jar, so I used the same file from Xalan2.4.1. 2. I got the following error after running ant: Buildfile: build.xml check.source: get.source: check.out: BUILD FAILED Build.xml:67: the task doesn't support the 'compression' attribute. 3. I am running behind corporate firewall. - Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, and more - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, and more - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, and more
Re: tomcat5.0 build problem
There is a good chance CVS is blocked by your firewall. It was for me. You can test this by: telnet cvs.apache.org 2401 If your connection times out - then your blocked by your firewall. -Tim Steve Guo wrote: Actually I am using Ant 1.5.1.Although my company has a firewall, we do not use a proxy server (?), because this is the setup in IE when accessing the Internet from office. In IE5.5, Tools | Internet Options | Connections | Lan Settings, proxy server is unchecked, 'Use automatic configuration script' is checked. But when using Yahoo Messenger or MSN messenger from office, I have to set the following: Use Proxies (checked) Enable HTTP proxy (checked) HTTP Proxy server name: FIREWALL server port: 80 --- So based on above, I make the following build.properties file: proxy.host=FIREWALL proxy.port=80 proxy.use=on base.path=/usr/local Still the same error message. I am really confused. Following Filip Hanik, I downloaded cvs, it is a challenge to set it up too. Actually I have been able to use the binary version (4.1.18) fine, but I thought I would try my luck building from source. Thanks all, steve Bill Barker [EMAIL PROTECTED] wrote:Since you are behind a firewall, make sure that you have set 'proxy.host', 'proxy.port', and 'proxy.use' in your build.properties file. They are commented out in the build.properties.default file. At a guess, the wall you are hitting first is due to using a version of Jakarta-Ant 1.5. You need to use at least 1.5 to build TC 5. Filip Hanik wrote in message news:[EMAIL PROTECTED] try this, cvs checkout jakarta-tomcat-5 cd jakarta-tomcat-5 ant download ant checkout ant dist Filip -Original Message- From: Steve Guo [mailto:[EMAIL PROTECTED] Sent: Friday, February 21, 2003 1:54 PM To: tomcatuser Subject: tomcat5.0 build problem Hi, this is the first time I tried to build tomcat from source, ran into the following problems. If you can provide your comment or point me to resource, I would appreciate it. Thanks. Steve 1. I followed the instructions in BUILDING.TXT, almost exactly - the Xerces2.2.1 I am using does not have xalan.jar, so I used the same file from Xalan2.4.1. 2. I got the following error after running ant: Buildfile: build.xml check.source: get.source: check.out: BUILD FAILED Build.xml:67: the task doesn't support the 'compression' attribute. 3. I am running behind corporate firewall. - Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, and more - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, and more - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat5.0 build problem
Hmm I've got Ant-1.5.2beta1 installed on Win2k and I can't get past here... build-main: [javac] Compiling 1 source file to D:\myclasses\Repository\Jakarta\tomcat5_2 003-02-21\jakarta-tomcat-5\build\server\webapps\admin\WEB-INF\classes [javac] This version of java does not support the classic compiler; upgradin g to modern [mkdir] Created dir: D:\myclasses\Repository\Jakarta\tomcat5_2003-02-21\jaka rta-tomcat-5\build\server\webapps\admin\WEB-INF\src\admin [mkdir] Created dir: D:\myclasses\Repository\Jakarta\tomcat5_2003-02-21\jaka rta-tomcat-5\build\webapps\ROOT\WEB-INF\src [mkdir] Created dir: D:\myclasses\Repository\Jakarta\tomcat5_2003-02-21\jaka rta-tomcat-5\build\webapps\ROOT\WEB-INF\classes [mkdir] Created dir: D:\myclasses\Repository\Jakarta\tomcat5_2003-02-21\jaka rta-tomcat-5\build\webapps\jsp-examples\WEB-INF\src [jasper2] Error in class org.apache.jasper.JspC BUILD FAILED file:D:/myclasses/Repository/Jakarta/tomcat5_2003-02-21/jakarta-tomcat-5/build.x ml:265: org.apache.jasper.JasperException: Error compiling \jsp2\tagfiles\hello. jsp Jake At 08:15 PM 2/21/2003 -0800, you wrote: Since you are behind a firewall, make sure that you have set 'proxy.host', 'proxy.port', and 'proxy.use' in your build.properties file. They are commented out in the build.properties.default file. At a guess, the wall you are hitting first is due to using a version of Jakarta-Ant 1.5. You need to use at least 1.5 to build TC 5. Filip Hanik [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] try this, cvs checkout jakarta-tomcat-5 cd jakarta-tomcat-5 ant download ant checkout ant dist Filip -Original Message- From: Steve Guo [mailto:[EMAIL PROTECTED] Sent: Friday, February 21, 2003 1:54 PM To: tomcatuser Subject: tomcat5.0 build problem Hi, this is the first time I tried to build tomcat from source, ran into the following problems. If you can provide your comment or point me to resource, I would appreciate it. Thanks. Steve 1. I followed the instructions in BUILDING.TXT, almost exactly - the Xerces2.2.1 I am using does not have xalan.jar, so I used the same file from Xalan2.4.1. 2. I got the following error after running ant: Buildfile: build.xml check.source: get.source: check.out: BUILD FAILED Build.xml:67: the cvs task doesn't support the 'compression' attribute. 3. I am running behind corporate firewall. - Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, and more - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat5.0 build problem
This a known issue due to pre-compiling all the JSP's that the developers are working through. For now - make the task optional by added an if condition to the target definition, for example: target name=build-webapps-precompile depends=init description=Builds the admin webapp if=precompile_webapps Then this will skip this task UNLESS you pass -Dprecompile_webapps=true on the ant command line. For example: ant -Dprecompile_webapps=true clean deploy OR You can just ignore this error because it is the last step of the build and tomcat5 should start up fine. -Tim Jacob Kjome wrote: Hmm I've got Ant-1.5.2beta1 installed on Win2k and I can't get past here... build-main: [javac] Compiling 1 source file to D:\myclasses\Repository\Jakarta\tomcat5_2 003-02-21\jakarta-tomcat-5\build\server\webapps\admin\WEB-INF\classes [javac] This version of java does not support the classic compiler; upgradin g to modern [mkdir] Created dir: D:\myclasses\Repository\Jakarta\tomcat5_2003-02-21\jaka rta-tomcat-5\build\server\webapps\admin\WEB-INF\src\admin [mkdir] Created dir: D:\myclasses\Repository\Jakarta\tomcat5_2003-02-21\jaka rta-tomcat-5\build\webapps\ROOT\WEB-INF\src [mkdir] Created dir: D:\myclasses\Repository\Jakarta\tomcat5_2003-02-21\jaka rta-tomcat-5\build\webapps\ROOT\WEB-INF\classes [mkdir] Created dir: D:\myclasses\Repository\Jakarta\tomcat5_2003-02-21\jaka rta-tomcat-5\build\webapps\jsp-examples\WEB-INF\src [jasper2] Error in class org.apache.jasper.JspC BUILD FAILED file:D:/myclasses/Repository/Jakarta/tomcat5_2003-02-21/jakarta-tomcat-5/build.x ml:265: org.apache.jasper.JasperException: Error compiling \jsp2\tagfiles\hello. jsp Jake At 08:15 PM 2/21/2003 -0800, you wrote: Since you are behind a firewall, make sure that you have set 'proxy.host', 'proxy.port', and 'proxy.use' in your build.properties file. They are commented out in the build.properties.default file. At a guess, the wall you are hitting first is due to using a version of Jakarta-Ant 1.5. You need to use at least 1.5 to build TC 5. Filip Hanik [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] try this, cvs checkout jakarta-tomcat-5 cd jakarta-tomcat-5 ant download ant checkout ant dist Filip -Original Message- From: Steve Guo [mailto:[EMAIL PROTECTED] Sent: Friday, February 21, 2003 1:54 PM To: tomcatuser Subject: tomcat5.0 build problem Hi, this is the first time I tried to build tomcat from source, ran into the following problems. If you can provide your comment or point me to resource, I would appreciate it. Thanks. Steve 1. I followed the instructions in BUILDING.TXT, almost exactly - the Xerces2.2.1 I am using does not have xalan.jar, so I used the same file from Xalan2.4.1. 2. I got the following error after running ant: Buildfile: build.xml check.source: get.source: check.out: BUILD FAILED Build.xml:67: the cvs task doesn't support the 'compression' attribute. 3. I am running behind corporate firewall. - Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, and more - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: tomcat5.0 build problem
try this, cvs checkout jakarta-tomcat-5 cd jakarta-tomcat-5 ant download ant checkout ant dist Filip -Original Message- From: Steve Guo [mailto:[EMAIL PROTECTED] Sent: Friday, February 21, 2003 1:54 PM To: tomcatuser Subject: tomcat5.0 build problem Hi, this is the first time I tried to build tomcat from source, ran into the following problems. If you can provide your comment or point me to resource, I would appreciate it. Thanks. Steve 1. I followed the instructions in BUILDING.TXT, almost exactly - the Xerces2.2.1 I am using does not have xalan.jar, so I used the same file from Xalan2.4.1. 2. I got the following error after running ant: Buildfile: build.xml check.source: get.source: check.out: BUILD FAILED Build.xml:67: the cvs task doesn't support the 'compression' attribute. 3. I am running behind corporate firewall. - Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, and more - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat5.0 build problem
Since you are behind a firewall, make sure that you have set 'proxy.host', 'proxy.port', and 'proxy.use' in your build.properties file. They are commented out in the build.properties.default file. At a guess, the wall you are hitting first is due to using a version of Jakarta-Ant 1.5. You need to use at least 1.5 to build TC 5. Filip Hanik [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] try this, cvs checkout jakarta-tomcat-5 cd jakarta-tomcat-5 ant download ant checkout ant dist Filip -Original Message- From: Steve Guo [mailto:[EMAIL PROTECTED] Sent: Friday, February 21, 2003 1:54 PM To: tomcatuser Subject: tomcat5.0 build problem Hi, this is the first time I tried to build tomcat from source, ran into the following problems. If you can provide your comment or point me to resource, I would appreciate it. Thanks. Steve 1. I followed the instructions in BUILDING.TXT, almost exactly - the Xerces2.2.1 I am using does not have xalan.jar, so I used the same file from Xalan2.4.1. 2. I got the following error after running ant: Buildfile: build.xml check.source: get.source: check.out: BUILD FAILED Build.xml:67: the cvs task doesn't support the 'compression' attribute. 3. I am running behind corporate firewall. - Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, and more - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat5.0 build problem
Actually I am using Ant 1.5.1.Although my company has a firewall, we do not use a proxy server (?), because this is the setup in IE when accessing the Internet from office. In IE5.5, Tools | Internet Options | Connections | Lan Settings, proxy server is unchecked, 'Use automatic configuration script' is checked. But when using Yahoo Messenger or MSN messenger from office, I have to set the following: Use Proxies (checked) Enable HTTP proxy (checked) HTTP Proxy server name: FIREWALL server port: 80 --- So based on above, I make the following build.properties file: proxy.host=FIREWALL proxy.port=80 proxy.use=on base.path=/usr/local Still the same error message. I am really confused. Following Filip Hanik, I downloaded cvs, it is a challenge to set it up too. Actually I have been able to use the binary version (4.1.18) fine, but I thought I would try my luck building from source. Thanks all, steve Bill Barker [EMAIL PROTECTED] wrote:Since you are behind a firewall, make sure that you have set 'proxy.host', 'proxy.port', and 'proxy.use' in your build.properties file. They are commented out in the build.properties.default file. At a guess, the wall you are hitting first is due to using a version of Jakarta-Ant 1.5. You need to use at least 1.5 to build TC 5. Filip Hanik wrote in message news:[EMAIL PROTECTED] try this, cvs checkout jakarta-tomcat-5 cd jakarta-tomcat-5 ant download ant checkout ant dist Filip -Original Message- From: Steve Guo [mailto:[EMAIL PROTECTED] Sent: Friday, February 21, 2003 1:54 PM To: tomcatuser Subject: tomcat5.0 build problem Hi, this is the first time I tried to build tomcat from source, ran into the following problems. If you can provide your comment or point me to resource, I would appreciate it. Thanks. Steve 1. I followed the instructions in BUILDING.TXT, almost exactly - the Xerces2.2.1 I am using does not have xalan.jar, so I used the same file from Xalan2.4.1. 2. I got the following error after running ant: Buildfile: build.xml check.source: get.source: check.out: BUILD FAILED Build.xml:67: the task doesn't support the 'compression' attribute. 3. I am running behind corporate firewall. - Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, and more - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, and more