mvolkov@reson:/usr/local/glassfishv3/bin$ ./asadmin start-domain --verbose=true 12.05.2009 18:14:09 com.sun.enterprise.admin.launcher.GFLauncherLogger info INFO: JVM invocation command line: /usr/lib/jvm/jdk1.6.0_12/bin/java -cp /usr/local/glassfishv3/glassfish/modules/glassfish.jar -XX:+UnlockDiagnosticVMOptions -XX:MaxPermSize=192m -XX:NewRatio=2 -XX:+LogVMOutput -XX:LogFile=/usr/local/glassfishv3/glassfish/domains/domain1/logs/jvm.log -Xmx512m -client -Djdbc.drivers=org.apache.derby.jdbc.ClientDriver -Djavax.net.ssl.trustStore=/usr/local/glassfishv3/glassfish/domains/domain1/config/cacerts.jks -Djavax.net.ssl.keyStore=/usr/local/glassfishv3/glassfish/domains/domain1/config/keystore.jks -Djava.security.policy=/usr/local/glassfishv3/glassfish/domains/domain1/config/server.policy -Dcom.sun.aas.instanceRoot=/usr/local/glassfishv3/glassfish/domains/domain1 -Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory -Djava.security.auth.login.config=/usr/local/glassfishv3/glassfish/domains/domain1/config/login.conf -Djava.endorsed.dirs=/usr/local/glassfishv3/glassfish/lib/endorsed -Dcom.sun.aas.installRoot=/usr/local/glassfishv3/glassfish -Djava.ext.dirs=/usr/lib/jvm/jdk1.6.0_12/lib/ext:/usr/lib/jvm/jdk1.6.0_12/jre/lib/ext:/usr/local/glassfishv3/glassfish/domains/domain1/lib/ext:/usr/local/glassfishv3/javadb/lib com.sun.enterprise.glassfish.bootstrap.ASMain -domainname domain1 -asadmin-args start-domain,,,--verbose=true -instancename server -verbose true -debug false -asadmin-classpath ./../glassfish/modules/admin-cli.jar -asadmin-classname com.sun.enterprise.admin.cli.AsadminMain -domaindir /usr/local/glassfishv3/glassfish/domains/domain1 12.05.2009 18:14:09 com.sun.enterprise.admin.launcher.GFLauncherLogger info INFO: Successfully launched in 8 msec. 12.05.2009 18:14:09 com.sun.enterprise.glassfish.bootstrap.ASMain main INFO: Launching GlassFish on Apache Felix OSGi platform 12.05.2009 18:14:10 com.sun.enterprise.glassfish.bootstrap.AbstractMain flushAndCreate INFO: Removing cache dir /usr/local/glassfishv3/glassfish/domains/domain1/felix-cache/gf left from a previous run Welcome to Felix. ================= felix.fileinstall.poll (ms) 5000 felix.fileinstall.dir /usr/local/glassfishv3/glassfish/modules felix.fileinstall.debug 1 felix.fileinstall.bundles.new.start false 12.05.2009 18:14:12 OSGiModuleImpl start INFO: Started bundle org.glassfish.core.kernel [112] 12.05.2009 18:14:12 OSGiModuleImpl start INFO: Started bundle org.glassfish.common.glassfish-mbeanserver [58] 12.05.2009 18:14:12 OSGiModuleImpl start INFO: Started bundle org.glassfish.common.util [32] 12.05.2009 18:14:12 OSGiModuleImpl start INFO: Started bundle com.sun.enterprise.config [97] 12.05.2009 18:14:13 OSGiModuleImpl start INFO: Started bundle org.glassfish.admin.config-api [157] 12.05.2009 18:14:13 OSGiModuleImpl start INFO: Started bundle com.sun.grizzly.grizzly-config [107] log4j:WARN No appenders could be found for logger (org.hibernate.validation.util.Version). log4j:WARN Please initialize the log4j system properly. 12.05.2009 18:14:13 OSGiModuleImpl start INFO: Started bundle org.glassfish.branding [139] 12.05.2009 18:14:13 AppServerStartup run INFO: [Thread[GlassFish Kernel Main Thread,5,main]] started 12.05.2009 18:14:13 com.sun.enterprise.v3.services.impl.LogManagerService postConstruct INFO: Starting GlassFish Application Server. 12.05.2009 18:14:13 OSGiModuleImpl start INFO: Started bundle org.glassfish.common.internal-api [159] 12.05.2009 18:14:13 OSGiModuleImpl start INFO: Started bundle org.glassfish.transaction.jts [57] 12.05.2009 18:14:13 OSGiModuleImpl start INFO: Started bundle org.glassfish.flashlight.framework [95] 12.05.2009 18:14:13 OSGiModuleImpl start INFO: Started bundle org.glassfish.registration.glassfish-registration [78] 12.05.2009 18:14:13 com.sun.enterprise.v3.services.impl.GrizzlyProxy start INFO: Listening on port 8080 12.05.2009 18:14:13 com.sun.enterprise.v3.services.impl.GrizzlyService createNetworkProxy INFO: Network listener http-listener-2 on port 8181 disabled per domain.xml 12.05.2009 18:14:13 com.sun.enterprise.v3.services.impl.GrizzlyProxy start INFO: Listening on port 4848 12.05.2009 18:14:13 OSGiModuleImpl start INFO: Started bundle org.glassfish.common.container-common [120] 12.05.2009 18:14:13 OSGiModuleImpl start INFO: Started bundle org.glassfish.common.glassfish-api [9] 12.05.2009 18:14:13 com.sun.enterprise.v3.admin.adapter.AdminConsoleAdapter setStateMsg INFO: The Admin Console is already installed, but not yet loaded. 12.05.2009 18:14:13 OSGiModuleImpl start INFO: Started bundle org.glassfish.deployment.common [134] 12.05.2009 18:14:13 OSGiModuleImpl start INFO: Started bundle org.glassfish.common.glassfish-naming [67] 12.05.2009 18:14:13 OSGiModuleImpl start INFO: Started bundle org.glassfish.transaction.jta [188] 12.05.2009 18:14:13 OSGiModuleImpl start INFO: Started bundle org.glassfish.connectors.runtime [43] 12.05.2009 18:14:14 OSGiModuleImpl start INFO: Started bundle org.glassfish.deployment.autodeploy [170] 12.05.2009 18:14:14 OSGiModuleImpl start INFO: Started bundle org.glassfish.extras.grizzly-container [55] 12.05.2009 18:14:14 OSGiModuleImpl start INFO: Started bundle ru.krista.TestService [168] 12.05.2009 18:14:14 OSGiModuleImpl start INFO: Started bundle org.glassfish.deployment.javaee-full [36] 12.05.2009 18:14:14 OSGiModuleImpl start INFO: Started bundle org.glassfish.ejb.gf-ejb-connector [161] 12.05.2009 18:14:14 OSGiModuleImpl start INFO: Started bundle org.glassfish.appclient.server.appclient-connector [54] 12.05.2009 18:14:14 OSGiModuleImpl start INFO: Started bundle org.glassfish.jms.core [70] 12.05.2009 18:14:14 OSGiModuleImpl start INFO: Started bundle org.glassfish.web.beans-integration [164] 12.05.2009 18:14:14 OSGiModuleImpl start INFO: Started bundle org.glassfish.connectors.gf-connectors-connector [34] 12.05.2009 18:14:14 OSGiModuleImpl start INFO: Started bundle org.glassfish.webservices.jsr109-impl [106] 12.05.2009 18:14:14 OSGiModuleImpl start INFO: Started bundle org.glassfish.security [125] 12.05.2009 18:14:14 OSGiModuleImpl start INFO: Started bundle org.glassfish.web.gf-web-connector [137] 12.05.2009 18:14:14 OSGiModuleImpl start INFO: Started bundle org.glassfish.scripting.gf-jruby-connector [116] 12.05.2009 18:14:14 OSGiModuleImpl start INFO: Started bundle org.glassfish.extras.osgi-container [21] 12.05.2009 18:14:14 OSGiModuleImpl start INFO: Started bundle org.glassfish.persistence.jpa-connector [24] 12.05.2009 18:14:14 OSGiModuleImpl start INFO: Started bundle org.glassfish.connectors.internal-api [151] 12.05.2009 18:14:14 org.glassfish.admin.mbeanserver.ConnectorStartupService$ConnectorsStarterThread startConnector INFO: Started JMXConnector, JMXService URL = service:jmx:rmi:///jndi/rmi://reson.krista.ru:8686/jmxrmi 12.05.2009 18:14:14 OSGiModuleImpl start INFO: Started bundle org.glassfish.web.war-util [166] 12.05.2009 18:14:14 com.sun.enterprise.security.SecurityLifecycle INFO: security.secmgroff 12.05.2009 18:14:14 OSGiModuleImpl start INFO: Started bundle org.glassfish.security.common [71] 12.05.2009 18:14:15 OSGiModuleImpl start INFO: Started bundle org.glassfish.security.webservices.security [30] 12.05.2009 18:14:15 com.sun.enterprise.security.SecurityLifecycle onInitialization INFO: Security startup service called 12.05.2009 18:14:15 com.sun.enterprise.security.PolicyLoader loadPolicy INFO: policy.loading 12.05.2009 18:14:15 OSGiModuleImpl start INFO: Started bundle org.glassfish.security.realms [171] 12.05.2009 18:14:15 com.sun.enterprise.security.SecurityLifecycle onInitialization INFO: Security service(s) started successfully.... 12.05.2009 18:14:15 OSGiModuleImpl start INFO: Started bundle org.glassfish.web.glue [196] 12.05.2009 18:14:15 OSGiModuleImpl start INFO: Started bundle org.glassfish.ejb.ejb-container [56] 12.05.2009 18:14:15 com.sun.enterprise.web.WebContainer createHttpListener INFO: Created HTTP listener http-listener-1 on port 8080 12.05.2009 18:14:15 com.sun.enterprise.web.WebContainer createHttpListener INFO: Created HTTP listener admin-listener on port 4848 12.05.2009 18:14:15 com.sun.enterprise.web.WebContainer createHosts INFO: Created virtual server server 12.05.2009 18:14:15 com.sun.enterprise.web.WebContainer createHosts INFO: Created virtual server __asadmin 12.05.2009 18:14:15 OSGiModuleImpl start INFO: Started bundle org.glassfish.deployment.dol [99] 12.05.2009 18:14:15 OSGiModuleImpl start INFO: Started bundle org.glassfish.web.core [86] 12.05.2009 18:14:15 org.apache.catalina.loader.WebappLoader start INFO: Dual registration of jndi stream handler: factory already defined 12.05.2009 18:14:15 org.apache.catalina.loader.WebappLoader setClassPath INFO: Unknown loader 196.0 class org.apache.felix.framework.searchpolicy.ModuleImpl$ModuleClassLoader 12.05.2009 18:14:16 OSGiModuleImpl start INFO: Started bundle org.glassfish.web.jstl-connector [103] 12.05.2009 18:14:16 OSGiModuleImpl start INFO: Started bundle org.glassfish.web.jsf-connector [169] 12.05.2009 18:14:16 com.sun.enterprise.transaction.JavaEETransactionManagerSimplified initDelegates INFO: Using com.sun.enterprise.transaction.jts.JavaEETransactionManagerJTSDelegate as the delegate 12.05.2009 18:14:16 OSGiModuleImpl start INFO: Started bundle org.glassfish.connectors.work-management [124] 12.05.2009 18:14:16 OSGiModuleImpl start INFO: Started bundle org.glassfish.deployment.javaee-core [100] 12.05.2009 18:14:17 INFO: DOL Loading time959 12.05.2009 18:14:17 OSGiModuleImpl start INFO: Started bundle org.glassfish.security.websecurity [46] 12.05.2009 18:14:17 org.apache.catalina.loader.WebappLoader setClassPath INFO: Unknown loader org.glassfish.internal.api.DelegatingClassLoader@10bfb545 class org.glassfish.internal.api.DelegatingClassLoader 12.05.2009 18:14:17 com.sun.enterprise.web.WebApplication start INFO: Loading application testUsage at /testUsage 12.05.2009 18:14:17 com.sun.enterprise.v3.server.ApplicationLoaderService processApplication INFO: Loading testUsage Application done is 3370 ms 12.05.2009 18:14:17 com.sun.enterprise.v3.server.AppServerStartup run INFO: GlassFish v3 startup time : Felix(3378ms) startup services(4127ms) total(7505ms) 12.05.2009 18:14:22 OSGiModuleImpl start INFO: Started bundle org.glassfish.deployment.admin [50] 12.05.2009 18:19:23 com.sun.grizzly.http.KeepAliveThreadAttachment timedOut WARNING: Interrupting idle Thread: http4848-WorkerThread(0) 12.05.2009 18:21:52 com.sun.enterprise.v3.server.ApplicationLifecycle getContext SEVERE: Error while expanding archive file java.nio.channels.ClosedByInterruptException at java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterruptibleChannel.java:184) at java.nio.channels.Channels$ReadableByteChannelImpl.read(Channels.java:202) at com.sun.enterprise.util.io.FileUtils.copy(FileUtils.java:812) at org.glassfish.internal.deployment.GenericHandler.expand(GenericHandler.java:44) at com.sun.enterprise.v3.server.ApplicationLifecycle.getContext(ApplicationLifecycle.java:869) at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:205) at com.sun.enterprise.v3.admin.CommandRunnerImpl$4.execute(CommandRunnerImpl.java:410) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:425) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:560) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:137) at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:313) at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:180) at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:165) at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100) at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:202) at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:740) at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:631) at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:900) at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:162) at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:136) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:103) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:89) at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76) at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53) at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57) at com.sun.grizzly.ContextTask.run(ContextTask.java:69) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) 12.05.2009 18:21:52 org.glassfish.api.ActionReport failure SEVERE: Error during deployment : null java.nio.channels.ClosedByInterruptException at java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterruptibleChannel.java:184) at java.nio.channels.Channels$ReadableByteChannelImpl.read(Channels.java:202) at com.sun.enterprise.util.io.FileUtils.copy(FileUtils.java:812) at org.glassfish.internal.deployment.GenericHandler.expand(GenericHandler.java:44) at com.sun.enterprise.v3.server.ApplicationLifecycle.getContext(ApplicationLifecycle.java:869) at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:205) at com.sun.enterprise.v3.admin.CommandRunnerImpl$4.execute(CommandRunnerImpl.java:410) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:425) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:560) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:137) at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:313) at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:180) at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:165) at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100) at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:202) at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:740) at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:631) at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:900) at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:162) at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:136) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:103) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:89) at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76) at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53) at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57) at com.sun.grizzly.ContextTask.run(ContextTask.java:69) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) 12.05.2009 18:21:52 com.sun.grizzly.tcp.http11.GrizzlyAdapter service SEVERE: service exception java.lang.RuntimeException: ClientAbortException: java.nio.channels.ClosedChannelException at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:212) at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:165) at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100) at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:202) at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:740) at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:631) at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:900) at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:162) at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:136) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:103) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:89) at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76) at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53) at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57) at com.sun.grizzly.ContextTask.run(ContextTask.java:69) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: ClientAbortException: java.nio.channels.ClosedChannelException at com.sun.grizzly.tcp.http11.GrizzlyOutputBuffer.doFlush(GrizzlyOutputBuffer.java:437) at com.sun.grizzly.tcp.http11.GrizzlyOutputBuffer.flush(GrizzlyOutputBuffer.java:403) at com.sun.grizzly.tcp.http11.GrizzlyOutputStream.flush(GrizzlyOutputStream.java:138) at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:209) ... 17 more Caused by: java.nio.channels.ClosedChannelException at sun.nio.ch.SocketChannelImpl.ensureWriteOpen(SocketChannelImpl.java:126) at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:324) at com.sun.grizzly.util.OutputWriter.flushChannel(OutputWriter.java:106) at com.sun.grizzly.util.OutputWriter.flushChannel(OutputWriter.java:73) at com.sun.grizzly.http.SocketChannelOutputBuffer.flushChannel(SocketChannelOutputBuffer.java:309) at com.sun.grizzly.http.SocketChannelOutputBuffer.flushBuffer(SocketChannelOutputBuffer.java:374) at com.sun.grizzly.http.SocketChannelOutputBuffer.flush(SocketChannelOutputBuffer.java:352) at com.sun.grizzly.http.ProcessorTask.action(ProcessorTask.java:1125) at com.sun.grizzly.tcp.Response.action(Response.java:257) at com.sun.grizzly.tcp.http11.GrizzlyOutputBuffer.doFlush(GrizzlyOutputBuffer.java:432) ... 20 more