Hi Markus,
On Fri, Aug 29, 2008 at 5:52 PM, Markus Schönhaber
<[EMAIL PROTECTED]> wrote:
> Gregor Schneider schrieb:
>
> Search the list archives. There has more than once been discussion about
> this topic. For example
> http://marc.info/?l=tomcat-user&m=1181905636083
Hi there,
I'm about to give it up.
One final question though:
Anybody out there who has the following combination up & running:
- Linux (Debian preferred, other distributions also welcome)
- Tomcat 5.5
- APR
- SSL
?
I'm sucessful getting Tomcat running together with the APR, however,
when
And the story continues
OS: Debian Etch
Tomcat: 5.5.20
Java: 1.5.0_10-b03
Happily having setup TC Native and APR, now I'm trying to configure SSL
Since I'm using the APR, Tomcat uses OpenSSL instead of the
JSSE-implementation - ok, got that:
I created my connector in $CATALINA_HOME/conf/ser
Hi Marc,
your question led me to the solution:
The APRLifeCycleListener has to be installed in $catalina_home/conf/server.xml
After having done so, the following message appears in the logs:
2008-08-28 15:24:57,838 INFO[main]: An older
version 1.1.3 of the Apache Tomcat Nati
Hi Mark,
On Thu, Aug 28, 2008 at 1:15 PM, Mark Thomas <[EMAIL PROTECTED]> wrote:
>
> Is the right listener defined in web.xml?
>
hm, what do you mean by right listener? and what web.xml? I figure you
mean $catalina_home/conf/web.xml?
As a how-two I used the tomcat-docs as described here
http://to
Hm, rather quiete here about my problem...
Is there anybody on this list who is using Tomcat together with APR on
any Linux and could let me know about his/her configs?
Gregor
--
what's puzzlin' you, is the nature of my game
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @
Hi folks,
some background-information first:
OS : Debian (Etch)
Tomcat: Tomcat 5.5.26
Java : 1.5.014
I've compiled jsvs (which is running) and tomcat-native.
I've copied all compiler-output from tomcat-native to $catalina-home/lib:
-rw-r--r-- 1 tomcat tomcat 1506416 2008-08-26 15:49 l
Hi folks,
some background-infos:
OS:
--
what's puzzlin' you, is the nature of my game
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @ http://pgpkeys.pca.dfn.de:11371
-
To start a new topic, e-mail: users
On Tue, Aug 26, 2008 at 2:02 PM, sam wun <[EMAIL PROTECTED]> wrote:
>
> package command;
>
> Package command;
>
notice the difference?
cheers
gregor
--
what's puzzlin' you, is the nature of my game
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @ http://pgpkeys.pca.dfn.de:
Well,
I guess you should v´have a vanilla start with log4j.
Therefore:
1st make sure that you've got all necessary libs installed in the
appropriate folders (guess you're fine here, otherwise no logs would
show up)
2nd create a file $catalina_home/common/classes/log4j.xml with the
following con
Hi jonny,
On Tue, Aug 12, 2008 at 5:06 PM, Johnny Kewl <[EMAIL PROTECTED]> wrote:
>
> its HELO (blank) because when java asks the machine who it is... it doesnt
> know ;)
>
that was the clue I was looking for
after the crash the hostname in /etc/hostname wasn't configured - duh
thanx!
Hi Ben,
On Tue, Aug 12, 2008 at 4:19 PM, Ben Stringer <[EMAIL PROTECTED]> wrote:
> On Tue, 2008-08-12 at 16:07 +0200, Gregor Schneider wrote:
>
> I've often had problems with javamail in Tomcat due to more than one
> version of the javamail jar being on the classpath. Per
Hi guys,
recently our server crashed (Debian), and since then I'm having
problems getting JavaMail to run within Tomcat 5.5
I've defined a ressource within $catalina_home/context.xml:
The above named server is listed in my /etc/hosts
I can ping myserver.com
However, I get an exception sa
Hi Chuck,
On Tue, Jul 1, 2008 at 6:20 PM, Caldarale, Charles R
<[EMAIL PROTECTED]> wrote:
>
> Yes - use the address=localhost: option on the -agentlib startup
> parameter.
>
That was the hint I was looking for - however, I did it a bit more simple:
I just changed JPDA_ADRESS to 127.0.0.1:8787 in
Hi Chuck,
there you go:
java version "1.5.0_14"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_14-b03)
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_14-b03, mixed mode)
OS:
Linux version 2.6.18-4-amd64 (Debian 2.6.18.dfsg.1-12etch2)
([EMAIL PROTECTED]) (gcc version 4.1.2 2006111
Hi guys,
today we faced a problem on on of our production-servers,
unfortunateley,we were not able to replay it on our test-servers.
Therefore, we decided to use remote-debugging (JPDA) to track down the error.
While fiddling out the ports with our firewall-guys, we tested wether
we could reach
ok, ok, ok - u're all correct - sorry had some tomatoes in my eyes
thanks
gregor
--
what's puzzlin' you, is the nature of my game
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @ http://pgpkeys.pca.dfn.de:11371
--
Hi Todd,
On Fri, May 16, 2008 at 11:23 PM, Boyd, Todd M. <[EMAIL PROTECTED]> wrote:
>
> You can use "WHERE x LIKE condition" to perform a case-sensitive search
> without modifying the structure of the table(s) involved by using the
> BINARY keyword.
>
well, I could so so - however, I'm talking ab
Todd,
I absolutly disagree:
A database is a container holding some peaces of information.
Usually, a database is transparent for the programmer: He doesn't need
to about the details of the soring-mechanisms, but *what* he has to
know is that "fooBar" != "FooBar" - fullstop.
if you application n
Hi Paul.
thanks a lot, that's the reason why.
I'm wondering what those guys from MySQL thought when introducing this
"feature"...
Anyways, thanks again!
Gregor
--
what's puzzlin' you, is the nature of my game
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @ http://pgpkeys
Hi guys,
I'm just a bit puzzled, maybe one of you can shed some light:
We're running Tomcat 5.5 here having created a JDBC-realm holding our
users & their credentials:
The DDL of the MySQL-Tables shows like
users:
user_name varchar(40) PRI
user_passvarchar(50)
user_group int(11
Seems as if you lack the basic knowledge of what a ServletContainer
(aka Tomcat) is about.
I got no idea why you want to deploy a jar-file within Tomcat - are
you trying something like Webstart?
What is you application, anyways.? Is it a Servlet / JSP? If so, then
the your deployment was already
arfgl... must still have some alcohol in my brains from the last party...
indudhar:
java byte-code is always the same on any platform.
the only thing what you need is a 64-bit-java-runtime.
having this, you can just run the precompiled java-bytecode which
*should* use the 64bit-benefits (like e
The official Apache-solution is imho
- get the sources at
http://ftp.hosting-studio.de/pub/linux/apache/tomcat/tomcat-6/v6.0.14/src/apache-tomcat-6.0.14-src.zip
- compile it on your 64bit-platform using a 64bit-JDK using the
provided Ant-build-script
Cheers
Gregor
--
what's puzzlin' you, is the
Shaji,
maybe this will do the trick:
http://tomcat.apache.org/faq/security.html#8005
Cheers
Gregor
--
what's puzzlin' you, is the nature of my game
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @ http://pgpkeys.pca.dfn.de:11371
--
if [ -z "$(netstat -lnp | grep 8080)" ]
then
echo "Tomcat running"
exit -1
else
[ continue with startup-script ]
fi
do the same for port 8009 (AJP)
however, the best way would be to first check if tomcat is running
before starting it up
remember:
a fool with a tool is still a fo
Hi Andrew,
that's why I suggest that you define a data-pool in your
application-specific context.xml-file (stred in config/server) and put
all the needed JDBC-drivers to $CATALINA_HOME/common/lib
With this scenario, no web-app need to provide their JDBC-drivers in
the WEB-INF/lib-directories and
Hi Chuck,
On Nov 15, 2007 3:55 PM, Caldarale, Charles R
<[EMAIL PROTECTED]> wrote:
> > From: Markus Schönhaber [mailto:[EMAIL PROTECTED]
> > Subject: Re: tomcat in production
> >
> > AFAICT the main advantage of APR wrt static content is the possibility
> > to use sendfile.
>
> The pure Java NIO c
e it with a working one.
Cheers
Gregor
On Nov 16, 2007 9:22 AM, Gregor Schneider <[EMAIL PROTECTED]> wrote:
> It's quite some time since my last experience with DB2, however, maybe
> this gives you a start:
>
> There are multiple jdbc-drivers available for DB2.
>
> O
It's quite some time since my last experience with DB2, however, maybe
this gives you a start:
There are multiple jdbc-drivers available for DB2.
Obviously, youÄre using a class3-JDBC-driver, meaning that this is not
a plain java-driver but needs some middleware to connect to DB2
(DB2-Connect).
Hi Peter,
when you're using Apache HTTP in front to serve static content and Tomcat is
serving JSP / Servlets only, using the APR won't give you any advantage
(AFAIC).
However, some ppl are using Tomcat only (running on port 80 / 443 with f.e.
JSVC): Then, according to my brain-cells, the APR wil
Hi Janning,
we've downloaded Tomcat from the Apache website, un-tarred it and ran it
using the original scripts - it works quite smooth.
Consider this solution as a workaround in case you're not able to solve the
problem.
I know that there have been some issues with the Debian packages in the
Ge
Take a look at the Apache Portable Runtime:
It will increase Tomcat's performance regarding static content sigificantly:
http://tomcat.apache.org/tomcat-6.0-doc/apr.html
Cheers
Gregor
--
what's puzzlin' you, is the nature of my game
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key av
-D sets a system-property which then can be used by the Java Runtime.
Quick guess:
- You're using something but the original startup.bat-file
Is the a special reason why ypu are using Tomcat 4 and not Tomcat 6?
Gregor
--
what's puzzlin' you, is the nature of my game
gpgp-fp: 79A84FA52680702679
Hi Christoph,
please post your question here: You should get some answers almost
instantly:
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
Cheers
Gregor
--
what's puzzlin' you, is the nature of my game
gpgp-
On 10/23/07, nambo <[EMAIL PROTECTED]> wrote:
>
> And is it possible to obtain the sources and binaries from now on?
>
http://archive.apache.org/dist/tomcat/tomcat-5/v5.0.28/src/
Rgds
Gregor
--
what's puzzlin' you, is the nature of my game
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-k
Take a look at the example below - that should shed some light:
http://mail-archives.apache.org/mod_mbox/tomcat-users/200611.mbox/[EMAIL
PROTECTED]
Cheers
Gregor
--
what's puzzlin' you, is the nature of my game
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @ http://pgpke
- *never* start tomcat as root: create a user "tomcat" if not already
existing and run tomcat with that user-id
- if it's not a production-server with very high security, grant
ftp-access to user "tomcat"
- from your local pc, ftp to your ubuntu, login as user "tomcat"
- change to directory "www
sorry guys, wrong newsgroup...
--
what's puzzlin' you, is the nature of my game
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @ http://pgpkeys.pca.dfn.de:11371
-
To start a new topic, e-mail: users@tomcat.a
Der Default-Port fuer Tomcat ist definitiv 8080:
http://tomcat.apache.org/tomcat-5.0-doc/deployer-howto.html
Wenn ich Tante Google mal glauben darf, ist der Default Port fuer Squid 3128.
Lediglich in einigen Tutorials wird 8080 empfohlen, wenn man Squid als
HTTP-Proxy einsetzt - ist aber kein De
Hi Chris,
I guess you're question pointed to Sam, right?
Anyways, that's also what I think.
According to the specs a *noncaught* exception should trigger the errorpage
At least here it's working as expected ;)
Cheers
Gregor
--
what's puzzlin' you, is the nature of my game
gpgp-fp: 79A84FA526
try to put something like this into your web.xml (i hope that is what
you've been asking for):
java.lang.Throwable
/errorPages/generalError.html
That page should just display some message like "general error
occured, please report to webmaster... ". The error itself you then
sho
http://tomcat.apache.org/tomcat-5.5-doc/config/host.html#Single%20Sign%20On
Gregor
--
what's puzzlin' you, is the nature of my game
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @ http://pgpkeys.pca.dfn.de:11371
-
try to set CATALINA_HOME without any quotes - since there are no gaps
in the directory-name, you don't need them anyways.
example:
set CATALINA_HOME=C:\apache-tomcat-6.0.13
cheers
gregor
--
what's puzzlin' you, is the nature of my game
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key
Chuck,
then the docs are quite misleading.
In the 5.5-docs
(http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html) is
said:
n a J2SE 2 (that is, J2SE 1.2 or later) environment, class loaders are
arranged in a parent-child tree. Normally, when a class loader is
asked to load a particul
I see, so things quite changed from 5 to 6, however:
When it comes to a Tomcat 5.x, it still goes that you put your jar
(i.e. a jdbc-driver)
EITHER
in $CATALINA_HOME/lib (when used from Tomcat AND other webapps)
OR
in $CATALINA_HOME/webapps/yourwebapp/WEB-INF/lib (when used by a
specific web-a
I'm not sure about Tomcat 6, but in Tomcat 5.x there's no such thing
as $CATALIN_HOME/lib. YOur JDBC-drivers should either be bundled with
your web-app (if that's the only one using them) or, if used both from
Tomcat and your webapp(s) to $CATALINA_HOME/common/lib
Coming to the context:
- Create
InitialContext.lookup() gives you a simple object:
so change your code to
Context ic = new InitialContext();
Object o = ic.lookup("java:comp/env/users");
set a breakpoint and see, what type of object you're getting back.
hth
gregor
--
what's puzzlin' you, is the nature of my game
gpgp-fp: 79A
afaik port 1 - 1024 are so-called privileged ports (at least in unix /
linux) which require superuser-right (root).
since it's not the best idea running tomcat as root, you'll be fine
choosing any port above 1024.
also, you should make sure not to choose a port that's already been taken.
in linu
I think you misread your test-results.
We performed the same tests here, and the result was, that, if you
pass requests via mod_jk to Tomcat as a worker, Apache HTTPD did
definately not create / touch any headers but uses the ones returned
from the worker (Tomcat) via mod_jk.
Versions:
Tomcat 5.
as to what i understood, david thinks he's using the ones coming with
jdk 1.6, however, they are giving a nullpointer.
therefore, it has to be checked if tomcat uses the endorsed mechanism
using it's very own libraries. seems as in this very case something is
in eclipse's classpath what's missing
david,
> I already include xml-apis-1.3.03.jar in the WAR's WEB-INF/lib-directory.
are you saying that the jar containing the said class is in your
WEB-INF/lib-directory already and you get that NullPointer?
On which OS are you running? Is it possible, that you have set an
environment-variable l
1st, it would help if you let us know which Tomcat / Eclipse-Version...
Anyways, it should work if you do the following:
- Copy your xml-apis-1.3.03.jar into your application's
WEB-INF/lib-directory, so that your application's classloader can find
the corrosponding classes.
Tomcat (at least until
I have an original Tomcat-version (5.5) running here on Debian Edge,
and my JPDA-startup-script reads as:
#!/bin/sh
export JPDA_ADDRESS=8787
export JPDA_TRANSPORT=dt_socket
/home/tomcat/www/bin/catalina.sh jpda start
Try this (run it as user tomcat), but first change the default port
8787 to 800
Will,
as long as you don't post your configuration (context.xml and web.xml
of your web-app, your servlet / jsp-code accessing the datasource),
nobody will be able to help you.
That is, since we all ran out of cristal balls telling us the solution
for your problems...
Gregor
--
what's puzzlin'
Forgot to mention:
Tomcat. The Definitive Guide. By Jason Brittain and Ian F. Darwin
might also be a *very* good catch since Jason is a well known
contributor to the Jakarta projects and definately knows his ways
around Tomcat - if I ever had to buy a book, I guess I'd go for the
O'Reilly...
Che
Professional Apache Tomcat 5:
http://www.wrox.com/WileyCDA/WroxTitle/productCd-0764559028.html
There's also a Tomcat 6-version available
However, I've used the really good documentation on the
Tomcat-Website, started with their examples and read the mailinglist,
which altogether gave me a pretty
well, then either
- migrate to xml-files (that's what I would do)
or
- try to use a threshold
i know the log4j-docs besides the commercial one are a pain in the
ass, however, the log4j-developers have to earn their dollars, too,
therefore, the log4j-manual (commercial) might be a good investmen
Forgot to mention:
ou can leave the part
since this is a logger that is only needed from one of our central libraries.
Cheers
Gregor
--
what's puzzlin' you, is the nature of my game
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @ http
use a filter, see example below:
http://jakarta.apache.org/log4j/";>
Tomcat installing from source doesn't make *any* sense, not even on Linux.
Why?
Well, Tomcat is written entirely in Java. Therefore, you can download
the binaries from the Apache website and check the KEYS
(MD5-checksums). If they are ok, you can be sure nobody has tampered
with.
Building from s
Hi Mark,
your application doesn't need the log4j*.jar since they are provided
by Tomcat 6 (unlike Tomcat 5.x).
However, your application should have it's own log4j-configuration aka
log4j.xml.
This file is usually found in
${CATALINA_HOME}/webapps/${your_application}/WEB-INF/classes
In this web-ap
ok, this information is for free, the next one you'll have to pay me for:
they keys of software.distributions are check-sums over the
program-archives (like zip, tgz etc.).
those check-sums usually are calculated using a program like pgp
(pretty good privacy) or the free version from the
gnu-soft
http://www.gnupg.org/
--
what's puzzlin' you, is the nature of my game
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @ http://pgpkeys.pca.dfn.de:11371
-
To start a new topic, e-mail: users@tomcat.apache.org
SEVERE: Parse error in application web.xml file at
that's your error, meaning you have an error in your web.xml
if that's the one you posted previously:
you missed the entry
at the end.
if you're using the standard-realm, you can lookup your passwords at
$catalina_home/conf/tomcat-users.xm
Hi Mikolaj,
the 2 cookies you're talking about are
JSessionID
and
JSessionIDSSO
However, JSessionID is sent for encrypted sessions only (https),
JSessionIDSSO for any type of connection.
The request-headers do show, for each request only JSessionIDSSO is
passed together with the response, no
So sorry for all those typos, I was just in a rush...
Gregor
--
what's puzzlin' you, is the nature of my game
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @ http://pgpkeys.pca.dfn.de:11371
-
To start a ne
Hi guys,
the following sympomps:
We have 2 Apache HTTPD-instances (SSL) behind a CISCO-loadbalancer,
the HTTPDs serving static content, dynamic content (servlets) are
served by 2 Tomcat instances (5.5).
HTTPD and Tomcat are linked via mod_jk 1.2.19
I've specified a session-timeout of 240 (8 hou
On 7/17/07, Rainer Jung <[EMAIL PROTECTED]> wrote:
There is no way to influence HTTP headers by mod_jk.
You can manipulate Headers via mod_headers, which is part of Apache httpd.
when combining apache2 with tomcat 5 using mod_jk, mod_headers will
not touch any headers created by tomcat - we've
Hi list,
we're running Tomcat 5.5 here on Debian Edge, MySQL 5 and we've set up
a connectionpool.
Example of context.xml:
Unfortunately, we always get an exception after 8 hours of inactivity like
2007-07-09 02:10:16,739 ERROR [TP-Processor7]:
Exception performing authe
well, the error-log is giving you pretty good hints:
An error occurred at line: 67 in the jsp file: /classification.jsp
Generated servlet error:
Type mismatch: cannot convert from Integer to int
An error occurred at line: 67 in the jsp file: /classification.jsp
Generated servlet error:
The met
Sorry, my cristal ball just f'd up, therefore I'm neither able to see
the errors thrown up nor a possible solution for them.
Gregor
--
what's puzzlin' you, is the nature of my game
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @ http://pgpkeys.pca.dfn.de:11371
Hm, strange, why does Tomcat need Eclipse-classes for compilation?
Maybe that's a classpath-problem (do you have Eclipse installed on your box?)
Btw. why are your compiling anyway? Tomcat is all Java, therefore it's
ok to download the binaries from tomcat.apache.org, untar them, set
the appropria
Guys,
thanks a lot for the input!
Cheers
Gregor
--
what's puzzlin' you, is the nature of my game
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @ http://pgpkeys.pca.dfn.de:11371
-
To start a new topic, e-
Dear list,
among other things it's now my job to look out for CMS.
I've asked auntie Google, however, browsing all hits that Google
showed up would lead straight into my retirement (and I'm not *that*
old...)
What I've seen so far is, that most CMSs are based on PHP - something
which is giving
Guys, this is FULLY OFF-TOPIC - would you mind using private mail
rather than posting to this list?
TIA
Gregor
--
what's puzzlin' you, is the nature of my game
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @ http://pgpkeys.pca.dfn.de:11371
On 6/21/07, Johnny Kewl <[EMAIL PROTECTED]> wrote:
You know I just had another thought yes it happens sometimes.
Wrong. It does ALWAYS happen:
Apache httpd (2.x) in conjunction with mod_jk does not touch any
headers passed from mod_jk, thus there's no possibility to change
them, not with m
Had a smiliar problem here.
When using mod_jk, apache does not touch the headers created by Tomcat.
Solution:
I wrote a filter that changed the headers after returning from Tomcat
and installed this filter into Tomcat.
Servlets and filtering (Servlet-Spec 2.3):
http://java.sun.com/products/se
hi illja,
On 6/13/07, Ilja S. <[EMAIL PROTECTED]> wrote:
Thanks a lot for quick reply!
To conclude:
1. stdout can NOT be redirected to multiple files and can be only in one
file (usually catalina.out)
that's right.
the only workaround is to use jsvc
(http://tomcat.apache.org/tomcat-5.0-doc/set
One option is to use log4j (http://logging.apache.org/log4j).
you can specify loggers for each application writing to pre-defined locations.
however, you will also have to maintain some disciplin, since log4j or
the java-logging-api are not able to redirect stdout. That means: Do
not use System.o
Besides:
Why don't you use a filter in your mail-program?
if sender == users@tomcat.apache.org
move mail to folder tomcat_user-lst
Works great for me, although I'm using GoogleMail to read & post
Cheers
Gregor
--
what's puzzlin' you, is the nature of my game
gpgp-fp: 79A84FA52680702679
1. unsubscribe with your old email-address
2. subscribe with your new email-address
Gregor
--
what's puzzlin' you, is the nature of my game
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @ http://pgpkeys.pca.dfn.de:11371
-
Hi guys,
I've setup Tomcat on my Debian Box so that all loging goes to
$CATALINA_HOME/logs/tomcat.log
I've placed the files log4j.(xml,dtd) int
$CATALINA_HOME/common/classes, and it runs like charm.
Now, I've added another logger which is supposed to log the output of
our apps only. That logger
Hi David,
will give that a try. If the exception persists, I'll go for
autoreconnect, will report here.
Cheers
Gregor
--
what's puzzlin' you, is the nature of my game
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @ http://pgpkeys.pca.dfn.de:11371
Hi David,
from
http://dev.mysql.com/doc/refman/4.1/en/connector-j-reference-configuration-properties.html:
[snipp]=
If the hostname is not specified, it defaults to 127.0.0.1. If the
port is not specified, it defaults to 3306, the default port number
for MySQL servers.
=
Hi guys,
we're running Tomcta 5.5 and MySQL 5 (InnoDB), OS is Debian. Tomcat
authentication is done via a JDBC-Realm.
Every now and then FormAuthenticator is throwing the following Exception:
2007-06-04 01:41:02,762 ERROR localSearch.log
[TP-Processor2]:Exception
performing au
hi barry,
thanks for the offer, but i guess i've found the solution:
we're using around 15 different servlets, each making use of it's own
datasource belonging to a different connection-pool:
so it looks, as if the message always shows up when each pool is
created, meaning, you're right with yo
hi barry,
from my understanding, the output seems to be created every time when
the pool needs to create a new physical connection to the database,
i.e. you've specified "maxActive=10", only 5 are used & busy, a 6th
gets created due to an additional request and -> voilá, there you go.
anyways, s
Aaargl so that means there's no possibility to get rid of this output?
I mean I don't need a possibility to divert it into a log-file, just
getting rid of the output would help...
Cheers
Gregor
--
what's puzzlin' you, is the nature of my game
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B
Hi guys,
we're using a JDBC-datasource with the following definition in
$CATALIN_HOME/conf/Catalina/localhost/IndexCLUE.xml:
In catalina.out, we always find the following output:
AbandonedObjectPool is used ([EMAIL PROTECTED]
e)
LogAbandoned: false
RemoveAbandoned: true
RemoveAbando
Sorry,
I misunderstood the concept of s HttpSessionBindingListener completely I guess.
The object which is bound / unbound to the HttpSession has to
implement the listener...
Sometimes reading really helps ;)
Cheers
Gregor
--
what's puzzlin' you, is the nature of my game
gpgp-fp: 79A84FA52680
Hi guys,
I'm having a problem getting my HttpSessionBindingListener to work.
The listener gets initialized (System.out in the constructor of the
listener), however, neither valueBound nor valueUnbound gets called.
In my application, the code where I'm storing an attribute to the
session is this
I just did exactly the same for some of our international clients,
that do not have internet-access / slow internet-connections.
However, I did that for windows only.
The procedure as follows:
- I used a free installer (google for InnoSetup), you can also choose
your preferred cross-platform-in
with this little bit of information - neither do we...
gregor
--
what's puzzlin' you, is the nature of my game
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @ http://pgpkeys.pca.dfn.de:11371
-
To start a n
well, we can't tell you the whole desigh of your_app-to-be but gave
you some starting-points. now it's up to you to use them.
however, i do not see any sense at all passing more tha two
credentials (user, pass) to authenticate
therefore, i suggest first thing you should do is to re-think the
you can't controle the headers in tomcat (and this is where you
specify things as cache-control in http-protocol).
either your web-app has to modify the http-response-header, our you
can write a filter. a filter is specified by the
servlet-specification, thus tomcat supports ist.
more info on fi
at least you've saved *half* of the time ;)
cheers
greg
--
what's puzzlin' you, is the nature of my game
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @ http://pgpkeys.pca.dfn.de:11371
-
To start a new to
Well, subclassing FormAuthenticator would be a hack, a
Tomcat-only-solution and inho a bad one.
therefore, take a look at JAASRealm and try to combine it with your
existing login-procedure, meaning
- Implement a JAASRealm
- get the credentials from there (user, password)
- do the JAAS-Authentica
in $CATALINA_HOME/server/lib/catalina.jar there's a file "catalina.properties".
There your will find the following entries:
BASIC=org.apache.catalina.authenticator.BasicAuthenticator
CLIENT-CERT=org.apache.catalina.authenticator.SSLAuthenticator
DIGEST=org.apache.catalina.authenticator.DigestAuth
You could call the authenticate()-method from Tomcat's FormAuthenticator:
http://tomcat.apache.org/tomcat-5.0-doc/catalina/docs/api/org/apache/catalina/authenticator/FormAuthenticator.html#authenticate(org.apache.catalina.HttpRequest,%20org.apache.catalina.HttpResponse,%20org.apache.catalina.depl
301 - 400 of 498 matches
Mail list logo