Re: More helpful reporting of exceptions in JSPs

2005-10-12 Thread Darryl L. Miles
Tim Fennell wrote: I've posted my patch for Jasper/Tomcat at the following location: http://www.tfenne.com/jasper/ The page has a brief overview, a download link and "before and after" screenshots so you can get an idea for what exactly the patch does before you decide to patch your ow

Re: serving content from outside the context

2005-10-12 Thread Darryl L. Miles
John Laughton wrote: Hi, I hope this is the right mailing list for this question I am using tomcat 5.0.28 I have a simple web app and want to serve up some images in the jsp pages, but the images are outside the context The HTTP statement looks like The web app is under /usr/local/tomcat

Re: Database connections aren't being released...

2005-10-06 Thread Darryl L. Miles
ompare the two trees to maybe try and nail this one, or at least confirm the blame here is with DBCP. -- Darryl L. Miles - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: cannot setup JNDI with MySQL

2005-10-06 Thread Darryl L. Miles
few files and changing the class path in the to the official Apache one ? Do you know which version of DBCP is shipped with TC 5.5.9 ? Thanks Darryl -- Darryl L. Miles - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Tracking Datasource Connection Usage?

2005-10-06 Thread Darryl L. Miles
and thus returning the connection back to DBCP like it should, the connection from MySQL "SHOW PROCESSLIST" are still connected and thus in the pool. But the next servlet request always opens a new connection, when I dont think it should, it should

DBCP problems with Hibernate

2005-09-13 Thread Darryl L. Miles
d the line numbers out of sync. How do you find out exactly which version of DBCP TC ships with ? FYI my META-INF/context.xml: Thanks Darryl -- Darryl L. Miles - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: where to place the /META-INF/context.xml file?

2005-09-09 Thread Darryl L. Miles
Ben Wong wrote: "A /META-INF/context.xml file can be used to define Tomcat specific configuration..." MyWebApp/META-INF/context.xml or inside your MyWebApp.war as: META-INF/context.xml -- Darryl L. Miles --

Re: Tomcat/JVM hangs in session.getAttribute / HashMap.get()

2005-09-06 Thread Darryl L. Miles
be synchronised (for instance, inside a servlet or struts action) provided the same hashmap is accessed by say more than one servlet/struts action? -- Darryl L. Miles - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional c

Source code for naming-factory-dbcp.jar ?

2005-09-06 Thread Darryl L. Miles
Where is the source code that makes up the JAR naming-factory-dbcp.jar it does not appear to be inside: jakarta-tomcat-5.5.9-src.tar.gz -- Darryl L. Miles - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Pre-compiled JSPs?

2005-09-06 Thread Darryl L. Miles
reference be? http://myserver:8080/RichardsApp/DoSomething_jsp or http://myserver:8080/RichardsApp/DoSomething Have I missed something obvious? Thanks for your help! Richard. -- Darryl L. Miles - To unsubscribe, e-ma

Re: Do URL query strings with semi-colons work with TC ?

2005-09-06 Thread Darryl L. Miles
omcat/util/http/Parameters.java?rev=1.15&view=markup Just for my peace of mind does anyone know where the "standard" use of amphersand to delimit name-value pairs in a http get query string is defined? Jon Darryl L. Miles wrote: http://www.faqs.org/rfcs/rfc2396.html sect

Re: Do URL query strings with semi-colons work with TC ?

2005-09-06 Thread Darryl L. Miles
http://www.faqs.org/rfcs/rfc2396.html section 3.3 seems to be the best reference so far. This RFC only specifies correct URI syntax, it does not mandate how that URI is used under any scheme (like "http:") is to be used. Darryl L. Miles wrote: The reference you cite http://ww

Re: Do URL query strings with semi-colons work with TC ?

2005-09-05 Thread Darryl L. Miles
2+ Containers. To use a semi-colon within a url you'll need to url encode it as %3B To use it in the way you want you'll have to encode and parse the query string yourself. HTH, Jon Darryl L. Miles wrote: I swear I had application code working that was using semi-colons to delimi

Do URL query strings with semi-colons work with TC ?

2005-09-04 Thread Darryl L. Miles
t;); Yeilds: val="value;name2=foobar"; Is there an additional option to allow semi-colon usage, instead of & ? Running TC 5.5.9 Thanks. -- Darryl L. Miles - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

request.getServletPath() changes during request lifecycle, BUG or Specified behaviour ?

2005-08-27 Thread Darryl L. Miles
round this sillyness: I have added code into my HttpServlet like 'request.setAttribute("getHttpRequestPath", request.getServletPath())' so that the original HttpRequest information can be preserved throughout the whole request lifecycle. -- Darryl L. Miles ---

Markup Character Entities attr="<&">" BUG ?

2005-08-18 Thread Darryl L. Miles
ehaviour (even if it does seem like I have to take the long way around) call this idealized behaviour if you will. Ultimatly our JSP authoring tools will be powerful enough to automatically hide complex tag constructs like this and allow us to see at a glance the representation we most like to see

Re: virtual host and JkMount with jk1.2.14

2005-08-16 Thread Darryl L. Miles
re you sure the "${tomcat_home}" works in Apache. Try putting the full path name there. I've never thought the httpd.conf undergoes any substitution expansion before parsing, let alone also have substitution expansion work within a quoted string literal

Re: Tomcat5 / war file deployment: symlink problem

2005-08-16 Thread Darryl L. Miles
access to the repository but it sounds like you want HTML access to "images/foobar.gif" so they can be served directly. -- Darryl L. Miles - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-ma

Re: How to automatically start tomcat 5.5.9 under linux using local user

2005-08-16 Thread Darryl L. Miles
-> /etc/initd.d/mytomcat, use /sbin/runlevel to see which you are at already. Maybe you are lazy and simply add a few lines to /etc/rc.local ? Eitherway should do the trick. -- Darryl L. Miles - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Virtual Hosting with WAR files

2005-08-16 Thread Darryl L. Miles
f its not already been done) to allow level configuration changes to take place at runtime. -- Darryl L. Miles - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Apache/Tomcat integration - Update

2005-08-16 Thread Darryl L. Miles
nly trying to view the WARs bundled with TC. I am starting TC before Apache with the apps already deployed (so far). I suggest you learn more about the exact nature of the "deployment procedure" from an packed WAR to an unpacked WAR that goes in within TC.

Re: Apache/Tomcat integration - What am I doing wrong?

2005-08-16 Thread Darryl L. Miles
ng that I have no idea your Apache configuration was auto-generated by TC. I'm just offering you a methodoligy to observe some change in behaviour so you can work through the problem yourself. -- Darryl L. Miles - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Apache/Tomcat integration - What am I doing wrong?

2005-08-16 Thread Darryl L. Miles
nt /jsp-examples/forward/one.jsp ajp13Wkr JkMount /jsp-examples/tagplugin/foreach.jsp ajp13Wkr JkMount /jsp-examples/dates/date.jsp ajp13Wkr JkMount /jsp-examples/jsp2/tagfiles/panel.jsp ajp13Wkr --- WHAT am I doing wrong ple

Re: Virtual Hosting with WAR files

2005-08-16 Thread Darryl L. Miles
at to connect to the correct war file as requested? Any help will be appreciated. -- Darryl L. Miles - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

400 No Host matches server name BLAH

2005-08-15 Thread Darryl L. Miles
t/jakarta-tomcat-5.5.9 -Dcatalina.home=/opt/jakarta-tomcat-5.5.9 -Djava.io.tmpdir=/opt/jakarta-tomcat-5.5.9/temp -outfile ./logs/catalina.out -errfile ./logs/catalina.err -pidfile ./logs/jsvc.pid -user jakarta -Xmx2048M -Xms512M -Djava.util.logging.manager=org.apache.juli.C

Re: data push

2005-08-12 Thread Darryl L. Miles
f and my application which is running in the same JVM as TC would use it independatly of TC. Your serializing objects idea is a little too raw for my use, I'm looking for something with a more reliable contract and wider community testing than a roll your own TCPIP st

