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
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
__
I also do this, if I have threads and opening and closing db connections
etc nice way to watch the thing running.
I find memory is not the thing to watch other than telling you in general
that the machine doesnt have enough.
Watch the HANDLES those things should be go up and come down
Hi all,
I have the following setup:
- Tomcat 5.5 install on win32, webapps reside underneath webapps/ROOT.
http://localhost/ shows me index.jsp
- Next I have enabled JDBC realm authentication
(webapps/ROOT/WEB-INF/web.xml).
security-constraint
web-resource-collection
Hi,
I'm trying to migrate application (let's call it App1) from Tomcat 4.x
to Tomcat 5.x (tested 5.0.28 and 5.5.23) and ... have had a problem.
Question: How to force Tomcat 5 to stop auto-redirecting context
some_server/App1/ if I request connection on some_server/App1 (lack of
last '/').
Hi,
I have Apache Tomact 6.0.2 installation.Unlike prior
versions of Tomcat,all the common,shared,server
jar files are moved to lib directory.
I am using mx4j jars for remote monitoring using
JMX.Where I nedd to place these jars so that they get
loaded. What configuration changes need to be
Hi,
I have Apache Tomact 6.0.2 installation.Unlike prior
versions of Tomcat,all the common,shared,server
jar files are moved to lib directory.
I am using mx4j jars for remote monitoring using
JMX.Where I nedd to place these jars so that they get
loaded. What configuration changes need to be
--- surya penmetcha [EMAIL PROTECTED] wrote:
Hi,
I have Apache Tomact 6.0.2 installation.Unlike prior
versions of Tomcat,all the
common,shared,server
jar files are moved to lib directory.
I am using mx4j jars for remote monitoring using
JMX.Where I nedd to place these jars so that
En l'instant précis du 30/03/07 11:20, Kenneth Westelinck s'exprimait en
ces termes:
Hi all,
I have the following setup:
- Tomcat 5.5 install on win32, webapps reside underneath webapps/ROOT.
http://localhost/ shows me index.jsp
- Next I have enabled JDBC realm authentication
Quoting the spec here (SRV.2.1 of servlet spec 2.4):
The handling of concurrent requests to a Web application generally
requires that the Web Developer design servlets that can deal with
muiltiple threads executing within the service method at a particular time.
Generally the Web container
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David,
David Delbecq wrote:
Workaround includes
Another workaround would be to use additional security-constraints
that will allow access to favicon.ico and any other include files such
as CSS, JS, or images without needing to be logged-in.
This
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dear Filip,
Thanks for the info!
This was what I was planning on doing with Tomcat 5.5.
I have now gone back to use mod_proxy_ajp.
(I can not migrate to Tomcat 6.0 for political reasons)...
Regards
Andrew
On 29/03/2007, at 9:54 PM, Filip Hanik
So I have now setup my Tomcat 5.5 with HTTPS via APR
(tcnative-1.dll)/OpenSSL.
It works great.
Now I want to require SSL authenification.
Thats easy enough to do, I just enable SSLVerifyClient.
Connector port=443 maxHttpHeaderSize=8192
maxThreads=150 minSpareThreads=25
Hi,
I'm trying to use Comet in tomcat 6.0.10, and have the following test class:
public class CometServlet extends HttpServlet implements CometProcessor {
public void event(final CometEvent event) throws IOException,
ServletException {
final HttpServletRequest request =
Hi Luis.
I'm pretty sure I'm having exactly the same problem as you - maybe we
can solve it together:)
When I enable client authentification in my config clientAuth=true for
you, since your using the Java KeyStore (I'm trying to use OpenSSL),
I get exactly the same error in Firefox!
Ok, thanks all for your replies.
Another problem is the following:
- I logon to http://localhost/somewhere using X's credentials. Logon
succeeds and I get redirected to http://localhost/somewhere/index.html
- I logon to http://localhost/somewhere using Y's credentials. I get the
login page again.
So, I upgraded to Tomcat 5.5.23 (I was running 5.5.15). Now at least the
problem is consistent. For all users I get the login page again. If I
refresh, I get redirected to http://localhost/somewhere/index.html.
On 3/30/07, Kenneth Westelinck [EMAIL PROTECTED] wrote:
Ok, thanks all for your
where would I find any sort of performance tests of OpenSSL vs Java JSSE?
is it possible to implement client authenification in both OpenSSL and
Java JSSE?
Thanks
Martin
Mladen Turk wrote:
Martin Cavanagh wrote:
Removing the tcnative-1.dll library worked!
But doesn't that have the
Hi,
I try to send an object from servlet to jsp using following:
req.setAttribute(NP, target);
...
getServletContext().getRequestDispatcher(/my.jsp).forward(req,
res);
in my.jsp I have:
% String wa = (String)request.getParameter(NP); %
%if (wa == null) wa = blank;%
% out.print(wa); %
But it
On 3/30/07, Mark [EMAIL PROTECTED] wrote:
I try to send an object from servlet to jsp
%if (wa == null) wa = blank;%
But it doesn't work :( blank always get displayed, which means I'm
not getting the object from request in jsp.
Or the object really is null :-)
Does it show up if you put
Hello,
What I am trying to do is to have a thread running to check a database for
something at a certian time.
All is well but when we launch both tomcats, there are 2 threads running and
I cannot figure out how to have only 1 thread running as it seams static
classes are unique to each
Mark wrote:
req.setAttribute(NP, target);
[...]
% String wa = (String)request.getParameter(NP); %
They simpy do not match ;-)
Use request.getAttribute() instead.
--
Mikolaj Rydzewski [EMAIL PROTECTED]
smime.p7s
Description: S/MIME Cryptographic Signature
I have made some adjustments.
An exception there should produce an error report, and a sendError
should do the same. However, an event.close should simply end the
processing of the request without any change of the response state
(which will be whatever was set in the servlet).
Note: the
On 3/30/07, David Smith [EMAIL PROTECTED] wrote:
Quoting the spec here (SRV.2.1 of servlet spec 2.4):
The handling of concurrent requests to a Web application generally
requires that the Web Developer design servlets that can deal with
muiltiple threads executing within the service method at a
Oh, what a typo!
Thanks a lot!
Mark
--- Mikolaj Rydzewski [EMAIL PROTECTED] wrote:
Mark wrote:
req.setAttribute(NP, target);
[...]
% String wa = (String)request.getParameter(NP); %
They simpy do not match ;-)
Use request.getAttribute() instead.
--
Mikolaj Rydzewski [EMAIL
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
James,
James Sherwood wrote:
All is well but when we launch both tomcats, there are 2 threads running
and I cannot figure out how to have only 1 thread running as it seams
static classes are unique to each tomcat.
It sounds like you want
Using a Mac OS 10.4 system w/ Tomcat 5.5.23...
Exactly where (what line location) do you use in the catalina.sh file to place
memory arguments?
(JAVA_OPTS=-Xmx12000m -Xms1m)
Thanks,
jeremy
-
To start a new topic, e-mail:
If you have multiple signed certificates (Verisign) in your keystore
how does Tomcat know which one to use?
keyAlias ?
-Message d'origine-
De : Reis, Tom [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 30 mars 2007 19:01
À : users@tomcat.apache.org
Objet : SSL certificate
If you have multiple signed certificates (Verisign) in your keystore
how does Tomcat know which one to use?
Afin
Evan J wrote:
On 3/30/07, David Smith [EMAIL PROTECTED] wrote:
Quoting the spec here (SRV.2.1 of servlet spec 2.4):
The handling of concurrent requests to a Web application generally
requires that the Web Developer design servlets that can deal with
muiltiple threads executing within the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jeremy,
Jeremy Matthews wrote:
Using a Mac OS 10.4 system w/ Tomcat 5.5.23...
Exactly where (what line location) do you use in the catalina.sh file to
place memory arguments?
(JAVA_OPTS=-Xmx12000m -Xms1m)
catalina.sh is just a regular
I wouldn't get too hung up on the internals of tomcat here. You should
remember servlet engines can be implement the spec in any way they see
fit. They are only required to comply with the spec. Anything not
spelled out there is subject to interpretation.
Suffice it to say servlets in and of
Gentlepeople,
I have a weird problem where I send a request from a browser to apache2
(running on Debian) to tomcat 6 (jdk 1.5) through mod_jk and where the
requested url in tomcat seems different from the one that is sent to
apache2.
In my case the url contains an escaped single quote (%27)
Hi,
I've got a question on logging under Windows (as a service). I'm
running an almost-out-of-the-box install of Tomcat 5.5.20/JRE
1.5.10/Win XP.
I just concluded a frustrating debugging session in which a servlet
was throwing a ServletException in the init method. No error messages
in any
On 3/30/07, Will Glass-Husain [EMAIL PROTECTED] wrote:
Hi,
I've got a question on logging under Windows (as a service). I'm
running an almost-out-of-the-box install of Tomcat 5.5.20/JRE
1.5.10/Win XP.
I hope the out-of-the-box install configures environment variables such as
JRE_HOME ,
Oh well, that was not too difficult.
If I add
JkOptions +ForwardURICompatUnparsed
to the apache config, all is well again.
Apologies for the noise,
Peter
Peter Coppens wrote:
Gentlepeople,
I have a weird problem where I send a request from a browser to apache2
(running on Debian)
Sorry for bothering the list with this, but the usual searches have
turned up nothing.
First, my profile:
Mac OS X 10.4.9
Tomcat 6.0.10 running with APR 1.2.8
Java 1.5.0
OK, I configured a context with a RemoteHostValve to restrict access
to a particular subnet. However, I could not get
Just checked that. It's Jakarta Turbine, incidentally. No, the
servlet catches then rethrows the exception.
catch (Exception e)
{
// save the exception to complain loudly later :-)
initFailure = e;
log.fatal(Turbine: init()
Having problems with using a wildcard cert with Tomcat. Same cert/key/bundle
trio works in apache in the way that I expect it, but any docs I've found for
Tomcat don't yield me a working system. We lost a guy recently that was the
web-min, so I'm a little out of my typical skillset in this
It appears that log.fatal is a method in Apache Commons Logging ,
according to the usage
http://carbon.sourceforge.net/modules/core/docs/logging/Usage.html
FATAL - Severe errors that cause premature termination. Expect these
to be immediately visible on a status console.
According to the above
I'm using log4j, but it hasn't been configured at this point. (The
servlet error occurs during configuration).
Still, note that the ServletException is thrown immediately after.
I'd expect Tomcat to pick up uncaught exceptions and stick them in a
log.
WILL
On 3/30/07, Rashmi Rubdi [EMAIL
We've recently had a related problem. When tomcat can't bind to port 6135,
it binds to the next port up, 6136. Unfortunately that's a totally
different application. Is there a way to:
1) Have Tomcat not bump the port number up.
2) Have Tomcat retry a particular port until it's available.
the problem you are having is because you didn't shutdown the java process.
invoking shutdown.sh when your tomcat instance has suffered a memoryleak
doesn't guarantee that it will stop, or how long it takes to stop it.
you must ensure the process is killed properly
Filip
Bryce Nesbitt wrote:
Hi,
I am using embedded tomcat 5.5.16. I am trying to embed tomcat server in my
java application. I tried to find how to set some attributes like
maxThreads, acceptCount and so on but was not able to find a good way to do
this in embedded tomcat application.
Secondly I am trying to feed SOAP
On 3/30/07, Will Glass-Husain [EMAIL PROTECTED] wrote:
I just concluded a frustrating debugging session in which a servlet
was throwing a ServletException in the init method.
How do you know that the Servlet was throwing an Exception in the init method ?
No error messages
in any log file.
What a shame - I would have thought this a common requirement. I want
to protect the admin password, but once logged in, there is a lot of
data to process, and it isn't very sensitive, so it doesn't make sense
to encrypt it.
So I just have to scrap the declarative method, and do it
46 matches
Mail list logo