简体   繁体   English

帮助我不知道如何处理此错误(java.lang.RuntimeException:EMBEDDED Broker启动失败:代码= 1)

[英]Help I don't know how to handle this error (java.lang.RuntimeException: EMBEDDED Broker start failure:code = 1)

I follow this tutorial ( http://www.netbeans.org/kb/docs/websvc/rest-mysql.html ) and it's success, but when i try with my database, it become error. 我遵循了本教程( http://www.netbeans.org/kb/docs/websvc/rest-mysql.html )并成功,但是当我尝试使用数据库时,它会出错。 I already follow step by step , but still error, anyone know how to handle this error? 我已经按部就班了,但仍然出错,有人知道如何处理此错误? or it's bug too? 还是它的错误?

MQJMSRA_RA4001: start:Aborting:Exception starting EMBEDDED broker=EMBEDDED Broker start failure:code = 1 java.lang.RuntimeException: EMBEDDED Broker start failure:code = 1 at com.sun.messaging.jms.ra.EmbeddedBrokerRunner.start(EmbeddedBrokerRunner.java:268) at com.sun.messaging.jms.ra.ResourceAdapter.start(ResourceAdapter.java:472) MQJMSRA_RA4001:start:Aborting:Exception start EMBEDDED broker = EMBEDDED Broker启动失败:代码= 1 java.lang.RuntimeException:EMBEDDED Broker启动失败:在com.sun.messaging.jms.ra.EmbeddedBrokerRunner.start(EmbeddedBrokerRunner。 java:268)在com.sun.messaging.jms.ra.ResourceAdapter.start(ResourceAdapter.java:472)

I had the same issue. 我遇到过同样的问题。 Apparently, this happens when you change your server IP address and the lock file keeps the old IP. 显然,当您更改服务器IP地址并且锁定文件保留了旧IP时,就会发生这种情况。 Simply delete the lock file: \\imq\\instances\\imqbroker\\lock 只需删除锁定文件:\\ imq \\ instances \\ imqbroker \\ lock

Source: http://old.nabble.com/Glassfish-V2-failed-to-start,-broker%3Dembedded,-failure:code-%3D-1-td17728741.html 来源: http : //old.nabble.com/Glassfish-V2-failed-to-start,-broker%3Dembedded,-failure : code-%3D-1-td17728741.html

This seems to be related to bug in GF. 这似乎与GF中的错误有关。 Probably upgrade to later GF version will help. 可能升级到更高的GF版本会有所帮助。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何处理错误java.lang.RuntimeException / NullPointerException - How to handle error java.lang.RuntimeException/NullPointerException Mosquitto Java代理显示错误:线程“ main”中的异常java.lang.RuntimeException:找不到资源“ config / moquette.conf” - Mosquitto java broker is showing error: Exception in thread “main” java.lang.RuntimeException: Can't locate the resource “config/moquette.conf” 错误java.lang.RuntimeException:无法启动活动 - Error java.lang.RuntimeException: Unable to start activity Android代码NPE错误:java.lang.RuntimeException:无法启动活动ComponentInfo - Android Code NPE Error : java.lang.RuntimeException: Unable to start activity ComponentInfo 应用程序在应用程序启动时崩溃并出现错误 java.lang.RuntimeException: - App crashes on app start with error java.lang.RuntimeException: Java.lang.RuntimeException:无法启动Android中的活动ComponentInfo错误 - Java.lang.RuntimeException: Unable to start activity ComponentInfo Error in Android 出现致命错误java.lang.RuntimeException:无法启动活动 - Getting Error Fatal java.lang.RuntimeException: Unable to start activity 收到错误java.lang.RuntimeException:无法启动活动ComponentInfo - Getting error java.lang.RuntimeException: Unable to start activity ComponentInfo 如何解决java.lang.RuntimeException:无法启动活动ComponentInfo - How to combat java.lang.RuntimeException: Unable to start activity ComponentInfo 如何解决java.lang.RuntimeException:无法启动活动? - How to solve java.lang.RuntimeException: Unable to start activity?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM