Re: the default name of the local data source

2005-01-25 Thread bounce
Geachte relatie, Het door u gebruikte e-mailadres is niet meer actief. U kunt uw e-mailbericht sturen naar [EMAIL PROTECTED] of dit bericht beantwoorden. Bedankt voor uw medewerking, Met vriendelijke groet, ATP Hypotheken Het Spoor 40 3994 AK Houten Tel. 030 750 25 33 Fax. 030 750 25 88 [EMAI

the default name of the local data source

2005-01-25 Thread Philippe Mathieu
I am using Tomcat 5.0.28 and my WAR uses a ConnectionPool defined in the application context (localDataSource). To access it, the doc says that we must use these 3 lines in JSP's. Context initCtx = new InitialContext(); Context envCtx = (Context) initCtx.lookup("java:comp/env"); Da

Re: How to suggest the name of file - sorry this is offtopic

2005-01-25 Thread bounce
Geachte relatie, Het door u gebruikte e-mailadres is niet meer actief. U kunt uw e-mailbericht sturen naar [EMAIL PROTECTED] of dit bericht beantwoorden. Bedankt voor uw medewerking, Met vriendelijke groet, ATP Hypotheken Het Spoor 40 3994 AK Houten Tel. 030 750 25 33 Fax. 030 750 25 88 [EMAI

How to suggest the name of file - sorry this is offtopic

2005-01-25 Thread Dola Woolfe
Hi, I apologize for what is probably an offtopic question. I have a jsp (MyPage.jsp) that produces a text file (contentType="text/text" ). How can I make it so that when the user chooses to Save the file rather than Open it, that a name such as "SomeFileName.txt" is the default. Unfortunately,

Re: Re: How to identify automatically in spite of a Realm

2005-01-25 Thread bounce
Geachte relatie, Het door u gebruikte e-mailadres is niet meer actief. U kunt uw e-mailbericht sturen naar [EMAIL PROTECTED] of dit bericht beantwoorden. Bedankt voor uw medewerking, Met vriendelijke groet, ATP Hypotheken Het Spoor 40 3994 AK Houten Tel. 030 750 25 33 Fax. 030 750 25 88 [EMAI

Re: How to identify automatically in spite of a Realm

2005-01-25 Thread Parsons Technical Services
Try this. In your servlet that you submit your signup form to, for the user data, return to the user as a response a login form with the username and password values set. In the body tag place onload="document.lform.submit();" where lform is the name of the form. This should immediatly submit th

Re: How to identify automatically in spite of a Realm

2005-01-25 Thread Larry Meadors
This may work: http://www.sys-con.com/story/?storyid=37660&DE=1 On Wed, 26 Jan 2005 00:08:18 +0100, Philippe Mathieu <[EMAIL PROTECTED]> wrote: > I develop a war with Tomcat 5.0.28 and in this application some users > are already known by the system > and must be authentified (via a Realm and LO

Re: OT: Re: Apache2.0.52, Tomcat 5.5.4 and jk1.2.8

2005-01-25 Thread bounce
Geachte relatie, Het door u gebruikte e-mailadres is niet meer actief. U kunt uw e-mailbericht sturen naar [EMAIL PROTECTED] of dit bericht beantwoorden. Bedankt voor uw medewerking, Met vriendelijke groet, ATP Hypotheken Het Spoor 40 3994 AK Houten Tel. 030 750 25 33 Fax. 030 750 25 88 [EMAI

OT: Re: Apache2.0.52, Tomcat 5.5.4 and jk1.2.8

2005-01-25 Thread Parsons Technical Services
Yes. From: http://httpd.apache.org/docs-2.0/upgrading.html a.. The AddModule and ClearModuleList directives no longer exist. These directives were used to ensure that modules could be enabled in the correct order. The new Apache 2.0 API allows modules to explicitly specify their ordering, elimin

RE: Apache2.0.52, Tomcat 5.5.4 and jk1.2.8

2005-01-25 Thread David Short
Check this link out. http://www.apache.org/~rbowen/presentations/apachecon2004/apache2.0/slide35. html It looks like AddModule isn't needed for Apache 2, hence not recognized? -Original Message- From: Edmon Begoli [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 25, 2005 7:27 PM To: Tomca

Re: Tomcat CTS Testing

2005-01-25 Thread bounce
Geachte relatie, Het door u gebruikte e-mailadres is niet meer actief. U kunt uw e-mailbericht sturen naar [EMAIL PROTECTED] of dit bericht beantwoorden. Bedankt voor uw medewerking, Met vriendelijke groet, ATP Hypotheken Het Spoor 40 3994 AK Houten Tel. 030 750 25 33 Fax. 030 750 25 88 [EMAI

Tomcat CTS Testing

2005-01-25 Thread Punit Duggal
I have to run the CTS tests against Tomcat 5.0 . Iam a novice when it comes to the Tomcat and have no experience with CTS. Since Iam hard pressed for time , I was wondering if someone who has experience with this, possibly running CTS against a prior version of Tomcat, can point me to informatio

RE: Apache2.0.52, Tomcat 5.5.4 and jk1.2.8

2005-01-25 Thread David Short
Thanks for the reply. Your link basically describes the same technique as the Apache/Tomcat web site does. Here's the message as reported in w2k event viewer: The Apache service named reported the following error: >>> Invalid command 'AddModule', perhaps mis-spelled or defined by a module not i

Re: Re: Long running requests and timeouts?

2005-01-25 Thread bounce
Geachte relatie, Het door u gebruikte e-mailadres is niet meer actief. U kunt uw e-mailbericht sturen naar [EMAIL PROTECTED] of dit bericht beantwoorden. Bedankt voor uw medewerking, Met vriendelijke groet, ATP Hypotheken Het Spoor 40 3994 AK Houten Tel. 030 750 25 33 Fax. 030 750 25 88 [EMAI

Re: Long running requests and timeouts?

2005-01-25 Thread Parsons Technical Services
I have noticed that you have posted this before. I don't have an answer but a couple of suggestions. First have you tried turning up the debug level to 99 and seeing if anything shows up in the logs. With any luck it might point to what is giving you such grief. Second. If all else fails, coul

Re: Apache2.0.52, Tomcat 5.5.4 and jk1.2.8

2005-01-25 Thread Edmon Begoli
Try this: http://www.redhat.com/docs/manuals/rhaps/jonas-guide/s1-load-balancing.html Helped me to got it to work on Linux. Should not be much different on win. Thank you, Edmon Begoli David Short wrote: I got Apache 2.0.52, Tomcat 5.5.4 and Mod_jk 1.2.8 working...thanks! However, Apache complains

RE: Apache2.0.52, Tomcat 5.5.4 and jk1.2.8

2005-01-25 Thread David Short
I got Apache 2.0.52, Tomcat 5.5.4 and Mod_jk 1.2.8 working...thanks! However, Apache complains about the AddModule line. Below, is the code right off of the Apache/Tomcat website. If I uncomment the AddModule line, Apache complains about not recognizing the command. If I comment it out, everyth

Bug or a setup problem?

2005-01-25 Thread Asim Alp
I have a very strange problem. Here is my setup: Windows Server 2003 Tomcat 5.5.4 Sun's jdk 1.5.0 build 1.5.0-b64 Whenever Tomcat serves a page from my site it gets into an infinite loop. This happens even when serving a simple html file, so I'm pretty sure that it's not related to my applicati

Re: RE: Tomcat and Sesssion question

2005-01-25 Thread bounce
Geachte relatie, Het door u gebruikte e-mailadres is niet meer actief. U kunt uw e-mailbericht sturen naar [EMAIL PROTECTED] of dit bericht beantwoorden. Bedankt voor uw medewerking, Met vriendelijke groet, ATP Hypotheken Het Spoor 40 3994 AK Houten Tel. 030 750 25 33 Fax. 030 750 25 88 [EMAI

RE: Tomcat and Sesssion question

2005-01-25 Thread Mike Curwen
Yes, you would still have needed to send your links through one of : HttpServletResponse.encodeURL() or HttpServletResponse.encodeRedirectURL() (which is a fairly good practice anyways). Your other option is to spend a bunch of time coding a javax.servlet.Filter that wraps the response, then p

Re: RE: Tomcat and Sesssion question

2005-01-25 Thread bounce
Geachte relatie, Het door u gebruikte e-mailadres is niet meer actief. U kunt uw e-mailbericht sturen naar [EMAIL PROTECTED] of dit bericht beantwoorden. Bedankt voor uw medewerking, Met vriendelijke groet, ATP Hypotheken Het Spoor 40 3994 AK Houten Tel. 030 750 25 33 Fax. 030 750 25 88 [EMAI

RE: Tomcat and Sesssion question

2005-01-25 Thread Tony Chan
Thanks for your reply. The situation is that we have an application already written. However, for technical reasons, we need session ID to be attached to all links within the application. Instead of going to every file and making modifications, I am looking into the possibility of doing that by ch

Re: How to identify automatically in spite of a Realm

2005-01-25 Thread bounce
Geachte relatie, Het door u gebruikte e-mailadres is niet meer actief. U kunt uw e-mailbericht sturen naar [EMAIL PROTECTED] of dit bericht beantwoorden. Bedankt voor uw medewerking, Met vriendelijke groet, ATP Hypotheken Het Spoor 40 3994 AK Houten Tel. 030 750 25 33 Fax. 030 750 25 88 [EMAI

How to identify automatically in spite of a Realm

2005-01-25 Thread Philippe Mathieu
I develop a war with Tomcat 5.0.28 and in this application some users are already known by the system and must be authentified (via a Realm and LOGIN form) to acces to private JSP, and new users must give information via a public JSP to be known (like login and password choosen but also other in

Re: Cannot solve error - No Host name matches server name. Apache 2.0.52, Tomcat 5.5.7

2005-01-25 Thread Tom Kennelly
Great question. I rechecked the permissions and set them at 777 to make sure. - Original Message - From: "Mladen Turk" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Tuesday, January 25, 2005 3:41 PM Subject: Re: Cannot solve error - No Host name matches server name. Apache 2.0.52, T

Re: Cannot solve error - No Host name matches server name. Apache 2.0.52, Tomcat 5.5.7

2005-01-25 Thread Mladen Turk
Tom Kennelly wrote: I switched the host name and alias as suggested below, recycled both Tomcat and Apache and received the same error. Did you set all the permissions correctly? Is your vhost directory readable by the tomcat user? Mladen. ---

Re: Connection reset by peer: socket write error

2005-01-25 Thread Dola Woolfe
> Do not use debug log level. > > Mladen. Is it this part of of web.xml and should the 6 be lowered? cgi org.apache.catalina.servlets.CGIServlet debug 6 cgiPathPrefix WEB-INF/cgi 5

Re: Cannot solve error - No Host name matches server name. Apache 2.0.52, Tomcat 5.5.7

2005-01-25 Thread Tom Kennelly
I switched the host name and alias as suggested below, recycled both Tomcat and Apache and received the same error. - Original Message - From: "Mladen Turk" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Tuesday, January 25, 2005 2:18 PM Subject: Re: Cannot solve error - No Host name m

Re: Tomcat and Sesssion question

2005-01-25 Thread Jukka Uusisalo
Tony Chan wrote: Hi, Does anyone know if there is any setting in tomcat 5 that I can use to always attach JSESSIONID to all links in a webapp? Also, is there any way to change the name (from JSESSIONID to sth else)? If you set context element cookies attribute in server.xml to false ,so using co

Re: Connection reset by peer: socket write error

2005-01-25 Thread Mladen Turk
Dola Woolfe wrote: Is there a way to suppress them? I'm using TC5.5.4 on XP. Do not use debug log level. Mladen. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Tomcat and Sesssion question

2005-01-25 Thread Tony Chan
Hi, Does anyone know if there is any setting in tomcat 5 that I can use to always attach JSESSIONID to all links in a webapp? Also, is there any way to change the name (from JSESSIONID to sth else)? Thanks a lot! Tony - To unsu

Re: Cannot solve error - No Host name matches server name. Apache 2.0.52, Tomcat 5.5.7

2005-01-25 Thread Tom Kennelly
BTW good catch on the mod-Jk 1.2.6. I went back and discovered that I can go down the 1.2.8 path but the resultant binaries on apache.org are all 1.2.6. - Original Message - From: "Mladen Turk" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Tuesday, January 25, 2005 2:18 PM Subject:

Re: Connection reset by peer: socket write error

2005-01-25 Thread Dola Woolfe
Is there a way to suppress them? I'm using TC5.5.4 on XP. --- Mladen Turk <[EMAIL PROTECTED]> wrote: > Dola Woolfe wrote: > > Hi, > > > > I get these all the time. > > This exception occurs when a client made a request, > and before receiving > the full response, either of the following happe

Long running requests and timeouts?

2005-01-25 Thread Andrzej Jan Taramina
I have a situation where some requests that get sent to Tomcat are very long running (basically batch operations). I've been testing with a request that takes just over 7 minutes to process and returns and XML document as a response. The problem I'm having is that the response gets truncated.

Re: Cannot solve error - No Host name matches server name. Apache 2.0.52, Tomcat 5.5.7

2005-01-25 Thread Tom Kennelly
Should I also rename the folder in CATALINA_HOME/conf/Catalina from tkennelly to tkennelly.gotdns.com ? - Original Message - From: "Mladen Turk" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Tuesday, January 25, 2005 2:18 PM Subject: Re: Cannot solve error - No Host name matches serve

Re: Connection reset by peer: socket write error

2005-01-25 Thread Mladen Turk
Dola Woolfe wrote: Hi, I get these all the time. This exception occurs when a client made a request, and before receiving the full response, either of the following happened: 1. client's browser has been closed. 2. client's connection has been disconnected. 3. client presses the stop button. They

Re: Connection reset by peer: socket write error

2005-01-25 Thread fzlists
I get those frequently as well, but only in one or two specific places. I've actually factored them out of my code (i.e., if they are thrown, I ignore them instead of allowing them to be logged). As you said, not disruptive, just clogging up the logs. As near as I've been able to figure out,

Re: Cannot solve error - No Host name matches server name. Apache 2.0.52, Tomcat 5.5.7

2005-01-25 Thread Mladen Turk
Tom Kennelly wrote: I am running Apache 2.0.52, Tomcat 5.5.7 (and have tested with Tomcat 5.5.4 as well) and mod_jk is 1.28. All of these major components were download in binary mode (no compiling on any component) to run on my Fedora system. Just to clarify both Apache and Tomcat are runnin

Connection reset by peer: socket write error

2005-01-25 Thread Dola Woolfe
Hi, I get these all the time. They don't seem to be disruptive so I don't worry about them too much. But the do obscure the valuable output so I would like to eliminate them if psiible. Dola ClientAbortException: java.net.SocketException: Connection reset by peer: socket write error at

Cannot solve error - No Host name matches server name. Apache 2.0.52, Tomcat 5.5.7

2005-01-25 Thread Tom Kennelly
I am running Apache 2.0.52, Tomcat 5.5.7 (and have tested with Tomcat 5.5.4 as well) and mod_jk is 1.28. All of these major components were download in binary mode (no compiling on any component) to run on my Fedora system. Just to clarify both Apache and Tomcat are running on the same machi

Tomcat 5.5 - deployOnStartup doesn't work

2005-01-25 Thread Slobodan Vujasinovic
Hi all, I'm working with Tomcat 5.5.4 (seems to be last stable release). It looks that 'deployOnStartup' Host attribute setting gets ignored on server startup (Tomcat allways behaves like it is set to 'true' - its default value). Has enyone else noticed this and maybe found the way to configure T

Re: Advanced lb worker properties

2005-01-25 Thread karjera
Laba diena. Dėkojame, kad mums parašėte. Jūsų atsiųsta žinutė išsaugota mūsų duomenų bazėje. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Advanced lb worker properties

2005-01-25 Thread Derek Greer
Can someone please elaborate on the documentation of http://jakarta.apache.org/tomcat/connectors-doc/howto/workers.html for advanced lb worker properties? I'm not getting a lot out of the one sentence provided: "The local_worker flag on worker1 and worker2 tells the lb_worker which connection

RE: Packing web application

2005-01-25 Thread Donie Kelly
Try jar cvf project.war * assuming all your directories are clean and ready for packaging. Donie -Original Message- From: micky none [mailto:[EMAIL PROTECTED] Sent: 25 January 2005 15:17 To: Tomcat Users List Subject: Re: Packing web application Hi Friends, I am still waiting for yo

RE: [DBCP] Management of transactions...

2005-01-25 Thread "Treviño De la Garza, Isidoro"
I think what he meant to say was: Hi, I would want to know how does DBCP handles transactions. I would be glad if someone could share their experiences or links with info. Regards KSV Ok, maybe my english is a little bit worse :P -Original Message- From: Viorel Dragomir [mailto:[EMA

Re: [DBCP] Management of transactions...

2005-01-25 Thread Viorel Dragomir
This is the worst english I've seen so far. It's almost worse than mine. Viorel Dragomir . .. --- - Original Message - From: ksv To: tomcat-user@jakarta.apache.org Sent: Tuesday, January 25, 2005 17:52 Subject: [DBCP]

tomcat-user@jakarta.apache.org

2005-01-25 Thread ksv
Hello , Interests everything, that is connected to managements of transactions at use DBCP... Who Can will share experience or links? The database is not essential. The principle of work with transactions through DBCP is necessary... -- Best regards, ksv mailto:[EMAIL P

RE: Packing web application

2005-01-25 Thread Peter Crowther
> From: micky none [mailto:[EMAIL PROTECTED] > Hi Friends, > I am still waiting for your replies. If you expect a fast response and repost frequently, you may be waiting a long time. It's generally good Netiquette to at least give your post time to get through slower mail gateways before chasing

Re: Packing web application

2005-01-25 Thread micky none
Hi Friends, I am still waiting for your replies.I am also sendin you my web.xml file: - http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"; version="2.4"

Re: tomcat

2005-01-25 Thread Parsons Technical Services
Need to have you clarify a few things please. Are the request being handled by Apache and then handed off to Tomcat? Are you using jk, jk2 or mod_proxy? Which version of Tomcat 5.0.x or 5.5.x? Sorry to ask, but it is necessary to know in order to give a proper answer. Doug - Original Message --

RE: NullPointerException without stack trace

2005-01-25 Thread Caldarale, Charles R
> From: Leonardo Larraquy [mailto:[EMAIL PROTECTED] > Subject: NullPointerException without stack trace > >I'm using Tomcat 5, and jdk 1.4.0 , and sometimes I > receive java.lang.NullPointerException without stack trace. You should try a newer SDK. The 1.4.0 release was not the most stable

NullPointerException without stack trace

2005-01-25 Thread Leonardo Larraquy
Hi, I'm using Tomcat 5, and jdk 1.4.0 , and sometimes I receive java.lang.NullPointerException without stack trace. This exception cannot be reproduced, simply happens, on our customer production server, randomly (3 o 4 times a day). The system, is actually being used by 15 people cons

Packing web application

2005-01-25 Thread micky none
Hi Friends, I have a application with the following file structure: Tomcat5.0 webapps project WEB-INF classes bean *.java files web.xml *.jsp file

Tomcat Manager on Solaris

2005-01-25 Thread "Hernandez Patiño, Gabriel Andres, SYNAPSIS COLOMBIA LTDA."
Hello, I am configuring Tomcat on a Sun-Solaris machine. I have chosen the 9000 port. Initially the service is running but I don't have services like Tomcat Manager. How can I configure it? Thanks. Cordially, GABRIEL ANDRÉS HERNÁNDEZ PATIÑO Ingeniero de Soporte DBA Subgerencia de Operaciones

Re: Apache2.0.52, Tomcat 5.5.4 and jk1.2.8

2005-01-25 Thread xand
I have this configuration with the only thing that my Tomcat is 5.0.28. You can see the steps I made to get this working here: http://es.xand.ws/Tomcat/JK?v=w53. It is in spanish, but I think is pretty undestandable. David Short wrote: Does anyone have this configuration working, or similar? I

tomcat/jboss 3.2.3 jni

2005-01-25 Thread Farkas Lajos
Hi all, I use tomcat with jboss 3.2.3, and i try to load a jni extension, but it is not working. When i start jboss, i set the java library path, and i put my extension there, but, it can't load the library (i think, because, when i try to access something from that , i get unsatisfied link er

RE: tomcat

2005-01-25 Thread David Harland
Hi, I am using Apache 2x and Tomcat 5x. How do I set a virual host to have it default to a specific web app under tomcat. What is the easiest way to do this. eg www.test.com virtualhost default page to /test/index.jsp under tomcat. www.test2.com virtualhost default page to /test2/index.jsp un

Re: precompilation and JSTL

2005-01-25 Thread Marcus Beyer
David Smith schrieb: Just a thought: Last I knew using the j2ee jar w/ Tomcat == EVIL. You can either use the j2ee distribution on Sun's site OR Jakarta Tomcat (w/ j2sdk, not j2ee), but never j2ee and jakarta tomcat together. It'll create some really ugly version conflicts. If you use jakarta

Re: Meaning of threads

2005-01-25 Thread Andrew Miehs
Using the worker-mpm or fork-mpm, apache does the same nasty thing with threads and keep-alive, although I believe that when its starts running out of threads it stops offering keep-alives - and to make matters worse - for each connection you now have 2 threads - one for apache and one for tomcat

MEMORY REALM AND TOMCAT- USERS

2005-01-25 Thread Karthik N S
  Hi How would one be able to get the  'userid /passwords/role'   of    /conf/tomcat-users.xml into a servlet from within the  Context running in  the specified  envoiurnament.   Thx in advance   WITH WARM REGARDS HAVE A NICE DAY [ N.S.KARTHIK]

Re: Re: screensaver

2005-01-25 Thread webeditor
I have attached your document. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Multiple hit from one user problem

2005-01-25 Thread Dola Woolfe
> > This sounds like resource exhaustion. Either the > client is holding HTTP > connections open (Excel? No, it could not be so ;-) > ) or the server is > not releasing DB connections. > > Nix. > You know, this explanation seems very plausible. (It's not a question of releasing DB installati

Re: BASIC Authentication

2005-01-25 Thread Giorgio Ponza
Ashish Kulkarni ha scritto: Hi May be try putting the following in web.xml file just before taglib ( i am not sure but works with 2.2) 403 /pages/error/noaccess.jsp 401 /pages/error/noaccess.jsp Ashi

Re: Emergency: make Tomcat forward

2005-01-25 Thread Wouter Boers
Set up apache on the linux box and let it forward all request to the windows box. The apache httpd documentation provides excelent help on this subject. In all fairness, a network administrator should have warned you that this would happen. DNS changes are never instant but can take up to a week t

SOLVED: Tomcat Bug?

2005-01-25 Thread Aris Javier
Thanks Drew for your suggestion! It's ok now... =) -Original Message- From: Drew Jorgenson [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 25, 2005 3:29 PM To: Tomcat Users List Subject: Re: Tomcat Bug? OK, look inside TOMCAT_INSTALL_DIR/work/Catalina/localhost (or whatever other virt