I think the launch button in the console might only be available when
it's a standalone web module (where it's obvious which URL it should use
to launch the application). For an ear which could contain multiple web
modules, the console would not have the knowledge to know which web
module to launch first as the entry point, you would need to figure out
which web module you want to launch first and do it manually.
- Hong
On 12/28/2011 2:29 AM, forums_at_java.net wrote:
> Hi,
>
> I have deployed ear in glassfish V2.1.1 with Jdk1.6 on window xp. It is
> deployed successfully and no error in server.log file.In glassfish
> console
> under the Applications [1]> Enterprise Applications my ear is
> displaying with
> Enable as True.Under Action property Launch is not displaying only
> Redeploy
> is displaying.So how to launch now as it has deployed successfully. The
> server.log file is as below :-
>
> Dec 28, 2011 12:52:32 PM
> com.sun.enterprise.admin.servermgmt.launch.ASLauncher buildCommand
> INFO:
> C:/Program Files/Java/jdk1.6.0_03\bin\java
> -Dcom.sun.aas.instanceRoot=D:/Projects/GEMoney/glassfish/domains/gemoney
> -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:/Projects/GEMoney/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=D:/Projects/GEMoney/glassfish/lib/install/applications/jmsra/imqjmsra.jar,D:/Projects/GEMoney/glassfish/imq/lib/jaxm-api.jar,D:/Projects/GEMoney/glassfish/imq/lib/fscontext.jar,D:/Projects/GEMoney/glassfish/imq/lib/imqbroker.jar,D:/Projects/GEMoney/glassfish/imq/lib/imqjmx.jar,D:/Projects/GEMoney/glassfish/lib/ant/lib/ant.jar,D:/Projects/GEMoney/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:/Program
> Files/Java/jdk1.6.0_03/lib/tools.jar,install/applications/jmsra/imqjmsra.jar,com-sun-commons-launcher.jar,com-sun-commons-logging.jar,D:/Projects/GEMoney/glassfish/imq/lib/jaxm-api.jar,D:/Projects/GEMoney/glassfish/imq/lib/fscontext.jar,D:/Projects/GEMoney/glassfish/imq/lib/imqbroker.jar,D:/Projects/GEMoney/glassfish/imq/lib/imqjmx.jar,D:/Projects/GEMoney/glassfish/imq/lib/imqxm.jar,webservices-rt.jar,webservices-tools.jar,mail.jar,appserv-jstl.jar,jmxremote_optional.jar,D:/Projects/GEMoney/glassfish/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,activation.jar,appserv-rt.jar,appserv-admin.jar,appserv-cmp.jar,D:/Projects/GEMoney/glassfish/updatecenter/lib/updatecenter.jar,D:/Projects/GEMoney/glassfish/jbi/lib/jbi.jar,D:/Projects/GEMoney/glassfish/imq/lib/imqjmx.jar,D:/Projects/GEMoney/glassfish/lib/ant/lib/ant.jar,dbschema.jar
>
> -Dcom.sun.aas.configName=server-config
> -Dcom.sun.aas.configRoot=D:/Projects/GEMoney/glassfish/config
> -Dcom.sun.aas.defaultLogFile=D:/Projects/GEMoney/glassfish/domains/gemoney/logs/server.log
>
> -Dcom.sun.aas.domainName=gemoney
> -Dcom.sun.aas.installRoot=D:/Projects/GEMoney/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=D:/Projects/GEMoney/glassfish/updatecenter
> -Ddomain.name=gemoney
> -Djava.endorsed.dirs=D:/Projects/GEMoney/glassfish/lib/endorsed
> -Djava.ext.dirs=C:/Program Files/Java/jdk1.6.0_03/lib/ext;C:/Program
> Files/Java/jdk1.6.0_03/jre/lib/ext;D:/Projects/GEMoney/glassfish/domains/gemoney/lib/ext;D:/Projects/GEMoney/glassfish/javadb/lib
>
> -Djava.library.path=D:\Projects\GEMoney\glassfish\lib;D:\Projects\GEMoney\glassfish\lib;D:\Projects\GEMoney\glassfish\bin;D:\Projects\GEMoney\glassfish\lib
>
> -Djava.security.auth.login.config=D:/Projects/GEMoney/glassfish/domains/gemoney/config/login.conf
>
> -Djava.security.policy=D:/Projects/GEMoney/glassfish/domains/gemoney/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:/Projects/GEMoney/glassfish/domains/gemoney/config/keystore.jks
>
> -Djavax.net.ssl.trustStore=D:/Projects/GEMoney/glassfish/domains/gemoney/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:/Projects/GEMoney/glassfish/domains/gemoney/logs/jvm.log
> -cp
> D:/Projects/GEMoney/glassfish/lib/jhall.jar;D:\Projects\GEMoney\glassfish\lib\appserv-launch.jar;D:\Projects\GEMoney\glassfish\lib;
>
> com.sun.enterprise.server.PELaunch
> start
> [#|2011-12-28T12:52:33.232+0530|INFO|sun-appserver2.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|Starting
>
> Sun GlassFish Enterprise Server v2.1.1 ((v2.1 Patch06)(9.1_02 Patch12))
> (build b31g-fcs) ...|#]
> [#|2011-12-28T12:52:33.951+0530|INFO|sun-appserver2.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;Java
>
> HotSpot(TM) Client VM;1.6.0_03;Sun Microsystems Inc.;|CORE5076: Using
> [Java
> HotSpot(TM) Client VM, Version 1.6.0_03] from [Sun Microsystems Inc.]|#]
> [#|2011-12-28T12:52:33.982+0530|INFO|sun-appserver2.1|javax.enterprise.system.core.security|_ThreadID=11;_ThreadName=pool-1-thread-3;|SEC1002:
>
> Security Manager is OFF.|#]
> [#|2011-12-28T12:52:33.998+0530|INFO|sun-appserver2.1|javax.enterprise.resource.jms|_ThreadID=12;_ThreadName=pool-1-thread-6;|Using
>
> MQ RA for Broker lifecycle control|#]
> [#|2011-12-28T12:52:34.967+0530|SEVERE|sun-appserver2.1|javax.enterprise.system.core.security|_ThreadID=10;_ThreadName=main;[
>
> [
> Version: V1
> Subject: OU=Secure Server Certification Authority, O="RSA Data
> Security,
> Inc.", C=US
> Signature Algorithm: MD2withRSA, OID = 1.2.840.113549.1.1.2
> Key: Sun RSA public key, 1000 bits
> modulus:
> 6144706769222379850430183405655235862870193813433361902309516534729547168229223442088128897090426025874990958624426272027915771330043379079076269082776443120496525109458437435793974957144923190172655546279112796066635455545786300647745888353781002359412766112775410851780140804282673804950495744761467
>
> public exponent: 65537
> Validity: [From: Wed Nov 09 05:30:00 IST 1994,
> To: Fri Jan 08 05:29:59 IST 2010]
> Issuer: OU=Secure Server Certification Authority, O="RSA Data Security,
> Inc.", C=US
> SerialNumber: [ 02ad667e 4e45fe5e 576f3c98 195eddc0]
> ]
> Algorithm: [MD2withRSA]
> Signature:
> 0000: 65 DD 7E E1 B2 EC B0 E2 3A E0 EC 71 46 9A 19 11 e.......:..qF...
> 0010: B8 D3 C7 A0 B4 03 40 26 02 3E 09 9C E1 12 B3 D1 ......@&.>......
> 0020: 5A F6 37 A5 B7 61 03 B6 5B 16 69 3B C6 44 08 0C Z.7..a..[.i;.D..
> 0030: 88 53 0C 6B 97 49 C7 3E 35 DC 6C B9 BB AA DF 5C .S.k.I.>5.l....\
> 0040: BB 3A 2F 93 60 B6 A9 4B 4D F2 20 F7 CD 5F 7F 64 .:/.`..KM. .._.d
> 0050: 7B 8E DC 00 5C D7 FA 77 CA 39 16 59 6F 0E EA D3 ....\..w.9.Yo...
> 0060: B5 83 7F 4D 4D 42 56 76 B4 C9 5F 04 F8 38 F8 EB ...MMBVv.._..8..
> 0070: D2 5F 75 5F CD 7B FC E5 8E 80 7C FC 50
> ._u_........P
> ];_RequestID=941c90c2-8732-4d16-ad8e-fd54aff1d532;|SEC5054:
> Certificate has
> expired: [
> [
> Version: V1
> Subject: OU=Secure Server Certification Authority, O="RSA Data
> Security,
> Inc.", C=US
> Signature Algorithm: MD2withRSA, OID = 1.2.840.113549.1.1.2
> Key: Sun RSA public key, 1000 bits
> modulus:
> 6144706769222379850430183405655235862870193813433361902309516534729547168229223442088128897090426025874990958624426272027915771330043379079076269082776443120496525109458437435793974957144923190172655546279112796066635455545786300647745888353781002359412766112775410851780140804282673804950495744761467
>
> public exponent: 65537
> Validity: [From: Wed Nov 09 05:30:00 IST 1994,
> To: Fri Jan 08 05:29:59 IST 2010]
> Issuer: OU=Secure Server Certification Authority, O="RSA Data Security,
> Inc.", C=US
> SerialNumber: [ 02ad667e 4e45fe5e 576f3c98 195eddc0]
> ]
> Algorithm: [MD2withRSA]
> Signature:
> 0000: 65 DD 7E E1 B2 EC B0 E2 3A E0 EC 71 46 9A 19 11 e.......:..qF...
> 0010: B8 D3 C7 A0 B4 03 40 26 02 3E 09 9C E1 12 B3 D1 ......@&.>......
> 0020: 5A F6 37 A5 B7 61 03 B6 5B 16 69 3B C6 44 08 0C Z.7..a..[.i;.D..
> 0030: 88 53 0C 6B 97 49 C7 3E 35 DC 6C B9 BB AA DF 5C .S.k.I.>5.l....\
> 0040: BB 3A 2F 93 60 B6 A9 4B 4D F2 20 F7 CD 5F 7F 64 .:/.`..KM. .._.d
> 0050: 7B 8E DC 00 5C D7 FA 77 CA 39 16 59 6F 0E EA D3 ....\..w.9.Yo...
> 0060: B5 83 7F 4D 4D 42 56 76 B4 C9 5F 04 F8 38 F8 EB ...MMBVv.._..8..
> 0070: D2 5F 75 5F CD 7B FC E5 8E 80 7C FC 50
> ._u_........P
> ]|#]
> [#|2011-12-28T12:52:35.014+0530|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.|#]
> [#|2011-12-28T12:52:35.389+0530|INFO|sun-appserver2.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;server;|WEB0114:
>
> SSO is disabled in virtual server [server]|#]
> [#|2011-12-28T12:52:35.389+0530|INFO|sun-appserver2.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;__asadmin;|WEB0114:
>
> SSO is disabled in virtual server [__asadmin]|#]
> [#|2011-12-28T12:52:36.920+0530|INFO|sun-appserver2.1|javax.enterprise.system.core.transaction|_ThreadID=10;_ThreadName=main;3700;|JTS5014:
>
> Recoverable JTS instance, serverId = [3700]|#]
> [#|2011-12-28T12:52:37.108+0530|INFO|sun-appserver2.1|javax.enterprise.system.tools.admin|_ThreadID=10;_ThreadName=main;|ADM1079:
>
> Initialization of AMX MBeans started|#]
> [#|2011-12-28T12:52:37.389+0530|INFO|sun-appserver2.1|javax.enterprise.system.tools.admin|_ThreadID=13;_ThreadName=Thread-14;service:jmx:rmi:///jndi/rmi://mohit1.c-sam.co.in:8686/jmxrmi;|ADM1504:
>
> Here is the JMXServiceURL for the Standard JMXConnectorServer:
> [service:jmx:rmi:///jndi/rmi://mohit1.c-sam.co.in:8686/jmxrmi]. This is
> where the remote administrative clients should connect using the
> standard JMX
> connectors|#]
> [#|2011-12-28T12:52:37.389+0530|INFO|sun-appserver2.1|javax.enterprise.system.tools.admin|_ThreadID=13;_ThreadName=Thread-14;true;|ADM1506:
>
> Status of Standard JMX Connector: Active = [true]|#]
> [#|2011-12-28T12:52:37.670+0530|INFO|sun-appserver2.1|javax.enterprise.resource.resourceadapter|_ThreadID=10;_ThreadName=main;|JMS
>
> Service Connection URL is :mq://mohit1.c-sam.co.in:7676/|#]
> [#|2011-12-28T12:52:37.670+0530|INFO|sun-appserver2.1|javax.resourceadapter.mqjmsra.lifecycle|_ThreadID=10;_ThreadName=main;|MQJMSRA_RA1101:
>
> Using old JMSRA DIRECT mode|#]
> [#|2011-12-28T12:52:37.686+0530|INFO|sun-appserver2.1|javax.resourceadapter.mqjmsra.lifecycle|_ThreadID=10;_ThreadName=main;|MQJMSRA_RA1101:
>
> SJSMQ JMS Resource Adapter starting...|#]
> [#|2011-12-28T12:52:37.717+0530|INFO|sun-appserver2.1|javax.jms.connection|_ThreadID=10;_ThreadName=main;|new
>
> broker instance constructed ...|#]
> [#|2011-12-28T12:52:37.905+0530|INFO|sun-appserver2.1|javax.jms.connection|_ThreadID=10;_ThreadName=main;|Client
>
> runtime Starting embedd broker, direct mode enabled=true|#]
> [#|2011-12-28T12:52:38.608+0530|INFO|sun-appserver2.1|javax.resourceadapter.mqjmsra.lifecycle|_ThreadID=10;_ThreadName=main;|MQJMSRA_EB1101:
>
> stateChanged:READY : Broker has been started|#]
> [#|2011-12-28T12:52:38.608+0530|INFO|sun-appserver2.1|javax.resourceadapter.mqjmsra.lifecycle|_ThreadID=10;_ThreadName=main;|MQJMSRA_RA1101:
>
> SJSMQ JMSRA Started:RADIRECT|#]
> [#|2011-12-28T12:52:39.186+0530|INFO|sun-appserver2.1|javax.enterprise.system.core.classloading|_ThreadID=10;_ThreadName=main;MEjbApp;|LDR5010:
>
> All ejb(s) of [MEjbApp] loaded successfully!|#]
> [#|2011-12-28T12:52:39.498+0530|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]|#]
> [#|2011-12-28T12:52:39.498+0530|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!|#]
> [#|2011-12-28T12:52:39.748+0530|INFO|sun-appserver2.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;Sun
>
> GlassFish Enterprise Server v2.1.1;|WEB0302: Starting Sun GlassFish
> Enterprise Server v2.1.1|#]
> [#|2011-12-28T12:52:40.108+0530|INFO|sun-appserver2.1|com.sun.jbi.framework|_ThreadID=12;_ThreadName=pool-1-thread-6;|JBIFW0010:
>
> JBI framework ready to accept requests.|#]
> [#|2011-12-28T12:52:40.514+0530|INFO|sun-appserver2.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;Sun
>
> GlassFish Enterprise Server v2.1.1;8080;|WEB0712: Starting Sun GlassFish
> Enterprise Server v2.1.1 HTTP/1.1 on 8080|#]
> [#|2011-12-28T12:52:40.561+0530|INFO|sun-appserver2.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;Sun
>
> GlassFish Enterprise Server v2.1.1;8181;|WEB0712: Starting Sun GlassFish
> Enterprise Server v2.1.1 HTTP/1.1 on 8181|#]
> [#|2011-12-28T12:52:40.577+0530|INFO|sun-appserver2.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;Sun
>
> GlassFish Enterprise Server v2.1.1;8083;|WEB0712: Starting Sun GlassFish
> Enterprise Server v2.1.1 HTTP/1.1 on 8083|#]
> [#|2011-12-28T12:52:40.623+0530|INFO|sun-appserver2.1|javax.enterprise.system.core.selfmanagement|_ThreadID=10;_ThreadName=main;|SMGT0007:
>
> Self Management Rules service is enabled|#]
> [#|2011-12-28T12:52:40.639+0530|INFO|sun-appserver2.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|Application
>
> server startup complete.|#]
> [#|2011-12-28T12:52:42.733+0530|INFO|sun-appserver2.1|javax.enterprise.resource.webcontainer.jsf.config|_ThreadID=14;_ThreadName=httpWorkerThread-8083-0;;|Initializing
>
> Mojarra (1.2_13-b01-FCS) for context ''|#]
> [#|2011-12-28T12:52:48.233+0530|INFO|sun-appserver2.1|com.sun.jbi.framework|_ThreadID=15;_ThreadName=httpWorkerThread-8083-1;|JBIFW0012:
>
> JBI framework startup complete.|#]
> [#|2011-12-28T12:52:57.687+0530|WARNING|sun-appserver2.1|org.apache.coyote.tomcat5.CoyoteRequest|_ThreadID=16;_ThreadName=httpWorkerThread-8083-4;_RequestID=d66b22aa-9974-4e48-8952-3996bbe3b1e2;|Cannot
>
> find message associated with key
> coyoteRequest.setCharacterEncoding.ise|#]
> [#|2011-12-28T12:52:58.577+0530|INFO|sun-appserver2.1|javax.enterprise.system.tools.deployment|_ThreadID=17;_ThreadName=Thread-34;|Context
>
> Root is not provided by the user, Using [webtier] as Context Root|#]
> [#|2011-12-28T12:53:11.844+0530|INFO|sun-appserver2.1|javax.enterprise.system.tools.deployment|_ThreadID=17;_ThreadName=Thread-34;|deployed
>
> with moduleid = wsc|#]
> [#|2011-12-28T12:53:12.672+0530|INFO|sun-appserver2.1|javax.enterprise.system.core.classloading|_ThreadID=18;_ThreadName=Thread-33;wsc;|LDR5010:
>
> All ejb(s) of [wsc] loaded successfully!|#]
>
>
>
>
>
> [1] http://localhost:8083/applications/applications.jsf
>
> --
>
> [Message sent by forum member 'mohitkumarjoshi']
>
> View Post: http://forums.java.net/node/877895
>
>