Subject: Announce: Struts MDA training in EU/Geneva, Jan20

2003-12-23 Thread Wolfgang Gehner
Struts Best Practices and MDA, Seminar with Cédric Dumoulin, in Geneva, Switzerland, January 20, 2004. Sessions: * Struts Best Practices, and real world case (World Health Organization/WHO) Wolfgang Gehner, Infonoia SA, Java web app. developer since 1998, co-author of the book Struts Best

Exception processing TLD at resource path /WEB-INF/struts-html-el.tld

2003-12-23 Thread Kelly Goedert
Hello, I having a problem with TLD files, my application doesn't seem to find it. On my web.xml a have this mapping: taglib taglib-uristruts/html-el/taglib-uri taglib-location/WEB-INF/struts-html-el.tld/taglib-location /taglib the .tld file is in the WEB-INF directory of the application,

RE: Problem in Connection Pooling

2003-12-23 Thread Edson Alves Pereira
You must put ojdbc14.jar inside $TOMCAT_HOME/common/lib :D -- De: Kumar Abhay-CAK203C[SMTP:[EMAIL PROTECTED] Responder:Tomcat Users List Enviada: segunda-feira, 22 de dezembro de 2003 22:52 Para: Tomcat Users List Assunto: Problem in

A question about tomcat5 HA

2003-12-23 Thread moch
I have a question about HA. I have 2 tomcat running at 2 machine and I want to make machine A as a master node, machine as a slave node. All request goes to machine A, and if A crash, B will take all the request. If A is started again, A will be master again. I use Apache2.0.48 +

RE: Problem with Excel and Word Documents

2003-12-23 Thread Arnab Chakravarty
Hi Michael/Yoav, Thanks a lot for the suggestion. I have got it working and it seems now openning as per the requirements. Arnab -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Monday, December 22, 2003 7:59 PM To: Tomcat Users List Subject: RE: Problem with Excel

Re: Questions on Clustering

2003-12-23 Thread daniel
so i should only create 1 cluster inside each host tag? so if im hosting 10 sites/hosts i need the clustering in each of the host tags correct? thanks aging Daniel Schulken - Original Message - From: Filip Hanik [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday,

Session ID's

2003-12-23 Thread Marc Hughes
I'm curious, will a tomcat instance ever create duplicate session ID's? And I mean *ever*, so if I run a server for 5 years (with multiple reboots, etc.) will I ever get a duplicate session ID? If so what's the frequency it would happen? Every million, billion, 10 trillion? Does the

Re: Session ID's

2003-12-23 Thread Tim Funk
See the tomcat-dev archives. There was a big discussion many months ago about duplicate session ids and the chance for a dup id. -Tim Marc Hughes wrote: I'm curious, will a tomcat instance ever create duplicate session ID's? And I mean *ever*, so if I run a server for 5 years (with multiple

Question.

2003-12-23 Thread Alejandro Arturo Villarroel Nuñez
Hello: I want to know if there is a complete documentation on how to install apache and tomcat together: the configuration, etc. Thanks Alejandro Villarroel. - To unsubscribe, e-mail: [EMAIL PROTECTED] For

UTF-8 encoding problem with file included using jsp:include

2003-12-23 Thread Camilla Clifford
Hello, I have a jsp page with the following code at the top of the page, in order to display the page contents in UTF-8: %@ page contentType=text/html; charset=UTF-8 % % response.setContentType(text/html; charset=UTF-8); % In this page is a jsp:include tag that includes a static html file, the

Re: Question.

2003-12-23 Thread Ben Souther
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html http://www.johnturner.com/howto/apache-tomcat-howto.html The archives to this list are also useful. A good number of the threads here have to do with connection issues. On Tuesday 23 December 2003 08:18 am, Alejandro Arturo

RE: Exception processing TLD at resource path /WEB-INF/struts-html-el.tld

2003-12-23 Thread Shapira, Yoav
Howdy, Where are your XML parser jars? What JDK are you running? If you're running with JDK 1.4 and/or you've modified $CATALINA_HOME/common/endorsed and/or you have XML parser jars in the WEB-INF/lib directory of your webapp, please let us know the details. What tomcat version is this? Yoav

Re: Exception processing TLD at resource path /WEB-INF/struts-html-el.tld

2003-12-23 Thread Kelly Goedert
Hello, the jar files are in /WEB-INF/lib. I running JDK 1.4. My tomcat version is 4.1.29. Shapira, Yoav wrote: Howdy, Where are your XML parser jars? What JDK are you running? If you're running with JDK 1.4 and/or you've modified $CATALINA_HOME/common/endorsed and/or you have XML parser jars

RE: Exception processing TLD at resource path /WEB-INF/struts-html-el.tld

2003-12-23 Thread Shapira, Yoav
Howdy, the jar files are in /WEB-INF/lib. I running JDK 1.4. My tomcat version is 4.1.29. Yes, but which jar files? And you didn't answer the rest of my question, at least not explicitly, so I assume you haven't touched tomcat's common/lib and common/endorsed directories? Yoav Shapira

Deploying app in Tomcat 5

2003-12-23 Thread Antony Paul
Hi, I just installed(built) Tomcat 5.0.16. I copied an xml file containing deployment description of a context to webapps directory. Restarted Tomcat. It gives 404 error. The same procedure works with Tomcat 4.1.27. What is wrong ? rgds Antony Paul

Re: Exception processing TLD at resource path /WEB-INF/struts-html-el.tld

2003-12-23 Thread Kelly Goedert
Shapira, Yoav wrote: Howdy, the jar files are in /WEB-INF/lib. I running JDK 1.4. My tomcat version is 4.1.29. Yes, but which jar files? And you didn't answer the rest of my question, at least not explicitly, so I assume you haven't touched tomcat's common/lib and common/endorsed

RE: Exception processing TLD at resource path /WEB-INF/struts-html-el.tld

2003-12-23 Thread Shapira, Yoav
Howdy, No I haven't touched common/lib and common/endorsed. The jar files are: commons-beanutils.jar commons-collections.jar commons-digester.jar commons-logging.jar jstl.jar standard.jar struts-el.jar struts.jar OK. What happens if you replace commons-logging.jar with commons-logging-api.jar

Re: Exception processing TLD at resource path /WEB-INF/struts-html-el.tld

2003-12-23 Thread Kelly Goedert
Shapira, Yoav wrote: Howdy, No I haven't touched common/lib and common/endorsed. The jar files are: commons-beanutils.jar commons-collections.jar commons-digester.jar commons-logging.jar jstl.jar standard.jar struts-el.jar struts.jar OK. What happens if you replace commons-logging.jar

RE: Exception processing TLD at resource path /WEB-INF/struts-html-el.tld

2003-12-23 Thread Shapira, Yoav
Howdy, OK. What happens if you replace commons-logging.jar with commons-logging-api.jar (it comes in the same distribution)? Still have the same error. OK, then I don't know why you're getting it, but hopefully someone else does. ;) Yoav Shapira This e-mail, including any attachments, is

TCP-FIN problem

2003-12-23 Thread Sebastian Klenk
Hi everybody, I have an application which calls a webpage (servlet) and parses the response. Now my problem is that the application waits for the closing of the connection (FIN,ACK) wich acures ca 1 minute after the data has been sent. I tried setting content-length header but that doesnt

Re: Question.

2003-12-23 Thread Alejandro Arturo Villarroel Nuñez
And how about mod_jk2 ?, in the jakarta site, there isn't a deep explanation, and there are many differences between that documentation and reality.. Thanks a lot the url http://www.johnturner.com/howto/apache-tomcat-howto.html is very good. On Tue, 2003-12-23 at 10:26, Ben Souther wrote:

Test

2003-12-23 Thread Doug Parsons
Testing please ignore. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RES: TCP-FIN problem

2003-12-23 Thread Jose Euclides da Silva Junior - DATAPREVRJ
why did you do that? TCP/IP takes care of connection closing for you.Whatis your real problem? -Mensagem original- De: Sebastian Klenk [mailto:[EMAIL PROTECTED] Enviada em: terca-feira, 23 de dezembro de 2003 13:15 Para: [EMAIL PROTECTED] Assunto: TCP-FIN problem Hi everybody, I have

Re: RES: TCP-FIN problem

2003-12-23 Thread Sebastian Klenk
I didn't do anything ... the only problem I have is that my app. is not very fast, and that is because it has to wait for tomcat to close the connection, but tomcat closes the connection a lot later (ca 1 minute). My question is now if there is a way to tell tomcat that all data has been

Re: RES: TCP-FIN problem

2003-12-23 Thread Philipp Taprogge
Hi! Sebastian Klenk wrote: I didn't do anything ... the only problem I have is that my app. is not very fast, and that is because it has to wait for tomcat to close the connection, but tomcat closes the connection a lot later (ca 1 minute). My question is now if there is a way to tell tomcat

Re: RES: TCP-FIN problem

2003-12-23 Thread Sebastian Klenk
actually i thought that tomcat was supposed to close the connection after all data has been send - if not this explains a lot! try { int c; while(-1 != (c = Reciever.read())) /* here I'm waiting until the connection is closed! */

RE: help in tomcat 5 and MS SQL 2000

2003-12-23 Thread Kannan Sundararajan
Hi Tom, Can you stop this return receipt thing? Regards -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, December 22, 2003 1:41 PM To: [EMAIL PROTECTED] Subject: RE: help in tomcat 5 and MS SQL 2000 Return Receipt

Re: RES: TCP-FIN problem

2003-12-23 Thread Philipp Taprogge
Hi! Sebastian Klenk wrote: actually i thought that tomcat was supposed to close the connection after all data has been send - if not this explains a lot! It does, but TCP handshakes are no one-way street. I can only do wild guesses from here, but what I think is happening is this: after tomcat

Re: RES: TCP-FIN problem

2003-12-23 Thread Sebastian Klenk
Maybe with a little bit more detail: Application Code: try { ClientSocket = new Socket(IPAddress, Port); Sender = new OutputStreamWriter(ClientSocket.getOutputStream()); Reciever = new

Not Redirecting (IIS6.0 - JWSDP1.3 with Tomcat5.0).

2003-12-23 Thread charles doweary
I've followed every instruction that I could find, and none of them have worked for me. According to the log file, it appears as though the error is occurring when the jk_open_socket trys to connect. I've included the following platform, IIS, registry, log file, properties files, server.xml,

RE: JSP not reloading

2003-12-23 Thread Mike Curwen
Alright, I've tried upgrading to 4.1.29. The exact same behaviour is occuring with this version as well! I'm kinda desperate here... developing under these conditions is negative fun. Someone just give me a hint! Anything!! :) -Original Message- From: Mike Curwen [mailto:[EMAIL

Re: RES: TCP-FIN problem

2003-12-23 Thread Sebastian Klenk
I already send some more code, and if it helps the (FIN,ACK) comes from tomcat and my app responds with a (ACK) imediatelly, then the connection is closed. but it takes aproximatly 30 seconds till the (FIN,ACK) is send after all data has been send. So it looks like this: ... connection

Re: RES: TCP-FIN problem

2003-12-23 Thread Alexander Taler
Hi, Just yesterday we had a problem with the same symptoms. We corrected it by setting the Content-Length header. Are you sure that you have the correct value for Content-Length? Alex Sebastian == Sebastian Klenk [EMAIL PROTECTED] writes: Sebastian To: Tomcat Users List [EMAIL PROTECTED]

Re: JSP not reloading

2003-12-23 Thread MS
Which browser are you using? I've had some caching problems with IE. - Original Message - From: Mike Curwen [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Tuesday, December 23, 2003 12:23 PM Subject: RE: JSP not reloading Alright, I've tried upgrading to 4.1.29.

How do I reload a Servlet from a JSP page?

2003-12-23 Thread Nathan Christiansen
I am using a JSP page to add and change properties files for my servlet in my development and testing environments. I have Tomcat (4.1.24) set up to reload the servlet on changes to the context (i.e. reloadable=true). When I change an existing properties file, Tomcat responds by reloading the

RE: JSP not reloading

2003-12-23 Thread Mike Curwen
It is definitely NOT a client-side cache issue. One a completely separate machine that has never loaded that page, I'll get the 'old' output of the JSP. And regardless of this, this *did* work up until last week, on one machine, using one browser (IE 6). -Original Message- From: MS

RES: RES: TCP-FIN problem

2003-12-23 Thread Jose Euclides da Silva Junior - DATAPREVRJ
Yes, you are right. 60 seconds is the defaut timelimit for TCP/IP connection,also.Sebastian: unfortunatelly, you need to post all your code that deals with connection... -Mensagem original- De: Philipp Taprogge [mailto:[EMAIL PROTECTED] Enviada em: terca-feira, 23 de dezembro de 2003

RE: How do I reload a Servlet from a JSP page?

2003-12-23 Thread Edson Alves Pereira
Servlets are reloaded when your servlet engine is restarted or you configure you webapp to always reaload servlets ( this is very slow ). -- De: Nathan Christiansen[SMTP:[EMAIL PROTECTED] Responder:Tomcat Users List Enviada: terça-feira, 23 de dezembro de 2003 14:46

Re: RES: TCP-FIN problem

2003-12-23 Thread Jon Anderson
On Tuesday 23 December 2003 10:53 am, Philipp Taprogge wrote: Hi! Sebastian Klenk wrote: My question is now if there is a way to tell tomcat that all data has been written an that the connection can be closend!? Are you using HTTP for the connection? If so, are you disabling the HTTP

Problem with database updates using DBCP

2003-12-23 Thread frank . zammetti
Hello all. I've recently had a need to implement connection pooling under Tomcat 4.0.6 (I can't upgrade versions as per a mandate by my employer). I have read some posts that indicate that Tyrex does not actually pool connections. I don't know for sure if that is true or not (any definitive

RE: How do I reload a Servlet from a JSP page?

2003-12-23 Thread Nathan Christiansen
Thank you for your response, but I already have my context set to automatically reload servlets on changes to the webapp as this is a testing environment. I am wondering how I can force a reload from a JSP page like the manager app does. -- Nathan Christiansen Tahitian Noni International

Re: JSP not reloading

2003-12-23 Thread Ankur Shah
A few things to try here: 1. What happens when you access your JSPs directly through tomcat (port 8080?). Do you get the same result? 2. What happens when you do $touch foo.jsp? Does your server pick up the changes, then? 3. Did you try upgrading to 5.0.16? *duck* Mike Curwen wrote: Alright,

RE: Questions on Clustering

2003-12-23 Thread Filip Hanik
yes, with different multicast addresses and ports that way you don't replicate sessions between 10 different hosts, to no use Filip -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 23, 2003 4:37 AM To: Tomcat Users List Subject: Re: Questions

RE: Not Redirecting (IIS6.0 - JWSDP1.3 with Tomcat5.0).

2003-12-23 Thread Wendell Holmes
Try changing the extension_uri to forward slashes - /jakarta/isapi_redirect.dll Wendell Holmes Sorry for not quoting, but it bounced as too large for mailserver

mod_jk2/2.0.2 failure in Tomcat 5.0.16 / Apache 2.0.48

2003-12-23 Thread Jeremy Barth
I've looked at the list archives, but can't find much on JK2 with Tomcat 5 (though there's plenty of material on Tomcat 4). I'm sure I'm missing something obvious, but I can't get even the example webapps to work with Apache 2.0.48 / Tomcat 5.0.16 / JK2. I am following the example given here

RE: JSP not reloading

2003-12-23 Thread Wendell Holmes
Have you checked the tomcat \work folder to be sure the JSP was recompiled? Maybe try deleting the old compiled jsp files and see if they're regenerated correctly. -Original Message- From: Mike Curwen [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 23, 2003 10:49 AM To: 'Tomcat Users

Re: Questions on Clustering

2003-12-23 Thread daniel
Oh i changed that to 224.0.0.1 to but it was still doing what i had described earlyer. thanks matt - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, December 22, 2003 10:51 PM Subject: RE: Questions on Clustering I ran into a problem implementing

Re: Questions on Clustering

2003-12-23 Thread daniel
Hummm i wounder if that may have some thing to due with my earlyer problem? Ill check in a bit to see if that helps out. I can not thank you enough Filip . thanks Daniel Schulken - Original Message - From: Filip Hanik [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent:

Re: JSP not reloading

2003-12-23 Thread Ben Souther
One condition that can cause this is having class files with a future date. This can happen if the machine that you copied them from didn't have it's clock set properly. Since the date on the class files is higher than the JSP file, jasper won't recompile it. Zap all the class files in

Re: Problem with database updates using DBCP

2003-12-23 Thread David Ramsey
I've not used DBCP specifically but are you sure you are committing your writes? Most pools will default rollback connections returned to the pool, if I am not mistaken. --- [EMAIL PROTECTED] wrote: Hello all. I've recently had a need to implement connection pooling under Tomcat 4.0.6 (I

Re: Problem with database updates using DBCP

2003-12-23 Thread frank . zammetti
Yep, I thought of that too. But, I explicitly call conn.setAutoCommit(true); before every update, insert or delete. When batching I call it with false and then executeBatch, and calling rollback if the batch fails, all pretty typical code I think. Is there anything else I should be doing do

RE: JSP not reloading

2003-12-23 Thread Mike Curwen
-Original Message- From: Ankur Shah [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 23, 2003 12:15 PM To: Tomcat Users List Subject: Re: JSP not reloading A few things to try here: 1. What happens when you access your JSPs directly through tomcat (port 8080?). Do you get

Re: Problem with database updates using DBCP

2003-12-23 Thread Justin Ruthenbeck
At 11:10 AM 12/23/2003, you wrote: Yep, I thought of that too. But, I explicitly call conn.setAutoCommit(true); before every update, insert or delete. When batching I call it with false and then executeBatch, and calling rollback if the batch fails, all pretty typical code I think. Is there

RE: JSP not reloading

2003-12-23 Thread Mike Curwen
In the \work folder, neither the source or class file timestamps are updated. If we delete the files, then Tomcat will regenerate and recompile the appropriate (new) JSP file. So this is a better workaround than restarting. It did used to require Tomcat being cycled. As an extra note,

Re: Problem with database updates using DBCP

2003-12-23 Thread frank . zammetti
Good info, thank you Justin! Unfortunately, it didn't solve my problem, but I will leave the commits there regardless. Thanks again! Any other suggestions out there? Can anyone verify if Tyrex, as shipped with 4.0.6, does in fact pool connections? I could always drop back and punt to that.

Re: Problem with database updates using DBCP

2003-12-23 Thread Philipp Taprogge
Hi! David Ramsey wrote: I've not used DBCP specifically but are you sure you are committing your writes? Most pools will default rollback connections returned to the pool, if I am not mistaken. Isn't there a parameter autocommit in the ConnectionFactory? I am not sure if it's viable to call

RE: JSP not reloading

2003-12-23 Thread Mike Curwen
Our server is the one generating the class files (we only copy *.jsp files), from a box that is aproximately one second behind the server. So the generated class ought to be 'internally consistent'. Deleting class files (and generated source) from the work directory seems to help the reloading,

Re: JSP not reloading

2003-12-23 Thread Remy Maucherat
Mike Curwen wrote: 3. Did you try upgrading to 5.0.16? *duck* no, we're not wanting to use 5.0 until (probably) 5.1. There's nothing we need from the new servlet spec. You're free to do what you want, of course, but I'd like to point out 5.0 should have been named 4.2. The major revision number

Re: JSP not reloading

2003-12-23 Thread Ben Souther
Is the date on the server right? On Tuesday 23 December 2003 02:29 pm, Mike Curwen wrote: Our server is the one generating the class files (we only copy *.jsp files), from a box that is aproximately one second behind the server. So the generated class ought to be 'internally consistent'.

RE: JSP not reloading

2003-12-23 Thread Mike Curwen
Yes, to within a margin of error (in the seconds). -Original Message- From: Ben Souther [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 23, 2003 1:38 PM To: Tomcat Users List Subject: Re: JSP not reloading Is the date on the server right? On Tuesday 23 December 2003

Re: Problem with database updates using DBCP

2003-12-23 Thread frank . zammetti
I was about to try that, but I had a thought... wouldn't that mean that batch transactions could not be used? I say that because, as I understand it, you are supposed to explicitly turn off autocommit when committing a batch, which only makes sense I think. If I specify at the data source level

RE: JSP not reloading

2003-12-23 Thread Mike Curwen
Part of it's comfort as well. I *know* 4.1.x quite well. I've been using it for a while now, and been very satisified with it. And just because 5.x becomes the new 'production standard', doesn't automagically make all 4.1.x installs somehow break in odd and mysterious ways. If someone could

RE: JSP not reloading

2003-12-23 Thread Justin Ruthenbeck
Are you sure nothing changed on the DB side? Some seemingly inocuous performance tweak? Do you have some odd rouge connection holding a lock on the table(s) you're trying to update and your app is failing to report the problem? Stuff like this is almost always something small and almost

RE: JSP not reloading (oops)

2003-12-23 Thread Justin Ruthenbeck
[Sorry, that was meant for a different topic. Vacation needed. :)] Are you sure nothing changed on the DB side? Some seemingly inocuous performance tweak? Do you have some odd rouge connection holding a lock on the table(s) you're trying to update and your app is.. snip

RE: JSP not reloading

2003-12-23 Thread Mike Curwen
Actually , though the site is db-driven, the changes I'm making are as simple as change: table width=400 to: table width=500 This is the type of change that is not being reflected. (and yes, I'm triple-sure that this is not a client-side cache issue) -Original Message- From:

Re: JSP not reloading

2003-12-23 Thread Ankur Shah
Mike Curwen wrote: 3. Did you try upgrading to 5.0.16? *duck* no, we're not wanting to use 5.0 until (probably) 5.1. There's nothing we need from the new servlet spec. I didn't mean for you to switch over to 5.x for good (If you didn't want to, that is). I just wanted to see if you

Re: JSP not reloading

2003-12-23 Thread Ankur Shah
Also, If you're still open to ideas, what happens when you do this with your old/new server: 1. You make changes in a different (examples) context? 2. Do you get a 404 (File not found) error if you move foo.jsp to fooX.jsp? Mike Curwen wrote: -Original Message- From: Ankur Shah

404: File Not Found = Stupidity?

2003-12-23 Thread Merrill Cornish
I'm running Tomcat 5.0.16 standalone on Windows XP Pro. My JSP/servlet application has been coming along nicely, but perhaps I've become complacent. The structure of the application is simple enough: The user starts with a JSP page and fills in a form. The form calls a companion servlet to

RE: 404: File Not Found = Stupidity?

2003-12-23 Thread Mike Curwen
Are you using the invoker or do you set up servlet-mappings ? (and if it's that last one, did you provide a mapping for the new servlet class? that didn't fall prey to a copy-and-paste error?) -Original Message- From: Merrill Cornish [mailto:[EMAIL PROTECTED] Sent: Tuesday, December

RE: 404: File Not Found = Stupidity?

2003-12-23 Thread Wendy Smoak
From: Merrill Cornish [mailto:[EMAIL PROTECTED] In everyway I can see, this new, failing servlet is exactly like all of its brothers, except the browser can't find it. Any suggestions? Check the servlet servlet-mapping tags in web.xml. -- Wendy Smoak Application Systems Analyst, Sr.

RE: 404: File Not Found = Stupidity?

2003-12-23 Thread Shapira, Yoav
Howdy, Is the servlet mapped in web.xml (or are you using the invoker servlet?), and are there any errors in your logs? Yoav Shapira Millennium ChemInformatics -Original Message- From: Merrill Cornish [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 23, 2003 3:09 PM To: Tomcat Users

Re: 404: File Not Found = Stupidity?

2003-12-23 Thread Merrill Cornish
[Sound of head pounding on keyboard...] Yes. I did forget to add the mapping for the new servlet. Mea culpa. I had even briefly thought about the server.xml and web.xml files--but then dismissed them as they are already set up. If I had just taken a look. . . Thanks for the kick in the

RE: mod_jk2/2.0.2 failure in Tomcat 5.0.16 / Apache 2.0.48

2003-12-23 Thread Wendell Holmes
If jkstatus works, then Apache is working with Tomcat, no? IIRC, the actual path to the jsp-examples is /webapps/examples/jsp-examples, so your uri mapping should be [uri:/examples/jsp-examples/*] I think. You should have an Apache error log that says 'file does not exist' where you tried to

RE: RES: TCP-FIN problem

2003-12-23 Thread George Sexton
Just one little detail with setContentLength(). If you are writing a string out, make really sure that your content length is correct. If it is not, the connection will stay open. A common mistake (at least one I have made) is to think that the character count in a buffer is the number of bytes

RE: mod_jk2/2.0.2 failure in Tomcat 5.0.16 / Apache 2.0.48

2003-12-23 Thread Jeremy Barth
At 01:33 PM 12/23/2003 -0700, Wendell Holmes wrote: If jkstatus works, then Apache is working with Tomcat, no? IIRC, the actual path to the jsp-examples is /webapps/examples/jsp-examples, so your uri mapping should be [uri:/examples/jsp-examples/*] I think. You should have an Apache error log

Re: mod_jk2/2.0.2 failure in Tomcat 5.0.16 / Apache 2.0.48

2003-12-23 Thread Liem Do
Try adding a worker definition to the workers2.properties like below. Your jsp-examples uri mapping specifies a worker but there's none defined in the file. # define the worker [ajp13:localhost:8009] channel=channel.socket:localhost:8009 Hope that helps. LD - Original Message - From:

Re: mod_jk2/2.0.2 failure in Tomcat 5.0.16 / Apache 2.0.48

2003-12-23 Thread Jeremy Barth
At 01:13 PM 12/23/2003 -0800, Liem Do wrote: Try adding a worker definition to the workers2.properties like below. Your jsp-examples uri mapping specifies a worker but there's none defined in the file. # define the worker [ajp13:localhost:8009] channel=channel.socket:localhost:8009 Hope that

RE: Not Redirecting (IIS6.0 - JWSDP1.3 with Tomcat5.0).

2003-12-23 Thread charles doweary
Thanks, but that did not help. I changed the direction of the slashes in the extension_uri and got the same results...no redirection. Do you have any other ideas? Your support in this matter is greatly appreciated. From: Wendell Holmes [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL

HowTo: Link Tomcat 5 with IIS 6 on Windows 2003 Server using the JK2 ajp13 connector

2003-12-23 Thread TJ
I've just written an article to help those who like us, need to serve up Java servlets and JSP using Tomcat. The URL is http://virtualict.net/support/kb/iis6-Tomcat5-JK2.html TJ 2XP To Explore, To Experience, To Express - To

[FAQ] HowTo: Link Tomcat 5 with IIS 6 on Windows 2003 Server using the JK2 ajp13 connector

2003-12-23 Thread Justin Ruthenbeck
TJ, This is a very sharp writeup -- thanks for writing it up for everyone else. Tim, wanna add this to the FAQ? justin At 02:21 PM 12/23/2003, you wrote: I've just written an article to help those who like us, need to serve up Java servlets and JSP using Tomcat. The URL is

Re: [FAQ] HowTo: Link Tomcat 5 with IIS 6 on Windows 2003 Server using the JK2 ajp13 connector

2003-12-23 Thread Tim Funk
I have been adding all new links to the Wiki. (Which anyone can update, but I also check to try to keep it clean) http://nagoya.apache.org/wiki/apachewiki.cgi?Tomcat/Links -Tim Justin Ruthenbeck wrote: TJ, This is a very sharp writeup -- thanks for writing it up for everyone else. Tim,

Re: mod_jk2/2.0.2 failure in Tomcat 5.0.16 / Apache 2.0.48

2003-12-23 Thread Liem Do
I'm not sure it matters but you should try to define the worker before the uri mapping. Or else take out the worker property all together in the uri definition for the /examples-jsp path. [uri:/jsp-examples/*] info=Map the whole webapp - Original Message - From: Jeremy Barth [EMAIL

RE: [FAQ] HowTo: Link Tomcat 5 with IIS 6 on Windows 2003 Server using the JK2 ajp13 connector

2003-12-23 Thread TJ
I've added the guide to Wiki TJ 2XP To Explore, To Experience, To Express - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [FAQ] HowTo: Link Tomcat 5 with IIS 6 on Windows 2003 Server using the JK2 ajp13 connector

2003-12-23 Thread Justin Ruthenbeck
At 03:03 PM 12/23/2003, you wrote: I have been adding all new links to the Wiki. (Which anyone can update, but I also check to try to keep it clean) http://nagoya.apache.org/wiki/apachewiki.cgi?Tomcat/Links Wait, so new links/additions are going to the Wiki instead of the FAQ? Are both being

Re: [FAQ] HowTo: Link Tomcat 5 with IIS 6 on Windows 2003 Server using the JK2 ajp13 connector

2003-12-23 Thread Tim Funk
I've been meaning to remove links to external sites from the FAQ. The Wiki has a more complete list of Links. -Tim Justin Ruthenbeck wrote: At 03:03 PM 12/23/2003, you wrote: I have been adding all new links to the Wiki. (Which anyone can update, but I also check to try to keep it clean)

Re: How to: Tomcat 5.0.16 as Windows Service

2003-12-23 Thread Merrill Cornish
Jacob, I tried your batch file for installing Tomcat 5 as a Windows service. I had to edit it to put double quotes around %EXECUTABLE% since my Tomcat is located under the \Program Files\ directory and the space in the pathname was messing up the command line parsing. With my standalone

Re: 404: File Not Found = Stupidity?

2003-12-23 Thread Andres Ledesma
Hi fellows I'm pretty new on servlets stufff...can anybody send me an snippet of the web.xml with servlet servlet-mapping tags... Got a question : on the class directory of the tomcat, there should be placed the .class o the .java ? I'm having the same error, the .class is in the proper

Re: 404: File Not Found = Stupidity?

2003-12-23 Thread Ben Souther
I'm pretty new on servlets stufff...can anybody send me an snippet of the web.xml with servlet servlet-mapping tags... You don't need a snippet. Tomcat shipps with a complete, working web.xml file. Look in the WEB-INF dir of the examples directory. Got a question : on the class directory of

Re: HowTo: Link Tomcat 5 with IIS 6 on Windows 2003 Server using the JK2 ajp13 connector

2003-12-23 Thread Daniel Schmitt
Hi Tj, If interested, I have written an installer which automates the steps you describe on your site. You can get binary and source code at: http://www.shiftomat.com/opensource/index.html Unfortunately, there are main differences I would like to discuss here. I hope someone of the developers

Re: How to: Tomcat 5.0.16 as Windows Service

2003-12-23 Thread Jacob Kjome
I'm also seeing the behavior or no stdout or stderr output under Win2k, although it seems to work fine on my XP box. Weird. Anyway, I'd recommend uninstalling Tomcat5 and getting the .zip distribution. Just unzip it to a directory, set CATALINA_HOME as appropriate and run this script again.

Re: Session ID's

2003-12-23 Thread Bill Barker
Well, of course you will someday, it's still a finite-state machine ;-). The current TC 4/5 implementation has (if I've done the math right :) about 8E28 possible session values, so necessarily you will get a repeat after you generate that many sessions. The id is generated by SecureRandom, so

Re: 404: File Not Found = Stupidity?

2003-12-23 Thread Andres Ledesma
Thanks a lot, very usefull the link now is top of the Bookmarks list..:-) At the end I had the same problem, bad web.xml config Andrew On Wednesday 24 December 2003 03:19, Ben Souther wrote: I'm pretty new on servlets stufff...can anybody send me an snippet of the web.xml with

How to get the Context lists when the server is started

2003-12-23 Thread arunkumar
Hi, I want to get the details of the Context [Web Applications] initialized when the Tomcat is started.I tried implementing the LifecycleListener interface and it returns only Engine Startup Event.Is there is any Listeners available when the Context is initialized or any other ways to find

RE: Tomcat 4.1.18 MailSession Problem

2003-12-23 Thread Cord Awtry
Yoav, Resource name=mail/MyMail auth=Container type=javax.mail.Session / ResourceParams name=mail/MyMail parameter namemail.smtp.host/name valuesmtp.rcn.com/value /parameter parameter

Re: How to: Tomcat 5.0.16 as Windows Service

2003-12-23 Thread Bill Barker
If you have a Dr. Watson log, I would be interested in seeing it. You can either send it to me privately, (better) post it to [EMAIL PROTECTED], or attach it to a Bugzilla report. obvious-security-disclaimer You should delete all reports except those for 'tomcat.exe' before posting. I could

Re: How to get the Context lists when the server is started

2003-12-23 Thread Bill Barker
With TC 5, using JMX Listeners using a is probably the best bet. arunkumar [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I want to get the details of the Context [Web Applications] initialized when the Tomcat is started.I tried implementing the LifecycleListener interface and

Re: Specifying X.509 DN's in tomcat-users.xml

2003-12-23 Thread Bill Barker
Read again: At the moment, only MemoryRealm supports CLIENT-CERT auth. What part of this don't you understand? Miguel A Paraz [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, From: http://www.mail-archive.com/[EMAIL PROTECTED]/msg109699.html On Tue, 11 Nov 2003, Bill Barker

Re: How to get the Context lists when the server is started

2003-12-23 Thread arunkumar
I am using Tomcat 4.0.6 and JMX is not available in this version. Sorry i did not mentioned the Tomcat version earlier.. Thanks , Arun kumar Bill Barker wrote: With TC 5, using JMX Listeners using a is probably the best bet. arunkumar [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]

Off Topic- Core java

2003-12-23 Thread N.B.Bopanna
Hi all, please help me with the following problem. I have a java file in my system (C:\Esculation.java) When I compile it from command prompt using javac command it compiles. but when i try to execute the file (java Esculation) from the prompt it gives the following exception. exception in

Re: Off Topic- Core java

2003-12-23 Thread Antony Paul
add . (current directory) to classpath. There is no need to specify where the java API libraries to 1.4 Sun javac compilers. Antony Paul. - Original Message - From: N.B.Bopanna [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, December 24, 2003 11:32 AM Subject: Off Topic- Core

  1   2   >