Re: Calling Realm.authenticate() doesn't register Principal in with the Session??

2006-02-06 Thread Ken Johanson
Mark Thomas wrote: Given users are going to have to modify their app to use this library, not modifying the associated context.xml looks to be a nice to have requirement that is making things more difficult. Removing this requirement opens up a number of alternative implementation options includ

Disable support for low encryption ciphers in tomcat 4.1.30

2006-02-06 Thread Rey Batioco
Hi All, I am using Tomcat 4.1.30 stand-alone with j2re1.4.2_04 to serve HTTPS connections. I would like to disable the support for low encryption ciphers like SSL_RSA_EXPORT_WITH_RC4_40_MD5. I have seen from the following page that these are the supported ciphers: http://java.sun.com/j2se/1.4.2/d

Re: multiple domain names

2006-02-06 Thread Parsons Technical Services
If one wishes to use Apache on the front end. If only Tomcat is to be used, then for each domain name it would be assigned to a different Host element. The docs are not written to clearly describe how to do this, but simply put, create a Host element for each domain name that is to be used. Al

Re: multiple domain names

2006-02-06 Thread Martin Gainty
Take a look at http://httpd.apache.org/docs/1.3/mod/core.html#virtualhost Martin- - Original Message - From: "Parsons Technical Services" <[EMAIL PROTECTED]> To: "Tomcat Users List" ; <[EMAIL PROTECTED]> Sent: Monday, February 06, 2006 8:06 PM Subject: Re: multiple domain names Yes.

Re: Tomcat stops automatically

2006-02-06 Thread Parsons Technical Services
Check you logs. Decipher the script to determine exactly what it did. Check the FAQ for Tomcat Crash. If no one is browsing does it still crash? Watch your processes and see which one is using processor when Tomcat crashes. - Original Message - From: "netsonic netsonic" <[EMAIL PR

Re: multiple domain names

2006-02-06 Thread Parsons Technical Services
Yes. Virtual Hosts - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Monday, February 06, 2006 1:22 PM Subject: multiple domain names I can read the tomcat docs myself to figure out the details, but I just want to know if this is something done within tomcat or not. I

UserTransaction, JOTM and Tomcat 5.5.x

2006-02-06 Thread Matt Raible
Howdy all, I'm trying to get JOTM working on Tomcat 5.5.x. I'm using 5.5.15 and I've run into some strange issues. More than anything, I'm looking for explanations and (hopefully) some help. I've updated the following tutorial for Tomcat 5.5.x: http://jotm.objectweb.org/current/jotm/doc/howto-

RE: wrapping manager "undeploy" Ant task

2006-02-06 Thread Tim Lucia
Add: failOnError="false" -Original Message- From: Glen Mazza [mailto:[EMAIL PROTECTED] Sent: Monday, February 06, 2006 8:25 AM To: users@tomcat.apache.org Subject: wrapping manager "undeploy" Ant task Hello, I'm using the manager tasks for Ant to undeploy and deploy my WAR file in To

Re: MySQL Database / Tomcat Exceptions

2006-02-06 Thread Parsons Technical Services
How are you creating the connection and are you trying to maintain it? Unless you are using a pool that is designed to deal with MySQL you need to handle the timeout of the connection to the db. If you are trying to hold onto the connection, MySQL will drop it after some time. To you app it will

MySQL Database / Tomcat Exceptions

2006-02-06 Thread Richard S. Huntrods
From: Richard S. Huntrods [mailto:[EMAIL PROTECTED] Subject: RE: Would like to know what might be causing this exception in servlet I have one more. This *IS* a real error, and is caused by something breaking between MySQL and my servlets. (Should probably start a new thread for this,

Re: Tomcat Startup Messages

2006-02-06 Thread Warren Pace
> > From: <[EMAIL PROTECTED]> > Date: 2006/02/06 Mon AM 11:17:08 EST > To: > Subject: Tomcat Startup Messages > > Hello, > > although I didn't find an answer whether to have catalina run as > root proc or under unprivileged uid > (Charles Cladarale mentioned it was required for binding to low

RE: mod_jk weirdness

2006-02-06 Thread Darren Hall
Chris, Not sure if this is helpful but it appears the next step that is failing is the actual connection to tomcat from apache (unless you've left this part of your mod_jk.log out of your post). Here's the mod_jk.log output of a test I did on my local machine. The first worker 'testworker' connec

Defining servlet as default web application

2006-02-06 Thread Gregg Kelly
I have a servlet that I've developed that I want to define as the default application but am not sure how to achieve this. Specifically, I have a servlet as part of a package and is in webapps/ROOT/classes. I have defined a mapping so I can run the servlet my its name - http://192.168.0.6/MyApp.

RE: Re: Re: Re: APR Connector Shutdown Problem

2006-02-06 Thread Fenlason, Josh
That seems to have done the trick. Thanks for your help Bill! , Josh. > -Original Message- > From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker > Sent: Friday, February 03, 2006 9:50 PM > To: users@tomcat.apache.org > Subject: Re: Re: Re: APR Connector Shutdown Problem > > >

Tomcat stops automatically

2006-02-06 Thread netsonic netsonic
Hi all; i am using Tomcat over 1 year but its the first time i have that big problem... my tomcat stops automatically everytime once between 5 to 20 minutes...The problem started today i didnt any make configuration...i just only runned a ssh script on my server which connects to some server w

multiple domain names

2006-02-06 Thread [EMAIL PROTECTED]
I can read the tomcat docs myself to figure out the details, but I just want to know if this is something done within tomcat or not. I want to be able to map different domain names to the different web apps in the server. Can I do this? Is this a tomcat issue, or something else? __

tomcat hosting

2006-02-06 Thread [EMAIL PROTECTED]
I want to find a web hosting place to put my web apps. What are the important criteria for determining a good web host -- most servlet hosts seem to use Tomcat. ___ Join Excite! - http://www.excite.com The most personalized portal on the Web! -

RE: Help with clustering

2006-02-06 Thread Tim Lucia
Yes. Use their IP address in the replication listener, i.e., (you probably have it set to "auto"...) -Original Message- From: Randy Paries [mailto:[EMAIL PROTECTED] Sent: Monday, February 06, 2006 12:57 PM To: users@tomcat.apache.org Subject: Help with clustering hello Pr

Re: auth-constraint in web.xml in tomcat 5.5.15

2006-02-06 Thread Mark Thomas
David Delbecq wrote: > *outch* This mean i will have to change my web.xml with future tomcat > version. > How do I allow access to a ressource to all authenticated users now? Create a global role. Assign all users to that role. Use the global role rather than "*". Mark -

Help with clustering

2006-02-06 Thread Randy Paries
hello Problems with my cluser I am using apache-tomcat-5.5.15 each server has this in the server.xml I have a couple of questions 1) these two machines are connected two different ways a) routable/public IPS 100M connection b) non routeable 192.169 Gigabit connection When i look at the lo

Re: Fwd: auth-constraint in web.xml in tomcat 5.5.15

2006-02-06 Thread Mark Thomas
Oliver Kohll wrote: > Oops no it didn't, my mistake. The app now doesn't prompt for > authentication at all. Is there a way of getting it to work so that the > authentication is used but you don't have to hard code roles in web.xml? Make every user a member of the global role and use this role r

RE: Would like to know what might be causing this exception in servlet

2006-02-06 Thread Caldarale, Charles R
> From: Richard S. Huntrods [mailto:[EMAIL PROTECTED] > Subject: RE: Would like to know what might be causing this > exception in servlet > > I have one more. This *IS* a real error, and is caused by something > breaking between MySQL and my servlets. (Should probably start a new thread for th

Re: Tomcat and client certificates

2006-02-06 Thread Mark Thomas
Markus wrote: > Mark: > Thank you for your link to the archive. It was my fault using the > UserDatabase realm > instead of the MemoryRealm. I'm, using tomcat 5.0.28 - is it still the > case in 5.5.x > that you MUST use the MemoryRealm for clientcert authentication? All realms should work with CLI

RE: servlet.jar

2006-02-06 Thread Caldarale, Charles R
> From: Joe McTigue [mailto:[EMAIL PROTECTED] > Subject: RE: webapps/ROOT I think you just hijacked another thread. If you have a new question, please start a new thread, and not reuse an existing one. > But all I was asking was, "do you know where in the tomcat5.5 core > download The servlets

RE: Tomcat logrotation

2006-02-06 Thread Ralph.Grothe
Yes Chuck, but not carefully read it yet. This is as I said all related to log4j. Not that I mind that the Java folks advocate their libs for doing common tasks like log rotation their way. It would only be quicker for me to set up logrotation using logrotate. But never mind, I guess I will soon re

RE: Log4J output to SYSLOG

2006-02-06 Thread Bachler, Elisabeth (Elisabeth)
It looks more or less like mine. My properties file is: log4j.rootLogger=debug, SYSLOG log4j.logger.lucent.com.bean.UtilBean=DEBUG,SYSLOG log4j.appender.SYSLOG=org.apache.log4j.net.SyslogAppender log4j.appender.SYSLOG.syslogHost=localhost log4j.appender.SYSLOG.layout=org.apache.log4j.PatternLayo

RE: webapps/ROOT

2006-02-06 Thread Joe McTigue
Hi Chuck, Sorry to bug you again. But all I was asking was, "do you know where in the tomcat5.5 core download The servlets.jar is located so I can set my $CLASSPATH to it? If you do, It would be greatly appreciated if you could share this with me. Thanks, I know how important your time is... Re

RE: webapps/ROOT

2006-02-06 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Subject: webapps/ROOT > > a) what is the standard purpose and use of the > webapps/ROOT context It's the default application for the host. > b) why would someone want to deploy their app to this location So that end users can use just the

webapps/ROOT

2006-02-06 Thread [EMAIL PROTECTED]
Hello. I've encountered a web application, developed by someone else, that uses the webapps/ROOT directory for its own root directory. Can someone give me some info or opinions along the lines of the following three points: a) what is the standard purpose and use of the webapps/ROOT co

RE: Tomcat logrotation

2006-02-06 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Subject: Tomcat logrotation > > I would like to employ logrotate. Have you read the doc: http://tomcat.apache.org/tomcat-5.5-doc/logging.html http://tomcat.apache.org/faq/logging.html http://minaret.biz/tips/tomcatLogging.html#tomcat_5_5_l

RE: Tomcat Startup Messages

2006-02-06 Thread Ralph.Grothe
Thanks Nikola, I think I will get the Apache Native Tomcat lib. I cannot yet tell what the traffic is gonna be, but a performance boost can never hurt... > -Original Message- > From: Nikola Milutinovic [mailto:[EMAIL PROTECTED] > Sent: Monday, February 06, 2006 5:25 PM > To: Tomcat Users

Tomcat logrotation

2006-02-06 Thread Ralph.Grothe
Hello, I haven't yet installed the lib4j and defind an appender. Since I'm more used to the old fashioned Unix way to rotate logs (and have it working this way for the Apache httpd logs) I would like to employ logrotate. However, in the logrotate.conf for any server's logfiles you usually have t

RE: Would like to know what might be causing this exception in servlet

2006-02-06 Thread Richard S. Huntrods
Thank you Chuck and Tim for the information. I did wonder if it was a "normal" exception, now I know that it's at least nothing to worry about. I have one more. This *IS* a real error, and is caused by something breaking between MySQL and my servlets. SQL Problem: Communication link failure:

Re: Tomcat Startup Messages

2006-02-06 Thread Nikola Milutinovic
> In the catalina.out I stumbled over these entries. > > > Feb 6, 2006 4:55:17 PM > org.apache.catalina.core.AprLifecycleListener > lifecycleEvent > INFO: The Apache Tomcat Native library which allows > optimal > performance in production environments was not found > on the > java.library.path: >

Problem: Installing Tomcat as Windows Service with StartMode=java or StartMode=exe

2006-02-06 Thread Sebastian Himberger
Hi list, i'm trying to install Tomcat 5.5.12 as a Windows Service on "Windows Server 2003 Web Edition" and run it under another user as described here: http://tomcat.apache.org/tomcat-5.5-doc/windows-service-howto.html and http://jakarta.apache.org/commons/daemon/procrun.html . I tried settin

Tomcat Startup Messages

2006-02-06 Thread Ralph.Grothe
Hello, although I didn't find an answer whether to have catalina run as root proc or under unprivileged uid (Charles Cladarale mentioned it was required for binding to low ports, for which there's no need in my setup since I so far used standard ports which are all well beyond 1023) I decided for

Re: How to install web application only on one port (both 8080 and 8443 ports opened)

2006-02-06 Thread Wade Chandler
--- Anna Krajewska <[EMAIL PROTECTED]> wrote: > Hi > > I wonder is it possible with apache tomcat to > install two web-services (axis) one on port 8080 > (and only 8080) and another on 8443 (and only that)? > I have opened both porsts. Now when I install > web-service it's available on both port

Re: jasper exception and root cause

2006-02-06 Thread Mott Leroy
Len Popp wrote: JasperException is a subclass of Exception, so you should be able to use the usual Exception methods on it. But it's not a NullPointerException. JasperException is what I get if I mess up the syntax in a JSP page. So, check for that. -- Len Actually, JasperException extends fr

Re: Catalina vs. jsvc stand alone daemon

2006-02-06 Thread Petr Hadraba
My notes for Eclipse: Eclipse is using some piece of code for compiling. I didn't assembly it, but I think, there is in the J2SE JRE, in the standard Java library several classes they provide compiling. This means, you DON'T NEED J2SE SDK or Java 5 JDK. I'm using this "feature" on windoze machine

Re: tomcat/linux no xserver problem

2006-02-06 Thread Mike Sabroff
why not just install the Xserver Abhilash Kumar wrote: You have Batik (ships with FOP distribution itself) in Tomcat's classpath ? Pls see wheter this link is helpful. http://xmlgraphics.apache.org/fop/0.20.5/graphics.html#batik thanks and regards, -- Kannan. -Original Message- From:

Re: Two DNS Entries Two Sites?

2006-02-06 Thread David Delbecq
If it's 2 names, one IP, one server, you can simply have tomcat do virtual hosting. We did it here like that: Create 2 Give each host a list of alias corresponding to the server the will act on Give each host a different Application Base (like webapps-hostX and webapps-hostY) this will prevent web

Re: Two DNS Entries Two Sites?

2006-02-06 Thread Edmund Urbani
Scott Purcell wrote: Hello, Running Tomcat 5.5 @ home and running a website which has a DNS entry in it. I made the site the default webapp, and configured it in the server.xml. A week ago, I created another context (in the server.xml) for a dev-site, of my live site, and I am using that for

RE: Two DNS Entries Two Sites?

2006-02-06 Thread Caldarale, Charles R
> From: Scott Purcell [mailto:[EMAIL PROTECTED] > Subject: Two DNS Entries Two Sites? > > A week ago, I created another context (in the server.xml) for a > dev-site, of my live site, and I am using that for QA. I want to run a > second real-web site off this box, and same Tomcat. It has its own D

Two DNS Entries Two Sites?

2006-02-06 Thread Scott Purcell
Hello, Running Tomcat 5.5 @ home and running a website which has a DNS entry in it. I made the site the default webapp, and configured it in the server.xml. A week ago, I created another context (in the server.xml) for a dev-site, of my live site, and I am using that for QA. I want to run a se

AJP Connector problem

2006-02-06 Thread Earnie Dyke
Greetings all. I have installed AJP connector v 1.2.15 into our test environment and I am not longer getting log information with log level info. If I set log level to debug, I get output, log level info I get a 0 kb sized log file with no entries. Is there a bug in v1.2.15? Earnie!

RE: Error reported in catalina.out: Invalid path /login was requested

2006-02-06 Thread Caldarale, Charles R
> From: Tobias Illik [mailto:[EMAIL PROTECTED] > Subject: Error reported in catalina.out: Invalid path /login > was requested > > Whenever i access the Tomcat Administration Tool I get the > Error message: This is normal on the first access to the admin app. I haven't bothered to go through

RE: Securing Tomcat

2006-02-06 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Subject: Securing Tomcat > > First I wondered why they were started as root process. Only to allow access to ports below 1024. You can use iptables to reroute ports, or use jsvc to start Tomcat with some other userid. Google or search the

RE: KeepGenerated

2006-02-06 Thread Dave Morrow
I have, indeed, replicated this several times on several servers. David Morrow Technical Systems Lead Autodata Solutions Company [EMAIL PROTECTED] http://www.autodatasolutions.com Tel: (519) 963-3020 Fax: (519) 451-6615 < Lead, follow or get out of the way! > This message has originated fr

wrapping manager "undeploy" Ant task

2006-02-06 Thread Glen Mazza
Hello, I'm using the manager tasks for Ant to undeploy and deploy my WAR file in Tomcat, as shown below. Sometimes, due to a previous processing error, there is nothing to "undeploy" (i.e., no webapp there) but the "deploy" task is still relevant and should still occur. However, in these ca

Error reported in catalina.out: Invalid path /login was requested

2006-02-06 Thread Tobias Illik
Hi, Whenever i access the Tomcat Administration Tool I get the Error message: 06.02.2006 14:04:27 org.apache.struts.action.RequestProcessor processMapping SEVERE: Invalid path /login was requested 06.02.2006 14:04:50 org.apache.struts.action.RequestProcessor processMapping SEVERE: Invalid path /

How to install web application only on one port (both 8080 and 8443 ports opened)

2006-02-06 Thread Anna Krajewska
Hi I wonder is it possible with apache tomcat to install two web-services (axis) one on port 8080 (and only 8080) and another on 8443 (and only that)? I have opened both porsts. Now when I install web-service it's available on both ports - how to change that without closing any of them in serve

Securing Tomcat

2006-02-06 Thread Ralph.Grothe
Hi, I want to secure a tomcat I have been setting up as a heartbeat resource. Because I lack any tomcat knowledge (only have the docs at my sight) first I was simply comparing how other tomcats of around were set up. But that only left me shudder as I seemed to glimpse into a gaping security aby

Re: Catalina vs. jsvc stand alone daemon

2006-02-06 Thread David Smith
What's the difference between Java2 or J2SE and, say Java 5, or Java 1.5. None. Java 5 (aka Java 1.5) is a version of Java2. The term Java2 was introduced at the release of Java 1.2 indicating a significant change in the api and distribution. This was the first version release to be made

RE: Virtual Directory

2006-02-06 Thread Tim Lucia
Add a file, Tutorial.xml, to your C:\Program Files\Apache Group\Tomcat 4.1\webapps\ directory. It should contain at least the following: Please read here: http://tomcat.apache.org/tomcat-5.5-doc/appdev/deployment.html -Original Message- From: sumesh [mailto:[EMAIL PROTECTED] Sent: S

Re: auth-constraint in web.xml in tomcat 5.5.15

2006-02-06 Thread David Delbecq
*outch* This mean i will have to change my web.xml with future tomcat version. How do I allow access to a ressource to all authenticated users now? Mark Thomas a écrit : >Oliver Kohll wrote: > > >>Hi, >> >>I have security for a web application managed by a DataSource database >>realm. Using to

Fwd: auth-constraint in web.xml in tomcat 5.5.15

2006-02-06 Thread Oliver Kohll
Oops no it didn't, my mistake. The app now doesn't prompt for authentication at all. Is there a way of getting it to work so that the authentication is used but you don't have to hard code roles in web.xml? Regards, Oliver Begin forwarded message: From: Oliver Kohll <[EMAIL PROTECTED]>

Re: Tomcat and client certificates

2006-02-06 Thread Markus
Mark: Thank you for your link to the archive. It was my fault using the UserDatabase realm instead of the MemoryRealm. I'm, using tomcat 5.0.28 - is it still the case in 5.5.x that you MUST use the MemoryRealm for clientcert authentication? Anyway, there is still an issue when trying to access a r

Re: auth-constraint in web.xml in tomcat 5.5.15

2006-02-06 Thread Oliver Kohll
Thanks. Commenting out the got the result I want. Oliver On 3 Feb 2006, at 17:54, Mark Thomas wrote: Oliver Kohll wrote: Hi, I have security for a web application managed by a DataSource database realm. Using tomcat 5.5.14 this works fine but in 5.5.15 there seems to be a problem.

RE: Catalina vs. jsvc stand alone daemon

2006-02-06 Thread Ralph.Grothe
Hi Warren, thank you for referring me to the right download link. Not being a Java developer I certainly lack the Java fundamentals but to my excuse I may maintain that SUN's naming policy (this is also true for their Solaris OS) is quite bewildering so that I never quite know what interpreter (b

Re: Callback (JAAS)

2006-02-06 Thread Franck Borel
> According to the Tomcat User Guide, only two callbacks are supported: > NameCallback and PasswordCallback. I have an app that has to have > another call back: ClientCallback. In other words my login window looks > like this: > > Clietn : || > User:|| > Password:|