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
        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: