internet cache
I'm developing JSP within tomcat. I use sendRedirect in a servlet to forward to different pages based on the client's input from the jsp. In my testing, because of cache, even the client enter diffrent input, it was always forwarded to the same page. If I restart the computer and tomcat, for the first request, I was forwarded to the correct page. For the following request, it was always forwarded to the same page as the first request. I set the mata tag as follow at the beginning of the jsp page to prevent cache. META HTTP-EQUIV=Pragma CONTENT=no-cache META HTTP-EQUIV=Expires CONTENT=-1 However, the same problem persist. Thanks for your help. Yuye. __ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
newbie---tomcat classpath
Hi: I just successfully install memory realm. I want to use JDBC realm instead. I need to put the JDBC driver referenced by the friverName attribute into Tomcat's classpath. What is tomcat's classpath? Where can I find it? Thanks. __ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: newbie
You might have a firewall in your computer that prevents you from remote access. I have this problem before. I reconfigure my firewall and solve this problem. Are you sure the ip address of your computer is correct also? Yu Ye Zhou --- Brian Wolf [EMAIL PROTECTED] wrote: Hi, I am trying to access my tomcat server from outside. I can access locally fine, as when I run the servlet examples. Request Information Example Method: GET Request URI: /examples/servlet/RequestInfoExample Protocol: HTTP/1.1 Path Info: null Remote Address: 209.23.8.113 However, when I try to access through the remote address, as is indicated , http://209.23.8.113/index.html I get cannot find server error Thanks, Brian __ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
jk_nt_service error
I'm trying to run tomcat as service I edit the wrapper.properties files according to my set up. When I try to run jk_nt_service -i tomcat -a wrapper.properties, I get the following error: Asked (and given) winsock 1.1 OpenSCManager failed - Access is denied. I'm using j2sdk1.4.0 instead of jdk1.3.1_01 Thanks. Yu Ye Zhou __ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
space in tomcat_home directory
My tomcat is install under windows directory as follow: c:\Program Files\apache tomcat 4.0 I have spaces in the directory. How can the wrappers.properties file recognizes the spaces in the directory? I have cygwin in my computer, when I cd to a windows directory, I use \ to escape the spaces. How could that be done within the wrappers file? Thanks. Yu Ye Zhou __ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: jk_nt_service error
Thanks. That is the problem. --- Cox, Charlie [EMAIL PROTECTED] wrote: check NT permissions on jk_nt_service.exe. Sevices run as user 'System', not as the logged in user. Charlie -Original Message- From: Yu Ye Zhou [mailto:[EMAIL PROTECTED]] Sent: Friday, June 21, 2002 9:42 AM To: Tomcat Users List Subject: jk_nt_service error I'm trying to run tomcat as service I edit the wrapper.properties files according to my set up. When I try to run jk_nt_service -i tomcat -a wrapper.properties, I get the following error: Asked (and given) winsock 1.1 OpenSCManager failed - Access is denied. I'm using j2sdk1.4.0 instead of jdk1.3.1_01 Thanks. Yu Ye Zhou __ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
outsiders cannot brows my site in tomcat
I have three computers connected to each other as LAN. I use DSL and a router to have all of them connected to internet. I have tomcat install in one of the computer as stand alone. I can see the index pages by using name of the computer using http://NameOfComputer:8080 within my LAN. However, if I try to see the same page from a computer outside of my own network, page is not found. It also says server is not found. It seems to me more like a network problem than problem with tomcat. I didn't intergrate apache web server with tomcat. Do I need apache to see the page? Can I use tomcat only? Anybody also have idea of why outsiders cannot brows my pages? Thanks a lot. Yu Ye Zhou __ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: tomcat error
After you change the autoexec.bat files, did you execute it before you start tomcat? If you didn't, your change won't take any effect. --- Halil AKINCI [EMAIL PROTECTED] wrote: Hi all, I'm installed my computer jakarta-tomcat-3.3.1 and changed my Autoexec.bat file (set java_home and tomcat_home). When I want to start tomcat, I receive following error message \lib\tomcat.jar not found. Unable to locate \lib\tomcat.jar, check the value of TOMCAT_HOME and/or TOMCAT_INSTALL. What can I do? thanks... __ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: outsiders cannot brows my site in tomcat
Thanks both for the info. I'm going to try both way. But, Alderman, do you know of any site that I can use to register my hostname? Thanks --- Sean M Alderman [EMAIL PROTECTED] wrote: If he's stuck with a dynamic IP he could look into using a Dynamic DNS client to register his hostname. I've had this setup before and it works rather nicely, even for dial-up connections. On Thu, 2002-06-20 at 14:05, Eddie Bush wrote: Do you have a static IP address? =) Most DSL services give you 'communal' IP addresses. You don't have a 'unique' one for each of your machines - and they change every time you connect. My guess is that this is most likely your problem. To rectify it, check on getting your own IP address/pool through your DSL provider. Another thing too - if you want to be able to access your computer by name - you'll need a domain if you don't have one. Additionally, you will need to ensure that you have the domain set up to point to the correct IP Address. Also, I'm not entirely sure how your LAN is configured - but if all of your machines are sharing one IP Address you'll need to check into configuring your router to direct all http/https traffic to the specific machine that has Tomcat installed on it. *looks around* Did I miss anything guys? I hope that answers your question. If I totally misjudged your perdicament, please feel free to repost =) Eddie - Original Message - From: Yu Ye Zhou [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, June 20, 2002 1:01 PM Subject: outsiders cannot brows my site in tomcat I have three computers connected to each other as LAN. I use DSL and a router to have all of them connected to internet. I have tomcat install in one of the computer as stand alone. I can see the index pages by using name of the computer using http://NameOfComputer:8080 within my LAN. However, if I try to see the same page from a computer outside of my own network, page is not found. It also says server is not found. It seems to me more like a network problem than problem with tomcat. I didn't intergrate apache web server with tomcat. Do I need apache to see the page? Can I use tomcat only? Anybody also have idea of why outsiders cannot brows my pages? Thanks a lot. Yu Ye Zhou __ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- Sean M. Alderman ITRACK Systems Analyst PACE/NCI - NASA Glenn Research Center (216) 433-2795 Calling a windowed operating system Windows is like naming an automobile Wheels. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: outsiders cannot brows my site in tomcat
I've found http://dns2go.deerfield.com. I registered a domain with them for free and also downloaded their software that can point to my current IP address to that domain name. I can brow my computer with that domain name now. I think I should be able to browse it from any other computers, after I readjust my router setting. Thanks for all your helps. Very appreciate. Yuye __ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: cannot reuse port
I'm using tomcat version 3.2.3. I use the tomcat instance just for one request. How can I shut down tomcat in linux? Is there a way that I can shut down the port? Thank you. Yu Ye Zhou --- Pier P. Fumagalli [EMAIL PROTECTED] wrote: Yu Ye Zhou at [EMAIL PROTECTED] wrote: Hi: I installed tomcat in linux. When ever I start up tomcat, I cannot use the port number that I use before. If I use 8080 to start up tomcat, then shut dowon and start up again, it says address in used. I have to change to any other ports that I didn't use before in order to start tomcat successfully. In addition, even after the use shutdown.sh, tomcat is not really shutting down. The port is still in used. I can access the page from other computer using all the ports that I used before. Simple... It seems that tomcat is not shutting down :( What version are you using? (I never had a problem like it so far). Can you use that tomcat instance just for one request or several? (There's a bug in Linux preventing successful unbinding of server sockets until a connection is made to that port). Pier __ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/
RE: cannot reuse port
ps does not show me the process id for tomcat. Is there any way to find out the process id? --- Jeff Rancier [EMAIL PROTECTED] wrote: I would continue to research the reason the script won't stop it. I suppose you can find out the process ID and then kill it. -Original Message- From: Yu Ye Zhou [mailto:[EMAIL PROTECTED]] Sent: Friday, August 03, 2001 3:45 PM To: [EMAIL PROTECTED] Subject: RE: cannot reuse port My current port number is 8089. I just stop tomcat and use the netstat -an | grep 80 to see what happend to the port 8089. It is still listening. Shutdown.sh cannot close the port connection at all. Is there a way I can mamually close the port? --- Jeff Rancier [EMAIL PROTECTED] wrote: This was after stopping Tomcat? I would've expected the 8080 port to be in a TIME_WAIT or some FIN state? Anyone else help here? Also what about thoe 8081-809x ports, what are they? -Original Message- From: Yu Ye Zhou [mailto:[EMAIL PROTECTED]] Sent: Friday, August 03, 2001 3:22 PM To: [EMAIL PROTECTED] Subject: RE: cannot reuse port I get the following: tcp0 0 0.0.0.0:8035 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:8036 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:8037 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:8007 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:8080 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:80 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:8017 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:8081 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:8082 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:8083 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:8084 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:8085 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:8089 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:8091 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:8027 0.0.0.0:* LISTEN tcp3 0 127.0.0.1:8036 127.0.0.1:1077 CLOSE_WAIT tcp3 0 127.0.0.1:8027 127.0.0.1:1073 CLOSE_WAIT tcp3 0 127.0.0.1:8007 127.0.0.1:1056 CLOSE_WAIT I also have apache running. Apache version is 1.3.19 from the linux package. I'm not able to shut down the apache server also. More over, now, if I start up tomcat, the system kills my process and says memory low. Yu Ye Zhou --- Jeff Rancier [EMAIL PROTECTED] wrote: What do you get when you type: netstat -an | grep 80 ? -Original Message- From: Yu Ye Zhou [mailto:[EMAIL PROTECTED]] Sent: Friday, August 03, 2001 3:06 PM To: [EMAIL PROTECTED] Subject: RE: cannot reuse port The version is 1.1 --- Jeff Rancier [EMAIL PROTECTED] wrote: Type: java -version -Original Message- From: Yu Ye Zhou [mailto:[EMAIL PROTECTED]] Sent: Friday, August 03, 2001 3:02 PM To: [EMAIL PROTECTED] Subject: RE: cannot reuse port I'm using the default JVM. I download the JDK1.2.2 and set that as the JAVA_HOME. Thanks Yu Ye Zhou --- Randy Layman [EMAIL PROTECTED] wrote: -Original Message- From: Pier P. Fumagalli [mailto:[EMAIL PROTECTED]] Sent: Friday, August 03, 2001 1:08 PM To: [EMAIL PROTECTED] Subject: Re: cannot reuse port Yu Ye Zhou at [EMAIL PROTECTED] wrote: Hi: I installed tomcat in linux. When ever I start up tomcat, I cannot use the port number that I use before. If I use 8080 to start up tomcat, then shut dowon and start up again, it says address in used. I have to change to any other ports that I didn't use before in order to start tomcat successfully. In addition, even after the use shutdown.sh, tomcat is not really shutting down. The port is still in used. I can access the page from other computer using all the ports that I used before. Simple... It seems that tomcat is not shutting down :( What version are you using? (I never had a problem like it so far). Can you use that tomcat instance just for one request or several? (There's a bug in Linux preventing successful unbinding of server sockets until a connection is made to that port). === message truncated === __ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/
Re: cannot reuse port
I wait for longer than that. I even shut down the network and the computer. I'm runing RedHat 7.1 also with JSDK1.2.2 and JVM version 1.1 Thanks. Yu Ye Zhou --- D. Jay Newman [EMAIL PROTECTED] wrote: Have you tried waiting five to ten seconds after shutdown? I'm running RedHat 7.1 with JSDK 1.3.1 and I have to count to five before I restart Tomcat. I'm using the default JVM. I download the JDK1.2.2 and set that as the JAVA_HOME. Thanks Yu Ye Zhou --- Randy Layman [EMAIL PROTECTED] wrote: -Original Message- From: Pier P. Fumagalli [mailto:[EMAIL PROTECTED]] Sent: Friday, August 03, 2001 1:08 PM To: [EMAIL PROTECTED] Subject: Re: cannot reuse port Yu Ye Zhou at [EMAIL PROTECTED] wrote: Hi: I installed tomcat in linux. When ever I start up tomcat, I cannot use the port number that I use before. If I use 8080 to start up tomcat, then shut dowon and start up again, it says address in used. I have to change to any other ports that I didn't use before in order to start tomcat successfully. In addition, even after the use shutdown.sh, tomcat is not really shutting down. The port is still in used. I can access the page from other computer using all the ports that I used before. Simple... It seems that tomcat is not shutting down :( What version are you using? (I never had a problem like it so far). Can you use that tomcat instance just for one request or several? (There's a bug in Linux preventing successful unbinding of server sockets until a connection is made to that port). Pier Also what JVM are you using? The Kaffe JVM that comes with some (Red Hat, perhaps?) distributions by default doesn't correctly release the ports, thus preventing shutdown. Randy __ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/ -- D. Jay Newman ! // The worst possible legal hashCode [EMAIL PROTECTED]! public int hashCode() { return 42;} http://www.sprucegrove.com/~jay/ !-- _Effective Java_ __ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/
RE: cannot reuse port
My current port number is 8089. I just stop tomcat and use the netstat -an | grep 80 to see what happend to the port 8089. It is still listening. Shutdown.sh cannot close the port connection at all. Is there a way I can mamually close the port? --- Jeff Rancier [EMAIL PROTECTED] wrote: This was after stopping Tomcat? I would've expected the 8080 port to be in a TIME_WAIT or some FIN state? Anyone else help here? Also what about thoe 8081-809x ports, what are they? -Original Message- From: Yu Ye Zhou [mailto:[EMAIL PROTECTED]] Sent: Friday, August 03, 2001 3:22 PM To: [EMAIL PROTECTED] Subject: RE: cannot reuse port I get the following: tcp0 0 0.0.0.0:8035 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:8036 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:8037 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:8007 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:8080 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:80 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:8017 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:8081 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:8082 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:8083 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:8084 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:8085 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:8089 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:8091 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:8027 0.0.0.0:* LISTEN tcp3 0 127.0.0.1:8036 127.0.0.1:1077 CLOSE_WAIT tcp3 0 127.0.0.1:8027 127.0.0.1:1073 CLOSE_WAIT tcp3 0 127.0.0.1:8007 127.0.0.1:1056 CLOSE_WAIT I also have apache running. Apache version is 1.3.19 from the linux package. I'm not able to shut down the apache server also. More over, now, if I start up tomcat, the system kills my process and says memory low. Yu Ye Zhou --- Jeff Rancier [EMAIL PROTECTED] wrote: What do you get when you type: netstat -an | grep 80 ? -Original Message- From: Yu Ye Zhou [mailto:[EMAIL PROTECTED]] Sent: Friday, August 03, 2001 3:06 PM To: [EMAIL PROTECTED] Subject: RE: cannot reuse port The version is 1.1 --- Jeff Rancier [EMAIL PROTECTED] wrote: Type: java -version -Original Message- From: Yu Ye Zhou [mailto:[EMAIL PROTECTED]] Sent: Friday, August 03, 2001 3:02 PM To: [EMAIL PROTECTED] Subject: RE: cannot reuse port I'm using the default JVM. I download the JDK1.2.2 and set that as the JAVA_HOME. Thanks Yu Ye Zhou --- Randy Layman [EMAIL PROTECTED] wrote: -Original Message- From: Pier P. Fumagalli [mailto:[EMAIL PROTECTED]] Sent: Friday, August 03, 2001 1:08 PM To: [EMAIL PROTECTED] Subject: Re: cannot reuse port Yu Ye Zhou at [EMAIL PROTECTED] wrote: Hi: I installed tomcat in linux. When ever I start up tomcat, I cannot use the port number that I use before. If I use 8080 to start up tomcat, then shut dowon and start up again, it says address in used. I have to change to any other ports that I didn't use before in order to start tomcat successfully. In addition, even after the use shutdown.sh, tomcat is not really shutting down. The port is still in used. I can access the page from other computer using all the ports that I used before. Simple... It seems that tomcat is not shutting down :( What version are you using? (I never had a problem like it so far). Can you use that tomcat instance just for one request or several? (There's a bug in Linux preventing successful unbinding of server sockets until a connection is made to that port). Pier Also what JVM are you using? The Kaffe JVM that comes with some (Red Hat, perhaps?) distributions by default doesn't correctly release the ports, thus preventing shutdown. Randy __ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/ __ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/ __ === message truncated
RE: cannot reuse port
ps does not show me the process id for tomcat. Is there any way to find out the process id? --- Jeff Rancier [EMAIL PROTECTED] wrote: I would continue to research the reason the script won't stop it. I suppose you can find out the process ID and then kill it. -Original Message- From: Yu Ye Zhou [mailto:[EMAIL PROTECTED]] Sent: Friday, August 03, 2001 3:45 PM To: [EMAIL PROTECTED] Subject: RE: cannot reuse port My current port number is 8089. I just stop tomcat and use the netstat -an | grep 80 to see what happend to the port 8089. It is still listening. Shutdown.sh cannot close the port connection at all. Is there a way I can mamually close the port? --- Jeff Rancier [EMAIL PROTECTED] wrote: This was after stopping Tomcat? I would've expected the 8080 port to be in a TIME_WAIT or some FIN state? Anyone else help here? Also what about thoe 8081-809x ports, what are they? -Original Message- From: Yu Ye Zhou [mailto:[EMAIL PROTECTED]] Sent: Friday, August 03, 2001 3:22 PM To: [EMAIL PROTECTED] Subject: RE: cannot reuse port I get the following: tcp0 0 0.0.0.0:8035 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:8036 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:8037 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:8007 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:8080 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:80 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:8017 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:8081 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:8082 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:8083 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:8084 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:8085 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:8089 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:8091 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:8027 0.0.0.0:* LISTEN tcp3 0 127.0.0.1:8036 127.0.0.1:1077 CLOSE_WAIT tcp3 0 127.0.0.1:8027 127.0.0.1:1073 CLOSE_WAIT tcp3 0 127.0.0.1:8007 127.0.0.1:1056 CLOSE_WAIT I also have apache running. Apache version is 1.3.19 from the linux package. I'm not able to shut down the apache server also. More over, now, if I start up tomcat, the system kills my process and says memory low. Yu Ye Zhou --- Jeff Rancier [EMAIL PROTECTED] wrote: What do you get when you type: netstat -an | grep 80 ? -Original Message- From: Yu Ye Zhou [mailto:[EMAIL PROTECTED]] Sent: Friday, August 03, 2001 3:06 PM To: [EMAIL PROTECTED] Subject: RE: cannot reuse port The version is 1.1 --- Jeff Rancier [EMAIL PROTECTED] wrote: Type: java -version -Original Message- From: Yu Ye Zhou [mailto:[EMAIL PROTECTED]] Sent: Friday, August 03, 2001 3:02 PM To: [EMAIL PROTECTED] Subject: RE: cannot reuse port I'm using the default JVM. I download the JDK1.2.2 and set that as the JAVA_HOME. Thanks Yu Ye Zhou --- Randy Layman [EMAIL PROTECTED] wrote: -Original Message- From: Pier P. Fumagalli [mailto:[EMAIL PROTECTED]] Sent: Friday, August 03, 2001 1:08 PM To: [EMAIL PROTECTED] Subject: Re: cannot reuse port Yu Ye Zhou at [EMAIL PROTECTED] wrote: Hi: I installed tomcat in linux. When ever I start up tomcat, I cannot use the port number that I use before. If I use 8080 to start up tomcat, then shut dowon and start up again, it says address in used. I have to change to any other ports that I didn't use before in order to start tomcat successfully. In addition, even after the use shutdown.sh, tomcat is not really shutting down. The port is still in used. I can access the page from other computer using all the ports that I used before. Simple... It seems that tomcat is not shutting down :( What version are you using? (I never had a problem like it so far). Can you use that tomcat instance just for one request or several? (There's a bug in Linux preventing successful unbinding of server sockets until a connection is made to that port). === message truncated === __ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/
RE: cannot reuse port
I use shutdown.sh. Stop tomcat comes up and I was returned to the promp. --- Jeff Rancier [EMAIL PROTECTED] wrote: How are you shutting it down? -Original Message- From: Yu Ye Zhou [mailto:[EMAIL PROTECTED]] Sent: Friday, August 03, 2001 3:37 PM To: [EMAIL PROTECTED] Subject: RE: cannot reuse port I use tomcat the 8080 as default first, then stop tomcat and do some other stuff. After a while, I restart tomcat. I get message as Address already in use. So I change the port to 8081. Tomcat starts successfully. I stop tomcat and restart it. Every time I restart, I need to use a new port number. That's how they come from. It is all get connected by changing the port number and starting up tomcat. --- Jeff Rancier [EMAIL PROTECTED] wrote: This was after stopping Tomcat? I would've expected the 8080 port to be in a TIME_WAIT or some FIN state? Anyone else help here? Also what about thoe 8081-809x ports, what are they? -Original Message- From: Yu Ye Zhou [mailto:[EMAIL PROTECTED]] Sent: Friday, August 03, 2001 3:22 PM To: [EMAIL PROTECTED] Subject: RE: cannot reuse port I get the following: tcp0 0 0.0.0.0:8035 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:8036 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:8037 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:8007 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:8080 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:80 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:8017 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:8081 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:8082 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:8083 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:8084 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:8085 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:8089 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:8091 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:8027 0.0.0.0:* LISTEN tcp3 0 127.0.0.1:8036 127.0.0.1:1077 CLOSE_WAIT tcp3 0 127.0.0.1:8027 127.0.0.1:1073 CLOSE_WAIT tcp3 0 127.0.0.1:8007 127.0.0.1:1056 CLOSE_WAIT I also have apache running. Apache version is 1.3.19 from the linux package. I'm not able to shut down the apache server also. More over, now, if I start up tomcat, the system kills my process and says memory low. Yu Ye Zhou --- Jeff Rancier [EMAIL PROTECTED] wrote: What do you get when you type: netstat -an | grep 80 ? -Original Message- From: Yu Ye Zhou [mailto:[EMAIL PROTECTED]] Sent: Friday, August 03, 2001 3:06 PM To: [EMAIL PROTECTED] Subject: RE: cannot reuse port The version is 1.1 --- Jeff Rancier [EMAIL PROTECTED] wrote: Type: java -version -Original Message- From: Yu Ye Zhou [mailto:[EMAIL PROTECTED]] Sent: Friday, August 03, 2001 3:02 PM To: [EMAIL PROTECTED] Subject: RE: cannot reuse port I'm using the default JVM. I download the JDK1.2.2 and set that as the JAVA_HOME. Thanks Yu Ye Zhou --- Randy Layman [EMAIL PROTECTED] wrote: -Original Message- From: Pier P. Fumagalli [mailto:[EMAIL PROTECTED]] Sent: Friday, August 03, 2001 1:08 PM To: [EMAIL PROTECTED] Subject: Re: cannot reuse port Yu Ye Zhou at [EMAIL PROTECTED] wrote: Hi: I installed tomcat in linux. When ever I start up tomcat, I cannot use the port number that I use before. If I use 8080 to start up tomcat, then shut dowon and start up again, it says address in used. I have to change to any other ports that I didn't use before in order to start tomcat successfully. In addition, even after the use shutdown.sh, tomcat is not really shutting down. The port is still in used. I can access the page from other computer using all the ports that I used before. Simple... It seems that tomcat is not shutting down :( What version are you using? (I never had a problem like it so far). Can you use that tomcat instance just for one request or several? (There's a bug in Linux preventing successful unbinding of server sockets until a connection is made to that === message truncated