简体   繁体   English

用MyEclipse设置JBoss5

[英]setting up JBoss5 with MyEclipse

I have been using Weblogic as my company used it. 我一直在使用Weblogic,因为我的公司一直在使用它。 Now I want to try JBoss as an alternative. 现在,我想尝试使用JBoss作为替代方案。 I'm using Eclipse with MyEclipse 7.1 plugin. 我正在使用带有MyEclipse 7.1插件的Eclipse。 I downloaded and unzipped JBoss 5.0.1GA with Java JDK 1.5.0.14. 我下载了带有Java JDK 1.5.0.14的JBoss 5.0.1GA并解压缩。 I set the server up using MyEclipse interface and got the following error (couldn't find solution elsewhere online): 我使用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)

. ............................

Any ideas what is wrong in here? 有什么想法在这里有什么问题吗?

Thanks, 谢谢,

Tam

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? 您是否还安装了其他Web服务器? 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. 要在Windows盒子上检查此情况,我通常会重新启动,而我启动的第一个程序是Web服务器,因此它将锁定所需的任何端口。

I had the same problem. 我有同样的问题。 In my case it was Skype that caused this problem. 就我而言,正是Skype导致了此问题。 When I shutdown skype, the server starts ok again. 当我关闭Skype时,服务器再次正常启动。

Close all java processing file from task manager and restart your IDE 从任务管理器中关闭所有Java处理文件,然后重新启动IDE

在此处输入图片说明

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM