I have created a XSL-FO filter, it reacts on a parameter and then pulls
the contents of the response through Apache's FOP. Simple exercise and
it almost works.
In order to capture the response output I have created a
BufferedHttpResponseWrapper and BufferedServletOutputStream similar to
the
Rob,
First you need to gather the information about the exception, then send
it to who needs to know. You might want to be proactive and send it to
the support team regardless of what the users want...
One thing to lookout for is that depending on where you exception is
thrown the implicit
Hi,
I'm trying to support mutually authenticated SSL connection to tomcat using
pem encoded x509 certificates. I use APR as mentioned in
http://tomcat.apache.org/tomcat-5.5-doc/apr.html. I have the mutual
authentication working well for normal certificates. We use our own CA's.
Our tomcat setup
---BeginMessage---
Hi,
please help promote the ApacheCon live video streaming by forwarding
the email below to your PMC user and dev mailing lists, ASAP!
Thank you
Lars Eilebrecht
-
Subject: ApacheCon live video streaming available; keynotes and
Hi all,
we are running web application on tomcat 5.5.x which is using HTTPS and
after upgrade of software (Windows Server, JDK, Tomcat, SSL certificate) we
are getting security error message in Firefox 3 when we are accessing web
application.
Message is:
=
Secure Connection Failed
Hello All,
I am developing a Java 1.6 application using Tomcat 6.0.18 in embedded mode.
I am attempting to use the tomcat manager application and associated Ant
tasks to perform operations on the running tomcat instance. Tasks such as
list, serverinfo, sessions, and jmxproxy tasks work fine,
Found a solution that uses the Connection object:
String dataSource = jdbc/whatever;
DatabaseMetaData dbMetaData;
Connection conn = connections.get(dataSource);
dbMetaData = conn.getMetaData();
String url = dbMetaData.getURL();
Thanks for your help Juha.
Hi,
I have two ip addresses and I would like the server element with the shutdown
port to listen on only one. Is that possible or will it just listen on all?
I did look at the docs:
http://tomcat.apache.org/tomcat-6.0-doc/config/server.html
but they don't mention a way to do that.
Thank
Hi,
Using Tomcat 5.5.27 with JDK 1.5.0_11, I'm trying to retrieve the attribute
manager from the MBean
Catalina:J2EEApplication=none,J2EEServer=none,j2eeType=WebModule,name=//localhost/.
But I'm getting thre following error.
Exception in thread main java.rmi.UnmarshalException: error
Hi All,
I'm running tomcat 6.0.13 + jdk 1.5 in my production system and I'm a
bit wondering about the number of times the Reference Handler thread
has been blocked in just 3 days: 9500835 (checked using jmx)
For the other http threads (the ones that start with http-port-) as
average I have
From: Fu-Tung Cheng [mailto:[EMAIL PROTECTED]
Subject: Does the Server element have a listen address?
I have two ip addresses and I would like the server element
with the shutdown port to listen on only one.
The shutdown listener uses only 127.0.0.1, nothing else, which is why the doc
says:
From: Stefano Nichele [mailto:[EMAIL PROTECTED]
Subject: Threads and blocked count value
I'm running tomcat 6.0.13 + jdk 1.5 in my production system and I'm a
bit wondering about the number of times the Reference Handler thread
has been blocked in just 3 days: 9500835 (checked using jmx)
First off, thank you for your responses, I've worked on this a little
more and am still have problems getting the error message pages to even
appear when the server side error is generated. Below is my web.xml
!-- Use Documents saved as *.xhtml for Facelets--
context-param
Correction, the 404 error pages now seem to work, but the 500 error page
is not being produced on an error
-Rob
-Original Message-
From: Rob Mercer [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 04, 2008 2:09 PM
To: Tomcat Users List
Subject: RE: Custom Error Messages (5xx and 4xx)
Right. Sorry. Tomcat 6.0.14, Java 1.6.0_03, WindowsXP SP3.
It gets even better: if the servlet copies the file's contents to its
response, both have 1766 bytes returned. One gives an invalid PDF, the
other not.
IOUtil.copy(new FileReader(new File(C:\\...\\test.xslfo.xml)),
From: Jozef Hovan [mailto:[EMAIL PROTECTED]
Subject: HTTPS after JDK upgrade in Firefox 3 stopped working
Environment: I upgraded Windows 2000 - Windows Server 2003,
JDK 5u14 - JDK 6u10, Tomcat 5.5.25-5.5.27.
Just for grins, can you replace the JDK 6u10 with 6u7 and try it again? Lots
of
From: Emmanuel Soden [mailto:[EMAIL PROTECTED]
Subject: Re: [JMX] org.apache.catalina.session.StandardManager not
serializable
Using Tomcat 5.5.27 with JDK 1.5.0_11, I'm trying to retrieve
the attribute manager from the MBean
Catalina:J2EEApplication=none,J2EEServer=none,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Frank,
Frank Uccello wrote:
Is it possible to set the Heap size in the server.xml file
No.
and if so what the syntax
You need to set a JVM startup parameter. This parameter is
JVM-dependent, but most JVMs use parameters of the form:
- -Xmssize
Caldarale, Charles R wrote:
From: Emmanuel Soden [mailto:[EMAIL PROTECTED]
Subject: Re: [JMX] org.apache.catalina.session.StandardManager not serializable
Using Tomcat 5.5.27 with JDK 1.5.0_11, I'm trying to retrieve
the attribute manager from the MBean
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David,
David Venus wrote:
28: Transformer transformer = factory.newTransformer(new StreamSource(new
java.io.StringReader(request.getParameter(template;
java.lang.NullPointerException
This has nothing to do with tomcat, you will need to figure out how to
configure Persistence Manager in your web application.
Regards, Youssef
On Tue, Nov 4, 2008 at 10:27 PM, Pablo Caballero
[EMAIL PROTECTED]wrote:
Hi everyone.
I have an @PersistenceUnit(unitName=blah) injection but the
Hi everyone.
I have an @PersistenceUnit(unitName=blah) injection but the value of the
related variable in the method where I'm using it is null.
Using Persistence.createEntityManagerFactory(blah) instead of injection in
the method's body works fine!
I'm using Tomcat 6.0.16. The server log not
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuek,
Caldarale, Charles R wrote:
From: keeplearning [mailto:[EMAIL PROTECTED]
Subject: Thread Dumps/ Emailing Results...
So, do i need to supply process id with this command. Like:
kill -3 process id.
That's one way to do it. My preference
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
Caldarale, Charles R wrote:
From: keeplearning [mailto:[EMAIL PROTECTED]
Subject: RE: Thread Dumps/ Emailing Results...
1) I tried using following to mail the file as attachment (we
are also using MS Outlook):
mail -s Subject:test
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
AD,
On Fri, Oct 31, 2008 at 9:43 PM, Litton, Tom - CEPM
[EMAIL PROTECTED]wrote:
If you do a kill -3 on the process it will dump the stack trace to the
standard output stream.
AD wrote:
will it provide more info than what is in the kill -QUIT
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jason,
Jason Cipriani wrote:
I'm developing with Eclipse but could configure custom build steps
with ant. This solution would remove most of the inconvenience, but I
would still have to make 4 separate WARs available for distribution.
Not *too*
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Subject: Re: Thread Dumps/ Emailing Results...
I have written a script to check for OOMs by checking catalina.out
for OutOfMemoryError. When such an error is detected, I run the
following commands (apologies for the line wrapping):
An
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
Caldarale, Charles R wrote:
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Subject: Howto ip-protect a specific url in webapp?
I can restrict the whole /foo by using valve in
/etc/tomcat5/Catalina/localhost/foo.xml but howto protect
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Remigiusz,
Remigiusz Andrzejak wrote:
What is strange is that Tomcat doesn't give me exception: resource not found.
Could you provide a stack trace for that error?
Instead nor doGet, nor doPost seem to be called for those servlets.
What might
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
Caldarale, Charles R wrote:
From: Nar Karapetyan [mailto:[EMAIL PROTECTED] Subject: An
issue concerning authentication in Tomcat hosted web application
This snippet says that any url ending with .action or .jsp
should be authenticated
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
Caldarale, Charles R wrote:
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Subject: Re: Thread Dumps/ Emailing Results...
I have written a script to check for OOMs by checking catalina.out
for OutOfMemoryError. When such an error is
Hi Srinivas,
Have you already solved this problem?
I have the same, an i can`t get the solution.
Regards.
Christopher Schultz-2 wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Srinivas,
Srinivas Jonnalagadda wrote:
what is the syntaxt to refresh bad db connection on tomcat -
Am receiving the following when trying to precompile my jsp. Server starts
up and pages run fine without precompiling.
Using apache-tomcat-6.0.18
property name=webapp.path value=./WebContent /
import file=${tomcat.home}/bin/catalina-tasks.xml/
target name=jspc
delete
Christopher Schultz schrieb:
Also, in JDK 6 and above, there's another intriguing option:
-XX:OnOutOfMemoryError=command
That's pretty cool. For the time being, we're on JRE 1.5, so that's not
an option. I'll look into it as we look forward to upgrading.
The above will run an external
Thank you Chuck,
What I understand know is that, you can only retrieve primitive values.
In the same way, I was trying to retrieve a org.apache.catalina.Context
from the MBean
Catalina:J2EEApplication=none,J2EEServer=none,j2eeType=WebModule,name=//localhost/
using the JMX operation operation
35 matches
Mail list logo