RE : AW: Load all JSP pages on startup

2005-06-29 Thread LERBSCHER Jean-Pierre
Hi, For WebLogic you can use: - ANT task (wlappc); - appc compiler; - setting the precompile parameter to true in the jsp-descriptor element of the weblogic.xml deployment descriptor to configure WebLogic Server to precompile your JSPs when a Web Application is deployed or re-deployed or when

RE : RE : AW: Load all JSP pages on startup

2005-06-29 Thread LERBSCHER Jean-Pierre
I do that on Tomcat too? :) Tomcat will ignore weblogic.xml and Weblogic will ignore jboss-web.xml, unlike Tomcat compiled JSP's in weblogic or visa versa. Thanks for any help, Geoffrey LERBSCHER Jean-Pierre wrote: Hi, For WebLogic you can use: - ANT task (wlappc); - appc compiler

RE : Tomcat vs Apache

2005-05-19 Thread LERBSCHER Jean-Pierre
See comment in message. -Message d'origine- De : Tim Diggins [mailto:[EMAIL PROTECTED] Envoyé : jeudi 19 mai 2005 13:24 À : Tomcat Users List Objet : Re: Tomcat vs Apache (Er, and sorry I just realised I posted __some__ of this as part of a question on the list last week, but the

RE : Common vs. Shared

2005-05-12 Thread LERBSCHER Jean-Pierre
-Message d'origine- De : Ron Heeb [mailto:[EMAIL PROTECTED] Envoyé : vendredi 6 mai 2005 18:18 À : tomcat-user@jakarta.apache.org Objet : RE: Common vs. Shared my understanding comes from this book i got: 'common is responsible for classes that are used by Tomcat and publicly

RE : Form Based Authentication

