Re: Tomcat's ThreadPool and InheritableThreadLocal variables

2003-12-05 Thread Bill Barker
- Original Message - From: Pon Umapathy K.S. [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, December 04, 2003 10:18 PM Subject: RE: Tomcat's ThreadPool and InheritableThreadLocal variables Likely, you can get better advice if you try to explain what

Re: anyone running tomcat-4.1.29 with commons-daemons?

2003-12-05 Thread Bill Barker
Actually, this is backwards. Tomcat 4 has an implementation of DaemonContext, and Tomcat 5 uses the non-daemon interface. It's totally not important for people-that-just-want-to-get-their-app-to-run, but I just wanted to set the record straight for any stray pedants out there :). Shapira, Yoav

Re: Unclear about JDBC resource def in Tomcat 4.1

2003-12-05 Thread Doug Parsons
* Any JDBC client webapp can instantiate a driver and get a Connection WITHOUT ANY DEFINITION TO THE server.xml or the web.xml as long as the driver jars are in /shared/lib or /application/WEB-INF/lib...True or False? True. * For convenience, JDBC resources may be be defined to Tomcat as

Re: Port 8443 Connector Question

2003-12-05 Thread Kagi (sm)
X-Kagi-AutoReply:r2db Hello, You sent an email that does not contain the formated purchase data that this email account is able to parse. So that we may be able to assist you, we offer the following suggestions. If you are writing to ask a question about a payment made to Kagi, you might be

Re: jsp:include :: no error when target page is missing

2003-12-05 Thread Bill Barker
Since the spec forbids a jsp:include from changing the status or the headers, I don't really see an option around this. Guven Demir [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] hi all, i've noticed that jsp:include tag does not generate an error when the target page is not

RE: jsp:include :: no error when target page is missing

2003-12-05 Thread Guven Demir
sorry but i could not get this. seems like i misscommunicated my problem. what i meant was, when the target file is not found with [EMAIL PROTECTED], you get a compilation error. but when the target page is not found with jsp:include, of course you dont get a compilation error, but also you

Anybody using load balancing with jk2?

2003-12-05 Thread Schläppy Jean-Daniel
My config: Tomcat 4.1.24 Jk redirector 2 IIS 5 Windows 2003 My Question: Here is my workers2.properties for a load balanced infrastructure. Is there any obvious mistake? I receive no error, but I don't have any call to my tomcat servers. Please note that I could have both server working fine

Startup Servlet + Additional Jars Question

2003-12-05 Thread Surendra Kumar
Hi We are using Tomcat 3.3.1 in one of our product. We have a startup servlet in one of our webapp. The necessary classfiles for the servlet are in a jar and it resides outside tomcat direcotry structure. So, we have used additional jars property to add the jar. When

RE: Tomcat's ThreadPool and InheritableThreadLocal variables

2003-12-05 Thread Pon Umapathy K.S.
Bill, As an aside,should'nt this behaviour be corrected in tomcat to clear the ThreadLocal variables once a request is done(because as i see it,a thread is very much local to the request it is processing)? Actually, with the Ajp13Connector, the thread is there to handle many request

Re: TC 4 -oreillyMultipart- TC5: Corrupt form data: premature ending

2003-12-05 Thread Dirk Griesbach
Rémy, how would you have done it ? Maybe there can be applied a fix to it. grisi - Original Message - From: Remy Maucherat [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, December 04, 2003 6:37 PM Subject: Re: TC 4 -oreillyMultipart- TC5: Corrupt form data:

Re: Global Variables

2003-12-05 Thread Duncan
Cool. Thanks for the replies all. Cheers - Duncan Ilari Kontinen wrote: -Original Message- From: Duncan [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 03, 2003 11:50 AM To: Tomcat Users List Subject: Re: Global Variables Thanks for the replies, but what do I define

Re: Restarting tomcat from web page

2003-12-05 Thread Altug B. Altintas
it doesn't matter, but restarting all of tomcat much better. - Original Message - From: Shapira, Yoav [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, December 04, 2003 6:03 PM Subject: RE: Restarting tomcat from web page Howdy, Restarting all of tomcat or

Re: Tomcat's ThreadPool and InheritableThreadLocal variables

2003-12-05 Thread Rodrigo Ruiz
AFAIK, Java does not provide any way to clear ThreadLocal variable values related to a given thread. As it is a language-level limitation, Tomcat can do nothing to resolve it. I tend to think that this is also a valid reason to consider not necessary to document it ;-) Cheers, Rodrigo Ruiz In

RE: Tomcat's ThreadPool and InheritableThreadLocal variables

2003-12-05 Thread Pon Umapathy K.S.
-Original Message- From: Rodrigo Ruiz [mailto:[EMAIL PROTECTED] Sent: Friday, December 05, 2003 2:52 PM To: Tomcat Users List Subject: Re: Tomcat's ThreadPool and InheritableThreadLocal variables AFAIK, Java does not provide any way to clear ThreadLocal variable values related to

Re: TC 4 -oreillyMultipart- TC5: Corrupt form data: premature ending

2003-12-05 Thread Remy Maucherat
Dirk Griesbach wrote: Rémy, how would you have done it ? Maybe there can be applied a fix to it. You could add a sys.out in their readLine() method to see what is actually being read :) -- x Rémy Maucherat Senior Developer Consultant JBoss Group (Europe) SàRL

RE : [offtopic] Architecture Question

2003-12-05 Thread Laurent Michenaud
What do u use to run the web services ? Jonas ? Jboss ? Is there a component that just do Web Services ? I don't need all the functionnalies of Jboss or Jonas. -Message d'origine- De : Justin Ruthenbeck [mailto:[EMAIL PROTECTED] Envoyé : jeudi 4 décembre 2003 19:42 À : Tomcat Users

File Writing

2003-12-05 Thread Duncan
I am trying to write a list into a file, but when I read the file after it has been written it is always missing the first one or two lines. When writing the file, I also output to the screen, and all the lines appear on the screen. Any ideas? , code is listed below. Cheers, Duncan. FileWriter

InstallTask using a Context configuration .xml file

2003-12-05 Thread Krause Karin
Hello, I have a question regarding Tomcat 4.1.27. I would like to use the ant InstallTask to install a web application. I'd like to install my web application by means of a Context configuration .xml file . Thats the way my ant file looks: target name=install description=Install

OFF TOPIC (create Subdomains)

2003-12-05 Thread Joaquin Corchero
Hi all. I'm starting with tomcat and apache administration. I have a domain pointed to my Linux server (with apache and tomcat working together), and I want to create subdomains to this domain. Can anyone give me a hand with it?? or give me any url to find out by myself? Thank you Joaquin

Re: TC 4 -oreillyMultipart- TC5: Corrupt form data: premature ending

2003-12-05 Thread Dirk Griesbach
Hello Rémy, Dirk Griesbach wrote: Rémy, how would you have done it ? Maybe there can be applied a fix to it. You could add a sys.out in their readLine() method to see what is actually being read :) you hit my thoughts thinking on debugging (:-)), but we now know that this causes

ChannelSocket

2003-12-05 Thread L.Karam
What is the reason of this INFO to happen? 05/12/2003 06:46:01 org.apache.jk.common.ChannelSocket processConnection INFO: connection timeout reached It appears with sufficient frequency. What I must make to stop it? Tks Leandro Karam

Illegal Access Error [ URLConnection ]

2003-12-05 Thread Stuart Stephen
Hi, When I do URLConnection.guessContentTypeFromName(filename) I get an IllegalAccessError thrown. Yet, I cannot catch this as the method only throws an IOException. Why does this throw an Exception in Tomcat? It doesn't throw it if the method is called from the command prompt in a static

RE: Illegal Access Error [ URLConnection ]

2003-12-05 Thread Stuart Stephen
This is my code by the way... /** * adds a file parameter to the request * @param name parameter name * @param filename the name of the file * @param is input stream to read the contents of the file from * @throws IOException */ public void setParameter(String name, String

Re: Max. wait time for a Servlet Response

2003-12-05 Thread Cees van de Griend
Howdy, This is the first time I catch a mistake from you. Be carefull, or you will fall from you're pedestal grin/. On Thursday 04 December 2003 14:56, Shapira, Yoav wrote: Howdy, By default it's about 60sec before the browser will give up on your servlet if it doesn't get any response. As

Re: RE : [offtopic] Architecture Question

2003-12-05 Thread Ben Souther
Have you looked at Axis? http://xml.apache.org/axis On Friday 05 December 2003 05:22 am, you wrote: What do u use to run the web services ? Jonas ? Jboss ? Is there a component that just do Web Services ? I don't need all the functionnalies of Jboss or Jonas. -Message d'origine-

AW: Illegal Access Error [ URLConnection ]

2003-12-05 Thread SH Solutions
Hi When I do URLConnection.guessContentTypeFromName(filename) I get an IllegalAccessError thrown. Yet, I cannot catch this as the method only throws an IOException. I dont know where this comes from since I dont have any idea what this method is all about. But I can tell you how to catch the

RE: Illegal Access Error [ URLConnection ]

2003-12-05 Thread Stuart Stephen
I tried putting a try and catch block around it to catch a the generic Exception. Yet that didn't work. Something is still a-miss? -Original Message- From: SH Solutions [mailto:[EMAIL PROTECTED] Sent: 05 December 2003 11:37 To: 'Tomcat Users List' Subject: AW: Illegal Access Error [

Re: File Writing

2003-12-05 Thread Duncan Smith
Solved it. Needed \r\n to terminate line instead of just \n -Duncan Duncan wrote: I am trying to write a list into a file, but when I read the file after it has been written it is always missing the first one or two lines. When writing the file, I also output to the screen, and all the

Communication failure during handshake

2003-12-05 Thread N.B.Bopanna
hi all, i am using tomcat4.1.29 with mysql with deafault conection pooling. i get this error. Communication failure during handshake. Is there a server running on localhost:3306? can any one please tell me what could be wroung? Bopanna

2 instances of Tomcat

2003-12-05 Thread Iain Downie
Hi List, I found some info on this on web and faqs, but I think my question is a bit different from the general 2 instances discussions I have found. Red Hat 7.2 Linux JDK 1.3.1 Tomcat 4.0.3 All run smoothly. I need to install some WorldPay stuff for testing and live. They assure me that their

AW: Illegal Access Error [ URLConnection ]

2003-12-05 Thread SH Solutions
Yet Throwable is more generic as Exception. Try it. -- SH Solutions, Steffen Heil Web: http://www.sh-solutions.de eMail: [EMAIL PROTECTED] MSNMS: [EMAIL PROTECTED] -Ursprüngliche Nachricht- Von: Stuart Stephen [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 5. Dezember 2003 12:39 An:

Re: Illegal Access Error [ URLConnection ]

2003-12-05 Thread Jon Wingfield
Yep. An Error isn't an Exception; it's a Throwable. Inheritance tree: Throwable | -- | | ErrorException HTH, Jon Stuart Stephen wrote: I tried putting a try and catch block around it to catch a the generic Exception.

Re: 2 instances of Tomcat

2003-12-05 Thread Ben Souther
2 instances of Java shouldn't be a problem. Start your second instance of Tomcat with a script that sets the JAVA_HOME env variable to point to the second java dir. You'll have change the ports on the second tomcat instance. On Friday 05 December 2003 07:44 am, Iain Downie wrote: Hi List,

Re: 2 instances of Tomcat

2003-12-05 Thread Graham Reeds
All run smoothly. I need to install some WorldPay stuff for testing and live. They assure me that their servlets will not work on JDK1.3.0+, and more importantly, will not run on anything above Tomcat 3.2.4. WorldPay has a very smooth payment system. Several of the products I have purchased

RE: Max. wait time for a Servlet Response

2003-12-05 Thread Shapira, Yoav
Howdy, This is the first time I catch a mistake from you. Be carefull, or you will fall from you're pedestal grin/. On Thursday 04 December 2003 14:56, Shapira, Yoav wrote: Howdy, By default it's about 60sec before the browser will give up on your servlet if it doesn't get any response. As

RE: RE : [offtopic] Architecture Question

2003-12-05 Thread Shapira, Yoav
Howdy, I use Axis on Tomcat, of course ;) Yoav Shapira Millennium ChemInformatics -Original Message- From: Ben Souther [mailto:[EMAIL PROTECTED] Sent: Friday, December 05, 2003 6:24 AM To: Tomcat Users List Subject: Re: RE : [offtopic] Architecture Question Have you looked at Axis?

RE: Restarting tomcat from web page

2003-12-05 Thread Shapira, Yoav
Howdy, It does matter from a practicality perspective: tomcat comes with built-in features to restart individual webapps, so you don't have to do any work. O restart all of tomcat externally is much more work, you'll have to write a script, or use an external tool, etc. Yoav Shapira Millennium

RE: TC 4 -oreillyMultipart- TC5: Corrupt form data: premature ending

2003-12-05 Thread Shapira, Yoav
Howdy, If I were you, Senor Griesbach, I would dump COS in favor of jakarta commons fileupload instead of spending significant time debugging intricate input stream problems... But that's just me, and I'm not a patient debugger ;) Yoav Shapira Millennium ChemInformatics -Original

RE: RE : [offtopic] Architecture Question

2003-12-05 Thread Yiannis Mavroukakis
Amen brother :) -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: 05 December 2003 14:09 To: Tomcat Users List Subject: RE: RE : [offtopic] Architecture Question Howdy, I use Axis on Tomcat, of course ;) Yoav Shapira Millennium ChemInformatics -Original

