我收到错误错误的用户名或密码当我尝试启动Eclipse时。我检查了日志,发现这个异常。我无法理解。
由于用户名或密码错误导致启动错误后关闭Eclipse
!SESSION 2012-06-25 16:57:53.716 -----------------------------------------------
eclipse.buildId=M20110909-1335
java.version=1.7.0_03
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.epp.package.jee.product
Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.jee.product
!ENTRY oracle.eclipse.tools.glassfish 4 1 2012-06-25 16:58:16.428
!MESSAGE GlassFish: error
!STACK 0
java.io.IOException: Server returned HTTP response code: 502 for URL: http://localhost:9249/__asadmin/__locations
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at com.sun.enterprise.jst.server.sunappsrv.commands.CommandRunner.handleReceive(CommandRunner.java:755)
at com.sun.enterprise.jst.server.sunappsrv.commands.CommandRunner.call(CommandRunner.java:639)
at com.sun.enterprise.jst.server.sunappsrv.commands.CommandRunner.call(CommandRunner.java:1)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: Server returned HTTP response code: 502 for URL: http://localhost:9249/__asadmin/__locations
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.HttpURLConnection.getResponseCode(Unknown Source)
at com.sun.enterprise.jst.server.sunappsrv.commands.CommandRunner.call(CommandRunner.java:611)
... 6 more
!ENTRY oracle.eclipse.tools.glassfish 4 150 2012-06-25 16:58:16.428
!MESSAGE Wrong user name or password.
Thnx mark,那我该怎么办现在? – khan
我不熟悉那个eclipse插件。该插件发生故障是因为它不应该仅仅因为它未能初始化就关闭Eclipse。由于您现在无法启动Eclipse并重新配置。您是否尝试使用谷歌搜索“eclipse glassfish http 502”? –
哈哈,我刚刚做了,第一次打的就是这个帖子!男孩,是Google快速:) –