當我嘗試在Win xp上啓動服務器時,在eclipse indigo 3.7 with glassfish 3.1中出現錯誤「憑證錯誤」。 Glassfish通常從命令行啓動。當我從eclipse啓動GS時:Eclipse Glassfish 3.1 CREDENTIAL ERROR
[#| 2011-09-29T17:30:58.386 + 0200 | SEVERE | glassfish3.1.1 | javax.enterprise.system.tools.admin.org.glassfish.server | _ThreadID = 17; _ThreadName =線程2; |日誌消息爲空。 java.rmi.NotBoundException:127.0.0.1 在sun.rmi.registry.RegistryImpl.unbind(RegistryImpl.java:140) 在org.glassfish.admin.mbeanserver.RMIConnectorStarter.stopAndUnexport(RMIConnectorStarter.java:314) 在org.glassfish.admin.mbeanserver.JMXStartupService $ JMXConnectorsStarterThread.shutdown(JMXStartupService.java:191) at org.glassfish.admin.mbeanserver.JMXStartupService.shutdown(JMXStartupService.java:146) at org.glassfish.admin.mbeanserver。在org.glassfish.kernel.event.EventsImpl.send(EventsImpl.java)上的JMXStartupService.access $ 000 :128) at com.sun.enterprise.v3.server.A ppServerStartup.stop(AppServerStartup.java:435) 在com.sun.enterprise.glassfish.bootstrap.GlassFishImpl.stop(GlassFishImpl.java:88) 在com.sun.enterprise.glassfish.bootstrap.GlassFishDecorator.stop(GlassFishDecorator。 java:68) at com.sun.enterprise.v3.admin.StopServer.doExecute(StopServer.java:70) at com.sun.enterprise.v3.admin.StopDomainCommand.execute(StopDomainCommand.java:95) at com.sun.enterprise.v3.admin.CommandRunnerImpl $ 1.execute(CommandRunnerImpl.java:355) 在com.sun.enterprise.v3.admin.CommandRunnerImpl $ 2.run(CommandRunnerImpl.java:383)
我承擔問題出在RMI上,eclipse中的glassfish適配器試圖啓動GS。沒有任何一個端口占用8686,這是RMI試圖進入GS的端口。有沒有解決方法。幫助