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 trtd img alt=thumb image

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 own

Re: Tracking Datasource Connection Usage?

2005-10-06 Thread Darryl L. Miles
the one already in the pool. Darryl -- 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
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: Database connections aren't being released...

2005-10-06 Thread Darryl L. Miles
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]

DBCP problems with Hibernate

2005-09-13 Thread Darryl L. Miles
/label driverClassName=com.mysql.jdbc.Driver username=generic password=generic maxWait=3000 / Thanks Darryl -- Darryl L. Miles - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

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: 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://www.faqs.org

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

2005-09-06 Thread Darryl L. Miles
/Parameters.java?rev=1.15view=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 section 3.3 seems to be the best reference

Re: Pre-compiled JSPs?

2005-09-06 Thread Darryl L. Miles
help! Richard. -- Darryl L. Miles - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

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: Tomcat/JVM hangs in session.getAttribute / HashMap.get()

2005-09-06 Thread Darryl L. Miles
(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 commands, e-mail

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

2005-09-05 Thread Darryl L. Miles
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 delimit query string parameters. I'm sure I've also seen TC append a ;JSESSIONID= at the end of the URL. But my own

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

2005-09-04 Thread Darryl L. Miles
; Is there an additional option to allow semi-colon usage, instead of amp; ? 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
HttpServlet like 'request.setAttribute(getHttpRequestPath, request.getServletPath())' so that the original HttpRequest information can be preserved throughout the whole request lifecycle. -- Darryl L. Miles - To unsubscribe, e

Markup Character Entities attr=lt;amp;quot;gt; BUG ?

2005-08-18 Thread Darryl L. Miles
to automatically hide complex tag constructs like this and allow us to see at a glance the representation we most like to see but really whats saved in the raw file maybe the unrolled purist version. -- Darryl L. Miles

Re: Virtual Hosting with WAR files

2005-08-16 Thread Darryl L. Miles
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]

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

2005-08-16 Thread Darryl L. Miles
--- WHAT am I doing wrong please? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Darryl L. Miles M: 07968 320 114

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

2005-08-16 Thread Darryl L. Miles
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

Re: Apache/Tomcat integration - Update

2005-08-16 Thread Darryl L. Miles
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. -- Darryl L. Miles

Re: Virtual Hosting with WAR files

2005-08-16 Thread Darryl L. Miles
not already been done) to allow Host 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: How to automatically start tomcat 5.5.9 under linux using local user

2005-08-16 Thread Darryl L. Miles
. 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: 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-mail: [EMAIL

Re: virtual host and JkMount with jk1.2.14

2005-08-16 Thread Darryl L. Miles
/VirtualHost Are 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 as well. -- Darryl L

400 No Host matches server name BLAH

2005-08-15 Thread Darryl L. Miles
=/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.ClassLoaderLogManager org.apache.catalina.startup.Bootstrap start -- Darryl L. Miles

Re: data push

2005-08-12 Thread Darryl L. Miles
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 stack approach. -- Darryl L. Miles

Re: data push

2005-08-11 Thread Darryl L. Miles
) 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. -- Darryl L. Miles

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

2005-08-02 Thread Darryl L. Miles
$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: HELP: Tomcat 5.5.9 with jsvc as low priviledges user on Linux fails in Bootstrap

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

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

2005-08-01 Thread Darryl L. Miles
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-mail: [EMAIL

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

Re: Placing a LifecycleListener in my server.xml

2005-07-27 Thread Darryl L. Miles
. 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: setting -Xss option and its impact on servlet threads

2005-07-27 Thread Darryl L. Miles
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
a LifecycleListener. You have implemented a ServletContextListener which only gets called when the 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

Re: Placing a LifecycleListener in my server.xml

2005-07-27 Thread Darryl L. Miles
a LifecycleListener. You have implemented a ServletContextListener which only gets called when the 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

Re: Placing a LifecycleListener in my server.xml

2005-07-27 Thread Darryl L. Miles
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 read properly.. Have you tried: for JARs

Re: Max thread/session timeouts

2005-07-21 Thread Darryl L. Miles
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: Ports 8005 8009 8080 in default Tomcat 4.x installation.

2005-07-21 Thread Darryl L. Miles
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: 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

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