RE: Simple question about JSP page

2003-09-05 Thread Craig Berry
Hard to tell with the information given, but my guess is that you're getting a browser-cached copy of the "list all" page. Add the header voodoo to suppress caching and see if that helps. -Original Message- From: engp0510 [mailto:[EMAIL PROTECTED] Sent: Fri 9/5

RE: Simple question about JSP page

2003-09-05 Thread Shawn Zernik
you should post you tag code of the code for that page. It can either be a problem with your tag, or the connection pooling. Try stopping and restarting the app in the manager and see if that makes the updates take affect. If so, the issues is with re-use of objects and possible connection pooli

Re: Unable to compile class for JSP

2003-09-05 Thread Dave Stoker
John, Schalk, all, I had copied a servlet jar file from JRun to the Tomcat/shared/lib directory. Once this was removed the JSPs compile! Moral: JRun and Tomcat are very different. Thanks for the replies. Dave > Hi, After reading the archives I see this is not an uncommon error. I've > tried a c

Connection reset by peer: socket write error in tomcat log

2003-09-05 Thread Jiang Chen
Hi; I have quite a lot following exception in the tomcat log: ErrorDispatcherValve[localhost]: Exception Processing ErrorPage[errorCode=404, location=/pages/error.jsp] java.net.SocketException: Connection reset by peer: socket write error at java.net.SocketOutputStream.socketWrite(Native

Re: Deployment problems in tomcat 4.1.27 : jdbc and properties files

2003-09-05 Thread James Harman
Shailesh, Is it classes12.jar or classes12.zip? Your first post said zip. If it is zip make sure you rename it to jar. If you rename it to classes12.jar and put it in WEB-INF\lib it will be picked up. James Shailesh Modi wrote: Hi, I have kept classes12.jar in every possible places in tom

Simple question about JSP page

2003-09-05 Thread engp0510
Hi, Maybe it's a stupid question. Built jsps for adding&searching with MySQL. First listing all existing records in db and then adding a new one into database, then listing all records again. Now the list is the same as previous. How to solve it? THX -

Re: user threads limit in tomcat

2003-09-05 Thread Filip Hanik
go crazy until your system completely dogs out because of all the thread swapping it has to do Filip - Original Message - From: "Rishikesh Tembe" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, September 05, 2003 5:48 PM Subject: user threads limit in tomcat hi, Is there any l

user threads limit in tomcat

2003-09-05 Thread Rishikesh Tembe
hi, Is there any limit on the number of user threads I can spawn from a servlet, running in Tomcat? TIA, Rishikesh. = Yahoo! India Matrimony: Find your partner online. Go to http://yahoo.shaadi.com --

RE: Installing Tomcat 4.1.24 as a service on Win 2000 - won't start

2003-09-05 Thread John Corrigan
When installing as a service, the installation routine uses whatever environment variables are set in the shell. Once installed as a service Tomcat uses registry values, not environment variables. My two cents :) -Original Message- From: Mark Eggers [mailto:[EMAIL PROTECTED] Sent: Friday

Re: Debugging outbound SSL communications?

2003-09-05 Thread Christopher Williams
You need to specify the keystore in conf\server.xml. I assume that you've set up the SSL connector. Do a search on the string "keystoreFile" and set the value to the correct keystore. - Original Message - From: "Ert" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, September 05

Inquiry received

2003-09-05 Thread [EMAIL PROTECTED]
Thank you for your inquiry to Alset Support! We will process your request as soon as possible. Please see www.alset.com for complete support information. Alset Support Staff - To unsubscribe, e-mail: [EMAIL PROTECTED] For addi

Testing

2003-09-05 Thread Tam, Michael
Testing my autoreply. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Installing Tomcat 4.1.24 as a service on Win 2000 - won't start

2003-09-05 Thread Mark Eggers
If you're starting things as a service, the environment variables need to be defined at the system level and not the user level. HTH /mde/ just my two cents . . . . __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuild

Installing Tomcat 4.1.24 as a service on Win 2000 - won't start

2003-09-05 Thread Goehring, Chuck Mr., RCI - San Diego
Tomcatters, I'm having trouble getting tomcat installed as a Win2000 service. Below is the command I'm using: "%CATALINA_HOME%\bin\tomcat.exe" -install "Apache Tomcat" "%JAVA_HOME%\jre\bin\server\jvm.dll" -Djava.class.path="%CATALINA_HOME%\bin\bootstrap.jar" -Djava.endorsed.dirs="%CATALINA_HOM

Charset encoding issue

2003-09-05 Thread lima
Hi, guys. How are you ? I have a jsp page with some form fields. I don't know how is the right way to set the charset (because we're using portuguese characters). This is the only configuration that have worked for me : <%@ page contentType="html/text; charset=UTF-8"%> (...) Is it right ? Is

