[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Any resource control in JBoss 5.1.0?

2009-07-21 Thread dickson1888
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

[jboss-user] [Installation, Configuration DEPLOYMENT] - Any resource control in JBoss 5.1.0?

2009-07-20 Thread dickson1888
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

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Tutorial for setup of Authentication in JBoss?

2009-07-15 Thread dickson1888
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:

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Tutorial for setup of Authentication in JBoss?

2009-07-14 Thread dickson1888
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

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Tutorial for setup of Authentication in JBoss?

2009-07-06 Thread dickson1888
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

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Tutorial for setup of Authentication in JBoss?

2009-07-01 Thread dickson1888
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 :

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Re-deployment questions?

2009-07-01 Thread dickson1888
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

[jboss-user] [Security JAAS/JBoss] - Re: Passing LDAP-authenticated users from Apache to JBoss

2009-07-01 Thread dickson1888
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

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Tutorial for setup of Authentication in JBoss?

2009-06-28 Thread dickson1888
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] [Security JAAS/JBoss] - Re: basic authentication against unix password file?

2009-06-22 Thread dickson1888
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

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Tutorial for setup of Authentication in JBoss?

2009-06-22 Thread dickson1888
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 :

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Tutorial for setup of Authentication in JBoss?

2009-06-22 Thread dickson1888
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

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Tutorial for setup of Authentication in JBoss?

2009-06-04 Thread dickson1888
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

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Tutorial for setup of Authentication in JBoss?

2009-06-02 Thread dickson1888
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

[jboss-user] [Beginners Corner] - Re: isolate a datasource ( not share for all web application

2009-06-01 Thread dickson1888
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] [Installation, Configuration DEPLOYMENT] - Re: Tutorial for setup of Authentication in JBoss?

2009-06-01 Thread dickson1888
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] [Security JAAS/JBoss] - Re: basic authentication against unix password file?

2009-06-01 Thread dickson1888
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 :

[jboss-user] [Security JAAS/JBoss] - Re: basic authentication against unix password file?

2009-05-26 Thread dickson1888
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] [Installation, Configuration DEPLOYMENT] - Re: Tutorial for setup of Authentication in JBoss?

2009-05-26 Thread dickson1888
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

[jboss-user] [Beginners Corner] - Re: isolate a datasource ( not share for all web application

2009-05-26 Thread dickson1888
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 :

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Tutorial for setup of Authentication in JBoss?

2009-05-24 Thread dickson1888
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

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Tutorial for setup of Authentication in JBoss?

2009-05-24 Thread dickson1888
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

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Re-deployment questions?

2009-05-24 Thread dickson1888
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] [Installation, Configuration DEPLOYMENT] - Which modified config xml file does require to restart JBoss

2009-05-24 Thread dickson1888
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

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Re-deployment questions?

2009-05-22 Thread dickson1888
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] [Installation, Configuration DEPLOYMENT] - Re: Tutorial for setup of Authentication in JBoss?

2009-05-22 Thread dickson1888
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] [Security JAAS/JBoss] - Re: Using the DatabaseServerLoginModule only for retrieving

2009-05-22 Thread dickson1888
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

[jboss-user] [Security JAAS/JBoss] - Re: Passing LDAP-authenticated users from Apache to JBoss

2009-05-22 Thread dickson1888
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

[jboss-user] [Beginners Corner] - Re: javax.naming.NameNotFoundException: jdbc not bound

2009-05-21 Thread dickson1888
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

[jboss-user] [Beginners Corner] - javax.naming.NameNotFoundException: jdbc not bound

2009-05-20 Thread dickson1888
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

[jboss-user] [Security JAAS/JBoss] - Re: basic authentication against unix password file?

2009-05-19 Thread dickson1888
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

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Re-deployment questions?

2009-05-15 Thread dickson1888
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

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Re-deployment questions?

2009-03-31 Thread dickson1888
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

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Re-deployment questions?

2009-03-31 Thread dickson1888
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

[jboss-user] [Beginners Corner] - isolate a datasource ( not share for all web application use

2009-03-19 Thread dickson1888
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 :

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Re-deployment questions?

2009-03-19 Thread dickson1888
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 :

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: JBoss + Apache

2009-03-19 Thread dickson1888
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 :

[jboss-user] [Security JAAS/JBoss] - Re: basic authentication against unix password file?

2009-03-18 Thread dickson1888
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,

[jboss-user] [Beginners Corner] - Re: What login-module will JBoss AS 5.0 provide/include?

2009-03-18 Thread dickson1888
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 :

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: JBoss + Apache

2009-03-18 Thread dickson1888
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

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re-deployment questions?

2009-03-18 Thread dickson1888
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

[jboss-user] [Beginners Corner] - What login-module will JBoss AS 5.0 provide/include?

2009-03-15 Thread dickson1888
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

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: stop or re-deploy a web application in JBoss 5.0?

2009-03-10 Thread dickson1888
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

[jboss-user] [Security JAAS/JBoss] - Re: basic authentication against unix password file?

2009-03-10 Thread dickson1888
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 :

[jboss-user] [Security JAAS/JBoss] - Re: JAAS Howto: README FIRST

2009-03-10 Thread dickson1888
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] [Security JAAS/JBoss] - basic authentication against unix password file?

2009-03-06 Thread dickson1888
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 :

[jboss-user] [Installation, Configuration DEPLOYMENT] - stop or re-deploy a web application in JBoss 5.0?

2009-03-05 Thread dickson1888
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

[jboss-user] [Installation, Configuration DEPLOYMENT] - Tutorial for setup of Authentication in JBoss?

2009-02-05 Thread dickson1888
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 -

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Tutorial for setup of Authentication in JBoss?

2009-02-05 Thread dickson1888
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

[jboss-user] [Installation, Configuration DEPLOYMENT] - JBoss 5.0 as a single JVM?

2009-02-04 Thread dickson1888
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

[jboss-user] [Beginners Corner] - Re: Questions for general use of JBoss 5.0?

2009-02-03 Thread dickson1888
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-user] [Beginners Corner] - Re: Questions for general use of JBoss 5.0?

2009-02-03 Thread dickson1888
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-user] [Beginners Corner] - Questions for general use of JBoss 5.0?

2009-02-02 Thread dickson1888
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

[jboss-user] [Beginners Corner] - Re: Launching JBoss from a java application rather than usin

2009-02-02 Thread dickson1888
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