users@glassfish.java.net

Re: VariableResolver was unable to find key (loginButtonTooltip)

From: Rochelle Raccah <Rochelle.Raccah_at_Sun.COM>
Date: Fri, 07 Mar 2008 13:47:18 -0800

You may be hitting this Eclipse bug:
<https://bugs.eclipse.org/bugs/show_bug.cgi?id=219627>

See more discussion at
<http://forums.java.net/jive/thread.jspa?threadID=24002&tstart=0>

Thanks,
Rochelle

gogginguy wrote:
> Just installed GlassFish V2 and added it to my Eclipse 3.3.2 instllation. I
> created a new Dynamic Web Project with a single HTML page. Got a
> "nullPointerException" when attmepting to deploy. This is my asenv.bat file
> and server startup log and am trying to find out why the last line is an
> error and if it may be causing my deploy problem. Any help is appreciated.
> Thanks :)
>
> asenv.bat:
> rem
> rem Copyright 2004-2005 Sun Microsystems, Inc. All rights reserved.
> rem Use is subject to license terms.
> rem
>
> set AS_ANT=C:\glassfish\lib\ant
> set AS_ANT_LIB=C:\glassfish\lib\ant\lib
> set AS_WEBSERVICES_LIB=C:\glassfish\lib
> set AS_PERL=%PERL_HOME%
> set AS_NSS=C:\glassfish\lib
> set AS_NSS_BIN=C:\glassfish\lib\admincgi
> set AS_IMQ_LIB=C:\glassfish\imq\lib
> set AS_IMQ_BIN=C:\glassfish\imq\bin
> set AS_CONFIG=C:\glassfish\config
> set AS_INSTALL=C:\glassfish
> set AS_JAVA=C:\Java\jdk1.6.0_05
> set AS_ACC_CONFIG=C:\glassfish\domains\domain1\config\sun-acc.xml
> set AS_JHELP=C:\glassfish\lib
> set AS_ICU_LIB=C:\glassfish\lib
> set AS_DEF_DOMAINS_PATH=C:\glassfish\domains
> set AS_JDMK_HOME=C:\glassfish/lib\SUNWjdmk/5.1
> set AS_NATIVE_LAUNCHER=false
> set AS_NATIVE_LAUNCHER_LIB_PREFIX=\jre\bin\client
> set AS_WEBCONSOLE_LIB=C:\glassfish\lib
> set AS_JATO_LIB=C:\glassfish\lib
> set AS_HADB=%HADB_HOME%
> set AS_DERBY_INSTALL=C:\glassfish\javadb
> set AS_MFWK_HOME=%MFWK_HOME%
>
>
> server.log...
> Starting Domain domain1, please wait.
> Mar 7, 2008 12:26:47 PM
> com.sun.enterprise.admin.servermgmt.launch.ASLauncher buildCommand
> INFO:
> C:/Java/jdk1.6.0_05\bin\java
> -client
> -XX:+UnlockDiagnosticVMOptions
> -XX:MaxPermSize=192m
> -Xmx512m
> -XX:NewRatio=2
> -XX:+LogVMOutput
> -XX:LogFile=C:/glassfish/domains/domain1/logs/jvm.log
> -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,dbschema.jar,j2ee-svc.jar
> -Dcom.sun.aas.classloader.optionalOverrideableChain.ee=
> -Dcom.sun.aas.classloader.optionalOverrideableChain=webservices-rt.jar,webservices-tools.jar,commons-logging.jar,commons-launcher.jar
> -Dcom.sun.aas.classloader.serverClassPath.ee=%HADB_HOME%/lib/hadbjdbc4.jar,C:/glassfish/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,%HADB_HOME%/lib/dbstate.jar,%HADB_HOME%/lib/hadbm.jar,%HADB_HOME%/lib/hadbmgt.jar,%MFWK_HOME%/lib/mfwk_instrum_tk.jar
> -Dcom.sun.aas.classloader.serverClassPath=C:/glassfish/lib/install/applications/jmsra/imqjmsra.jar,C:/glassfish/imq/lib/jaxm-api.jar,C:/glassfish/imq/lib/fscontext.jar,C:/glassfish/imq/lib/imqbroker.jar,C:/glassfish/imq/lib/imqjmx.jar,C:/glassfish/lib/ant/lib/ant.jar,C:/glassfish/lib/SUNWjdmk/5.1/lib/jdmkrt.jar
> -Dcom.sun.aas.classloader.sharedChainJars.ee=appserv-se.jar,appserv-ee.jar,%HADB_HOME%/lib/dbstate.jar,%HADB_HOME%/lib/hadbjdbc4.jar,jgroups-all.jar,%MFWK_HOME%/lib/mfwk_instrum_tk.jar
> -Dcom.sun.aas.classloader.sharedChainJars=javaee.jar,C:/Java/jdk1.6.0_05/lib/tools.jar,install/applications/jmsra/imqjmsra.jar,commons-launcher.jar,C:/glassfish/imq/lib/jaxm-api.jar,C:/glassfish/imq/lib/fscontext.jar,C:/glassfish/imq/lib/imqbroker.jar,C:/glassfish/imq/lib/imqjmx.jar,C:/glassfish/imq/lib/imqxm.jar,C:/glassfish/lib/ant/lib/ant.jar,webservices-rt.jar,webservices-tools.jar,mail.jar,jsf-api.jar,jsf-impl.jar,appserv-jstl.jar,appserv-env.jar,jmxremote_optional.jar,C:/glassfish/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,commons-logging.jar,activation.jar,appserv-rt.jar,appserv-admin.jar,appserv-cmp.jar,C:/glassfish/updatecenter/lib/updatecenter.jar,C:/glassfish/jbi/lib/jbi.jar
> -Dcom.sun.aas.configName=server-config
> -Dcom.sun.aas.configRoot=C:/glassfish/config
> -Dcom.sun.aas.defaultLogFile=C:/glassfish/domains/domain1/logs/server.log
> -Dcom.sun.aas.domainName=domain1
> -Dcom.sun.aas.installRoot=C:/glassfish
> -Dcom.sun.aas.instanceName=server
> -Dcom.sun.aas.instanceRoot=C:/glassfish/domains/domain1
> -Dcom.sun.aas.processLauncher=SE
> -Dcom.sun.aas.promptForIdentity=true
> -Dcom.sun.aas.verboseMode=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:/glassfish/updatecenter
> -Ddomain.name=domain1
> -Djava.endorsed.dirs=C:/glassfish/lib/endorsed
> -Djava.ext.dirs=C:/Java/jdk1.6.0_05/lib/ext;C:/Java/jdk1.6.0_05/jre/lib/ext;C:/glassfish/domains/domain1/lib/ext;C:/glassfish/javadb/lib
> -Djava.library.path=C:\glassfish\lib;C:\glassfish\lib;C:\glassfish\bin;C:\glassfish\lib
> -Djava.security.auth.login.config=C:/glassfish/domains/domain1/config/login.conf
> -Djava.security.policy=C:/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:/glassfish/domains/domain1/config/keystore.jks
> -Djavax.net.ssl.trustStore=C:/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
> -cp
> ;C:/glassfish/lib/appserv-launch.jar
> com.sun.enterprise.server.PELaunch
> start
> verbose
> Mar 7, 2008 12:26:47 PM
> com.sun.enterprise.admin.servermgmt.launch.ASLauncher process
> INFO: goodbye
> [#|2008-03-07T12:26:49.906-0500|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|Starting
> Sun Java System Application Server 9.1 (build b41d-beta2) ...|#]
>
> [#|2008-03-07T12:26:51.453-0500|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|CORE5098:
> AS Socket Service Initialization has been completed.|#]
>
> [#|2008-03-07T12:26:51.593-0500|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;Java
> HotSpot(TM) Client VM;1.6.0_05;Sun Microsystems Inc.;|CORE5076: Using [Java
> HotSpot(TM) Client VM, Version 1.6.0_05] from [Sun Microsystems Inc.]|#]
>
> [#|2008-03-07T12:26:51.718-0500|INFO|sun-appserver9.1|javax.enterprise.system.core.security|_ThreadID=10;_ThreadName=main;|SEC1002:
> Security Manager is OFF.|#]
>
> [#|2008-03-07T12:26:55.187-0500|INFO|sun-appserver9.1|javax.enterprise.system.tools.admin|_ThreadID=10;_ThreadName=main;|ADM0001:MBeanServer
> initialized successfully|#]
>
> [#|2008-03-07T12:26:55.718-0500|INFO|sun-appserver9.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.|#]
>
> [#|2008-03-07T12:26:58.000-0500|INFO|sun-appserver9.1|javax.enterprise.system.stream.out|_ThreadID=10;_ThreadName=main;|RMIClient.getRMIClient:
> server|#]
>
> [#|2008-03-07T12:26:58.750-0500|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;server;|WEB0114:
> SSO is disabled in virtual server [server]|#]
>
> [#|2008-03-07T12:26:58.781-0500|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;__asadmin;|WEB0114:
> SSO is disabled in virtual server [__asadmin]|#]
>
> [#|2008-03-07T12:27:00.312-0500|INFO|sun-appserver9.1|javax.enterprise.system.tools.admin|_ThreadID=10;_ThreadName=main;|ADM1079:
> Initialization of AMX MBeans successful|#]
>
> [#|2008-03-07T12:27:01.484-0500|INFO|sun-appserver9.1|javax.enterprise.system.tools.admin|_ThreadID=11;_ThreadName=Thread-17;service:jmx:rmi:///jndi/rmi://wes-e2vzdwav244:8686/jmxrmi;|ADM1504:
> Here is the JMXServiceURL for the Standard JMXConnectorServer:
> [service:jmx:rmi:///jndi/rmi://wes-e2vzdwav244:8686/jmxrmi]. This is where
> the remote administrative clients should connect using the standard JMX
> connectors|#]
>
> [#|2008-03-07T12:27:01.484-0500|INFO|sun-appserver9.1|javax.enterprise.system.tools.admin|_ThreadID=11;_ThreadName=Thread-17;true;|ADM1506:
> Status of Standard JMX Connector: Active = [true]|#]
>
> [#|2008-03-07T12:27:04.046-0500|INFO|sun-appserver9.1|com.sun.jbi.framework|_ThreadID=10;_ThreadName=main;|JBIFW0010:
> JBI framework ready to accept requests.|#]
>
> [#|2008-03-07T12:27:04.171-0500|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;|WEB0302:
> Starting Sun-Java-System/Application-Server.|#]
>
> [#|2008-03-07T12:27:05.546-0500|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;8080;|WEB0712:
> Starting Sun-Java-System/Application-Server HTTP/1.1 on 8080|#]
>
> [#|2008-03-07T12:27:05.687-0500|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;8181;|WEB0712:
> Starting Sun-Java-System/Application-Server HTTP/1.1 on 8181|#]
>
> [#|2008-03-07T12:27:05.703-0500|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;4848;|WEB0712:
> Starting Sun-Java-System/Application-Server HTTP/1.1 on 4848|#]
>
> [#|2008-03-07T12:27:08.031-0500|INFO|sun-appserver9.1|javax.enterprise.system.core.selfmanagement|_ThreadID=10;_ThreadName=main;|SMGT0007:
> Self Management Rules service is enabled|#]
>
> [#|2008-03-07T12:27:08.156-0500|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|Application
> server startup complete.|#]
>
> [#|2008-03-07T12:27:08.687-0500|INFO|sun-appserver9.1|javax.enterprise.resource.webcontainer.jsf.config|_ThreadID=12;_ThreadName=httpWorkerThread-4848-1;;|Initializing
> Sun's JavaServer Faces implementation (1.2_04-b10-p01) for context ''|#]
>
> [#|2008-03-07T12:27:15.859-0500|INFO|sun-appserver9.1|com.sun.jsftemplating|_ThreadID=12;_ThreadName=httpWorkerThread-4848-1;|JSFT0003:
> VariableResolver was unable to find key (loginButtonTooltip) in
> ResourceBundle (i18n).|#]
>
>