How to disable search machines?

2006-09-11 Thread Zsolt
Hi, I see that google and msn searches on our pages (tomcat-5.5.17). How can I disable that? Zsolt - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: How to disable search machines?

2006-09-11 Thread Bob Hall
--- Zsolt [EMAIL PROTECTED] wrote: Hi, I see that google and msn searches on our pages (tomcat-5.5.17). How can I disable that? Zsolt Zsolt, See go away example on http://www.robotstxt.org/wc/norobots.html - Bob __ Do You Yahoo!?

Re: How to disable search machines?

2006-09-11 Thread Santosh Puranshettiwar
There is a robot.txt standard followed by web servers and search engines which specifies if a search agent can / cannot index files on a server. Zsolt wrote: Hi, I see that google and msn searches on our pages (tomcat-5.5.17). How can I disable that? Zsolt

is it mandatory to have 3 tables in JDBCRealm database ..

2006-09-11 Thread legolas
Hi Thank you for reading my post is it manedatory to have 3 tables like users , roles , user_roles in a tomcat jdbcRealm ? can we use one table and do all mapping for one table in server.xml ? my users has no more than one role so i do not need to have user_role and roles tables. i just change a

RE: stopping a tomcat web application

2006-09-11 Thread asaf.lahav
Hi Martin, AFAIK, the API you are referring to stopps the entire tomcat. What I'm looking for is a way to start/stop one of many web applications which are running under tomcat 5.5 Thanks in advance, Asaf -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Sunday,

Re: UserTransaction, JOTM and Tomcat 5.5.x

2006-09-11 Thread Ignacio de Córdoba
Hi there, I am trying to follow docs in these messages to implement transaction support in my stand alone Tomcat 5.5.17, but not to use it with JDBC but with a remote JBoss server. I get a comp not bound error: Caused by: javax.naming.NameNotFoundException: comp not bound at

Re: Error while converting tomcat container from http to https

2006-09-11 Thread annlee
Hi Keyur, I've just tried this out and it works. You should add the SSLImplementation=org.apache.tomcat.util.net.jsse.JSSEImplementation in Connector tag in server.xml file that resides under $CATALINA_HOME/conf directory. So, it should look like this in server.xml Connector

Re: Performance monitoring for web applications

2006-09-11 Thread Michele Mazzucco
You could also try this tool (I haven't used it): http://www.hyperic.com/products/ It uses this library http://www.hyperic.com/products/sigar.html which can be downloaded from Sourceforge. Michele Michael Echerer wrote: Shimol Shah wrote: Hi, Hi, I am trying to look for a way to

Re: JNDI, Hibernate, Tomcat

2006-09-11 Thread Andrew Stepanenko
hello, we have a working tomcat + hibernate setup in our project. What error do you get? Post some logs. Regards, -- Andrew Stepanenko, Software engineer, Ukrainian-Dutch Faculty of Economics and Management Ternopil State Economic University Shevchenko Street 9, Office 24-25 Ternopil, 46000

Re: configuration setting to disable URL sessions?

2006-09-11 Thread Chetan Sabnis
Or, you could write a filter that checks request.isRequestedSessionIdFromURL() and invalidates the session if it is. btw, if there is a cookie set, that overrides anything provided in the url. eric This is what I ended up doing. Thanks.

filter or valve to trap successful login?

2006-09-11 Thread Jon Yeargers
Im working with a JNDI realm to control access to a site. I need to be able to 'trap' a successful login to any one of the pages in the site so that I can create a session bean with login information. Is it possible to tie a filter or valve to the login process and get the information *before*

Re: filter or valve to trap successful login?

2006-09-11 Thread David Delbecq
Put a filter on your application, in this filter, check if there is currently a principal, if yes, check if there is already your bean in the session. If not, create it. Then forward to the next of filter chain. As you are in a filter, you will be notified before the servelt / JSP requested by

jsvc + Tomcat vs Apache + Tomcat

2006-09-11 Thread Greg Johnson
If I put Apache in front of Tomcat, can I run Tomcat on port 8080, yet have Apache serve the content on port 80? My production web server is currently running standalone Tomcat on Linux. I chose to use jsvc to serve the content on port 80. For the most part, jsvc works, but it has a few

using Tomcat as template engine

2006-09-11 Thread Juergen Weber
Hi, can you use Tomcat as a template engine that can be called from a standalone Java program? It would be nice to do something like Writer out = ... request.setAttribute(user, Juergen); callTomcat(out,request,mytemplate.jsp); If not, should I enter an enhancement Bug? Thanks, Juergen

Re: jsvc + Tomcat vs Apache + Tomcat

2006-09-11 Thread David Smith
Greg Johnson wrote: If I put Apache in front of Tomcat, can I run Tomcat on port 8080, yet have Apache serve the content on port 80? My production web server is currently running standalone Tomcat on Linux. I chose to use jsvc to serve the content on port 80. For the most part, jsvc works,

Re: jsvc + Tomcat vs Apache + Tomcat

2006-09-11 Thread Hassan Schroeder
On 9/11/06, Greg Johnson [EMAIL PROTECTED] wrote: My production web server is currently running standalone Tomcat on Linux. I chose to use jsvc to serve the content on port 80. You could use iptables to re-route port 80 traffic to Tomcat running on a non-privileged port e.g. 8080... --

Re: Persistent session after browser restart, cookie expiration

2006-09-11 Thread Marc Richards
Could be wrong, but it doesn't sound like you really want to use sessions for this usage because session attributes are stored in memory in Tomcat (unless you're using a backup manager). In time, you will have many sessions and cap your physical memory. It sounds like you just need to use a