Re: Memory leaks?

2003-09-05 Thread Jim Lynch
I have no home grown libs, but I do have a lib for the "Split" function and the gnu-regex lib. Now that split is available in 1.4 I could convert to it and see if that helps. I have no idea how to profile and exercise a library, so I'd have to answer "no". Thanks, Jim. Mike Curwen wrote: > > A

Servlet/JSP Lifecycle and Performance

2003-09-05 Thread Lukas Bradley
All, Where can I get a description of how Tomcat handles a Servlet lifecycle from init() to removal from memory? I'm interested in how long a Servlet is held in memory, and how long it remains inactive before it is removed from the Servlet pool. Also, are there performance statistics of the maxi

Session Timeouts and SSO

2003-09-05 Thread G. Wade Johnson
Thanks again for all of the responses so far on my Timeout issue. I still have a problem, but it is not what I thought it was. Apparently, there is a set to 30 minutes in the $CATALINA_HOME/conf/web.xml that I have. I don't recall changing this (but I won't rule out the possibility). I modified t

Re: setting external classes in the classpath

2003-09-05 Thread Pradeep Gummi
Hi Chistopher, I got this figured out with out placing the classes in any of the CATALINA_HOME sub directories by deleting the CLASSPATH set in the setclasspath.bat file. Check out the setclasspath.bat file. you wont have the classpath appended there. It just replaces the classpath what ever y

Re: Tomcat 4.1.24 Coyote Connector hangs

2003-09-05 Thread Remy Maucherat
[EMAIL PROTECTED] wrote: Hi, Our Tomcat instances are configured to use two Coyote Connectors, one for requests from our SSL accelerator and the other for standard HTTP requests. We are experiencing problem where after a period of time, anything from 10 minutes to a few days, one of the Connector

Re: response.sendRedirect

2003-09-05 Thread Ben Souther
>The one thing you want to watch out for with relative redirects is that >they're converted by the servlet container to absolute URLs (this is in the >servlet spec). This is, by the letter of the HTTP spec, the correct thing >to do. Unfortunately, it can cause problems in deployments where an

RE: response.sendRedirect

2003-09-05 Thread Allen Hadden
The one thing you want to watch out for with relative redirects is that they're converted by the servlet container to absolute URLs (this is in the servlet spec). This is, by the letter of the HTTP spec, the correct thing to do. Unfortunately, it can cause problems in deployments where an prox

Re: response.sendRedirect

2003-09-05 Thread Ben Souther
The easiest way to understand this is to think about how a browser sees a relative link. Browsers don't know that they're dealing with a servlet app. A sendRedirect simply puts the following header in the response: "Location: url" Let's take the following url: http://www.mydomain.com/cal/inde

RE: Inquiry received

2003-09-05 Thread Welch, Ronald P
1377732 is the latest Windchill config id I have. It should be the same config id for the gateway, I assume. --=-=-=-=-=-=-=-=-oOo-=-=-=-=-=-=-=-=-- mailto:[EMAIL PROTECTED]Phone:(607)770-3701 BAE SYSTEMS Controls600 Main St Johnson City,

Debugging outbound SSL communications?

2003-09-05 Thread Ert
I'm using a poorly-supported external service that interacts over SSL. I can connect fine to their production environment, but their developer environment apparently uses a less-well-known certifying authority, and when I try to use it I am thwarted: javax.net.ssl.SSLException: Connection h

Tomcat 5.0 Setup

2003-09-05 Thread Jun Zuo
Hi, there! I just installed Tomcat 5.0.9 on my Windows 2000 Professional laptop. When I click on the Welcome link in the Tomcat group on the Start menu, I get the Enter Network Password dialog, with Site 127.0.0.1 and Realm XDB. I tried the admin login but it didn't work. I don't think that I'm s

