[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Any resource control in JBoss 5.1.0?
Thanks for Peter help. Almost all resource cannot be set for a web application. These resource setting are for global. For avoiding that one web application used all resources (memory, thread, database connection pool), the only solution is to set individual instance (JBoss AS server) for a web application so that these web applications won't affect each other. Peter, what do you think? Does anyone have good suggestion? Thanks in advance. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4244864#4244864 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4244864 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Any resource control in JBoss 5.1.0?
Hi all, I want to know if any resource control is available in JBoss AS 5.1.0. With the following questions, I want to verify the ability of various setting/config in JBoss. 1. Memory size can be set in a JBoss AS instance (one server). How about memory size for a web application? If we have 5 web applications, can we set the maximum memory size for each web application? How? In case, a web application use up all memory size that affect other web application. 2. The thread size can be set in a JBoss AS instance too. How about the thread size for a web application? (almost same issue in memory ) How to set? 3. The datasource pool size can be set in JBoss AS instance too. Can we set that one web application only can certain amount size of connection pool (datasource)? How? If anyone know any parameter can also set for a web application, not set in globally, welcome to state it here. Thanks for anyone help in advance. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4244256#4244256 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4244256 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Tutorial for setup of Authentication in JBoss?
Hi all, Good news! Finally, with trial and error to set different parameter, I can use LdapLoginModule to work fine now. Now I try to figure out the alternate setting for Ldap login. share with our ok config: -- login-module code=org.jboss.security.auth.spi.LdapLoginModule flag=required module-option name=java.naming.factory.initial com.sun.jndi.ldap.LdapCtxFactory /module-option module-option name=java.naming.provider.url ldap://ldap.ust.hk/ /module-option module-option name=java.naming.security.authentication simple /module-option module-option name=principalDNPrefixuid=/module-option module-option name=principalDNSuffix,ou=people,o=my.com/module-option module-option name=rolesCtxDNou=people,o=my.com/module-option module-option name=uidAttributeIDuid/module-option module-option name=matchOnUserDNfalse/module-option module-option name=roleAttributeIDuserClass/module-option module-option name=roleAttributeIsDNfalse/module-option module-option name=searchTimeLimit5/module-option module-option name=searchScopeONELEVEL_SCOPE/module-option /login-module View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4243696#4243696 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243696 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Tutorial for setup of Authentication in JBoss?
Thanks Peter. We may get the wrong direction for LDAP authentication. First, I think our LDAP server is a flat ldap structure and thus I only use LdapLoginModule to test. In your config, you use LdapExtLoginModule. I still try to use different parameter for role checking config in LdapLoginModule. Still ok for authentication but fail on authorization. By the way, Peter, can we write a custom login module? As I search this topic, only find this article http://www.jboss.org/community/wiki/CreatingACustomLoginModule; but this is not a full custom login module, just extend the existing one. Is any document to teach us to write a login module? Thanks for any help. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4243626#4243626 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243626 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Tutorial for setup of Authentication in JBoss?
Thanks a lot. Peter. The roleAttributeIsDN is set to false. However, still fail to access the webpage. From the trace log, it shows that the authentication is ok but the authorization is failed. The main problem is caused by role checking. Even thought I set TRACE logging for the org.jboss.security.auth.spi, no any information and message for authorization in the trace log. I also set searchScope to ONELEVEL_SCOPE or SUBTREE_SCOPE. It still fails too. How can I set logging for authorization? what else we can do? Thanks for any help. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241912#4241912 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241912 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Tutorial for setup of Authentication in JBoss?
Hi all, I do not know what is wrong in my setting. I still fail to use LDAP login module. Can anyone help? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241319#4241319 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241319 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Re-deployment questions?
Thanks for Allen's advice. I am new user for JBoss and still study to use it. My first step is to setup a simple environment that achieve all I need. Then, further step is HA (cluster, failover,...etc). I spent a little bit time to read about the cluster of JBoss. The documentation is not clear to show the steps to setup the clustering. I hope JBoss can have a simple clustering setup example steps by steps. If you have simple steps to setup simple clustering, please let me know. Thanks. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241320#4241320 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241320 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: Passing LDAP-authenticated users from Apache to JBoss
Hi all, Refer to dan957 setup for authentication, I confuse about his setting. I can setup basic authentication with using LDAP in apache (front end). If no authentication setup in JBoss, how can I secure the JBoss web server even thought I get the remote user name from apache. Anyone can directly call JBoss with using the URL in their bookmark. Any trick??? For my target setup --- End User --- (one server with apache and JBoss) Apache with proxy to JBoss | | | v JBoss with LDAP (set IP control, only accept localhost request) Any comment/suggestion? I still stuck in using LDAP authentication in JBoss! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241323#4241323 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241323 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Tutorial for setup of Authentication in JBoss?
Peter, Can you help me? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4240568#4240568 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4240568 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: basic authentication against unix password file?
Is it impossible to implement this task? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4238938#4238938 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4238938 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Tutorial for setup of Authentication in JBoss?
Thanks Peter. Can we just use the same DN that include a lot of other information (other attributes), such as UserClass, DeptCode, ? How to use these attributes for the role checking? how to set it in ldap auth module? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4238937#4238937 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4238937 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Tutorial for setup of Authentication in JBoss?
In my Jun 4, 2009 email, I show the setting that set the role attributes to userClass ( same as a kind of attributes of DeptCode ). So, based on my setting, I don't know what's wrong. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4239230#4239230 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239230 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Tutorial for setup of Authentication in JBoss?
Thanks Peter. I install jxplorer and can browse the ldap server; get the my DN as below. And list the ldap auth config as below. I still get 403 error code. Peter, please help to point out what's wrong. Thanks. DN: uid=dickson,ou=people,o=my.com login-config.xml -- application-policy name = testLdapExample1 login-module code=org.jboss.security.auth.spi.LdapLoginModule flag=required module-option name=java.naming.factory.initial com.sun.jndi.ldap.LdapCtxFactory /module-option module-option name=java.naming.provider.url ldap://ldap.my.com/ /module-option module-option name=java.naming.security.authentication simple /module-option module-option name=principalDNPrefixuid=/module-option module-option name=principalDNSuffix,ou=people,o=my.com/module-option module-option name=rolesCtxDN,ou=people,o=my.com/module-option module-option name=uidAttributeIDuid/module-option module-option name=matchOnUserDNtrue/module-option module-option name=roleAttributeIDuserClass/module-option module-option name=roleAttributeIsDNtrue/module-option module-option name=searchTimeLimit5000/module-option module-option name=searchScopeONELEVEL_SCOPE/module-option /login-module /application-policy * web.xml - security-constraint web-resource-collection web-resource-nameHtmlAdaptor/web-resource-name An example security config that only allows users with the role JBossAdmin to access the HTML JMX console web application url-pattern/*/url-pattern http-methodGET/http-method http-methodPOST/http-method /web-resource-collection auth-constraint role-namestaff/role-name /auth-constraint /security-constraint login-config auth-methodBASIC/auth-method realm-nameJBoss/realm-name /login-config security-role role-namestaff/role-name /security-role View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4235200#4235200 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4235200 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Tutorial for setup of Authentication in JBoss?
Thanks Peter. I do not have a full DN for a departmentcode. I only know how to config apache to do basic authentication against our ldap server. I know my departmentcode, such as iso, hro,...etc. Also, I do not have ldapsearch utility. Please recommend me which ldapsearch utility I should use to help me to config the ldap setting. Thanks again. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4234826#4234826 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4234826 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: isolate a datasource ( not share for all web application
Thanks for jaikiran's correction. How to call a database by global jndi name in a jsp? (coding) Thanks. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4234593#4234593 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4234593 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Tutorial for setup of Authentication in JBoss?
Peter, Can you help to solve my LDAP authentication problem? Thanks. Thanks in advance for anyone's help. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4234594#4234594 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4234594 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: basic authentication against unix password file?
does it mean that there is no existing module to implement my task (check password with unix password file)? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4234595#4234595 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4234595 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: basic authentication against unix password file?
Can anyone help for this issue? Thanks in advance View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4233160#4233160 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4233160 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Tutorial for setup of Authentication in JBoss?
Thanks Peter. Workaround 2 is my target too. Under the LDAP tree, find the right person with related information (department code, user class, ...etc). These information can be used as the role. The question is how to config. I show the setting of LDAP login module. I want to use the departmentcode as the role. How to set? Each applications have their own user profile. For my case, the first step is the password - basic authentication. Then, later on, centralized role checking is a long term task. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4233159#4233159 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4233159 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: isolate a datasource ( not share for all web application
share with other user. Although the datasource is defined in global and all other applications can use it, you must define the reference(this datasource) inside the application definition (web.xml and jboss-web.xml) and then your application can call this datasource. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4233163#4233163 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4233163 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Tutorial for setup of Authentication in JBoss?
Thanks for Peter so much. (most of my question are answered by you, thank you) Actually, I want to config the LDAP authentication. However, I get failure and it is hard to trace what's wrong. Do you have more example about LDAP Auth config? Or how to trace this auth error? At the original design of our LDAP server, no role is designed; not for this purpose. Therefore, I just want to skip this role checking in LDAP auth. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232923#4232923 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232923 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Tutorial for setup of Authentication in JBoss?
I get 403 error when test the ldap auth. It seems that the password authentication is ok because no error is in the server.log. Therefore, it means something is wrong in role authentication. As my ldap server does not have role design and information, I want to use the same tree (class) for the role authentication. For example, the one attribute of userclass or department will be used for role authentication. Please help to point out how to config my ldap authentication. My setting is as the following: application-policy name = testLdapExample1 login-module code=org.jboss.security.auth.spi.LdapLoginModule flag=required module-option name=java.naming.factory.initial com.sun.jndi.ldap.LdapCtxFactory /module-option module-option name=java.naming.provider.url ldap://ldap.my.com/ /module-option module-option name=java.naming.security.authentication simple /module-option module-option name=principalDNPrefixuid=/module-option module-option name=principalDNSuffix,ou=People,o=my.com/module-option module-option name=rolesCtxDN,ou=People,o=my.com/module-option module-option name=uidAttributeIDuid/module-option module-option name=matchOnUserDNtrue/module-option module-option name=roleAttributeIDuid/module-option module-option name=roleAttributeIsDNfalse/module-option module-option name=searchTimeLimit5000/module-option module-option name=searchScopeONELEVEL_SCOPE/module-option /login-module /application-policy View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232926#4232926 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232926 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Re-deployment questions?
Does Anyone have better idea to implement my task? Thanks in advance. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232928#4232928 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232928 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Which modified config xml file does require to restart JBoss
As I study to use JBoss AS 5.0, I need to modify the system config xml file very often; such as logging, login, ...etc. After modify these system config xml file, do I need to restart JBoss AS. As I know if the web.xml inside web application is modified, the web application will automatically restart itself (application only). How about the system config file? Which one need to restart JBoss? or Which one do not need to restart JBoss? Thanks in advance. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232929#4232929 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232929 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Re-deployment questions?
Can anyone help for this issue? Or Any idea to implement it? thanks for any help View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232635#4232635 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232635 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Tutorial for setup of Authentication in JBoss?
Can anyone help for this issue? Thanks in advance. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232637#4232637 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232637 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: Using the DatabaseServerLoginModule only for retrieving
Hi veerasundark, I start to use JBoss AS 5.0 and the LdapExtLoginModule for the authentication purpose. For my case (first step), I just want to get the password authentication without checking any role. Can we disable the role check with using LdapExtLoginModule? After I config the LdapExtLoginModule, I get 403 error. No logging for me to debug. If I access Apache via Ldap authentication, no problem at all. Therefore, the ldap server can be access from my server. How Can I debug what's wrong? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232664#4232664 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232664 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: Passing LDAP-authenticated users from Apache to JBoss
hi dan957, I am doing the same task as your migration = Apache + JBoss with using LDAP authenticaion; just use mod_proxy. How can you just use Apache for entry authentication and then access to JBoss's web application? If the user directly call the URL to JBoss's web application, JBoss won't ask them to input the password. I still stuck in trying to setup LDAP authentication in JBoss, still fail. Thanks for any help. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232671#4232671 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232671 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: javax.naming.NameNotFoundException: jdbc not bound
Thanks for Peter's help. Refer to the Setup a Oracle Datasource article , http://www.jboss.org/community/wiki/SetUpAOracleDatasource, Refer to the DataSource configuration article , http://www.jboss.org/community/wiki/ConfigDataSources Both of these 2 article do not mention that it needs to config web.xml and jboss-web.xml. About the link to How do I create a resource-ref? article, it also does not show how to config for these 2 xml file. So stranger, there is no correct document or article to completely guide the end user to setup the data source for a web application to use. Dear JBoss, Please create a better documentation for using JBoss AS so that any end user won't need to search around to find the usage/method/solution of using JBoss AS. Thanks a lot. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232411#4232411 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232411 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - javax.naming.NameNotFoundException: jdbc not bound
Hi all, I want to define an Oracle datasource in JBoss AS 5.0. I follow the steps in the installation guide or even in the article in JBoss.org. I still get the same error. 1. create a oracle-ds.xml in the deploy directory 2. create a jsp inside the web application. Whenever call this webpage (jsp), get the same error javax.naming.NameNotFoundException: jdbc not bound. What's wrong? I double check the xml file without any error. How to trace this problem? Thanks for any help View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232151#4232151 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232151 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: basic authentication against unix password file?
Hi everyone, Can anyone help to implement it? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232082#4232082 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232082 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Re-deployment questions?
Hi everyone, For my original question, I want to inform end user with a message (webpage) about the upgrading of web application whenever the end user access the web application. Does anyone have good idea to accomplish this objective? If we set the error webpage for 404 only in that web application, it won't work when stop/undeploy that web application. If we set the error webpage 404 globally in the whole JBoss, it may lead to wrong message to other application users. My main question is how to nice upgrade the web application, not just undeploy or delete that web application. Thanks anyone's help. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4231206#4231206 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231206 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Re-deployment questions?
Thanks again. If I define global HTTP error code page, that is for all applications. My objective is the defined http error code page only for those application which is stopped for maintenance (deploy or other else), not all applications so that the end user can get the proper notice/message about that application is under maintenance or not available. Any method define the http error code page for stopped application? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=413#413 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=413 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Re-deployment questions?
Hi all, As my original question, I want to deploy the new version of web application nicely so that the end user would not suddenly get the error during their work on the web application. Does JBoss AS 5.0 have graceful stop and startup feature that is the same as Apache do. If grace restart apache, it will wait all the existing session finish the request and don't accept the new request; then restart apache at all. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=423#423 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=423 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - isolate a datasource ( not share for all web application use
Hi all, If define a data source in JBoss AS 5.0, it can be used by all web applications under that JBoss server. Is there any way to isolate/separate the target datasource only for a web application to use? Thanks for any help. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4219373#4219373 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4219373 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Re-deployment questions?
Thanks Peter again. About the question 3, does JBoss AS 5.0 make a custom 404 webpage for a web application? Just like Apache, you can set a custom webpage under a directory whenever it hits the 404 error code. Has JBoss this feature? (Can we set it in web.xml?) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4219681#4219681 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4219681 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: JBoss + Apache
Hi Peter, Thanks again. Which connection method (Mod_Proxy or Mod_jk) for apache is better in my configuration? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4219683#4219683 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4219683 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: basic authentication against unix password file?
Firstly, thanks for everyone's help. Yes, I want to do authentication against a file created with the htpasswd command (normally used for Apache HTTPD auth). As the existing setup of authentication in our Apache web server and other java application server use LDAP and unix password file, however, the unix password file is not the /etc/passwd. This unix password file is extracted from a secure server; the format is the same as a file created with the htpasswd command. The format {user_name}:{unix encryed_password} Hi aamonten, Do you have any idea to implement it? Thanks in advance. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4218927#4218927 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4218927 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: What login-module will JBoss AS 5.0 provide/include?
Thanks for Wolfgang. The following link for full picture and more information about the login module : http://www.jboss.org/community/docs/DOC-10760 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4219329#4219329 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4219329 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: JBoss + Apache
Hi Endy, I am doing the job as same as you (migrating to a new server). Still study at how to use JBoss AS 5.0. As our existing site is a single site for different applications, Apache is the front end and application server and java site are the back end. The Apache works as the single entry point for all applications. I am still thinking how to connect Apache to JBoss. (use Mod_Proxy or Mod_jk). For JBoss, single server for a single web application (easy to manage). If one JBoss server for multiple web application, it is risk wheneven JBoss server hang for any reason (deploy new application or others); it will affect all web applications under that JBoss server. What do you think? Peter and Endy. Thanks for your any suggestion in advance. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4219334#4219334 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4219334 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re-deployment questions?
Hi all, I have several questions about the deployment of a web application. Thanks for any help. 1. If I want to re-deploy the web application directly, I know that I just put the new war file in the deploy folder. It can re-deploy itself. My question is how about the transaction is handled during the deployment. Does JBoss AS 5.0 will wait all connection/request to finish first and then stop the new request; then do deployment. Please help to clarify the deployment flow. 2. If I use the other way to re-deploy the web application - undeploy it first and deploy it with the new version, how does JBoss handle the transaction/request during undeploy? 3. Also, if any user browse that web page in the stopped web application, they will 404 page not found. Is there other method/handling better to show the specific stopped web application is not available ( a message page )? Thanks in advance for anyone's help. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4219339#4219339 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4219339 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - What login-module will JBoss AS 5.0 provide/include?
I know that the following login-module provided by JBoss 5.0. 1. org.jboss.security.auth.spi.UsersRolesLoginModule 2. org.jboss.security.auth.spi.LdapLoginModule Do anyone know if there is other login-module which JBoss As 5.0 provide by default? Or does any document describe the list or usage of login-module provided by JBoss 5.0? Thanks for any help. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4218128#4218128 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4218128 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: stop or re-deploy a web application in JBoss 5.0?
Hi wolfgang, Thanks for your help. As I use jmx-console, it is not easy to find that MainDeployer. Also not every web application has this service. Click on jboss.system on the left menu, there is a service=MainDeployer on the right menu. When I click on the url of service=MainDeployer, there is several stop, deploy, undeploy, ... with invoke button. I have no idea which stop will stop which web application. Really confuse. Finally, I think jmx-console is not a user-friend GUI at all. Also, it cannot help me to do manage the JBoss As or web application. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4216429#4216429 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4216429 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: basic authentication against unix password file?
Hi Anil, Thanks for your help. I just want to setup the basic authentication in JBoss AS 5.0 as similiar as that in apache web server which can authenticate against a LDAP server or a unix password file. Has anyone this setup experience? Thanks for any help. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4216431#4216431 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4216431 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: JAAS Howto: README FIRST
please fix the broken link. Or update it with the lastest version of this post. Thanks. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4216432#4216432 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4216432 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - basic authentication against unix password file?
Hi all, How can I set the basic authentication against an unix password file in JBoss AS 5.0? (without checking any role at all - no authorization ). As I search around, I cannot get any idea. Thanks for any help. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215627#4215627 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215627 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - stop or re-deploy a web application in JBoss 5.0?
Hi all, I am new to JBoss and study to use it. Suppose, I have several web applications in a JBoss AS 5.0. 1. If I want to stop one web application temporary for maintenance or other some reason, how can I do that? As I know, I can use admin-console to delete that web application that will be removed/deleted physically. I do not want to delete it and I just stop that web service/application for a short period of time. 2. Also, if any user browse that web page in the stopped web application, they will 404 page not found. Is there other method/handling better to show the specific stopped web application is not available ( a message page )? 3. If I want to re-deploy the web application, I know that I just put the new war file in the depl0y folder. It can re-deploy itself. My question is how about the transaction is handled during the deployment. Does JBoss AS 5.0 will wait all connection/request to finish first and then stop the new request; then do deployment. Please help to clarify the deployment flow. Thanks for any help. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215556#4215556 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215556 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Tutorial for setup of Authentication in JBoss?
Hi all, I search around for setup of authentication (not in programming level) but not complete or full picture. I mean that I am not using form basis authentication ( custom coding to perform the authentication ). In the document of The JBoss 4 Application Server Web Developer Reference - Using Digest authentication, it just shows one example. How about the other? First step I want to know how to implement the basic authentication in a web application (no need for SSO SingleSignOn this moment). The authentication method may be using unix password file or ldap, ...ect. Thanks for anyone who can point me the right direction. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4207233#4207233 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4207233 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Tutorial for setup of Authentication in JBoss?
Thanks for Jaikiran help. I have read that article to get the idea of the setup for authentication. For the authentication with using password file, ldap and other else, it also include the role (authorization) checking. How can I ignore that role checking and just validate the username/password in my first approach? Thanks for any help. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4207590#4207590 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4207590 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - JBoss 5.0 as a single JVM?
Hi all, Is JBoss 5.0 running a a single JVM? No matter how many web application (war, ear, ...etc) in its deploy directory. Or actually each web application running as an individual JVM? My worry is that all web application have error when JBoss (single JVM) hang on by some reason. If there is individual JVM for each web application, they won't affect each other when one JVM hang on. Thanks in advance. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4206832#4206832 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4206832 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Questions for general use of JBoss 5.0?
Hi Peter, Thanks for your help. About the question 2 and 3, I install Embedded Jopr 1.1 in JBoss 5.0. Inside the Admin console (Embedded Jopr), it won't show the web application (war, ear, ...etc) and then I don't know what it can do. As the install guide said this current version is for JBoss 4.2.x, that is not for 5.0 (something is incompatible). I start to watch the demo video to explore the usage of this GUI. About question 4, I will spend time to search the isolation for library later. Thanks for your advise. About the question5 (basis authentication), I don't understand what you mean. I mean that I set some .htaccess to protect webpage in Apache (ldap, password file) and also I set some authentication (maybe custom JAAS to check against ldap or password file) in a web application of JBoss server. After I login Apache to view some webpage, I go to view the protected webpage in JBoss in the same browser session. This URL request send to JBoss (should include the authentication data in the header). Does the JBoss popup to ask the input username and password again? It seems something related to single signon. ( Apache is front end web server; JBoss is backend application server. ) Thanks for any help. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4206459#4206459 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4206459 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Questions for general use of JBoss 5.0?
Peter, Thanks a lot. As a starter to JBoss, I want to use a Java Web Server that use the jsp files , war web application, data source(connection pool), basic authentication,jaas. Should I just use JBoss Web (servlet container) for start point and then move (upgrade) to higher level of using JBoss AS in the future? Or is it the same to use JBoss AS as JBoss Web when manually do not use the rich/powerful features of JBoss AS? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4206775#4206775 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4206775 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Questions for general use of JBoss 5.0?
Hi all, I start to study how to use JBoss 5.0G.A. (before that, I used Tomcat or JRun). I have installed it and hot deploy a simple war application; also browse the function in JBoss Management Console. Before I deeply study it, I have several questions about how to use it. Thanks in advance for any help. 1. Is it possible that deploy a web application without using war, ear file format? For example, just create a folder and some jsp files under the depoly folder or other place. It seems that not working at all. 2. Any other GUI tools to help to setup/config or admin the JBoss server; except that JBoss Management Console? such start up or shutdown the JBoss server, setup data source, view the log...etc. (Easy config?) 3. Can we stop one application when JBoss server is running? (not the whole JBoss server) 4. Can the library be used for individual web application in JBoss? (not for globally use) For Example, I want to develop a jar or use a specific library (jar or zip files) that is only for a single web application. How can I do that? 5. Basic Authentication with Apache Is it possible that login in Apache web server and then pass it to JBoss (maybe JAAS or other authentication module) so that it won't require to login again? Thanks for any help. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4206169#4206169 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4206169 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Launching JBoss from a java application rather than usin
Does it mean that JBoss cannot be remotely started up or shutdown? Is JBoss server a single JVM? I mean that no other admin web server to manage the other JVM or web application. If yes, every time to shutdown JBoss server and all web application will also shutdown. Is it sure. Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4206170#4206170 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4206170 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user