RE: [TOMCAT] 5.0.16

2003-12-05 Thread Derek Mahar
Where is your JVM installed? Is your JAVA_HOME environment variable set to this location? The Tomcat 5.0.16 Windows installation worked fine for me and had no trouble finding the JVM. Derek -Original Message- From: Schalk [mailto:[EMAIL PROTECTED] Sent: December 4, 2003 5:44 PM To:

[OT] Global Variable Question

2003-12-05 Thread Atreya Basu
Hi, This is off topic, but maybe someone can help me regardless. I want to store some global variables in my web.xml file in the context-params element. I have a class (extends Object) that I want having access to those parameters. Is there any way for that class to access the parameters in

Re: [OT] Global Variable Question

2003-12-05 Thread Tim Funk
No, use JNDI instead. http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-resources-howto.html -Tim Atreya Basu wrote: Hi, This is off topic, but maybe someone can help me regardless. I want to store some global variables in my web.xml file in the context-params element. I have a class

CATALINA_BASE and libs

2003-12-05 Thread Maxime Colas des Francs
Hi all For keep my files (configuration, log, lib) clearly separate from the Tomcat distribution files, i attempt to use $CATALINA_BASE variable. But i can't move some of my jar files from $CATALINA_HOME/common/lib (JDBC driver, JCE provider, DBCP Pool jar ...) Is there a way to put this stuff

RE: [OT] Global Variable Question

2003-12-05 Thread Shapira, Yoav
Hi, If you put stuff in the servlet context, the class must have access to the servlet context ;) So the class must be a servlet (or JSP, or filter, or listener, etc.) itself, or the class can be passed the servlet context from one of these servlets/JSPs/filters/listeners. Yoav Shapira

