Re: JNDI Datasource Problem

2006-02-25 Thread Vinny
Just to add my 2 cents. I have found the only thing that consistently worked for me is to declare the Realm and the Datasource inside of META-INF/context.xml if you deploy war files, $TOMCAT_HOME/conf/Catalina//MyContext.xml if you don't. Then reference the datasource as normal in your web.xml Go

Re: first jdbc tomcat application

2006-02-25 Thread umesh balasubramaniam
David, I had a similar problem and solved it by adding the parameters using resourceparams instead of specifying all the parameters in the resource tag itself. Like this: factory org.apache.commons.dbcp .BasicDataSourceFa

Re: first jdbc tomcat application

2006-02-25 Thread David McMinn
I had not added an error-page tag to the web.xml - The default behavior would be a stack trace which would be fine w/ me - In my jsp, I have @ page errorPage="errorpg.jsp".. I don't get a stack trace but I get a page w/ this message"Cannot create JDBC driver of class '' for connec

going crazy with certain mod_jk requests freezing

2006-02-25 Thread michael thomas
Hello, I posted a couple of other threads with no replies. I realize this is a complicated problem, but I would really, really be thankful for any help. Though I seem to have gotten rid of some of the previous problems I was having with mod_jk requests getting frozen (by getting rid of the recyc

RE: regarding tomcat port no

2006-02-25 Thread Richard Mixon
Typically one would look in the Connector statement in your /conf/server.xml file. For Tomcat 5.5.15 it is something similar to: In this case you could access Tomcat on port 8080 - i.e. http://localhost:8080/ HTH - Richard -Original Message- From: bhavik shah [mailto:[EMAIL PROTEC

per-webapp logging problem with Tomcat 5.5

2006-02-25 Thread Andreas Schildbach
Hello everyone, I despair of configuring per-webapp logging for Tomcat 5.5, something that was easily possible with swallowOutput on pre-5.5 Tomcats. I've got 2 hosts (app1.de, app2.de), containing one context each. In addition, there is also the localhost context from the example server.xml.

Re: Adding a Customized authenticator

2006-02-25 Thread Bill Barker
"Alex Jalali" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > So where would this go? under ?? can you be more > specific. > > > Wherever you configure your ;-). Usually conf/Catalina/[host]/mycontext.xml, or META-INF/context.xml. See http://tomcat.apache.org/tomcat-5.5-doc/co

REMOTE_USER forwarding

2006-02-25 Thread Karel Sedlacek
Is there something I need to do in order to make sure that Tomcat is passing along REMOTE_USER? I have a Hyperion report server installation that we want to convert to using transparent logon using delivered CGI macros $REMOTE_USER$ and $TRUSTEDPASS$. When I reconfigure the Authentication se

RE: Adding a Customized authenticator

