Re: 100% usage and hanging on startup of Spring/Hibernate app in Tomcat 5.5 on Ubuntu 7

2009-09-07 Thread lmk
Hi, I have the same problem using tomcat 6 and jdk 6, do you find a workaround ? Regards! Mark Thomas wrote: Bradley Wagner wrote: Ok, I'll try that next. Two things: - Did some searching, but couldn't find how to determine the default GC method for my Java version

Re: mod_jk and jsessionid issue

2009-08-26 Thread lmk
Hi all, thanks for resoonses; - the problem occurs for the login page, but, Im not using a special authentication system anymore, only a web apps authentication. - Im using Jkmount /context/* , JKmount /context, in order to enable the tomcat welcome page. - I think the cause for the problem is

Re: mod_jk and jsessionid issue

2009-08-26 Thread lmk
It works using JkStripSession directive. thanks a lot. -- View this message in context: http://www.nabble.com/mod_jk-and--jsessionid-issue-tp25006051p25149435.html Sent from the Tomcat - User mailing list archive at Nabble.com.

mod_jk and jsessionid issue

2009-08-17 Thread lmk
Hi all, I have a 2 tomcat servers load balanced using apache mod_jk, I have a probleme with images on the login page, the image url generate is postfixed by jsessionid, so, the image is not rendered, the user have to use F5 button. how to work arround this issue? thanks! -- View this

Re: APR Native library on tomcat 6

2009-06-22 Thread lmk
thanks a lot Brian; it works now, without using --prefix. Brian Millett wrote: On Fri, 2009-06-19 at 02:05 -0700, lmk wrote: --prefix=/usr/tomcat/apache-tomcat-6.0.18 I'd look where you told it to go. -- Brian Millett - [ Sinclair (re: The Line), The Gathering] The sky

APR Native library on tomcat 6

2009-06-19 Thread lmk
Hi all, I have installed apr native library, open ssl; using :./configure: ./configure --with-apr=/usr/local/apr --with-java-home=/usr/java/jdk1.5.0_11 --with-ssl=/usr/local/ssl --prefix=/usr/tomcat/apache-tomcat-6.0.18 I added to catalina_opts java.library definition: export

RE: APR Native library on tomcat 6

2009-06-19 Thread lmk
/lib: 19 juin 2009 11:48:55 org.apache.coyote.http11.Http11Protocol init I complied apr sources, I dont used binnaries. Caldarale, Charles R wrote: From: lmk [mailto:lotf...@yahoo.fr] Subject: APR Native library on tomcat 6 export CATALINA_OPTS=$CATALINA_OPTS - Djava.library.path=/usr

RE: APR Native library on tomcat 6

2009-06-19 Thread lmk
apr.exp libapr-1.a that's all: libapr-1.la libapr-1.so libapr-1.so.0 libapr-1.so.0.3.5 pkgconfig Caldarale, Charles R wrote: From: lmk [mailto:lotf...@yahoo.fr] Subject: RE: APR Native library on tomcat 6 INFO: The APR based Apache Tomcat Native library which allows

RE: APR Native library on tomcat 6

2009-06-19 Thread lmk
$ls /usr/local/apr/lib apr.exp libapr-1.a libapr-1.la libapr-1.so libapr-1.so.0 libapr-1.so.0.3.5 pkgconfig only pkgconfig is a directory hop its more clear.. Caldarale, Charles R wrote: From: lmk [mailto:lotf...@yahoo.fr] Subject: RE: APR Native library on tomcat 6 apr.exp

Re: APR Native library on tomcat 6

2009-06-19 Thread lmk
yes but nothing changes. Thomas Chabaud-3 wrote: lmk a écrit : Hi all, I have installed apr native library, open ssl; using :./configure: ./configure --with-apr=/usr/local/apr --with-java-home=/usr/java/jdk1.5.0_11 --with-ssl=/usr/local/ssl --prefix=/usr/tomcat/apache-tomcat

Re: APR Native library on tomcat 6

2009-06-19 Thread lmk
nothing changes even using LD_LIBRARY_PATH mturk wrote: lmk wrote: Hi all, I have installed apr native library, open ssl; using :./configure: ./configure --with-apr=/usr/local/apr --with-java-home=/usr/java/jdk1.5.0_11 --with-ssl=/usr/local/ssl --prefix=/usr/tomcat/apache

Apache And tomcat: wich is the best conenctor to use

2009-06-16 Thread lmk
Hi all, Im wondering if it's judicious to use apache with ajp connector, it seems that, APR or NIO connector are more performant than AJP and they not support AJP, so it's very useful to use Apache on front end of tomcat using using AJP and mod_jk? Best regards! -- View this message in

RE: Apache And tomcat: wich is the best conenctor to use

2009-06-16 Thread lmk
I have no good reason except increase tomcat response, Im not using SSL for the moment. Im just testing mod_jk and load balancing in order to imporove performance. Caldarale, Charles R wrote: Subject: Apache And tomcat: wich is the best conenctor to use Im wondering if it's

RE: Apache And tomcat: wich is the best conenctor to use

2009-06-16 Thread lmk
thanks a lot.. Caldarale, Charles R wrote: From: lmk [mailto:lotf...@yahoo.fr] Subject: RE: Apache And tomcat: wich is the best conenctor to use Im just testing mod_jk and load balancing in order to imporove performance. Then you do have a need for httpd (load balancing), so AJP

Re: tomcat 5.5 clustering with JAAS

2008-11-19 Thread lmk
I add anything to support clustering, dont know if there is a special configuration for JAAS, you mean jaas.conf? JaasConf { package.MyLoginModule required; }; thanks Gustavo Araujo wrote: Can you send us the logs and the conf. files? Thanks 2008/11/14 lmk [EMAIL PROTECTED

Re: tomcat 5.5 clustering with JAAS

2008-11-18 Thread lmk
no ideas..? lmk wrote: Hello, I use tomcat clustering with session replication, and JAAS module authentication; when tomcat instance loose session, the other cannot authenticate the user. how I keep the user authenticated on all the tomcat instance? thanks! -- View

tomcat 5.5 clustering with JAAS

2008-11-14 Thread lmk
Hello, I use tomcat clustering with session replication, and JAAS module authentication; when tomcat instance loose session, the other cannot authenticate the user. how I keep the user authenticated on all the tomcat instance? thanks! -- View this message in context:

Re: j_security_check get password on the request

2008-09-04 Thread lmk
SIGNED MESSAGE- Hash: SHA1 lmk, lmk wrote: Im using form based jaas authentication, I have to call a stored procedure with the user name and password to ininitialize some business objects! how can I get the password on the j_security_check request? can we use servlet filter

j_security_check get password on the request

2008-09-01 Thread lmk
hi all, Im using form based jaas authentication, I have to call a stored procedure with the user name and password to ininitialize some business objects! how can I get the password on the j_security_check request? can we use servlet filter to do this thanks! -- View this message in

Re: tomcat 5.5 DataSourceRealm not taken in charge

2008-08-22 Thread lmk
concern, lmk wrote: it seems that role is mandatory, so i add role name, now user authenticated successfully but it he cannot access to resources because of exception: exception retrieving roles for USERNAME You have not set any of the following attributes on the Realm: userRoleTable

Re: tomcat 5.5 DataSourceRealm not taken in charge

2008-08-21 Thread lmk
.. Pid-2 wrote: lmk wrote: hello all, I try ti use tomcat security management with DataSourceRealm but I never get authentication console, log shows that user 'Successfully passed all security constraints' I declare Realm inside server.xml: Realm className

tomcat 5.5 DataSourceRealm not taken in charge

2008-08-20 Thread lmk
hello all, I try ti use tomcat security management with DataSourceRealm but I never get authentication console, log shows that user 'Successfully passed all security constraints' I declare Realm inside server.xml: Realm className=org.apache.catalina.realm.DataSourceRealm

tomcat 5.5.23 can't have context path different from war name.

2007-08-07 Thread lmk
hellooo, do you have any solution to set the context path didfferent from the application name, i set the context into the META-INF directory, tomcat copied this the contaxt into CATALINA_HOME/conf/Enginename/HostName/app_name.xml. but the /mycontextpath is not deployed..I still have the

ResolvedRe: tomcat 5.5.23 can't have context path different from war name.

2007-08-07 Thread lmk
. --David lmk wrote: hellooo, do you have any solution to set the context path didfferent from the application name, i set the context into the META-INF directory, tomcat copied this the contaxt into CATALINA_HOME/conf/Enginename/HostName/app_name.xml. but the /mycontextpath

JAAS logout

2007-07-25 Thread lmk
helloo, My quation is about how to remove jaas Principal from the Subject.??. I try to let user to sign out the application..I redirect to the jsp that includes: session.invalidate() but when a try to relogin a have an error (j_security_check not found), I still have access on application

JAAS how to find user login name on the web app

2007-07-04 Thread lmk
Hii, I developed a JAAS module for authentication, and I deployed it on the tomcat server. I'd like to display the login name on the web app after authenticatiobn succeed.how to find it ..? can i finf it on the session?? or must use the Callbackhandler object..? regards!!! -- View this

Re: JAAS how to find user login name on the web app

2007-07-04 Thread lmk
Im using tomcat Realm.. I can even get the user password!! thanks.. rpr_listas wrote: Hi, lmk! Your JAAS module is a tomcat Realm? If you develop a tomcat realm you can access the user data via the standard servlet API. HttpServletRequest.getRemoteUser

Re: JAAS how to find user login name on the web app

2007-07-04 Thread lmk
I dont found how to get the user password...j_password parameter is not in request nor session . lmk wrote: Im using tomcat Realm.. I can even get the user password!! thanks.. rpr_listas wrote: Hi, lmk! Your JAAS module is a tomcat Realm? If you develop a tomcat realm

Re: JAAS how to find user login name on the web app

2007-07-04 Thread lmk
yes I must send the user name and password to a web services to get other user informations.. David Smith-2 wrote: I don't think password is ever intended to be exposed to the webapp ... just the username. Is there a reason you need the password? --David lmk wrote: I dont found

Re: JAAS how to find user login name on the web app

2007-07-04 Thread lmk
It seems dificult to recover login password..I dont want to add a filter just for that.. do you have an other solution .? lmk wrote: I dont found how to get the user password...j_password parameter is not in request nor session . lmk wrote: Im using tomcat Realm.. I

Re: ClassCastException..probably a classpath pb

2007-06-12 Thread lmk
. Thank you. - Original Message - From: lmk To: Sent: Monday, June 11, 2007 12:57 PM Subject: ClassCastException..probably a classpath pb Hi! Im trying to deploy a custom jass login module into tomcat server.this module need a web service request for authentication

ClassCastException..probably a classpath pb

2007-06-11 Thread lmk
Hi! Im trying to deploy a custom jass login module into tomcat server.this module need a web service request for authentication. the same code works fine where it's executed locally on Eclipse, but, when I deploy a jar on server/lib folder for tomcat. i have the exception : AxisFault

Re: ClassCastException..probably a classpath pb

2007-06-11 Thread lmk
I put axis jar inside server/lib directory. I tried to set classpath on the manifest file but it seems impossible to set axis jars inside the login module jar. its the appropriate location? thanks Christopher Schultz-2 wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 lmk, lmk

Re: tomcat Data Base Realm

2007-05-23 Thread lmk
service... ie you can call the web service directly. Good Luck... - Original Message - From: lmk [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Monday, May 21, 2007 3:05 PM Subject: tomcat Data Base Realm hii, I'd like to use tomcat for authentification management

tomcat Data Base Realm

2007-05-21 Thread lmk
hii, I'd like to use tomcat for authentification management, the server can not bind directly the data base server, i must get the user name and the password with a web service request. I can't set the DB properties into a tomcat configuration file. How can I use tomcat security management ?

Re: the best method to secure Apache/tomcat communication

2007-01-11 Thread lmk
: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lmk, lmk wrote: I have a question concerning the use of Apache server in front of tomcat, at the present time, we use tomcat 4, AJP, apache 2.2 and mod_jk to manage load balancing. it work roughly fine; but new security rules require

the best method to secure Apache/tomcat communication

2007-01-10 Thread lmk
Hello, I have a question concerning the use of Apache server in front of tomcat, at the present time, we use tomcat 4, AJP, apache 2.2 and mod_jk to manage load balancing. it work roughly fine; but new security rules require crypting the trafic between 2 web servers. we cant use solution like

AJP13 and Mod jk security

2006-04-18 Thread lmk
Hi; how to secure communication between apache web server and servlet engine..?? thanks -- View this message in context: http://www.nabble.com/AJP13-and-Mod-jk-security-t1467202.html#a3965323 Sent from the Tomcat - User forum at Nabble.com.