WebDAV Problems with Tomcat 4.1.29

2003-12-05 Thread s6442611
Hello I´m using a tomcat 4.1.29 server application on my webserver. I want to access to this server with a webDAV client. I allready used a couple of webDAV- Client applications like DAVexplorer, SkunkDAV or Photoshop 6.0 but the system won´t work without problems. It is no problem to connect to

Re: TC 4 -oreillyMultipart- TC5: Corrupt form data: premature ending

2003-12-05 Thread Dirk Griesbach
Yoav, Rémy, thanks for your suggestions. We will consider that; the reason why we hesitate is simply that we would have to apply modifications to the cos-lib we've done would have to be ported to commons fileupload also (with testing, adapting deployment etc). BTW, testing with TC5.0.16 was

Re: TC 4 -oreillyMultipart- TC5: Corrupt form data: premature ending

2003-12-05 Thread Remy Maucherat
Shapira, Yoav wrote: Howdy, If I were you, Senor Griesbach, I would dump COS in favor of jakarta commons fileupload instead of spending significant time debugging intricate input stream problems... But that's just me, and I'm not a patient debugger ;) What cos is doing is bad IMO (it should read

What is jakarta-tomcat-5.0.16-embed.zip ?

2003-12-05 Thread Zsolt Koppany
Who should download jakarta-tomcat-5.0.16-embed.zip? What is the difference compared to Zsolt - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: What is jakarta-tomcat-5.0.16-embed.zip ?

2003-12-05 Thread Shapira, Yoav
Howdy, People who want to embed tomcat in their own applications, e.g. JBoss developers ;) Yoav Shapira Millennium ChemInformatics -Original Message- From: Zsolt Koppany [mailto:[EMAIL PROTECTED] Sent: Friday, December 05, 2003 10:17 AM To: Tomcat Users List Subject: What is

Antwort: Re: JAASRealm Tomcat 5.x - Tomcat 4.1.x

2003-12-05 Thread Oliver Wulff
Hi Adam I saw the following note in JAASMemoryLoginModule.java: // Validate the username and password we have received principal = null; // FIXME - look up and check password That's why I thought that it is not finished yet. Oliver

Tomcat, eclipse and jpda

2003-12-05 Thread Sergi Erola
Hi, I read the message in tomcat-user list about eclipse, tomcat and jpda, but i don't understand very well. I have two machines, one is a tomcat server and the other machine is my workstation. I execute tomcat with ./catalina.sh jpda run and i can connect with eclipse when I try to debug.

Apache 2.0.48 and Tomcat 4.1.29 and JK2

2003-12-05 Thread Tom Holmes Jr.
Many months ago, I installed Apache 2.0.46, Tomcat 4.1.18, and JK2. I got this all working fantastically. I had it configured so that when I started Apache, it started Tomcat also. I don't know how I did it, but I'd like to see if anyone knows the details I have forgotten. On another

RE: Illegal Access Error [ URLConnection ]

2003-12-05 Thread Stuart Stephen
Ahh, didn't think of that. That's the badger. Good work! Thanks. -Original Message- From: Jon Wingfield [mailto:[EMAIL PROTECTED] Sent: 05 December 2003 13:21 To: Tomcat Users List Subject: Re: Illegal Access Error [ URLConnection ] Yep. An Error isn't an Exception; it's a Throwable.

RE: Apache 2.0.48 and Tomcat 4.1.29 and JK2

2003-12-05 Thread Asif Chowdhary
As far as I know. Tomcat has to be started first and then the apache web server. Also in server.xml you have to define coyote connector listening on port 8009 or some other port. 8009 is the default. -Original Message- From: Tom Holmes Jr. [mailto:[EMAIL PROTECTED] Sent: Friday, December

RE: Apache 2.0.48 and Tomcat 4.1.29 and JK2

2003-12-05 Thread Mike Millson
On Fri, 2003-12-05 at 10:33, Asif Chowdhary wrote: As far as I know. Tomcat has to be started first and then the apache web server. Also in server.xml you have to define coyote connector listening on port 8009 or some other port. That was my understanding until recently. I think it was true

Re: What is jakarta-tomcat-5.0.16-embed.zip ?

2003-12-05 Thread Remy Maucherat
Shapira, Yoav wrote: Howdy, People who want to embed tomcat in their own applications, e.g. JBoss developers ;) It was created (by Costin) to: - test and debug JMX startup - improve embeddability - because some people wanted a smaller distribution (and the old LE wasn't actually useful, except to

RE: [TOMCAT] 5.0.16

2003-12-05 Thread Schalk
Derek My JAVA_HOME points to j2sdk1.4.2/lib/tools.jar Kind Regards Schalk Neethling Web Developer.Designer.Programmer.CEO Volume4.Development.Multimedia.Branding emotionalize.conceptualize.visualize.realize Tel: +27125468436 Fax: +27125468436 email:[EMAIL PROTECTED] web: www.volume4.co.za This

RE: servlet sendRedirect() to j_security_check problem (remember me)

2003-12-05 Thread Chris Ward
Tomcat-Users (Cc:Matt/Adam), I've just tried doing a redirect to j_security_check using the commons package org.apache.commons.httpclient. The error I get from the code is [INFO] HttpMethodBase - -Redirect requested but followRedirects is disabled statusCode : 302 Any clues given my code

Re: [TOMCAT] 5.0.16

2003-12-05 Thread Ben Souther
try pointing it to the j2sdk directory. IE: /usr/local/j2sdk1.4.2 On Friday 05 December 2003 10:38 am, Schalk wrote: Derek My JAVA_HOME points to j2sdk1.4.2/lib/tools.jar Kind Regards Schalk Neethling Web Developer.Designer.Programmer.CEO Volume4.Development.Multimedia.Branding

Re: 2 Hosts: 2nd one tries to load the first's XML files

2003-12-05 Thread Matt Raible
This did fix the problem - thanks Liem. Matt On Dec 4, 2003, at 6:17 PM, Liem Do wrote: If each virtual host has their own set of applications then you should set the appBase for each host to different directories. So in your case the Host defs should look like the following: Host

Testing, please ignore

2003-12-05 Thread Chaikin, Yaakov Y (US SSA)
Yaakov Chaikin Software Engineer BAE SYSTEMS 301-838-6899 (phone) 301-838-6802 (fax) [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [TOMCAT] 5.0.16

2003-12-05 Thread Remy Maucherat
Schalk wrote: Derek My JAVA_HOME points to j2sdk1.4.2/lib/tools.jar No, it should point to the base path of the JDK (ex: c:\j2sdk1.4.2). -- x Rémy Maucherat Senior Developer Consultant JBoss Group (Europe) SàRL x

connection timeout reached

2003-12-05 Thread L.Karam
What is the reason of this INFO to happen? 05/12/2003 06:46:01 org.apache.jk.common.ChannelSocket processConnection INFO: connection timeout reached It appears with sufficient frequency. What I must make to stop it? Tks Leandro Karam

RE: [TOMCAT] 5.0.16

2003-12-05 Thread Derek Mahar
Schalk: I think your JAVA_HOME is incorrect. Why does it point to j2sdk1.4.2/lib/tools.jar? My JAVA_HOME is C:\Sun\j2sdk1.4.2. Derek -Original Message- From: Schalk [mailto:[EMAIL PROTECTED] Sent: December 5, 2003 10:39 AM To: 'Tomcat Users List' Subject: RE: [TOMCAT] 5.0.16 Derek

Database pool problem

2003-12-05 Thread Chaikin, Yaakov Y (US SSA)
Hi, I am having the following problem and how someone can point out to me what I am doing wrong. I am trying to configure Tomcat to have a database connection pool for my database, but when I try to access the database through a jsp, it gives me wrong password for the database... BUT it IS the

Testing, please ignore

2003-12-05 Thread William R Briggs
Return Receipt Your Testing, please ignore document :

Re: servlet sendRedirect() to j_security_check problem (remember me)

2003-12-05 Thread Matt Raible
Sounds like a server configuration problem. I don't know where followRedirects is disabled, but it looks like it is somewhere. Matt On Dec 5, 2003, at 8:46 AM, Chris Ward wrote: Tomcat-Users (Cc:Matt/Adam), I've just tried doing a redirect to j_security_check using the commons package

RE: [TOMCAT] 5.0.16

2003-12-05 Thread Sullivan, Patrick
Really? JAVA_HOME should be point to the jdk base directory not a jar file, you drop the /lib/tools.jar from it. Thank you, Patrick Sullivan Centura Health 303-643-4021 -Original Message- From: Schalk [mailto:[EMAIL PROTECTED] Sent: Friday, December 05, 2003 8:39 AM To: 'Tomcat Users

JspC and taglibs

2003-12-05 Thread Edson Alves Pereira
Hello folks, i´m trying to compile my JSP pages offline, using an ant´s build script. But it seems that JspC cannot find my taglibs, how can put a classpath to it or make JspC see my taglibs? Regards, Edson

Basic Authentication

2003-12-05 Thread Bui, Bao-Ha D
Hi all, I need to capture the WinNT account name of users to a jsp page. We have Active Directory at our company. We can have a basic login form (that standard pop up login form from Window). Could anyone tell me where to start and how to set it up? I have looked at the HowTo for Tomcat

RE: Database pool problem

2003-12-05 Thread Edson Alves Pereira
Maybe M$ Access isn´t a good database to test. Could you use some real database? Like MySQL, PostgreeSQL, HypersonicSQL, Oracle and so on. -- De: Chaikin, Yaakov Y (US SSA)[SMTP:[EMAIL PROTECTED] Responder:Tomcat Users List Enviada: sexta-feira, 5 de dezembro de

RE: Database pool problem

2003-12-05 Thread Edson Alves Pereira
Could you show us how you make a simple connection to that M$ Acess database to compare? -- De: Edson Alves Pereira[SMTP:[EMAIL PROTECTED] Responder:Tomcat Users List Enviada: sexta-feira, 5 de dezembro de 2003 14:46 Para: 'Tomcat Users List' Assunto:

RE: Basic Authentication

2003-12-05 Thread Edson Alves Pereira
Maybe through navigator object in user´s browser, you must check if there´s not permission constraint for that. -- De: Bui, Bao-Ha D[SMTP:[EMAIL PROTECTED] Responder:Tomcat Users List Enviada: sexta-feira, 5 de dezembro de 2003 13:45 Para: 'Tomcat Users

Re: Basic Authentication

2003-12-05 Thread Matt Raible
You might want to read the comments on the following URL - it shows how to configure authentication with a Windows domain, but apparently, it's out of date: http://www.raibledesigns.com/page/rd? anchor=easy_windows_authentication_with_tomcat Matt On Dec 5, 2003, at 9:45 AM, Bui, Bao-Ha D

RE: mod_jk worker help please!!

2003-12-05 Thread Sullivan, Patrick
Check you tomcat logs for Ajp13Connector[8883] Opening server socket on all host IP addresses Ajp13Connector[8883] Starting background thread Ajp13Processor[8883][0] Starting background thread Ajp13Processor[8883][1] Starting background thread Ajp13Processor[8883][2] Starting background thread

Re: Basic Authentication

2003-12-05 Thread Tim Funk
http://jakarta.apache.org/tomcat/faq/windows.html#ntlm -Tim Bui, Bao-Ha D wrote: Hi all, I need to capture the WinNT account name of users to a jsp page. We have Active Directory at our company. We can have a basic login form (that standard pop up login form from Window). Could anyone

RE: RequestDispatcher.forward to cgi?

2003-12-05 Thread Januski, Ken
Tim, Now that I look at them closely I see that most of them are due to a looping problem in my program. So it just logs over and over that it's forwarding the request. I'll investigate to see if the loop is due to an error in my progamming (certainly possible since I've had to tinker with a very

RE: mod_jk worker help please!!

2003-12-05 Thread William R Briggs
Return Receipt Your RE: mod_jk worker help please!! document :

RE: Basic Authentication

2003-12-05 Thread Sleeper, Jesse
Here is the exact code to do it my friend. Redirect or whatever you want, after the System.out.println -Jesse = import javax.servlet.*; import javax.servlet.http.*; import java.io.*; import java.util.*; public class AuthenticationServlet extends

RE: Database pool problem

2003-12-05 Thread Chaikin, Yaakov Y (US SSA)
Maybe M$ Access isn´t a good database to test. Could you use some real database? Like MySQL, PostgreeSQL, HypersonicSQL, Oracle and so on. I told you, it's not my choice at this point. I am not about to tell my clients to since they are using M Access I am going to develop. And yes,

RE: Database pool problem

2003-12-05 Thread Chaikin, Yaakov Y (US SSA)
Could you show us how you make a simple connection to that M$ Acess database to compare? Well, I sort of already did. The realm is working 100% using that database. Here is my Realm tag: Realm className=org.apache.catalina.realm.JDBCRealm connectionName=default

jkstatus

2003-12-05 Thread yuval
Hi, I configure the jkstatus in the worker2.properties like this: [status:status] [uri:/jkstatus/*] worker=status:status but when i try in the browser (127.0.0.1/jkstatus/) to see the status i get 404 error. How do i see the status? Yuval

Re: Tomcat, eclipse and jpda

2003-12-05 Thread Jeff Tulley
For debugging servlets, you simply start Tomcat up on the server machine in jpda mode, make sure you have a project in eclipse with all of your servlet code (compile with debug information, which in my eclipse is the default), and put a breakpoint in the servlet code. Connect to the Tomcat

RE: mod_jk worker help please!!

2003-12-05 Thread Stephanie A Bickel
Yes, I have that. So, why would it ignore my worker.list for the workers I define? 2003-12-04 17:16:58 Ajp13Connector[8009] Starting background thread 2003-12-04 17:16:58 Ajp13Processor[8009][0] Starting background thread 2003-12-04 17:16:58 Ajp13Processor[8009][1] Starting background

RE: mod_jk worker help please!!

2003-12-05 Thread Jeff Tulley
I'll go through the potentially obvious mistakes: 1) Are you sure you are editing the correct workers.properties? 2) Have you cleared out the mod_jk.log before trying again, maybe the messages are old I'm sure you probably have done all of this, but I know that these mistakes, while obvious, are

Detecting Tomcat version in Ant

2003-12-05 Thread Matt Raible
Is it possible to detect the version of Tomcat that the user has in Ant? I have the following Ant task: !-- === -- !--Setup Tomcat 4.1 -- !--

Re: Tomcat, eclipse and jpda

2003-12-05 Thread Sergi Erola
Thanks Jeff But, I have one question... The servlet code must be in server machine or client machine?Or two machines? I call client machine the machine that has eclipse. And I must call servlet in with server url? Moreover, where is the debug information? Jeff Tulley [EMAIL PROTECTED] wrote:

RE: Database pool problem

2003-12-05 Thread Edson Alves Pereira
So, correct if i´m wrong. To connect to you database is: Class.forName( sun.jdbc.odbc.JdbcOdbcDriver ); Connection dbConn = DriverManager.getConnection( jdbc:odbc:afec, UserName, UserPassword ); -- De: Chaikin, Yaakov Y (US SSA)[SMTP:[EMAIL PROTECTED]

Re: Database pool problem

2003-12-05 Thread Brent Verner
[2003-12-05 11:07] Chaikin, Yaakov Y (US SSA) said: | I am trying to configure Tomcat to have a database connection pool for | my database, but when I try to access the database through a jsp, it | gives me wrong password for the database... BUT it IS the right | password. | My server.xml file

RE: mod_jk worker help please!!

2003-12-05 Thread Stephanie A Bickel
Yes. I have tripple checked the workers.properties. I have also did a search on the server to make sure there is no other worker.properties and there is none. I do clear out the mod_jk.log each time to make sure it is still doing the same thing after each change.

RE: mod_jk worker help please!!

2003-12-05 Thread Stephanie A Bickel
One other question that MIGHT help. The apahe I am working with is running on port instead of the default port 80. Is there anything in the configuration that needs to be done different in this case?

Re: RequestDispatcher.forward to cgi?

2003-12-05 Thread Tim Funk
I would think that the CGI servlet would work on a forward but you must be sure that: 1) No input streams were open (or that they are compatible with the CGIServlet) 2) On a POST, you do not call or look at request parameters or the input stream since it looks like the CGIServlet wants to pass

How to load test an Axis Service in Tomcat?

2003-12-05 Thread Tom Ly
I've been using to JMeter to load test Tomcat on a RedHat machine. How can I load test an Axis service? - Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard

Re: Tomcat, eclipse and jpda

2003-12-05 Thread Jeff Tulley
The source code must be on the client machine, in an eclipse project. The binary build of it will be in your normal web application, in a jar file in WEB-INF\lib or as a .class file under WEB-INF\classes You call the servlet as you normally would, by its mapping that is specified in your

Session invalidate question

2003-12-05 Thread Atreya Basu
Quick question; When using a SessionListener does sessionDestroyed get called AFTER a session has been invalidated? Thanks -- _ Atreya Basu Developer, Greenfield Research Inc. e-mail: atreya (at) greenfieldresearch (dot) ca

RE: mod_jk worker help please!!

2003-12-05 Thread David O'Brien
I see no jvm=workers83 in the sever.xml file ??? -Dave Yes, I have that. So, why would it ignore my worker.list for the workers I define? 2003-12-04 17:16:58 Ajp13Connector[8009] Starting background thread 2003-12-04 17:16:58 Ajp13Processor[8009][0] Starting background thread 2003-12-04

RE: mod_jk worker help please!!

2003-12-05 Thread Stephanie A Bickel
Dave - I have changed the name of my worker in my workers.properties file. First I had my worker.list=ajp13, which is the default in server.xml, right? Then, I changed it to worker.list=test I did not change my server.xml file, but I thought you only specify for the listener. Maybe I am

Broken Pipe

2003-12-05 Thread Rob Wichterman
I received this error twice before my tomcat 4.1.24 server died. Does anyone know what this error is: 2003-12-04 16:37:45 StandardWrapperValve[default]: Servlet.service() for servlet default threw exception java.net.SocketException: Broken pipe at

RE: mod_jk worker help please!!

2003-12-05 Thread David O'Brien
From my server.xml Service name=Tomcat-Standalone Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8009 minProcessors=50 maxProcessors=100 acceptCount=100 debug=0/ Engine name=Standalone defaultHost=localhost debug=0 jvmRoute=tc221 the

RE: Instructions for compiling JK2 connector for tomcat 5?

2003-12-05 Thread Neil Aggarwal
Jerry: I also have had to set up symbolic links, but this error is looking for something in the build directory and there are no docs to tell me what it is looking for. Thanks, Neil -- Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com FREE! Valuable info on how your

  1   2   >