I need some guidance related to login-config.xml configuration.
I have 2 application EAR which needs to be deployed on the same instance. But these applications are using different "jbossmq" configuration. One application is using Database and other is using file state service.
Please tell me how I can change one application to use File state service instead of Database.
Application 1 -
It uses Database settings in the "jbossmq" application policy. This application has one MDB 2.1.
Application 2 -
It uses file-state service in the "jbossmq" application policy. This application has Entity beans 2.1.
I have tried changing the Application 1 to use file-state-service. But not able to make it work. I used the steps described in the jboss documentation.
As stated above, if in the same situation we have two different login modules but with for two different datasources (both being DatabaseServerLoginModule) described in the <connection-url> of *-ds.xml file in deploy directory of jboss as -