Re: Embedded Tomcat again

2008-10-21 Thread Bill Barker
Well, JBoss and Geronimo are the two classic examples of using Tomcat embedded ;). GlassFish does something similar, but with a forked version of Tomcat. Generally, most of the time you want an embedded Tomcat is when you want more control then you can get with configuring server.xml (e.g. if y

Re: SSL Client Certificates and web appliactions

2008-10-21 Thread Bill Barker
I'm sure this is in the Tomcat docs, but the set of trusted Root CAs is determined by the collection in the truststoreFile attribute on the element in server.xml (assuming you are not using the tcnative connector). If this is omitted, then it defaults to the trusted CAs provided by your JVM ve

Re: Log messages

2008-10-21 Thread Mohit Anchlia
Could somebody help me in answering below questions On Mon, Oct 20, 2008 at 12:57 PM, Mohit Anchlia <[EMAIL PROTECTED]> wrote: > I have 2 questions: > > 1. Can I use JMX console to enable or disable LOGLEVEL to debug? > 2. I am using log4j, and I am seeing that the logs from my application > are b

Re: Logging

2008-10-21 Thread Mohit Anchlia
Actually I have log4j already working. What's the use of trunk? My question was why some debug messages get logged and some don't. On Tue, Oct 21, 2008 at 6:30 PM, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote: > for log4j you have to build the extras package > > svn co http://svn.apache.org/

Re: Announce: PrincipalAuthenticator 1.0 (for NTLM Authorization behind IIS)

2008-10-21 Thread Bill Barker
"André Warnier" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Louis wrote: > [...] >> PrincipalAuthenticator is an implementation of a Tomcat Authenticator >> that allows transparent authorization to happen for corporate Windows >> users. > [...] > The JKConnector provides Tomca

Re: Disable Tomcat from caching

2008-10-21 Thread Filip Hanik - Dev Lists
look for "|cachingAllowed" in http://tomcat.apache.org/tomcat-6.0-doc/config/context.html you can put this in TC_HOME/conf/context.xml Filip | steve sim wrote: > Hi everyone, > > I would appreciate if someone could help me in this problem. > Disable Tomcat from caching my xml file. > > I ha

Re: Logging

2008-10-21 Thread Filip Hanik - Dev Lists
for log4j you have to build the extras package svn co http://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk cd trunk ant download ant ant -f extras this gives you a) tomcat-juli.jar - replaces the one in tomcat (bin directory) b) tomcat-juli-adapters.jar - put in the lib directory then add log4j

Re: Oracle 11g

2008-10-21 Thread Alexander Hartner
Please have a look at the Datasource section in the Documentation. On 22 Oct 2008, at 01:44, Raj Shivanna wrote: Hi, could you give more detail information about these : 1. What is Tomcat version that can support Oracle 11G ? 2. How do I connect to Oracle 11G ? Do I need to get the driver fr

Oracle 11g

2008-10-21 Thread Raj Shivanna
Hi, could you give more detail information about these : 1. What is Tomcat version that can support Oracle 11G ? 2. How do I connect to Oracle 11G ? Do I need to get the driver from oracle first ? because I think there is no Oracle 11G driver specified in Tomcat. 3. Based on your experience, do y

Re: Logging

2008-10-21 Thread Mohit Anchlia
Could somebody please help me with my below post. On Wed, Oct 15, 2008 at 10:24 AM, Mohit Anchlia <[EMAIL PROTECTED]> wrote: > I am using tomcat 6. And I have enabled log4j by placing log4j.xml and > log4j.jar files in classpath. It did change to log4j but I see that > some debug messages are put

Re: Tomcat - Oracle 11G

2008-10-21 Thread ciamik bener
Hi, could you give more detail information about these : 1. What is Tomcat version that can support Oracle 11G ? 2. How do I connect to Oracle 11G ? Do I need to get the driver from oracle first ? because I think there is no Oracle 11G driver specified in Tomcat. 3. Based on your experience, do

Re: Tomcat - Oracle 11G

2008-10-21 Thread Mark Thomas
ciamik bener wrote: > Hi, can Tomcat support Oracle 11G ? if yes, could you show me the url link > that support it ? I need to find the supporting document. Yes it does. There is no document. (But you can reference this message in the archives) Mark > > Thx > Denny > > > > >

Tomcat - Oracle 11G

2008-10-21 Thread ciamik bener
Hi, can Tomcat support Oracle 11G ? if yes, could you show me the url link that support it ? I need to find the supporting document. Thx Denny - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-ma

Tomcat - Oracle 11G

2008-10-21 Thread ciamik bener
Hi, can Tomcat support Oracle 11G ? if yes, could you show me the url link that support it ? I need to find the supporting document. Thx Denny __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

Re: Announce: PrincipalAuthenticator 1.0 (for NTLM Authorization behind IIS)

2008-10-21 Thread André Warnier
Louis wrote: [...] PrincipalAuthenticator is an implementation of a Tomcat Authenticator that allows transparent authorization to happen for corporate Windows users. [...] The JKConnector provides Tomcat the ability to sit behind an instance of IIS and have requests passed to it for java appli

Announce: PrincipalAuthenticator 1.0 (for NTLM Authorization behind IIS)

2008-10-21 Thread Louis
PrincipalAuthenticator is an implementation of a Tomcat Authenticator that allows transparent authorization to happen for corporate Windows users. The JKConnector provides Tomcat the ability to sit behind an instance of IIS and have requests passed to it for java applications. If NTLM (Integra

RE: Possible causes of connection timeouts?

2008-10-21 Thread Martin Gainty
what are the values of your server.xml connection timeout parameters? connectionTimeout The number of milliseconds this Connector will wait, after accepting a connection, for the request URI line to be presented. The default value is 6 (i.e. 60 seconds). connectionTimeout="6" connectionL

Re: catalina.out rotation

2008-10-21 Thread emerson cargnin
I had read that thread and I share your frustration. And I'm a developer : ) I believe that admlog does the same thing for solaris. We will try to set that up in one of our boxes. thanks PS: andre, are you brazilian too? :) 2008/10/21 André Warnier <[EMAIL PROTECTED]>: > emerson cargnin wrote: >>

Possible causes of connection timeouts?

2008-10-21 Thread gary . l . johnstone
Hi, I am having intermitent but far too frequent issues with connection timeouts on a local tomcat server. The server is on the local network and 9 times out of 10 the pages are served up with no issues but now and then the connection is dropped and a delay of connectionTimeout occurs until the

Re: JSP: How to write custom tag that reads its body text without evaluating embedded EL expressions

2008-10-21 Thread Karl R. San Gabriel
Hello Simon, I tried to do the same thing using a Tag file instead of a Tag class. I created a tag file named TagFileTest.tag and put it in under /WEB-INF/tags directory with the ff content: <%@ tag body-content="tagdependent" %> The content of the JSP file is a follows: <%@ taglib prefix="tes

Re: Clustering in tomcat

2008-10-21 Thread Filip Hanik - Dev Lists
if you paste in the whole error, we can tell you. we are missing the root cause of the error, the IO exception that happened during startup Filip kashif_tomcat wrote: can anyone help me for clustering in tomcat. here is scenario: two tomcat servers running on same linux machine on different

Re: catalina.out rotation

2008-10-21 Thread André Warnier
emerson cargnin wrote: Hi again... Has anyone here used Logadm to implement rotation on the catalina.out? http://www.softpanorama.org/Logs/log_rotation_in_solaris.shtml I know i can rotate a log file configure via log4j, but that is useless if catalina.out continues receiving everything. Elimin

Re: Changing from a self signed to an official certificate

2008-10-21 Thread Alexander 'boesi' Bösecke
But unfortunately neither of them work. Probably because you didn't set SSLEnabled="true" . Oh verdammt, I missed it, while formatting the text to a readable version. Thanks a lot for your help. Finally it works. For getting this quite simple task done I used 3 days ... well I've learned so

Re: Changing from a self signed to an official certificate

2008-10-21 Thread Mark Thomas
Alexander 'boesi' Bösecke wrote: > Mark Thomas schrieb: >> Alexander 'boesi' Bösecke wrote: >>> When I restore the .keystore with the self signed certificate it works >>> again. So what am I missing or doing wrong? >> You log file shows you are using the APR/native connector. That won't >> work >>

Re: Changing from a self signed to an official certificate

2008-10-21 Thread Alexander 'boesi' Bösecke
Mark Thomas schrieb: Alexander 'boesi' Bösecke wrote: When I restore the .keystore with the self signed certificate it works again. So what am I missing or doing wrong? You log file shows you are using the APR/native connector. That won't work with JKS. See http://tomcat.apache.org/tomcat-6.0-d

JSP: How to write custom tag that reads its body text without evaluating embedded EL expressions

2008-10-21 Thread Simon Kitching
Hi, This is a jasper/JSP question; I hope this is the right list for this... I am trying to write a custom JSP tag that can get its content as plain text. Example: I want to create a tag class for of:flowConfig which just gets the embedded xml text without *any* processing app

context.xml and deploying a webapp

2008-10-21 Thread Paul Hammes
Hey all, maybe you remember my last question regarding application deploymend and configuration via context.xml. Customer-specific settings should be stored at the customer's tomcat server, this leads to a common WAR-file I can deploy at every customer side: the application will configure its

Disable Tomcat from caching

2008-10-21 Thread steve sim
Hi everyone, I would appreciate if someone could help me in this problem. Disable Tomcat from caching my xml file. I have a JSP page (Display.jsp) that retrieves a xml file an display the content (using AJAX). Then i clicked the page and goes to a servlet where I changed the xml content (E

Error reporting

2008-10-21 Thread Peter Stavrinides
Hi everyone, I am looking into implementing an error reporting mechanism that will translate errors into a notification via say an email. I am interested in errors that can't be handled by my application like 500 (Internal Server Errors) and the like which occur on the servlet container i.e.:to

Re: Changing from a self signed to an official certificate

2008-10-21 Thread Mark Thomas
Alexander 'boesi' Bösecke wrote: > When I restore the .keystore with the self signed certificate it works > again. So what am I missing or doing wrong? You log file shows you are using the APR/native connector. That won't work with JKS. See http://tomcat.apache.org/tomcat-6.0-doc/apr.html Also, ht

Changing from a self signed to an official certificate

2008-10-21 Thread Alexander 'boesi' Bösecke
Hi I'm having a problem, that seems quite trivial but googling didn't help - so you are my last hope :) I've set up a Tomcat server with a self signed certificates and that works well. But our providers offers an official certificate from Geotrust for free, so I want to use this. So I got

RE: Clustering in tomcat

2008-10-21 Thread Mamta, Jain
Pls check the tomcat documentation to enable Clustering. You need to have enabled multicasting on your server first. Best Regards, Mamta -Original Message- From: kashif_tomcat [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 21, 2008 3:16 PM To: users@tomcat.apache.org Subject: Cluster

Re: Data Truncated when proxied from Apache

2008-10-21 Thread Stephen Nelson-Smith
Hi Filip, On Wed, Oct 15, 2008 at 10:44 PM, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote: > use mod_proxy_http or mod_jk, I am now but I don't understand why it behaved as it did - any idea? >> I have an application which parses XML. It sits behind an Apache >> Httpd 2.2 server using

Clustering in tomcat

2008-10-21 Thread kashif_tomcat
can anyone help me for clustering in tomcat. here is scenario: two tomcat servers running on same linux machine on different ports with apache installed on front side as web server and using mode proxy ajp for integration with tomcat. now i uncommented following tag in server.xml of tomcat conf

Clustering in tomcat

2008-10-21 Thread kashif_tomcat
can anyone help me for clustering in tomcat. here is scenario: two tomcat servers running on same linux machine on different ports with apache installed on front side as web server and using mode proxy ajp for integration with tomcat. now i uncommented following tag in server.xml of tomcat conf

FW: Proxy timeout error in Apache error log

2008-10-21 Thread Michael Farah
Just to let everyone know I managed to solve this issue for the most part by increasing the connectionTimout value in Tomcat to 6 from 4000. This reflects the same timeout value as my Apache config. I still have one or two similar errors appearing in the log file but this seem to be generated f

catalina.out rotation

2008-10-21 Thread emerson cargnin
Hi again... Has anyone here used Logadm to implement rotation on the catalina.out? http://www.softpanorama.org/Logs/log_rotation_in_solaris.shtml I know i can rotate a log file configure via log4j, but that is useless if catalina.out continues receiving everything. Eliminating catalina.out is not

Re: Not showing error during deployment

2008-10-21 Thread emerson cargnin
Hi christopher This wasn't the case, just there was nothing else back. I managed to see it using a separate log4j configuration and adding debug to the org.spring. There is a listener inside spring that when it fails no message is shown... regards 2008/10/21 Christopher Schultz <[EMAIL PROTECTE

Re: Committing sendRedirect()

2008-10-21 Thread Pid
Tore Eriksson wrote: > Hello everybody, > > As I found a solution to my problem, I thought I would share it in case > someone else comes up against the same issue. The reason for the client > not acting on the redirect is that sendRedirect does not send any > Content-length header, and the client