Re: data push

2005-08-11 Thread Darryl L. Miles
gle socket) messaging framework that can deliver command / event like objects to a remote JVM for processing then return the appropiate reponse object and have multiple events outstanding all in different states with any sized payload. -- Darry

Re: HELP: Tomcat 5.5.9 with jsvc as low priviledges user on Linux fails in Bootstrap

2005-08-02 Thread Darryl L. Miles
nager org.apache.catalina.startup.Bootstrap start -- Darryl L. Miles - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: TC5.5.9 Linux - shutdown port 8005 not bound BUG?

2005-08-02 Thread Darryl L. Miles
-TERM `cat $PIDFILE` As a result, jsvc doesn't tell Tomcat to listen on port 8005. -- Darryl L. Miles - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: TC5.5.9 Linux - shutdown port 8005 not bound BUG?

2005-08-01 Thread Darryl L. Miles
Peter Crowther wrote: From: Darryl L. Miles [mailto:[EMAIL PROTECTED] Subject: TC5.5.9 Linux - shutdown port 8005 not bound BUG? I've never had TC bind itself to 127.0.0.1:8005 to allow correct shutdown to occur. [...] $ netstat -tanp | grep 80 tcp0 0 :::127.

TC5.5.9 Linux - shutdown port 8005 not bound BUG?

2005-08-01 Thread Darryl L. Miles
p0 0 :::127.0.0.1:8080 :::*LISTEN 4621/jsvc.exec Should I file this as a bug ? -- Darryl L. Miles - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-ma

Re: Placing a LifecycleListener in my server.xml

2005-07-27 Thread Darryl L. Miles
ore as I found other ways to do what I needed, I wanted to deploy the listener within my webapp. -Original Message----- From: Darryl L. Miles [mailto:[EMAIL PROTECTED] Sent: 27 July 2005 12:10 To: Tomcat Users List Subject: Re: Placing a LifecycleListener in my server.xml Sorry did not r

Re: Placing a LifecycleListener in my server.xml

2005-07-27 Thread Darryl L. Miles
Content is started. I need to know when its finished, which is why I am using a LifecycleListener which should be placed in the server.xml Original Message Follows From: "Darryl L. Miles" <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" To: Tomcat Users Li

Re: Placing a LifecycleListener in my server.xml

2005-07-27 Thread Darryl L. Miles
Content is started. I need to know when its finished, which is why I am using a LifecycleListener which should be placed in the server.xml Original Message Follows From: "Darryl L. Miles" <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" To: Tomcat Users Li

Re: setting -Xss option and its impact on servlet threads

2005-07-27 Thread Darryl L. Miles
e the case so much. -- Darryl L. Miles - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Placing a LifecycleListener in my server.xml

2005-07-27 Thread Darryl L. Miles
thing. See my article http://www.hibernate.org/301.html as an example (when used with hibernate) -- Darryl L. Miles - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Ports 8005 8009 8080 in default Tomcat 4.x installation.

2005-07-21 Thread Darryl L. Miles
8080 port is using. What's the exact usage of preceding three ports? -- Darryl L. Miles - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Max thread/session timeouts

2005-07-21 Thread Darryl L. Miles
ed in as its used and reducing the stack space to a lower limit than your application need will just make it crash. -- Darryl L. Miles - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: IE-Page not found problem

2005-06-14 Thread Darryl L. Miles
Mark Leone wrote: The point is that IE is not providing the resource to the user *the first time* because there is a no-cache directive associated with it. IMO there is noting in the HTTP spec that even hints that this is how the no-cache directive is to be used. If IE needs to temporarily sto

Re: IE-Page not found problem

2005-06-13 Thread Darryl L. Miles
Mark Leone wrote: It's a silly problem. I ran in to it a while back, and it really mystified me until I found the bug write-up. Tomcat is doing the right thing, but MS has declared that IE is working "as designed" in this. FWIW, the HTTP spec is clear that the no-cache behavior applies to HT