  | 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 | this is weird check this out
//code (tomcat 5.5.23)
java.security.Principal p request.getUserPrincipal()
System.out.println(p.getClass().getName().equals(MemoryUser.class.getName()))
// prints//code
Object o ic.lookup( "java comp/env/users ")
System.out.println(o.getClass().getName()) // prints
"org.apache.catalina.users.MemoryUserDatabase "
doing instanceof tests on the returned objeTry this then - this is my standard character encoding index.jsp test.
<%@ page contentType "text/html charset UTF-8 " % >
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN " >
<html >
<he
Hi
I want to track all the active sessions of a tomcat 5.5 cluster.
Particularly I want to host a page on each cluster member which will
display all the sessions active on its cluster.
So I wantInitialContext.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 objeoops also here is my resource definition from my web.xml
<!-- Define reference to the user database for looking up roles -- >
<resource-env-ref >
<description >
Link to the UserDatabase (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 pI assume you 've already Googled what you 're looking for and not found
anything? What are you after exactly performance or feature comparison?
please be more specific...
I assume you 're after more Someone have a case study wich compare Tomcat with others application
servers?
Thanks a lot
Andrew
As you guessed would be intuitive yes the JSP compiler include classes
in shared/lib (and also classes in webapp itself).
The shared/lib is the same as if you copy it 's content to the
WEB-INF/lib fonageshsrao wrote
> we are getting the GC printed on to the same catalina.out and we see that the
> memberAdded messages appear almost at the time of GB getting printed does
> it prove that longer GCHi Ole
when you tried against your installed APR most likely the dev rpm which
includes the necessary header files for compiltions where not installed.
When you tried against a BUILD directory mTony Fountain wrote
> Hi
>
> Scenario we purchased a product written in Java to integrate into our
> reporting tool. Our setup is such that our web application is written
> in .NET and hosted on In OSX you must use ipfw i don 't know how ipfw is used but i think this
must be similar to iptables.
On 8/15/07 Stephen Caine <stephen@(protected) > wrote
>
> David
>
> Do you know what the co
we are getting the GC printed on to the same catalina.out and we see that the
memberAdded messages appear almost at the time of GB getting printed does
it prove that longer GC pauses are causing thiHi All
Just like webalizer for apache php project what is the web analyzer
available for tomcat?Can any one please let me know better user guide for
configuring webalizer on tomcat?or some other web you 're missing the Apache Portable Runtime library from your PATH
variable. this is not a serious problem but if you don 't want to get
this error then download the version of the library for your POST
Mark Thomas wrote
> Joseph S wrote
> > When I did that my content displayed correctly but on form submission
> > it got corrupted.
>
> POST or GET?
>
> Mark
>
>
> I have tomcat 6 and it is getting the jvm.dll from my "jre1.6.0_02/bin/client " directory. Everytime I start it I get the message below. My server is able to parse file but the message scares me... Hi Hassan
I did the following
rm -dfr tomcat-native-1.1.10-src/
tar xvfz tomcat-native.tar.gz
cd tomcat-native-1.1.10-src/jni/native
./configure --prefix /usr/local/apr --with-apr /home/ole/rpmbuOn 8/15/07 Ole Ersoy <ole.ersoy@(protected) > wrote
> I have a lot more progress now! I get the following (The only important part is the bottom i think)
>
> [root@(protected) native]# ./configure --with-apHi Charles thanks for you help.
what if the memory-realm was configured in the context.xml for the
application? then it should only be available to that particular
app...? I 'm currently working ono 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 doh! load-balancing of course...
I don 't know I 'm a stickler for the old "do one thing do it well "
tomcat rocks at serving dynamic java apache rocks at being internet
facing serving static & CGHi Hassan and Stephen
Thanks for all the tips -)
I have a lot more progress now! I get the following (The only important part is the bottom i think)
[root@(protected) native]# ./configure --with-apr /hJoseph S wrote
> When I did that my content displayed correctly but on form submission
> it got corrupted.
POST or GET?
Mark
good security is hard.
I 've seen state governments using the reverse-proxy layered approach
described below and that worked extremely well. I 've also seen a
federal government with an open databas
Nathan Hook wrote
> A few things...
>
> First what type of apostrophe are you using? Are you using a typical
> ascii apostrophe ( ') or are you using the Microsoft slanted apostrophe
> that comI sent this out last week and didn 't get any responses ... just wanted
to make sure it hit the list and didn 't get dropped somewhere. Any
help is appreciated!
> > > >
I 'm using the WebDAV servlet in tOn 8/15/07 Ole Ersoy <ole.ersoy@(protected) > wrote
> [root@(protected) native]# ./configure --with-apr /usr/lib
> checking for APR... configure error the --with-apr parameter is incorrect. It must specify |
|
 |