使用 MyEclipse 设置 JBoss5
我一直在使用Weblogic,因为我的公司也使用它。 现在我想尝试 JBoss 作为替代方案。 我正在使用带有 MyEclipse 7.1 插件的 Eclipse。 我下载并解压了带有 Java JDK 1.5.0.14 的 JBoss 5.0.1GA。 我使用 MyEclipse 界面设置服务器并收到以下错误(无法在网上其他地方找到解决方案):
10:42:54,240 INFO [TransactionManagerService] Initializing recovery manager
10:42:54,300 FATAL [arjLoggerI18N] [com.arjuna.ats.internal.arjuna.recovery.fail] RecoveryManagerImple: cannot bind to socket on address /127.0.0.1 and port 4,712
10:42:54,310 ERROR [AbstractKernelController] Error installing to Create: name=TransactionManager state=Configured
com.arjuna.ats.arjuna.exceptions.FatalError: Recovery manager already active (or recovery port and address are in use)!
at com.arjuna.ats.internal.arjuna.recovery.RecoveryManagerImple.<init>(RecoveryManagerImple.java:146)
at com.arjuna.ats.arjuna.recovery.RecoveryManager.<init>(RecoveryManager.java:372)
at com.arjuna.ats.arjuna.recovery.RecoveryManager.manager(RecoveryManager.java:132)
at com.arjuna.ats.arjuna.recovery.RecoveryManager.manager(RecoveryManager.java:113)
at com.arjuna.ats.jbossatx.jta.TransactionManagerService.create(TransactionManagerService.java:207)
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.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59)
at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150)
at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
........................ .....
你知道这里出了什么问题吗?
谢谢,
谭
I have been using Weblogic as my company used it. Now I want to try JBoss as an alternative. I'm using Eclipse with MyEclipse 7.1 plugin. I downloaded and unzipped JBoss 5.0.1GA with Java JDK 1.5.0.14. I set the server up using MyEclipse interface and got the following error (couldn't find solution elsewhere online):
10:42:54,240 INFO [TransactionManagerService] Initializing recovery manager
10:42:54,300 FATAL [arjLoggerI18N] [com.arjuna.ats.internal.arjuna.recovery.fail] RecoveryManagerImple: cannot bind to socket on address /127.0.0.1 and port 4,712
10:42:54,310 ERROR [AbstractKernelController] Error installing to Create: name=TransactionManager state=Configured
com.arjuna.ats.arjuna.exceptions.FatalError: Recovery manager already active (or recovery port and address are in use)!
at com.arjuna.ats.internal.arjuna.recovery.RecoveryManagerImple.<init>(RecoveryManagerImple.java:146)
at com.arjuna.ats.arjuna.recovery.RecoveryManager.<init>(RecoveryManager.java:372)
at com.arjuna.ats.arjuna.recovery.RecoveryManager.manager(RecoveryManager.java:132)
at com.arjuna.ats.arjuna.recovery.RecoveryManager.manager(RecoveryManager.java:113)
at com.arjuna.ats.jbossatx.jta.TransactionManagerService.create(TransactionManagerService.java:207)
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.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59)
at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150)
at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
.............................
Any ideas what is wrong in here?
Thanks,
Tam
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我的第一个猜测是服务器正在尝试使用已在使用的端口。
您是否安装了其他网络服务器? 我知道有些服务会自动启动。
为了在 Windows 机器上检查这一点,我通常会重新启动,并且我启动的第一个程序是 Web 服务器,因此它会锁定所需的任何端口。
My first guess is that the server is trying to use a port that is alredy in use.
Do you have any other web servers installed? I know some have services that start up automatically.
To check for this on a windows box I usually reboot and the very first program I start up is the web server so it locks any ports it needs.
我有同样的问题。 就我而言,是 Skype 导致了这个问题。 当我关闭 Skype 时,服务器再次正常启动。
I had the same problem. In my case it was Skype that caused this problem. When I shutdown skype, the server starts ok again.
从任务管理器中关闭所有 java 处理文件并重新启动 IDE
Close all java processing file from task manager and restart your IDE