Re: Access static content ("logs" folder) ?

2005-12-22 Thread Tim Funk
Add a context declaration like this in a file called logs.xml in your conf/Catalina/localhost directory. -Tim LANDRAIN Jean-Pol wrote: Hi, I use Tomcat 5.5 and I'd like to be able to browse my logs directory (%TOMCAT_HOME%\logs) from a web page to access it remotely (distant s

Re: Directory listing in Tomcat 5.5.14.

2006-01-03 Thread Tim Funk
directory listings. http://tomcat.apache.org/faq/misc.html#listing -Tim [EMAIL PROTECTED] wrote: Dear All, I am able to see the directory listings in Tomcat 4.1.30, but not in Tomcat 5.5.14, if there are no welcome files . Why is it so

Re: Where can I get JspC / Jasper2 argument overview?

2006-01-04 Thread Tim Funk
See all the set methods in http://tomcat.apache.org/tomcat-5.5-doc/jasper/docs/api/org/apache/jasper/JspC.html Typically I use the ant delete task after the compilation is done. I also exclude index.jsp so welcome file mappings work OK. -Tim Charl Gerber wrote

Re: Real time optimization problem

2006-01-05 Thread Tim Funk
one with a faster CPU - If the transaction is across a large distance (many Internet hops) - using a middle mile accelerator such as Netli or Akamai. (Or rent a dedicated line) - ... - Tim mukesh wrote: Hi friends, Got to optimize a system, flow is expla

Re: Comparing Tomcat Performance on Windows vs. Linux

2006-01-05 Thread Tim Funk
Interesting. In enterprise environments, I also hear it common to see antivirus software also run on windows servers too. (Yes, you read that correctly) I'd be curious to see how much or a performance decrease there is when one is turned on. -Tim Michael Czeiszperger wrote: I thought

Re: Migration

2006-01-06 Thread Tim Funk
;java.io.*' %> -Tim Abh N wrote: Hi, We are migrating our applications from Tomcat to Websphere server. We are getting some issues (in Websphere )with code which used to work fine in Tomcat. Server is not recognizing IOException in jsp code. I am now putting import java.

Re: Way to force Tomcat not to send headers in its http response.

2006-01-06 Thread Tim Funk
This is a little vague. Are there certain headers which must NOT be sent? -Tim COURTAULT Francois wrote: Hello, Do you know if there is a way to force Tomcat not to send http headers in its http response ? Regards

Re: Way to force Tomcat not to send headers in its http response.

2006-01-06 Thread Tim Funk
You will need to create your own Connector. Certain headers such as Server are always added to the response. -Tim COURTAULT Francois wrote: All the headers ! Regards. PS: Is there also a way to not send the ack http response (ie HTTP/1.1 200 OK) ? -Message d'origine- De

Re: Way to force Tomcat not to send headers in its http response.

2006-01-06 Thread Tim Funk
Your filter would create a HttpServletResponseWrapper. The wrapper would override the setHeader and addHeader methods to be no-ops. But certain headers will still be sent (unless you ovveride the Connector) -Tim COURTAULT Francois wrote: I don't see in the servlet api a way to cle

Re: jsp cannont find my bean class

2006-01-09 Thread Tim Funk
http://tomcat.apache.org/faq/classnotfound.html See "Don't use packageless classes and declare all imported classes" -Tim marju jalloh wrote: Hi everyone I`m using Tomcat 4.1.* on Linux .All my servlet and jsp work fine including the interaction with mysql database.

Re: RequestDumperValve screws UTF-8 parameter parsing

2006-01-10 Thread Tim Funk
warning messages in the Valve. For GET requests, reparsing might work when a new encoding is requested. But for POST requests - doing so would require saving the entire POST body somewhere. This can easily cause a memory based DOS attack. -Tim Oded Arbel wrote: Then why is it at all possible

Re: Using Tomcat 5.5 as a standalone web server

2006-01-10 Thread Tim Funk
If possible - look into 5.5.15. The APR connectors should help with serving all the video and flash streaming. -Tim Adam Johnston wrote: Hello all, I am running a reasonable sized site, on Linux Red Hat + Tomcat 5.5.7. The site is serving mainly Flash movies and servlets with streaming

Re: Can't play wmv

2006-01-11 Thread Tim Funk
Make sure tomcat is returning the header: Content-Type: video/x-ms-wmv You can confirm this via telnet: telnet MYSERVER 80 HEAD /MY/foo.wmv HTTP/1.1 Host: MYSERVER Connection: close You can add the header in $CATALINA_HOME/conf/web.xml or in web.xml of your webapp. -Tim Mark Winslow

