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
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
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
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
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
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.
"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
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
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
"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
> 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
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
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
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
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
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
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
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
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
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
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-
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
> 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
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
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 :)
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:
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
27 matches
Mail list logo