2005-05-11 Thread LERBSCHER Jean-Pierre
If the authentication is realized by the container (the realm), you can't access the request before the authentication takes over. If you really want to do it, don't define the security constraint in your web.xml, and make your own application security mechanism (use filter, and forward or

RE : Restrict access to webapps for IPs

2005-05-11 Thread LERBSCHER Jean-Pierre
See http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/host.html#Automatic Application Deployment When using automatic deployment, the docBase defined by an XML Context file should be outside of the appBase directory. If this is not the case difficulties may be experienced deploying the web

RE : Digester / vector usage

2005-05-03 Thread LERBSCHER Jean-Pierre
Hi, I don't understand exactly what is your question but if it is how to get a magazine, you have to : - parse your xml with digester.parse(); - this method returns a Catalog object for example myCatalog - then call myCatalog.getMagazines() and find you magazine mag1. For example for

RE : Find login information from tomcat security

2005-04-19 Thread LERBSCHER Jean-Pierre
Hi, To my knowledge, you have no way to access GenericPrincipal object except if to develop your own realm. In general, you do not need to reach Principal, you have to define security constraint, or roles, authentication methods... -Message d'origine- De : [EMAIL PROTECTED]

Tomcat CallBackHandler

2005-04-13 Thread LERBSCHER Jean-Pierre
Hi, In Tomcat 5.0, is there a mean to register or use our own CallbackHandler in JAASRealm.? Thanks.

RE : Jass Login Module not found

2005-02-18 Thread LERBSCHER Jean-Pierre
Hi Sara, Your login module library (and all it's dependencies) must be deployed in common/lib if you setup JAASRealm with your own component. -Message d'origine- De : Sara Blauman [mailto:[EMAIL PROTECTED] Envoyé : jeudi 17 février 2005 23:22 À : tomcat-user@jakarta.apache.org Objet :

RE : RE : RE : RE : RE : RE : Tomcat configuration

2005-02-16 Thread LERBSCHER Jean-Pierre
Hi, I'm not sure but you could try to rename the ldsecure.xml file in context.xml. -Message d'origine- De : Curtis Nelson [mailto:[EMAIL PROTECTED] Envoyé : mardi 15 février 2005 18:51 À : tomcat-user@jakarta.apache.org Objet : Re: RE : RE : RE : RE : RE : Tomcat configuration I know

RE : RE : RE : RE : RE : RE : Tomcat configuration

2005-02-16 Thread LERBSCHER Jean-Pierre
I remember the first exception Feb 14, 2005 4:20:39 PM org.apache.catalina.realm.JAASRealm authenticate SEVERE: Unexpected error java.lang.SecurityException: Unable to locate a login configuration Perhaps can you verify that you don't have a default host application or could you confirm us that

RE : RE : HTTP Status 408 Error when i login

2005-02-16 Thread LERBSCHER Jean-Pierre
I saw different information on it! 408 The Request timed out. For some reason the Server took too much time processing your Request. Net congestion is the most likely reason. Le client n'a pas présenté une requête complète pendant le délai maximal qui lui était imparti, et le serveur a

RE : RE : RE : RE : RE : RE : RE : Tomcat configuration

2005-02-16 Thread LERBSCHER Jean-Pierre
Yes! Because the name of the file is tomcat specific (it isn't a standard)! -Message d'origine- De : Curtis Nelson [mailto:[EMAIL PROTECTED] Envoyé : mercredi 16 février 2005 19:30 À : tomcat-user@jakarta.apache.org Objet : Re: RE : RE : RE : RE : RE : RE : Tomcat configuration I'm not

RE : HTTP Status 408 Error when i login

2005-02-15 Thread LERBSCHER Jean-Pierre
Hi, It's a Request timeout. -Message d'origine- De : Bruno Gonçalves [mailto:[EMAIL PROTECTED] Envoyé : mardi 15 février 2005 12:46 À : tomcat-user@jakarta.apache.org Objet : HTTP Status 408 Error when i login I there! I'm using JAAS on Tomcat 5.0.28 to make a authentication process for

RE : RE : HTTP Status 408 Error when i login

2005-02-15 Thread LERBSCHER Jean-Pierre
!!! :( I need some help with this... Thanks.. LERBSCHER Jean-Pierre wrote: Hi, It's a Request timeout. -Message d'origine- De : Bruno Gonçalves [mailto:[EMAIL PROTECTED] Envoyé : mardi 15 février 2005 12:46 À : tomcat-user@jakarta.apache.org Objet : HTTP Status 408 Error when i login I

RE : RE : RE : HTTP Status 408 Error when i login

2005-02-15 Thread LERBSCHER Jean-Pierre
2005 13:59 À : Tomcat Users List Objet : Re: RE : RE : HTTP Status 408 Error when i login Humm... I see. So what can I do on Tomcat to resolve this problem? There's any config file? This problem it's very strange!! Thanks Pierre! LERBSCHER Jean-Pierre wrote: With session-timeout element you

RE : Tomcat configuration

2005-02-15 Thread LERBSCHER Jean-Pierre
Hi, Do you use JdbcRealm or JaasRealm ? If you use JAASRealm you have to setup your jaas config file (for example using java.security.auth.login.config system property. This file specifies application by application your login module. In your case, it seems that you have to declare Realm in your

RE : RE : Tomcat configuration

2005-02-15 Thread LERBSCHER Jean-Pierre
If I look at this log, it seems that you are using JAAS Realm ! Feb 14, 2005 4:20:39 PM org.apache.catalina.realm.JAASRealm authenticate SEVERE: Unexpected error java.lang.SecurityException: Unable to locate a login configuration -Message d'origine- De : Curtis Nelson [mailto:[EMAIL

RE : RE : RE : Tomcat configuration

2005-02-15 Thread LERBSCHER Jean-Pierre
JAASRealm is not a default! Could you send us your server.xml? -Message d'origine- De : Curtis Nelson [mailto:[EMAIL PROTECTED] Envoyé : mardi 15 février 2005 17:43 À : tomcat-user@jakarta.apache.org Objet : Re: RE : RE : Tomcat configuration How can I configure Tomcat to not use

RE : RE : RE : RE : Tomcat configuration

2005-02-15 Thread LERBSCHER Jean-Pierre
There is no realm describe into it! Have you declared your realm in your META-INF/context.xml directory of your WAR file? Could you send us your context.xml file? -Message d'origine- De : Curtis Nelson [mailto:[EMAIL PROTECTED] Envoyé : mardi 15 février 2005 18:03 À :

RE : RE : RE : RE : HTTP Status 408 Error when i login

2005-02-15 Thread LERBSCHER Jean-Pierre
org.apache.soap.util.net.TcpTunnelGui 8080 localhost 8082 I get Exception in thread main java.lang.NoClassDefFoundError: org/apache/soap/util/net/TcpTunnelGui humm.. but i think my CLASSPATH is correct! LERBSCHER Jean-Pierre wrote: Do you have proxy in front of Tomcat ? What's your system configuration ? Enable trace

RE : RE : RE : RE : RE : Tomcat configuration

2005-02-15 Thread LERBSCHER Jean-Pierre
Check your configuration with http://jakarta.apache.org/tomcat/tomcat-5.0-doc/realm-howto.html#JDBCRealm (database configuration, driver, url access, user et password access, and log files). Try to setup Memory realm. Try to validate database url connection with simple java class. import

RE : RE : Security Newbie - Need Help

2005-02-11 Thread LERBSCHER Jean-Pierre
. Apache Tomcat/5.0.28 Thanks, Luke - Original Message - From: LERBSCHER Jean-Pierre [EMAIL PROTECTED] To: 'Tomcat Users List' tomcat-user@jakarta.apache.org Sent: Thursday, February 10, 2005 12:27 AM Subject: RE : Security Newbie - Need Help Hi, Could you verify

RE : Security Newbie - Need Help

2005-02-10 Thread LERBSCHER Jean-Pierre
Hi, Could you verify that you have declared your admin role in the web.xml file. security-role role-nameadmin/role-name /security-role -Message d'origine- De : Luke [mailto:[EMAIL PROTECTED] Envoyé : jeudi 10 février 2005 07:33 À : Tomcat Users List Objet : Security Newbie

RE : Security Newbie - Need Help

2005-02-10 Thread LERBSCHER Jean-Pierre
forbidden. Apache Tomcat/5.0.28 Thanks, Luke - Original Message - From: LERBSCHER Jean-Pierre [EMAIL PROTECTED] To: 'Tomcat Users List' tomcat-user@jakarta.apache.org Sent: Thursday, February 10, 2005 12:27 AM Subject: RE : Security Newbie - Need Help Hi, Could you verify that you

RE : RE : Security Newbie - Need Help

2005-02-10 Thread LERBSCHER Jean-Pierre
- From: LERBSCHER Jean-Pierre [EMAIL PROTECTED] To: 'Tomcat Users List' tomcat-user@jakarta.apache.org Sent: Thursday, February 10, 2005 12:27 AM Subject: RE : Security Newbie - Need Help Hi, Could you verify that you have declared your admin role in the web.xml file. security-role

RE : RE : RE : Security Newbie - Need Help

2005-02-10 Thread LERBSCHER Jean-Pierre
Sorry, i understand what you mean. Your role table seems ok. -Message d'origine- De : LERBSCHER Jean-Pierre [mailto:[EMAIL PROTECTED] Envoyé : jeudi 10 février 2005 17:40 À : 'Tomcat Users List' Objet : RE : RE : Security Newbie - Need Help -Message d'origine- De : [EMAIL

RE : jaas with wlclient.jar returns no principals

2005-02-08 Thread LERBSCHER Jean-Pierre
Hi, You have to : configure your realm for example, Realm className=org.apache.catalina.realm.JAASRealm appName=Sample userClassNames=weblogic.security.principal.WLSUserImpl

RE : set default web application

2005-01-12 Thread LERBSCHER Jean-Pierre
If i understand what you want to do, you have to edit your web.xml file and specify your url-pattern element in servlet-mapping section. For example : servlet-mapping servlet-nameyour servlet classe/servlet-name url-pattern//url-pattern /servlet-mapping Servlet

RE : Oracle 9i client connection to 8i database

2005-01-05 Thread LERBSCHER Jean-Pierre
If you get this log 27-DEC-2004 16:58:11 * (CONNECT_DATA=(SID=test)(CID=(PROGRAM=)(HOST=__jdbc__)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.0.0.4)(PORT=33244)) * establish * Perhaps you have to try jdbc:oracle:thin:@10.0.0.4:33244:test with thin driver and jdbc:oracle:oci:@service_name

RE : OCI Driver Usage [RE: Oracle 9i client connection to 8i data base]

2005-01-05 Thread LERBSCHER Jean-Pierre
(); } } } } -Message d'origine- De : Brad Rhoads [mailto:[EMAIL PROTECTED] Envoyé : mercredi 5 janvier 2005 14:05 À : 'Tomcat Users List' Objet : OCI Driver Usage [RE: Oracle 9i client connection to 8i database] -Original Message- From: LERBSCHER Jean-Pierre [mailto:[EMAIL PROTECTED] Sent

RE : Server refuse connection with many TIME_WAIT

2004-12-15 Thread LERBSCHER Jean-Pierre
TIME_WAIT means client enters this state after active close. It's normal to have a socket in this state for a period of time. This time is specified by the rfc 793 as twice the MSL (Maximum Segment Lifetime). Some systems implement different values but the specification is 2 mn. I read this

RE : Manually Populate Request Object Name/Value Parameters?

2004-12-14 Thread LERBSCHER Jean-Pierre
why don't you protect the form ? -Message d'origine- De : Joe Reger, Jr. [mailto:[EMAIL PROTECTED] Envoyé : lundi 13 décembre 2004 17:15 À : [EMAIL PROTECTED] Objet : Manually Populate Request Object Name/Value Parameters? The scenario is a timed-out login session: The user writes a

RE : Threads issues in Tomcat 5.0.28

2004-12-08 Thread LERBSCHER Jean-Pierre
2. you can use kill -3 command to dump the thread stack and execute the same command few seconds later. You obtain two stack trace that you can compare to identify the potential source of inativity. -Message d'origine- De : Matt Robinson [mailto:[EMAIL PROTECTED] Envoyé : mercredi 8

RE : Problem with JAAS

2004-12-02 Thread LERBSCHER Jean-Pierre
Use tomcat env JAVA_OPTS=-Djava.security.auth.login.config=java config file to declare your login module. -Message d'origine- De : Julian Templeman [mailto:[EMAIL PROTECTED] Envoyé : jeudi 2 décembre 2004 09:56 À : [EMAIL PROTECTED] Objet : Problem with JAAS I'm evaluating an ISP that

RE : RE : Problem with JAAS

2004-12-02 Thread LERBSCHER Jean-Pierre
Jean-Pierre [EMAIL PROTECTED] wrote: Use tomcat env JAVA_OPTS=-Djava.security.auth.login.config=java config file to declare your login module. Thanks... But what I want to know is *why* it wants to use JAAS at all. *I* certainly don't want to have to, because a simple form authentication will work

Problem clustering tomcat when a failed server is restarting

2004-11-17 Thread LERBSCHER Jean-Pierre
We have a cluster Tomcat composed of two servers (default configuration of the cluster is used). When the first server is stopped, the cluster continues to work fine (requests are handled by the server that is running). But when the stopped server is restarting we can see these exceptions.

RE : Problem clustering tomcat when a failed server is restarting

2004-11-17 Thread LERBSCHER Jean-Pierre
to write the principal information to the stream. Since I don't know what version of tomcat you are using, I can't tell you exactly what went wrong. maybe something in the principal returns null Filip - Original Message - From: LERBSCHER Jean-Pierre [EMAIL PROTECTED] To: Tomcat Users List

RE : Problem clustering tomcat when a failed server is restarting

2004-11-17 Thread LERBSCHER Jean-Pierre
when a failed server is restarting the GenericPrincipal.getPassword() returns null that is why you get this error, you can open a bugzilla report so that we can track it Filip - Original Message - From: LERBSCHER Jean-Pierre [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent

RE : Declarative security example

2004-11-16 Thread LERBSCHER Jean-Pierre
Define a realm element for your Engine/Host/Context node in your server.xml configuration file. For example : Realm className=org.apache.catalina.realm.MemoryRealm / -Message d'origine- De : Freddy Villalba A. [mailto:[EMAIL PROTECTED] Envoyé : vendredi 12 novembre 2004 18:44 À : [EMAIL

RE : Clustering and Load balancing

2004-11-10 Thread LERBSCHER Jean-Pierre
You have to follow the rules included in the document (http://jakarta.apache.org/tomcat/tomcat-5.0-doc/cluster-howto.html ) . All your session attributes must implement java.io.Serializable . Uncomment the Cluster element in server.xml Define multicast address and port for your cluster

RE : Compression - problematic?

2004-11-10 Thread LERBSCHER Jean-Pierre
I am surprised because if you search for compress in the source code of Tomcat 5.0.27 and you can see only get/set method in CoyoteConnector. More information would be welcome. -Message d'origine- De : Shapira, Yoav [mailto:[EMAIL PROTECTED] Envoyé : mercredi 10 novembre 2004 14:45 À :

RE : Many many unclosed connections, their state is CLOSE_WAIT

2004-11-09 Thread LERBSCHER Jean-Pierre
What's your question? This state indicates that the client sends a FIN signal. The client doesn't receive any data on this socket but it can receive data from the server. The connection is half-closed. -Message d'origine- De : David Zhung [mailto:[EMAIL PROTECTED] Envoyé : mardi 9

RE : Jakarta-Tomcat and Image Tag Library - SOLUTION

2004-10-26 Thread LERBSCHER Jean-Pierre
This is an extract of taglib directive definition (http://java.sun.com/products/jsp/syntax/1.2/syntaxref1211.html ) Taglib Directive Defines a tag library and prefix for the custom tags used in the JSP page. JSP Syntax %@ taglib uri=URIForLibrary prefix=tagPrefix % XML Syntax None. However,

RE : Synchronization in cluster

2004-09-30 Thread LERBSCHER Jean-Pierre
Hi, What are your needs? Why distributed singleton or distributed locking are so important ? Perhaps you can use Database to implement locking functionality and Jgroups library to replicate state (or distributed singleton) across members of a group (see www.jgroups.org). -Message

RE : User authentication in multi repositories

2004-09-30 Thread LERBSCHER Jean-Pierre
Hi, Yes, it's typically the object of the JAAS API. You can configure the JAASRealm and develop your login modules to access multiple LDAP services. You have to think at the rules to use to authenticate sub-group of users in corporate domain and others in other repository. -Message

RE : Tomcat and LDAP

2004-09-23 Thread LERBSCHER Jean-Pierre
It's automatic. When the user tries to access a protected resource, the server asks him to authenticate himself. -Message d'origine- De : SARMIENTO Claudia COGA [mailto:[EMAIL PROTECTED] Envoyé : mercredi 22 septembre 2004 23:46 À : 'Tomcat Users List' Objet : Tomcat and LDAP

RE : too many JAAS...

2004-09-22 Thread LERBSCHER Jean-Pierre
Why do you have a ClassCastException exception ? Could you give us more detail on your realm configuration ? Do you configured a jass realm with custom userClassNames and roleClassNames attributes ? or any thing else. -Message d'origine- De : Rene Paulokat [mailto:[EMAIL PROTECTED]

RE : Customizing BASIC authentication

2004-09-07 Thread LERBSCHER Jean-Pierre
For example, Spec 2.3 specifies The getRemoteUser method returns the user name the client used for authentication. If no user has been authenticated, the getRemoteUser method returns null. getRemoteUser(): ... Whether the user name is sent with each subsequent request depends on the browser and

RE : TR : [jaas integration between tomcat/weblogic]

2004-08-05 Thread LERBSCHER Jean-Pierre
Any responses? Does somebody think that it could be a bug or like an improvement? Thanks. -Message d'origine- De : LERBSCHER Jean-Pierre [mailto:[EMAIL PROTECTED] Envoyé : mardi 27 juillet 2004 19:07 À : '[EMAIL PROTECTED]' Objet : [jaas integration between tomcat/weblogic] Hi, I

TR : [jaas integration between tomcat/weblogic]

2004-07-30 Thread LERBSCHER Jean-Pierre
Hi, Does somebody have more suggestions on this topic? Thanks. -Message d'origine- De : LERBSCHER Jean-Pierre [mailto:[EMAIL PROTECTED] Envoyé : mardi 27 juillet 2004 19:07 À : '[EMAIL PROTECTED]' Objet : [jaas integration between tomcat/weblogic] Hi, I would like to make EJB-calls

RE : RE : RE : RE : RE : RE : how to access Subject after authent ifica tion

2004-07-26 Thread LERBSCHER Jean-Pierre
: how to access Subject after authentifica tion LERBSCHER Jean-Pierre wrote: In fact my java options are : JAVA_OPTS=-Djava.security.auth.login.config=%CATALINA_HOME%\conf\Sample_jaa s .config -Message d'origine- De : LERBSCHER Jean-Pierre [mailto:[EMAIL PROTECTED] Envoyé : mercredi 21

RE : RE : RE : RE : how to access Subject after authentification

2004-07-21 Thread LERBSCHER Jean-Pierre
LERBSCHER Jean-Pierre wrote: Could you tell me what is the correct configuration to access the jaas login file with this security manager. You need to start Tomcat using the -security ./catalina.sh start -security -- Jeanfrancois Thanks -Message d'origine- De : Jeanfrancois Arcand

RE : RE : RE : RE : RE : how to access Subject after authentifica tion

2004-07-21 Thread LERBSCHER Jean-Pierre
In fact my java options are : JAVA_OPTS=-Djava.security.auth.login.config=%CATALINA_HOME%\conf\Sample_jaas .config -Message d'origine- De : LERBSCHER Jean-Pierre [mailto:[EMAIL PROTECTED] Envoyé : mercredi 21 juillet 2004 12:13 À : 'Tomcat Users List' Cc : 'Jeanfrancois Arcand' Objet

how to access Subject after authentification

2004-07-20 Thread LERBSCHER Jean-Pierre
Hi, I am using JAAS authentification module to authenticate user within tomcat 5.0.27. After the authentification, I want to control access to resources (like ejb deployed in weblogic application server). To control access, I have to use weblogic api with the Subject instance delivred by

RE : how to access Subject after authentification

2004-07-20 Thread LERBSCHER Jean-Pierre
- From: LERBSCHER Jean-Pierre [mailto:[EMAIL PROTECTED] Sent: 20 July 2004 14:42 To: '[EMAIL PROTECTED]' Subject: how to access Subject after authentification Hi, I am using JAAS authentification module to authenticate user within tomcat 5.0.27. After the authentification, I want

RE : RE : how to access Subject after authentification

2004-07-20 Thread LERBSCHER Jean-Pierre
this isn't an option for this problem. Matt -Original Message- From: LERBSCHER Jean-Pierre [mailto:[EMAIL PROTECTED] Sent: 20 July 2004 15:40 To: 'Tomcat Users List' Subject: RE : how to access Subject after authentification Thanks Matt ! My problem is that have to call

RE : RE : RE : how to access Subject after authentification

2004-07-20 Thread LERBSCHER Jean-Pierre
Subject after authentification Are you both running with the security manager on? I think that's the problem... -- Jeanfrancois LERBSCHER Jean-Pierre wrote: Matt I am ok with you! I try the two methods and I have the same results (null) ! Perhaps we have to configure properly tomcat (?) so