ejb发送消息部署到JBoss后运行程序报错。解决方法
发布时间:2010-06-14 17:11:51 文章来源:www.iduyao.cn 采编人员:星星草
ejb发送消息部署到JBoss后运行程序报错。。。。。。。。
纠结两天了,麻烦高手帮忙看看。。。。。。。。。。。。。。。。。。。。。
异常:
org.jboss.jms.exception.MessagingJMSException: Failed to invoke
at org.jboss.jms.client.delegate.DelegateSupport.handleThrowable(DelegateSupport.java:271)
at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.org$jboss$jms$client$delegate$ClientConnectionFactoryDelegate$createConnectionDelegate$aop(ClientConnectionFactoryDelegate.java:198)
at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.invokeNext(ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.java)
at org.jboss.jms.client.container.StateCreationAspect.handleCreateConnectionDelegate(StateCreationAspect.java:80)
at org.jboss.aop.advice.org.jboss.jms.client.container.StateCreationAspect0.invoke(StateCreationAspect0.java)
at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.invokeNext(ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.java)
at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.createConnectionDelegate(ClientConnectionFactoryDelegate.java)
at org.jboss.jms.client.JBossConnectionFactory.createConnectionInternal(JBossConnectionFactory.java:205)
at org.jboss.jms.client.JBossConnectionFactory.createQueueConnection(JBossConnectionFactory.java:101)
at org.jboss.jms.client.JBossConnectionFactory.createQueueConnection(JBossConnectionFactory.java:95)
at test.SendTest.send(SendTest.java:40)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.junit.internal.runners.TestMethodRunner.executeMethodBody(TestMethodRunner.java:99)
at org.junit.internal.runners.TestMethodRunner.runUnprotected(TestMethodRunner.java:81)
at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
at org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75)
at org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45)
at org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:66)
at org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:35)
at org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClassRunner.java:42)
at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
at org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:38)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
Caused by: java.lang.NoSuchMethodError: org.jboss.remoting.Client.connect(Lorg/jboss/remoting/ConnectionListener;Ljava/util/Map;)V
at org.jboss.jms.client.remoting.JMSRemotingConnection$1.run(JMSRemotingConnection.java:362)
at java.security.AccessController.doPrivileged(Native Method)
at org.jboss.jms.client.remoting.JMSRemotingConnection.start(JMSRemotingConnection.java:356)
at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.org$jboss$jms$client$delegate$ClientConnectionFactoryDelegate$createConnectionDelegate$aop(ClientConnectionFactoryDelegate.java:165)
... 29 more
查看了一下安装目录下的D:\Java\jboss\server\default\lib目录下的JBoss-remote.jar包,有connect(Lorg/jboss/remoting/ConnectionListener;Ljava/util/Map;)这个方法呀。
友情提示:
信息收集于互联网,如果您发现错误或造成侵权,请及时通知本站更正或删除,具体联系方式见页面底部联系我们,谢谢。
其他相似内容:
-
jboss不能部署项目
我的jboss可以正常启动,但是部署项目时报出大量错误... 请高手帮忙解决下这是怎么回事... 感激不尽 我的j...
-
错误: javax.naming.NameNotFoundException: StatfulEjbBean not bound
刚学Jboos用的是Myeclipse,刚写第一个程序就不会了。运行...
-
jboss出错了,求解。在线等。
操作系统,solaris10 x86 ,启动jboss报错。日志如下。
求解,在线等。
# sh /export/home/jboss/jboss-...
-
JBOSS Incomplete Deployment listing 问题?
运行JBOSS出下列信息:
16:44:01,953 ERROR [URLDeploymentScanner] Incomplete Deplo...
-
JBOSS 5 简单的EJB3.0 热布署没有问题 如里先布署再启动就 NullPointerException
JBOSS 5 简单的EJB3.0 热布署没有问题
但是...
-
Jboss6.0.0 final版能否进行目录布署
请教一下,Jboss6.0.0 final版能否进行目录布署,我用eclipse + jboss进行开发时,每次修改页面或...
-
规则引擎与工作流的区别在于?
小弟想请教一下各位达人,规则引擎与工作流的区别在于什么地方?权限?角色?还是其它什么地方?
还有一些问题...
-
更新Jboss_Root\server\default\MyApp.war下的文件,项目重新启动后,效果和没改前一样。
需求:
1,MyApp.war(文件夹名)项目放到Jbo...
-
jboss发布项目出错
删除项目JBOSS能正常启动
11:42:06,968 ERROR [AbstractKernelController] Error installing to Parse: name...
-
jboss + eclipse 如何设置才能不重启服务就能自动编译jsp
jboss + eclipse 如何设置才能不重启服务就能自动编译jsp
现有我每次...