2006-02-25 Thread Alex Jalali
So where would this go? under ?? can you be more specific. -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker Sent: Saturday, February 25, 2006 1:15 PM To: users@tomcat.apache.org Subject: Re: Adding a Customized authenticator "Alex Jalali" <[EMAIL PRO

Re: Adding a Customized authenticator

2006-02-25 Thread Bill Barker
"Alex Jalali" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello, > > I would like to extend the DigestAuthenticator class or BaseAuthenticator > and use that instead of the tomcat default. I have done that but I don't > know how to have it referenced in web.xml under security-co

Adding a Customized authenticator

2006-02-25 Thread Alex Jalali
> Hello, > > I would like to extend the DigestAuthenticator class or BaseAuthenticator > and use that instead of the tomcat default. I have done that but I don't > know how to have it referenced in web.xml under security-constraint. Or > maybe in server.xml similar to the way you can create a cus

Adding a Customized authenticator

2006-02-25 Thread Alex Jalali
Hello, I would like to extend the DigestAuthenticator class or BaseAuthenticator and use that instead of the tomcat default. I have done that but I don't know how to have it referenced in web.xml under security-constraint. Or maybe in server.xml similar to the way you can create a customized Ream

Re: JSP with use beans calls do not work

2006-02-25 Thread Claudio Veas
Here is the code Althougt I installed tomcat again and now it's funtioning I dont know why (I was in a hurry).     ---Original Message---   From: umesh balasubramaniam Date: 02/25/06 00:05:27 To: Tomcat Users List Subject: Re: JSP with use beans calls do not work   could you please p

Re: Problem with getting ppt file from tomcat JSP server via https/SSL

2006-02-25 Thread Chris Lott
Chris Lott wrote: Hi, Summary: Please tell me what headers Tomcat 5.0.28 sets when it serves out a plain file, and how I can control those headers. .. I found more detail and found a possible solution. I still welcome your comments. To figure out what headers Tomcat sets in responses, I

regarding tomcat port no

2006-02-25 Thread bhavik shah
Hi, in my system we installed the tomcat on unix system which can be used through different port I forget those port noHow should I know which port no is excesssing tomcat thanks bhavik

error at startup

2006-02-25 Thread bhavik shah
Hi, whenever i start tomcat i m getting error as below and i dont know what does it means can somebody please help me java.util.jar.Attributes read WARNING: Duplicate name in Manifest: Class-Path ERROR [Resource Housekeeper] com.documentum.fc.client.DfSessionMana ger$DfSessionManagerDisposableRes

Re: [HELP] Forcing Context Reload (watched resource) via Java Code

2006-02-25 Thread Glen Mazza
Rob Gregory wrote: Thanks Glen for the suggestion. I was hoping for a more integrated approach without the need for additional jars or external commands. Could I not just deploy may webapp with manager privileges and call the reload internally? Would this be feasibly? I think JMX / MBeans

Re: JNDI Datasource Problem

2006-02-25 Thread umesh balasubramaniam
Connector/J is the newer mysql driver. http://www.mysql.com/products/connector/j/ Umesh On 2/25/06, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > > > From: umesh balasubramaniam [mailto:[EMAIL PROTECTED] > > Subject: Re: JNDI Datasource Problem > > > > Try using connector/J and the configurat

Re: question about redirect and session management

2006-02-25 Thread Filip Hanik - Dev Lists
this is what the browser does. in order for the browser to send the cookie to the server, the URL needs to be the same. That is the domain-name/ip, port and path. so, http://my.server.com:8080/ is different from http://my.server.com:8081/ Filip coco nut wrote: I have question about http redir

How to determine application's context path?

2006-02-25 Thread Mikolaj Rydzewski
Hello Is there any way to determine application's context path without need for the first request? I'd like to setup some monitoring stuff (MBeans) during app initialization (ServletContextListener). And it seems that contextPath is available _only_ as a part of HttpServletRequest. Sure I co

RE: [HELP] Forcing Context Reload (watched resource) via Java Code

2006-02-25 Thread Rob Gregory
Thanks Glen for the suggestion. I was hoping for a more integrated approach without the need for additional jars or external commands. Could I not just deploy may webapp with manager privileges and call the reload internally? Would this be feasibly? Thanks Again Rob -Original Message-

configuration of Apache.

2006-02-25 Thread nirmal
Hi, I recently went in for hosting on a windows platform with jsp. The url for the jsp server i got was http://xx.xx.xx.xx:8080/username/index.jsp . I was told that i will have to use this url only or my jsp files will not execute. Though the files are placed in the root of the webserver. i wil

RE: JNDI Datasource Problem

2006-02-25 Thread Caldarale, Charles R
> From: umesh balasubramaniam [mailto:[EMAIL PROTECTED] > Subject: Re: JNDI Datasource Problem > > Try using connector/J and the configuration below: > > > No idea what connector/J is, but the question specifically pertained to Tomcat 5.5, and there is no tag in that versio

Re: tomcat catalina.out getting bombed with debug messages on maven-proxy deploy

2006-02-25 Thread Brad O'Hearne
Unless I'm missing something somewhere else, catalina.sh specifies that logging.properties is the java.util.logging configuration file used. I suppose changing the jre properties file is an option, though if that works it leaves a big questions as to why this is the case. Is anyone else hav

Re: Someone successfully Installed Tomcat as Windows Service with StartMode=java or StartMode=exe?

2006-02-25 Thread Sebastian Himberger
Hi, my goal was to run Tomcat under an account without the LogonAsService privilege. Anyway im running it under another local system account too for now. I just wanted to know if the behaviour i experienced is related to my environment or to a bug. but thanks very much for your response :)

Re: JNDI Datasource Problem

2006-02-25 Thread lee hwaying
may i know how to use connetor/J? From: umesh balasubramaniam <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" To: Tomcat Users List Subject: Re: JNDI Datasource Problem Date: Fri, 24 Feb 2006 21:55:15 -0800 Try using connector/J and the configuration below:

Re: error-page for nonexistent context

2006-02-25 Thread Mark Thomas
Paul Singleton wrote: > (I am required to anonymiee a Tomcat 5.5 server from hackers > trying to discover its version etc.) > > If I put this in conf/web.xml > > > 404 > /anon_error.jsp > > > *and* put an anon_error.jsp in every web app, then I can > replace the built-in error page. > > B