RES: [off-topic] - Where can i find Oreilly's package for uploading fi les?

2003-07-09 Thread Jose Euclides da Silva Junior - DATAPREVRJ
I am not looking for examples, just the own package. Euclides. -Mensagem original- De: Rick Roberts [mailto:[EMAIL PROTECTED] Enviada em: quarta-feira, 9 de julho de 2003 15:33 Para: Tomcat Users List Assunto: Re: [off-topic] - Where can i find Oreilly's package for uploading fi les?

Re: Where can I download latest mod_jk2.so?

2003-07-09 Thread Rick Roberts
Thanks. It looks like mod_jk2-2.0.43.so is the latest for Linux. So, maybe I am current after all. -- *** * Rick Roberts* * Advanced Information Technologies, Inc. * ***

RE: [off-topic] - Where can i find Oreilly's package for uploading files?

2003-07-09 Thread Mike Curwen
www.servlets.com/cos -Original Message- From: Jose Euclides da Silva Junior - DATAPREVRJ [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 09, 2003 1:02 PM To: '[EMAIL PROTECTED]' Subject: [off-topic] - Where can i find Oreilly's package for uploading files? Hi, i have tried

RES: [off-topic] - Where can i find Oreilly's package for uploading files?

2003-07-09 Thread Jose Euclides da Silva Junior - DATAPREVRJ
thanks. -Mensagem original- De: Mike Curwen [mailto:[EMAIL PROTECTED] Enviada em: quarta-feira, 9 de julho de 2003 15:39 Para: 'Tomcat Users List' Assunto: RE: [off-topic] - Where can i find Oreilly's package for uploading files? www.servlets.com/cos -Original Message- From:

Re: Where can I download latest mod_jk2.so?

2003-07-09 Thread Eric J. Pinnell
Hi, It's the latest pre-built binary (Oct of 2002). Which isn't very new. You could compile 2.0.2. -e On Wed, 9 Jul 2003, Rick Roberts wrote: Thanks. It looks like mod_jk2-2.0.43.so is the latest for Linux. So, maybe I am current after all. --

Re: determining version of mod_jk.so

2003-07-09 Thread John Turner
The 2.0.43 is an Apache version, it has nothing to do with the version of the actual connector source. You can have a connector that is version 2.0.2, for example, that is compiled for Apache 2.0.40, .43, .44, and .46. The convention when delivering the binaries, then, is to tag the .so file

RE: Still need help with JDBCRealm

2003-07-09 Thread Mike Curwen
That's quite odd. http://forum.java.sun.com/thread.jsp?forum=427thread=394938message=171 3354#1713354 That thread talks about 'problems' with the Connector itself. Perhaps its worth investigating if the settings proposed there can help you..

Re: RES: [off-topic] - Where can i find Oreilly's package for uploadi ng fi les?

2003-07-09 Thread John Turner
http://www.servlets.com/cos/index.html John On Wed, 9 Jul 2003 15:27:38 -0300, Jose Euclides da Silva Junior - DATAPREVRJ [EMAIL PROTECTED] wrote: I am not looking for examples, just the own package. Euclides. -Mensagem original- De: Rick Roberts [mailto:[EMAIL PROTECTED] Enviada em:

ROOT context fails to use mail/Session Resource param. defaults to localhost

2003-07-09 Thread Raimee Stevens
I am not able to use the JNDI mail Factory from the ROOT context. It works when run from the examples context and other non-ROOT contexts as well. For some reason, the ROOT context fails to correctly load the SMTP host variable defined by the JNDI resource in the server.xml(below). It does

RES: RES: [off-topic] - Where can i find Oreilly's package for uploadi ng fi les?

2003-07-09 Thread Jose Euclides da Silva Junior - DATAPREVRJ
thank you too. -Mensagem original- De: John Turner [mailto:[EMAIL PROTECTED] Enviada em: quarta-feira, 9 de julho de 2003 15:54 Para: Tomcat Users List Assunto: Re: RES: [off-topic] - Where can i find Oreilly's package for uploadi ng fi les? http://www.servlets.com/cos/index.html John

Setup Default Context to point to specific webapp

2003-07-09 Thread David Nelson
I realize this may seem terribly simple to a few of you but I have yet to tweak my server.xml to generate a mod_jk.conf that will correctly handle the www.mysight.com/ address. What am I missing? I do have tomcat 4.1.18 and Apache2 relatively communicating at this point via mod_jk I think.

Re: Still need help with JDBCRealm

2003-07-09 Thread Rick Roberts
Mike, Thanks for your time on this, you have been very helpful. I will post the solution here, if I ever get it working. -- *** * Rick Roberts* * Advanced Information Technologies, Inc. *

Tomcat Virtual Directory

2003-07-09 Thread Jeremy Nix
In IIS it is possible to specify a virtual directory within a given virtual server that maps a directory under the website to a specific directory. Well, I have a need to create this type of functionality for a specific webapp only. So that when you go to Http://localhost/WEB_APP/DIR, then the

Re: Setup Default Context to point to specific webapp

2003-07-09 Thread John Turner
If its causing a problem for you, skip the auto generation and modify httpd.conf by hand. The auto generation only works for the simplest of configurations, anyway. John On Wed, 9 Jul 2003 14:04:18 -0500, David Nelson [EMAIL PROTECTED] ind.com wrote: I realize this may seem terribly simple

setting up a root servlet / getting images to appear in Tomcat 4.1.24

2003-07-09 Thread Mark Biciunas
This email formally presents what I have learned over the past couple days about setting up a servlet to be accessed as root (ie: www.myservlet.com instead of www.myservlet.com/somepath) without loosing access to images and other mime types. It is based primarily on advice received from Bill

Re: setting up a root servlet / getting images to appear in Tomcat 4.1.24

2003-07-09 Thread John Turner
Just so I'm clearyou want to deliver the images via the servlet? I'm missing why you have to declare the MIME types of images at all...Tomcat is perfectly capable of serving them in a standard HTTP/1.1 manner without any intervention from a servlet, and without any additional

RE: Setup Default Context to point to specific webapp

2003-07-09 Thread David Nelson
Thanks for the quick reply John. I have commented out the listener so we have the auto-generation straight, now I added a JkMount / ajp13 thinking that would map to my context in server.xml. However, when I try www.mysight.com/ I receive a 404 The requested resource (/) is unavailable.

Re: Setup Default Context to point to specific webapp

2003-07-09 Thread John Turner
First thing I would try is: JkMount /* ajp13 John On Wed, 9 Jul 2003 14:29:55 -0500, David Nelson [EMAIL PROTECTED] ind.com wrote: Thanks for the quick reply John. I have commented out the listener so we have the auto-generation straight, now I added a JkMount / ajp13 thinking that would

Re: setting up a root servlet / getting images to appear in Tomcat 4.1.24

2003-07-09 Thread Mark Biciunas
Actually, the point of the article is to explain how NOT to deliver the images via the servlet and to allow Tomcat to serve images normally - something that doesn't happen if you are using a root context. It is only when you configure server.xml with a blank context path (ie: Context path=

Re: setting up a root servlet / getting images to appear in Tomcat 4.1.24

2003-07-09 Thread John Turner
So you have a servlet that is intercepting all requests, other than image requests? John On Wed, 9 Jul 2003 15:55:21 -0400, Mark Biciunas [EMAIL PROTECTED] wrote: Actually, the point of the article is to explain how NOT to deliver the images via the servlet and to allow Tomcat to serve images

Re: setting up a root servlet / getting images to appear in Tomcat 4.1.24

2003-07-09 Thread Mark Biciunas
As I understand it, the servlet will receive all requests other than those that have been re-routed through servlet-mappings. Just out of curiosity, do you see a problem with this approach? Mark Biciunas Agorex Inc (905) 274-6785 [EMAIL PROTECTED] - Original Message - From: John Turner

Re: Setup Default Context to point to specific webapp

2003-07-09 Thread David Nelson
I have that set, still no luck. same error. - Original Message - From: John Turner [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, July 09, 2003 2:38 PM Subject: Re: Setup Default Context to point to specific webapp First thing I would try is: JkMount /*

Re: Setup Default Context to point to specific webapp

2003-07-09 Thread John Turner
This is what I have. The goal: http://www.host.com works. Environment: Apache 2.0.43, mod_jk, Tomcat 4.1.18, Solaris 8. httpd.conf: NameVirtualHost * IfModule !mod_jk.c LoadModule jk_module /usr/local/apache2/modules/mod_jk.so /IfModule JkWorkersFile conf/workers.properties JkLogFile

Re: setting up a root servlet / getting images to appear in Tomcat 4.1.24

2003-07-09 Thread John Turner
I'm just trying to understand why it was necessary. Our apps have mixed content, and we did not have to configure things as you've described. John On Wed, 9 Jul 2003 16:04:06 -0400, Mark Biciunas [EMAIL PROTECTED] wrote: As I understand it, the servlet will receive all requests other than

Re: setting up a root servlet / getting images to appear in Tomcat 4.1.24

2003-07-09 Thread Ben Souther
This servlet displays images just fine from the root context. It uses the root context that comes standard with tomcat. I'm hitting it with this URL: http://localhost:8080/hello import javax.servlet.*; import javax.servlet.http.*; import java.io.*; public class HelloWorldExample extends

Re: setting up a root servlet / getting images to appear in Tomcat 4.1.24

2003-07-09 Thread Mark Biciunas
It became necessary only when we tried to create a servlet that is accessed without any path information (ie: www.mysite.com instead of www.mysite.com/myservlet). Of course, if you have specified a static html page as the welcoming page to your site, you may never need to access a servlet without

Adding multiple params to redirect header

2003-07-09 Thread Boris Folgmann
Hi! Does anybody know a good method to pass all parameters from one request to another one using a redirect header? I can read all parameters of the original request with request.getParameterMap(), but how can I get them into the URL used for the redirect header? cu, boris

Re: setting up a root servlet / getting images to appear in Tomcat 4.1.24

2003-07-09 Thread John Turner
OK. I still don't get it, but I don't want to prolong the thread. Thanks for the info. John On Wed, 9 Jul 2003 16:30:08 -0400, Mark Biciunas [EMAIL PROTECTED] wrote: It became necessary only when we tried to create a servlet that is accessed without any path information (ie: www.mysite.com

Re: Still need help with JDBCRealm

2003-07-09 Thread Rick Roberts
Just a quick update. My JDBCRealm works if I use Basic AUTH. Only trouble I have now is getting Form AUTH to work. -- *** * Rick Roberts* * Advanced Information Technologies, Inc. * ***

Re: setting up a root servlet / getting images to appear in Tomcat 4.1.24

2003-07-09 Thread Mark Biciunas
That servlet will work great as will the configuration - no question about it. But try updating your configuration so that you acccess it as: http://localhost:8080 (note the removal of /hello). The solution I presented is only relevant to the situation when there is no path (ie: /hello).

RE: setting up a root servlet / getting images to appear in Tomcat 4.1.24

2003-07-09 Thread Mike Curwen
-Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 09, 2003 3:31 PM To: Tomcat Users List Subject: Re: setting up a root servlet / getting images to appear in Tomcat 4.1.24 OK. I still don't get it, but I don't want to prolong the thread.

Re: Still need help with JDBCRealm

2003-07-09 Thread Rick Roberts
I'm going to start a new thread now because I no longer need help getting JDBCRealm to work. Now I need some help getting FORM AUTH to work with JDBCRealm. -- *** * Rick Roberts* * Advanced Information Technologies, Inc. *

Re: setting up a root servlet / getting images to appear in Tomcat 4.1.24

2003-07-09 Thread Ben Souther
I see what you mean. Is there no way to map the welcome-file-list element in web.xml to a servlet? On Wednesday 09 July 2003 04:38 pm, Mark Biciunas wrote: That servlet will work great as will the configuration - no question about it. But try updating your configuration so that you acccess

RE: setting up a root servlet / getting images to appear in Tomcat 4.1.24

2003-07-09 Thread Mike Curwen
A-HAAA!!! Yes, there is... but in the next version of the spec :( (Tomcat 5) So for now, we all have to have a jsp file that does the kickmeto trick. -Original Message- From: Ben Souther [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 09, 2003 3:52 PM To: Tomcat Users List

Re: setting up a root servlet / getting images to appear in Tomcat 4.1.24

2003-07-09 Thread John Turner
Thanks for the info. John On Wed, 9 Jul 2003 15:43:51 -0500, Mike Curwen [EMAIL PROTECTED] wrote: -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 09, 2003 3:31 PM To: Tomcat Users List Subject: Re: setting up a root servlet / getting images to

Re: setting up a root servlet / getting images to appear in Tomcat 4.1.24

2003-07-09 Thread Ben Souther
redirects can be a problem (some firewalls don't allow them.) I'd go with the forwards. Did all servlet apps have to have a static HTML welcome page before JSP came into being? On Wednesday 09 July 2003 04:51 pm, Mike Curwen wrote: A-HAAA!!! Yes, there is... but in the next version of

Client prematurely closes connection = junk in reponse

2003-07-09 Thread Michael Wille
Hello All, I am experiencing a very strange problem and don't know exactly how to fix it. The problem is garbled junk characters are being prepended to the response output stream that the browser receives. This only happens for Internet Explorer and it seems very random. It is very

Re: Still need help with JDBCRealm

2003-07-09 Thread Rick Roberts
It's all working now! Form AUTH and JDBCRealm. Works as advertised! :) I had 2 errors in my login.jsp file. Once I closed my Form with /Form and changed j_passsword to j_password It worked!! I can attribute ALL of my problems to my poor typing and review skills. Thanks again for your help. --

Tomcat Closes HTTPS Port

2003-07-09 Thread Lars Hellgren
Hello, Here is a Windows XP, JDK 1.4.1, Tomcat 4.1.24 problem that I'm not sure of how to tackle. We have been running our new Tomcat application with an HTTP and an HTTPS port for a few weeks. During this time there have been two occasions on which the HTTPS port has become closed for no

INFO: RESET in catalina.out Server 500 under load

2003-07-09 Thread Fletcher Cocquyt
Hi Fellow Tomcat users, I am seeing the following errors in my catalina.out logfile when running any kind of load against the server using apache bench: Jul 9, 2003 5:36:42 PM org.apache.jk.server.JkCoyoteHandler action INFO: RESET Jul 9, 2003 5:36:42 PM org.apache.jk.server.JkCoyoteHandler

Re: Running Tomcat as Windows Service

2003-07-09 Thread Jerry Holyfield
Get a thread dump of the tomcat process. Hi, I want to install Tomcat 4.1.2 as windows service. My servlets should connect to another server over SSl-Connection. I did install tomcat as a service, but when my client connects to the servlet, tomcat hangs down,and I have to restart the service

Re: Client prematurely closes connection = junk in reponse

2003-07-09 Thread Bill Connor
See below... On Wed, 2003-07-09 at 15:10, Michael Wille wrote: Hello All, I am experiencing a very strange problem and don't know exactly how to fix it. The problem is garbled junk characters are being prepended to the response output stream that the browser receives. This only happens

Re: how to create servlet?

2003-07-09 Thread kitty winslet
In WEB-INF\classes\ I always find 2 kind of file SendMailServlet.java and SendMailServlet.class, what is the difference btw *.java and *.class ? In the servlet mapping fields, why it only shows the name of the servlet, not the full path to where it located for example

Re: how to create servlet?

2003-07-09 Thread Kwok Peng Tuck
.java is the source file, the one you use to compose your program. It is like any other text file, you can use any text editor to create a .java source file. The .class file is a compiled version of the .java file, ready for execution by the servlet container. For your second question, you

JDBCRealm and Session Time-Outs

2003-07-09 Thread Rick Roberts
If my session times-out, I want to send the user back to the login form and force a new JDBCRealm authentication. I'm using Form AUTH, but I don't think that Form AUTH would be any different than Basic AUTH in this regard. I think that what I want to do, would be easy if I could just invalidate

XML DOCTYPE problem

2003-07-09 Thread Brian Menke
Hi everyone, I have created a JSP page that use the jstl xml tag library, specifically using xpath. Everything works perfectly fine as long as I don't have a doctype declaration like the following in my XML instance: !DOCTYPE datasheet PUBLIC -//Innovtech//DTD datasheet//EN

session expiry

2003-07-09 Thread Paul Wallace
Hello All, A simple one? I have my session defined in a servlet thus: HttpSession session = req.getSession(); session.setAttribute(userSession, h); how or where do define session parameters such as expiry? I would ideally like my session to die when I call a specified method e.g

Re: session expiry

2003-07-09 Thread harsh
public void close() { session.inValidate(); // kill my session here } or failing that, how do I define a length of time for the session life? Thanks Paul. - To

Configuring tomcat to use seperate conf/server.xml files

2003-07-09 Thread Owen Fellows
Hi, I'm trying to configure multiple instances of the same tomcat. I want to have one tomcat and one webapp but multiple server.xml files (distinct datasourve per application). Is this possible in tomcat 4.1.12. I've tried setting CATALINA_HOME to the tomcat installation and setting

RE: session expiry

2003-07-09 Thread Paul Wallace
Thank you for that. And where is the length of default session expiry defined? How do I configure session life span for TC? Thanks Paul. public void close() { session.inValidate(); // kill my session here } or failing that, how do I define a length of time

<    1   2