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?
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. *
***
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
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:
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.
--
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
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..
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:
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
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
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.
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. *
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
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
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
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
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.
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
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=
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
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
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 /*
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
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
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
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
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
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
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. *
***
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).
-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.
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. *
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
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
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
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
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
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.
--
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
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
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
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
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
.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
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
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
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
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
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
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
101 - 150 of 150 matches
Mail list logo