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 programmatical
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.
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 req
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:
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.
Unfo
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 PROT
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 abov
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 ven
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() fail
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 th
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 Deb
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 , CATA
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 log
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) l
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
Hello Jeremy,
catalina.sh -
#!/bin/sh
# --
# Start/Stop Script for the CATALINA Server
#
# Environment Variable Prequisites
#
# CATALINA_HOME May point at your Catalina "build" directory.
#
# CATALINA_BASE (Optional)
-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 regul
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 s
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?
If you have multiple signed certificates (Verisign) in your keystore
how does Tomcat know which one to use?
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:
-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 someth
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
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
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 purpose
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
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 tomc
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
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);
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 disadva
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 re
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.
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! (exce
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 = event.getHtt
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.
SSLCertificateKeyFile="${catalina.base}/conf/192.168.168.79.key" />
Now of course my
-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
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David,
David Delbecq wrote:
> Workaround includes
>
Another workaround would be to use additional s
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 seems simpler tha
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
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
> (webapps
--- 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 th
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 t
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
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 '/').
When
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).
/
pages which require login
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 qui
45 matches
Mail list logo