Re: Problem with pdf in tomcat 4.1.29

2006-01-11 Thread Tim Funk
erset(). But when your jsp calls setContentType() - the previous call to setCharacterset was not cleared. -Tim Chris Donges wrote: I have a jsp page that grabs a pdf from a blob in a database and sends it to the browser inline. It works fine for firefox and most ie users but for some it displa

Re: Image Scaling Code

2006-01-12 Thread Tim Funk
FAQ .. http://tomcat.apache.org/faq/unix.html#x -Tim Justin Jaynes wrote: Hello all, I've written a java class to scale jpeg images. But I can't seem to get it to work. Can anyone point me in the right direction? --

Re: concurrency of users on tomcat

2006-01-13 Thread Tim Funk
ory? (With that many users - I'd personally avoid HttpSession and roll my own solution) There are many google links for scaling java based servers. Many might be "server specific" but in general - the principles they talk about are pretty generic. -Tim vishwas kharajge wrote: Hi

Re: help for error javax.servlet.ServletException

2006-01-13 Thread Tim Funk
that back to the access log. From there you might be able to find the culprit. -Tim Qaiser Mehmood wrote: Does anyone know why I am getting this error : javax.servlet.ServletException: Servlet execution threw an exception at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter

Re: Unable to override doPut(), etc, from Tomcat's JSPServlet (response 403)

2006-01-13 Thread Tim Funk
et.service() as final. Then they call _jspService() (which is created during JSP compilation). So doYYY() is never called. -Tim Ken Johanson wrote: Hi all, I'm wondering if there is another configuration needed to set which HTTP methods that JSPServlet accepts.. I'm attempting overrid

Re: help for OutOfMemoryError

2006-01-13 Thread Tim Funk
http://tomcat.apache.org/faq/memory.html#why -Tim Qaiser Mehmood wrote: Hi everyone, Can anyone help me that why I am getting this error : 2006-01-13 09:50:11 StandardWrapperValve[action]: Servlet.service() for servlet action threw exception java.lang.OutOfMemoryError: Java heap space

Re: [OT] 64Bit Java doesn't honour Xmx,Xms settings?

2006-01-17 Thread Tim Funk
Just because you get an OOM error doesn't mean its a heap issue. See the faq for details: http://tomcat.apache.org/faq/memory.html#why -Tim Leon Rosenberg wrote: Hi, sorry for OT, but since there is so much combined Java experience here, it's the fastest way of getting an answer

Re: Any issues with using Access Log Valve in production??

2006-01-17 Thread Tim Funk
eriod. But if you are running out of workers - you probably have configuration issues. On CPU starved devices, it might be handy to not use the access log valve. -Tim Edmon Begoli wrote: Hey all, Can someone tell me if there are any significant performance issues with using *Access Log Valve on

Re: Authenticating LDAP users without their input - doable?

2006-01-18 Thread Tim Funk
See the faq ... http://tomcat.apache.org/faq/windows.html#ntlm -Tim g m wrote: I have a critical 'challenge' It is possible to authenicate on Tomcat using LDAP (Active Directory) (using MS IE browser), but, 'without' the user inputing their username an

Re: malformed HTTP?

2006-01-18 Thread Tim Funk
There is a bugzilla report similar to this - but also check 5.1.15 since it has some fixes too. -Tim Patricio Keilty wrote: Hi guys, i recently tried to migrate my webapps from version 5.5.4 to a brand new 5.5.12 installation, so i just copied original $CATALINA_HOME/conf/server.xml &

Re: tomcat log analyser

2006-01-18 Thread Tim Funk
No. Tomcat can produce access log files in the statndard format as read by most log file analyzers. -Tim Stas Ostapenko wrote: Hello ! I'm searching for tomcat log analyser. Under Apache (not Tomcat) i have used AWStats. Is there something similar for standalone T

How do I hide a web application's actual context from the client?

2006-01-18 Thread Tim Lucia
inside Apache, and it can't be too slow (i.e., running a script). Maybe Apache::Cookie (http://httpd.apache.org/apreq/Apache-Cookie.html) does what I want? (I am not a Perl programmer). I appreciate any pointers or advice

RE: Do anyone know how to set PermGen space ? [was RE: Latest stable version of Tomcat]

2006-01-18 Thread Tim Lucia
-XX:MaxPermSize=... [128m, for example] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 18, 2006 1:02 PM To: Tomcat Users List Subject: Re: Latest stable version of Tomcat Thank you for the reply. Do anyone know how to set PermGen space ?

RE: Do anyone know how to set PermGen space ? [was RE: Latest stable version of Tomcat]

2006-01-18 Thread Tim Lucia
] Sent: Wednesday, January 18, 2006 1:24 PM To: Tomcat Users List Subject: RE: Do anyone know how to set PermGen space ? [was RE: Latest stable version of Tomcat] Hi Tim, Thank you for the reply. But, where should I set this. Is it in service.bat file ? If so is the following line correct

RE: How to diagnose a TomCat hang?

2006-01-18 Thread Tim Lucia
kill -QUIT will cause a stack dump... including any Java deadlocks. -Original Message- From: Dave Pullin [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 18, 2006 1:33 PM To: users@tomcat.apache.org Subject: How to diagnose a TomCat hang? Briefly: Is there anyway to figure out what To

RE: Do anyone know how to set PermGen space ? [was RE: Latest stable version of Tomcat]

2006-01-18 Thread Tim Lucia
manger's Java tab like this : -Dcatalina.opts=-XX:MaxPermSize=256m I ran a jsp which shows the Memery usage. Its showing correct values for Xmx, Xms but for PermGen it still showing the default 64mb. Do you have any idea ? Is PermGen setting working for you> Thank you, Aparna. &q

RE: How to diagnose a TomCat hang?

2006-01-18 Thread Tim Lucia
pair of tomcats on the same box in a vertical cluster.) Tim -Original Message- From: Dave Pullin [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 18, 2006 1:55 PM To: Tomcat Users List Subject: RE: How to diagnose a TomCat hang? Thank you. I've now tried kill -QUIT. The java pr

RE: How do I hide a web application's actual context from the client?

2006-01-18 Thread Tim Lucia
context, while still allowing the use to refer to www.mysite.com/ Tim -Original Message- From: tamsin [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 18, 2006 11:47 AM To: Tomcat Users List Subject: RE: How do I hide a web application's actual context from the client? I think yo

Re: malformed HTTP?

2006-01-18 Thread Tim Funk
Actually - it might be more like http://issues.apache.org/bugzilla/show_bug.cgi?id=37627 -Tim Patricio Keilty wrote: Tim Funk joedog.org> writes: There is a bugzilla report similar to this - but also check 5.1.15 since it has some fixes too. -Tim Thanks for your response

Re: tomcat doesn't shutdown

2006-01-18 Thread Tim Funk
http://tomcat.apache.org/faq/misc.html#stop -Tim philguillard wrote: Hi, Launching the script shutdown.sh doesn't shutdown my tomcat 5.5.12. Any idea? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman

Re: tomcat doesn't shutdown

2006-01-19 Thread Tim Funk
at org.tigris.eyebrowse.servlets.IndexerServlet$UpdateRunner.run(Unknown Source) at java.lang.Thread.run(Thread.java:595) -Tim philguillard wrote: Thanks for that help, I did a ./shtdown.sh, then a kill -3 on my tomcatpid, i pasted below the dump i get in tomcat logs. What does this mean? Excuse me for my ig

RE: Oracle 8i JDBC Driver for jdk1.5?

2006-01-20 Thread Tim Lucia
I'm using Tomcat 5.5, JDK 1.5, JDBC 8.1.7.0.0 on 8i on W2K SP4 + RHEL V.4 with zero problems (using classes12.jar) Tim -Original Message- From: gupta vidhi [mailto:[EMAIL PROTECTED] Sent: Friday, January 20, 2006 6:52 AM To: Tomcat Users List Subject: Re: Oracle 8i JDBC Drive

RE: Setting up connection pools "on the fly"...

2006-01-20 Thread Tim Lucia
n the fly would require (I think) your own context / JNDI provider (rather then Tomcat's) which maintained the list of available DataSources. Tim -Original Message- From: Warrick Wilson [mailto:[EMAIL PROTECTED] Sent: Friday, January 20, 2006 3:52 PM To: users@tomcat.apache.org Subjec

RE: Sending a lot of info the a jsp page

2006-01-21 Thread Tim Lucia
POST / GET from applet ?action=load (servlet side) try { out= new ObjectOutputStream(response.getOutputStream()); logger.debug("Sending object to applet."); out.writeObject((Object)object); out.flush(); return; } catch (IOException e){ lo

RE: Setting up connection pools "on the fly"...

2006-01-22 Thread Tim Lucia
I would suggest setting the defaultCatalog property as well, so that you are not accidentally connected to the last-used catalog from the previous borrower of the connection. Tim -Original Message- From: Rob Gregory [mailto:[EMAIL PROTECTED] Sent: Sunday, January 22, 2006 8:23 AM To: &#x

RE: Setting up connection pools "on the fly"...

2006-01-22 Thread Tim Lucia
e context.xml file and read these from the database before tomcat starts and creates the pools. Any help much appreciated. Rob -Original Message- From: Tim Lucia [mailto:[EMAIL PROTECTED] Sent: 22 January 2006 14:21 To: 'Tomcat Users List' Subject: RE: Setting up connection pools &q

RE: Setting up connection pools "on the fly"...

2006-01-23 Thread Tim Lucia
nightly DB restarts. Tim -Original Message- From: Warrick Wilson [mailto:[EMAIL PROTECTED] Sent: Sunday, January 22, 2006 9:24 PM To: 'Tomcat Users List' Subject: RE: Setting up connection pools "on the fly"... > -----Original Message- > From: Tim Lucia [mai

RE: Setting up connection pools "on the fly"...

2006-01-23 Thread Tim Lucia
that operates on the single, manual connection, and returns DataSources based on the information found via that connection. You can borrow some code from javaranch.com's jrunittesthelper, a package which provides JNDI lookups for JUnit test cases. Tim -Original Message- From: Rob Gr

RE: problem with tomcat 5.5.9

2006-01-24 Thread Tim Lucia
I seem to recall that on RH, all files are mmap'd and that can occupy seemingly huge amounts of memory, when in fact it is all buffer cache and will be collected by the OS if actually needed for something else. Could it be logging in your app (or Tomcat) is writing a lot of data to files?

RE: Log4J output to SYSLOG

2006-01-24 Thread Tim Lucia
http://logging.apache.org/log4j/docs/api/org/apache/log4j/net/SyslogAppender .html -Original Message- From: Bachler, Elisabeth (Elisabeth) [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 24, 2006 10:04 AM To: 'Tomcat Users List' Subject: Log4J output to SYSLOG Hello, I am using "Apache

RE: send a csv file from tomcat?

2006-01-26 Thread Tim Lucia
Here's how I've done it from a .jsp: <% response.reset();response.setContentType("text/comma-separated-values; charset=UTF-8");response.setHeader("Content-disposition","attachment;filenam e=csvoutput.csv");%> Skip the response.reset() if running

RE: From Java to C#, ASP.NET [Off Topic]

2006-01-29 Thread Tim Lucia
All available class libraries were "bolted on" after the core language was established. You could say anything not in java.lang.* was "bolted on". The beauty of all those bolt ons is that you have so much stuff already there, you can concentrate on your business logic. Even early in the C++ world

RE: non US-ASCII query parameters

2006-01-30 Thread Tim Lucia
included with the request. The parameters will be decoded using the default platform encoding. Any subsequent calls to request.setCharacterEncoding() within the web application will have no effect. Tim -Original Message- From: David Delbecq [mailto:[EMAIL PROTECTED] Sent: Monday, January 30

RE: From Java to C#, ASP.NET [Off Topic]

2006-01-30 Thread Tim Lucia
Hibernate is not J2EE "based". It just so happens it provides a EJB-free solution to a servlet container environment. Hibernate does not require J2EE. Tim -Original Message- From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Sent: Monday, January 30, 2006 8:04 AM To: Tomcat

RE: From Java to C#, ASP.NET [Off Topic]

2006-01-30 Thread Tim Lucia
a Java application (desktop) which uses Hibernate, and/or JDBC, without touching any J2EE APIs. A SQL database browsing tool (http://squirrel-sql.sourceforge.net/ comes immediately to mind) is a perfect example of such an application. Tim -Original Message- From: Leon Rosenberg [mailto

RE: is there any way to monitor application server when it is working ?

2006-01-30 Thread Tim Lucia
I have successfully used Jmeter, and MRTG with some Perl scripts and the manager web application to do most of this. Not everything that is available in html mode is available in ?XML=true mode, unfortunately, but it will get you going. Tim -Original Message- From: Legolas Woodland

Re: is there any way to monitor application server when it is working ?

2006-01-31 Thread Tim Funk
Look at the archives for peter Lin and jmeter. He has a jmeter plugin for monitoring tomcat. I don' think it has all you need - but could be a good foundation for what you need. -Tim Legolas Woodland wrote: thank you for reading my post is there any application that help monit

RE: rotating tomcat logs

2006-01-31 Thread Tim Lucia
I use log4j as the logging implementation, and then chose the RollingFileAppender (Daily or Size--your choice) Tim -Original Message- From: Patrick Ward [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 31, 2006 7:39 PM To: users@tomcat.apache.org Subject: rotating tomcat logs Does

Re: percent sign in URI

2006-02-01 Thread Tim Funk
request.getQueryString() and parse it yourself. -Tim abdurrahman sahin wrote: I realized apache2 web server properyl handles % sign in URIs, i need = exact functionality on tomcat 5 too. When I try to pass a parameter containing % sign, the parameter value on = the server seems null. like http://localhost:8080/aSite

Re: How to identify version of a running Tomcat and similar trivia

2006-02-01 Thread Tim Funk
See the FAQ. http://tomcat.apache.org/faq/ There are a few ways to get the version 1) Use version.sh (or vertsion.bat) 2) Look at the manager webapp (in url /manager/html/) 3) More ways that I can't remember -Tim [EMAIL PROTECTED] wrote: Hi Tomcatters, I beg your pardon for this affro

RE: RE: context.xml

2006-02-01 Thread Tim Lucia
other reason we couldn't do this is because the admin doesn't allow for setting the defaultCatalog property of a connection pool. Tim -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 31, 2006 8:55 PM To: Tomcat Users List Subject: RE: RE: co

RE: Tomcat Manager behaviour difference between 5.0 and 5.5

2006-02-01 Thread Tim Lucia
the one they already go through. Tim -Original Message- From: Grandy Fu [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 31, 2006 11:15 PM To: users@tomcat.apache.org Subject: re: Tomcat Manager behaviour difference between 5.0 and 5.5 It seems that no one can answer my question, maybe

Re: HTTP Status 408

2006-02-01 Thread Tim Funk
y number of reasons), or something else. To debug it, livehttpheaders and firefox might be helpful. -Tim scott soward wrote: I am getting this error occasionally and am unable to figure out the problem. -- HTTP/1.1 408 The time allowed for the login process has been exceeded. If

Re: How to identify version of a running Tomcat and similar trivia

2006-02-01 Thread Tim Funk
t the properties file can be loaded. -Tim [EMAIL PROTECTED] wrote: Hi Tim, Only problem is, my Tomcat depot on this box (randomly picked one of our HP-UX boxes, but we also have Tomcats running on Linux, AIX, Solaris (and probably Win32) doesn't seem to have bundled such a wrap

RE: tomcat + postgres

2006-02-01 Thread Tim Lucia
the scene, i.e., you do not care what the implementation class is. So, I would recommend going with javax.sql.DataSource. I.e., in context.xml, you say: And in your code, you expect the returned object to be a javax.sql.DataSource (from the initial context, lookup, etc.) Tim -Original

Re: How to identify version of a running Tomcat and similar trivia

2006-02-02 Thread Tim Funk
This has been fixed in the tomcat 5.0.X line months ago with the inclusion of the version.bat and version.sh scripts. (Which call "catalina.sh version"). We can't help it if OS vendors repackage tomcat and omit those files. -Tim [EMAIL PROTECTED] wrote: Hi Tim, yes, at

RE: tomcat + postgres

2006-02-02 Thread Tim Lucia
registers an object with JNDI that implements javax.sql.ConnnectionPoolDataSource. I.e., you don't need to ever use that interface directly. It's not part of J2EE 1.4 (it was last scene in 1.3). Tim -Original Message- From: Matthew Whisenhunt [mailto:[EMAIL PROTECTED] Sent

RE: Catalina.out gets to big-> Server crashes

2006-02-02 Thread Tim Lucia
/org/apache/log4j/RollingFileAppende r.html Tim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, February 02, 2006 5:32 AM To: Tomcat Users List Subject: Re: Catalina.out gets to big-> Server crashes Hello, sorry, I just clean forgot to tell the vers

Re: BUG TOMCAT 4.1.31 Stack Trace

2006-02-02 Thread Tim Funk
Its a database error [ ORA-01722: invalid number] coming from oracle. Looks like your trying do shove a nonnumber into a fields which is a number. This is a developer coding error. (not tomcat) -Tim Markus kalle wrote: that's the stack trace i get when i try the mentioned code. re

Re: The Future of Tomcat

2006-02-02 Thread Tim Funk
rnative is available and a critical mass move to it and stop working / using Tomcat. -Tim Roel De Nijs wrote: Hi, I heard that resources, updates, development and support of tomcat are slightly disappearing. MAny people are looking for alternatives (e.g. JBoss). Even Microsoft and HP are cooper

Re: The Future of Tomcat

2006-02-02 Thread Tim Funk
Apache is a legal entity which is composed of many developers who work on a variety of software projects in a variety of programming languages. Some projects are related to one another, others are not. Apache != httpd. httpd was the first Apache project. -Tim David Kerber wrote: Apache and

Re: Servlet filter on j_security_check

2006-02-02 Thread Tim Funk
You can't install a filter on j_security_check -Tim Martin Dubuc wrote: I am using form based authentication in my application. I would like to know if it is possible to install a Servlet filter on j_security_check. I have tried to install one, but it never gets invoked. Here

Re: Servlet filter on j_security_check

2006-02-02 Thread Tim Funk
If you want to be spec compliant. There is a bugzilla entry with respect to this and confirmation by the expert group that Tomcat's behavior is correct. -Tim Frank W. Zammetti wrote: Well, there you go Martin :) Tim, is this something peculiar to Tomcat that doesn't allow

RE: logfile sharing

2006-02-03 Thread Tim Lucia
/FileAppender.html Tim -Original Message- From: Andreas Daab [mailto:[EMAIL PROTECTED] Sent: Friday, February 03, 2006 9:41 AM To: users@tomcat.apache.org Subject: logfile sharing Hi, is it possible to share logfiles between different web applications running on different tomcat instances

Re: Catalina.out gets to big-> Server crashes

2006-02-03 Thread Tim Funk
http://tomcat.apache.org/faq/logging.html#catalina.out -Tim Joost de Heer wrote: now the question I have is now, how can I here setup jsvc so that it uses logrotation, As far as I'm aware catalina.out can't be rotated. For the Tomcat servers I maintain I've written a script t

RE: Would like to know what might be causing this exception in servlet

2006-02-05 Thread Tim Lucia
I think Chuck is right. One thing that most J2EE / web applications do not do is to catch the IOError the container is supposed to throw when the browser / client disconnects and closes the socket. That way the answering thread can immediately stop its work, clean up, and go home. Tim

RE: newbie:access tomcat virtual host via apache

2006-02-05 Thread Tim Lucia
that cookies set in Tomcat are relative to /someNonRootContext and so the browser does not send them back on the next request. Tim -Original Message- From: Dieter Schicker [mailto:[EMAIL PROTECTED] Sent: Sunday, February 05, 2006 4:46 AM To: Tomcat Users List Subject: Re: newbie:access

RE: file servlet

2006-02-05 Thread Tim Lucia
They are just files, like .html or .txt, or any other static content. If you need to set the mime type, supply a mime-mapping like this: zip application/zip See $CATALINA_HOME/conf/web.xml for the complete set of pre-installed mime types. Tim -Original Message

RE: Virtual Directory

2006-02-06 Thread Tim Lucia
Add a file, Tutorial.xml, to your C:\Program Files\Apache Group\Tomcat 4.1\webapps\ directory. It should contain at least the following: Please read here: http://tomcat.apache.org/tomcat-5.5-doc/appdev/deployment.html -Original Message- From: sumesh [mailto:[EMAIL PROTECTED] Sent: S

RE: Help with clustering

2006-02-06 Thread Tim Lucia
Yes. Use their IP address in the replication listener, i.e., (you probably have it set to "auto"...) -Original Message- From: Randy Paries [mailto:[EMAIL PROTECTED] Sent: Monday, February 06, 2006 12:57 PM To: users@tomcat.apache.org Subject: Help with clustering hello Pr

RE: wrapping manager "undeploy" Ant task

2006-02-06 Thread Tim Lucia
Add: failOnError="false" -Original Message- From: Glen Mazza [mailto:[EMAIL PROTECTED] Sent: Monday, February 06, 2006 8:25 AM To: users@tomcat.apache.org Subject: wrapping manager "undeploy" Ant task Hello, I'm using the manager tasks for Ant to undeploy and deploy my WAR file in To

RE: Application specific tomcat recycle?

2006-02-07 Thread Tim Lucia
Depending on what you mean by "recycle", it is likely that "stop" followed by "start" or "reload" of the /manager/html application will do what you want. Tim -Original Message- From: Biernesser, Beth [mailto:[EMAIL PROTECTED] Sent: Tuesday, Fe

RE: Application specific tomcat recycle?

2006-02-07 Thread Tim Lucia
The manager app provides independent application stop, start, reload, and undeploy operations. Read this for complete details: http://tomcat.apache.org/tomcat-5.5-doc/manager-howto.html Tim -Original Message- From: Biernesser, Beth [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 07

RE: turning off sessions

2006-02-07 Thread Tim Lucia
need one. This caused me confusion once upon a time. Tim -Original Message- From: David Durham [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 07, 2006 3:17 PM To: users@tomcat.apache.org Subject: turning off sessions Anyway to configure a Tomcat 5.5 app to not create sessions t

RE: turning off sessions

2006-02-07 Thread Tim Lucia
PM To: Tomcat Users List Subject: Re: turning off sessions Tim Lucia wrote: > Tomcat doesn't create sessions. Web applications create sessions. > I.e., code says: > > HttpSession session = > ((HttpServletRequest)request).getSession({true|false}); // true for > create

RE: turning off sessions

2006-02-07 Thread Tim Lucia
} Shows: Session: "null" But if I tack on ?session, it creates one as expected: Session: "[EMAIL PROTECTED]" So, the JSP must be the source of the session. I learned something new today. I don't know why (yet). Tim -Original Message- From: Ti

RE: turning off sessions

2006-02-07 Thread Tim Lucia
Thanks! Now I do remember seeing this. Been a long time since I have created a stateless application, I guess ;-) -Original Message- From: Ed [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 07, 2006 6:15 PM To: users@tomcat.apache.org Subject: RE: turning off sessions Yep, JSPs autom

RE: newbie:access tomcat virtual host via apache

2006-02-07 Thread Tim Lucia
t send it on requests 2-n, and therefore you really don't have sesion tracking. Kind of useless ;-) Tim -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of matador Sent: Tuesday, February 07, 2006 9:00 PM To: users@tomcat.apache.org Subject: RE: newbie:access to

Re: Two URLs, One Web Site

2006-02-08 Thread Tim Funk
RewriteCond %{REQUEST_URI} ^/$ RewriteRule.+ /companyB_index.html [L,R=302] Otherwise - use a ServletFilter to trap the incoming requests and redirect/forward to the alternate pages as needed. -Tim James Reynolds wrote: I have an interesting problem. I've been handed two websites

RE: Virtual Directory

2006-02-08 Thread Tim Lucia
Sorry, I did not read the version. Try this: http://tomcat.apache.org/tomcat-4.1-doc/appdev/deployment.html (Basically, I believe you need to add a to server.xml Tim -Original Message- From: sumesh [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 08, 2006 10:40 AM To: Tomcat

RE: Logging session timeouts

2006-02-09 Thread Tim Lucia
Below is a filter which keeps track of how many sessions are attached to a web app. The key part is the HttpSessionBindingListener interface. Tim /** * J2EE "Filter" to count page hits. What it counts depends on the url-mapping * in web.xml. * * @author tim.lucia */ pu

RE: Logging session timeouts

2006-02-09 Thread Tim Lucia
about url-mapping or filters that seemed to apply to this. It may be there, but I don't know enough about it to recognize it. Thanks! Dave Tim Lucia wrote: >Below is a filter which keeps track of how many sessions are attached >to a web app. The key part is the HttpSessionBind

RE: Logging session timeouts

2006-02-09 Thread Tim Lucia
there any way of telling if the session was actively invalidated, or if it timed out? Looking at the docs for HttpSessionBindingEvent, I don't see any differentiation between them. That's not a big deal, but would be nice to have. Dave Tim Lucia wrote: >Add the following fragme

RE: Logging session timeouts

2006-02-09 Thread Tim Lucia
e any session is created. That might be a better approach, depending on your need(s). In my case, the filter does a whole lot more, but I stripped it down before posting it to only show the relevant section. Tim -Original Message- From: Joey Geiger [mailto:[EMAIL PROTECTED] Sent: Thu

RE: Logging session timeouts

2006-02-09 Thread Tim Lucia
, and have just brought it along as needed... If someone knows for sure... Please let me (us) know. Tim -Original Message- From: David Kerber [mailto:[EMAIL PROTECTED] Sent: Thursday, February 09, 2006 1:16 PM To: Tomcat Users List Subject: Re: Logging session timeouts Thanks to both of yo

Re: pure java mod_rewrite using javax.servlet.Filter

2006-02-10 Thread Tim Funk
The Tomcat distritbution doesn't have an equivalent of mod_rewrite. Try http://javawebparts.sourceforge.net/ It has an apache license. -Tim Antony Riley wrote: Googles suggested implementation is GPL, which prohibits me from using it, and I'm not paying for the equivalent of mod_r

RE: FAQ? Taglibs not rendering in Tomcat 5

2006-02-10 Thread Tim Lucia
to experience quick turnaround. Tim -Original Message- From: catfarm [mailto:[EMAIL PROTECTED] Sent: Friday, February 10, 2006 2:23 PM To: users@tomcat.apache.org Subject: FAQ? Taglibs not rendering in Tomcat 5 (IF this is a FAQ please redirect me) I built an app with extensive use of

Re: Access log to see where robots go.

2006-02-10 Thread Tim Funk
r & Accessories //<!-- function invokeWebApp() { top.location.href = "<a rel="nofollow" href="http://www.theuniquepear.com/unique/index.jsp"">http://www.theuniquepear.com/unique/index.jsp"</a>;; } i

RE: Robots cannot read JSP?

2006-02-11 Thread Tim Lucia
fresh, or or if front-ended with apache, just provide a RedirectMatch ^/$ /unique/index.jsp line... HTH, Tim -Original Message- From: Scott Purcell [mailto:[EMAIL PROTECTED] Sent: Saturday, February 11, 2006 9:34 AM To: Tomcat Users List Subject: Robots cannot read JSP? Tim, Thanks

RE: Tomcat5.15 basic setup question

2006-02-13 Thread Tim Lucia
(apache) and mod_proxy / mod_jk if (not strictly necessary, although it is still widely done.) Tim -Original Message- From: Bob Hartung [mailto:[EMAIL PROTECTED] Sent: Monday, February 13, 2006 12:36 AM To: Tomcat Users List Subject: Re: Tomcat5.15 basic setup question Doug, Think I

RE: Suggestion for documentation update about jvmRoute

2006-02-13 Thread Tim Lucia
While you're at it, you could add "and must not contain the . character" (and any other illegal ones... I had a bear of a time figuring that out a few years ago when I chose the FQDN of the machine for the jvmRoute!) Tim -Original Message- From: Fred K [mailto:[EMAIL P

RE: ask a comparison between J2EE and JAVA, please help

2006-02-13 Thread Tim Lucia
http://www.google.com/search?hl=en&q=j2ee+versus+php http://www.google.com/search?hl=en&lr=&q=%22j2ee+or+php . . . -Original Message- From: Iosev Perez Rivero [mailto:[EMAIL PROTECTED] Sent: Monday, February 13, 2006 10:43 PM To: Tomcat Users List Subject: ask a comparison between J2EE a

RE: Setting up a parallel test environment on the same machine as main server

2006-02-14 Thread Tim Lucia
header, not by the connector host name. This is true for both httpd and tomcat (and any other web server.) You can always install Apache httpd + Tomcat on a second machine (or on the same machine on a separate set of ports), if you are reluctant to try it on you production host. HTH, Tim

RE: Setting up a parallel test environment on the same machine as main server

2006-02-14 Thread Tim Lucia
the same hardware, same OS, etc. Tim -Original Message- From: Alan Chandler [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 14, 2006 3:14 PM To: users@tomcat.apache.org Subject: Re: Setting up a parallel test environment on the same machine as main server On Tuesday 14 February 2006 12

RE: Setting up a parallel test environment on the same machine as main server

2006-02-14 Thread Tim Lucia
ave two virtual hosts (by name) in both server.xml and httpd.conf. Not sure how to solve the https problem -- never tried to myself. Hope this is helpful, Tim -Original Message- From: Alan Chandler [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 14, 2006 3:09 PM To: users@tomcat.ap

RE: Setting up a parallel test environment on the same machine as main server

2006-02-15 Thread Tim Lucia
only. The https part (having to use Ips) is unfamiliar to me (I have one site on my server running secure, and that works fine.) Someone else feel free to jump in here and correct me if I am wrong. Tim > > So, you should have two virtual hosts (by name) in both > server.xml and >

webapp references, classloaders and GC (oh my)

2006-02-15 Thread Tim Lucia
he developer pools and/or increasing the number of connections in the database, but I would still like to understand what is going on. Any ideas or insights would be appreciated. Thanks, Tim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

<    1   2   3   4   5   6   7   8   9   10   >