[JBoss-user] [JNDI/Naming/Network] - Re: InitialContext taking long time, any tips to speed-up?
anybody help please?? some time it takes up to 17Sec to create a context in the same subnet and with a Gbit lan. Thank you. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3910713#3910713 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3910713 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JNDI/Naming/Network] - Re: InitialContext taking long time, any tips to speed-up?
anybody can help please? thank you View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3902993#3902993 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3902993 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JNDI/Naming/Network] - Re: InitialContext taking long time, any tips to speed-up?
Hello, yeah, I have heard of that... but I don't know what can be wrong on my dns (or my provider ones)... I don't know where and how I can improve this behaviour as it works very fast for common http calls, to download a file from my jboss using a dump servlet it takes nothing! I also tried to use Http Jndi but the result is the same, or even slower. Can you help please? thank you. Note: WebLogic is much faster in these circumstances. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3900826#3900826 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3900826 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JNDI/Naming/Network] - InitialContext taking long time, any tips to speed-up?
Hello, from my test I notice a big difference for creating an InitialContext: - from inside the server itself but 2 different vm: 350 ms. (somehow ok) - from a remote client in the same subnet: 2.5 sec! (kind slow!!) - from a remote client over the internet: up to 25 sec!! (horrible!!!) Any possibility to reduce those numbers? What can be the problem? My LAN has a DNS (the default one from MS 2003 Server) but i tried using IPs instead of machine names with no changes in the results. the one from internet did use a static ip and not a domain name. help appreciated, thank you. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899793#3899793 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899793 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: Remote Swing client not working
it works!! thank you so much! i did read the section you suggested and it works... actually i had to change my ejb-jar.xml ... but something small... and set in my auth.conf ClientLoginModule as required. Now i need to do the same job (authentication and authorization) over HTTPS or http, would be great to do the login call over https and then use http for subsequent calls. Could you please help me? thank you in advance for your time. Ciao View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3895587#3895587 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3895587 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: Remote Swing client not working
anybody could help please? thank you. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3895310#3895310 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3895310 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Remote Swing client not working
Hello, I did successifully run the JAAS how to examples, I also changed the login-config.xml to authenticate and authorizate users against my application datasource. The problem i have is when i run the same code from a remote Swing application, following is the code i use: login-config.xml | application-policy name=myapp | authentication | login-module code=org.jboss.security.auth.spi.DatabaseServerLoginModule | flag=required | module-option name=dsJndiNamejava:/sqlserver/module-option | module-option name=principalsQueryselect Password from USERS where USERNAME=?/module-option | module-option name=rolesQueryselect Role, RoleGroup from USER_ROLES where USERNAME=?/module-option | /login-module | /authentication |/application-policy | Swing code: | ... | env.put(Context.INITIAL_CONTEXT_FACTORY, resources.getProperty(context.factory,) ); | env.put(Context.PROVIDER_URL, resources.getProperty(provider.url,) ); | env.put(Context.SECURITY_PRINCIPAL, username ); | env.put(Context.SECURITY_CREDENTIALS, password ); | initial = new InitialContext(env); | Object objref = initial.lookup(USER_SETTING); | authSuccess = true; | | jboss.xml | jboss | security-domainjava:/jaas/myapp/security-domain | session | ejb-nameUserSettingManager/ejb-name | jndi-nameUserSettingManager/jndi-name | /session | /jboss | when I run my application without JAAS it works fine, as i need to gain or deny access to specific business methods I have to plug JAAS, when i do it I get on the server side principal=null... why does that happens? I tested on other App Server and it works. Please help. thank you. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885347#3885347 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885347 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user