Re: jsvc + Tomcat vs Apache + Tomcat

2006-09-11 Thread Steve R Burrus
I am sorry but I need to know what exactly this jsvc technolology is?? I have frankly never heard of it ever before. I await your anticipated response. Greg Johnson wrote: If I put Apache in front of Tomcat, can I run Tomcat on port 8080, yet have Apache serve the content on port 80? My

RE: jsvc + Tomcat vs Apache + Tomcat

2006-09-11 Thread Caldarale, Charles R
From: Steve R Burrus [mailto:[EMAIL PROTECTED] Subject: Re: jsvc + Tomcat vs Apache + Tomcat I am sorry but I need to know what exactly this jsvc technolology is?? Google is your friend (you should try it sometime). The first reference returned:

Re: jsvc + Tomcat vs Apache + Tomcat

2006-09-11 Thread David Smith
See the Commons-Daemon project: http://jakarta.apache.org/commons/daemon --David Steve R Burrus wrote: I am sorry but I need to know what exactly this jsvc technolology is?? I have frankly never heard of it ever before. I await your anticipated response. Greg Johnson wrote: If I put

moving to linux

2006-09-11 Thread Asensio, Rodrigo
Hello, since Tomcat on Windows Server 2003 is not satisfying the expected performance whe are thinking about to move to Linux. Fedora Core 5 more precicesly. I would like to know what is the better combination, Tomcat as webserver or Apache with Tomcat as mod to execute java. Also, there is

Re: moving to linux

2006-09-11 Thread Leon Rosenberg
Hello, if performance is your goal bringing an apache in front won't do you any good. Fedora is probably as good as anything else, although i think it's a workstation distribution. For servers I prefer debian. regards Leon On 9/11/06, Asensio, Rodrigo [EMAIL PROTECTED] wrote: Hello, since

RE: moving to linux

2006-09-11 Thread Asensio, Rodrigo
I read that the only difference between fedora and RH enterprise is support and serveral packages. I'm not very familiar with linux, thatz why I decided use fedora right now. Maybe debian is better, but these days I feel more comfortable with Fed. Thanks for the tip. -Original Message-

Re: moving to linux

2006-09-11 Thread John Hinton
Leon Rosenberg wrote: Hello, if performance is your goal bringing an apache in front won't do you any good. Fedora is probably as good as anything else, although i think it's a workstation distribution. For servers I prefer debian. regards Leon Agreed... If you like cutting edge, go

Re: moving to linux

2006-09-11 Thread iñaki iñaki
Hi, why an apache in front doesn´t good? Regards On 9/11/06, Asensio, Rodrigo [EMAIL PROTECTED] wrote: I read that the only difference between fedora and RH enterprise is support and serveral packages. I'm not very familiar with linux, thatz why I decided use fedora right now. Maybe debian is

RE: moving to linux

2006-09-11 Thread Caldarale, Charles R
From: iñaki iñaki [mailto:[EMAIL PROTECTED] Subject: Re: moving to linux Hi, why an apache in front doesn´t good? Because you'd be adding path length and complexity, which is hardly a way to improve performance. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE

Re: moving to linux

2006-09-11 Thread iñaki iñaki
We have two tomcats with frontend´s in apache on solaris and at the moment is all right... Do you know more problems? Iñaki On 9/11/06, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: iñaki iñaki [mailto:[EMAIL PROTECTED] Subject: Re: moving to linux Hi, why an apache in front

RE: moving to linux

2006-09-11 Thread Asensio, Rodrigo
CentOS Debian with tomcat, how many users are you handling ? Here with 350 logged users our Win2003-Serv is suffering a lot all the time. I really want to know the capacity of tomcat handling lot of sessions concurrently. Thanks. R -Original Message- From: Leonel [mailto:[EMAIL

Re: moving to linux

2006-09-11 Thread David Salisbury
the added complexity is negligable _if_ you're already running Apache. I disagree about any added path length. Also, if the machine you're running on is going to have Oracle loaded on it... it would be best to stay away from debian.. and stick with SuSe. my 2 cents, -ds - Original

RE: moving to linux

2006-09-11 Thread Caldarale, Charles R
From: iñaki iñaki [mailto:[EMAIL PROTECTED] Subject: Re: moving to linux We have two tomcats with frontend´s in apache on solaris and at the moment is all right... Do you know more problems? The original question was concerned with one instance of Tomcat, not load balancing two instances

Re: moving to linux

2006-09-11 Thread Leon Rosenberg
On 9/11/06, Asensio, Rodrigo [EMAIL PROTECTED] wrote: CentOS Debian with tomcat, how many users are you handling ? Here with 350 logged users our Win2003-Serv is suffering a lot all the time. I really want to know the capacity of tomcat handling lot of sessions concurrently. depends on your

Re: moving to linux

2006-09-11 Thread Bruno Georges
Asensio I think that there are a lot of think to take into consideration before choosing your production platform. For example, what type of document are you serving (ratio static/dynamic). What is the usage pattern. Available bandwith. SLA. Concurrent connections. And so on.. If you want

Re: using Tomcat as template engine

2006-09-11 Thread Mikolaj Rydzewski
Juergen Weber wrote: can you use Tomcat as a template engine that can be called from a standalone Java program? It would be nice to do something like Writer out = ... request.setAttribute(user, Juergen); callTomcat(out,request,mytemplate.jsp); If not, should I enter an enhancement Bug? I

Putting tomcat on Mainframe running z/OS

2006-09-11 Thread Kevin Mullin
Does anyone have experience in porting tomcat (I'm using version 5.5.17) to a mainframe system that is running z/OS operating system software? I'd appreciate getting any kind of 'heads up' information. I'm just in the process of downloading it and putting it there, but if anyone has experience

Re: moving to linux

2006-09-11 Thread Andrew Miehs
Hi Rodrigo, How long is a piece of string? The 'Brand' of linux only really makes a difference for administration purposes. Performance will be about the same on all, depending mainly on which version of the kernel you are running. Should you decide to go Linux, I would look at something

RE: moving to linux

2006-09-11 Thread Tracy Nelson
I'd also recommend you take a look at Solaris. It's free-as-in-beer now, and has good performance. You could also run it on your IBM hardware if you wind up getting a new AIX box. --- Tracy Nelson / Nelnet Business Solutions 402 / 617-9449 | -Original Message- | From: Asensio, Rodrigo

Problem setting up Application-managed DataSource???

2006-09-11 Thread Mark Barnes
I just cannot seem to get an Application-managed DataSource to work! I am using Tomcat 5.5.17 on JDK 1.5.0_07 on Red Hat Linux. I have done what I think is required in the context.xml and the web.xml files for my application to enable an Application-managed DataSource, and have done what is

simple connection pooling

2006-09-11 Thread Darren Hall
Hi all. I'm using Oracle 10g with Tomcat 5.5 and Struts 1.2.9. I'd like to set up connection pooling for my application. I've read the Tomcat HOW-TO on setting up a JNDI Datasource for connection pooling, but one thing confuses me - In the how-to, it states Configure the JNDI DataSource in Tomcat

Re: Putting tomcat on Mainframe running z/OS

2006-09-11 Thread Eric Haszlakiewicz
On Mon, Sep 11, 2006 at 02:26:24PM -0700, Kevin Mullin wrote: Does anyone have experience in porting tomcat (I'm using version 5.5.17) to a mainframe system that is running z/OS operating system software? I'd appreciate getting any kind of 'heads up' information. I'm

Re: simple connection pooling

2006-09-11 Thread Mark Thomas
Darren Hall wrote: Hi all. I'm using Oracle 10g with Tomcat 5.5 and Struts 1.2.9. When starting a new thread (ie sending a message to the list about a new topic) please do not reply to an existing message and change the subject line. To many of the list archiving services and mail clients used

connection pooling question (posted correctly)

2006-09-11 Thread Darren Hall
Hi all. I'm using Oracle 10g with Tomcat 5.5 and Struts 1.2.9. I'd like to set up connection pooling for my application. I've read the Tomcat HOW-TO on setting up a JNDI Datasource for connection pooling, but one thing confuses me - In the how-to, it states Configure the JNDI DataSource in

Re: connection pooling question (posted correctly)

2006-09-11 Thread David Smith
META-INF is if you pack your web app to be a .war file. Create the file in conf/Catalina/localhost but name it after the webapp. If your webapp is in the folder foo in the webapps directory, the file would be foo.xml. Also be sure your instructions are for tomcat 5.5 as the way the JNDI

Re: connection pooling question (posted correctly)

2006-09-11 Thread Leonel
On 9/11/06, David Smith [EMAIL PROTECTED] wrote: META-INF is if you pack your web app to be a .war file. Create the file in conf/Catalina/localhost but name it after the webapp. If your webapp is in the folder foo in the webapps directory, the file would be foo.xml. Also be sure your

RE: connection pooling question (posted correctly)

2006-09-11 Thread Darren Hall
Thanks David. The context element I'm using is taken directly from the examples. If you can tell just by looking, can you see if this looks correct for Tomcat 5.5 (otherwise I'll just use trial and error and web searching to figure it out). Thanks, Darren Context path=/flc docBase=flc

RE: connection pooling question (posted correctly)

2006-09-11 Thread Darren Hall
And the filename for the ROOT app ( / ) would beROOT.xml ? I don't know the answer, Lionel, but the logic seems to stand to reason. *wink* - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe,

RE: connection pooling question (posted correctly)

2006-09-11 Thread Caldarale, Charles R
From: Leonel [mailto:[EMAIL PROTECTED] Subject: Re: connection pooling question (posted correctly) And the filename for the ROOT app ( / ) would beROOT.xml ? Yes, if you're putting your Context descriptors in the conf/localhost/Catalina directory. You can also put them in

Log analysis with Apache, mod_jk and 2 Tomcat instances

2006-09-11 Thread Frank Niedermann
Hello, for a project I had to set up an environment with Apache2, mod_jk and 2 Tomcat instances. Apache2 / mod_jk will route requests to Tomcat1 and Tomcat2 (load balancing). How can I install a log analysis tool like AWstats into this environment? I mean which log files should I use,

How to redirect to a jsp

2006-09-11 Thread Romain Quilici
Hi all, this question seems simple, but I did not figure out how to answer it. In my web.xml I have defined a default servlet. So it can handle requests that does not match other servlets pattern. servlet-mapping servlet-nameDefaultServlet/servlet-name url-pattern//url-pattern

Re: Persistent session after browser restart, cookie expiration

2006-09-11 Thread Dies Koper
Hello Heiko, I think you're looking for the following method: javax.servlet.http.Cookie#setMaxAge(int expiry) Its default value (see getMaxAge()) is -1 = the cookie persists until browser shutdown. Regards, Dies Heiko Klein wrote: Hi, I'm currently moving an web-application from