Hello,
I'm using tomcat5.5.23 on a Fedora 5 kernel: 2.6.20-1.2320.fc5.
I redirect port 80 to 8080 by running by root:
iptables -t nat -A OUTPUT -d localhost -p tcp --dport 80 -j REDIRECT
--to-ports 8080
iptables -t nat -A PREROUTING -p tcp --dport 80 -i eth0 -j REDIRECT
--to-port 8080
a
getStatus() method.
Any idea ?
Yair Zohar.
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
, at least in my experience. With the wrapper, you
can monitor the output stream to get a byte count.
B.
Yair Zohar wrote:
Hello,
I'm trying to create a filter that will do the access logging for my
web application
(I would like to write the information directly to the database not
to a file).
I
that as the status).
Is this not working for you?
Brantley
Yair Zohar wrote:
Hi Brantley,
Thanks for replying.
I've tried to pass a wrapper to the filter's chain, here is the
wrapper's code:
import java.io.IOException;
import javax.servlet.http.*;
public class TestResponse extends
Hello,
I'm using tomcat 5.0.28 on a Linux machine.
My web applications are using some shared class. I put them under
$CATALINA_HOME/shared/classes.
The problem: When I make changes in the shared classes, restarting a web
application by tomcat's manager is not enough for the changes to be
You are right,
I've just wanted to avoid multiple copies of the same classes. They are
not really shared.
If the classes are shared, all the web applications should be restarted,
because the change affect all of them.
Yair.
Peter Crowther wrote:
From: Yair Zohar [mailto:[EMAIL PROTECTED]
My
Hi,
I have a DLL that I need to use from some of my servlets. Where should I put
the DLL? How do I load the DLL from all those servlets (should it be loaded
only once?)?
Is there anywhere I can read about this?
Thanks,
Zohar
Hi,
I have a servlet which needs to load a dll. using Tomcat 5.5., what is the
right way to do that (do I need to set java.library.path? if so - where?
where should my loading classes reside?)?
Thanks,
Zohar.
-
To start
Is there anything more about this, other than the (very poor) javadocs, or is
the only option is looking in the code?
Viraj Turakhia [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi all,
I am starting to work with Tomcat's code and have no clue where to start
from.
Any pointers
Is there anything more about this (ProtocolHandler, Adapter, etc...), other
than the (very poor) javadocs, or is the only option is looking in the code?
http://www.eclipse.org/webtools/
Date: Wed, 23 Aug 2006 17:24:46 -0500 From: [EMAIL PROTECTED] To:
users@tomcat.apache.org Subject: debugging tomcat with eclipse I have
found various different examples, just curious what folks are find to be the
best practice? D-
When using JDBCRealm, where should I put my driver jars?
..
Thanks,
Zohar
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hello list,
I'm using BASIC authentication with tomcat 5.5 and I wanted to know whether it
is possible to return some text when the user login fails (e.g. you typed in
the wrong password). Is it?
Thanks.
Zohar.
Hello list,
I have a servlet that handles POST requests. Sometimes the request needs to be
forwarded to a different servlet, which may be running on a different server.
What is the best way to do that?
Thanks,
Zohar.
What's the easiest way to transfer all the data from the Request to the
PostMethod?
- Original Message -
From: Avi Deitcher [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Tuesday, July 11, 2006 14:38
Subject: Re: forwarding to a remote host
Zohar
all it does is put h1%=exception.getMessage()%/h1
I am a bit lost here.
The way I set my error page is :
errorPage=error.jsp
Should I use errorPage=/error.jsp instead?
Thanks for your reply,
Zohar.
Date: Sat, 20 May 2006 14:05:20 -0400 From: [EMAIL PROTECTED] To:
users@tomcat.apache.org
If anyone has an example I'd love seeing it...
Date: Sat, 20 May 2006 14:05:20 -0400 From: [EMAIL PROTECTED] To:
users@tomcat.apache.org Subject: Re: error page It could be that the
error page itself is throwing an error. Try using an ultra-simple error
page. -- Len On 5/18/06, Zohar
in error.jsp being executed (I've put
some println's there), but the calling HTTP browser gets an HTTP 500
response.Is this a known issue with tomcat? If not, then can anyone please help
me with this.Thanks,Zohar.
_
It's the future
is printed. But what I get as a response to the browser is
HTTP 500.
Can anyone please help me with this?
Thanks,
Zohar.
No, I've used the Letting a page define its error page option.
- Original Message -
From: Franck Borel [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Thursday, May 18, 2006 14:20
Subject: Re: error page
I'm trying to use the error handling mechanism described
services, etc.). The internal contexts also provide service to other
internal servers.
- Original Message -
From: Markus Schönhaber [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Thursday, April 06, 2006 17:23
Subject: Re: access control
Zohar wrote:
I have
Can I grant access to some jsp pages and deny access to others (in the same
context)?
- Original Message -
From: Markus Schönhaber [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Thursday, April 06, 2006 17:23
Subject: Re: access control
Zohar wrote:
I have
take a look at WTP (http://www.eclipse.org/webtools/)
- Original Message -
From: Anandi Vyagrapuri [EMAIL PROTECTED]
To: users@tomcat.apache.org
Sent: Thursday, April 06, 2006 18:35
Subject: Eclipse plugins for tomcat
Hi,
Can anyone comment on the best eclipse plugin for
tomcat
I've tried putting it right before TransformerFactory.newInstance() .
now, when I invoke the transform method I get NPE at
net.sf.saxon.Controller.transform(Controller.java:1319)
Any help?
- Original Message -
From: Zohar Amir [EMAIL PROTECTED]
To: Tomcat Users List users
will get a warning if the xslt is 1.0, but it will still compile and
function.
Richard Toren
Zohar Amir wrote:
Correct me if I'm wrong here: as I understand it, tomcat uses Xalan as
its XSLT engine. Xalan does not support XSLT 2.0 .
Is there any other XSLT engine I can use with tomcat (I read
Can I use XSLT 2.0 stylesheets with tomcat 5.5.15 ? I get:
ERROR: 'Error checking type of the expression 'funcall(format-dateTime,
[step(child, 24), literal-expr([Mn] [D1o], [Y0001] at [h01]:[m09]:[s02]
[P])])'.'
Thanks,
Zohar
Correct me if I'm wrong here: as I understand it, tomcat uses Xalan as its
XSLT engine. Xalan does not support XSLT 2.0 .
Is there any other XSLT engine I can use with tomcat (I read something about
Saxon)? If so, how do I do that?
Thanks,
Zohar
Sorry to barge in, but maybe you can help me with my question:
If I want to reference images from my servlet, when should I put them and
how do I reference them?
Thanks,
Zohar.
- Original Message -
From: Wentink, Marc [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
:48 PM
Subject: RE: Image files accesable for a servlet in Tomcat, but they were
accesible in Java standalone program
Hi Zohar,
What doe you mean by reference ?? Please elaborate.
Regards,
Paul Hamer
management development
[EMAIL PROTECTED]
toHAVE websolutions
www.tohave.nl
[EMAIL
Hi,
I have a servlet that transforms an XML using XSLT. In the result HTML I
want to include some images. Where do I place those images? I tried the
WebContent directory, but they could not be loaded (I even tried getting
them explicitly, but the servlet was invoked instead).
Thanks,
Zohar
Hello,
I'm using tomcat 5.5.15 on Win XP.
I have a servlet that is deployed on a certain context. I would like anyone
trying to use that servlet use a username-password. how do I do this?
What if I need to protect a jsp that is part of the servlet?
Thanks,
Zohar
Thanks,
Where can I find info on how exactly to do this? maybe an example...?
- Original Message -
From: David Delbecq [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Wednesday, February 15, 2006 2:52 PM
Subject: Re: password protection
Zohar Amir a écrit
://www.onjava.com/pub/a/onjava/2001/07/24/tomcat.html
http://www.cafesoft.com/products/cams/tomcat-security.html
for other ones, use favorite search engine.
Zohar Amir a écrit :
Thanks,
Where can I find info on how exactly to do this? maybe an example...?
- Original Message - From: David Delbecq
, and use it, but this requires querying the database for each
transaction...
Any other ideas?]
Thanks,
Zohar.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
in the request's
body (not sure yet).
I guess I have an application-level session that may encompass many HTTP
sessions.
Any way of doing this?
Thanks,
Zohar.
- Original Message -
From: Richard Mixon [EMAIL PROTECTED]
To: 'Tomcat Users List' users@tomcat.apache.org
Sent: Sunday, January 08
and paste the war file inside and wait for several seconds.
At least that's how I do it. If you want to avoid potential problem
due to class change, maybe stop TC before pasting and restart it
afterwards.
Zohar Amir wrote:
Hi,
I have a servlet deployed on my tomcat server. What are the options
http://www.kannel.org/
- Original Message -
From: Carl Olivier [EMAIL PROTECTED]
To: 'Tomcat Users List' users@tomcat.apache.org
Sent: Tuesday, November 08, 2005 2:16 PM
Subject: RE: Tomcat WAP/WML
Hi.
Great. Thanks! Is there Gateway software available though? If you wanted
to
Hi,
I have a servlet deployed on my tomcat server. What are the options of
upgrading this servlet (I have a new war file)? Which is the best way? What
if I do not have admin web access to the server?
-
To unsubscribe,
and a descriptive exception
be thrown (servlet should be initialized or whatever), instead of the NPE.
Thanks,
Zohar.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hello,
I was wondering what is the best way to indicate a war file's version.
Should the file's name indicate it (e.g., bla_1.3.2.war), and/or should the
manifest in META-INF include an entry for it?
Thanks,
Zohar
:)
Zohar Amir a écrit :
Hello,
I was wondering what is the best way to indicate a war file's version.
Should the file's name indicate it (e.g., bla_1.3.2.war), and/or
should the manifest in META-INF include an entry for it?
Thanks,
Zohar
42 matches
Mail list logo