users@glassfish.java.net

Re: Cannot login to admin console

From: Anissa Lam <Anissa.Lam_at_Sun.COM>
Date: Tue, 18 Aug 2009 17:01:14 -0700

So CLI doesn't show you the list of jdbc resources because
authentication also failed, correct ?
I think you should file an issue against "admin" attaching the log
files. Either the security or the admin infrastructure team needs to
look at it.
You will need to login with your java.net id to enter the issue.
https://glassfish.dev.java.net/issues/enter_bug.cgi

thanks
Anissa

glassfish_at_javadesktop.org wrote:
> After i did the test, this is what appears in the server.log file:
>
> 18/08/2009 06:09:09 PM com.sun.enterprise.admin.servermgmt.launch.ASLauncher buildCommand
> INFO:
> C:/Archivos de programa/Java/jdk1.6.0_14/jre/..\bin\java
> -Dcom.sun.aas.instanceRoot=C:/Documents and Settings/Jose Luis Gomez/glassfish/domains/domain1
> -Dcom.sun.aas.ClassPathPrefix=
> -Dcom.sun.aas.ClassPathSuffix=
> -Dcom.sun.aas.ServerClassPath=
> -Dcom.sun.aas.classloader.appserverChainJars.ee=
> -Dcom.sun.aas.classloader.appserverChainJars=admin-cli.jar,admin-cli-ee.jar,j2ee-svc.jar
> -Dcom.sun.aas.classloader.excludesList=admin-cli.jar,appserv-upgrade.jar,sun-appserv-ant.jar
> -Dcom.sun.aas.classloader.optionalOverrideableChain.ee=
> -Dcom.sun.aas.classloader.optionalOverrideableChain=webservices-rt.jar,webservices-tools.jar
> -Dcom.sun.aas.classloader.serverClassPath.ee=/lib/hadbjdbc4.jar,C:/Documents and Settings/Jose Luis Gomez/glassfish/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,/lib/dbstate.jar,/lib/hadbm.jar,/lib/hadbmgt.jar,/lib/mfwk_instrum_tk.jar
> -Dcom.sun.aas.classloader.serverClassPath=C:/Documents and Settings/Jose Luis Gomez/glassfish/lib/install/applications/jmsra/imqjmsra.jar,C:/Documents and Settings/Jose Luis Gomez/glassfish/imq/lib/jaxm-api.jar,C:/Documents and Settings/Jose Luis Gomez/glassfish/imq/lib/fscontext.jar,C:/Documents and Settings/Jose Luis Gomez/glassfish/imq/lib/imqbroker.jar,C:/Documents and Settings/Jose Luis Gomez/glassfish/imq/lib/imqjmx.jar,C:/Documents and Settings/Jose Luis Gomez/glassfish/lib/ant/lib/ant.jar,C:/Documents and Settings/Jose Luis Gomez/glassfish/lib/SUNWjdmk/5.1/lib/jdmkrt.jar
> -Dcom.sun.aas.classloader.sharedChainJars.ee=appserv-se.jar,appserv-ee.jar,jesmf-plugin.jar,/lib/dbstate.jar,/lib/hadbjdbc4.jar,jgroups-all.jar,/lib/mfwk_instrum_tk.jar
> -Dcom.sun.aas.classloader.sharedChainJars=javaee.jar,C:/Archivos de programa/Java/jdk1.6.0_14/jre/../lib/tools.jar,install/applications/jmsra/imqjmsra.jar,com-sun-commons-launcher.jar,com-sun-commons-logging.jar,C:/Documents and Settings/Jose Luis Gomez/glassfish/imq/lib/jaxm-api.jar,C:/Documents and Settings/Jose Luis Gomez/glassfish/imq/lib/fscontext.jar,C:/Documents and Settings/Jose Luis Gomez/glassfish/imq/lib/imqbroker.jar,C:/Documents and Settings/Jose Luis Gomez/glassfish/imq/lib/imqjmx.jar,C:/Documents and Settings/Jose Luis Gomez/glassfish/imq/lib/imqxm.jar,webservices-rt.jar,webservices-tools.jar,mail.jar,appserv-jstl.jar,jmxremote_optional.jar,C:/Documents and Settings/Jose Luis Gomez/glassfish/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,activation.jar,appserv-rt.jar,appserv-admin.jar,appserv-cmp.jar,C:/Documents and Settings/Jose Luis Gomez/glassfish/updatecenter/lib/updatecenter.jar,C:/Documents and Settings/Jose Luis Gomez/glassfish/jbi/lib/jbi.jar,C:/Documents and Settings/Jose Luis Gomez/glassfish/imq/lib/imqjmx.jar,C:/Documents and Settings/Jose Luis Gomez/glassfish/lib/ant/lib/ant.jar,dbschema.jar
> -Dcom.sun.aas.configName=server-config
> -Dcom.sun.aas.configRoot=C:/Documents and Settings/Jose Luis Gomez/glassfish/config
> -Dcom.sun.aas.defaultLogFile=C:/Documents and Settings/Jose Luis Gomez/glassfish/domains/domain1/logs/server.log
> -Dcom.sun.aas.domainName=domain1
> -Dcom.sun.aas.installRoot=C:/Documents and Settings/Jose Luis Gomez/glassfish
> -Dcom.sun.aas.instanceName=server
> -Dcom.sun.aas.processLauncher=SE
> -Dcom.sun.aas.promptForIdentity=true
> -Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
> -Dcom.sun.enterprise.overrideablejavaxpackages=javax.help,javax.portlet
> -Dcom.sun.enterprise.taglibs=appserv-jstl.jar,jsf-impl.jar
> -Dcom.sun.enterprise.taglisteners=jsf-impl.jar
> -Dcom.sun.updatecenter.home=C:/Documents and Settings/Jose Luis Gomez/glassfish/updatecenter
> -Ddomain.name=domain1
> -Djava.endorsed.dirs=C:/Documents and Settings/Jose Luis Gomez/glassfish/lib/endorsed
> -Djava.ext.dirs=C:/Archivos de programa/Java/jdk1.6.0_14/jre/../lib/ext;C:/Archivos de programa/Java/jdk1.6.0_14/jre/../jre/lib/ext;C:/Documents and Settings/Jose Luis Gomez/glassfish/domains/domain1/lib/ext;C:/Documents and Settings/Jose Luis Gomez/glassfish/javadb/lib
> -Djava.library.path=C:\Documents and Settings\Jose Luis Gomez\glassfish\lib;C:\Documents and Settings\Jose Luis Gomez\glassfish\lib;C:\Documents and Settings\Jose Luis Gomez\glassfish\bin;C:\Documents and Settings\Jose Luis Gomez\glassfish\lib
> -Djava.security.auth.login.config=C:/Documents and Settings/Jose Luis Gomez/glassfish/domains/domain1/config/login.conf
> -Djava.security.policy=C:/Documents and Settings/Jose Luis Gomez/glassfish/domains/domain1/config/server.policy
> -Djava.util.logging.manager=com.sun.enterprise.server.logging.ServerLogManager
> -Djavax.management.builder.initial=com.sun.enterprise.admin.server.core.jmx.AppServerMBeanServerBuilder
> -Djavax.net.ssl.keyStore=C:/Documents and Settings/Jose Luis Gomez/glassfish/domains/domain1/config/keystore.jks
> -Djavax.net.ssl.trustStore=C:/Documents and Settings/Jose Luis Gomez/glassfish/domains/domain1/config/cacerts.jks
> -Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
> -Djmx.invoke.getters=true
> -Dsun.rmi.dgc.client.gcInterval=3600000
> -Dsun.rmi.dgc.server.gcInterval=3600000
> -client
> -XX:+UnlockDiagnosticVMOptions
> -XX:MaxPermSize=192m
> -Xmx512m
> -XX:NewRatio=2
> -XX:+LogVMOutput
> -XX:LogFile=C:/Documents and Settings/Jose Luis Gomez/glassfish/domains/domain1/logs/jvm.log
> -cp
> C:/Documents and Settings/Jose Luis Gomez/glassfish/lib/jhall.jar;C:\Documents and Settings\Jose Luis Gomez\glassfish\lib\appserv-launch.jar
> com.sun.enterprise.server.PELaunch
> start
> [#|2009-08-18T18:09:20.875-0500|INFO|sun-appserver2.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;Java HotSpot(TM) Client VM;1.6.0_14;Sun Microsystems Inc.;|CORE5076: Using [Java HotSpot(TM) Client VM, Version 1.6.0_14] from [Sun Microsystems Inc.]|#]
>
> [#|2009-08-18T18:09:21.531-0500|INFO|sun-appserver2.1|javax.enterprise.resource.jms|_ThreadID=11;_ThreadName=pool-1-thread-6;|Using MQ RA for Broker lifecycle control|#]
>
> [#|2009-08-18T18:09:21.531-0500|INFO|sun-appserver2.1|javax.enterprise.system.core.security|_ThreadID=12;_ThreadName=pool-1-thread-3;|SEC1002: Security Manager is OFF.|#]
>
> [#|2009-08-18T18:09:34.890-0500|INFO|sun-appserver2.1|javax.enterprise.system.core.security|_ThreadID=10;_ThreadName=main;com.sun.enterprise.security.provider.PolicyWrapper;|SEC1143: Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper.|#]
>
> [#|2009-08-18T18:09:39.046-0500|INFO|sun-appserver2.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;server;|WEB0114: SSO is disabled in virtual server [server]|#]
>
> [#|2009-08-18T18:09:39.265-0500|INFO|sun-appserver2.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;__asadmin;|WEB0114: SSO is disabled in virtual server [__asadmin]|#]
>
> [#|2009-08-18T18:09:39.296-0500|INFO|sun-appserver2.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;com.ericsson.ssa.config.ConvergedContextConfig;|REgistering Custom ContextConfig|#]
>
> [#|2009-08-18T18:09:39.296-0500|INFO|sun-appserver2.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;com.ericsson.ssa.config.ConvergedContextImpl;|REgistering Custom Context|#]
>
> [#|2009-08-18T18:09:51.062-0500|INFO|sun-appserver2.1|javax.enterprise.system.core.transaction|_ThreadID=10;_ThreadName=main;3700;|JTS5014: Recoverable JTS instance, serverId = [3700]|#]
>
> [#|2009-08-18T18:09:52.390-0500|INFO|sun-appserver2.1|javax.enterprise.system.tools.admin|_ThreadID=10;_ThreadName=main;|ADM1079: Initialization of AMX MBeans started|#]
>
> [#|2009-08-18T18:09:53.781-0500|INFO|sun-appserver2.1|javax.enterprise.system.tools.admin|_ThreadID=13;_ThreadName=Thread-14;service:jmx:rmi:///jndi/rmi://GOARIZMINI.gateway.2wire.net:8686/jmxrmi;|ADM1504: Here is the JMXServiceURL for the Standard JMXConnectorServer: [service:jmx:rmi:///jndi/rmi://GOARIZMINI.gateway.2wire.net:8686/jmxrmi]. This is where the remote administrative clients should connect using the standard JMX connectors|#]
>
> [#|2009-08-18T18:09:53.781-0500|INFO|sun-appserver2.1|javax.enterprise.system.tools.admin|_ThreadID=13;_ThreadName=Thread-14;true;|ADM1506: Status of Standard JMX Connector: Active = [true]|#]
>
> [#|2009-08-18T18:09:56.390-0500|INFO|sun-appserver2.1|javax.enterprise.resource.resourceadapter|_ThreadID=10;_ThreadName=main;|JMS Service Connection URL is :mq://GOARIZMINI:7676/|#]
>
> [#|2009-08-18T18:09:56.453-0500|INFO|sun-appserver2.1|javax.resourceadapter.mqjmsra.lifecycle|_ThreadID=10;_ThreadName=main;|MQJMSRA_RA1101: SJSMQ JMS Resource Adapter starting...|#]
>
> [#|2009-08-18T18:10:01.421-0500|INFO|sun-appserver2.1|javax.resourceadapter.mqjmsra.lifecycle|_ThreadID=10;_ThreadName=main;|MQJMSRA_EB1101: EMBEDDED broker started with code =0|#]
>
> [#|2009-08-18T18:10:01.437-0500|INFO|sun-appserver2.1|javax.resourceadapter.mqjmsra.lifecycle|_ThreadID=10;_ThreadName=main;|MQJMSRA_RA1101: SJSMQ JMSRA Started:DIRECT|#]
>
> [#|2009-08-18T18:10:06.328-0500|INFO|sun-appserver2.1|javax.enterprise.system.core.classloading|_ThreadID=10;_ThreadName=main;MEjbApp;|LDR5010: All ejb(s) of [MEjbApp] loaded successfully!|#]
>
> [#|2009-08-18T18:10:09.468-0500|INFO|sun-appserver2.1|javax.enterprise.system.container.ejb|_ThreadID=10;_ThreadName=main;jdbc/__TimerPool;|EJB5109:EJB Timer Service started successfully for datasource [jdbc/__TimerPool]|#]
>
> [#|2009-08-18T18:10:09.468-0500|INFO|sun-appserver2.1|javax.enterprise.system.core.classloading|_ThreadID=10;_ThreadName=main;__ejb_container_timer_app;|LDR5010: All ejb(s) of [__ejb_container_timer_app] loaded successfully!|#]
>
> [#|2009-08-18T18:10:12.046-0500|INFO|sun-appserver2.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;|WEB0302: Starting Sun-Java-System/Application-Server.|#]
>
> [#|2009-08-18T18:10:13.656-0500|INFO|sun-appserver2.1|com.sun.jbi.framework|_ThreadID=14;_ThreadName=pool-1-thread-4;|JBIFW0010: La estructura de JBI está preparada para aceptar solicitudes.|#]
>
> [#|2009-08-18T18:10:15.734-0500|INFO|sun-appserver2.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;8080;|WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 8080|#]
>
> [#|2009-08-18T18:10:16.031-0500|INFO|sun-appserver2.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;8181;|WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 8181|#]
>
> [#|2009-08-18T18:10:16.093-0500|INFO|sun-appserver2.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;4848;|WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 4848|#]
>
> [#|2009-08-18T18:10:20.218-0500|INFO|sun-appserver2.1|javax.enterprise.system.core.selfmanagement|_ThreadID=10;_ThreadName=main;|SMGT0007: Self Management Rules service is enabled|#]
>
> [#|2009-08-18T18:10:20.546-0500|INFO|sun-appserver2.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|Application server startup complete.|#]
>
> [#|2009-08-18T18:15:06.328-0500|INFO|sun-appserver2.1|javax.enterprise.system.core.security|_ThreadID=15;_ThreadName=httpWorkerThread-4848-1;admin;|SEC5046: Audit: Authentication refused for [admin].|#]
>
> [#|2009-08-18T18:15:06.343-0500|WARNING|sun-appserver2.1|javax.enterprise.system.container.web|_ThreadID=15;_ThreadName=httpWorkerThread-4848-1;_RequestID=98ca100d-7434-40a9-98da-baa51829f938;|Web login failed: Login failed: java.lang.SecurityException: No se puede localizar una configuración de inicio de sesión|#]
>
> Maybe it is something wrong about my JAVA_HOME variable...
> [Message sent by forum member 'goariz28' (goariz28)]
>
> http://forums.java.net/jive/thread.jspa?messageID=361070
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>