Many thanks Nicholas for your quick answer
I'll read the article
Best Regards
Jean-Louis Matéo
Bull, Architect of an Open World TM
Bull SA - 53 r de l'Etang BP39 - 69578 LIMONEST
tél - 08 20 08 20 00
fax - 04 72 52 51 24
__
BU
Hello all,
I' a newbie un the list, so first of all I'd like to say hello to everyone
:)
After this, I'd like to ask for help with a problem I have configuring
Tomcat for digital certifications. I've followed all the steps in the Tomcat
SSL HOWTO and my tomcat now has a secure connector in port
Hi all,
I 've install the tomcat 5.5 and jdk 1.5 but I would lie to test the
sample jsp whch I create. I don't know how that jsp is deployed using
the tomcat server.
Inside the weapps I create a folder and copy the jsp which I create.
Then what all things I need to do forwoking this jsp.
Pl
Hi,
Is it possible to have yaws serve as the http frontend
for Tomcat?
Similar to how can have apache http serve as the
frontend for tomcat
using AJP
Thanks,
Josh
-
To start a new topic, e-mail: users@tomcat.apache.org
To
Hi,
I am new to servlets and web container. From what I have read so far,
I've gotten an impression that the web containers, in this case
Tomcat, create only _one_ instance of each particular servlet upon
start/[re]deployment of a web application. Any request to such servlet
would cause a contain
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
Berglas, Anthony wrote:
>> If you really want to hack around with authentication and
>> authorization, check out securityfilter
>> (http://securityfilter.sourrceforge.net). The code is portable
>> across servlet containers, and especially across
Thanks for your replies, I think that the matter is settled.
> > The underlying issue is that when Role R is required for Page P then
> > *TWO* things need to happen depending on whether the user is in role
R.
> > These are
> >
> > 1. Allow or block access to page P.
> > 2. Grey out or not grey ou
Hello Everyone,
I am running TOMCAT 5.0.28 on a Mac OS X; JVM 1.5.0_06-112 platform; over a
period of a week I have made some code changes to ensure the service will
automatically restart if it stops. The following are some of the changes
that I have made:
TOMCAT now starts via launchd sc
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Nelson,
Nelson D. guerrero wrote:
> On Thu, 2007-03-29 at 12:20 -0400, Christopher Schultz wrote:
>> Honestly, you should never have to do anything with cookies
>> yourself...
>> Tomcat should handle any required cookie manipulations. I think it
>> wi
With tomcat 6, you could do this:
1. For non SSL traffic
Just ProxyPass to tomcat like always (set ProxyPreserveHost On)
2. For SSL traffic
Proxy pass to another connector setup like this
SSLEnabled=false, means it is http, not https, but
request.getScheme - will return https
request.isSec
Martin Gainty wrote:
just so Im clear..this would not work with keystore files but will work with
APR connector
and the Binaries must be compiled to JNI spec?
exactly, to use APR and OpenSSL, you can use Apache style certificates,
enableLookups="true" disableUploadTimeout="true"
if you are on TC 6, you can always use the NIO connector as an alternative.
There is a mem leak in 6.0.10, but fixed in SVN, new release around the
corner
take a look at
http://tomcat.apache.org/tomcat-6.0-doc/config/http.html
the "protocol" attribute tells you how to configure the different c
Thanks, I tried Connection Pooling recently with MySQL 5.x with those
instructions, and I was able to successfully make a connection per the
example shown there for MySQL.
I only had to place mysql-connector-java-5.0.5-bin.jar under
...\apache-tomcat-6.0.10\lib\
And configure the Context , and t
Please open a bugzilla issue and attach the relevant parts of your
mod_jk config (jk directives from httpd.conf and workers.propertiers and
uriworkermap.orperties, if applicable).
Erik Melkersson schrieb:
> Thanks for the info but unfortunately I don't think that is is case for
> me. I surfed to a
You are telling me there's a chance that the manager role definition is not
included in the
default realms?
I checked the page that you told me and apparently the realm is defined in
the server.xml file ...
I noticed that the server.xml file in the server that deosn;t work is much
more smaller th
Matt/Rashmi
make sure you have a non-empty password specified for username supplied to DB
(The Tomcat 6 Configuration for MySQL is available here)
http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html
Bon Chance!
Martin-
--
Fabian
I think this link
http://tomcat.apache.org/tomcat-5.5-doc/realm-howto.html#What%20is%20a%20Realm?
*may help*
Manager Application
If you wish to use the Manager Application to deploy and undeploy
applications in a running Tomcat 5 installation, you MUST add the "manager"
ro
On Thu, 2007-03-29 at 12:20 -0400, Christopher Schultz wrote:
> Honestly, you should never have to do anything with cookies
> yourself...
> Tomcat should handle any required cookie manipulations. I think it
> will
> just clutter your code and confuse anyone reading it.
It's working without any co
Are there additional error messages in the logs? Sometimes the logs
have more error information that will help you solve this problem.
Check if you have properly nested the Context tag under the Host tag
either in server.xml or if a separate Context xml file is used then
it should be associated
Hi all, (another memory question)
I am currently running Tomcat 5.5 on Windows server 2003 (2gb). Tomcat
memory resources are monitored in Windows Task Manager. Should I be more
concerned with Mem Usage or VM usage? Is Virtual Memory the actual
memory usage? Will gc release memory after it hits
2007/3/29, Caldarale, Charles R <[EMAIL PROTECTED]>:
I just tried it with 5.5.23, and JRE_HOME without JAVA_HOME works
properly on both JRE 5 and 6.
ok, thanks, I'll upgrade our clients tomcat. In the meanwhile, a small
fix to the windows batches was sufficient.
--
TREMALNAIK
Jean-Louis,
Basically, you specify the port number when you enable JMX access during
tomcat startup. Google for "tomcat enable jmx".
Here's a good article:
http://www.javaworld.com/javaworld/jw-08-2005/jw-0801-jmx.html
It looks like if you started Tomcat using
set JAVA_OPTS=%JAVA_OPTS% -Dco
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Nelson,
Nelson D. guerrero wrote:
>> Your URLs will then look something like:
>>/path/to.jsp;jsessionid=?query=goes+here
>
> This and the addCookie worked perfectly. The developers are working on a
> fix right now.
Honestly, you should
why? The "standard" role is well defined ... It doesn't even prompt me for a
user id & password (that happens even if you don't add the manager, admin
and standard roles...), it just displays that message. I have enabled this
console in 2 other boxes, with the same tomcat version and this didn't
h
I have a webapp running under tomcat 5.5 with no problem.
When I try to run my webapp with tomcat 6.0, I have an classnotfound error for
the mysql driver.
Of course, i have try to put the mysql driver jar file in /tomcat 6/lib folder,
in my webapp web-inf/lib folder, in both folders... I always h
Andrew Miehs wrote:
After reading all the comments regarding mod_proxy_ajp, I am currently
looking at
migrating to mod_proxy_http.
The application uses "isSecure" to check whether the request is an HTTPS
connection
or not.
But you obviously didn't read all the comments.
You will need to
> From: Tremal Naik [mailto:[EMAIL PROTECTED]
> Subject: Re: Tomcat 5.5: Jre or Jdk?
>
> Not only the documents, but it looks that a bug that has been marked
> as resolved in version 5.5.9 has not really been resolved or
> reintroduced in 5.5.16
I just tried it with 5.5.23, and JRE_HOME without
On Thu, 2007-03-29 at 09:43 +0100, Pid wrote:
>
> They don't go through it automatically, as the links are in the page
> output, and tomcat doesn't hunt through output streams for URLs to encode.
>
> All URLs need to be manually encoded, in your JSPs or Servlet outputs.
> Check with your develop
Martin,
I'm afraid I don't understand. Would the request length be the same as
the response? I'm totally not following.
Brantley
Martin Gainty wrote:
Brantley-
as the ServletResponse.getOutputStream() returning a
javax.servlet.ServletOutputStream is not RLE (RunLengthEncoded)
unless of c
2007/3/29, Tremal Naik <[EMAIL PROTECTED]>:
It really looks that the guys there at Apache don't care of us,
ignorant windows users ;)
I quote from the bug report:
"I'm leaving the bug open for Windows, but I really don't care about
the problem"
All my windows clients (who are not developers),
2007/3/29, Caldarale, Charles R <[EMAIL PROTECTED]>:
was clearly aware of. Unfortunately, it often takes quite a while for
the doc to catch up to reality.
Not only the documents, but it looks that a bug that has been marked
as resolved in version 5.5.9 has not really been resolved or
reintrodu
Brantley-
as the ServletResponse.getOutputStream() returning a
javax.servlet.ServletOutputStream is not RLE (RunLengthEncoded)
unless of course you implement some form of Tokenizer such as
http://forum.java.sun.com/thread.jspa?threadID=734167&tstart=420
Quickest would be to call HttpServletReque
Yeah. I think that's what I ran across (I wrote that code more than a
year ago). I think that's why I ended up initializing that internal
variable to 200 so I'd be guaranteed to get something.
It looks as if the AccessLog valve does something like this:
import org.apache.catalina.connector.R
Hi all,
Apologies if this email has come through already...
We're very confused.
We have a webservice that is using Axis1.4 and running under Apache
tomcat-5.0.27. We have an apache2 modjk connector in it that's
forwarding requests to the tomcat.
We use java.util.logging in our code, and a
2007/3/29, Martin Gainty <[EMAIL PROTECTED]>:
Tomcat officially requires the full JDK, because it needs javac in order to
compile JSPs. If you pre-compile all your JSPs, you can get away with running
tomcat on a JRE only, but you do so at your own risk.
From
http://tomcat.apache.org/tomcat-5
> From: Martin Gainty [mailto:[EMAIL PROTECTED]
> Subject: Re: Tomcat 5.5: Jre or Jdk?
>
> http://tomcat.apache.org/faq/misc.html#fullJdk
> Can I run tomcat with the JRE, or do I need the full JDK?
> Tomcat officially requires the full JDK, because it needs
> javac in order to compile JSPs.
Th
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dear List,
After reading all the comments regarding mod_proxy_ajp, I am
currently looking at
migrating to mod_proxy_http.
The application uses "isSecure" to check whether the request is an
HTTPS connection
or not.
Therefore, I have created 2
Well, it does, partially.
I sometimes get a non zero status code, but it's not zero only when
there is an error (status code s: 404, 304).
Yair.
Brantley Hobbs wrote:
Ahh.please ignore my last.
I see that you're doing the same thing I mentioned (setting a private
variable and returning
http://tomcat.apache.org/faq/misc.html#fullJdk
Can I run tomcat with the JRE, or do I need the full JDK?
Tomcat officially requires the full JDK, because it needs javac in order to
compile JSPs. If you pre-compile all your JSPs, you can get away with running
tomcat on a JRE only, but you do so a
> From: Tremal Naik [mailto:[EMAIL PROTECTED]
> Subject: Tomcat 5.5: Jre or Jdk?
>
> it complains that JAVA_HOME should point to a JDK, not a JRE.
Use JRE_HOME, not JAVA_HOME, when you have only a JRE installed.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
Ahh.please ignore my last.
I see that you're doing the same thing I mentioned (setting a private
variable and 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
No, the byte count doesn't actually have anything to do with the status
code. I simply added that statement as another reason for using the
wrapper. Sorry for the confusion.
I agree with your earlier statement that sometimes the response code
doesn't get set (or at least it gets set at some
suggest changing the manager to roles="admin,manager"
M--
---
This e-mail message (including attachments, if any) is intended for the use of
the individual or entity to which it is addressed and may contain information
that
Hello,
excuse me for the very simple question, but I'm not able to find a
reference for it.
I'm trying to use Tomcat 5.5.16 with JRE 1.5 installed. When I start
it complains that JAVA_HOME environment variable is required, when I
set this variable as my JRE root, it complains that JAVA_HOME shou
Tomcat : 5.5.20
Java : 1.5.0_09-b03
Hello
My tomcat 5..5.20 is well running and i want to administrate it from an
MC4J console but I don't know which url I have to invoke it
The URL is formed like this:
service:jmx:rmi://localhost/jndi/rmi://localhost:/connector_
Which , and do I have to c
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 HttpServletResponseWrapper {
private int statusCode;
public TestResponse(HttpServle
Yair,
I too would be interested in this. I wrote a logging filter that does
what you describe, but the best that I could come up with was a response
wrapper that was passed along the filter chain. In the wrapper, I could
set a status, thus guaranteeing that I would end up with a status at th
On Wednesday 28 March 2007 18:17, Christopher Schultz wrote:
> > Do they go through request.encodeURL automatically or do I have to do
> > something?
If you use JSTL Core library c:url, then they do. If you are using "", then they do not and you have to use
link.
It's safer and cleaner to use
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 have a problem to get the status code of the response.
The filter receives a ServletResponse object that do not have a
g
just so Im clear..this would not work with keystore files but will work with
APR connector
and the Binaries must be compiled to JNI spec?
M--
---
This e-mail message (including attachments, if any) is intended for the use of
Hello everybody,
I was not clear about my problem.
I would like to have an access to servlets-examples (or another web
application) in precising another port than 8080 so I did the following
configuration.
Creating a new service within server.xml this way:
...
...
Thank you for your answer, Martin. This is how my tomcat-users.xml looks
like (I have it the same way in another Solaris box, same version and same
tomcat version)
I don;t know why it doesn;t work in this box ...
Thanks,
Fabian
On 3/28/07, Martin Gainty <[EMAIL PROTECTED]
Martin Cavanagh wrote:
Removing the tcnative-1.dll library worked!
But doesn't that have the disadvantage of decreased performance for Tomcat?
Yes, APR connector with OpenSSL is 4 times faster then
with Java JSSE
Is there a way to install OpenSSL without compiling it?
Tcnative-1.dll for
jit.mehta wrote:
> Hi! I want to configure Virtual Host on my Tomcat 5 standalone server but I'm
> unable to run it.
http://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html
HTH,
Mark
-
To start a new topic, e-mail: u
John Pedersen wrote:
> I have been able to get all the admin pages running on https, but I
> want just the login page on https, and the actual admin pages using
> http.
>
> Can anyone suggest how to do this. Here is what I have in my web.xml (
> this setup doesn't use https at all ):
Without modi
Removing the tcnative-1.dll library worked!
But doesn't that have the disadvantage of decreased performance for Tomcat?
Is there a way to install OpenSSL without compiling it?
Thanks
Martin
Mladen Turk wrote:
Martin Cavanagh wrote:
Hi everyone.
I'm quite embarrassed - but inspite following
Hi all,
We're very confused.
We have a webservice that is using Axis1.4 and running under Apache
tomcat-5.0.27. We have an apache2 modjk connector in it that's
forwarding requests to the tomcat.
We use java.util.logging in our code, and are using Java 5.
Now we have a webapp that has some serv
Hi all,
We're very confused.
We have a webservice that is using Axis1.4 and running under Apache
tomcat-5.0.27. We have an apache2 modjk connector in it that's
forwarding requests to the tomcat.
We use java.util.logging in our code, and are using Java 5.
Now we have a webapp that has some serv
Hi! I want to configure Virtual Host on my Tomcat 5 standalone server but I'm
unable to run it.
Still no clue! this is how I did it.
Conf/server.xml entries after the local host entries-
I added a configuration file ROOT.xml in conf/catalina/buzz for the host
I also created directo
Nelson D. guerrero wrote:
On Wed, 2007-03-28 at 17:00 -0400, Christopher Schultz wrote:
Assuming that Tomcat is managing your sessions (there aren't too many
good reasons to manage your own sessions), then Tomcat uses either
cookies or URL rewriting to maintain sessions between requests.
I'm
Something like this
In Form
In servlet
String sValueStart = request.getParameter("start"); //The one clicked will
have a value
String sValueStop = request.getParameter("stop"); //The one clicked will
have a value
Write reponse to Text Area etc...
- Original Message -
From: "T
61 matches
Mail list logo