Inquiry received

2003-09-05 Thread [EMAIL PROTECTED]
Thank you for your inquiry to Alset Support! We will process your request as soon as possible. Please see www.alset.com for complete support information. Alset Support Staff - To unsubscribe, e-mail: [EMAIL PROTECTED] For addi

Re: response.sendRedirect

2003-09-05 Thread Christopher Williams
Say you're accessing pages on localhost, so your URLs take the form http://localhost:8080/war-file/jsp-file then the servlet container root is http://localhost:8080/ and a redirect to "/another-war-file/another.jsp" would be a redirect to: http://localhost:8080/another-war-file/another.jsp

Re: Tomcat as an in-process Servlet container?

2003-09-05 Thread Carlos Cajina - Hotmail
Howdy Bill. My confusion comes from the fact that when using channelSocket to connect Apache and Tomcat I can type the URL of any WebApp without specifying Tomcat's listening port because the mapping/forwarding is handled in the config files, but after configuring ChannelJni to handle Apach

Re: setting external classes in the classpath

2003-09-05 Thread Christopher Williams
I guess that about a hundred people will respond to this. Tomcat, for reasons better known to itself, ignores your classpath. The easiest solution is to put your JAR in the Tomcat common\lib directory. Alternatively, you can put them in WEB-INF\lib. Question to any Tomcat developers reading: why

response.sendRedirect

2003-09-05 Thread Charlie Toohey
The Servlet API doc for the sendRedirect method states: "If the location is relative with a leading '/' the container interprets it as relative to the servlet container root." I've looked thru the Servlet Spec and can not quite figure out what they mean by servlet container root ? Is th

tomcat 4.1.27: Realm authentication 400 error code

