From: lna...@us.ibm.com
Date: May 14, 6:33 pm
Subject: Unable to start MDB
Listener... ..javax.security.auth.login.LoginException
To: ibm.software.websphere.application-server
Problem when I start application containing MDBs & ListenerPorts. 5
MDBs tied to 5 ListenerPorts within the application, 4 MDBs/
ListenerPorts start fine with no problem, 5th causes the following
exception and then stops the ListenerPort. Problem occurs whether
Global Security is turned on or off.
I am using WAS ND v6.1.0.13
5/14/08 9:03:40:921 EDT 0000001c MDBListenerIm W WMSG0019E: Unable
to start MDB Listener ProcessSubmission, JMSDestination jms/
Q_SubmissionReceipt : java.security.PrivilegedActionException:
javax.security.auth.login.LoginException: No LoginModules configured
for
at
com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.jav
a:12 2)
at
com.ibm.ejs.jms.listener.MDBListenerImpl.createResources(MDBListenerImpl.ja
va:3 67)
at
com.ibm.ejs.jms.listener.MDBListenerImpl.internalStart(MDBListenerImpl.java:
727 )
at
com.ibm.ejs.jms.listener.MDBListenerImpl.start(MDBListenerImpl.java:
650)
at
com.ibm.ejs.jms.listener.MDBListenerManagerImpl.start(MDBListenerManagerImp
l.ja va:634)
at
com.ibm.ejs.jms.listener.MsgListenerPort.add(MsgListenerPort.java:227)
at
com.ibm.ejs.jms.listener.MDBListenerManagerImpl.startApplicationMDBs(MDBLis
tene rManagerImpl.java:872)
at
com.ibm.ejs.jms.listener.MDBListenerManagerImpl.stateChanged(MDBListenerMan
ager Impl.java:830)
at
com.ibm.ws.runtime.component.MessageListenerImpl.stateChanged(MessageListen
erIm pl.java:188)
at
com.ibm.ws.runtime.component.ApplicationMgrImpl.stateChanged(ApplicationMgr
Impl .java:1253)
at
com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectEven
t(De ployedApplicationImpl.java:1148)
at
com.ibm.ws.runtime.component.DeployedApplicationImpl.setState(DeployedAppli
cati onImpl.java:243)
at
com.ibm.ws.runtime.component.DeployedApplicationImpl.setState(DeployedAppli
cati onImpl.java:238)
at
com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicat
ionI mpl.java:844)
at
com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(Applicatio
nMgr Impl.java:950)
at com.ibm.ws.runtime.component.ApplicationMgrImpl
$AppInitializer.run(ApplicationM grImpl.java:2120)
at com.ibm.wsspi.runtime.component.WsComponentImpl
$_AsynchInitializer.run(WsCompon entImpl.java:342)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)
This seems to have worked fine in my RSA development environment
running against a WAS v6.1 (non-ND) server but is failing once
deployed to the WAS ND v6.1.0.13 server environment.
Has anyone seen this before or can provide any suggestions/solutions?
Could this be due to some code/action unique to the failing MDB?
Newsgroups: ibm.software.websphere.application-server
From: Infyniti <infyn...@gmail.com>
Date: Wed, 14 May 2008 09:52:59 EDT
Local: Wed, May 14 2008 6:52 pm
Subject: Re: Unable to start MDB
Listener... ..javax.security.auth.login.LoginException
lnayda wrote:
Problem when I start application containing MDBs & ListenerPorts. 5
MDBs tied to 5 ListenerPorts within the application, 4 MDBs/
ListenerPorts start fine with no problem, 5th causes the following
exception and then stops the ListenerPort. Problem occurs whether
Global Security is turned on or off.
Does the JAAS alias for the queue connection factory for the 5th MDB
is same as the rest of them.
If yes, then check if the id has access to the queue. Also double
check both the QCF and QD attributes for that MDB.
Thanks
Anant
Newsgroups: ibm.software.websphere.application-server
From: lna...@us.ibm.com
Date: Wed, 14 May 2008 11:10:48 EDT
Local: Wed, May 14 2008 8:10 pm
Subject: Re: Unable to start MDB
Listener... ..javax.security.auth.login.LoginException
By setting the "Mapping-configuration alias" to
"DefaultPricipalMapping" on the 5th MDB it now works.
I'm not sure why it is acting this way because even though the MQ
security attributes for the 4th Queue and the configuration of the MDB/
ListenerPort is identical to the 5th, I only had problems on the 5th
and needed to set the "Mapping-configuration alias" on the 5th to cure
this problem. ???
"Mapping-configuration alias" is (none) on the 4th but it is working
fine.
Happy that it works now, and thank you for your advice and
assistance.