MyEclipse 2015 WebSphere 6.1'发生了多个问题'服务器启动时

时间:2015-06-05 13:14:02

标签: java ear myeclipse websphere-6.1

我有一个带有3个EAR的WebSphere 6.1服务器,我最近在ME2015中导入并迁移了它。每当我启动服务器时,我都会出现以下错误。

com.ibm.websphere.management.cmdframework.CommandMgr.getCommandMgr(Lcom/ibm/websphere/management/AdminClient;)Lcom/ibm/websphere/management/cmdframework/CommandMgr;

(重复的错误信息是:com.ibm.websphere.management.cmdframework.CommandMgr.getCommandMgr(Lcom/ibm/websphere/management/AdminClient;)Lcom/ibm/websphere/management/cmdframework/CommandMgr;

错误似乎无关紧要,因为我的服务器和应用程序启动并正常运行。我还是想看看问题是什么。谷歌并没有真正为我带来任何结果。

.log文件的内容,每次出现此错误都相同:

!ENTRY com.genuitec.eclipse.blue.websphere.core 4 0 2015-06-08 09:20:41.131
!MESSAGE com.ibm.websphere.management.cmdframework.CommandMgr.getCommandMgr(Lcom/ibm/websphere/management/AdminClient;)Lcom/ibm/websphere/management/cmdframework/CommandMgr;
!STACK 0
java.lang.NoSuchMethodError: com.ibm.websphere.management.cmdframework.CommandMgr.getCommandMgr(Lcom/ibm/websphere/management/AdminClient;)Lcom/ibm/websphere/management/cmdframework/CommandMgr;
    at com.genuitec.eclipse.blue.websphere.admin.proxy.WebSphereAdminClientProxy.getApplicationState(WebSphereAdminClientProxy.java:407)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at com.genuitec.eclipse.blue.websphere.admin.WebsphereAdminFactory$PassThroughProxyHandler.invoke(WebsphereAdminFactory.java:161)
    at com.genuitec.eclipse.blue.websphere.admin.WebsphereAdminFactory$PassThroughProxyHandler$1.run(WebsphereAdminFactory.java:127)
    at com.genuitec.eclipse.blue.websphere.admin.internal.WebSphereAdminThread.run(WebSphereAdminThread.java:55)

1 个答案:

答案 0 :(得分:1)

根据您的信息,这是MyEclipse代码中的错误。我会提出这个问题。对于错误消息感到抱歉,但它不会以任何方式影响您的代码。 MyEclipse只是试图检查部署的模块的启动/停止状态。看起来在WebSphere的后续版本中更改了方法签名。

如果您使用的是CI流,这将是获得修复的最快捷方式,但我无法确切地说明这一点。