  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Tomcat - JSP/Servlet container | | Struts - A MVC web framework | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | JSP - A mailing list about Java Server Pages specification and reference | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | |
Struts & Hibernate
|
|
|
  | | | Tomcat | Mario you are a hero. do women come and worship you in the street? they
should! Using reflection to break into an object of a foreign class is
just...genius! this is the sort of thing that Ruby proHi Jung
That did the trick!
I downloaded and installed
http //www.axint.net/apache/apr/binaries/rpm/i386/apr-devel-1.2.8-1.i386.rpm
Then I ran this
./configure --with-apr /usr/bin/apr-1-config &It seems very unlikely to me that the problem is in the Tomcat code. It
is very widely deployed and any deadlocks would be found relatively
quickly unless you use a very obscure setup.
Did you do aTomcat 5.5 has an all-to-all replication mechanism hence all nodes
should be identical. you would only need to see the sessions on one node
to get a picture of what is looks like elsewhere.
there http //tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html
this is why I can 't reference any classes loaded from server/lib in my
webapp the server/lib classes are loaded by the web applicatioI posted the same question week back. People advised me to handle the
resource safely like freeing up the database connections after use
releasing file handles etc. I am very sure that I am doing thHi!
> A more flexible option is to use securityfilter
> (http //securityfilter.sourceforge.net) to handle everything.
>
If you are already using spring have a look at ACEGI.
It is not really easy t > From Matthew Kerle [mailto matthew.kerle@(protected)]
> Subject Re catalina error log
>
> you 're missing the Apache Portable Runtime library from your PATH
> variable. this is not a serious probljust downloaded security filter and had a look it looks very cool. If I
had more robust requirements for my authentication (and more time!) I
would probably use it.
At the moment though I 've got a-----BEGIN PGP SIGNED MESSAGE-----
Hash SHA1
Matthew
Matthew Kerle wrote
> no see my previous reply tomcat fails to bootstrap if catalina.jar is
> not in server/lib...
That 's too bad.
Why notI agree the Principal interface is verily hobbled and almost useless
(Go Sun!). The catalina implementations are much more user-friendly but
unfortunately difficult to access.
I can 't really justno see my previous reply tomcat fails to bootstrap if catalina.jar is
not in server/lib...
Christopher Schultz wrote
>
> Peter
> Shouldn 't it be acceptable to simply move catalina.jar from serve > From Christopher Schultz [mailto chris@(protected)]
> Shouldn 't it be acceptable to simply move catalina.jar from server/lib
> to common/lib?
>
> Sure you 'll still have a non-standard iHi Chris
I naively tried relocating the catalina.jar to /common/lib and got the
below error. Peter has a good comment to this problem in his reply so
I 'll continue the thread in response to his m-----BEGIN PGP SIGNED MESSAGE-----
Hash SHA1
Peter
Peter Crowther wrote
> We ended up with the horrible horrible hack of
> pulling the class out of catalina.jar putting it in its own jar and
> > From Matthew Kerle [mailto matthew.kerle@(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-----BEGIN PGP SIGNED MESSAGE-----
Hash SHA1
Matt
Matthew Kerle wrote
> this is weird check this out
>
> //code (tomcat 5.5.23)
> java.security.Principal p request.getUserPrincipal()
> Systyou 're exactly right again. I just checked my project settings I had to
add catalina.jar to the project libraries to get the class to compile
but I 'd forgotten to prevent it from being deployed s-----BEGIN PGP SIGNED MESSAGE-----
Hash SHA1
DAvid
David Hesson wrote
> The
> content-length has a maximum value of 2.x billion which is right under
> two gigabytes.
Is this a limit on commons-
Best Regards
Apoorv
> taking a look at tomcat 5.5.23 i 'll try to answer you
1) you can take a look at tomcat embedded it *may* be stripped down
but am not sure
2) in the core tomcat there are perhaps only 2 or 3 jars -----BEGIN PGP SIGNED MESSAGE-----
Hash SHA1
Leon
Leon Rosenberg wrote
> security by obscurity that is.
Through I agree that claiming Apache httpd increases security it is
certainly not securi > From Matthew Kerle [mailto matthew.kerle@(protected)]
> Class c1 request.getUserPrincipal().getClass() //get the
> class of the
> Principal that tomcat created which is a MemoryUser instance
> My laptop is having very low memory. I need to run minimal version of
tomcat. (stripped version of tomcat to avoid memory hogging). Can you guys
give some tips on this -- like removing unnecessary jacheck this
http //evolutionnext.com/blog/2005/10/13/1129259088959.html
On 8/16/07 Matthew Kerle <matthew.kerle@(protected) > wrote
>
> hmm you have an interesting problem!
>
> first thing I 'd sayPeter
you 're exactly right.
***code***
Class c1 request.getUserPrincipal().getClass() //get the class of the
Principal that tomcat created which is a MemoryUser instance
Class c2 MemoryUser.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 and allows lots of
nice enhancements.
second > From Matthew Kerle [mailto matthew.kerle@(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
I 'm upgrading from tomcat 4.1.24 to tomcat 5.5.12 on WinXP. I have three applications that are deployed from this
server two of which work fine with tomcat 5.5.12 however the third which uses an oHi
I don 't think webalizer is 'for ' apache httpd rather it will analyse
logs written in Common Logfile Format (and others). It doesn 't matter
what he server is.
If you use the AccessLogValve to writ |
|
 |