[Installation, Configuration & DEPLOYMENT] - Re: XML conf && EAR
by jc7442
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="Salt">MySalt</attribute>
| <attribute name="IterationCount">13</attribute>
| <depends optional-attribute-name="ManagerServiceName">jboss.security:service=JaasSecurityManager</depends>
| </mbean>
| <mbean code="org.jboss.security.auth.login.DynamicLoginConfig"
| name="jboss:service=DynamicLoginConfig">
| <attribute name="AuthConfig">file:///${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=bb&op=viewtopic&p=4076726#4076726
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076726
18Â years, 8Â months
[JBoss jBPM] - Re: Decision -> select path
by masipu
I made more research with this problem.
It seems, that when the process ends, it executes the second node - the not selected path (the one I didn't go to from decision). The reason it executes the not selected is that it is the default transition from decision node.
I made a test case that simplified this (decision node and two child nodes so that depending on selection and transition, it printed different string to console) and after I went to end state, it ran the default transition of decision node. If I chose the default transition, it was executed twice, if I chose the second transition, both were executed.
decision
/ \
node 1 node2
\ /
end state
So the question remains, why it executes the default transition after i go to end state?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076721#4076721
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076721
18Â years, 8Â months