I can send a message to the queue authenticated by ldap but I cannot get the 
mbd to connect to consume the message.
please advise.

Below is my stack trace.



2006-12-13 13:06:35,680 INFO  
[org.jboss.resource.adapter.jms.inflow.JmsActivation] Attempting to reconnect 
[EMAIL PROTECTED]([EMAIL PROTECTED] destination=queue/tutorial/example 
isTopic=false tx=true durable=false clientID=akhammon reconnect=10 
provider=java:/DefaultJMSProvider user=akhammon pass=<not shown> maxMessages=1 
minSession=1 maxSession=15 keepAlive=60000 useDLQ=true 
DLQHandler=org.jboss.resource.adapter.jms.inflow.dlq.GenericDLQHandler 
DLQJndiName=queue/DLQ DLQUser=null DLQMaxResent=0)
2006-12-13 13:06:35,680 DEBUG 
[org.jboss.resource.adapter.jms.inflow.JmsActivation] Setting up [EMAIL 
PROTECTED]([EMAIL PROTECTED] destination=queue/tutorial/example isTopic=false 
tx=true durable=false clientID=akhammon reconnect=10 
provider=java:/DefaultJMSProvider user=akhammon pass=<not shown> maxMessages=1 
minSession=1 maxSession=15 keepAlive=60000 useDLQ=true 
DLQHandler=org.jboss.resource.adapter.jms.inflow.dlq.GenericDLQHandler 
DLQJndiName=queue/DLQ DLQUser=null DLQMaxResent=0)
2006-12-13 13:06:35,680 DEBUG 
[org.jboss.resource.adapter.jms.inflow.JmsActivation] Retrieving the jms 
provider adapter java:/DefaultJMSProvider for [EMAIL PROTECTED]([EMAIL 
PROTECTED] [EMAIL PROTECTED] active=true transacted=true)
2006-12-13 13:06:35,680 DEBUG 
[org.jboss.resource.adapter.jms.inflow.JmsActivation] Using jms provider 
adapter [EMAIL PROTECTED] for [EMAIL PROTECTED]([EMAIL PROTECTED] [EMAIL 
PROTECTED] active=true transacted=true)
2006-12-13 13:06:35,680 DEBUG 
[org.jboss.resource.adapter.jms.inflow.JmsActivation] Using context 
{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, 
jnp.partitionName=ADVENG, jnp.discoveryTimeout=5000, 
jnp.discoveryGroup=230.0.0.4, jnp.disableDiscovery=false, 
java.naming.provider.url=10.2.177.28:1100, 
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces:org.jboss.naming:org.jnp.interfaces,
 jnp.maxRetries=1, jnp.discoveryPort=1102, jnp.discoveryTTL=16} for [EMAIL 
PROTECTED]([EMAIL PROTECTED] destination=queue/tutorial/example isTopic=false 
tx=true durable=false clientID=akhammon reconnect=10 
provider=java:/DefaultJMSProvider user=akhammon pass=<not shown> maxMessages=1 
minSession=1 maxSession=15 keepAlive=60000 useDLQ=true 
DLQHandler=org.jboss.resource.adapter.jms.inflow.dlq.GenericDLQHandler 
DLQJndiName=queue/DLQ DLQUser=null DLQMaxResent=0)
2006-12-13 13:06:35,680 DEBUG 
[org.jboss.mq.referenceable.SpyDestinationObjectFactory] 
SpyDestinationObjectFactory->getObjectInstance()
2006-12-13 13:06:35,680 DEBUG 
[org.jboss.resource.adapter.jms.inflow.dlq.AbstractDLQHandler] Attempting to 
lookup dlq connection factory XAConnectionFactory
2006-12-13 13:06:35,680 DEBUG 
[org.jboss.mq.referenceable.SpyConnectionFactoryObjectFactory] Extracting 
SpyConnectionFactory from reference
2006-12-13 13:06:35,681 DEBUG 
[org.jboss.mq.referenceable.SpyConnectionFactoryObjectFactory] The 
GenericConnectionFactory is: [EMAIL PROTECTED] 
connectionProperties={ClientILService=org.jboss.mq.il.uil2.UILClientILService, 
UIL_TCPNODELAY_KEY=yes, UIL_CHUNKSIZE_KEY=1000000, UIL_CONNECTADDRESS_KEY=null, 
UIL_CONNECTPORT_KEY=0, UIL_SOTIMEOUT_KEY=120000, UIL_RECEIVE_REPLIES_KEY=No, 
UIL_ADDRESS_KEY=10.2.177.28, UIL_PORT_KEY=8093, PingPeriod=60000, 
UIL_BUFFERSIZE_KEY=2048}]
2006-12-13 13:06:35,681 DEBUG 
[org.jboss.resource.adapter.jms.inflow.dlq.AbstractDLQHandler] Got dlq 
connection factory [EMAIL PROTECTED] from XAConnectionFactory
2006-12-13 13:06:35,681 DEBUG 
[org.jboss.resource.adapter.jms.inflow.dlq.AbstractDLQHandler] Attempting to 
create queue connection with user null
2006-12-13 13:06:35,682 DEBUG [org.jboss.mq.il.uil2.SocketManager] Begin 
ReadTask.run
2006-12-13 13:06:35,682 DEBUG [org.jboss.mq.il.uil2.SocketManager] Begin 
WriteTask.run
2006-12-13 13:06:35,682 DEBUG [org.jboss.mq.il.uil2.SocketManager] Created 
ObjectOutputStream
2006-12-13 13:06:35,682 DEBUG [org.jboss.mq.il.uil2.SocketManager] Begin 
ReadTask.run
2006-12-13 13:06:35,682 DEBUG [org.jboss.mq.il.uil2.SocketManager] Begin 
WriteTask.run
2006-12-13 13:06:35,682 DEBUG [org.jboss.mq.il.uil2.SocketManager] Created 
ObjectOutputStream
2006-12-13 13:06:35,683 DEBUG [org.jboss.mq.il.uil2.SocketManager] Created 
ObjectInputStream
2006-12-13 13:06:35,683 ERROR [org.jboss.mq.sm.file.DynamicLoginModule] Failed 
to load DynamicSecurityManager
java.lang.ClassCastException: org.jboss.mq.sm.jdbc.JDBCStateManager cannot be 
cast to org.jboss.mq.sm.file.DynamicStateManager
        at 
