Re: Web spiders - disabling jsessionid

2006-12-03 Thread Rashmi Rubdi
- Original Message From: brycenesbitt [EMAIL PROTECTED] The problem in many cases is the author does not care about sessions at all! Creating semicolon-based URL strings is the default in Tomcat/Struts. We get session ID's not because we want a session, but because we can't figure out

RE: Web spiders - disabling jsessionid

2006-12-03 Thread Caldarale, Charles R
From: brycenesbitt [mailto:[EMAIL PROTECTED] Subject: Re: Web spiders - disabling jsessionid Creating semicolon-based URL strings is the default in Tomcat/Struts. I don't know about Struts, but that's not true for Tomcat. Look at the cookies attribute of the Context tag:

RE: Web spiders - disabling jsessionid

2006-12-03 Thread Caldarale, Charles R
From: brycenesbitt [mailto:[EMAIL PROTECTED] Subject: Re: Web spiders - disabling jsessionid I can't force a ; based jsessionid to show in Firefox. Try turning off cookies in your browser. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is

Re: Web spiders - disabling jsessionid

2006-12-03 Thread brycenesbitt
Rashmi Rubdi wrote: As discussed previously in this thread you can turn jsessionid in the URL off easily by setting the cookies attribute of Context to true. http://tomcat.apache.org/tomcat-5.0-doc/config/context.html No option seems to match the need: true -- uses URL-rewriting if the

RE: Web spiders - disabling jsessionid

2006-12-03 Thread brycenesbitt
Caldarale, Charles R wrote: Try turning off cookies in your browser. Sorry for the lack of clarity. I can't force jessionid to show up even with cookies off in the browser. Using wget from the unix command line (no cookies!) I get a jsessionid for images:

RE: Web spiders - disabling jsessionid

2006-12-03 Thread brycenesbitt
Caldarale, Charles R wrote: From: brycenesbitt [mailto:[EMAIL PROTECTED] Subject: Re: Web spiders - disabling jsessionid Creating semicolon-based URL strings is the default in Tomcat/Struts. I don't know about Struts, but that's not true for Tomcat. Look at the cookies attribute of

Probm in starting Tomcat5.5

2006-12-03 Thread thiru chengodu
Hi, i'm using Tomcat 5.5.1 in windows xp, Now i cant start Tomcat and receiving the following err while try to start...PLEASE HELP ME TO RECOVER THIS PROBLEM and why it happens? *Error:* *Windows could'nt start TOMCAT in ur local machine.* -- thiruchengodu Bangalore

JNDI problem with Tomcat start-up

2006-12-03 Thread Chris Hampson
This is bugging me because i'm almost certain I have done this before. I have a servlet which used a JNDI definition of a datasource to connect to a MySQL database. If I run the servlet by browsing to the URL it is mapped it all works fine. I am trying to get the servlet to run on Tomcat

Re: JNDI problem with Tomcat start-up

2006-12-03 Thread Mark Thomas
Chris Hampson wrote: This is bugging me because i'm almost certain I have done this before. I have a servlet which used a JNDI definition of a datasource to connect to a MySQL database. If I run the servlet by browsing to the URL it is mapped it all works fine. I am trying to get the servlet

Re: Probm in starting Tomcat5.5

2006-12-03 Thread David Smith
thiru chengodu wrote: Hi, i'm using Tomcat 5.5.1 in windows xp, Now i cant start Tomcat and receiving the following err while try to start...PLEASE HELP ME TO RECOVER THIS PROBLEM and why it happens? *Error:* *Windows could'nt start TOMCAT in ur local machine.* Have you looked at

Re: JNDI problem with Tomcat start-up

2006-12-03 Thread Chris Hampson
Sorry it v5.5.20 From: Mark Thomas [EMAIL PROTECTED] Reply-To: Tomcat Users List users@tomcat.apache.org To: Tomcat Users List users@tomcat.apache.org Subject: Re: JNDI problem with Tomcat start-up Date: Sun, 03 Dec 2006 10:51:35 -0500 Chris Hampson wrote: This is bugging me because i'm

Re: Web spiders - disabling jsessionid

2006-12-03 Thread Rashmi Rubdi
Or simply leave out the cookies attribute in your Context, this defaults to cookies = true anyway. No option seems to match the need: true -- uses URL-rewriting if the browser does not support cookies. this is exactly the problem, as spiders don't use cookies. No. Googlebot and other bots

Re: standard Apache 2.2 Tomcat 5.5 config to avoid open-proxies

2006-12-03 Thread Art
Since 5.5, I really like the performance of a pure Tomcat solution and would alway choose this option, but in order to use SSL with my webapp I need to use it: http://support.liferay.com/browse/LEP-1605 So I do need to complicate my life in this way. Does anyone have a suggestion? - Art

Re: JNDI problem with Tomcat start-up

2006-12-03 Thread Mark Thomas
Chris Hampson wrote: Sorry it v5.5.20 Looking at the source JNDI is up and running well before the load on start-up servlets are loaded so you should be fine. As far as I am aware, no trick is required. I would start with a simple test case in an empty webapp and a clean Tomcat install and see

Modifications to JNDI environment from admin or jmxproxy not seen in application

2006-12-03 Thread Eric
Anybody have any ideas on this? I'm using tomcat 5.5.20 - Forwarded message from Eric [EMAIL PROTECTED] - Date: Fri, 1 Dec 2006 14:03:19 -0600 From: Eric [EMAIL PROTECTED] Subject: Modifications to JNDI environment from admin or jmxproxy not seen in application To:

Re: Web spiders - disabling jsessionid

2006-12-03 Thread Eric Haszlakiewicz
On Fri, Dec 01, 2006 at 04:50:02PM -0500, Christopher Schultz wrote: Mikolaj Rydzewski wrote: Caldarale, Charles R wrote: That contradicts what Len said about his site: On my site (as on many others) you can browse the site without a session, but if you want to log in (to add content or

Re: Web spiders - disabling jsessionid

2006-12-03 Thread Rashmi Rubdi
Original Message From: Eric Haszlakiewicz [EMAIL PROTECTED] Perhaps that is the /quickest/ solution, but I would argue that the best solution is not to create a session if you don't actually need one. heh. yeah, not creating the session is definitely NOT the quickest way. :) eric

Re: Web spiders - disabling jsessionid

2006-12-03 Thread brycenesbitt
Rashmi Rubdi wrote: So the solution for Bryce would be to leave the session on on each JSP page, and omit the cookies attribute of Context which defaults it to true. This should solve the problem of jsessionid for bots. From my observation search bots support cookies otherwise I would

Re: Re: Host Aliases

2006-12-03 Thread James McIntosh
I am running 5.5.20 but looking at the CVS source to see what is going on. Have you tried inserting a host alias with JMX before? Kind regards James McIntosh which source zip/gzip or cvs? M- This e-mail communication and any attachments may contain confidential and privileged information

Re: Web spiders - disabling jsessionid

2006-12-03 Thread Rashmi Rubdi
- Original Message From: brycenesbitt [EMAIL PROTECTED] Rashmi Rubdi wrote: So the solution for Bryce would be to leave the session on on each JSP page, and omit the cookies attribute of Context which defaults it to true. This should solve the problem of jsessionid for bots. From

Re: Web spiders - disabling jsessionid

2006-12-03 Thread Len Popp
On 12/3/06, Rashmi Rubdi [EMAIL PROTECTED] wrote: No , I'm using Tomcat 5.5. And I've omitted the cookies attribute of Context in my Tomcat settings. And Googlebot or any other bot is accessing the URLs just fine (that is without the jsessionid ). When I look in the server access logs,

Re: Web spiders - disabling jsessionid

2006-12-03 Thread Rashmi Rubdi
I don't know because this problem doesn't happen in my case, on 2 different web applications. Bryce should really test his case by setting cookies=true or remove the cookies attribute and test his links with Xenu to see if he still gets jsessionid with Xenu. - Original Message From:

Re: Web spiders - disabling jsessionid

2006-12-03 Thread Rashmi Rubdi
One thing about search engine bots though is that repairs to jsessionid (removing jsession id) from URLs won't be instantaneous, because they cache all URLs, and on subsequent visits they visit each cached URL. This means that even if you solve the problem of jsessionid now, you will still see

Re: Web spiders - disabling jsessionid

2006-12-03 Thread brycenesbitt
Rashmi Rubdi wrote: I don't know because this problem doesn't happen in my case, on 2 different web applications. Bryce should really test his case by setting cookies=true or remove the cookies attribute and test his links with Xenu to see if he still gets jsessionid with Xenu. A

Re: Probm in starting Tomcat5.5

2006-12-03 Thread Andre Prasetya
How do you start your tomcat ? using windows services ? try using the batch file startup.bat located at /bin of your tomcat installation directory. -Andre- On 12/3/06, thiru chengodu [EMAIL PROTECTED] wrote: Hi, i'm using Tomcat 5.5.1 in windows xp, Now i cant start Tomcat and receiving the

Help me understand Tomcat configuration

2006-12-03 Thread Jamie Krasnoo
I'm new to Tomcat. I started delving in to it because of OpenLaszlo since it's an application that requires it. It's fantastic. However I'm having trouble figuring out how to configure Tomcat. I've looked through the documentation but I can't seem to get Containers. Why its called a container and

RE: Help me understand Tomcat configuration

2006-12-03 Thread Caldarale, Charles R
From: Jamie Krasnoo [mailto:[EMAIL PROTECTED] Subject: Help me understand Tomcat configuration I've looked through the documentation but I can't seem to get Containers. Why its called a container and its relation to the server and how it runs. Practically speaking, the server is the

Re: Web spiders - disabling jsessionid

2006-12-03 Thread Rashmi Rubdi
- Original Message From: brycenesbitt [EMAIL PROTECTED] A quick google search will show this happens to many other people -- even if your webapps are magically immune. http://www.citycarshare.org/ is definitely affected. It's not magically immune. It's just built differently from