forwarding to users at gf for a response.
-------- Original Message --------
Subject: Install GlassFish and GuessNumber sample
Date: Wed, 02 Apr 2008 10:37:32 +0200
From: alain.perry_at_snecma.fr
Reply-To: feedback_at_glassfish.dev.java.net
To: feedback_at_glassfish.dev.java.net <feedback_at_glassfish.dev.java.net>
Hello,
I've just installed GlassFish V2ur1 : fine
I start the server in domain1 (default) : fine
I put guessNumber.war (from J2eetutorial14.zip J2EE 1.4 Tutorial Update 7)
in autodeploy : deploy is fine
But the URL
http://localhost:8080/numberGuess/guess/ causes a SEVERE error
un server.log
It looks like a pb in the JSF stack.
Thanks a lot for help.
Regards
Alain
-----------------------------------------------
This is an extract of server.log
2 avr. 2008 09:10:06 com.sun.enterprise.admin.servermgmt.launch.ASLauncher
buildCommand
INFO:
C:/jdk1.5.0_06/jre/..\bin\java
-Dcom.sun.aas.instanceRoot=D:/glassfishV21/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,D:/glassfishV21/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=D:/glassfishV21/lib/install/applications/jmsra/imqjmsra.jar,D:/glassfishV21/imq/lib/jaxm-api.jar,D:/glassfishV21/imq/lib/fscontext.jar,D:/glassfishV21/imq/lib/imqbroker.jar,D:/glassfishV21/imq/lib/imqjmx.jar,D:/glassfishV21/lib/ant/lib/ant.jar,D:/glassfishV21/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:/jdk1.5.0_06/jre/../lib/tools.jar,install/applications/jmsra/imqjmsra.jar,com-sun-commons-launcher.jar,com-sun-commons-logging.jar,D:/glassfishV21/imq/lib/jaxm-api.jar,D:/glassfishV21/imq/lib/fscontext.jar,D:/glassfishV21/imq/lib/imqbroker.jar,D:/glassfishV21/imq/lib/imqjmx.jar,D:/glassfishV21/imq/lib/imqxm.jar,webservices-rt.jar,webservices-tools.jar,mail.jar,appserv-jstl.jar,jmxremote_optional.jar,D:/glassfishV21/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,activation.jar,appserv-rt.jar,appserv-admin.jar,appserv-cmp.jar,D:/glassfishV21/updatecenter/lib/updatecenter.jar,D:/glassfishV21/jbi/lib/jbi.jar,D:/glassfishV21/imq/lib/imqjmx.jar,D:/glassfishV21/lib/ant/lib/ant.jar,dbschema.jar
-Dcom.sun.aas.configName=server-config
-Dcom.sun.aas.configRoot=D:/glassfishV21/config
-Dcom.sun.aas.defaultLogFile=D:/glassfishV21/domains/domain1/logs/server.log
-Dcom.sun.aas.domainName=domain1
-Dcom.sun.aas.installRoot=D:/glassfishV21
-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=D:/glassfishV21/updatecenter
-Ddomain.name=domain1
-Djava.endorsed.dirs=D:/glassfishV21/lib/endorsed
-Djava.ext.dirs=C:/jdk1.5.0_06/jre/../lib/ext;C:/jdk1.5.0_06/jre/../jre/lib/ext;D:/glassfishV21/domains/domain1/lib/ext;D:/glassfishV21/javadb/lib
-Djava.library.path=D:\glassfishV21\lib;D:\glassfishV21\lib;D:\glassfishV21\bin;D:\glassfishV21\lib
-Djava.security.auth.login.config=D:/glassfishV21/domains/domain1/config/login.conf
-Djava.security.policy=D:/glassfishV21/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=D:/glassfishV21/domains/domain1/config/keystore.jks
-Djavax.net.ssl.trustStore=D:/glassfishV21/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=D:/glassfishV21/domains/domain1/logs/jvm.log
-cp
D:/glassfishV21/lib/jhall.jar;D:\glassfishV21\lib\appserv-launch.jar
com.sun.enterprise.server.PELaunch
start
[#|2008-04-02T09:10:09.089+0200|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|Starting
Sun Java System Application Server 9.1_01 (build b09d-fcs) ...|#]
[#|2008-04-02T09:10:10.183+0200|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=11;_ThreadName=pool-1-thread-2;com.sun.enterprise.interceptor.DynamicInterceptor;|MBeanServer
started: com.sun.enterprise.interceptor.DynamicInterceptor|#]
[#|2008-04-02T09:10:13.214+0200|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|CORE5098:
AS Socket Service Initialization has been completed.|#]
[#|2008-04-02T09:10:13.370+0200|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;Java
HotSpot(TM) Client VM;1.5.0_06;Sun Microsystems Inc.;|CORE5076: Using
[Java HotSpot(TM) Client VM, Version 1.5.0_06] from [Sun Microsystems
Inc.]|#]
[#|2008-04-02T09:10:13.730+0200|INFO|sun-appserver9.1|javax.enterprise.system.core.security|_ThreadID=10;_ThreadName=main;|SEC1002:
Security Manager is OFF.|#]
[#|2008-04-02T09:10:18.980+0200|INFO|sun-appserver9.1|javax.enterprise.system.stream.out|_ThreadID=10;_ThreadName=main;|D:/glassfishV21/domains/domain1/config/.__com_sun_appserv_pid|#]
[#|2008-04-02T09:10:21.933+0200|INFO|sun-appserver9.1|javax.enterprise.system.tools.admin|_ThreadID=10;_ThreadName=main;|ADM0001:SunoneInterceptor
is now enabled|#]
[#|2008-04-02T09:10:22.870+0200|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-04-02T09:10:27.948+0200|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;server;|WEB0114:
SSO is disabled in virtual server [server]|#]
[#|2008-04-02T09:10:27.980+0200|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;__asadmin;|WEB0114:
SSO is disabled in virtual server [__asadmin]|#]
[#|2008-04-02T09:10:30.558+0200|INFO|sun-appserver9.1|javax.enterprise.system.tools.admin|_ThreadID=10;_ThreadName=main;|ADM1079:
Initialization of AMX MBeans started|#]
[#|2008-04-02T09:10:32.980+0200|INFO|sun-appserver9.1|javax.enterprise.system.tools.admin|_ThreadID=12;_ThreadName=Thread-17;service:jmx:rmi:///jndi/rmi://H392210A.snm.snecma:8686/jmxrmi;|ADM1504:
Here is the JMXServiceURL for the Standard JMXConnectorServer:
[service:jmx:rmi:///jndi/rmi://H392210A.snm.snecma:8686/jmxrmi]. This is
where the remote administrative clients should connect using the standard
JMX connectors|#]
[#|2008-04-02T09:10:32.980+0200|INFO|sun-appserver9.1|javax.enterprise.system.tools.admin|_ThreadID=12;_ThreadName=Thread-17;true;|ADM1506:
Status of Standard JMX Connector: Active = [true]|#]
[#|2008-04-02T09:10:33.073+0200|INFO|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=10;_ThreadName=main;|autoDeployment
status dir missing, creating a new one|#]
[#|2008-04-02T09:10:33.167+0200|INFO|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=10;_ThreadName=main;|[AutoDeploy]
Selecting file D:\glassfishV21\lib\install\applications\MEjbApp.ear for
autodeployment.|#]
[#|2008-04-02T09:10:38.417+0200|INFO|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=10;_ThreadName=main;|deployed
with moduleid = MEjbApp|#]
[#|2008-04-02T09:10:38.839+0200|INFO|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=10;_ThreadName=main;|[AutoDeploy]
Successfully autodeployed :
D:\glassfishV21\lib\install\applications\MEjbApp.ear.|#]
[#|2008-04-02T09:10:38.855+0200|INFO|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=10;_ThreadName=main;|[AutoDeploy]
Selecting file
D:\glassfishV21\lib\install\applications\__ejb_container_timer_app.ear for
autodeployment.|#]
[#|2008-04-02T09:11:21.948+0200|INFO|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=10;_ThreadName=main;|deployed
with moduleid = __ejb_container_timer_app|#]
[#|2008-04-02T09:11:22.292+0200|INFO|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=10;_ThreadName=main;|[AutoDeploy]
Successfully autodeployed :
D:\glassfishV21\lib\install\applications\__ejb_container_timer_app.ear.|#]
[#|2008-04-02T09:11:22.292+0200|INFO|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=10;_ThreadName=main;|[AutoDeploy]
Selecting file
D:\glassfishV21\lib\install\applications\__JWSappclients.ear for
autodeployment.|#]
[#|2008-04-02T09:11:23.714+0200|INFO|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=10;_ThreadName=main;|deployed
with moduleid = __JWSappclients|#]
[#|2008-04-02T09:11:23.917+0200|INFO|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=10;_ThreadName=main;|[AutoDeploy]
Successfully autodeployed :
D:\glassfishV21\lib\install\applications\__JWSappclients.ear.|#]
[#|2008-04-02T09:11:24.917+0200|INFO|sun-appserver9.1|com.sun.jbi.framework|_ThreadID=10;_ThreadName=main;|JBIFW0010:
JBI framework ready to accept requests.|#]
[#|2008-04-02T09:11:24.948+0200|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;|WEB0302:
Starting Sun-Java-System/Application-Server.|#]
[#|2008-04-02T09:11:25.730+0200|WARNING|sun-appserver9.1|javax.enterprise.system.core.security|_ThreadID=10;_ThreadName=main;_RequestID=ad5e8c03-62e6-4090-85aa-3fd30490befa;|No
Principals mapped to Role [noaccess].|#]
[#|2008-04-02T09:11:28.448+0200|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-04-02T09:11:28.823+0200|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-04-02T09:11:28.917+0200|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-04-02T09:11:38.042+0200|INFO|sun-appserver9.1|javax.enterprise.system.core.selfmanagement|_ThreadID=10;_ThreadName=main;|SMGT0007:
Self Management Rules service is enabled|#]
[#|2008-04-02T09:11:38.214+0200|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|Application
server startup complete.|#]
[#|2008-04-02T09:26:48.448+0200|INFO|sun-appserver9.1|javax.enterprise.resource.webcontainer.jsf.config|_ThreadID=13;_ThreadName=httpWorkerThread-4848-1;;|Initializing
Sun's JavaServer Faces implementation (1.2_04-b20-p03) for context ''|#]
[#|2008-04-02T09:27:39.042+0200|INFO|sun-appserver9.1|com.sun.jbi.framework|_ThreadID=13;_ThreadName=httpWorkerThread-4848-1;|JBIFW0012:
JBI framework startup complete.|#]
[#|2008-04-02T09:28:06.339+0200|INFO|sun-appserver9.1|javax.enterprise.system.tools.admin|_ThreadID=13;_ThreadName=httpWorkerThread-4848-1;D:/glassfishV21/domains/domain1/config/admin-keyfile;|SEC1107:
Writing file realm data to
[D:/glassfishV21/domains/domain1/config/admin-keyfile].|#]
[#|2008-04-02T09:28:06.355+0200|WARNING|sun-appserver9.1|javax.enterprise.system.tools.admin|_ThreadID=13;_ThreadName=httpWorkerThread-4848-1;admin-realm;_RequestID=89c5ca3a-d7f6-41cd-b94e-a56556703dc1;|The
password for administrative user [security-realm: admin-realm] was changed
successfully for immediate use on this domain administration server (DAS).
Refer to documentation for details.|#]
[#|2008-04-02T09:28:06.355+0200|INFO|sun-appserver9.1|javax.enterprise.system.tools.admin|_ThreadID=13;_ThreadName=httpWorkerThread-4848-1;com.sun.enterprise.admin.event.UserMgmtEvent
-- server [0 Change(s), Id:7, ts:1207121286355];|ADM1041:Sent the event to
instance:[com.sun.enterprise.admin.event.UserMgmtEvent -- server [0
Change(s), Id:7, ts:1207121286355]]|#]
[#|2008-04-02T09:28:29.667+0200|INFO|sun-appserver9.1|javax.enterprise.system.core.security|_ThreadID=14;_ThreadName=httpWorkerThread-4848-0;admin;|SEC5046:
Audit: Authentication refused for [admin].|#]
[#|2008-04-02T09:28:29.667+0200|WARNING|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=14;_ThreadName=httpWorkerThread-4848-0;_RequestID=259d3e80-5d09-4771-aae0-732f6f9dc89b;|Web
login failed: Login failed: javax.security.auth.login.LoginException:
Failed file login for admin.|#]
[#|2008-04-02T09:32:28.089+0200|INFO|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=15;_ThreadName=Timer-6;|[AutoDeploy]
Selecting file D:\glassfishV21\domains\domain1\autodeploy\guessNumber.war
for autodeployment.|#]
[#|2008-04-02T09:32:29.589+0200|INFO|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=15;_ThreadName=Timer-6;|deployed
with moduleid = guessNumber|#]
[#|2008-04-02T09:32:30.089+0200|INFO|sun-appserver9.1|javax.enterprise.resource.webcontainer.jsf.config|_ThreadID=15;_ThreadName=Timer-6;/guessNumber;|Initializing
Sun's JavaServer Faces implementation (1.2_04-b20-p03) for context
'/guessNumber'|#]
[#|2008-04-02T09:32:30.355+0200|INFO|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=15;_ThreadName=Timer-6;|[AutoDeploy]
Successfully autodeployed :
D:\glassfishV21\domains\domain1\autodeploy\guessNumber.war.|#]
[#|2008-04-02T09:34:55.855+0200|INFO|sun-appserver9.1|javax.enterprise.system.stream.out|_ThreadID=16;_ThreadName=httpSSLWorkerThread-8080-1;|
Duke's number: 7|#]
[#|2008-04-02T09:34:55.948+0200|WARNING|sun-appserver9.1|javax.enterprise.resource.webcontainer.jsf.lifecycle|_ThreadID=16;_ThreadName=httpSSLWorkerThread-8080-1;_RequestID=2321e9ff-23f5-4cf7-a100-e7c909b02491;|executePhase(RENDER_RESPONSE
6,com.sun.faces.context.FacesContextImpl_at_1da77f5) threw exception
java.lang.NullPointerException
at
com.sun.faces.renderkit.RenderKitImpl.createResponseWriter(RenderKitImpl.java:183)
at
com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:168)
at
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
.....
at
com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
|#]
[#|2008-04-02T09:34:55.964+0200|SEVERE|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=16;_ThreadName=httpSSLWorkerThread-8080-1;_RequestID=2321e9ff-23f5-4cf7-a100-e7c909b02491;|StandardWrapperValve[FacesServlet]:
PWC1406: Servlet.service() for servlet FacesServlet threw exception
java.lang.NullPointerException
at
com.sun.faces.renderkit.RenderKitImpl.createResponseWriter(RenderKitImpl.java:183)
at
com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:168)
at
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
.....
at
com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
|#]
#
" This e-mail and any attached documents may contain confidential or proprietary information. If you are not the intended recipient, please advise the sender immediately and delete this e-mail and all attached documents from your computer system. Any unauthorised disclosure, distribution or copying hereof is prohibited."
" Ce courriel et les documents qui y sont attaches peuvent contenir des informations confidentielles. Si vous n'etes pas le destinataire escompte, merci d'en informer l'expediteur immediatement et de detruire ce courriel ainsi que tous les documents attaches de votre systeme informatique. Toute divulgation, distribution ou copie du present courriel et des documents attaches sans autorisation prealable de son emetteur est interdite."
#
---------------------------------------------------------------------
To unsubscribe, e-mail: feedback-unsubscribe_at_glassfish.dev.java.net
For additional commands, e-mail: feedback-help_at_glassfish.dev.java.net