Re: Tomcat Hogging CPU
John, I'm using 5.5.17. I'm actually not using it right now for the 15,000 visits per day site, though. I just develop these things and usually kick my clients off my server when their bandwidth gets too high. I remember lots of problems with 5.0 including race conditions like you've mentioned. I'm in the process of moving to 6.0, but am very cautious because 5.5 is so reliable. Omar [EMAIL PROTECTED] wrote: Omar: What version of Tomcat do you use? -- Original message -- From: Omar Eljumaily [EMAIL PROTECTED] What's your definition of a connection? Is it a session? I've had an average of about 300 active sessions which amounted to about 15,000 unique visits per day. This was on a machine with substantially less power than yours. We average 150 active connections per web server. What do others average? - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat Hogging CPU
What's your definition of a connection? Is it a session? I've had an average of about 300 active sessions which amounted to about 15,000 unique visits per day. This was on a machine with substantially less power than yours. We average 150 active connections per web server. What do others average? - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: rpm for tomcat 5.5 compatitble with java 1.6
Tom, Charles is correct about using the binary distributions at tomcat.apache.org. There isn't a lot of need to use rpms since there are extremely few dependencies. The only one I can think of for a base install is Java. The only other setup you need to do is to set JAVA_HOME and then run startup.sh. Yum/RPMs in theory can keep you up to date, but updating is always treacherous with or without RPMs. Caldarale, Charles R wrote: From: Tom H [mailto:[EMAIL PROTECTED] Subject: rpm for tomcat 5.5 compatitble with java 1.6 Are there are repositories maintaining a Tomcat 5.5 that is compatible with the Sun java SE 1.6 rpm available at the moment? Sure - use a real Tomcat download: http://tomcat.apache.org/download-55.cgi Third-party repackaged versions are notoriously troublesome. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Anybody using GNU Java
Thanks Leon and everybody else who replied. My problem was that I was trying to run the pure .bin installer instead of the .bin that decompresses to an RPM and then install the RPM. The later works fine with no other dependencies necessary. Running the .bin installer may work under some FC6 installations because of different dependencies installed. However, the one I used, which is to do the default install with only development checked only works with the RPM method. Leon Rosenberg wrote: Yes. Goto http://java.sun.com/javase/downloads/index.jsp Select JDK 6u1 Select your OS version. Download the binary, run it in a folder of your choice. set JAVA_HOME. ready. Leon P.S. I usually link /usr/local/java to the download location i.e. /opt/java/jdk.1.6.0 and set the JAVA_HOME to /usr/local/java, and add $JAVA_HOME/bin/ to $PATH. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Anybody using GNU Java
in a production Tomcat environment? I tried this once before a few years ago, and ran into some nasty bugs. Sun's Java, for me, is getting a bit weird, especially on Linux. I never quite know which version to download, each one having at least two or three different numbers associated with it. That's Java Super Enterprise 6, with SDK version 5, etc The latest problem I'm running into is that I'm trying to update to Fedora 6 which uses libstdc++.so.6, and Sun's java insists on version 5. I suppose I could install 5, but I feel that creepy dependency hell feeling coming on when I think about it. So anyway, is anybody successfully using GNU Java? If not, does anybody have any tips for installing the proper version of Sun's Java on FC6? Thanks - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Cannot Access Tomcat Server Using IP Address
First of all, you need to access it via http://ipaddress:8080/login.html If you want port 80, you need to set up the appropriate connector or redirect port 8080 to port 80. Also, you may have a firewall issue. Which OS are you using? Teh Noranis Mohd Aris wrote: Dear All, I've tested my applications using http://localhost:8080/login.html in the same computer and it works. However, when I tried to acces my applications using an IP Address in another computer by typing http://ipaddress/login.html, The page cannot be found is displayed. How can I access my applications using IP address? Please help me. Thank you. Yours Sincerely, TEH - Give spam the boot. Take control with tough spam protection in the all-new Yahoo! Mail Beta. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Cannot Access Tomcat Server Using IP Address
I don't understand. Are you able to access login.html from outside your server machine? The socketpermerission problem you have sounds like a firewall issue or a administrator privileges problem not allowing you to accept incoming sockets. Are you running with administrator privs on XP? XP and Linux deal with firewalls and permissions differently. Linux is a bit more straight forward in my opinion. You just accept queries on 8080 and then redirect port 80 if you want to resolve static pages. SELinux can be an issue, but is usually simple to solve by tweaking a setting. Teh Noranis Mohd Aris wrote: Thank you. It's working now, the application can be accessed but when I type a file name to access a file in the server, I got an error java.security.AccessControlException:access denied (java.net.SocketPermission localhost:8080 connect, resolve). How can I solve this problem? For your information, I'm now using Windows XP Operating System but I plan to use Linux Fedora Operaing System later. Is there a difference in accessing the application using different operating system? Thank you. Yours Sincerely, TEH David Smith [EMAIL PROTECTED] wrote: Include the port number in your request -- ie http://ipaddress:8080/login.html --David Teh Noranis Mohd Aris wrote: Dear All, I've tested my applications using http://localhost:8080/login.html in the same computer and it works. However, when I tried to acces my applications using an IP Address in another computer by typing http://ipaddress/login.html, The page cannot be found is displayed. How can I access my applications using IP address? Please help me. Thank you. Yours Sincerely, TEH - Give spam the boot. Take control with tough spam protection in the all-new Yahoo! Mail Beta. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos more. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Different security constraints for different ip addresses
I want to be able to give non login authorization for a local subnet, but force everybody else to login to a site. Can I do this with combinations of ip-constraint and auth-constraint in web.xml? Something like the following would give access to a private subnet. Could I give access to everybody else by forcing them to login? security-constraint web-resource-collection url-pattern/admin/*/url-pattern /web-resource-collection ip-constraint allow192.168.1.0/24/allow /ip-constraint /security-constraint Thanks. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]