javax.jms.JMSSecurityException:User:null未经过身份验证

时间:2014-03-07 12:22:48

标签: postgresql-9.2 jboss-4.2.x

我刚刚将我的jboss从oracle迁移到postgresql。我做了以下更改: -

  1. 用postgres-ds.xml替换oracle-ds.xml
  2. 在%jboss4.3.2 \ server \ lib \目录中添加了postgresql-9.2-1003.jdbc3.jar。
  3. 现在,当我启动服务器时,我收到的错误是在下面给出的日志

    11:07:33,972 WARN [JmsActivation] jms激活失败org.jboss.resource.adapter.jms.inflow.JmsActivationSpec@3d79e35(ra = org.jboss.resource.adapter.jm     s.JmsResourceAdapter@24ce374a destination = student.jms.CURVE_BUILDER isTopic = false tx = true durable = false reconnect = 10 provider = java:/ DefaultJMSProvider user     = null 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 = 5)     javax.jms.JMSSecurityException:User:null未经过身份验证             at org.jboss.mq.security.SecurityManager.authenticate(SecurityManager.java:230)             at org.jboss.mq.security.ServerSecurityInterceptor.authenticate(ServerSecurityInterceptor.java:66)             在org.jboss.mq.server.TracingInterceptor.authenticate(TracingInterceptor.java:613)             在org.jboss.mq.server.JMSServerInvoker.authenticate(JMSServerInvoker.java:172)             at org.jboss.mq.il.jvm.JVMServerIL.authenticate(JVMServerIL.java:165)             在org.jboss.mq.Connection.authenticate(Connection.java:1067)             在org.jboss.mq.Connection。(Connection.java:252)             在org.jboss.mq.Connection。(Connection.java:323)             在org.jboss.mq.SpyConnection。(SpyConnection.java:116)             在org.jboss.mq.SpyConnectionFactory.internalCreateConnection(SpyConnectionFactory.java:137)             在org.jboss.mq.SpyConnectionFactory.createQueueConnection(SpyConnectionFactory.java:108)             在org.jboss.resource.adapter.jms.inflow.dlq.AbstractDLQHandler.setupDLQConnection(AbstractDLQHandler.java:137)             在org.jboss.resource.adapter.jms.inflow.dlq.AbstractDLQHandler.setup(AbstractDLQHandler.java:83)             在org.jboss.resource.adapter.jms.inflow.dlq.JBossMQDLQHandler.setup(JBossMQDLQHandler.java:48)             在org.jboss.resource.adapter.jms.inflow.JmsActivation.setupDLQ(JmsActivation.java:369)             在org.jboss.resource.adapter.jms.inflow.JmsActivation.setup(JmsActivation.java:315)             在org.jboss.resource.adapter.jms.inflow.JmsActivation $ SetupActivation.run(JmsActivation.java:635)             在org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:204)             在org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:275)             在EDU.oswego.cs.dl.util.concurrent.PooledExecutor $ Worker.run(PooledExecutor.java:756)             在java.lang.Thread.run(Thread.java:662)

  4. 我花了2天多来解决这个问题,但我仍然遇到同样的问题。有人可以帮帮我吗?

0 个答案:

没有答案