Jul 6, 2011 11:12:01 AM org.glassfish.ha.store.spi.BackingStoreFactoryRegistry register INFO: Registered org.glassfish.ha.store.adapter.cache.ShoalBackingStoreProxy for persistence-type = replicated in BackingStoreFactoryRegistry Jul 6, 2011 11:12:01 AM com.sun.enterprise.v3.services.impl.GrizzlyProxy$2$1 onReady INFO: Grizzly Framework 1.9.36 started in: 116ms - bound to [0.0.0.0:8080] Jul 6, 2011 11:12:01 AM com.sun.enterprise.v3.services.impl.GrizzlyProxy$2$1 onReady INFO: Grizzly Framework 1.9.36 started in: 52ms - bound to [0.0.0.0:7676] Jul 6, 2011 11:12:01 AM com.sun.enterprise.v3.services.impl.GrizzlyProxy$2$1 onReady INFO: Grizzly Framework 1.9.36 started in: 79ms - bound to [0.0.0.0:4848] Jul 6, 2011 11:12:01 AM com.sun.enterprise.v3.services.impl.GrizzlyProxy$2$1 onReady INFO: Grizzly Framework 1.9.36 started in: 88ms - bound to [0.0.0.0:8181] Jul 6, 2011 11:12:01 AM com.sun.enterprise.v3.server.AppServerStartup run INFO: GlassFish Server Open Source Edition 3.1.1-SNAPSHOT (bhavani-private) startup time : Embedded (560ms), startup services(573ms), total(1,133ms) Jul 6, 2011 11:12:01 AM org.glassfish.admin.mbeanserver.JMXStartupService$JMXConnectorsStarterThread startConnector INFO: JMXStartupService: Started JMXConnector, JMXService URL = service:jmx:rmi://sholay.india.sun.com:8686/jndi/rmi://sholay.india.sun.com:8686/jmxrmi Jul 6, 2011 11:12:02 AM org.hibernate.validator.util.Version INFO: Hibernate Validator 4.1.0.Final Jul 6, 2011 11:12:02 AM org.hibernate.validator.engine.resolver.DefaultTraversableResolver detectJPA INFO: Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver. Jul 6, 2011 11:12:02 AM com.sun.enterprise.security.SecurityLifecycle INFO: SEC1002: Security Manager is OFF. Jul 6, 2011 11:12:02 AM com.sun.enterprise.security.SecurityLifecycle onInitialization INFO: SEC1010: Entering Security Startup Service Jul 6, 2011 11:12:02 AM com.sun.enterprise.security.PolicyLoader loadPolicy INFO: SEC1143: Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper. Jul 6, 2011 11:12:02 AM com.sun.enterprise.security.auth.realm.Realm doInstantiate INFO: SEC1115: Realm [admin-realm] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created. Jul 6, 2011 11:12:02 AM com.sun.enterprise.security.auth.realm.Realm doInstantiate INFO: SEC1115: Realm [file] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created. Jul 6, 2011 11:12:02 AM com.sun.enterprise.security.auth.realm.Realm doInstantiate INFO: SEC1115: Realm [certificate] of classtype [com.sun.enterprise.security.auth.realm.certificate.CertificateRealm] successfully created. Jul 6, 2011 11:12:02 AM com.sun.enterprise.security.SecurityLifecycle onInitialization INFO: SEC1011: Security Service(s) Started Successfully Jul 6, 2011 11:12:02 AM com.sun.ejb.containers.EjbContainerUtilImpl deployEJBTimerService INFO: Loading EJBTimerService. Please wait. Jul 6, 2011 11:12:03 AM com.sun.enterprise.web.WebContainer createHttpListener INFO: WEB0169: Created HTTP listener [http-listener-1] on host/port [0.0.0.0:8080] Jul 6, 2011 11:12:03 AM com.sun.enterprise.web.WebContainer createHttpListener INFO: WEB0169: Created HTTP listener [http-listener-2] on host/port [0.0.0.0:8181] Jul 6, 2011 11:12:03 AM com.sun.enterprise.web.WebContainer createHttpListener INFO: WEB0169: Created HTTP listener [admin-listener] on host/port [0.0.0.0:4848] Jul 6, 2011 11:12:03 AM com.sun.enterprise.web.WebContainer createHosts INFO: WEB0171: Created virtual server [server] Jul 6, 2011 11:12:03 AM com.sun.enterprise.web.WebContainer createHosts INFO: WEB0171: Created virtual server [__asadmin] Jul 6, 2011 11:12:03 AM com.sun.enterprise.web.WebContainer loadSystemDefaultWebModules INFO: WEB0172: Virtual server [server] loaded default web module [] Jul 6, 2011 11:12:04 AM org.hibernate.validator.engine.resolver.DefaultTraversableResolver detectJPA INFO: Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver. classLoader = WebappClassLoader (delegate=true; repositories=WEB-INF/classes/) SharedSecrets.getJavaNetAccess()=java.net.URLClassLoader$7@f2a0ef Jul 6, 2011 11:12:05 AM com.sun.ejb.containers.TimerBeanContainer INFO: [TimerBeanContainer] Created TimerBeanContainer: TimerBean Jul 6, 2011 11:12:05 AM com.sun.ejb.containers.BaseContainer initializeHome INFO: Portable JNDI names for EJB TimerBean : [java:global/ejb-timer-service-app/TimerBean, java:global/ejb-timer-service-app/TimerBean!com.sun.ejb.containers.TimerLocal] Jul 6, 2011 11:12:05 AM com.sun.enterprise.web.WebApplication start INFO: WEB0671: Loading application [ejb-timer-service-app] at [/ejb-timer-service-app] Jul 6, 2011 11:12:05 AM com.sun.ejb.containers.EjbContainerUtilImpl deployEJBTimerService INFO: EJB5109:EJB Timer Service started successfully for data source [jdbc/__TimerPool] Jul 6, 2011 11:12:05 AM com.sun.ejb.containers.EjbContainerUtilImpl getEJBTimerService INFO: Setting DBReadBeforeTimeout to false Jul 6, 2011 11:12:05 AM com.sun.ejb.containers.EjbContainerUtilImpl getEJBTimerService INFO: ==> Restoring Timers ... Jul 6, 2011 11:12:06 AM org.hibernate.validator.engine.resolver.DefaultTraversableResolver detectJPA INFO: Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver. Jul 6, 2011 11:12:06 AM org.eclipse.persistence.session.file:/export/bhavani/ws/glassfish/image/glassfish3/glassfish/domains/domain1/applications/ejb-timer-service-app/WEB-INF/classes/___EJB__Timer__App INFO: EclipseLink, version: Eclipse Persistence Services - 2.3.0.v20110604-r9504 Jul 6, 2011 11:12:07 AM com.sun.jts.CosTransactions.DefaultTransactionService setServerName INFO: JTS5014: Recoverable JTS instance, serverId = [100] Jul 6, 2011 11:12:07 AM org.eclipse.persistence.session.file:/export/bhavani/ws/glassfish/image/glassfish3/glassfish/domains/domain1/applications/ejb-timer-service-app/WEB-INF/classes/___EJB__Timer__App INFO: file:/export/bhavani/ws/glassfish/image/glassfish3/glassfish/domains/domain1/applications/ejb-timer-service-app/WEB-INF/classes/___EJB__Timer__App login successful Jul 6, 2011 11:12:07 AM org.eclipse.persistence.session.file:/export/bhavani/ws/glassfish/image/glassfish3/glassfish/domains/domain1/applications/ejb-timer-service-app/WEB-INF/classes/___EJB__Timer__App.server WARNING: Multiple [2] JMX MBeanServer instances exist, we will use the server at index [0] : [com.sun.enterprise.v3.admin.DynamicInterceptor@fe315d]. Jul 6, 2011 11:12:07 AM org.eclipse.persistence.session.file:/export/bhavani/ws/glassfish/image/glassfish3/glassfish/domains/domain1/applications/ejb-timer-service-app/WEB-INF/classes/___EJB__Timer__App.server WARNING: JMX MBeanServer in use: [com.sun.enterprise.v3.admin.DynamicInterceptor@fe315d] from index [0] Jul 6, 2011 11:12:07 AM org.eclipse.persistence.session.file:/export/bhavani/ws/glassfish/image/glassfish3/glassfish/domains/domain1/applications/ejb-timer-service-app/WEB-INF/classes/___EJB__Timer__App.server WARNING: JMX MBeanServer in use: [com.sun.jmx.mbeanserver.JmxMBeanServer@2f06b6] from index [1] Jul 6, 2011 11:12:07 AM com.sun.ejb.containers.EJBTimerService restoreEJBTimers INFO: [1] EJB Timers owned by this server will be restored when timeout beans are loaded Jul 6, 2011 11:12:07 AM com.sun.ejb.containers.EjbContainerUtilImpl getEJBTimerService INFO: <== ... Timers Restored. Jul 6, 2011 11:12:07 AM com.sun.ejb.containers.BaseContainer initializeHome INFO: Portable JNDI names for EJB TimerEjb : [java:global/remoteejb/TimerEjb!org.glassfish.tests.embedded.ejb.remoteejb.TimerEjb, java:global/remoteejb/TimerEjb] Jul 6, 2011 11:12:11 AM com.sun.jts.CosTransactions.DefaultTransactionService setServerName INFO: JTS5014: Recoverable JTS instance, serverId = [3700] Jul 6, 2011 11:12:11 AM com.sun.ejb.containers.BaseContainer initializeHome INFO: Portable JNDI names for EJB RemoteEJB : [java:global/remoteejb/RemoteEJB, java:global/remoteejb/RemoteEJB!org.glassfish.tests.embedded.ejb.remoteejb.RemoteEJBInf] Jul 6, 2011 11:12:11 AM com.sun.ejb.containers.BaseContainer initializeHome INFO: Glassfish-specific (Non-portable) JNDI names for EJB RemoteEJB : [org.glassfish.tests.embedded.ejb.remoteejb.RemoteEJBInf#org.glassfish.tests.embedded.ejb.remoteejb.RemoteEJBInf, org.glassfish.tests.embedded.ejb.remoteejb.RemoteEJBInf] Jul 6, 2011 11:12:11 AM com.sun.ejb.containers.BaseContainer initializeHome INFO: Portable JNDI names for EJB SampleEjb : [java:global/remoteejb/SampleEjb!org.glassfish.tests.embedded.ejb.remoteejb.SampleEjb, java:global/remoteejb/SampleEjb] Jul 6, 2011 11:12:12 AM org.glassfish.deployment.admin.DeployCommand execute INFO: remoteejb was successfully deployed in 10,328 milliseconds. PlainTextActionReporterSUCCESSDescription: deploy AdminCommandApplication deployed with name remoteejb. [name=remoteejb GlassFish started [ com.sun.enterprise.glassfish.bootstrap.StaticGlassFishRuntime$1@983fe1] Jul 6, 2011 11:12:12 AM com.sun.ejb.containers.EJBTimerService _destroyTimers INFO: [1] timers deleted for id: 85847632931192832 PlainTextActionReporterSUCCESSNo monitoring data to report. Jul 6, 2011 11:12:12 AM com.sun.ejb.containers.TimerBeanContainer doConcreteContainerShutdown INFO: [TimerBeanContainer] Shutdown() called.... Jul 6, 2011 11:12:12 AM com.sun.ejb.containers.EJBTimerService onShutdown WARNING: EJB5121:EJB Timer Service shutdown info [__timer_service_shutdown__.dat] not found or is corrupted. Shutdown time unknown. classLoader = WebappClassLoader (delegate=true; repositories=WEB-INF/classes/) SharedSecrets.getJavaNetAccess()=java.net.URLClassLoader$7@f2a0ef Jul 6, 2011 11:12:12 AM org.eclipse.persistence.session.file:/export/bhavani/ws/glassfish/image/glassfish3/glassfish/domains/domain1/applications/ejb-timer-service-app/WEB-INF/classes/___EJB__Timer__App INFO: file:/export/bhavani/ws/glassfish/image/glassfish3/glassfish/domains/domain1/applications/ejb-timer-service-app/WEB-INF/classes/___EJB__Timer__App logout successful Jul 6, 2011 11:12:12 AM com.sun.enterprise.connectors.service.ResourceAdapterAdminServiceImpl sendStopToResourceAdapter INFO: RAR7094: __xa_jdbc_ra shutdown successful. Jul 6, 2011 11:12:16 AM org.glassfish.admin.mbeanserver.JMXStartupService$JMXConnectorsStarterThread shutdown INFO: JMXStartupService: Stopped JMXConnectorServer: null Jul 6, 2011 11:12:16 AM org.glassfish.admin.mbeanserver.JMXStartupService shutdown INFO: JMXStartupService and JMXConnectors have been shut down. Jul 6, 2011 11:12:16 AM com.sun.enterprise.v3.server.AppServerStartup stop INFO: Shutdown procedure finished Jul 6, 2011 11:12:16 AM AppServerStartup run INFO: [Thread[GlassFish Kernel Main Thread,5,main]] exiting GlassFish stopped Creating new glassfish Trying to start Jul 6, 2011 11:12:16 AM org.glassfish.ha.store.spi.BackingStoreFactoryRegistry register INFO: Registered org.glassfish.ha.store.adapter.cache.ShoalBackingStoreProxy for persistence-type = replicated in BackingStoreFactoryRegistry Jul 6, 2011 11:12:16 AM com.sun.enterprise.v3.services.impl.GrizzlyProxy$2$1 onReady INFO: Grizzly Framework 1.9.36 started in: 1ms - bound to [0.0.0.0:8080] Jul 6, 2011 11:12:16 AM com.sun.enterprise.v3.services.impl.GrizzlyProxy$2$1 onReady INFO: Grizzly Framework 1.9.36 started in: 1ms - bound to [0.0.0.0:8181] Jul 6, 2011 11:12:16 AM com.sun.enterprise.v3.services.impl.GrizzlyProxy$2$1 onReady INFO: Grizzly Framework 1.9.36 started in: 5ms - bound to [0.0.0.0:7676] Jul 6, 2011 11:12:16 AM com.sun.enterprise.v3.services.impl.GrizzlyProxy$2$1 onReady INFO: Grizzly Framework 1.9.36 started in: 6ms - bound to [0.0.0.0:4848] Jul 6, 2011 11:12:16 AM com.sun.enterprise.v3.server.AppServerStartup run INFO: GlassFish Server Open Source Edition 3.1.1-SNAPSHOT (bhavani-private) startup time : Embedded (117ms), startup services(64ms), total(181ms) Jul 6, 2011 11:12:16 AM org.glassfish.admin.mbeanserver.JMXStartupService$JMXConnectorsStarterThread startConnector INFO: JMXStartupService: Started JMXConnector, JMXService URL = service:jmx:rmi://sholay.india.sun.com:8686/jndi/rmi://sholay.india.sun.com:8686/jmxrmi Jul 6, 2011 11:12:16 AM com.sun.enterprise.security.SecurityLifecycle INFO: SEC1002: Security Manager is OFF. Jul 6, 2011 11:12:16 AM com.sun.enterprise.security.SecurityLifecycle onInitialization INFO: SEC1010: Entering Security Startup Service Jul 6, 2011 11:12:16 AM com.sun.enterprise.security.SecurityLifecycle onInitialization INFO: SEC1011: Security Service(s) Started Successfully Jul 6, 2011 11:12:16 AM com.sun.ejb.containers.EjbContainerUtilImpl deployEJBTimerService INFO: Loading EJBTimerService. Please wait. Jul 6, 2011 11:12:16 AM com.sun.enterprise.web.WebContainer createHttpListener INFO: WEB0169: Created HTTP listener [http-listener-1] on host/port [0.0.0.0:8080] Jul 6, 2011 11:12:16 AM com.sun.enterprise.web.WebContainer createHttpListener INFO: WEB0169: Created HTTP listener [http-listener-2] on host/port [0.0.0.0:8181] Jul 6, 2011 11:12:16 AM com.sun.enterprise.web.WebContainer createHttpListener INFO: WEB0169: Created HTTP listener [admin-listener] on host/port [0.0.0.0:4848] Jul 6, 2011 11:12:16 AM com.sun.enterprise.web.WebContainer createHosts INFO: WEB0171: Created virtual server [server] Jul 6, 2011 11:12:16 AM com.sun.enterprise.web.WebContainer createHosts INFO: WEB0171: Created virtual server [__asadmin] Jul 6, 2011 11:12:16 AM com.sun.enterprise.web.WebContainer loadSystemDefaultWebModules INFO: WEB0172: Virtual server [server] loaded default web module [] classLoader = WebappClassLoader (delegate=true; repositories=WEB-INF/classes/) SharedSecrets.getJavaNetAccess()=java.net.URLClassLoader$7@f2a0ef Jul 6, 2011 11:12:17 AM com.sun.ejb.containers.TimerBeanContainer INFO: [TimerBeanContainer] Created TimerBeanContainer: TimerBean Jul 6, 2011 11:12:17 AM com.sun.ejb.containers.BaseContainer initializeHome INFO: Portable JNDI names for EJB TimerBean : [java:global/ejb-timer-service-app/TimerBean, java:global/ejb-timer-service-app/TimerBean!com.sun.ejb.containers.TimerLocal] Jul 6, 2011 11:12:17 AM com.sun.enterprise.web.WebApplication start INFO: WEB0671: Loading application [ejb-timer-service-app] at [/ejb-timer-service-app] Jul 6, 2011 11:12:17 AM com.sun.ejb.containers.EjbContainerUtilImpl deployEJBTimerService INFO: EJB5109:EJB Timer Service started successfully for data source [jdbc/__TimerPool] Jul 6, 2011 11:12:17 AM com.sun.ejb.containers.BaseContainer initializeHome INFO: Portable JNDI names for EJB TimerEjb : [java:global/remoteejb/TimerEjb!org.glassfish.tests.embedded.ejb.remoteejb.TimerEjb, java:global/remoteejb/TimerEjb] Jul 6, 2011 11:12:17 AM com.sun.ejb.containers.BaseContainer initializeHome INFO: Portable JNDI names for EJB RemoteEJB : [java:global/remoteejb/RemoteEJB, java:global/remoteejb/RemoteEJB!org.glassfish.tests.embedded.ejb.remoteejb.RemoteEJBInf] Jul 6, 2011 11:12:17 AM com.sun.ejb.containers.BaseContainer initializeHome INFO: Glassfish-specific (Non-portable) JNDI names for EJB RemoteEJB : [org.glassfish.tests.embedded.ejb.remoteejb.RemoteEJBInf#org.glassfish.tests.embedded.ejb.remoteejb.RemoteEJBInf, org.glassfish.tests.embedded.ejb.remoteejb.RemoteEJBInf] Jul 6, 2011 11:12:17 AM com.sun.ejb.containers.BaseContainer initializeHome INFO: Portable JNDI names for EJB SampleEjb : [java:global/remoteejb/SampleEjb!org.glassfish.tests.embedded.ejb.remoteejb.SampleEjb, java:global/remoteejb/SampleEjb] Jul 6, 2011 11:12:17 AM org.glassfish.internal.data.ModuleInfo start SEVERE: Exception while invoking class org.glassfish.ejb.startup.EjbApplication start method java.lang.RuntimeException: EJB Timer Service is not available at com.sun.ejb.containers.BaseContainer.startApplication(BaseContainer.java:3986) at org.glassfish.ejb.startup.EjbApplication.start(EjbApplication.java:174) at org.glassfish.internal.data.EngineRef.start(EngineRef.java:130) at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:269) at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:294) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:462) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240) at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:382) at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:355) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:370) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1064) at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:96) at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1244) at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1232) at com.sun.enterprise.admin.cli.embeddable.CommandExecutorImpl.executeCommand(CommandExecutorImpl.java:147) at com.sun.enterprise.admin.cli.embeddable.DeployerImpl.deploy(DeployerImpl.java:99) at Test.main(Test.java:78) Jul 6, 2011 11:12:17 AM org.glassfish.api.ActionReport failure SEVERE: Exception while loading the app Jul 6, 2011 11:12:17 AM org.glassfish.ejb.startup.EjbDeployer clean WARNING: EJB Timer Service is not available. Timers for application with id 85847633864622080 will not be deleted Jul 6, 2011 11:12:17 AM org.glassfish.deployment.admin.DeployCommand execute SEVERE: Exception while loading the app : EJB Timer Service is not available PlainTextActionReporterFAILUREDescription: deploy AdminCommandError occurred during deployment: Exception while loading the app : EJB Timer Service is not available. Please see server.log for more details. [name=remoteejb GlassFish started [ com.sun.enterprise.glassfish.bootstrap.StaticGlassFishRuntime$1@1d9578a] Exception in thread "main" java.lang.NullPointerException at com.sun.enterprise.admin.cli.Parser.parseCommandLine(Parser.java:106) at com.sun.enterprise.admin.cli.Parser.(Parser.java:92) at com.sun.enterprise.admin.cli.embeddable.CommandExecutorImpl.getParameters(CommandExecutorImpl.java:103) at com.sun.enterprise.admin.cli.embeddable.CommandExecutorImpl.executeCommand(CommandExecutorImpl.java:141) at com.sun.enterprise.admin.cli.embeddable.DeployerImpl.undeploy(DeployerImpl.java:125) at Test.main(Test.java:81)