Cannot create a link to a file - suspecting tomcat is the issue

2011-03-10 Thread John C
I am trying to create a link to a file in my webpage. The anchors href for the link is file:///C:/Users/OEM/Desktop/testa.txt. When I run my webpage from file I can click the link (file:///C:/Users/OEM/Documents/NetBeansProjects/WebApp/web/main.htm). However when I run my webpage using Apache

RE: Cannot create a link to a file - suspecting tomcat is the issue

2011-03-10 Thread John C
In case I did not explain myself well. I am trying to create a link to a file in a webpage. The link works fine using Apache + Tomcat if the file and link are both relative. This means that the html file containing the link to the text file is located in the same directory as the file itself.

RE: Cannot create a link to a file - suspecting tomcat is the issue

2011-03-10 Thread John C
... a config file, or a password file. If you need user specific areas, then organize your app directory structure that way, and link relatively to each user's area. Joe -Original Message- From: John C [mailto:jac_legend_...@hotmail.com] Sent: Thursday, March 10, 2011 9:21 AM To: users

RE: Cannot create a link to a file - suspecting tomcat is the issue

2011-03-10 Thread John C
that way, and link relatively to each user's area. Joe -Original Message- From: John C [mailto:jac_legend_...@hotmail.com] Sent: Thursday, March 10, 2011 9:21 AM To: users@tomcat.apache.org Subject: RE: Cannot create a link to a file - suspecting tomcat is the issue

Trouble connecting Tomcat 7.0 with Apache Server 2.2

2011-03-03 Thread John C
I am trying to connect Tomcat 7.0 and Apache Server 2.2 using Windows 7.0. I created a .jsp file to test if my setup was correct under C:\Program Files (x86)\Apache Software Foundation\Tomcat 7.0\webapps\sitepoint\count.jsp. I can successfully load the count.jsp file by entering

Trouble connecting Tomcat 7.0 with Apache Server 2.2 (reposting question - hopefully this formats better)

2011-03-03 Thread John C
Reposting the same question I posted a minute ago due to weird formatting issues. Hopefully this email fixes it. I am trying to connect Tomcat 7.0 and Apache Server 2.2 using Windows 7.0. I created a .jsp file to test if my setup was correct under C:\Program Files (x86)\Apache Software

RE: Trouble connecting Tomcat 7.0 with Apache Server 2.2 (reposting question - hopefully this formats better)

2011-03-03 Thread John C
I fixed my own problem. I changed the workers.properties file to this: workers.tomcat_home=C:\Program Files (x86)\Apache Software Foundation\Tomcat 7.0workers.java_home=C:\Program Files

java.net.SocketException: Too many open files

2009-06-03 Thread John . C . Cartwright
Hello All, something strange happened to our tomcat 5.5 instance running on RHEL Linux. Suddenly we began getting the exception listed below written out to the catalina.out log. It was repeated approx 4 million times w/in a couple of hours until it filled up the file system and hung tomcat.

strange problem w/ connection pool and Oracle

2009-02-11 Thread John . C . Cartwright
Hello All, I'm having a rather strange problem using Oracle-specific types obtained from a connection pool defined my my context.xml. I'm reading the ResultSet w/ getObject, but then when I try to cast the Object to the correct type, I see: Cause: java.lang.ClassCastException: oracle.sql.STRUCT

Re: Problem with POST to servlet: 16384 bytes maximum?

2008-08-07 Thread John . C . Cartwright
I've had similar problems in various versions of tomcat. Currently the problem seems to exist in 6.0.16 but not in 6.0.14 nor 5.5.17. There was a bug filed, but I don't have the reference handy. --john - Original Message - From: Michele Fuortes [EMAIL PROTECTED] Date: Thursday, August

unable to read complete POST body via tomcat connector

2008-05-04 Thread John . C . Cartwright
Hello All, I'm trying to POST a relatively small amount of content (22K) and find that when the request comes via apache/mod_jk, I can only read part of the body. The same request to standalone tomcat (HTTP connector) works file. I'm reading the POST body with code like: BufferedReader reader

Re: unable to read complete POST body via tomcat connector

2008-05-04 Thread John . C . Cartwright
Thanks for your reply Mark and sorry I didn't include more specifics the first time. Tomcat version 5.5.15 mod_jk 1.2.8 Apache 2.0.46 mod_jk-ap20-1.2.8 Java 1.5.0_06 Small files read completely, large files read different amounts depending of the file. I can't find pattern in how much gets

Re: unable to read complete POST body via tomcat connector

2008-05-04 Thread John . C . Cartwright
Thanks for your reply Ben. No, there's no SSL involved. --john - Original Message - From: Ben Stringer [EMAIL PROTECTED] Date: Sunday, May 4, 2008 0:50 am Subject: Re: unable to read complete POST body via tomcat connector On Sun, 2008-05-04 at 00:41 -0600, [EMAIL PROTECTED] wrote:

RE: How i can exclude a url pattern for a filter ?

2006-04-29 Thread John C. Dale
This is a tough one - I've always configured my filters to include all relevant URL's (logical equivalent of exclusion for non-matches). -Original Message- From: Legolas Woodland [mailto:[EMAIL PROTECTED] Sent: Saturday, April 29, 2006 11:20 AM To: Tomcat Users List Subject: How i can

RE: Tomcat 5.5.x crashes almost every single day.

2006-02-28 Thread John C. Dale
There are many variables along the path to enlightenment. Don't give-up on Tomcat so soon. Sometimes Tomcat is only as good as the applications deployed within her. Given that Tomcat has been up and running for me for as many as 90 days in a row with a high-use application accessing a database

RE: Tomcat 5.5.x crashes almost every single day.

2006-02-28 Thread John C. Dale
Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Tomasz Nowak Sent: Tuesday, February 28, 2006 11:25 AM To: users@tomcat.apache.org Subject: Re: Tomcat 5.5.x crashes almost every single day. John C. Dale [EMAIL PROTECTED] wrote: Don't give-up on Tomcat so soon. At least 3 years

WEBDAV for Tomcat 5.0.28

2006-02-27 Thread John C. Dale
I have a static website deployed in 5.0.28 and wish to access/maintain it using the lightweight DAV servlet that ships with this version of Tomcat (Slide is overkill for my purposes). servlet servlet-namedav/servlet-name

[UPDATE - FOUND WORKAROUND FOR LINUX TOMCAT WEBDAV DEPLOYMENTS] WEBDAV for Tomcat 5.0.28

2006-02-27 Thread John C. Dale
Down, JCD -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Monday, February 27, 2006 2:44 PM To: Tomcat Users List Subject: Re: WEBDAV for Tomcat 5.0.28 John C. Dale wrote: What is the recommended deployment of the static site and webdav servlet such that direct

RE: Session Timeout

2006-02-27 Thread John C. Dale
; import java.io.IOException; import com.ditd.util.Util; import com.gbs.security.IUserInfo; /** * @author John C. Dale ([EMAIL PROTECTED]) */ public class ExtendSession implements Filter { private static Logger log = Logger.getLogger( ExtendSession.class.getName()); public