Re: Tomcat Install from Source File.zip is bad
More info on this: The ant command that downloads the file that can't be unzipped is antcall target=downloadzip param name=sourcefile value=${junit.loc}/ param name=destfile value=${junit.jar}/ param name=destdir value=${base.path}/ /antcall There's no value defined for junit.loc anywhere in the script, so I'm not sure how the location of the downloaded file is specified. This is the case with all the files downloaded in the build script, so I'm sure it's just my ignorance of how the ant script gets the files form CVS. Can someone please enlighten me as to how I can determine the source of this file that's failing to be unzipped, and what might be causing that? -Mark Mark Leone wrote: I'm trying to install Tomcat 5.5.9 from the source distribution on Win XP. The build fails because the following file can't be expanded \usr\share\java\file.zip When I try to unzip it manually I get an error that it's not a valid archive file. Anyone know where I can get a proper copy of this file? BTW I'm using ant 1.6.5. -Mark - 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: Tomcat Install from Source File.zip is bad
I believe the problem is that the mirror the ant script defaults to does not have all the correct files for some reason. This is just my assumption. I solved this problem by changing the Sourceforge location in jakarta-tomcat-5.5.9-src/Jakarta-tomcat-5/build.properties.default Look for the section: # - Sourceforge files base location - base-sf.loc=http://unc.dl.sourceforge.net/sourceforge We changed to use the EasyNews mirror: base-sf.loc=http://easynews.dl.sourceforge.net/sourceforge Good luck. Jeff Spors Winona State University -Original Message- From: Mark Leone [mailto:[EMAIL PROTECTED] Sent: Friday, August 05, 2005 10:19 AM To: Tomcat Users List Subject: Re: Tomcat Install from Source File.zip is bad More info on this: The ant command that downloads the file that can't be unzipped is antcall target=downloadzip param name=sourcefile value=${junit.loc}/ param name=destfile value=${junit.jar}/ param name=destdir value=${base.path}/ /antcall There's no value defined for junit.loc anywhere in the script, so I'm not sure how the location of the downloaded file is specified. This is the case with all the files downloaded in the build script, so I'm sure it's just my ignorance of how the ant script gets the files form CVS. Can someone please enlighten me as to how I can determine the source of this file that's failing to be unzipped, and what might be causing that? -Mark Mark Leone wrote: I'm trying to install Tomcat 5.5.9 from the source distribution on Win XP. The build fails because the following file can't be expanded \usr\share\java\file.zip When I try to unzip it manually I get an error that it's not a valid archive file. Anyone know where I can get a proper copy of this file? BTW I'm using ant 1.6.5. -Mark - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat Install from Source File.zip is bad
Okay, I faked it out by getting my own copy of JUnit and putting it in the \usr\java\share directory. But now it's choking on jaxen, saying the file is not in gzip format. I downloaded a copy of jaxen and placed it in teh directory, but this time it didn't work. Am I missing something here, or is it just hit or miss whether the files in the cvs repository are actually what the ant script is expecting? -Mark Mark Leone wrote: More info on this: The ant command that downloads the file that can't be unzipped is antcall target=downloadzip param name=sourcefile value=${junit.loc}/ param name=destfile value=${junit.jar}/ param name=destdir value=${base.path}/ /antcall There's no value defined for junit.loc anywhere in the script, so I'm not sure how the location of the downloaded file is specified. This is the case with all the files downloaded in the build script, so I'm sure it's just my ignorance of how the ant script gets the files form CVS. Can someone please enlighten me as to how I can determine the source of this file that's failing to be unzipped, and what might be causing that? -Mark Mark Leone wrote: I'm trying to install Tomcat 5.5.9 from the source distribution on Win XP. The build fails because the following file can't be expanded \usr\share\java\file.zip When I try to unzip it manually I get an error that it's not a valid archive file. Anyone know where I can get a proper copy of this file? BTW I'm using ant 1.6.5. -Mark - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat Install from Source File.zip is bad
Thanks, that solved it. -Mark Spors, Jeffrey R wrote: I believe the problem is that the mirror the ant script defaults to does not have all the correct files for some reason. This is just my assumption. I solved this problem by changing the Sourceforge location in jakarta-tomcat-5.5.9-src/Jakarta-tomcat-5/build.properties.default Look for the section: # - Sourceforge files base location - base-sf.loc=http://unc.dl.sourceforge.net/sourceforge We changed to use the EasyNews mirror: base-sf.loc=http://easynews.dl.sourceforge.net/sourceforge Good luck. Jeff Spors Winona State University -Original Message- From: Mark Leone [mailto:[EMAIL PROTECTED] Sent: Friday, August 05, 2005 10:19 AM To: Tomcat Users List Subject: Re: Tomcat Install from Source File.zip is bad More info on this: The ant command that downloads the file that can't be unzipped is antcall target=downloadzip param name=sourcefile value=${junit.loc}/ param name=destfile value=${junit.jar}/ param name=destdir value=${base.path}/ /antcall There's no value defined for junit.loc anywhere in the script, so I'm not sure how the location of the downloaded file is specified. This is the case with all the files downloaded in the build script, so I'm sure it's just my ignorance of how the ant script gets the files form CVS. Can someone please enlighten me as to how I can determine the source of this file that's failing to be unzipped, and what might be causing that? -Mark Mark Leone wrote: I'm trying to install Tomcat 5.5.9 from the source distribution on Win XP. The build fails because the following file can't be expanded \usr\share\java\file.zip When I try to unzip it manually I get an error that it's not a valid archive file. Anyone know where I can get a proper copy of this file? BTW I'm using ant 1.6.5. -Mark - 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] - 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: Tomcat install errors
I'm iafraind I don't understand. Where should the line be? I've done the following mkdir dir=${tomcat-dbcp.home}/src/java/org/apache/tomcat/dbcp / move todir=${tomcat-dbcp.home}/src/java/org/apache/tomcat/dbcp fileset dir=${tomcat-dbcp.home}/src/java/org/apache/commons/ fileset dir=${tomcat-dbcp.home}/src/java/org/apache/commons/ include name=**/*.java / /fileset /move But this is the result: BUILD FAILED /home/tomcat/build.xml:49: The following error occurred while executing this line: /home/tomcat/jakarta-tomcat-5/build.xml:1901: The following error occurred while executing this line: /home/tomcat/jakarta-tomcat-5/build.xml:670: The following error occurred while executing this line: /home/tomcat/jakarta-tomcat-5/build.xml:682: The following error occurred while executing this line: /home/tomcat/jakarta-tomcat-5/build.xml:718: Cannot replace directory /usr/share/java/tomcat-deps/src/java/org/apache/tomcat/dbcp with directory /usr/share/java/tomcat-deps/src/java/org/apache/commons Total time: 8 seconds [EMAIL PROTECTED]:/home/tomcat# On 5/8/05, Kent R. Spillner [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, FL- I just encountered the same problem building tomcat that you reported on tomcat-user@ last week. In my case, I'm trying to install tomcat 5.5.9 on Mac OS X 10.4, using darwinports. Personally, I think removing both the mkdir move tasks is risky; tomcat-dbcp obviously wants the commons source code to be relocated to an org.apache.tomcat.dbcp subpackage. I would be worried that while this might allow tomcat to build, it will cause breakage during normal use. Instead, add an explicit include to the fileset inside the problematic move task, i.e.: fileset dir=${tomcat-dbcp.home}/src/java/org/ apache/commons/ include name=**/*.java / /fileset HTH, Kent socrates:~ sl4mmy$ uname -a Darwin socrates.local 8.0.0 Darwin Kernel Version 8.0.0: Sat Mar 26 14:15:22 PST 2005; root:xnu-792.obj~1/RELEASE_PPC Power Macintosh powerpc socrates:~ sl4mmy$ java -version java version 1.5.0_02 Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_02-56) Java HotSpot(TM) Client VM (build 1.5.0_02-36, mixed mode, sharing) socrates:~ sl4mmy$ ant -version Apache Ant version 1.6.3 compiled on April 28 2005 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (Darwin) iD8DBQFCfn/R2DzcNcFR0iwRAk01AJ9S+f02D10AVeAdB6dCox69ACj+RACgjJhr gCS3ihcRGhEXhDaZ47dvoBw= =/WEP -END PGP SIGNATURE-
Re: Tomcat install errors
Attempting to put the include inside the move element, one has the following error: BUILD FAILED /home/tomcat/build.xml:49: The following error occurred while executing this line: /home/tomcat/jakarta-tomcat-5/build.xml:1896: The following error occurred while executing this line: /home/tomcat/jakarta-tomcat-5/build.xml:670: The following error occurred while executing this line: /home/tomcat/jakarta-tomcat-5/build.xml:682: The following error occurred while executing this line: /home/tomcat/jakarta-tomcat-5/build.xml:718: The move type doesn't support the nested include element. On 5/8/05, FL [EMAIL PROTECTED] wrote: I'm iafraind I don't understand. Where should the line be? I've done the following mkdir dir=${tomcat-dbcp.home}/src/java/org/apache/tomcat/dbcp / move todir=${tomcat-dbcp.home}/src/java/org/apache/tomcat/dbcp fileset dir=${tomcat-dbcp.home}/src/java/org/apache/commons/ fileset dir=${tomcat-dbcp.home}/src/java/org/apache/commons/ include name=**/*.java / /fileset /move But this is the result: BUILD FAILED /home/tomcat/build.xml:49: The following error occurred while executing this line: /home/tomcat/jakarta-tomcat-5/build.xml:1901: The following error occurred while executing this line: /home/tomcat/jakarta-tomcat-5/build.xml:670: The following error occurred while executing this line: /home/tomcat/jakarta-tomcat-5/build.xml:682: The following error occurred while executing this line: /home/tomcat/jakarta-tomcat-5/build.xml:718: Cannot replace directory /usr/share/java/tomcat-deps/src/java/org/apache/tomcat/dbcp with directory /usr/share/java/tomcat-deps/src/java/org/apache/commons Total time: 8 seconds [EMAIL PROTECTED]:/home/tomcat# On 5/8/05, Kent R. Spillner [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, FL- I just encountered the same problem building tomcat that you reported on tomcat-user@ last week. In my case, I'm trying to install tomcat 5.5.9 on Mac OS X 10.4, using darwinports. Personally, I think removing both the mkdir move tasks is risky; tomcat-dbcp obviously wants the commons source code to be relocated to an org.apache.tomcat.dbcp subpackage. I would be worried that while this might allow tomcat to build, it will cause breakage during normal use. Instead, add an explicit include to the fileset inside the problematic move task, i.e.: fileset dir=${tomcat-dbcp.home}/src/java/org/ apache/commons/ include name=**/*.java / /fileset HTH, Kent socrates:~ sl4mmy$ uname -a Darwin socrates.local 8.0.0 Darwin Kernel Version 8.0.0: Sat Mar 26 14:15:22 PST 2005; root:xnu-792.obj~1/RELEASE_PPC Power Macintosh powerpc socrates:~ sl4mmy$ java -version java version 1.5.0_02 Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_02-56) Java HotSpot(TM) Client VM (build 1.5.0_02-36, mixed mode, sharing) socrates:~ sl4mmy$ ant -version Apache Ant version 1.6.3 compiled on April 28 2005 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (Darwin) iD8DBQFCfn/R2DzcNcFR0iwRAk01AJ9S+f02D10AVeAdB6dCox69ACj+RACgjJhr gCS3ihcRGhEXhDaZ47dvoBw= =/WEP -END PGP SIGNATURE-
Re: Tomcat install errors
Problem solved: On 5/8/05, Kent R. Spillner [EMAIL PROTECTED] wrote: - - - -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, FL- On May 8, 2005, at 5:09 PM, FL wrote: I'm afraid I don't understand. Where should the line be? Doh; sorry. I should have been more clear. I've done the following mkdir dir=${tomcat-dbcp.home}/src/java/org/apache/tomcat/ dbcp / move todir=${tomcat-dbcp.home}/src/java/org/apache/tomcat/ dbcp fileset dir=${tomcat-dbcp.home}/src/java/org/ apache/commons/ fileset dir=${tomcat-dbcp.home}/src/java/org/apache/commons/ include name=**/*.java / /fileset /move You're on the right track, but you don't want to keep the first fileset. An oversight... So, this: mkdir dir=${tomcat-dbcp.home}/src/java/org/apache/tomcat/dbcp / move todir=${tomcat-dbcp.home}/src/java/org/apache/tomcat/dbcp fileset dir=${tomcat-dbcp.home}/src/java/org/apache/commons / /move Becomes this: mkdir dir=${tomcat-dbcp.home}/src/java/org/apache/tomcat/dbcp / move todir=${tomcat-dbcp.home}/src/java/org/apache/tomcat/dbcp fileset dir=${tomcat-dbcp.home}/src/java/org/apache/commons include name=**/*.java / /fileset /move It's that first, empty fileset that is causing the problems; could be a bug in ant? Aha: that works. I did try it that way (without the /fileset) and the empty fileset did cause trouble. Thank you! Let me know if you need any more help with this! Best, Kent - - - -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (Darwin) iD8DBQFCfpY62DzcNcFR0iwRAiqyAKCqT6Z0YsQ4Vpi5S8dIwey0VG+2FACdGjoA ZjKLrS+tDz/dNuK7AuKBdLA= =j1ji - - - -END PGP SIGNATURE-
Re: Tomcat Install error: cannot replace directory
On 5/6/05, George Gunson [EMAIL PROTECTED] wrote: Actually, just fixed it: changed /opt/jakarta-tomcat-5.5.9-src/jakarta-tomcat-5/build.xml and removed the line: 691 about mkdir dir=${tomcat-dbcp.home}/src/java/org/apache/tomcat/dbcp/ good luck Question: I was concerned about removing that line. Is it a fix, or does it eliminate an error during the build that causes problems later? (I'm guessing the former). FL
Re: Tomcat Install error: cannot replace directory
Actually, it still didn't work for me until I removed the move statement. On 5/6/05, George Gunson [EMAIL PROTECTED] wrote: FL Hey mate, I'm no expert - just trying to learn this stuff from a book - but it made it install and tomcat works fine The build seemed to continue as normal - just deduction really - no other mkdirs in there. regards George -Original Message- *From:* FL [mailto:[EMAIL PROTECTED] *Sent:* 06 May 2005 15:25 *To:* George Gunson *Cc:* tomcat-user@jakarta.apache.org *Subject:* Re: Tomcat Install error: cannot replace directory On 5/6/05, George Gunson [EMAIL PROTECTED] wrote: Actually, just fixed it: changed /opt/jakarta-tomcat-5.5.9-src/jakarta-tomcat-5/build.xml and removed the line: 691 about mkdir dir=${tomcat-dbcp.home}/src/java/org/apache/tomcat/dbcp/ good luck Question: I was concerned about removing that line. Is it a fix, or does it eliminate an error during the build that causes problems later? (I'm guessing the former). FL
RE: tomcat install
Howdy, How about starting with the binaries? Download tomcat 4.1.24 binary from here: http://jakarta.apache.org/site/binindex.cgi Then just unpack it (make sure to use GNU tar to untar if you download the .tar.gz distribution) and you're ready to go. Worry about building from source only if you feel like it and/or want to customize tomcat internals. If you're just starting out, go for the binaries. Yoav Shapira Millennium ChemInformatics -Original Message- From: electroteque [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 11:05 AM To: [EMAIL PROTECTED] Subject: tomcat install hi guys , i'm new to tomcat , so hello , i'm an experienced php developer wanting to move to java , i have attempted to install tomcat via source and found it painful compared to the trio apache/php/mysql , i'm in the default build.properties file and there is a heap of libraries i need to customise the paths to what are they all and which ones should i hook into let me know thanks i am following these two howtos http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/vhosthowto.html http://jakarta.apache.org/tomcat/tomcat-4.1-doc/index.html doing it step by step in the building.txt file , downloaded all the packages i need , really confusing - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] 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]
RE: tomcat install
hmm ok i cant seem to find it now bt aparantly the binary needed something else to be compiled in or something ?? well anyway i did try to startup a binary but how do i change the default port ? -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 12:11 AM To: Tomcat Users List Subject: RE: tomcat install Howdy, How about starting with the binaries? Download tomcat 4.1.24 binary from here: http://jakarta.apache.org/site/binindex.cgi Then just unpack it (make sure to use GNU tar to untar if you download the .tar.gz distribution) and you're ready to go. Worry about building from source only if you feel like it and/or want to customize tomcat internals. If you're just starting out, go for the binaries. Yoav Shapira Millennium ChemInformatics -Original Message- From: electroteque [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 11:05 AM To: [EMAIL PROTECTED] Subject: tomcat install hi guys , i'm new to tomcat , so hello , i'm an experienced php developer wanting to move to java , i have attempted to install tomcat via source and found it painful compared to the trio apache/php/mysql , i'm in the default build.properties file and there is a heap of libraries i need to customise the paths to what are they all and which ones should i hook into let me know thanks i am following these two howtos http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/vhosthowto.html http://jakarta.apache.org/tomcat/tomcat-4.1-doc/index.html doing it step by step in the building.txt file , downloaded all the packages i need , really confusing - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: tomcat install
Download the jk2 shared library for you version of apache and copy it in /usr/local/apache/modules (create the directory if necessary). If you can't find a suitable version of jk2 ask it to the tomcat-user mailing list or download the source and build it yourself (this is another HOWTO). Create, if you haven't already, the /usr/local/apache/conf directory and create a file named workers2.properties with this content in it: from here http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/vhosthowto.html whats the jk2 shared library about thats why i tried the source instead is it a module ? -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 12:11 AM To: Tomcat Users List Subject: RE: tomcat install Howdy, How about starting with the binaries? Download tomcat 4.1.24 binary from here: http://jakarta.apache.org/site/binindex.cgi Then just unpack it (make sure to use GNU tar to untar if you download the .tar.gz distribution) and you're ready to go. Worry about building from source only if you feel like it and/or want to customize tomcat internals. If you're just starting out, go for the binaries. Yoav Shapira Millennium ChemInformatics -Original Message- From: electroteque [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 11:05 AM To: [EMAIL PROTECTED] Subject: tomcat install hi guys , i'm new to tomcat , so hello , i'm an experienced php developer wanting to move to java , i have attempted to install tomcat via source and found it painful compared to the trio apache/php/mysql , i'm in the default build.properties file and there is a heap of libraries i need to customise the paths to what are they all and which ones should i hook into let me know thanks i am following these two howtos http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/vhosthowto.html http://jakarta.apache.org/tomcat/tomcat-4.1-doc/index.html doing it step by step in the building.txt file , downloaded all the packages i need , really confusing - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: tomcat install
Howdy, You don't need to compile anything with the binary. You just unpack it, go to the bin directory, and type startup.sh (or startup.bat on windows). That's it. To change the default port, edit $CATALINA_HOME/conf/server.xml. See the configuration reference documentation for details. Yoav Shapira Millennium ChemInformatics -Original Message- From: electroteque [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 11:25 AM To: Tomcat Users List Subject: RE: tomcat install hmm ok i cant seem to find it now bt aparantly the binary needed something else to be compiled in or something ?? well anyway i did try to startup a binary but how do i change the default port ? -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 12:11 AM To: Tomcat Users List Subject: RE: tomcat install Howdy, How about starting with the binaries? Download tomcat 4.1.24 binary from here: http://jakarta.apache.org/site/binindex.cgi Then just unpack it (make sure to use GNU tar to untar if you download the .tar.gz distribution) and you're ready to go. Worry about building from source only if you feel like it and/or want to customize tomcat internals. If you're just starting out, go for the binaries. Yoav Shapira Millennium ChemInformatics -Original Message- From: electroteque [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 11:05 AM To: [EMAIL PROTECTED] Subject: tomcat install hi guys , i'm new to tomcat , so hello , i'm an experienced php developer wanting to move to java , i have attempted to install tomcat via source and found it painful compared to the trio apache/php/mysql , i'm in the default build.properties file and there is a heap of libraries i need to customise the paths to what are they all and which ones should i hook into let me know thanks i am following these two howtos http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/vhosthowto.htm l http://jakarta.apache.org/tomcat/tomcat-4.1-doc/index.html doing it step by step in the building.txt file , downloaded all the packages i need , really confusing - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] 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]
RE: tomcat install
ok i found the jk2 http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/doc/ but nowhere to download :\ plus the link is broken -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 12:11 AM To: Tomcat Users List Subject: RE: tomcat install Howdy, How about starting with the binaries? Download tomcat 4.1.24 binary from here: http://jakarta.apache.org/site/binindex.cgi Then just unpack it (make sure to use GNU tar to untar if you download the .tar.gz distribution) and you're ready to go. Worry about building from source only if you feel like it and/or want to customize tomcat internals. If you're just starting out, go for the binaries. Yoav Shapira Millennium ChemInformatics -Original Message- From: electroteque [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 11:05 AM To: [EMAIL PROTECTED] Subject: tomcat install hi guys , i'm new to tomcat , so hello , i'm an experienced php developer wanting to move to java , i have attempted to install tomcat via source and found it painful compared to the trio apache/php/mysql , i'm in the default build.properties file and there is a heap of libraries i need to customise the paths to what are they all and which ones should i hook into let me know thanks i am following these two howtos http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/vhosthowto.html http://jakarta.apache.org/tomcat/tomcat-4.1-doc/index.html doing it step by step in the building.txt file , downloaded all the packages i need , really confusing - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: tomcat install
Howdy, Oh, I'm sorry. I thought you were trying to run tomcat standalone. That's why I said you don't need to compile anything. For the Apache connectors, you might need to compile stuff, as the docs say. Yoav Shapira Millennium ChemInformatics -Original Message- From: electroteque [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 11:27 AM To: Tomcat Users List Subject: RE: tomcat install Download the jk2 shared library for you version of apache and copy it in /usr/local/apache/modules (create the directory if necessary). If you can't find a suitable version of jk2 ask it to the tomcat-user mailing list or download the source and build it yourself (this is another HOWTO). Create, if you haven't already, the /usr/local/apache/conf directory and create a file named workers2.properties with this content in it: from here http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/vhosthowto.html whats the jk2 shared library about thats why i tried the source instead is it a module ? -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 12:11 AM To: Tomcat Users List Subject: RE: tomcat install Howdy, How about starting with the binaries? Download tomcat 4.1.24 binary from here: http://jakarta.apache.org/site/binindex.cgi Then just unpack it (make sure to use GNU tar to untar if you download the .tar.gz distribution) and you're ready to go. Worry about building from source only if you feel like it and/or want to customize tomcat internals. If you're just starting out, go for the binaries. Yoav Shapira Millennium ChemInformatics -Original Message- From: electroteque [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 11:05 AM To: [EMAIL PROTECTED] Subject: tomcat install hi guys , i'm new to tomcat , so hello , i'm an experienced php developer wanting to move to java , i have attempted to install tomcat via source and found it painful compared to the trio apache/php/mysql , i'm in the default build.properties file and there is a heap of libraries i need to customise the paths to what are they all and which ones should i hook into let me know thanks i am following these two howtos http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/vhosthowto.htm l http://jakarta.apache.org/tomcat/tomcat-4.1-doc/index.html doing it step by step in the building.txt file , downloaded all the packages i need , really confusing - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] 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]
RE: tomcat install
thats the thing there are a tonne of references to ports in server.xml which one is it i already looked :\ -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 12:28 AM To: Tomcat Users List Subject: RE: tomcat install Howdy, You don't need to compile anything with the binary. You just unpack it, go to the bin directory, and type startup.sh (or startup.bat on windows). That's it. To change the default port, edit $CATALINA_HOME/conf/server.xml. See the configuration reference documentation for details. Yoav Shapira Millennium ChemInformatics -Original Message- From: electroteque [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 11:25 AM To: Tomcat Users List Subject: RE: tomcat install hmm ok i cant seem to find it now bt aparantly the binary needed something else to be compiled in or something ?? well anyway i did try to startup a binary but how do i change the default port ? -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 12:11 AM To: Tomcat Users List Subject: RE: tomcat install Howdy, How about starting with the binaries? Download tomcat 4.1.24 binary from here: http://jakarta.apache.org/site/binindex.cgi Then just unpack it (make sure to use GNU tar to untar if you download the .tar.gz distribution) and you're ready to go. Worry about building from source only if you feel like it and/or want to customize tomcat internals. If you're just starting out, go for the binaries. Yoav Shapira Millennium ChemInformatics -Original Message- From: electroteque [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 11:05 AM To: [EMAIL PROTECTED] Subject: tomcat install hi guys , i'm new to tomcat , so hello , i'm an experienced php developer wanting to move to java , i have attempted to install tomcat via source and found it painful compared to the trio apache/php/mysql , i'm in the default build.properties file and there is a heap of libraries i need to customise the paths to what are they all and which ones should i hook into let me know thanks i am following these two howtos http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/vhosthowto.htm l http://jakarta.apache.org/tomcat/tomcat-4.1-doc/index.html doing it step by step in the building.txt file , downloaded all the packages i need , really confusing - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat install
Greetings ! If you are new to Tomcat, and you're on a Linux platform, you might want to check out my write-up, which is a tutorial that you can follow. It is at : http://linux-sxs.org/internet_serving/tomcat4.1x.html I am in the process of updating it with sections on mod_jk2 and error pages, and a new, more easily downloadable format. Regards, pascal chong electroteque wrote: thats the thing there are a tonne of references to ports in server.xml which one is it i already looked :\ -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 12:28 AM To: Tomcat Users List Subject: RE: tomcat install Howdy, You don't need to compile anything with the binary. You just unpack it, go to the bin directory, and type startup.sh (or startup.bat on windows). That's it. To change the default port, edit $CATALINA_HOME/conf/server.xml. See the configuration reference documentation for details. Yoav Shapira Millennium ChemInformatics -Original Message- From: electroteque [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 11:25 AM To: Tomcat Users List Subject: RE: tomcat install hmm ok i cant seem to find it now bt aparantly the binary needed something else to be compiled in or something ?? well anyway i did try to startup a binary but how do i change the default port ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat install
Also http://www.johnturner.com/howto and http://tomcatfaq.sourceforge.net John On Wed, 28 May 2003 23:02:23 +0800, Chong Yu Meng [EMAIL PROTECTED] wrote: Greetings ! If you are new to Tomcat, and you're on a Linux platform, you might want to check out my write-up, which is a tutorial that you can follow. It is at : http://linux-sxs.org/internet_serving/tomcat4.1x.html I am in the process of updating it with sections on mod_jk2 and error pages, and a new, more easily downloadable format. Regards, pascal chong electroteque wrote: thats the thing there are a tonne of references to ports in server.xml which one is it i already looked :\ -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 12:28 AM To: Tomcat Users List Subject: RE: tomcat install Howdy, You don't need to compile anything with the binary. You just unpack it, go to the bin directory, and type startup.sh (or startup.bat on windows). That's it. To change the default port, edit $CATALINA_HOME/conf/server.xml. See the configuration reference documentation for details. Yoav Shapira Millennium ChemInformatics -Original Message- From: electroteque [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 11:25 AM To: Tomcat Users List Subject: RE: tomcat install hmm ok i cant seem to find it now bt aparantly the binary needed something else to be compiled in or something ?? well anyway i did try to startup a binary but how do i change the default port ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: tomcat install
these are very well documented but how do i change the default port in server.xml ? -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 3:18 AM To: Tomcat Users List Subject: Re: tomcat install Also http://www.johnturner.com/howto and http://tomcatfaq.sourceforge.net John On Wed, 28 May 2003 23:02:23 +0800, Chong Yu Meng [EMAIL PROTECTED] wrote: Greetings ! If you are new to Tomcat, and you're on a Linux platform, you might want to check out my write-up, which is a tutorial that you can follow. It is at : http://linux-sxs.org/internet_serving/tomcat4.1x.html I am in the process of updating it with sections on mod_jk2 and error pages, and a new, more easily downloadable format. Regards, pascal chong electroteque wrote: thats the thing there are a tonne of references to ports in server.xml which one is it i already looked :\ -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 12:28 AM To: Tomcat Users List Subject: RE: tomcat install Howdy, You don't need to compile anything with the binary. You just unpack it, go to the bin directory, and type startup.sh (or startup.bat on windows). That's it. To change the default port, edit $CATALINA_HOME/conf/server.xml. See the configuration reference documentation for details. Yoav Shapira Millennium ChemInformatics -Original Message- From: electroteque [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 11:25 AM To: Tomcat Users List Subject: RE: tomcat install hmm ok i cant seem to find it now bt aparantly the binary needed something else to be compiled in or something ?? well anyway i did try to startup a binary but how do i change the default port ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ - 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: tomcat install
On Thu, 29 May 2003 06:53, electroteque wrote: these are very well documented but how do i change the default port in server.xml ? Easiest way is to do a replace all from 8080 to your new port number, you might want to find it first however and see where it gets set. :) -- Jason Bainbridge KDE Web Team - http://kde.org [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: tomcat install
ok i got the standalone binary working for now http://electroteque.dyndns.org:1025/ i get a blank screen though ?? also what is the difference between working with a standalone or a jk2 module in apache ?? -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 3:18 AM To: Tomcat Users List Subject: Re: tomcat install Also http://www.johnturner.com/howto and http://tomcatfaq.sourceforge.net John On Wed, 28 May 2003 23:02:23 +0800, Chong Yu Meng [EMAIL PROTECTED] wrote: Greetings ! If you are new to Tomcat, and you're on a Linux platform, you might want to check out my write-up, which is a tutorial that you can follow. It is at : http://linux-sxs.org/internet_serving/tomcat4.1x.html I am in the process of updating it with sections on mod_jk2 and error pages, and a new, more easily downloadable format. Regards, pascal chong electroteque wrote: thats the thing there are a tonne of references to ports in server.xml which one is it i already looked :\ -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 12:28 AM To: Tomcat Users List Subject: RE: tomcat install Howdy, You don't need to compile anything with the binary. You just unpack it, go to the bin directory, and type startup.sh (or startup.bat on windows). That's it. To change the default port, edit $CATALINA_HOME/conf/server.xml. See the configuration reference documentation for details. Yoav Shapira Millennium ChemInformatics -Original Message- From: electroteque [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 11:25 AM To: Tomcat Users List Subject: RE: tomcat install hmm ok i cant seem to find it now bt aparantly the binary needed something else to be compiled in or something ?? well anyway i did try to startup a binary but how do i change the default port ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ - 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: tomcat install
On Thu, 29 May 2003 06:59, electroteque wrote: ok i got the standalone binary working for now http://electroteque.dyndns.org:1025/ i get a blank screen though ?? Can you check your CATALINA_HOME\logs directory and have a look at the log files for anything that looks like an error. I get a server not found error trying that address. also what is the difference between working with a standalone or a jk2 module in apache ?? Standalone doesn't have builtin support for load balancing plus it uses Coyotge to process all HTTP requests, where in a high load environment it is better to integrate Tomcat with Apache. If you are just using it for testing purposes I'd stick just with standalone but if you are deploying in a high load environment you should look at integrating with Apache using the In process method, if you choose to do that John Turner has some very good tutorials you can use (Search the archive for the links, I haven't got time right now to dig them up). Regards, -- Jason Bainbridge KDE Web Team - http://kde.org [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: tomcat install
ok here is what i get in the logs StandardServer.await: create[8005]: java.net.BindException: Address already in u se java.net.BindException: Address already in use -Original Message- From: electroteque [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 9:00 AM To: Tomcat Users List Subject: RE: tomcat install ok i got the standalone binary working for now http://electroteque.dyndns.org:1025/ i get a blank screen though ?? also what is the difference between working with a standalone or a jk2 module in apache ?? -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 3:18 AM To: Tomcat Users List Subject: Re: tomcat install Also http://www.johnturner.com/howto and http://tomcatfaq.sourceforge.net John On Wed, 28 May 2003 23:02:23 +0800, Chong Yu Meng [EMAIL PROTECTED] wrote: Greetings ! If you are new to Tomcat, and you're on a Linux platform, you might want to check out my write-up, which is a tutorial that you can follow. It is at : http://linux-sxs.org/internet_serving/tomcat4.1x.html I am in the process of updating it with sections on mod_jk2 and error pages, and a new, more easily downloadable format. Regards, pascal chong electroteque wrote: thats the thing there are a tonne of references to ports in server.xml which one is it i already looked :\ -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 12:28 AM To: Tomcat Users List Subject: RE: tomcat install Howdy, You don't need to compile anything with the binary. You just unpack it, go to the bin directory, and type startup.sh (or startup.bat on windows). That's it. To change the default port, edit $CATALINA_HOME/conf/server.xml. See the configuration reference documentation for details. Yoav Shapira Millennium ChemInformatics -Original Message- From: electroteque [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 11:25 AM To: Tomcat Users List Subject: RE: tomcat install hmm ok i cant seem to find it now bt aparantly the binary needed something else to be compiled in or something ?? well anyway i did try to startup a binary but how do i change the default port ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat install
On Thu, 29 May 2003 07:10, electroteque wrote: ok here is what i get in the logs StandardServer.await: create[8005]: java.net.BindException: Address already in u se java.net.BindException: Address already in use That means fairly obviously that port 8005 is already in use either by another application or you already have another instance of Tomcat running. Try changing this to another value within your server.xml file. You may well encounter it for port 8009, esepcially if Tomcat is already running so you better check if there already is a task running, is this Windows or Linux? On Windows check Task Manager and on linux something like top. Regards, -- Jason Bainbridge KDE Web Team - http://kde.org [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: tomcat install
ok thanks heaps its all working now i'll intergrate with apache @ a later date , trying out the examples the code is very clean , i'm liking this over php :D -Original Message- From: Jason Bainbridge [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 8:08 AM To: Tomcat Users List Subject: Re: tomcat install On Thu, 29 May 2003 06:59, electroteque wrote: ok i got the standalone binary working for now http://electroteque.dyndns.org:1025/ i get a blank screen though ?? Can you check your CATALINA_HOME\logs directory and have a look at the log files for anything that looks like an error. I get a server not found error trying that address. also what is the difference between working with a standalone or a jk2 module in apache ?? Standalone doesn't have builtin support for load balancing plus it uses Coyotge to process all HTTP requests, where in a high load environment it is better to integrate Tomcat with Apache. If you are just using it for testing purposes I'd stick just with standalone but if you are deploying in a high load environment you should look at integrating with Apache using the In process method, if you choose to do that John Turner has some very good tutorials you can use (Search the archive for the links, I haven't got time right now to dig them up). Regards, -- Jason Bainbridge KDE Web Team - http://kde.org [EMAIL PROTECTED] - 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: tomcat install
Well looks like you got it working. :) (I just tried that URL again) Regards, -- Jason Bainbridge KDE Web Team - http://kde.org [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat install
sorry i should be more clear for now its RH8 , i killed the process but obviously didnt shutdown so i ran shutdown.sh and then startup.sh again :D On Thu, 29 May 2003 07:10, electroteque wrote: ok here is what i get in the logs StandardServer.await: create[8005]: java.net.BindException: Address already in u se java.net.BindException: Address already in use That means fairly obviously that port 8005 is already in use either by another application or you already have another instance of Tomcat running. Try changing this to another value within your server.xml file. You may well encounter it for port 8009, esepcially if Tomcat is already running so you better check if there already is a task running, is this Windows or Linux? On Windows check Task Manager and on linux something like top. Regards, -- Jason Bainbridge KDE Web Team - http://kde.org [EMAIL PROTECTED] - 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: tomcat install
yeh cheers i'll be on here more frequently now , i'm a total newbie coming from PHP , but looked at the example source and its very gourgous Well looks like you got it working. :) (I just tried that URL again) Regards, -- Jason Bainbridge KDE Web Team - http://kde.org [EMAIL PROTECTED] - 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: tomcat install problems on Tru64unix
Hi, I'm not sure if this would help, but maybe you should try setting CATALINA_HOME, since new releases of Tomcat. also you might want to run catalina.sh run. Bye! He, JianBo wrote: Hi, I installed J2SDK V1.4 and tomcat on Compaq Tru64UNIX v5.1 successful, set TOMCAT_HOME and JAVA_HOME variable to proper directory, but failed to startup with startup.sh, there is no corresponding process running and also, no explicit error apears. Only in output log, it recorded: # more catalina.out usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -debug ] [ -nonaming ] { start | stop } usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -debug ] [ -nonaming ] { start | stop } I do not know where the problem is, J2SDK? or tomcat? thanks you for your kindly help! Best Regards He JianBo Technical Consultant Organization Hewlett-Packard Company -- 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
Re: tomcat install problems on Tru64unix
Mr. Cristian Romanescu wrote: Hi, I'm not sure if this would help, but maybe you should try setting CATALINA_HOME, since new releases of Tomcat. also you might want to run catalina.sh run. Bye! He, JianBo wrote: Hi, I installed J2SDK V1.4 and tomcat on Compaq Tru64UNIX v5.1 successful, set TOMCAT_HOME and JAVA_HOME variable to proper directory, but failed to startup with startup.sh, there is no corresponding process running and also, no explicit error apears. Only in output log, it recorded: # more catalina.out usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -debug ] [ -nonaming ] { start | stop } usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -debug ] [ -nonaming ] { start | stop } The problem lies in Tru64's shell. It is mangling parameters in a way different from other incarnations. This is my startup (which still doesn't work on boot-up, but neither does AMaViS, Cyrus and other servers). startup.sh -- PRGDIR=`dirname $PRG` EXECUTABLE=catalina.sh # Check that target executable exists if [ ! -x $PRGDIR/$EXECUTABLE ]; then echo Cannot find $PRGDIR/$EXECUTABLE echo This file is needed to run this program exit 1 fi export CATALINA_HOME=/usr/local/java/tomcat-4.03 exec $PRGDIR/$EXECUTABLE start -config ${CATALINA_HOME}/conf/server.xml -- That's what works. Nix. -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
Re: Tomcat install walkthrough - make of it what you will
Bill Patterson [EMAIL PROTECTED] wrote: I wrote this for my own use, and would like to contribute it as a (maybe) useful addition to the tomcat documentation. Can't really figure out where to send it (just making suggestions doesn't seem to be possible without joining mailing lists), so I'm going with this. I apologize if this isn't the appropriate place to post this. Maybe someone could set up a high-volume junk/suggestion email address for people like me, people who want to be helpful but don't have time to waste figuring out the right way to do it? I understand wanting to filter out people who are just being stupid and not bothering to look around, but I spent a significant amount of time trying to figure out how/where to submit something and just ended up feeling frustrated because I didn't find any alternative to jumping through hoops. I ended up feeling like hey, screw it. If they don't want my help I have better things to be doing with my time anyway. Isn't the idea of open source to not make people feel like that? Forgot the attachment? :) Pier
RE: Tomcat install
Hello, im new to tomcat. I am installing Tomcat 3.1 on a windows 98 machine. I created a directory called tomcat with the bin, conf and the rest of the directories. Can anyone tell me how would I set my environment variables, and how I would set my class path.I also need know how to edit server.xml, web.xml, startup.bat and shutdown.bat properly for my win98 environment. Jim Diggs
Re: Tomcat install on Cobalt.
- Original Message - From: Charles Williams (CEO) [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, April 27, 2001 3:43 PM Subject: Tomcat install on Cobalt. Hello, Sorry to post without searching, but, the search function is down. I am installing Tomcat for the first time and must admit that the instructions leave a bit to be desired. I'm installing on a Cobalt Raq3i. Below is the install list out of the doc. 1. Download the zip/tar.gz/whatever file from http://jakarta.apache.org/downloads/binindex.html. 2. Unzip the file into some directory (say foo). This should create a new subdirectory named tomcat. 3. Change directory to tomcat and set a new environment variable (TOMCAT_HOME) to point to the root directory of your Tomcat hierarchy. On UNIX you should type: for bash/sh TOMCAT_HOME=foo/tomcat ; export TOMCAT_HOME for tcsh setenv TOMCAT_HOME foo/tomcat ***Good till here * ** Here is where I'm lost *** 4. ? - Set the environment variable JAVA_HOME to point to the root directory of your JDK hierarchy, then add the Java interpreter to your PATH environment variable. So I take it noone knows how to install tomcat? chuck Any help appreciated. Thanks chuck
Re: Tomcat install on Cobalt.
I've never installed tomcat on a cobalt server, but I'll take a crack at your question. You need to have the JAVA_HOME environment variable pointed to the place you installed the jdk. So if your jdk is in /usr/local/jdk1.3, then your JAVA_HOME variable would equal /usr/local/jdk1.3. And the part about the path is just saying make sure that the interpreter is in your path. If you can go to a command prompt and type java -version, or something like that, you should be fine. A nice tutorial can be found at: http://www.ccl.net/cca/software/UNIX/apache/ Charles Williams \(CEO\) hosting.mailing.list.account@acnshoTo: [EMAIL PROTECTED] sting.com cc: Subject: Re: Tomcat install on Cobalt. 27-04-01 12:28 PM Please respond to tomcat-user - Original Message - From: Charles Williams (CEO) [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, April 27, 2001 3:43 PM Subject: Tomcat install on Cobalt. Hello, Sorry to post without searching, but, the search function is down. I am installing Tomcat for the first time and must admit that the instructions leave a bit to be desired. I'm installing on a Cobalt Raq3i. Below is the install list out of the doc. 1. Download the zip/tar.gz/whatever file from http://jakarta.apache.org/downloads/binindex.html. 2. Unzip the file into some directory (say foo). This should create a new subdirectory named tomcat. 3. Change directory to tomcat and set a new environment variable (TOMCAT_HOME) to point to the root directory of your Tomcat hierarchy. On UNIX you should type: for bash/sh TOMCAT_HOME=foo/tomcat ; export TOMCAT_HOME for tcsh setenv TOMCAT_HOME foo/tomcat ***Good till here * ** Here is where I'm lost *** 4. ? - Set the environment variable JAVA_HOME to point to the root directory of your JDK hierarchy, then add the Java interpreter to your PATH environment variable. So I take it noone knows how to install tomcat? chuck Any help appreciated. Thanks chuck -- NOTICE: The information contained in this electronic mail transmission is intended by Convergys Corporation for the use of the named individual or entity to which it is directed and may contain information that is privileged or otherwise confidential. If you have received this electronic mail transmission in error, please delete it from your system without copying or forwarding it, and notify the sender of the error by reply email or by telephone (collect), so that the sender's address records can be corrected.
Re: Tomcat install on Cobalt.
I've never used a Cobalt. What version of Java does it have? As far as this: ** Here is where I'm lost *** 4. ? - Set the environment variable JAVA_HOME to point to the root directory of your JDK hierarchy, then add the Java interpreter to your PATH environment variable. It means do something like this: for Bash: export JAVA_HOME=/usr/local/jdk1.3 export PATH=$PATH:/usr/local/jdk1.3/bin That's assuming that the Java install is in /usr/local/jdk1.3 If not, change the paths appropriately. Hunter From: Charles Williams \(CEO\) [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Fri, 27 Apr 2001 20:28:20 +0200 To: [EMAIL PROTECTED] Subject: Re: Tomcat install on Cobalt. So I take it noone knows how to install tomcat? chuck
Re: Tomcat install on Cobalt.
If you weren't a guy I'd kiss ya. I wasn't sure if I needed to do the enviro and export that same as with tomcat or not. couldn't find any info on the subject anywhere. chuck - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, April 27, 2001 8:50 PM Subject: Re: Tomcat install on Cobalt. I've never installed tomcat on a cobalt server, but I'll take a crack at your question. You need to have the JAVA_HOME environment variable pointed to the place you installed the jdk. So if your jdk is in /usr/local/jdk1.3, then your JAVA_HOME variable would equal /usr/local/jdk1.3. And the part about the path is just saying make sure that the interpreter is in your path. If you can go to a command prompt and type java -version, or something like that, you should be fine. A nice tutorial can be found at: http://www.ccl.net/cca/software/UNIX/apache/ Charles Williams \(CEO\) hosting.mailing.list.account@acnshoTo: [EMAIL PROTECTED] sting.com cc: Subject: Re: Tomcat install on Cobalt. 27-04-01 12:28 PM Please respond to tomcat-user - Original Message - From: Charles Williams (CEO) [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, April 27, 2001 3:43 PM Subject: Tomcat install on Cobalt. Hello, Sorry to post without searching, but, the search function is down. I am installing Tomcat for the first time and must admit that the instructions leave a bit to be desired. I'm installing on a Cobalt Raq3i. Below is the install list out of the doc. 1. Download the zip/tar.gz/whatever file from http://jakarta.apache.org/downloads/binindex.html. 2. Unzip the file into some directory (say foo). This should create a new subdirectory named tomcat. 3. Change directory to tomcat and set a new environment variable (TOMCAT_HOME) to point to the root directory of your Tomcat hierarchy. On UNIX you should type: for bash/sh TOMCAT_HOME=foo/tomcat ; export TOMCAT_HOME for tcsh setenv TOMCAT_HOME foo/tomcat ***Good till here * ** Here is where I'm lost *** 4. ? - Set the environment variable JAVA_HOME to point to the root directory of your JDK hierarchy, then add the Java interpreter to your PATH environment variable. So I take it noone knows how to install tomcat? chuck Any help appreciated. Thanks chuck -- NOTICE: The information contained in this electronic mail transmission is intended by Convergys Corporation for the use of the named individual or entity to which it is directed and may contain information that is privileged or otherwise confidential. If you have received this electronic mail transmission in error, please delete it from your system without copying or forwarding it, and notify the sender of the error by reply email or by telephone (collect), so that the sender's address records can be corrected.
Re: Tomcat install on Cobalt.
Charles Williams (CEO) wrote: 1. Download the zip/tar.gz/whatever file from http://jakarta.apache.org/downloads/binindex.html. 2. Unzip the file into some directory (say foo). This should create a new subdirectory named tomcat. 3. Change directory to tomcat and set a new environment variable (TOMCAT_HOME) to point to the root directory of your Tomcat hierarchy. On UNIX you should type: for bash/sh TOMCAT_HOME=foo/tomcat ; export TOMCAT_HOME for tcsh setenv TOMCAT_HOME foo/tomcat ***Good till here * ** Here is where I'm lost *** 4. ? - Set the environment variable JAVA_HOME to point to the root directory of your JDK hierarchy, then add the Java interpreter to your PATH environment variable. So I take it noone knows how to install tomcat? chuck Sure, but what is your question. It's asking you in step 4 to set some environment variables, which you just did in step 3. JAVA_HOME=/usr/local/java; export JAVA_HOME or something it depends on where you put java, which I don't believe you told us.
RE: Tomcat install problem in sun solaris unix
Does your classpath have a reference to the tools.jar file? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 01, 2001 2:16 PM To: [EMAIL PROTECTED] Subject: Tomcat install problem in sun solaris unix I install tomcat 3.2 into my unix user account. It starts up well. Sevelet running well also. But always problem in running JSP. It post an error page like following, It seems jsp compiler can not work properly. I guess it is related to the account access right. The jdk1.1 is installed in /usr/jdk1.1 by unix system administrator. Error: 500 Location: /examples/jsp/num/numguess.jsp Internal Servlet Error: org.apache.jasper.JasperException: Unable to compile class for JSP at java.lang.Throwable.(Compiled Code) at java.lang.Exception.(Compiled Code) at javax.servlet.ServletException.(Compiled Code) at org.apache.jasper.JasperException.(Compiled Code) ... Root cause: java.lang.IllegalArgumentException: Unknown argument at java.lang.Throwable.(Compiled Code) at java.lang.Exception.(Compiled Code) ... Thanks for your advice, Peter - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: tomcat install config error linux!!
Make sure that the following line appears in your /etc/hosts file: 127.0.0.1localhost Then reboot to get rid of your running instances and try it all again. -Ritchie - Original Message - From: "Deepak C S" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 04, 2001 2:28 PM Subject: tomcat install config error linux!! Hi, Ive just installed tomcat3.2.1 on linux and trying to run it standalone. while starting the server,Im getting FATAL:java.io.IOException: Address already in usecat-3.2.1/./webapps/examples"/t est context static) that# java.io.IOException: Address already in use at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:42) at java.net.ServerSocket.init(ServerSocket.java:53) at java.net.ServerSocket.init(ServerSocket.java:30) at org.apache.tomcat.net.DefaultServerSocketFactory.createSocket(Default ServerSocketFactory.java:97) at org.apache.tomcat.service.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoi nt.java:239) at org.apache.tomcat.service.PoolTcpConnector.start(PoolTcpConnector.jav a:188) at org.apache.tomcat.core.ContextManager.start(ContextManager.java:527) at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:202) at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235) If I change the default ports 8080 8007 to different Port values,Tomcat starts but After starting the server, If any request is made . Im getting ContextManager: Erro r reading request, ignored - java.lang.ArrayIndexOutOfBoundsException: at java.io.BufferedInputStream.read(BufferedInputStream.java:118) at java.io.BufferedInputStream.read(BufferedInputStream.java:69) at org.apache.tomcat.service.http.HttpRequestAdapter.doRead(HttpRequestA dapter.java:115) at org.apache.tomcat.core.BufferedServletInputStream.doRead(BufferedServ letInputStream.java:106) at org.apache.tomcat.core.BufferedServletInputStream.read(BufferedServle tInputStream.java:128) at javax.servlet.ServletInputStream.readLine(ServletInputStream.java:138 ) at org.apache.tomcat.service.http.HttpRequestAdapter.readNextRequest(Htt pRequestAdapter.java:129) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnectio n(HttpConnectionHandler.java:195) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java: 416) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java :498) at java.lang.Thread.run(Thread.java:314) while shutting down, Im getting "java.net.UnknownHostException: Unknown host: localhost " hence shutdown is incomplete and I cannot reuse the same PORTS without rebooting the m/c else I get Addressalreadyin use exception. Can anybody please help?? thanx in adv, Deeps - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: tomcat install config error linux!!
This, is because UR Tomcat service is already running. In my case also I'm getting the same. So, what I did is, "killall Kaffe". I, think there is some problem in shutting down tomcat service using "shutdown.sh"... Let, the actual developers will reply U for those issues. - Original Message - From: Deepak C S [EMAIL PROTECTED] Ive just installed tomcat3.2.1 on linux and trying to run it standalone. while starting the server,Im getting FATAL:java.io.IOException: Address already in usecat-3.2.1/./webapps/examples"/t est context static) that# java.io.IOException: Address already in use at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:42) at java.net.ServerSocket.init(ServerSocket.java:53) at java.net.ServerSocket.init(ServerSocket.java:30) at org.apache.tomcat.net.DefaultServerSocketFactory.createSocket(Default ServerSocketFactory.java:97) at org.apache.tomcat.service.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoi nt.java:239) at org.apache.tomcat.service.PoolTcpConnector.start(PoolTcpConnector.jav a:188) at org.apache.tomcat.core.ContextManager.start(ContextManager.java:527) at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:202) at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235) If I change the default ports 8080 8007 to different Port values,Tomcat starts but After starting the server, If any request is made . Im getting ContextManager: Erro r reading request, ignored - java.lang.ArrayIndexOutOfBoundsException: at java.io.BufferedInputStream.read(BufferedInputStream.java:118) at java.io.BufferedInputStream.read(BufferedInputStream.java:69) at org.apache.tomcat.service.http.HttpRequestAdapter.doRead(HttpRequestA dapter.java:115) at org.apache.tomcat.core.BufferedServletInputStream.doRead(BufferedServ letInputStream.java:106) at org.apache.tomcat.core.BufferedServletInputStream.read(BufferedServle tInputStream.java:128) at javax.servlet.ServletInputStream.readLine(ServletInputStream.java:138 ) at org.apache.tomcat.service.http.HttpRequestAdapter.readNextRequest(Htt pRequestAdapter.java:129) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnectio n(HttpConnectionHandler.java:195) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java: 416) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java :498) at java.lang.Thread.run(Thread.java:314) while shutting down, Im getting "java.net.UnknownHostException: Unknown host: localhost " hence shutdown is incomplete and I cannot reuse the same PORTS without rebooting the m/c else I get Addressalreadyin use exception. Can anybody please help?? thanx in adv, Deeps Regards Nagappan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]