on tomcat, thanks!
Mark Thomas wrote:
Matthew Kerle wrote:
let me know if I read that right...
Bill Barker wrote:
When you have the log4j jar in WEB-INF/lib, the it ends up being used
by Tomcat for some of it's logging. As a result, it can cause memory
leaks and other weird errors
that..?)
- -chris
ps - nice web site, bet you're glad the kitchens done!
--
Matthew Kerle
IT Consultant
Canberra, Australia
Mobile: +61404 096 863
Email : [EMAIL PROTECTED]
Web : http://threebrightlights.blogspot.com/
-
To start a new
:
Someone have a case study wich compare Tomcat with others application
servers?
Thanks a lot
Andrew
--
Matthew Kerle IT Consultant Canberra, Australia Mobile: +61404 096 863
Email : [EMAIL PROTECTED] Web : http://threebrightlights.blogspot.com
-users.xml database --
ResourceLink name=users global=UserDatabase
type=org.apache.catalina.UserDatabase/
/Context
Matthew Kerle wrote:
Hi all
I'm developing a web service with xFire 1.2.3 / tomcat 5.5.23 / Java
1.6.0_01, and we need to authenticate access by client applications
/resource-env-ref
Matthew Kerle wrote:
(see below for message context)
Ok, I've decided on using Http Basic authentication for my web
service, and successfully configured tomcat to authenticate against
the tomcat-users.xml file to the point where I can access a valid
principal. But now I've got
...)
Gregor Schneider wrote:
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
--
Matthew Kerle
IT Consultant
dirty hack and I'm amazed
that this is so hard...
Does anyone have any input on why this might be so, and/or a better
solution to convert the request principal to something I can get
rolenames out of?
thanks!
Matthew Kerle wrote:
//code
Object o = ic.lookup(java:comp/env/users
for [appname] database.
(From Oreilly JavaServer Pages, Bergsten, 2nd Ed., page 485)
/description
res-ref-namejdbc/oponline/res-ref-name
res-typejavax.sql.DataSource/res-type
res-authContainer/res-auth
/resource-ref
*** end web.xml ***
Thanks
Ian
--
Matthew Kerle
this!
Peter Crowther wrote:
From: Matthew Kerle [mailto:[EMAIL PROTECTED]
So what this is saying is that the *names* of the classes are
the same,
but the actual classes are different. this is crazy...
I suspect the two classes are being loaded by different classloaders - a
common and entertaining
for the class up the classloader
chain, returning the standard classloader's class. But I may be
misunderstanding Tomcat's classloaders.
- Peter
--
Matthew Kerle
IT Consultant
Canberra, Australia
Mobile: +61404 096 863
Email : [EMAIL PROTECTED]
Web : http
/lib directory?
If so, you'll need to figure out how to deploy the JAR in one place but
use it everywhere ($CATALINA_HOME/common/lib for TC 5.5 and, I think,
just $CATALINA_HOME/lib for TC 6.0).
- -chris
--
Matthew Kerle
IT Consultant
Canberra, Australia
Mobile: +61404 096 863
Email
a setup like that than pulling specific classes out of the distro
(which may change from version to version).
--
Matthew Kerle
IT Consultant
Canberra, Australia
Mobile: +61404 096 863
Email : [EMAIL PROTECTED]
Web : http://threebrightlights.blogspot.com
is so hard, far out.
thanks so much for your help Peter, I would've been totally stuck
without it!
Peter Crowther wrote:
From: Matthew Kerle [mailto:[EMAIL PROTECTED]
the MemoryUser class is in catalina.jar, which is in the server/lib
folder. would I be right in saying that web application
, they are loaded by the webapp's ClassLoader,
and are insulated from Tomcat, so they're safe).
- -chris
--
Matthew Kerle
IT Consultant
Canberra, Australia
Mobile: +61404 096 863
Email : [EMAIL PROTECTED]
Web : http://threebrightlights.blogspot.com
application has access to the server/lib jars.
doh...!
Peter Crowther wrote:
From: Matthew Kerle [mailto:[EMAIL PROTECTED]
the MemoryUser class is in catalina.jar, which is in the server/lib
folder. would I be right in saying that web application code
is barred
from loading any classes from
(IllegalAccessException e)
{
log.error(e.getLocalizedMessage(), e);
}
catch (InvocationTargetException e)
{
log.error(e.getLocalizedMessage(), e);
}
Ciao,
Mario
--
Matthew Kerle
IT Consultant
Canberra, Australia
Mobile: +61404 096
...
cheers!
--
Matthew Kerle
IT Consultant
Canberra, Australia
Mobile: +61404 096 863
Email : [EMAIL PROTECTED]
Web : http://threebrightlights.blogspot.com/
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e
PROTECTED]:
check this
http://evolutionnext.com/blog/2005/10/13/1129259088959.html
On 8/16/07, Matthew Kerle [EMAIL PROTECTED] wrote:
hmm, you have an interesting problem!
first thing I'd say is use this opportunity to upgrade to the
ojdbc14.jar, which is the latest oracle jdbc driver
now that sounds good! the only thing is I don't see how that maps to a
DataSource declaration, the Resource element in
GlobalNamingResources doesn't seem to allow the full range of
properties that you need to define a database connection, eg -
username/password/driverClassName/url etc...
a different way?
--
Matthew Kerle
IT Consultant
Canberra, Australia
Mobile: +61404 096 863
Email : [EMAIL PROTECTED]
Web : http://threebrightlights.blogspot.com/
-
To start a new topic, e-mail: users@tomcat.apache.org
not found out how to disable the warnings.
Dan
--
Matthew Kerle
IT Consultant
Canberra, Australia
Mobile: +61404 096 863
Email : [EMAIL PROTECTED]
Web : http://threebrightlights.blogspot.com/
-
To start a new topic, e-mail
and I wasn't in charge of building deploys so it
never happened. I'll try and dig through the archives to find a good
example of that which works so we can update our procedure.
cheers!
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Matt,
Matthew Kerle wrote:
Most
.../GlobalNamingResources block. Well...
other than the need to use a ResourceLink .../ to make it available
to an individual webapp. Did you try it and get a failure?
--David
Matthew Kerle wrote:
now that sounds good! the only thing is I don't see how that maps to
a DataSource declaration, the Resource
' symlink)
# (restart apps at your convenience)
No effing around with Tomcat server configuration. In fact, deploying
our production applications doesn't require root access, so out
deployment team can't really break anything.
nice.
- -chris
--
Matthew Kerle
IT Consultant
Canberra, Australia
at:
http://commons.apache.org/dbcp/api-1.2.2/org/apache/commons/dbcp/BasicDataSource.html
--David
--
Matthew Kerle
IT Consultant
Canberra, Australia
Mobile: +61404 096 863
Email : [EMAIL PROTECTED]
Web : http://threebrightlights.blogspot.com
data-sources. very simple and user-friendly.
thanks for your help Chris!
--
Matthew Kerle
IT Consultant
Canberra, Australia
Mobile: +61404 096 863
Email : [EMAIL PROTECTED]
Web : http://threebrightlights.blogspot.com
might be interested in submitting some updates
for consideration that clarify the different ways to specify the
Resource tag, namely specifying it outside the war so that deployment
files are target-independent.
cheers!
--
Matthew Kerle
IT Consultant
Canberra, Australia
Mobile: +61404 096
to add a security-constraint to my
web.xml, so that unauthenticated clients can still connect.
Am I on the right track? Or is there a much easier way than what I'm
trying to do...
thanks!
--
* Matthew Kerle
* * IT Consultant *
* Canberra, Australia*
Mobile: +61404 096 863
Email: Matthew Kerle
it generates?
cheers.
* Matthew Kerle
* * IT Consultant *
* Canberra, Australia*
Mobile: +61404 096 863
Email: Matthew Kerle mailto:[EMAIL PROTECTED]
Web: Matthew Kerle http://threebrightlights.blogspot.com/
Kanchana Welagedara wrote:
Hi All
I'm struggling to configure the webalizer
to internal. But then you have problems with replication, and if
you database is compromised then you risk data exposure. Which means
there is no final solution, but it helps to raise the difficulty for
attackers and minimise your risk. then make sure your backups work!!!
cheers.
* Matthew Kerle
serving dynamic
pages. plus that way if you ever run into scalability problems you have
the infrastructure to scale right there!
* Matthew Kerle
* * IT Consultant *
* Canberra, Australia*
Mobile: +61404 096 863
Email: Matthew Kerle mailto:[EMAIL PROTECTED]
Web: Matthew Kerle http
no worries. I didn't know about jsvc or commons-daemon before (I do
now!), so I learnt something too! best of luck with your app.
* Matthew Kerle
* * IT Consultant *
* Canberra, Australia*
Mobile: +61404 096 863
Email: Matthew Kerle mailto:[EMAIL PROTECTED]
Web: Matthew Kerle http
Kerle
* * IT Consultant *
* Canberra, Australia*
Mobile: +61404 096 863
Email: Matthew Kerle mailto:[EMAIL PROTECTED]
Web: Matthew Kerle http://threebrightlights.blogspot.com/
Caldarale, Charles R wrote:
From: Matthew Kerle [mailto:[EMAIL PROTECTED]
Subject: tomcat memory realms tomcat
.
--
Matthew Kerle IT Consultant
Canberra, Australia
Mobile: +61404 096 863
Email : [EMAIL PROTECTED]
Web : http://threebrightlights.blogspot.com/
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail
:
http://apr.apache.org/download.cgi
--
* Matthew Kerle
** IT Consultant* **
* Canberra, Australia*
Mobile: +61404 096 863
Email: mailto:[EMAIL PROTECTED] Matthew Kerle
mailto:[EMAIL PROTECTED]
Web: Matthew Kerle http://threebrightlights.blogspot.com/
Dan Armbrust wrote:
When I
-proxy with the web server du jour...
Is this close to what you're after?
--
* Matthew Kerle
** IT Consultant* **
* Canberra, Australia*
Mobile: +61404 096 863
Email: mailto:[EMAIL PROTECTED] Matthew Kerle
mailto:[EMAIL PROTECTED]
Web: Matthew Kerle http
oops, sorry I meant mod_proxy, not mod_rewrite...
--
* Matthew Kerle
** IT Consultant* **
* Canberra, Australia*
Mobile: +61404 096 863
Email: mailto:[EMAIL PROTECTED] Matthew Kerle
mailto:[EMAIL PROTECTED]
Web: Matthew Kerle http://threebrightlights.blogspot.com/
Matthew Kerle
.
If the application has a lot of static content then it makes good
performance sense to put something in front of it, either apache or
squid. but that's probably not an issue in this case...;-p !
--
* Matthew Kerle
** IT Consultant* **
* Canberra, Australia*
Mobile: +61404 096 863
Email
Caldarale, Charles R wrote:
From: Matthew Kerle [mailto:[EMAIL PROTECTED]
Subject: Re: Removing the port identifier
Actually, that's not really true anymore. The current Tomcat without
APR is almost as fast as httpd for delivering non-SSL static content,
and with APR it's pretty much
39 matches
Mail list logo