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
Sometim
returning 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 c
ot
always set either, 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 th
ave 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]
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
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
reload
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 a
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?
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 po
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?
thing else...
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.
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"
Sent: Tuesday, July 11, 2006 14:38
Subject: Re: forwarding to a remote host
Zoha
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.
JSP2 should display the exception's message.
What is this "show friendly (sic) messages" threshold?" ?
Thanks again,
Zohar.
> Date: Sat, 20 May 2006 11:25:44 -0700> From: [EMAIL PROTECTED]> To:
> users@tomcat.apache.org> Subject: Re: error page> &g
error
> page.> -- > Len> > On 5/18/06, Zohar <[EMAIL PROTECTED]> wrote:> > No, I've
> used the "Letting a page define its error page" option.> >> > - Original
> Message -> > From: "Franck Borel" <[EMAIL
all it does is put <%=exception.getMessage()%>
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:
sErrorPage="true" %> I can see the code 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.
_
No, I've used the "Letting a page define its error page" option.
- Original Message -
From: "Franck Borel" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Thursday, May 18, 2006 14:20
Subject: Re: error page
>
I'm trying to use the error handling mechanism described in
http://jav
ugh the
exception's message is printed. But what I get as a response to the browser is
"HTTP 500".
Can anyone please help me with this?
Thanks,
Zohar.
take a look at WTP (http://www.eclipse.org/webtools/)
- Original Message -
From: "Anandi Vyagrapuri" <[EMAIL PROTECTED]>
To:
Sent: Thursday, April 06, 2006 18:35
Subject: Eclipse plugins for tomcat
Hi,
Can anyone comment on the best eclipse plugin for
tomcat development. Tried sysde
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"
Sent: Thursday, April 06, 2006 17:23
Subject: Re: access control
Zohar wro
"internal"
services, etc.). The "internal" contexts also provide service to other
internal servers.
- Original Message -
From: "Markus Schönhaber" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Thursday, April 06, 2006 17:23
Subject: R
to be accessible to clients (but
they must still be accessible to the interface servlet).
How do I do that?
Thanks,
Zohar.
tDispatcher(the path has to start with "/").
Can anyone help me with this?
Thanks,
Zohar.
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: "Tomc
ransformerFactoryImpl");
You 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 en
Sent: Wednesday, February 22, 2006 6: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
[
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 L
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,
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])]
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
ction
http://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 - Fro
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"
Sent: Wednesday, February 15, 2006 2:52 PM
Subject: Re: password protection
Zohar Amir a
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,
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'"
Sent:
t;
backend server, 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]
machine? If yes, you could
just copy 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 dep
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, e-mail:
http://www.kannel.org/
- Original Message -
From: "Carl Olivier" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'"
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 set your own gateway
any standard entry for that?
- Original Message -
From: "David Delbecq" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Thursday, October 20, 2005 4:47 PM
Subject: Re: WAR versions
manifest as name of .war is used by tomcat during deployement to name
t
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.
--
cked 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]
45 matches
Mail list logo