Re: SSL/Verisign Confusion

2003-09-05 Thread Bill Barker
Dave Wood [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Thanks Bill. I think this highlights something I'm really not understanding... Didn't I generate an important private key somewhere along the line that I can't just regenerate if I blow away my keystore? I assumed the

RE: SSL/Verisign Confusion

2003-09-05 Thread Dave Wood
OK, good...glad I'm not as confused as I thought. :) Problem is...I don't see any way to extract a private key using keytool. Perhaps I just need to look at openssl...I haven't used this tool yet. Thanks, -dave -Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of Bill

Re: Memory leaks?

2003-09-05 Thread Nikola Milutinovic
But depending on the DB, it can cause problems from the DB with too many open ResultSets... I had an issue with performance testing where everything but ResultSets were being closed and the Oracle DB started throwing errors after about 500 queries. Better safe than sorry. Well, from what I

Re: Tomcat and multiple processors

2003-09-05 Thread Marco Tedone
It would be nice :) - Original Message - From: [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, September 05, 2003 12:07 AM Subject: Re: Tomcat and multiple processors (1) Install TC as many times as you need JVM instances; (2) for each instance, rename home

Setting up front page servlet to not use a redirect like Slashdot.org.

2003-09-05 Thread A. Zazula
Hello all, Suppose I'm running slashdot.org except coded with Java instead of Perl. I want the main page served by a servlet named index but without any redirects. So when the user types http://slashdot.org/ into their browser and goes there they won't be redirected to

Mac/zip stream problem

2003-09-05 Thread Jan Agermose
I started posting this on java newsgroup, as im not really sure it has anything to do with tomcat... but as no one replied I will give it a go here :-) I have this webapplication, that lets You pick a list of pictures to download. At the en you click on a link that says download and this url is

Re: Using jdk1.4 logger problem

2003-09-05 Thread Adam Hardy
On 09/05/2003 05:16 AM Bill Barker wrote: But, some how the logger manager can't find the handler classes. (Class loader problem?) Yup, it's a CL problem. Unfortunately, it looks like the problem is in Sun's implementation of 1.4 Logging. Instead of using the ContextClassLoader, it's looking for

RE: Unable to compile class for JSP

2003-09-05 Thread Schalk
Dave What is the request you send to Tomcat, i.e. what is this JSP supposed to accomplish? Kind Regards Schalk Neethling Volume4.Development.Multimedia.Branding emotionalize.conceptualize.visualize.realize Tel: +27125468436 Fax: +27125468436 email:[EMAIL PROTECTED] web: www.volume4.co.za ::

RE: Unable to compile class for JSP

2003-09-05 Thread John Corrigan
Are you running Tomcat as a service? If so, edit the registry and change the path of the jvm.dll to the one in the server directory of your jsdk installation. -Original Message- From: Dave Stoker [mailto:[EMAIL PROTECTED] Sent: Thursday, September 04, 2003 9:22 PM To: [EMAIL PROTECTED]

How to use classes from another webapp/context?

2003-09-05 Thread Ulrich Mayring
Hello, I know that Tomcat has seperate classloaders for each webapp, but what I would like to do is have JSPs in one webapp and the classes they use in another. I tried enabling the crossContext feature for the relevant contexts, but that didn't work, the classes weren't found. Background: we

Cannot shutdown Tomcat gracefully

2003-09-05 Thread Krause Karin
Hello, I saw that bug in the bug database http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20663 I also receive this exception with Tomcat 4.1.27 and Solaris. I'm just wondering why this bug has the Severity Blocker. Can someone tell me about the consequences of this bug? Are there any severe

IIS mod_jk and tomcat 4.1.18 issue

2003-09-05 Thread Tobias Kieninger
Hi, i installed iis 5.0 with iis_redirect.dll and tomcat 4.1.18. This configuration uses Coyote/JK2 AJP 1.3 Connector and works two times without reasonable problems. On a third server a _few_ Clients have Problems getting any results. Partly JSP works but images aren´t displayed. On Refresh a

Re: Migrating from JServ to Tomcat 4.0

2003-09-05 Thread Tim Funk
You'll have the same problem moving to any other servlet compliant engine. Making the change now (as painful as it could be) will be well worth the effort. -Tim Pradeep Gummi wrote: Thank you Filip, I can get the classes working in Tomcat if I place them in the WEB-INF Classes folder and set

Re: Tomcat and multiple processors

2003-09-05 Thread Fred Kreek
Just one TC is enough, just run it with different CATALINA_BASES. each base needs the following directories: $CATALINA_BASE/conf - configuration files $CATALINA_BASE/work $CATALINA_BASE/temp $CATALINA_BASE/logs i've made a little script like this: (bash script) for DIR in * ; do SITE=`expr

Re: Sharing of JSP pages across multiple web apps

2003-09-05 Thread Tim Funk
Why? Thats one to complain to the spec people about. You can use Bill's idea of symlinks. My preference is to use the build process to make copies of the pages from a central repository. Another alternative is to precompile those common jsps and place them into a JAR and alter web.xml with

Re: Tomcat and multiple processors

2003-09-05 Thread Fred Kreek
Sorry for that last mail, accidently sent the file. Here is the normal one Just one TC is enough, just run it with different CATALINA_BASES. each base needs the following directories: $CATALINA_BASE/conf - configuration files $CATALINA_BASE/work $CATALINA_BASE/temp $CATALINA_BASE/logs i've made a

Is server.xml a standard J2EE config file

2003-09-05 Thread Agarwal, Naresh
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 unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: Memory leaks?

2003-09-05 Thread Tim Funk
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. When garbage collection runs is a whole different story. But its just

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

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

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

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

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 it?

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

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: 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 your first

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

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

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

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

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

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

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 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,

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=2thread=4240 Jay -Original Message- From: Dave

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: snip 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 it

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=log

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) on

Re: forward error

2003-09-05 Thread Tim Funk
The last thing your page does is jsp:forward page=/index.jsp/. Before that is a c:forEach items=${ctcRow.rows} var=row 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

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

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

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

Re: forward error

2003-09-05 Thread Maxime Colas des Francs
thanks ! i put all my c:forEach 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 jsp:forward

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

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

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

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 ... tag nameswallow/name tagclassSwallowTag/tagclass /tag import java.io.IOException; import javax.servlet.jsp.JspException; import javax.servlet.jsp.tagext.BodyTagSupport; public

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

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

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:

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: !-- Define the default virtual host -- Host name=localhost debug=0 appBase=webapps unpackWARs=true autoDeploy=true Kind Regards Schalk Neethling Volume4.Development.Multimedia.Branding

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

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

[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

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

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 company 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

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

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

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

2003-09-05 Thread Bodycombe, Andrew
You could try Resource name=jdbc/SessionDBGlobal auth=Container type=org.apache.commons.dbcp.BasicDataSource/ Resource name=jdbc/CommerceDBGlobal auth=Container type=org.apache.commons.dbcp.BasicDataSource/

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: Context path=/blacksail docBase=blacksail debug=5 reloadable=true crossContext=true Logger className=org.apache.catalina.logger.FileLogger prefix=localhost_realm_log. suffix=.txt

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

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

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

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

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

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 05,

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

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 at

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: !-- Define the default

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

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 memory

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

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 session-timeout/ parameter. It does say that the default is up to the container. In SRV.13.3, the session-timeout/ defines the

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

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

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

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,

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

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:

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

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

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

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

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

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

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:

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

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

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

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 session-timeout/ 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

  1   2   >