org.jboss.mq.sm.file.DynamicLoginModule.initialize(DynamicLoginModule.java:68)
        at sun.reflect.GeneratedMethodAccessor102.invoke(Unknown Source)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at javax.security.auth.login.LoginContext.invoke(LoginContext.java:756)
        at 
javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
        at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
        at java.security.AccessController.doPrivileged(Native Method)
        at 
javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
        at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
        at 
org.jboss.security.plugins.JaasSecurityManager.defaultLogin(JaasSecurityManager.java:601)
        at 
org.jboss.security.plugins.JaasSecurityManager.authenticate(JaasSecurityManager.java:535)
        at 
org.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurityManager.java:344)
        at 
org.jboss.mq.security.SecurityManager.authenticate(SecurityManager.java:215)
        at 
org.jboss.mq.security.ServerSecurityInterceptor.authenticate(ServerSecurityInterceptor.java:66)
        at 
org.jboss.mq.server.TracingInterceptor.authenticate(TracingInterceptor.java:613)
        at 
org.jboss.mq.server.JMSServerInvoker.authenticate(JMSServerInvoker.java:172)
        at 
org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(ServerSocketManagerHandler.java:235)
        at 
org.jboss.mq.il.uil2.SocketManager$ReadTask.handleMsg(SocketManager.java:395)
        at org.jboss.mq.il.uil2.msgs.BaseMsg.run(BaseMsg.java:398)
        at 
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743)
        at java.lang.Thread.run(Thread.java:619)
2006-12-13 13:06:35,684 DEBUG [org.jboss.mq.il.uil2.SocketManager] Created 
ObjectInputStream
2006-12-13 13:06:35,685 DEBUG [org.jboss.mq.il.uil2.ServerSocketManagerHandler] 
Exiting on IOE
java.io.InterruptedIOException: Operation interrupted
        at java.net.SocketInputStream.socketRead0(Native Method)
        at java.net.SocketInputStream.read(SocketInputStream.java:129)
        at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
        at java.io.BufferedInputStream.read(BufferedInputStream.java:237)
        at 
