Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: eclipse
    • Labels:
      None
    • Environment:

      Description

      When I try to run/debug the Glassfish server using the Glassfish plugin I am getting "Wrong user name or password" pop-up message.

      Hier is extract fom the eclipse log file
      .metadata\.log :

      !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-11 13:44:37.080
      !MESSAGE GlassFish: in SUN SunAppServerLaunch launch

      !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-11 13:44:37.095
      !MESSAGE GlassFish: reading from domain.xml adminServerPortNumber=7048

      !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-11 13:44:37.095
      !MESSAGE GlassFish: in SunAppServer initialize done readServerConfiguration

      !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-11 13:45:00.807
      !MESSAGE GlassFish: apparently CREDENTIAL_ERROR

      !ENTRY oracle.eclipse.tools.glassfish 4 150 2013-04-11 13:45:00.807
      !MESSAGE Wrong user name or password.

      I am receiving the same message always :

      • with correct Admin Name/Admin Password (I have checked this in browser http://localhost:7048/login.jsf)
      • with incorrect Admin Name/Admin Password
      • with "Anonymous Connection for Admin Commands" (anonymous-user-enabled on Glassfish)

      After "Wrong user name or password" pop-up message is displayed, the Eclipse server console continues to write server output and after approx. 70 sec. Glassfish is running. Unfortunately Eclipse servers view displays Glassfish instance as "stopped".

      It seems like the command used to start Glassfish from plugin is missing username/password parameters.

        Activity

        Hide
        vince kraemer added a comment -

        dm.java.net: have you set a password on the glassfish domain where this is happening or is the domain 'just the default'?

        Show
        vince kraemer added a comment - dm.java.net: have you set a password on the glassfish domain where this is happening or is the domain 'just the default'?
        Hide
        dm.java.net added a comment -

        I have tried several scenarios.

        I have set Administrator Password on glassfish domain and configured plugin to use it.
        Plugin stores this values in .metadata\.plugins\org.eclipse.wst.server.core\servers.xml
        But when I start glassfish in eclipse -> "Wrong user name or password" pop-up message.

        Then I have deleted glassfish Administrator Password and reconfigured plugin
        with "Anonymous Connection for Admin Commands".
        And when I start glassfish in eclipse now -> the same "Wrong user name or password" pop-up message comes up.

        Show
        dm.java.net added a comment - I have tried several scenarios. I have set Administrator Password on glassfish domain and configured plugin to use it. Plugin stores this values in .metadata\.plugins\org.eclipse.wst.server.core\servers.xml But when I start glassfish in eclipse -> "Wrong user name or password" pop-up message. Then I have deleted glassfish Administrator Password and reconfigured plugin with "Anonymous Connection for Admin Commands". And when I start glassfish in eclipse now -> the same "Wrong user name or password" pop-up message comes up.
        Hide
        piotrik added a comment -

        It seems that the values were not taken from GUI and stored at all. I have fixed it and it helped. After the update will be up on java.net and tested, I will close the bug.

        Show
        piotrik added a comment - It seems that the values were not taken from GUI and stored at all. I have fixed it and it helped. After the update will be up on java.net and tested, I will close the bug.
        Hide
        dm.java.net added a comment -

        I've just tried GlassFish Tools 5.2.2.201304100559 and got the same "Wrong user name or password" pop-up message.

        Perhaps the values from glassfish domain.xml file are not correctly loaded into internal map - take a look into method
        oracle.eclipse.tools.glassfish.GlassfishGenericServer.readServerConfiguration()

        Show
        dm.java.net added a comment - I've just tried GlassFish Tools 5.2.2.201304100559 and got the same "Wrong user name or password" pop-up message. Perhaps the values from glassfish domain.xml file are not correctly loaded into internal map - take a look into method oracle.eclipse.tools.glassfish.GlassfishGenericServer.readServerConfiguration()
        Hide
        dm.java.net added a comment -

        The same error with GlassFish Tools 5.2.2.201304150821

        Show
        dm.java.net added a comment - The same error with GlassFish Tools 5.2.2.201304150821
        Hide
        piotrik added a comment -

        The admin name nad password are not loaded from domain.xml. I have stupid question - have you tried to register the server again? Update of the plugin is in this case not enough.

        Show
        piotrik added a comment - The admin name nad password are not loaded from domain.xml. I have stupid question - have you tried to register the server again? Update of the plugin is in this case not enough.
        Hide
        dm.java.net added a comment -

        I have made little experiment : I have started my eclipse in new fresh workspace.
        Then I have installed glassfish plugin (GlassFish Tools 5.2.2.201304150821).
        After that I have created new server configuration in eclipse.

        Then I’ve tried to start this new glassfish configuration in eclipse and it worked (glassfish was up and running).
        After that I’ve added my EAR-application into the glassfish server -> glassfish plugin successfully published my application.

        Then I have stopped glassfish and tried to start it again -> I got the same "Wrong user name or password" pop-up message.

        Hier is the extract from eclipse log file .metadata\.log :

        !SESSION 2013-04-16 21:55:10.880 -----------------------------------------------
        eclipse.buildId=M20130204-1200
        java.version=1.7.0_17
        java.vendor=Oracle Corporation
        BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
        Framework arguments: -showlocation -product org.eclipse.epp.package.jee.product -pluginCustomization C:\gcdm/eclipse/preferences.ini
        Command-line arguments: -os win32 -ws win32 -arch x86_64 -showlocation -product org.eclipse.epp.package.jee.product -data C:\gcdm/projects/branches/3.4.6/ -pluginCustomization C:\gcdm/eclipse/preferences.ini

        !ENTRY org.eclipse.ui 4 4 2013-04-16 21:55:16.479
        !MESSAGE Unable to find Action Set: org.eclipse.help.internal.ui.HelpActionSet

        !ENTRY org.eclipse.mylyn.tasks.ui 4 0 2013-04-16 21:55:19.611
        !MESSAGE Could not load repository template extension contributed by org.sonar.ide.eclipse.mylyn.ui with connectorKind jira

        !ENTRY org.eclipse.m2e.logback.appender 2 0 2013-04-16 21:55:28.176
        Unable to render embedded object: File (MESSAGE Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent) not found.

        !ENTRY org.eclipse.m2e.logback.appender 2 0 2013-04-16 21:55:28.179
        Unable to render embedded object: File (MESSAGE Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent) not found.

        !ENTRY org.eclipse.m2e.logback.appender 2 0 2013-04-16 21:55:30.321
        !MESSAGE The artifact jsch:jsch:jar:0.1.29 has been relocated to com.jcraft:jsch:jar:0.1.29

        !ENTRY org.eclipse.m2e.logback.appender 2 0 2013-04-16 21:55:38.152
        !MESSAGE The artifact xstream:xstream:jar:1.2.2 has been relocated to com.thoughtworks.xstream:xstream:jar:1.2.2

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:55:51.568
        !MESSAGE GlassFish: in SunAppServer CTOR

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:55:51.568
        !MESSAGE GlassFish: in SunAppServer initializeGlassFish 3.1 at localhost

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:55:51.568
        !MESSAGE GlassFish: In setDefaults for GlassFish 3.1

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:55:51.568
        !MESSAGE GlassFish: In setDefaults for GlassFish 3.1

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:55:51.568
        !MESSAGE GlassFish: In setDefaults for GlassFish 3.1

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:55:51.584
        !MESSAGE GlassFish: In setDefaults for GlassFish 3.1

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:55:51.911
        !MESSAGE GlassFish: In setDefaults for GlassFish 3.1

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:55:51.911
        !MESSAGE GlassFish: In setDefaults for GlassFish 3.1

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:56:52.096
        !MESSAGE GlassFish: in SunAppServer -------validate

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:56:55.825
        !MESSAGE GlassFish: in SunAppServer -------validate

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:56:55.871
        !MESSAGE GlassFish: in SunAppServer -------validate

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:56:56.074
        !MESSAGE GlassFish: in SunAppServer -------validate

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:56:56.433
        !MESSAGE GlassFish: in SunAppServer -------validate

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:56:56.589
        !MESSAGE GlassFish: in SunAppServer -------validate

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:56:56.995
        !MESSAGE GlassFish: in SunAppServer -------validate

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:56:57.572
        !MESSAGE GlassFish: in SunAppServer -------validate

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:56:58.835
        !MESSAGE GlassFish: in SunAppServer -------validate

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:56:58.976
        !MESSAGE GlassFish: in SunAppServer -------validate

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:56:59.241
        !MESSAGE GlassFish: in SunAppServer -------validate

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:56:59.444
        !MESSAGE GlassFish: in SunAppServer -------validate

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:56:59.959
        !MESSAGE GlassFish: in SunAppServer -------validate

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:00.115
        !MESSAGE GlassFish: in SunAppServer -------validate

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:00.473
        !MESSAGE GlassFish: in SunAppServer -------validate

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:00.583
        !MESSAGE GlassFish: in SunAppServer -------validate

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:01.987
        !MESSAGE GlassFish: in SunAppServer -------validate

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:02.127
        !MESSAGE GlassFish: in SunAppServer -------validate

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:02.845
        !MESSAGE GlassFish: in SunAppServer -------validate

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:05.185
        !MESSAGE GlassFish: in SunAppServer -------validate

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:05.497
        !MESSAGE GlassFish: in SunAppServer -------validate

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:05.699
        !MESSAGE GlassFish: in SunAppServer -------validate

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:05.902
        !MESSAGE GlassFish: in SunAppServer -------validate

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:06.011
        !MESSAGE GlassFish: in SunAppServer -------validate

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:06.323
        !MESSAGE GlassFish: in SunAppServer -------validate

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:06.417
        !MESSAGE GlassFish: in SunAppServer -------validate

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:06.620
        !MESSAGE GlassFish: in SunAppServer -------validate

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:06.729
        !MESSAGE GlassFish: in SunAppServer -------validate

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:06.823
        !MESSAGE GlassFish: in SunAppServer -------validate

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:07.244
        !MESSAGE GlassFish: in SunAppServer -------validate

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:07.384
        !MESSAGE GlassFish: in SunAppServer -------validate

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:07.665
        !MESSAGE GlassFish: in SunAppServer -------validate

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:07.759
        !MESSAGE GlassFish: in SunAppServer -------validate

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:07.915
        !MESSAGE GlassFish: reading from domain.xml adminServerPortNumber=7048

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:07.915
        !MESSAGE GlassFish: in SunAppServer initialize done readServerConfiguration

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:16.027
        !MESSAGE GlassFish: in SunAppServer -------validate

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:16.073
        !MESSAGE GlassFish: reading from domain.xml adminServerPortNumber=7048

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:16.073
        !MESSAGE GlassFish: in SunAppServer initialize done readServerConfiguration

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:17.228
        !MESSAGE GlassFish: in SunAppServer CTOR

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:17.228
        !MESSAGE GlassFish: in SunAppServer initializeGF3-runtime

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:17.228
        !MESSAGE GlassFish: reading from domain.xml adminServerPortNumber=7048

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:17.243
        !MESSAGE GlassFish: in SunAppServer initialize done readServerConfiguration

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:26.151
        !MESSAGE GlassFish: in Save SunAppServer

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:26.167
        !MESSAGE GlassFish: in SunAppServer CTOR

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:26.167
        !MESSAGE GlassFish: in SunAppServer initializeGF3-runtime

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:26.198
        !MESSAGE GlassFish: reading from domain.xml adminServerPortNumber=7048

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:26.198
        !MESSAGE GlassFish: in SunAppServer initialize done readServerConfiguration

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:26.198
        !MESSAGE GlassFish: in Save SunAppServer

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:31.003
        !MESSAGE GlassFish: in SunAppServerBehaviour CTOR

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:31.003
        !MESSAGE GlassFish: in SunAppServerBehaviour initialize

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:31.003
        !MESSAGE GlassFish: in SunAppServer CTOR

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:31.003
        !MESSAGE GlassFish: in SunAppServer initializeGF3-runtime

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:31.018
        !MESSAGE GlassFish: reading from domain.xml adminServerPortNumber=7048

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:31.034
        !MESSAGE GlassFish: in SunAppServer initialize done readServerConfiguration

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:31.205
        Unable to render embedded object: File ( in SunAppServerBehaviour initialize is running) not found.!

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:31.221
        !MESSAGE GlassFish: getV3ServerStatus DOMAINDIR_MATCHING

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:31.221
        !MESSAGE GlassFish: in SunAppServerBehaviour initialize V3 DOMAINDIR_MATCHING

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:31.299
        !MESSAGE GlassFish: in SunAppServer CTOR

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:31.299
        !MESSAGE GlassFish: in SunAppServer initializeGF3-runtime

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:31.315
        !MESSAGE GlassFish: reading from domain.xml adminServerPortNumber=7048

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:31.315
        !MESSAGE GlassFish: in SunAppServer initialize done readServerConfiguration

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:42.484
        !MESSAGE GlassFish: in SunAppServer -------validate

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:42.500
        !MESSAGE GlassFish: reading from domain.xml adminServerPortNumber=7048

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:42.515
        !MESSAGE GlassFish: in SunAppServer initialize done readServerConfiguration

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:42.531
        !MESSAGE GlassFish: in Save SunAppServer

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:58:54.899
        !MESSAGE GlassFish: in SunAppServerBehaviour restart

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:58:54.899
        !MESSAGE GlassFish: in SunAppServer CTOR

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:58:54.899
        !MESSAGE GlassFish: in SunAppServer initializeGF3-runtime

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:58:54.915
        !MESSAGE GlassFish: reading from domain.xml adminServerPortNumber=7048

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:58:54.915
        !MESSAGE GlassFish: in SunAppServer initialize done readServerConfiguration

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:58:58.066
        !MESSAGE GlassFish: in SUN SunAppServerLaunch launch

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:58:58.066
        !MESSAGE GlassFish: reading from domain.xml adminServerPortNumber=7048

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:58:58.066
        !MESSAGE GlassFish: in SunAppServer initialize done readServerConfiguration

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:59:05.710
        !MESSAGE GlassFish: getV3ServerStatus DOMAINDIR_MATCHING

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:59:05.726
        !MESSAGE GlassFish: in SunAppServerBehaviour restart done

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:59:57.019
        !MESSAGE GlassFish: in SunAppServer CTOR

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:59:57.019
        !MESSAGE GlassFish: in SunAppServer initializeGF3-runtime

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:59:57.019
        !MESSAGE GlassFish: reading from domain.xml adminServerPortNumber=7048

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:59:57.019
        !MESSAGE GlassFish: in SunAppServer initialize done readServerConfiguration

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 22:00:03.352
        !MESSAGE GlassFish: in SunAppServer CTOR

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 22:00:03.352
        !MESSAGE GlassFish: in SunAppServer initializeGF3-runtime

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 22:00:03.368
        !MESSAGE GlassFish: reading from domain.xml adminServerPortNumber=7048

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 22:00:03.368
        !MESSAGE GlassFish: in SunAppServer initialize done readServerConfiguration

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 22:00:03.383
        !MESSAGE GlassFish: in Save SunAppServer

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 22:00:03.430
        !MESSAGE GlassFish: AssembleModules assembleRoot=C:/gcdm/glassfish3/glassfish/domains/gcdm-controller-app/eclipseApps/gcdm-controller-app

        ...

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 22:00:11.870
        !MESSAGE GlassFish: AssembleModules assembleRoot=C:/gcdm/glassfish3/glassfish/domains/gcdm-controller-app/eclipseApps/gcdm-controller-app/gcdm-dataquality-ejb-3.4.6-SNAPSHOT_jar

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 22:01:44.175
        !MESSAGE GlassFish: done publishModule in 100666 ms

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 22:02:58.275
        !MESSAGE GlassFish: in SunAppServerBehaviour stop

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 22:03:12.268
        !MESSAGE GlassFish: in SUN SunAppServerLaunch launch

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 22:03:12.315
        !MESSAGE GlassFish: reading from domain.xml adminServerPortNumber=7048

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 22:03:12.331
        !MESSAGE GlassFish: in SunAppServer initialize done readServerConfiguration

        !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 22:03:35.965
        !MESSAGE GlassFish: apparently CREDENTIAL_ERROR

        !ENTRY oracle.eclipse.tools.glassfish 4 150 2013-04-16 22:03:35.980
        !MESSAGE Wrong user name or password.

        Show
        dm.java.net added a comment - I have made little experiment : I have started my eclipse in new fresh workspace. Then I have installed glassfish plugin (GlassFish Tools 5.2.2.201304150821). After that I have created new server configuration in eclipse. Then I’ve tried to start this new glassfish configuration in eclipse and it worked (glassfish was up and running). After that I’ve added my EAR-application into the glassfish server -> glassfish plugin successfully published my application. Then I have stopped glassfish and tried to start it again -> I got the same "Wrong user name or password" pop-up message. Hier is the extract from eclipse log file .metadata\.log : !SESSION 2013-04-16 21:55:10.880 ----------------------------------------------- eclipse.buildId=M20130204-1200 java.version=1.7.0_17 java.vendor=Oracle Corporation BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US Framework arguments: -showlocation -product org.eclipse.epp.package.jee.product -pluginCustomization C:\gcdm/eclipse/preferences.ini Command-line arguments: -os win32 -ws win32 -arch x86_64 -showlocation -product org.eclipse.epp.package.jee.product -data C:\gcdm/projects/branches/3.4.6/ -pluginCustomization C:\gcdm/eclipse/preferences.ini !ENTRY org.eclipse.ui 4 4 2013-04-16 21:55:16.479 !MESSAGE Unable to find Action Set: org.eclipse.help.internal.ui.HelpActionSet !ENTRY org.eclipse.mylyn.tasks.ui 4 0 2013-04-16 21:55:19.611 !MESSAGE Could not load repository template extension contributed by org.sonar.ide.eclipse.mylyn.ui with connectorKind jira !ENTRY org.eclipse.m2e.logback.appender 2 0 2013-04-16 21:55:28.176 Unable to render embedded object: File (MESSAGE Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent) not found. !ENTRY org.eclipse.m2e.logback.appender 2 0 2013-04-16 21:55:28.179 Unable to render embedded object: File (MESSAGE Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent) not found. !ENTRY org.eclipse.m2e.logback.appender 2 0 2013-04-16 21:55:30.321 !MESSAGE The artifact jsch:jsch:jar:0.1.29 has been relocated to com.jcraft:jsch:jar:0.1.29 !ENTRY org.eclipse.m2e.logback.appender 2 0 2013-04-16 21:55:38.152 !MESSAGE The artifact xstream:xstream:jar:1.2.2 has been relocated to com.thoughtworks.xstream:xstream:jar:1.2.2 !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:55:51.568 !MESSAGE GlassFish: in SunAppServer CTOR !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:55:51.568 !MESSAGE GlassFish: in SunAppServer initializeGlassFish 3.1 at localhost !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:55:51.568 !MESSAGE GlassFish: In setDefaults for GlassFish 3.1 !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:55:51.568 !MESSAGE GlassFish: In setDefaults for GlassFish 3.1 !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:55:51.568 !MESSAGE GlassFish: In setDefaults for GlassFish 3.1 !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:55:51.584 !MESSAGE GlassFish: In setDefaults for GlassFish 3.1 !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:55:51.911 !MESSAGE GlassFish: In setDefaults for GlassFish 3.1 !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:55:51.911 !MESSAGE GlassFish: In setDefaults for GlassFish 3.1 !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:56:52.096 !MESSAGE GlassFish: in SunAppServer -------validate !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:56:55.825 !MESSAGE GlassFish: in SunAppServer -------validate !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:56:55.871 !MESSAGE GlassFish: in SunAppServer -------validate !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:56:56.074 !MESSAGE GlassFish: in SunAppServer -------validate !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:56:56.433 !MESSAGE GlassFish: in SunAppServer -------validate !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:56:56.589 !MESSAGE GlassFish: in SunAppServer -------validate !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:56:56.995 !MESSAGE GlassFish: in SunAppServer -------validate !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:56:57.572 !MESSAGE GlassFish: in SunAppServer -------validate !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:56:58.835 !MESSAGE GlassFish: in SunAppServer -------validate !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:56:58.976 !MESSAGE GlassFish: in SunAppServer -------validate !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:56:59.241 !MESSAGE GlassFish: in SunAppServer -------validate !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:56:59.444 !MESSAGE GlassFish: in SunAppServer -------validate !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:56:59.959 !MESSAGE GlassFish: in SunAppServer -------validate !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:00.115 !MESSAGE GlassFish: in SunAppServer -------validate !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:00.473 !MESSAGE GlassFish: in SunAppServer -------validate !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:00.583 !MESSAGE GlassFish: in SunAppServer -------validate !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:01.987 !MESSAGE GlassFish: in SunAppServer -------validate !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:02.127 !MESSAGE GlassFish: in SunAppServer -------validate !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:02.845 !MESSAGE GlassFish: in SunAppServer -------validate !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:05.185 !MESSAGE GlassFish: in SunAppServer -------validate !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:05.497 !MESSAGE GlassFish: in SunAppServer -------validate !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:05.699 !MESSAGE GlassFish: in SunAppServer -------validate !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:05.902 !MESSAGE GlassFish: in SunAppServer -------validate !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:06.011 !MESSAGE GlassFish: in SunAppServer -------validate !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:06.323 !MESSAGE GlassFish: in SunAppServer -------validate !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:06.417 !MESSAGE GlassFish: in SunAppServer -------validate !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:06.620 !MESSAGE GlassFish: in SunAppServer -------validate !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:06.729 !MESSAGE GlassFish: in SunAppServer -------validate !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:06.823 !MESSAGE GlassFish: in SunAppServer -------validate !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:07.244 !MESSAGE GlassFish: in SunAppServer -------validate !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:07.384 !MESSAGE GlassFish: in SunAppServer -------validate !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:07.665 !MESSAGE GlassFish: in SunAppServer -------validate !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:07.759 !MESSAGE GlassFish: in SunAppServer -------validate !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:07.915 !MESSAGE GlassFish: reading from domain.xml adminServerPortNumber=7048 !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:07.915 !MESSAGE GlassFish: in SunAppServer initialize done readServerConfiguration !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:16.027 !MESSAGE GlassFish: in SunAppServer -------validate !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:16.073 !MESSAGE GlassFish: reading from domain.xml adminServerPortNumber=7048 !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:16.073 !MESSAGE GlassFish: in SunAppServer initialize done readServerConfiguration !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:17.228 !MESSAGE GlassFish: in SunAppServer CTOR !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:17.228 !MESSAGE GlassFish: in SunAppServer initializeGF3-runtime !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:17.228 !MESSAGE GlassFish: reading from domain.xml adminServerPortNumber=7048 !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:17.243 !MESSAGE GlassFish: in SunAppServer initialize done readServerConfiguration !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:26.151 !MESSAGE GlassFish: in Save SunAppServer !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:26.167 !MESSAGE GlassFish: in SunAppServer CTOR !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:26.167 !MESSAGE GlassFish: in SunAppServer initializeGF3-runtime !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:26.198 !MESSAGE GlassFish: reading from domain.xml adminServerPortNumber=7048 !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:26.198 !MESSAGE GlassFish: in SunAppServer initialize done readServerConfiguration !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:26.198 !MESSAGE GlassFish: in Save SunAppServer !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:31.003 !MESSAGE GlassFish: in SunAppServerBehaviour CTOR !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:31.003 !MESSAGE GlassFish: in SunAppServerBehaviour initialize !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:31.003 !MESSAGE GlassFish: in SunAppServer CTOR !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:31.003 !MESSAGE GlassFish: in SunAppServer initializeGF3-runtime !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:31.018 !MESSAGE GlassFish: reading from domain.xml adminServerPortNumber=7048 !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:31.034 !MESSAGE GlassFish: in SunAppServer initialize done readServerConfiguration !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:31.205 Unable to render embedded object: File ( in SunAppServerBehaviour initialize is running) not found. ! !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:31.221 !MESSAGE GlassFish: getV3ServerStatus DOMAINDIR_MATCHING !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:31.221 !MESSAGE GlassFish: in SunAppServerBehaviour initialize V3 DOMAINDIR_MATCHING !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:31.299 !MESSAGE GlassFish: in SunAppServer CTOR !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:31.299 !MESSAGE GlassFish: in SunAppServer initializeGF3-runtime !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:31.315 !MESSAGE GlassFish: reading from domain.xml adminServerPortNumber=7048 !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:31.315 !MESSAGE GlassFish: in SunAppServer initialize done readServerConfiguration !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:42.484 !MESSAGE GlassFish: in SunAppServer -------validate !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:42.500 !MESSAGE GlassFish: reading from domain.xml adminServerPortNumber=7048 !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:42.515 !MESSAGE GlassFish: in SunAppServer initialize done readServerConfiguration !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:57:42.531 !MESSAGE GlassFish: in Save SunAppServer !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:58:54.899 !MESSAGE GlassFish: in SunAppServerBehaviour restart !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:58:54.899 !MESSAGE GlassFish: in SunAppServer CTOR !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:58:54.899 !MESSAGE GlassFish: in SunAppServer initializeGF3-runtime !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:58:54.915 !MESSAGE GlassFish: reading from domain.xml adminServerPortNumber=7048 !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:58:54.915 !MESSAGE GlassFish: in SunAppServer initialize done readServerConfiguration !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:58:58.066 !MESSAGE GlassFish: in SUN SunAppServerLaunch launch !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:58:58.066 !MESSAGE GlassFish: reading from domain.xml adminServerPortNumber=7048 !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:58:58.066 !MESSAGE GlassFish: in SunAppServer initialize done readServerConfiguration !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:59:05.710 !MESSAGE GlassFish: getV3ServerStatus DOMAINDIR_MATCHING !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:59:05.726 !MESSAGE GlassFish: in SunAppServerBehaviour restart done !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:59:57.019 !MESSAGE GlassFish: in SunAppServer CTOR !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:59:57.019 !MESSAGE GlassFish: in SunAppServer initializeGF3-runtime !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:59:57.019 !MESSAGE GlassFish: reading from domain.xml adminServerPortNumber=7048 !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 21:59:57.019 !MESSAGE GlassFish: in SunAppServer initialize done readServerConfiguration !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 22:00:03.352 !MESSAGE GlassFish: in SunAppServer CTOR !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 22:00:03.352 !MESSAGE GlassFish: in SunAppServer initializeGF3-runtime !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 22:00:03.368 !MESSAGE GlassFish: reading from domain.xml adminServerPortNumber=7048 !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 22:00:03.368 !MESSAGE GlassFish: in SunAppServer initialize done readServerConfiguration !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 22:00:03.383 !MESSAGE GlassFish: in Save SunAppServer !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 22:00:03.430 !MESSAGE GlassFish: AssembleModules assembleRoot=C:/gcdm/glassfish3/glassfish/domains/gcdm-controller-app/eclipseApps/gcdm-controller-app ... !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 22:00:11.870 !MESSAGE GlassFish: AssembleModules assembleRoot=C:/gcdm/glassfish3/glassfish/domains/gcdm-controller-app/eclipseApps/gcdm-controller-app/gcdm-dataquality-ejb-3.4.6-SNAPSHOT_jar !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 22:01:44.175 !MESSAGE GlassFish: done publishModule in 100666 ms !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 22:02:58.275 !MESSAGE GlassFish: in SunAppServerBehaviour stop !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 22:03:12.268 !MESSAGE GlassFish: in SUN SunAppServerLaunch launch !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 22:03:12.315 !MESSAGE GlassFish: reading from domain.xml adminServerPortNumber=7048 !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 22:03:12.331 !MESSAGE GlassFish: in SunAppServer initialize done readServerConfiguration !ENTRY oracle.eclipse.tools.glassfish 1 1 2013-04-16 22:03:35.965 !MESSAGE GlassFish: apparently CREDENTIAL_ERROR !ENTRY oracle.eclipse.tools.glassfish 4 150 2013-04-16 22:03:35.980 !MESSAGE Wrong user name or password.
        Hide
        piotrik added a comment -

        thanks for log. I have tried your scenario with simple glassfish app, it worked... Sometimes the "Credential error" could appear if you have other running server on the same port. It seems very unlikely in this case but please verify it

        Show
        piotrik added a comment - thanks for log. I have tried your scenario with simple glassfish app, it worked... Sometimes the "Credential error" could appear if you have other running server on the same port. It seems very unlikely in this case but please verify it
        Hide
        dm.java.net added a comment -

        I have checked the scenario again :

        • start glassfish in eclipse
        • deploy my application (application was up and running)
        • stop glassfish
        • check if glassfish is really stopped (glassfish process was not present in Task Manager) and no other server was listening for the glassfish same ports (netstat)
        • restart eclipse
        • then try to start glassfish in eclipse again -> "CREDENTIAL_ERROR" pops up
        Show
        dm.java.net added a comment - I have checked the scenario again : start glassfish in eclipse deploy my application (application was up and running) stop glassfish check if glassfish is really stopped (glassfish process was not present in Task Manager) and no other server was listening for the glassfish same ports (netstat) restart eclipse then try to start glassfish in eclipse again -> "CREDENTIAL_ERROR" pops up
        Hide
        dm.java.net added a comment -

        Perhaps you can build glassfish plugin with more logging statements?
        Then I would test it on my eclipse and post the log file.

        Show
        dm.java.net added a comment - Perhaps you can build glassfish plugin with more logging statements? Then I would test it on my eclipse and post the log file.
        Hide
        piotrik added a comment -

        Ok we can do it in this way. Edit your eclipse.ini - add -Djava.util.logging.config.file=/path/to/your/dir/logging.properties in -vmargs section. Logging properties should look like this:
        handlers = java.util.logging.ConsoleHandler, java.util.logging.FileHandler

        1. Set the default logging level for the root logger
          .level = INFO

        java.util.logging.FileHandler.level = ALL
        java.util.logging.FileHandler.formatter = java.util.logging.SimpleFormatter

        1. log files in temp dir
          java.util.logging.FileHandler.pattern = %t/log_gfplugin%g.log
          java.util.logging.FileHandler.count = 10
          java.util.logging.FileHandler.limit = 1000000

        org.glassfish.tools.ide.level=ALL
        org.glassfish.tools.ide.handler=java.util.logging.FileHandler

        Unfortunately I could not find a way how to reference this file if it would be in plugin jar. Eclipse do not respect if you put these as system properties (-D prefix) either.
        After you have the log files, could you paste the problematic parts (whole log can be unnecessary long). Thank you!

        Show
        piotrik added a comment - Ok we can do it in this way. Edit your eclipse.ini - add -Djava.util.logging.config.file=/path/to/your/dir/logging.properties in -vmargs section. Logging properties should look like this: handlers = java.util.logging.ConsoleHandler, java.util.logging.FileHandler Set the default logging level for the root logger .level = INFO java.util.logging.FileHandler.level = ALL java.util.logging.FileHandler.formatter = java.util.logging.SimpleFormatter log files in temp dir java.util.logging.FileHandler.pattern = %t/log_gfplugin%g.log java.util.logging.FileHandler.count = 10 java.util.logging.FileHandler.limit = 1000000 org.glassfish.tools.ide.level=ALL org.glassfish.tools.ide.handler=java.util.logging.FileHandler Unfortunately I could not find a way how to reference this file if it would be in plugin jar. Eclipse do not respect if you put these as system properties (-D prefix) either. After you have the log files, could you paste the problematic parts (whole log can be unnecessary long). Thank you!
        Hide
        dm.java.net added a comment -

        OK, I have turned on logging as you described.

        So when I click "Start the server" button in eclipse after approx. 20 sec. "Wrong user name or password" message pops up.
        According the log, REST call with "Basic" authorization with correct user and password to http://localhost:7048/__asadmin/__locations received null response.

        I’ve tried to open this URL in browser and got error page with message:

        "GlassFish null command report
        Exit Code : FAILURE
        V3 cannot process this command at this time, please wait"

        I waited some time (30 sec.) and then retried my request in browser. This time I got success page:

        "GlassFish __locations AdminCommand command report
        Exit Code : SUCCESS
        C:/gcdm/glassfish3/glassfish/domains/gcdm-controller-app
        Config-Dir C:\gcdm\glassfish3\glassfish\domains\gcdm-controller-app\config
        Instance-Root C:\gcdm\glassfish3\glassfish\domains\gcdm-controller-app
        Domain-Root C:\gcdm\glassfish3\glassfish\domains\gcdm-controller-app
        Uptime 439389
        Base-Root C:\gcdm\glassfish3\glassfish
        Restart-Required false
        Pid 6016"

        I’ve checked glassfish server log : to start my application glassfish needs approx. 60 sec.

        That’s the reason why the "Credential error" always appear in my eclipse (server needs more time to load application).

        Log file fragment:
        ...
        2013-04-25 00:17:02,466 org.glassfish.tools.ide.logging.Logger log -> FINEST: Skip: ascend, depth is 0
        2013-04-25 00:17:02,466 org.glassfish.tools.ide.logging.Logger log -> FINEST: Skip: start, depth is 1, qn is lb-configs
        2013-04-25 00:17:02,466 org.glassfish.tools.ide.logging.Logger log -> FINEST: Skip: ascend, depth is 0
        2013-04-25 00:17:02,466 org.glassfish.tools.ide.logging.Logger log -> FINEST: Skip: start, depth is 1, qn is clusters
        2013-04-25 00:17:02,466 org.glassfish.tools.ide.logging.Logger log -> FINEST: Skip: ascend, depth is 0
        2013-04-25 00:17:02,466 org.glassfish.tools.ide.logging.Logger log -> FINER : Rover ascend to

        { root, 1 sub(s) }

        2013-04-25 00:17:02,468 org.glassfish.tools.ide.logging.Logger log -> FINER : DOMAIN.XML: jvm opt: -XX:MaxPermSize = 192m
        2013-04-25 00:17:02,468 org.glassfish.tools.ide.logging.Logger log -> FINER : DOMAIN.XML: jvm opt: -XX:PermSize = 64m
        2013-04-25 00:17:02,468 org.glassfish.tools.ide.logging.Logger log -> FINER : DOMAIN.XML: jvm opt: -client
        2013-04-25 00:17:02,468 org.glassfish.tools.ide.logging.Logger log -> FINER : DOMAIN.XML: jvm opt: -Djava.awt.headless = true
        2013-04-25 00:17:02,468 org.glassfish.tools.ide.logging.Logger log -> FINER : DOMAIN.XML: jvm opt: -Djavax.management.builder.initial = com.sun.enterprise.v3.admin.AppServerMBeanServerBuilder
        2013-04-25 00:17:02,468 org.glassfish.tools.ide.logging.Logger log -> FINER : DOMAIN.XML: jvm opt: -XX:+UnlockDiagnosticVMOptions
        2013-04-25 00:17:02,468 org.glassfish.tools.ide.logging.Logger log -> FINER : DOMAIN.XML: jvm opt: -Djava.endorsed.dirs = C:\gcdm\glassfish3\glassfish/modules/endorsed;C:\gcdm\glassfish3\glassfish/lib/endorsed
        2013-04-25 00:17:02,469 org.glassfish.tools.ide.logging.Logger log -> FINER : DOMAIN.XML: jvm opt: -Djava.security.policy = C:\gcdm\glassfish3\glassfish\domains\gcdm-controller-app/config/server.policy
        2013-04-25 00:17:02,469 org.glassfish.tools.ide.logging.Logger log -> FINER : DOMAIN.XML: jvm opt: -Djava.security.auth.login.config = C:\gcdm\glassfish3\glassfish\domains\gcdm-controller-app/config/login.conf
        2013-04-25 00:17:02,469 org.glassfish.tools.ide.logging.Logger log -> FINER : DOMAIN.XML: jvm opt: -Dcom.sun.enterprise.security.httpsOutboundKeyAlias = s1as
        2013-04-25 00:17:02,469 org.glassfish.tools.ide.logging.Logger log -> FINER : DOMAIN.XML: jvm opt: -Xmx512m
        2013-04-25 00:17:02,469 org.glassfish.tools.ide.logging.Logger log -> FINER : DOMAIN.XML: jvm opt: -Djavax.net.ssl.keyStore = C:\gcdm\glassfish3\glassfish\domains\gcdm-controller-app/config/keystore.jks
        2013-04-25 00:17:02,469 org.glassfish.tools.ide.logging.Logger log -> FINER : DOMAIN.XML: jvm opt: -Djavax.net.ssl.trustStore = C:\gcdm\glassfish3\glassfish\domains\gcdm-controller-app/config/cacerts.jks
        2013-04-25 00:17:02,469 org.glassfish.tools.ide.logging.Logger log -> FINER : DOMAIN.XML: jvm opt: -Djava.ext.dirs = C:\gcdm\bin\jdk\jdk1.7/lib/ext;C:\gcdm\bin\jdk\jdk1.7/jre/lib/ext;C:\gcdm\glassfish3\glassfish\domains\gcdm-controller-app/lib/ext
        2013-04-25 00:17:02,470 org.glassfish.tools.ide.logging.Logger log -> FINER : DOMAIN.XML: jvm opt: -Djdbc.drivers = org.apache.derby.jdbc.ClientDriver
        2013-04-25 00:17:02,470 org.glassfish.tools.ide.logging.Logger log -> FINER : DOMAIN.XML: jvm opt: -DANTLR_USE_DIRECT_CLASS_LOADING = true
        2013-04-25 00:17:02,470 org.glassfish.tools.ide.logging.Logger log -> FINER : DOMAIN.XML: jvm opt: -Dcom.sun.enterprise.config.config_environment_factory_class = com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
        2013-04-25 00:17:02,470 org.glassfish.tools.ide.logging.Logger log -> FINER : DOMAIN.XML: jvm opt: -Dosgi.shell.telnet.port = 7066
        2013-04-25 00:17:02,470 org.glassfish.tools.ide.logging.Logger log -> FINER : DOMAIN.XML: jvm opt: -Dosgi.shell.telnet.maxconn = 1
        2013-04-25 00:17:02,470 org.glassfish.tools.ide.logging.Logger log -> FINER : DOMAIN.XML: jvm opt: -Dosgi.shell.telnet.ip = 127.0.0.1
        2013-04-25 00:17:02,470 org.glassfish.tools.ide.logging.Logger log -> FINER : DOMAIN.XML: jvm opt: -Dgosh.args = --nointeractive
        2013-04-25 00:17:02,470 org.glassfish.tools.ide.logging.Logger log -> FINER : DOMAIN.XML: jvm opt: -Dfelix.fileinstall.dir = C:\gcdm\glassfish3\glassfish/modules/autostart/
        2013-04-25 00:17:02,470 org.glassfish.tools.ide.logging.Logger log -> FINER : DOMAIN.XML: jvm opt: -Dfelix.fileinstall.poll = 5000
        2013-04-25 00:17:02,471 org.glassfish.tools.ide.logging.Logger log -> FINER : DOMAIN.XML: jvm opt: -Dfelix.fileinstall.log.level = 2
        2013-04-25 00:17:02,471 org.glassfish.tools.ide.logging.Logger log -> FINER : DOMAIN.XML: jvm opt: -Dfelix.fileinstall.bundles.new.start = true
        2013-04-25 00:17:02,471 org.glassfish.tools.ide.logging.Logger log -> FINER : DOMAIN.XML: jvm opt: -Dfelix.fileinstall.bundles.startTransient = true
        2013-04-25 00:17:02,471 org.glassfish.tools.ide.logging.Logger log -> FINER : DOMAIN.XML: jvm opt: -Dfelix.fileinstall.disableConfigSave = false
        2013-04-25 00:17:02,471 org.glassfish.tools.ide.logging.Logger log -> FINER : DOMAIN.XML: jvm opt: -XX:NewRatio = 2
        2013-04-25 00:17:02,471 org.glassfish.tools.ide.logging.Logger log -> FINER : DOMAIN.XML: jvm opt: -XX:MaxPermSize = 512m
        2013-04-25 00:17:02,471 org.glassfish.tools.ide.logging.Logger log -> FINER : DOMAIN.XML: jvm opt: -Duser.language = en
        2013-04-25 00:17:02,471 org.glassfish.tools.ide.logging.Logger log -> FINER : DOMAIN.XML: jvm opt: -Duser.country = US
        2013-04-25 00:17:02,471 org.glassfish.tools.ide.logging.Logger log -> FINER : DOMAIN.XML: jvm opt: -Dfile.encoding = UTF-8
        2013-04-25 00:17:02,471 org.glassfish.tools.ide.logging.Logger log -> FINER : DOMAIN.XML: jvm opt: -javaagent:C:\gcdm\glassfish3\glassfish\domains\gcdm-controller-app/org.jacoco.agent-0.5.3.201107060350-runtime.jar = destfile=C:\gcdm\glassfish3\glassfish/jacoco.exec,append=true,includes=com.bmw.*
        2013-04-25 00:17:02,472 org.glassfish.tools.ide.logging.Logger log -> FINER : DOMAIN.XML: jvm opt:
        2013-04-25 00:17:02,560 org.glassfish.tools.ide.logging.Logger log -> FINEST: Java VM C:\gcdm\bin\jdk\jdk1.7\bin\java.exe executable version 1.7.0_17
        2013-04-25 00:17:02,561 org.glassfish.tools.ide.logging.Logger log > FINEST: Starting GF3runtime using Java VM C:\gcdm\bin\jdk\jdk1.7\bin\java.exe and arguments -Dcom.sun.aas.javaRoot=C:\gcdm\bin\jdk\jdk1.7 -XX:MaxPermSize=512m -XX:PermSize=64m -client -Djava.awt.headless=true -Djavax.management.builder.initial=com.sun.enterprise.v3.admin.AppServerMBeanServerBuilder -XX:+UnlockDiagnosticVMOptions -Djava.endorsed.dirs=C:\gcdm\glassfish3\glassfish/modules/endorsed;C:\gcdm\glassfish3\glassfish/lib/endorsed -Djava.security.policy=C:\gcdm\glassfish3\glassfish\domains\gcdm-controller-app/config/server.policy -Djava.security.auth.login.config=C:\gcdm\glassfish3\glassfish\domains\gcdm-controller-app/config/login.conf -Dcom.sun.enterprise.security.httpsOutboundKeyAlias=s1as -Xmx512m -Djavax.net.ssl.keyStore=C:\gcdm\glassfish3\glassfish\domains\gcdm-controller-app/config/keystore.jks -Djavax.net.ssl.trustStore=C:\gcdm\glassfish3\glassfish\domains\gcdm-controller-app/config/cacerts.jks -Djava.ext.dirs=C:\gcdm\bin\jdk\jdk1.7/lib/ext;C:\gcdm\bin\jdk\jdk1.7/jre/lib/ext;C:\gcdm\glassfish3\glassfish\domains\gcdm-controller-app/lib/ext -Djdbc.drivers=org.apache.derby.jdbc.ClientDriver -DANTLR_USE_DIRECT_CLASS_LOADING=true -Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory -Dosgi.shell.telnet.port=7066 -Dosgi.shell.telnet.maxconn=1 -Dosgi.shell.telnet.ip=127.0.0.1 -Dgosh.args=-nointeractive -Dfelix.fileinstall.dir=C:\gcdm\glassfish3\glassfish/modules/autostart/ -Dfelix.fileinstall.poll=5000 -Dfelix.fileinstall.log.level=2 -Dfelix.fileinstall.bundles.new.start=true -Dfelix.fileinstall.bundles.startTransient=true -Dfelix.fileinstall.disableConfigSave=false -XX:NewRatio=2 -Duser.language=en -Duser.country=US -Dfile.encoding=UTF-8 -javaagent:C:\gcdm\glassfish3\glassfish\domains\gcdm-controller-app/org.jacoco.agent-0.5.3.201107060350-runtime.jar=destfile=C:\gcdm\glassfish3\glassfish/jacoco.exec,append=true,includes=com.bmw.* -jar C:\gcdm\glassfish3\glassfish\modules\glassfish.jar --domain gcdm-controller-app --domaindir C:\gcdm\glassfish3\glassfish\domains\gcdm-controller-app
        2013-04-25 00:17:05,350 org.glassfish.tools.ide.logging.Logger log -> FINEST: Read 1.670 bytes from local log file.
        2013-04-25 00:17:05,820 org.glassfish.tools.ide.logging.Logger log -> FINEST: RunnerRest.call(http://localhost:7048/__asadmin/__locations) called on thread "pool-3-thread-1"
        2013-04-25 00:17:05,821 org.glassfish.tools.ide.logging.Logger log -> FINE : HTTP Command: http://localhost:7048/__asadmin/__locations
        2013-04-25 00:17:05,824 org.glassfish.tools.ide.logging.Logger log -> FINEST: Setting HTTP connection attributes: timeout = 3.000 user = admin password = adminadmin
        2013-04-25 00:17:05,829 org.glassfish.tools.ide.logging.Logger log -> FINEST: Using "Basic" authorization with user and password
        2013-04-25 00:17:05,830 org.glassfish.tools.ide.logging.Logger log -> FINEST: Connecting to localhost:7048
        2013-04-25 00:17:14,352 org.glassfish.tools.ide.logging.Logger log -> FINEST: Read 2.383 bytes from local log file.
        2013-04-25 00:17:25,883 org.glassfish.tools.ide.logging.Logger log -> FINEST: Reading response from localhost:7048
        2013-04-25 00:17:25,885 org.glassfish.tools.ide.logging.Logger log -> WARNING: sun.net.www.protocol.http.HttpURLConnection:http://localhost:7048/__asadmin/__locations
        2013-04-25 00:17:25,886 org.glassfish.tools.ide.logging.Logger log -> WARNING: text/html
        2013-04-25 00:17:25,886 org.glassfish.tools.ide.logging.Logger log -> WARNING: null
        2013-04-25 00:17:25,886 org.glassfish.tools.ide.logging.Logger log -> WARNING: Header Fields
        2013-04-25 00:17:25,886 org.glassfish.tools.ide.logging.Logger log -> WARNING: null =
        2013-04-25 00:17:25,886 org.glassfish.tools.ide.logging.Logger log -> WARNING: HTTP/1.1 200 OK
        2013-04-25 00:17:25,886 org.glassfish.tools.ide.logging.Logger log -> WARNING: Date =
        2013-04-25 00:17:25,887 org.glassfish.tools.ide.logging.Logger log -> WARNING: Wed, 24 Apr 2013 22:17:25 GMT
        2013-04-25 00:17:25,887 org.glassfish.tools.ide.logging.Logger log -> WARNING: Transfer-Encoding =
        2013-04-25 00:17:25,887 org.glassfish.tools.ide.logging.Logger log -> WARNING: chunked
        2013-04-25 00:17:25,887 org.glassfish.tools.ide.logging.Logger log -> WARNING: Content-Type =
        2013-04-25 00:17:25,887 org.glassfish.tools.ide.logging.Logger log -> WARNING: text/html
        2013-04-25 00:17:38,673 org.glassfish.tools.ide.logging.Logger log -> FINEST: Read 4.995 bytes from local log file.
        2013-04-25 00:17:39,675 org.glassfish.tools.ide.logging.Logger log -> FINEST: Read 349 bytes from local log file.
        2013-04-25 00:17:40,677 org.glassfish.tools.ide.logging.Logger log -> FINEST: Read 8.192 bytes from local log file.
        2013-04-25 00:17:40,677 org.glassfish.tools.ide.logging.Logger log -> FINEST: Read 1.418 bytes from local log file.
        2013-04-25 00:17:41,677 org.glassfish.tools.ide.logging.Logger log -> FINEST: Read 1.797 bytes from local log file.
        2013-04-25 00:17:42,678 org.glassfish.tools.ide.logging.Logger log -> FINEST: Read 8.192 bytes from local log file.
        2013-04-25 00:17:42,678 org.glassfish.tools.ide.logging.Logger log -> FINEST: Read 634 bytes from local log file.
        2013-04-25 00:17:43,678 org.glassfish.tools.ide.logging.Logger log -> FINEST: Read 3.110 bytes from local log file.
        ...

        Show
        dm.java.net added a comment - OK, I have turned on logging as you described. So when I click "Start the server" button in eclipse after approx. 20 sec. "Wrong user name or password" message pops up. According the log, REST call with "Basic" authorization with correct user and password to http://localhost:7048/__asadmin/__locations received null response. I’ve tried to open this URL in browser and got error page with message: "GlassFish null command report Exit Code : FAILURE V3 cannot process this command at this time, please wait" I waited some time (30 sec.) and then retried my request in browser. This time I got success page: "GlassFish __locations AdminCommand command report Exit Code : SUCCESS C:/gcdm/glassfish3/glassfish/domains/gcdm-controller-app Config-Dir C:\gcdm\glassfish3\glassfish\domains\gcdm-controller-app\config Instance-Root C:\gcdm\glassfish3\glassfish\domains\gcdm-controller-app Domain-Root C:\gcdm\glassfish3\glassfish\domains\gcdm-controller-app Uptime 439389 Base-Root C:\gcdm\glassfish3\glassfish Restart-Required false Pid 6016" I’ve checked glassfish server log : to start my application glassfish needs approx. 60 sec. That’s the reason why the "Credential error" always appear in my eclipse (server needs more time to load application). Log file fragment: ... 2013-04-25 00:17:02,466 org.glassfish.tools.ide.logging.Logger log -> FINEST: Skip: ascend, depth is 0 2013-04-25 00:17:02,466 org.glassfish.tools.ide.logging.Logger log -> FINEST: Skip: start, depth is 1, qn is lb-configs 2013-04-25 00:17:02,466 org.glassfish.tools.ide.logging.Logger log -> FINEST: Skip: ascend, depth is 0 2013-04-25 00:17:02,466 org.glassfish.tools.ide.logging.Logger log -> FINEST: Skip: start, depth is 1, qn is clusters 2013-04-25 00:17:02,466 org.glassfish.tools.ide.logging.Logger log -> FINEST: Skip: ascend, depth is 0 2013-04-25 00:17:02,466 org.glassfish.tools.ide.logging.Logger log -> FINER : Rover ascend to { root, 1 sub(s) } 2013-04-25 00:17:02,468 org.glassfish.tools.ide.logging.Logger log -> FINER : DOMAIN.XML: jvm opt: -XX:MaxPermSize = 192m 2013-04-25 00:17:02,468 org.glassfish.tools.ide.logging.Logger log -> FINER : DOMAIN.XML: jvm opt: -XX:PermSize = 64m 2013-04-25 00:17:02,468 org.glassfish.tools.ide.logging.Logger log -> FINER : DOMAIN.XML: jvm opt: -client 2013-04-25 00:17:02,468 org.glassfish.tools.ide.logging.Logger log -> FINER : DOMAIN.XML: jvm opt: -Djava.awt.headless = true 2013-04-25 00:17:02,468 org.glassfish.tools.ide.logging.Logger log -> FINER : DOMAIN.XML: jvm opt: -Djavax.management.builder.initial = com.sun.enterprise.v3.admin.AppServerMBeanServerBuilder 2013-04-25 00:17:02,468 org.glassfish.tools.ide.logging.Logger log -> FINER : DOMAIN.XML: jvm opt: -XX:+UnlockDiagnosticVMOptions 2013-04-25 00:17:02,468 org.glassfish.tools.ide.logging.Logger log -> FINER : DOMAIN.XML: jvm opt: -Djava.endorsed.dirs = C:\gcdm\glassfish3\glassfish/modules/endorsed;C:\gcdm\glassfish3\glassfish/lib/endorsed 2013-04-25 00:17:02,469 org.glassfish.tools.ide.logging.Logger log -> FINER : DOMAIN.XML: jvm opt: -Djava.security.policy = C:\gcdm\glassfish3\glassfish\domains\gcdm-controller-app/config/server.policy 2013-04-25 00:17:02,469 org.glassfish.tools.ide.logging.Logger log -> FINER : DOMAIN.XML: jvm opt: -Djava.security.auth.login.config = C:\gcdm\glassfish3\glassfish\domains\gcdm-controller-app/config/login.conf 2013-04-25 00:17:02,469 org.glassfish.tools.ide.logging.Logger log -> FINER : DOMAIN.XML: jvm opt: -Dcom.sun.enterprise.security.httpsOutboundKeyAlias = s1as 2013-04-25 00:17:02,469 org.glassfish.tools.ide.logging.Logger log -> FINER : DOMAIN.XML: jvm opt: -Xmx512m 2013-04-25 00:17:02,469 org.glassfish.tools.ide.logging.Logger log -> FINER : DOMAIN.XML: jvm opt: -Djavax.net.ssl.keyStore = C:\gcdm\glassfish3\glassfish\domains\gcdm-controller-app/config/keystore.jks 2013-04-25 00:17:02,469 org.glassfish.tools.ide.logging.Logger log -> FINER : DOMAIN.XML: jvm opt: -Djavax.net.ssl.trustStore = C:\gcdm\glassfish3\glassfish\domains\gcdm-controller-app/config/cacerts.jks 2013-04-25 00:17:02,469 org.glassfish.tools.ide.logging.Logger log -> FINER : DOMAIN.XML: jvm opt: -Djava.ext.dirs = C:\gcdm\bin\jdk\jdk1.7/lib/ext;C:\gcdm\bin\jdk\jdk1.7/jre/lib/ext;C:\gcdm\glassfish3\glassfish\domains\gcdm-controller-app/lib/ext 2013-04-25 00:17:02,470 org.glassfish.tools.ide.logging.Logger log -> FINER : DOMAIN.XML: jvm opt: -Djdbc.drivers = org.apache.derby.jdbc.ClientDriver 2013-04-25 00:17:02,470 org.glassfish.tools.ide.logging.Logger log -> FINER : DOMAIN.XML: jvm opt: -DANTLR_USE_DIRECT_CLASS_LOADING = true 2013-04-25 00:17:02,470 org.glassfish.tools.ide.logging.Logger log -> FINER : DOMAIN.XML: jvm opt: -Dcom.sun.enterprise.config.config_environment_factory_class = com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory 2013-04-25 00:17:02,470 org.glassfish.tools.ide.logging.Logger log -> FINER : DOMAIN.XML: jvm opt: -Dosgi.shell.telnet.port = 7066 2013-04-25 00:17:02,470 org.glassfish.tools.ide.logging.Logger log -> FINER : DOMAIN.XML: jvm opt: -Dosgi.shell.telnet.maxconn = 1 2013-04-25 00:17:02,470 org.glassfish.tools.ide.logging.Logger log -> FINER : DOMAIN.XML: jvm opt: -Dosgi.shell.telnet.ip = 127.0.0.1 2013-04-25 00:17:02,470 org.glassfish.tools.ide.logging.Logger log -> FINER : DOMAIN.XML: jvm opt: -Dgosh.args = --nointeractive 2013-04-25 00:17:02,470 org.glassfish.tools.ide.logging.Logger log -> FINER : DOMAIN.XML: jvm opt: -Dfelix.fileinstall.dir = C:\gcdm\glassfish3\glassfish/modules/autostart/ 2013-04-25 00:17:02,470 org.glassfish.tools.ide.logging.Logger log -> FINER : DOMAIN.XML: jvm opt: -Dfelix.fileinstall.poll = 5000 2013-04-25 00:17:02,471 org.glassfish.tools.ide.logging.Logger log -> FINER : DOMAIN.XML: jvm opt: -Dfelix.fileinstall.log.level = 2 2013-04-25 00:17:02,471 org.glassfish.tools.ide.logging.Logger log -> FINER : DOMAIN.XML: jvm opt: -Dfelix.fileinstall.bundles.new.start = true 2013-04-25 00:17:02,471 org.glassfish.tools.ide.logging.Logger log -> FINER : DOMAIN.XML: jvm opt: -Dfelix.fileinstall.bundles.startTransient = true 2013-04-25 00:17:02,471 org.glassfish.tools.ide.logging.Logger log -> FINER : DOMAIN.XML: jvm opt: -Dfelix.fileinstall.disableConfigSave = false 2013-04-25 00:17:02,471 org.glassfish.tools.ide.logging.Logger log -> FINER : DOMAIN.XML: jvm opt: -XX:NewRatio = 2 2013-04-25 00:17:02,471 org.glassfish.tools.ide.logging.Logger log -> FINER : DOMAIN.XML: jvm opt: -XX:MaxPermSize = 512m 2013-04-25 00:17:02,471 org.glassfish.tools.ide.logging.Logger log -> FINER : DOMAIN.XML: jvm opt: -Duser.language = en 2013-04-25 00:17:02,471 org.glassfish.tools.ide.logging.Logger log -> FINER : DOMAIN.XML: jvm opt: -Duser.country = US 2013-04-25 00:17:02,471 org.glassfish.tools.ide.logging.Logger log -> FINER : DOMAIN.XML: jvm opt: -Dfile.encoding = UTF-8 2013-04-25 00:17:02,471 org.glassfish.tools.ide.logging.Logger log -> FINER : DOMAIN.XML: jvm opt: -javaagent:C:\gcdm\glassfish3\glassfish\domains\gcdm-controller-app/org.jacoco.agent-0.5.3.201107060350-runtime.jar = destfile=C:\gcdm\glassfish3\glassfish/jacoco.exec,append=true,includes=com.bmw.* 2013-04-25 00:17:02,472 org.glassfish.tools.ide.logging.Logger log -> FINER : DOMAIN.XML: jvm opt: 2013-04-25 00:17:02,560 org.glassfish.tools.ide.logging.Logger log -> FINEST: Java VM C:\gcdm\bin\jdk\jdk1.7\bin\java.exe executable version 1.7.0_17 2013-04-25 00:17:02,561 org.glassfish.tools.ide.logging.Logger log > FINEST: Starting GF3runtime using Java VM C:\gcdm\bin\jdk\jdk1.7\bin\java.exe and arguments -Dcom.sun.aas.javaRoot=C:\gcdm\bin\jdk\jdk1.7 -XX:MaxPermSize=512m -XX:PermSize=64m -client -Djava.awt.headless=true -Djavax.management.builder.initial=com.sun.enterprise.v3.admin.AppServerMBeanServerBuilder -XX:+UnlockDiagnosticVMOptions -Djava.endorsed.dirs=C:\gcdm\glassfish3\glassfish/modules/endorsed;C:\gcdm\glassfish3\glassfish/lib/endorsed -Djava.security.policy=C:\gcdm\glassfish3\glassfish\domains\gcdm-controller-app/config/server.policy -Djava.security.auth.login.config=C:\gcdm\glassfish3\glassfish\domains\gcdm-controller-app/config/login.conf -Dcom.sun.enterprise.security.httpsOutboundKeyAlias=s1as -Xmx512m -Djavax.net.ssl.keyStore=C:\gcdm\glassfish3\glassfish\domains\gcdm-controller-app/config/keystore.jks -Djavax.net.ssl.trustStore=C:\gcdm\glassfish3\glassfish\domains\gcdm-controller-app/config/cacerts.jks -Djava.ext.dirs=C:\gcdm\bin\jdk\jdk1.7/lib/ext;C:\gcdm\bin\jdk\jdk1.7/jre/lib/ext;C:\gcdm\glassfish3\glassfish\domains\gcdm-controller-app/lib/ext -Djdbc.drivers=org.apache.derby.jdbc.ClientDriver -DANTLR_USE_DIRECT_CLASS_LOADING=true -Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory -Dosgi.shell.telnet.port=7066 -Dosgi.shell.telnet.maxconn=1 -Dosgi.shell.telnet.ip=127.0.0.1 -Dgosh.args= -nointeractive -Dfelix.fileinstall.dir=C:\gcdm\glassfish3\glassfish/modules/autostart/ -Dfelix.fileinstall.poll=5000 -Dfelix.fileinstall.log.level=2 -Dfelix.fileinstall.bundles.new.start=true -Dfelix.fileinstall.bundles.startTransient=true -Dfelix.fileinstall.disableConfigSave=false -XX:NewRatio=2 -Duser.language=en -Duser.country=US -Dfile.encoding=UTF-8 -javaagent:C:\gcdm\glassfish3\glassfish\domains\gcdm-controller-app/org.jacoco.agent-0.5.3.201107060350-runtime.jar=destfile=C:\gcdm\glassfish3\glassfish/jacoco.exec,append=true,includes=com.bmw.* -jar C:\gcdm\glassfish3\glassfish\modules\glassfish.jar --domain gcdm-controller-app --domaindir C:\gcdm\glassfish3\glassfish\domains\gcdm-controller-app 2013-04-25 00:17:05,350 org.glassfish.tools.ide.logging.Logger log -> FINEST: Read 1.670 bytes from local log file. 2013-04-25 00:17:05,820 org.glassfish.tools.ide.logging.Logger log -> FINEST: RunnerRest.call( http://localhost:7048/__asadmin/__locations ) called on thread "pool-3-thread-1" 2013-04-25 00:17:05,821 org.glassfish.tools.ide.logging.Logger log -> FINE : HTTP Command: http://localhost:7048/__asadmin/__locations 2013-04-25 00:17:05,824 org.glassfish.tools.ide.logging.Logger log -> FINEST: Setting HTTP connection attributes: timeout = 3.000 user = admin password = adminadmin 2013-04-25 00:17:05,829 org.glassfish.tools.ide.logging.Logger log -> FINEST: Using "Basic" authorization with user and password 2013-04-25 00:17:05,830 org.glassfish.tools.ide.logging.Logger log -> FINEST: Connecting to localhost:7048 2013-04-25 00:17:14,352 org.glassfish.tools.ide.logging.Logger log -> FINEST: Read 2.383 bytes from local log file. 2013-04-25 00:17:25,883 org.glassfish.tools.ide.logging.Logger log -> FINEST: Reading response from localhost:7048 2013-04-25 00:17:25,885 org.glassfish.tools.ide.logging.Logger log -> WARNING: sun.net.www.protocol.http.HttpURLConnection: http://localhost:7048/__asadmin/__locations 2013-04-25 00:17:25,886 org.glassfish.tools.ide.logging.Logger log -> WARNING: text/html 2013-04-25 00:17:25,886 org.glassfish.tools.ide.logging.Logger log -> WARNING: null 2013-04-25 00:17:25,886 org.glassfish.tools.ide.logging.Logger log -> WARNING: Header Fields 2013-04-25 00:17:25,886 org.glassfish.tools.ide.logging.Logger log -> WARNING: null = 2013-04-25 00:17:25,886 org.glassfish.tools.ide.logging.Logger log -> WARNING: HTTP/1.1 200 OK 2013-04-25 00:17:25,886 org.glassfish.tools.ide.logging.Logger log -> WARNING: Date = 2013-04-25 00:17:25,887 org.glassfish.tools.ide.logging.Logger log -> WARNING: Wed, 24 Apr 2013 22:17:25 GMT 2013-04-25 00:17:25,887 org.glassfish.tools.ide.logging.Logger log -> WARNING: Transfer-Encoding = 2013-04-25 00:17:25,887 org.glassfish.tools.ide.logging.Logger log -> WARNING: chunked 2013-04-25 00:17:25,887 org.glassfish.tools.ide.logging.Logger log -> WARNING: Content-Type = 2013-04-25 00:17:25,887 org.glassfish.tools.ide.logging.Logger log -> WARNING: text/html 2013-04-25 00:17:38,673 org.glassfish.tools.ide.logging.Logger log -> FINEST: Read 4.995 bytes from local log file. 2013-04-25 00:17:39,675 org.glassfish.tools.ide.logging.Logger log -> FINEST: Read 349 bytes from local log file. 2013-04-25 00:17:40,677 org.glassfish.tools.ide.logging.Logger log -> FINEST: Read 8.192 bytes from local log file. 2013-04-25 00:17:40,677 org.glassfish.tools.ide.logging.Logger log -> FINEST: Read 1.418 bytes from local log file. 2013-04-25 00:17:41,677 org.glassfish.tools.ide.logging.Logger log -> FINEST: Read 1.797 bytes from local log file. 2013-04-25 00:17:42,678 org.glassfish.tools.ide.logging.Logger log -> FINEST: Read 8.192 bytes from local log file. 2013-04-25 00:17:42,678 org.glassfish.tools.ide.logging.Logger log -> FINEST: Read 634 bytes from local log file. 2013-04-25 00:17:43,678 org.glassfish.tools.ide.logging.Logger log -> FINEST: Read 3.110 bytes from local log file. ...
        Hide
        piotrik added a comment -

        The credential error was wrongly reported even in situation when server was in starting phase. It could respond to simple ping but could not process admin commands what we judged as credential error. Now the credential error is reported only when we are sure (http response code).

        Show
        piotrik added a comment - The credential error was wrongly reported even in situation when server was in starting phase. It could respond to simple ping but could not process admin commands what we judged as credential error. Now the credential error is reported only when we are sure (http response code).
        Hide
        piotrik added a comment -

        Thanks very much dm.java.net for cooperation on this issue, the will be delivered during the weekend.

        Show
        piotrik added a comment - Thanks very much dm.java.net for cooperation on this issue, the will be delivered during the weekend.
        Hide
        dm.java.net added a comment -

        I've just tried GlassFish Tools 5.2.2.201304271125 and it's working now : I can start/debug my glassfish application in Eclipse.
        Thanks a lot.

        Show
        dm.java.net added a comment - I've just tried GlassFish Tools 5.2.2.201304271125 and it's working now : I can start/debug my glassfish application in Eclipse. Thanks a lot.

          People

          • Assignee:
            piotrik
            Reporter:
            dm.java.net
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: