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

2011-03-10 Thread John C
h anywhere into your machine and > > grab something, say... 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 > &

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

2011-03-10 Thread John C
ackers can't just reach anywhere into your machine and > grab something, say... 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 > > -Or

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. H

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 Apach

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 (x86)\Java\jdk1.6.0_17ps=\worker.list=myworkerworker.myworker.port=8009worker.myworker.host=localhostworker.my

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 Foundatio

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 http://local

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. Thi

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

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: 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 rea

unable to read complete POST body via tomcat connector

2008-05-03 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: Tomcat Standalone: Traffic Reporting?

2006-05-10 Thread John C. Dale
I've had good luck with this... http://awstats.sourceforge.net/ JCD -Original Message- From: Pete Lamborne [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 10, 2006 2:12 PM To: users@tomcat.apache.org Subject: Tomcat Standalone: Traffic Reporting? Hi, I am running several websites/weba

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 e

RE: Helpppp: Tomcat displays Page slowly

2006-03-20 Thread John C. Dale
I had a similar issue when using XMLHttpRequest (AJAX) - when using Firefox and testing on the same machine, Firefox would hang for several seconds as it competed with the JVM/Compiler for processor resources. My solution was to test locally with IE 6.x+ which had better behavior in this regard, t

Question about Serialized User Principal Object...

2006-03-04 Thread John C. Dale
I'm using Tomcat 5.0.28 on Linux (FC4) and Windows (2k). I would like my users to avoid the login process to streamline access to authentication-protected content. All information in the session is serialized do disk when I bounce the Tomcat process. However, the Principal object is not. I've o

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

2006-02-28 Thread John C. Dale
throw new NotReallyAHackerException(); } } catch (NotReallyAHackerException hrahe) { return new GoToLawOrBusinessSchoolEvent(); } Bear Down, JCD -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Tomasz Nowak Sent: Tuesday, February 28, 2006 11:25 AM

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 (o

RE: Session Timeout

2006-02-27 Thread John C. Dale
mport 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 void doFilter(ServletRequest servletRe

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

2006-02-27 Thread John C. Dale
on-informative error message. Bear 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

RE: WEBDAV for Tomcat 5.0.28

2006-02-27 Thread John C. Dale
t, IMO, is my best alternative save this one issue, and (duh) any help would be much appreciated. 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: &

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). dav org.apache.catalina.servlets.WebdavServlet debug 0