org.jboss.util.stream.NotifyingBufferedInputStream.read(NotifyingBufferedInputStream.java:79)
        at 
java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2247)
        at 
java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(ObjectInputStream.java:2427)
        at 
java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStream.java:2497)
        at 
java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:2569)
        at 
java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputStream.java:2718)
        at java.io.ObjectInputStream.readByte(ObjectInputStream.java:895)
        at 
org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:316)
        at java.lang.Thread.run(Thread.java:619)
2006-12-13 13:06:35,686 DEBUG [org.jboss.mq.il.uil2.SocketManager] End 
WriteTask.run
2006-12-13 13:06:35,686 DEBUG [org.jboss.mq.il.uil2.SocketManager] End 
ReadTask.run
2006-12-13 13:06:35,686 ERROR 
[org.jboss.resource.adapter.jms.inflow.JmsActivation] Unable to reconnect 
[EMAIL PROTECTED]([EMAIL PROTECTED] destination=queue/tutorial/example 
isTopic=false tx=true durable=false clientID=akhammon reconnect=10 
provider=java:/DefaultJMSProvider user=akhammon pass=<not shown> maxMessages=1 
minSession=1 maxSession=15 keepAlive=60000 useDLQ=true 
DLQHandler=org.jboss.resource.adapter.jms.inflow.dlq.GenericDLQHandler 
DLQJndiName=queue/DLQ DLQUser=null DLQMaxResent=0)
javax.jms.JMSSecurityException: User: null is NOT authenticated
        at 
org.jboss.mq.security.SecurityManager.authenticate(SecurityManager.java:230)
        at 
org.jboss.mq.security.ServerSecurityInterceptor.authenticate(ServerSecurityInterceptor.java:66)
        at 
org.jboss.mq.server.TracingInterceptor.authenticate(TracingInterceptor.java:613)
        at 
org.jboss.mq.server.JMSServerInvoker.authenticate(JMSServerInvoker.java:172)
        at 
org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(ServerSocketManagerHandler.java:235)
        at 
org.jboss.mq.il.uil2.SocketManager$ReadTask.handleMsg(SocketManager.java:395)
        at org.jboss.mq.il.uil2.msgs.BaseMsg.run(BaseMsg.java:398)
        at 
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743)
        at java.lang.Thread.run(Thread.java:619)
2006-12-13 13:06:35,687 DEBUG 
[org.jboss.resource.adapter.jms.inflow.JmsActivation] Tearing down [EMAIL 
PROTECTED]([EMAIL PROTECTED] destination=queue/tutorial/example isTopic=false 
tx=true durable=false clientID=akhammon reconnect=10 
provider=java:/DefaultJMSProvider user=akhammon pass=<not shown> maxMessages=1 
minSession=1 maxSession=15 keepAlive=60000 useDLQ=true 
DLQHandler=org.jboss.resource.adapter.jms.inflow.dlq.GenericDLQHandler 
DLQJndiName=queue/DLQ DLQUser=null DLQMaxResent=0)
2006-12-13 13:06:35,687 DEBUG 
[org.jboss.resource.adapter.jms.inflow.JmsActivation] Removing DLQ [EMAIL 
PROTECTED]([EMAIL PROTECTED] [EMAIL PROTECTED] active=true [EMAIL PROTECTED] 
transacted=true)
2006-12-13 13:06:35,687 DEBUG 
[org.jboss.resource.adapter.jms.inflow.JmsActivation] Tearing down complete 
[EMAIL PROTECTED]([EMAIL PROTECTED] [EMAIL PROTECTED] active=true 
transacted=true)
2006-12-13 13:06:35,687 DEBUG [org.jboss.mq.il.uil2.SocketManager] End 
ReadTask.run
2006-12-13 13:06:35,687 DEBUG [org.jboss.mq.il.uil2.SocketManager] End 
WriteTask.run


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3993521#3993521

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3993521
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to