[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: XML conf EAR
Take a look at: | ${jboss.home.url} | ${jboss.server.url} | ${jboss.server.home} | ${jboss.server.home.dir} | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4077324#4077324 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4077324 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: XML conf EAR
But i still don't know what you want to do??? If you want to you JAAS for your MBean - take a look at the files in /server/myserver/conf/login-config.xml ... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4077336#4077336 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4077336 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: XML conf EAR
Just to explain the context. I use maven2 to build and tests a complete application. It is fully automatic. Tests can be executed on a platform without having to install or configure third party products (except in some cases the database) I have several app that all uses a jboss AS with a default config/customiezation for my organization. In my build process, I install this JBoss AS and then I deploy my config file and my ear. I do not want to overwritte files of my Jboss install. So that when I upgrade the jboss AS, I do not have to check copy/paste file (since there is none). I just want to deploy all MBean required by my application in their own config file. That's why I do not want to modify login-config.xml file. I have used ${jboss.home.url}. Now that it works fine Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4077381#4077381 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4077381 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: XML conf EAR
Ok. Please give us more information about you system... like: - Which jboss version do you run? - Have you made any configuration changes in jboss? - What means it does not work... - it happen nothing, error, etc...? - Do you deploy you .ear inflated or packed? - File myapp.ear/META-INF/application.xml - File myapp.ear/myapp.sar/META-INF/jboss-service.xml ... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4076651#4076651 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4076651 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: XML conf EAR
Hi, I just forgot to create the jboss-app.xml file: jboss-app | | module | servicetoto.sar/service | /module | | /jboss-app Now with that it works fine. Without jboss-app.xml my MBean was not deployed. Thanks for the help ! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4076723#4076723 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4076723 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: XML conf EAR
Next issue. I wrotte tje jboss-service.xml: | server | mbean code=org.jboss.security.plugins.JaasSecurityDomain | name=jboss.security:service=JaasSecurityDomain,domain=LdapPassword | constructor | arg type=java.lang.String value=ServerMasterPassword/ | /constructor | !-- The opaque master password file used to decrypt the encrypted | database password key -- | attribute name=KeyStorePass{CLASS}org.jboss.security.plugins.FilePassword:${jboss.server.home.dir}/deploy/demo-ear-1.0-SNAPSHOT.ear/toto.sar/META-INF/server.password/attribute | attribute name=SaltMySalt/attribute | attribute name=IterationCount13/attribute | depends optional-attribute-name=ManagerServiceNamejboss.security:service=JaasSecurityManager/depends |/mbean | mbean code=org.jboss.security.auth.login.DynamicLoginConfig | name=jboss:service=DynamicLoginConfig | attribute name=AuthConfigfile:///${jboss.server.home.dir}/deploy/demo-ear-1.0-SNAPSHOT.ear/toto.sar/META-INF/login-config.xml/attribute | !-- The service which supports dynamic processing of login-config.xml | configurations. | -- | depends optional-attribute-name=LoginConfigService | jboss.security:service=XMLLoginConfig | /depends | !-- Optionally specify the security mgr service to use when | this service is stopped to flush the auth caches of the domains | registered by this service. | -- | depends optional-attribute-name=SecurityManagerService | jboss.security:service=JaasSecurityManager | /depends |/mbean | | /server It references two other files: ${jboss.server.home.dir}/deploy/demo-ear-1.0-SNAPSHOT.ear/toto.sar/META-INF/server.password file:///${jboss.server.home.dir}/deploy/demo-ear-1.0-SNAPSHOT.ear/toto.sar/META-INF/login-config.xml I have tried to use relative path in order not to have the ear name in the file location. File are not found. Is it possible to use relative path for those kinds of attribute ? Where is the base path ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4076726#4076726 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4076726 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: XML conf EAR
I have tried to add .sar. Unfortunatelly it does not works. Do I have to update the application.xml file ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4076333#4076333 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4076333 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: XML conf EAR
hi, try this: | myapplication.ear/myapplication.sar/META-INF/jboss-service.xml | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4075868#4075868 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4075868 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user