How iss Tomcat's performance?
Hi, I have two web site running on Apache Tomcat 4.0.4 I am quite suspicious of the performance of Tomcat. (I use Tomcat-standalone) At this time the visit count of these sites are not so much (100-200 people each day) I want to know how powerful Tomcat is? Bye the way what would be your choice for a web server for a NT machine. (I need JSP and Servlet support) Thanks in advance, Serdar
Re: create a new port in tomcat
hi, actually what i want is to see to different web pages when i go www.xx.com and www.xx.com:85. (there will be two application and when i go www.xxx.com index.html of first application will be shown and when i go www.xx.com:85 the other index.html will be shown.) filtering may be a good solution but can you give an example how to make a filtering. thanks serdar - Original Message - From: "Shapira, Yoav" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Monday, July 15, 2002 2:50 PM Subject: RE: create a new port in tomcat Howdy, Add a connector for the port you want. Add a context element for the webapp you want. Restart server. That's it ;) All your contexts will be accessible on all your connectors. If you want a context that will be accessible only on a given port, one possible option is to include a request filter in that context that rejects all requests not coming from a given port. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Serdar BOZDAG [mailto:[EMAIL PROTECTED]] >Sent: Saturday, July 13, 2002 7:30 AM >To: tomcatGroup >Subject: create a new port in tomcat > >hello, >i need to open a new port and map a project (context) to this port. I think >i will make some changes in connectors and contexts but i do not know the >exact solution > >please help me with an example > >thanks in advance.. > >serdar -- 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]>
Re: deny to access the static context
i think i don't. i am new at this tomcat staff could you give more precise information about this index file and by the way i have another question about opening a new port (85 for instance) for another application. what changes will i do in the configuration. (please give example) thanks serdar - Original Message - From: "Eddie Bush" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Sunday, July 14, 2002 11:02 PM Subject: Re: deny to access the static context > Do you have an index (from your web.xml welcome-file-list) page in the > directory Meodies? It sounds like you do not. That would be required. > Not only do you need to have the index, but you also need to have it > specified in the welcome-file-list section of your web.xml. > > Serdar BOZDAG wrote: > > >I am giving detailed information about my server and paraphrase my question: > > > >I am using tomcat standalone as server. (version 4.0.4) > > > >when a user enters http:\\www..com/Melodies\melody1.au it can listen but > >http:\\www..com\Melodies s/he will not avble to see all my melodies. > > > >thanks in advance... > >serdar > > > > > > -- > 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]>
Re: deny to access the static context
I am giving detailed information about my server and paraphrase my question: I am using tomcat standalone as server. (version 4.0.4) when a user enters http:\\www..com/Melodies\melody1.au it can listen but http:\\www..com\Melodies s/he will not avble to see all my melodies. thanks in advance... serdar - Original Message - From: "Eddie Bush" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Sunday, July 14, 2002 7:54 PM Subject: Re: deny to access the static context > Assuming Apache handles your static content (ie TC + Apache + mod_jk) > that's an Apache configuration question. ... but it's really hard to > know what your options are unless you actually tell us what your > configuration is (what, precisely, are you using to serve those files?). > > Serdar BOZDAG wrote: > > >hi, > >i want to deny the access a folder under the static contexts (webapps\ROOT\Melodies for insance) > > > >when entered http://www.xx.com/Melodies, I do not want to show the content of this folder. > >is it possible? > >thanks > >serdar > > > > > > -- > 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]>
deny to access the static context
hi, i want to deny the access a folder under the static contexts (webapps\ROOT\Melodies for insance) when entered http://www.xx.com/Melodies, I do not want to show the content of this folder. is it possible? thanks serdar
Re: Two Questions about Tomcat
thanks but when i add another http connector how will the context elements know to use the correct connector. for instance there are two ports (connectors) 80 and 85 and in server.xml two contexts and and which page will be shown when I call http://localhost and http://localhost:85 thanks.. serdar - Original Message - From: "Ralph Einfeldt" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Friday, July 12, 2002 4:22 PM Subject: AW: Two Questions about Tomcat See below: > -Ursprüngliche Nachricht- > Von: Serdar BOZDAG [mailto:[EMAIL PROTECTED]] > Gesendet: Freitag, 12. Juli 2002 15:18 > An: tomcatGroup > Betreff: Two Questions about Tomcat > > 1. Can I access from browser to a folder under the WEB-INF folder. No. > 2. How can I add another server (on port 85 for instance) in Tomcat If you use tomcat standlone, define a second http connector with this port. -- 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]>