2003-09-05 Thread Fabio Bazzani
How is it possible I get this message: HTTP Status 400 - Invalid direct reference to form login page during JDBC Realm FORM authentication. These are the stpes I followed : 1. create tables in mysql db : create table IsInRole( usernamevarchar(20) not null,

Re:setting external classes in the classpath

2003-09-05 Thread Pradeep Gummi
Hi all, I am tring to include external classes that are needed for my servlet class. I tried to modify classpath in setclasspath.bat file by set CLASSPATH=%JAVA_HOME% \lib\tools.jar;c:\mindbridge\classes\saclasses.jar I needed all the classes in the saclasses.jar file for my servlet. When i

RE: SSL/Verisign Confusion

2003-09-05 Thread Dave Wood
Well, after all this, I just discovered that VeriSign will basically let you start over if it's within 30 days (which it is). So, for now, I'm going down this path. Just talked to someone at V/S who said it would take just a couple hours. Oh, and I made a BACKUP of my new keystore file this time

Tomcat 4.1.24 Coyote Connector hangs

2003-09-05 Thread ryan
Hi, Our Tomcat instances are configured to use two Coyote Connectors, one for requests from our SSL accelerator and the other for standard HTTP requests. We are experiencing problem where after a period of time, anything from 10 minutes to a few days, one of the Connectors stops working. The eff

Re: Session Timeout

2003-09-05 Thread G. Wade Johnson
I'm looking at the 2.3 spec right now. SRV 7.5 does say that the timeout set by setMaxInactiveInterval() is for inactivity. However, that section doesn't address the parameter. It does say that the default is up to the container. In SRV.13.3, the defines the default timeout. However, the word "i

Re: SSL/Verisign Confusion

2003-09-05 Thread Christopher Williams
Have you thought of manipulating the keystore programmatically? Here's what you'd do: 1. Open your existing keystore 2. Find the entry with your private key and (presumably) a temporary self-signed certificate. 3. Open the certificate you got from Versign. 4. Change the certificate in your key en

Re: How to use classes from another webapp/context?

2003-09-05 Thread Christopher Williams
Easiest method: Put JSPs in WAR and stick in webapps Put classes in JAR and stick in common\lib - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Memory leaks?

2003-09-05 Thread Mike Curwen
After about 15 emails, I'm gonna go back to the first: > I seemed to have read that java/tomcat isn't > supposed to have memory leaks, AND > So where do I start looking for the problem? > If I forget to close Statements would that cause the > problem? So first of all, Java has built-in memo

Re: Tomcat startup failure

2003-09-05 Thread John Turner
Sounds to me like a permissions/environment problem. For example, starting Tomcat as root manually, but then the script tries to start tomcat as some non-root user. If Tomcat starts as root, log files are owned by root and non-root users cannot write to them. It should throw an error somewhe

RE: When does tomcat notice a newly deployed war file?

2003-09-05 Thread Roy Smith
It's in there already (came that way in the default install). Anything else you can think of? I'm going to try turning the debug value up to see if that shows me anything. -- Schalk <[EMAIL PROTECTED]> wrote: In your tomcat server.xml you can add a property like this: Kind Regards Sch

Re: Session Timeout

2003-09-05 Thread G. Wade Johnson
That's actually why I was floored when my applet was kicked back to the login form after half an hours of continuous activity. Mike Curwen wrote: > > anything you set in WEB-INF/web.xml can be set in > CATALINA_HOME/conf/web.xml and these setting will be used on a global > basis, unless overriden

Re: Memory leaks?

2003-09-05 Thread Jim Lynch
I'm most certain the connections are closed but there may be a few dangling statements. I'm using mysql jdbc. Not using pools since I never could get it working. Making direct requests. Still getting a out of memory hit every couple of days so I have to shutdown the server and start it up aga

RE: Sessions in Tomcat

2003-09-05 Thread Shapira, Yoav
Howdy, You'll need to provide more information so we can help you ;) Needless to say, the number guess example works properly for nearly everyone ;) Yoav Shapira Millennium ChemInformatics >-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >Sent: Friday, September 0

RE: Bug in ErrorDispatcherValue?

2003-09-05 Thread Mike Cherichetti \(Renegade Internet\)
After debugging this further, I've figured out what's going on here. I was calling two methods after committing the response that process some optional logging to a backend database and submit a record to a queue that later gets processed by a background thread in batches. Both of those methods a

Re: SSL/Verisign Confusion

2003-09-05 Thread John Turner
I always use openssl myself, but from the sound of this thread, it sure sounds like it is desperately needed! Thanks! John Lawrence, Gabriel wrote: I'm working on a tool to pull out the private key. It should be done by the end of the day. I will send something to the list when I have it finis

RE: SSL/Verisign Confusion

2003-09-05 Thread Dave Wood
So it's possible then...? That's promising. Thanks (in advance) very much. -dave -Original Message- From: Lawrence, Gabriel [mailto:[EMAIL PROTECTED] Sent: Friday, September 05, 2003 10:13 AM To: Tomcat Users List Subject: RE: SSL/Verisign Confusion I'm working on a tool to pull out t

RE: SSL/Verisign Confusion

2003-09-05 Thread Lawrence, Gabriel
I'm working on a tool to pull out the private key. It should be done by the end of the day. I will send something to the list when I have it finished. Kind of funny how just as I'm getting around to a project that has been on my plate all week someone else needs it too ;-) -gabe -Original Mes

RE: SSL/Verisign Confusion

2003-09-05 Thread Jay Garala
Is public the one returned from Versign or is it the Verisign's CA Cert? If you want try following to see if the cert exists within JDK trusted calist: Execute from jdk\jre\lib\security Directory keytool -list -keystore cacerts -storepass changeit Jay -Original Message- From: Dave Wood

Re: Using jndi to get a DBCP BasicDataSource give ClassCastExce ption

2003-09-05 Thread Adam Hardy
No, my mistake. This is my server.xml context for using a resource link: Perhaps it's the resource link type here that you need to examine? Adam On 09/05/2003 05:37 PM Angus Mezick wrote: Andrew: I wish, I don't use * in my imports though. I have attached the full tag that causes thi

RE: Using jndi to get a DBCP BasicDataSource give ClassCastExce ption

2003-09-05 Thread Bodycombe, Andrew
You could try -Original Message- From: Angus Mezick [mailto:[EMAIL PROTECTED] Sent: 05 September 2003 16:37 To: Tomcat Users List Subject: RE: Using jndi to get a DBCP BasicDataSource give ClassCastExce ption Andrew: I wish, I don't use * in my impo

RE: Using jndi to get a DBCP BasicDataSource give ClassCastExce ption

2003-09-05 Thread Angus Mezick
Andrew: I wish, I don't use * in my imports though. I have attached the full tag that causes this error. Adam: Is there a tag named GlobalResourceLink that I am not aware of? I am using ResourceLink as the docs tell me. --Angus (3 A's) > -Original Message- > From: Bodycombe, Andrew [

Sessions in Tomcat

2003-09-05 Thread steph . kimbrough
Hi everybody! In a webapp (Struts/Tomcat) we have the problem, that actions will not be found. Besides that we encountered another more universal problem with Tomcat: A Session is started for each request. So eg in the Number Guess example the Number to be guessed doesn't stay the same and you ge

RE: SSL/Verisign Confusion

2003-09-05 Thread Dave Wood
I did everything with keytool. I tried keyclone last night, but it appears that you can't clone a "trustedCertEntry". I get the error: "Alias has no (private) key" ...it almost seems like once your keyEntry becomes a trustedCertEntry, you can't get to the private key at all. ??? The REALLY an

Re: setting classpath in setclasspath.bat

2003-09-05 Thread Pradeep Gummi
Hi all, I am tring to include external classes that are needed for my servlet class. I tried to modify classpath in setclasspath.bat file by set CLASSPATH=%JAVA_HOME% \lib\tools.jar;c:\mindbridge\classes\saclasses.jar I needed all the classes in the saclasses.jar file for my servlet. When i r

[OT] javamail uses wrong timezone in tomcat

2003-09-05 Thread Vladimer Shioshvili
Hi all, I am trying to send email message using javamail from Tomcat and messages have GMT + timestamp. Do i have to manually set the date through the javamail message, or i am missing something else? Thanks, Vlad Vladimer Shioshvili QRC Division of Macro International Inc.

RE: SSL/Verisign Confusion

2003-09-05 Thread Jay Garala
Hmm.. Did you create the PK in Tomcat's keystore or your JDK's keystore? Try the keyclone? Clone your 'company' to 'tomcat'. -Original Message- From: Dave Wood [mailto:[EMAIL PROTECTED] Sent: Friday, September 05, 2003 11:07 AM To: Tomcat Users List Subject: RE: SSL/Verisign Confusion

RE: Using jndi to get a DBCP BasicDataSource give ClassCastExce ption

2003-09-05 Thread Bodycombe, Andrew
I suppose there could be two different classes called BasicDataSource, in two different packages... -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: 05 September 2003 16:03 To: Tomcat Users List Subject: Re: Using jndi to get a DBCP BasicDataSource give ClassCastExcepti

RE: When does tomcat notice a newly deployed war file?

2003-09-05 Thread Schalk
In your tomcat server.xml you can add a property like this: Kind Regards Schalk Neethling Volume4.Development.Multimedia.Branding emotionalize.conceptualize.visualize.realize Tel: +27125468436 Fax: +27125468436 email:[EMAIL PROTECTED] web: www.volume4.co.za :: -Original Message

RE: SSL/Verisign Confusion

2003-09-05 Thread Dave Wood
I realize you can't do this with keytool. Is there no way to do it at all? I'm beginning to think I might be totally hosed here. Thanks, Dave -Original Message- From: Jay Garala [mailto:[EMAIL PROTECTED] Sent: Friday, September 05, 2003 8:37 AM To: 'Tomcat Users List' Subject: RE: SSL/V

Re: Using jndi to get a DBCP BasicDataSource give ClassCastException

2003-09-05 Thread Adam Hardy
And that was with the GlobalResourceLinK That doesn't make sense! If you get BasicDataSource as the class's name, then you won't get a ClassCastException if you try to cast it to that, but you did, so er. wow, you've got me stumped. On 09/05/2003 02:31 PM Angus Mezick wrote: I did a

RE: SSL/Verisign Confusion

2003-09-05 Thread Jay Garala
NOTE: You cannot export private key from keystore. -Original Message- From: Dave Wood [mailto:[EMAIL PROTECTED] Sent: Friday, September 05, 2003 10:32 AM To: Tomcat Users List Subject: RE: SSL/Verisign Confusion Thanks. With the exception of the openssl doc, I've been over these quite a

unsubscribe!

2003-09-05 Thread mailrun
I want to unsubscribe. I tryed to do this according the instruction, but still receive mails. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: forward error

2003-09-05 Thread Tim Funk
You can't prevent the whitespace. So as a kluge, I have a swallow tag for such occasions. In your tld ... swallow SwallowTag import java.io.IOException; import javax.servlet.jsp.JspException; import javax.servlet.jsp.tagext.BodyTagSupport; public class SwallowTag extends BodyTagSupp

RE:CLASSLOADER(?) Using jndi to get a DBCP BasicDataSource give ClassCastException

2003-09-05 Thread Angus Mezick
Could this be a ClassLoader issue? Seems like it might be. Something about the difference between the server and context loaders? > -Original Message- > From: Angus Mezick > Sent: Friday, September 05, 2003 8:31 AM > To: Tomcat Users List > Subject: RE: Using jndi to get a DBCP BasicDat

RE: SSL/Verisign Confusion

2003-09-05 Thread Dave Wood
Thanks. With the exception of the openssl doc, I've been over these quite a bit. The result is the problem I've mentioned where keytool says it can't import my certificate because the alias already exists. After some help I got last night, I think the question boils down to this: * once I have

RE: forward error

2003-09-05 Thread Shapira, Yoav
Howdy, >is there a solution for limit whitespace generated by JSTL code ? This would be a great patch for you to contribute to jakarta-taglibs! ;) Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential,

RE: Session Timeout

2003-09-05 Thread Shapira, Yoav
Howdy, The servlet specification is the only authority on this, misleading books should be tossed aside. SRV.7.5 is clear, session timeout is for inactivity, not total duration, as Senor Curwen opined. The first part of his message, using $CATALINA_HOME/conf/web.xml, I would discourage, as it's

Tomcat startup failure

2003-09-05 Thread Noel Rappin
I have a set up where tomcat is supposed to start on boot via an rc shell script on a Linux system (tomcat 4.1.18). I have this intermittent failure mode where tomcat fails to start up on reboot. I can _always_ trigger this failure by deleting all tomcat log files, and then rebooting. After

Re: Memory leaks?

2003-09-05 Thread Christopher Williams
It's simple good practice to close objects that have close methods when you no longer need them (as you do with stream objects, for example). The spec says that ResultSet objects are closed when their Statement objects are closed and that Statement objects are closed when their Connection objects

Re: forward error

2003-09-05 Thread Maxime Colas des Francs
thanks ! i put all my loop in the same line and it's work. is there a solution for limit whitespace generated by JSTL code ? or i have to put all loop of my application in one line ?? At 09:50 2003-09-05 -0400, you wrote: The last thing your page does is . Before that is a loop. You are pr

Bug in ErrorDispatcherValue?

2003-09-05 Thread Mike Cherichetti \(Renegade Internet\)
I've had this happen twice in the past two days on two rather busy servers. Both are running RedHat Linux 7.3, IBM JDK 1.4.1, and Tomcat 4.1 (one is 4.1.24 and the other is 4.1.27). After these exceptions hit the error log, Tomcat stops responding: 2003-09-05 06:33:06 ErrorDispatcherValve[www.my

RE: Session Timeout

2003-09-05 Thread Mike Curwen
anything you set in WEB-INF/web.xml can be set in CATALINA_HOME/conf/web.xml and these setting will be used on a global basis, unless overriden at a lower level. FWIW, I've always understood session-timeout to mean "after a period of inactivity". I mean really... how useful would sessions be if

Re: Session Timeout

2003-09-05 Thread G. Wade Johnson
I'm using Tomcat 4.1.18 & 4.1.24 (two different machines). The behavior is the same on both. As I said in my other message, I was basing my questions on the documentation I had read. Your response made me do a little testing. Now, I'm even more confused. My assumption was based on information in "

RE: forward error

2003-09-05 Thread Shapira, Yoav
Howdy, I'm not a JSTL expert, but I would imagine any of those taglibs could write stuff to the header of your page, thereby committing your response. It seems like you're trying to log stuff and then forward: use a filter for this rather than a JSP. Yoav Shapira This e-mail, including any at

Re: forward error

2003-09-05 Thread Tim Funk
The last thing your page does is . Before that is a loop. You are probably filling up the buffer with whitespace, then the repsonse gets committed when the buffer is full. -Tim Maxime Colas des Francs wrote: Hi thks for your response, but here is my code, i don't understand where the resp

RE: forward error

2003-09-05 Thread Allen Hadden
It could be in one of your tag libraries, but you probably thought of that already. :) I've also seen cases where it's the generated servlet that has out.println calls before the redirect. Perhaps it's the newline character after the "%>". Try putting all of the directives (page and taglib)

Re: forward error

2003-09-05 Thread Maxime Colas des Francs
Hi thks for your response, but here is my code, i don't understand where the response is commited ! _ <%@ page contentType="text/html; charset=iso-8859-1" language="java" errorPage="/error_jsp.jsp"%> <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"; %> <%@ taglib prefix="l

Re: [OT] Realizing a search functionality

2003-09-05 Thread Louise Pryor
On Friday, September 5, 2003 at 1:20:00 PM, John Turner wrote: JT> The other tool I've used in the past to JT> great success is Atomz (http://www.atomz.com). The "trial" is JT> never-ending, so an index of up to 500 "pages" is free. Pages also = JT> URL. The nice thing about Atomz is that

RE: SSL/Verisign Confusion

2003-09-05 Thread Jay Garala
Try the Java keytool help: http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/keytool.html Tomcat how-to: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/ssl-howto.html If you have OpenSSL: http://forum.java.sun.com/thread.jsp?forum=2&thread=4240 Jay -Original Message- From: Dave Wo

Re: [OT] Realizing a search functionality

2003-09-05 Thread John Turner
Ulrich Mayring wrote: John Turner wrote: Ulrich Mayring wrote: I can only recommend Lucene, it is vastly superior to any pre-packaged search engine, because you do not depend on specific features or behavior, but can customize everything to your needs. Assuming you have time, money, skills,

When does tomcat notice a newly deployed war file?

2003-09-05 Thread Roy Smith
I've got Tomcat-4.1.24 running on Linux. I built a new war file and copied it to my webapps directory. According to my Tomcat book, "Once Tomcat notices the file, it will unpack it...". I guess the question is, what do I need to do to make Tomcat notice it? Nothing seems to be happening, and

Re: [OT] Realizing a search functionality

2003-09-05 Thread Ulrich Mayring
John Turner wrote: Ulrich Mayring wrote: I can only recommend Lucene, it is vastly superior to any pre-packaged search engine, because you do not depend on specific features or behavior, but can customize everything to your needs. Assuming you have time, money, skills, etc. to do so, which is no

RE: Cannot shutdown Tomcat gracefully

2003-09-05 Thread Shapira, Yoav
Howdy, People assign priorities when they submit issues. People also tend to exaggerate the importance of their own bugs. You should consider it more on a personal level, i.e. is it a blocker to you? Likely not. And no, it does not affect session serialization. Yoav Shapira Millennium ChemInf

servlet execution when updating web.xml

2003-09-05 Thread Jason Jesso
Hi: I have a servlet which adds servlet config to "web.xml". It seems that I get a servlet exception. If I reload it the servlet then it works. I think Tomcat stops execution of servlets while it is reloading "web.xml".Is this the case? If so, is there anyway around this? Thanks again,

Re: How to use classes from another webapp/context?

2003-09-05 Thread Ulrich Mayring
Pradeep Gummi wrote: Hi Ulrich, I think you should get them working by placing the classes in the CATALINA_HOME/common/classes folder or the jars in the lib folder. This would share the classes in all web apps. There you would be giving the information of the catalina and system class loaders.

Re: [OT] Realizing a search functionality

2003-09-05 Thread John Turner
Ulrich Mayring wrote: Lucene is not a search engine, but an API for writing a search engine, so it can do everything that you can write in Java. By itself it does nothing, like the JDK. Thanks for the clarification. I can only recommend Lucene, it is vastly superior to any pre-packaged search

Re: Memory leaks?

2003-09-05 Thread Tim Funk
It depends. If your webapp calls connection.close(), then the result sets *should* be closed. But that is based one of the following assumptions: - Your connection is the actual db connection and the driver is JDBC compliant - The connection is a facade to the actual connection for the sake of us

Re: [OT] Realizing a search functionality

2003-09-05 Thread John Turner
Thanks for the clarification. John Tim Funk wrote: Lucene indexes "documents". A document is composed of fields and does not need (and it actuually is not) to be a physical file. In the simplistic example of a site consisting of a single dynamic web page backed by a database. You would create

Re: How to use classes from another webapp/context?

2003-09-05 Thread Pradeep Gummi
Hi Ulrich, I think you should get them working by placing the classes in the CATALINA_HOME/common/classes folder or the jars in the lib folder. This would share the classes in all web apps. There you would be giving the information of the catalina and system class loaders. grant codeBase "file

Re: Memory leaks?

2003-09-05 Thread John Turner
Tim Funk wrote: The JDBC spec states that when a connection is closed, all dependent assets should also be closed. So if you are using a pool, make sure your pool is compliant since the connection is never closed until the pool closes it. So, that means that if you have a pool of ten connection

RE: Using jndi to get a DBCP BasicDataSource give ClassCastException

2003-09-05 Thread Angus Mezick
I did an I got BasicDataSource. --Angus > -Original Message- > From: Adam Hardy [mailto:[EMAIL PROTECTED] > Sent: Friday, September 05, 2003 4:19 AM > To: Tomcat Users List > Subject: Re: Using jndi to get a DBCP BasicDataSource give > ClassCastException > > > Hi Angus, > looked at you

Re: Apache Tomcat Performance Handbook

2003-09-05 Thread John Turner
That's why...they're no longer being printed. Anything you see on shelves or in stores is backstock. Peer Information Services, which owned Wrox and several other publishing houses (like Friends of Ed) liquidated in March, 2003. Apress and Wiley picked up most of the assetsthe books that

Re: [OT] Realizing a search functionality

2003-09-05 Thread Tim Funk
Lucene indexes "documents". A document is composed of fields and does not need (and it actuually is not) to be a physical file. In the simplistic example of a site consisting of a single dynamic web page backed by a database. You would create "documents" based on the database data where the db

reloading web.xml

2003-09-05 Thread Jason Jesso
I have noticed that Tomcat will see any changes in "web.xml" for a particular webapp without restarting the server. But I have seen a few times where it doesn't reload the update to "web.xml" for my webapp. Is this normal? Or is there a way to get Tomcat to reload web.xml on every change to i

Re: [OT] Realizing a search functionality

2003-09-05 Thread Ulrich Mayring
John Turner wrote: AFAIK, Lucene indexes files. How then, do you index a dynamic site? The only files that exist on a dynamic site are source code files. Servlets would never be indexed...how then do you index the content returned from the servlet? Can Lucene do this? Lucene is not a search en

Re: [OT] Realizing a search functionality

2003-09-05 Thread John Turner
AFAIK, Lucene indexes files. How then, do you index a dynamic site? The only files that exist on a dynamic site are source code files. Servlets would never be indexed...how then do you index the content returned from the servlet? Can Lucene do this? The Lucene site is pretty sparse in informa

AW: Memory leaks?

2003-09-05 Thread Rademacher Tobias
As far as I know the Oracle JDBC driver does not follow the specificiation. You should close your all objects in the following order: 1) ResultSet 2) Statement 3) Connection > -Ursprüngliche Nachricht- > Von: Tim Funk [mailto:[EMAIL PROTECTED] > Gesendet am: Freitag, 5. September 2003 13:

Re: Apache Tomcat Performance Handbook

2003-09-05 Thread Darryl L. Pierce
John Turner wrote: The book was never published. The original publisher (Wrox) went out of business and liquidated assets. Was this recently? Just this past weekend I picked up a Wrox press book (Java Data) and it was 50% off. All of their books at Borders were 50% off. -- Darryl L. Pierce <[EM

Re: Is server.xml a standard J2EE config file

2003-09-05 Thread Tim Funk
Its something specific to tomcat. -Tim Agarwal, Naresh wrote: Hi Is "server.xml" file used by Tomcat a stanard configuration files used in J2EE App Servers or it is something specific to Tomcat? thanks, Naresh - To unsubscr

  1   2   >