dev@glassfish.java.net

Re: About GLASSFISH-12975

From: Tang Yong <tangyong_at_cn.fujitsu.com>
Date: Tue, 21 Aug 2012 16:25:39 +0900

Hi Alexey,

> It should be used in sync mode too.
Right. Just Now, I found that before CoyoteAdapter started to service
request, connection has been assigned TCPNIOConnection. So, the problem
maybe should be fixed on earlier time rather than
"grizzlyOutputBuffer.setAsyncEnabled(true);"

> Can you pls. post the exception stacktrace?
Please see the attachment.

previously, I also posted the stacktrace on
http://java.net/jira/browse/GLASSFISH-19023

Thanks!
--Tang

Oleksiy Stashok wrote:
> Hi Tang,
>
> On 08/21/2012 08:15 AM, Tang Yong wrote:
>> > So, I think that the problem maybe still exist, any idea?
>> From stacktrace of the problem, setCoyoteResponse(Response
>> coyoteResponse) method is indeed called, however, Grizzly asynic io
>> is not still disabled
>> (org.glassfish.grizzly.nio.transport.TCPNIOTransportFilter is still
>> used).
> It should be used in sync mode too.
> Can you pls. post the exception stacktrace?
>
> Thanks.
>
> WBR,
> Alexey.
>
>>
>> --Tang
>>
>> Tang Yong wrote:
>>> Hi Alexey,
>>>
>>> Thanks your quick reply very much!
>>>
>>> > Do you have the latest GF built from sources?
>>> Yeah, I used 2012/8/20 Updated GF Trunk, so souces should be
>>> the latest.
>>>
>>> In addition, on Revision: 55496, swchan2 commented out the following
>>> sentence.
>>>
>>> //grizzlyOutputBuffer.setAsyncEnabled(true);
>>>
>>> Then, I confirmed that on 2012/8/20 Updated GF Trunk
>>> (main\appserver\web\web-core\src\main\java\org\apache\catalina\connector\OutputBuffer.java),
>>>
>>> the above sentence has been also commented out.
>>>
>>> So, I think that the problem maybe still exist, any idea?
>>>
>>> --Best Regard!
>>> --Tang
>>>
>>> Oleksiy Stashok wrote:
>>>> Hi Tang,
>>>>
>>>> [2] had to be fixed by this commit:
>>>>
>>>> Project: glassfish
>>>> Repository: svn
>>>> Revision: 55496
>>>> Author: swchan2
>>>> Date: 2012-08-15 19:48:01 UTC
>>>> Link:
>>>>
>>>> Log Message:
>>>> ------------
>>>> temporary disable Grizzly asynic io, wait for Grizzly 2.3.x
>>>>
>>>>
>>>> Do you have the latest GF built from sources?
>>>>
>>>> Thanks.
>>>>
>>>> WBR,
>>>> Alexey.
>>>>
>>>>
>>>>
>>>> On 08/20/2012 02:41 PM, Tang Yong wrote:
>>>>> Hi Sahoo,
>>>>>
>>>>> About current status of the improvement, I have commented on jira,
>>>>> please see[1] and [2], especially [2].
>>>>>
>>>>> [1] http://java.net/jira/browse/GLASSFISH-12975
>>>>> [2] http://java.net/jira/browse/GLASSFISH-19023
>>>>>
>>>>> [1] is blocked because [2].
>>>>>
>>>>> I want to know whether needing to investigate [2] in depth or not?
>>>>>
>>>>> --Tang
>>>>>
>>>>> Sahoo wrote:
>>>>>> Hi Tang,
>>>>>>
>>>>>> Sorry for the delay.
>>>>>>
>>>>>> I have looked at your github project. It looks good. Do you think
>>>>>> we should upgrade to Felix Web Console 3.1.4 so that we can take
>>>>>> advantage of the richer WebConsolerSecurityProvider2 interface of
>>>>>> Felix Web Console? That way we won't be limited to only "HTTP
>>>>>> Basic Authentication?" I guess we can include what you have done
>>>>>> and then improve it later on. I am in the process of finding out
>>>>>> the contribution acceptance process. Hopefully I will find the
>>>>>> answers soon. In the meanwhile, I noticed some of your files do
>>>>>> not have correct copyright and license headers. Pl. fix them and
>>>>>> upload them to JIRA or reference the new github URL from JIRA.
>>>>>>
>>>>>> You had a question about injection not working for
>>>>>> GlassFishSecurityProvider. I guess you directly instantiated the
>>>>>> class from the bundle activator in which case HK2 injection
>>>>>> manager didn't get an opportunity to perform injection. Use of
>>>>>> GlassFish.getService is alright.
>>>>>>
>>>>>> Thanks for all the good work you are doing.
>>>>>>
>>>>>> Sahoo
>>>>>>
>>>>>> [1]
>>>>>> http://felix.apache.org/site/web-console-security-provider.html#WebConsoleSecurityProvider-WebConsoleSecurityProvider2
>>>>>>
>>>>>>
>>>>>> On Wednesday 18 July 2012 05:24 PM, Tang Yong wrote:
>>>>>>> Hi Sahoo, Shaun,
>>>>>>>
>>>>>>> Now, I have resolved the problem which I met.
>>>>>>>
>>>>>>> After investigating again, I found that using
>>>>>>> org.glassfish.embeddable.GlassFish(simple-glassfish-api module)
>>>>>>> can get AuthenticationService and integrate felix-webconsole's
>>>>>>> authentication with Glassfish JAAS successfully.
>>>>>>>
>>>>>>> My souce has updated into github and please review it.
>>>>>>>
>>>>>>> Then, I will start to investigate cdi-related rfp/bug, firstly, I
>>>>>>> will investigate http://java.net/jira/browse/GLASSFISH-18370.
>>>>>>>
>>>>>>> [A Request]
>>>>>>> If having time, I wish sahoo can explain why from
>>>>>>> felix-webconsole-extension module, can not get HK2 services and
>>>>>>> components using Injection way?
>>>>>>>
>>>>>>> --Best Regard!
>>>>>>> --Tang
>>>>>>>
>>>>>>> Tang Yong wrote:
>>>>>>>> Hi Shaun,
>>>>>>>>
>>>>>>>> Thanks your suggestion very much.
>>>>>>>> I have tried and AuthenticationService has still been not
>>>>>>>> injected successfully.
>>>>>>>>
>>>>>>>> I have confirmed that my working enviroment is ok because I
>>>>>>>> found that
>>>>>>>> some class on other modules liking deployment-admin can get
>>>>>>>> injected objects liking BaseServiceLocator.
>>>>>>>>
>>>>>>>> So, whether from felix-webconsole-extension module, can not get
>>>>>>>> HK2 components or not?
>>>>>>>>
>>>>>>>> --Tang
>>>>>>>>
>>>>>>>> Shaun Pei wrote:
>>>>>>>>> Hi Yong
>>>>>>>>>
>>>>>>>>> Did you try to directly inject the AuthenticationService into
>>>>>>>>> your code?
>>>>>>>>> An example using AuthenticationService is
>>>>>>>>> com.sun.enterprise.admin.util.GenericAdminAuthenticator.java,
>>>>>>>>> which directly injects the AuthenticationService at line 150.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Regards
>>>>>>>>>
>>>>>>>>> Shaun
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> -----Original Message-----
>>>>>>>>> From: Tang Yong [mailto:tangyong_at_cn.fujitsu.com] Sent: Tuesday,
>>>>>>>>> July 17, 2012 1:02 PM
>>>>>>>>> To: Sahoo; dev_at_glassfish.java.net
>>>>>>>>> Subject: About GLASSFISH-12975
>>>>>>>>>
>>>>>>>>> Dear Sahoo, Security Leader,
>>>>>>>>>
>>>>>>>>> About GLASSFISH-12975(Use glassfish admin realm for
>>>>>>>>> authentication and authorisation of OSGi admin console),
>>>>>>>>>
>>>>>>>>> I have made a basic prototype put on
>>>>>>>>> https://github.com/tangyong/GLASSFISH-12975.
>>>>>>>>>
>>>>>>>>> You can copy
>>>>>>>>> tree/master/felix-webconsole-extension/target/felix-webconsole-extension.jar
>>>>>>>>>
>>>>>>>>> into modules\autostart and start
>>>>>>>>> "GlassFish OSGi Administration Console", then, input GF's admin
>>>>>>>>> account and check whether having glassfish admin realm for
>>>>>>>>> authentication or not.
>>>>>>>>>
>>>>>>>>> The following is my design idea and a critical problem needed
>>>>>>>>> to discuss.
>>>>>>>>>
>>>>>>>>> [Desgin]
>>>>>>>>> 1 Implement the felix web console's WebConsoleSecurityProvider
>>>>>>>>> interface.
>>>>>>>>>
>>>>>>>>> Note:
>>>>>>>>> The current karaf's JaasSecurityProvider class implements felix
>>>>>>>>> web console's WebConsoleSecurityProvider2, and the
>>>>>>>>> WebConsoleSecurityProvider2 is not in
>>>>>>>>> org.apache.felix.webconsole-3.1.2.
>>>>>>>>>
>>>>>>>>> 2 On FelixWebConsoleExtensionActivator class, register GF's
>>>>>>>>> implementation of WebConsoleSecurityProvider.
>>>>>>>>>
>>>>>>>>> 3 On GF's implementation of WebConsoleSecurityProvider,
>>>>>>>>> integrate the glassfish admin realm called "admin-realm". On
>>>>>>>>> the current my prototype, I used
>>>>>>>>> LoginContextDriver.login(subject, PasswordCredential.class).
>>>>>>>>>
>>>>>>>>> However, I indeed did not want to use the way, because I found
>>>>>>>>> that if using
>>>>>>>>> org.glassfish.security.services.impl.AuthenticationServiceFactory
>>>>>>>>> to get authentication related to services which should be
>>>>>>>>> registered into HK2 components, I think that it will be very
>>>>>>>>> good because security-services module can get realm from
>>>>>>>>> domain.xml.
>>>>>>>>>
>>>>>>>>> So, I tried to do it and however, I met a big problem on the
>>>>>>>>> whole night.
>>>>>>>>>
>>>>>>>>> [Problem]
>>>>>>>>> Firstly, Please allow me put the codes having the problem as
>>>>>>>>> following:
>>>>>>>>>
>>>>>>>>> @Service
>>>>>>>>> public class GlassFishSecurityProvider implements
>>>>>>>>> WebConsoleSecurityProvider{
>>>>>>>>>
>>>>>>>>> @Inject
>>>>>>>>> StateManager manager;
>>>>>>>>>
>>>>>>>>> @Inject
>>>>>>>>> BaseServiceLocator serviceLocator;
>>>>>>>>>
>>>>>>>>> @Override
>>>>>>>>> public Object authenticate(String username, String password) {
>>>>>>>>> String currentState = manager.getCurrent();
>>>>>>>>> // Get Service Instance
>>>>>>>>> AuthenticationService atnService =
>>>>>>>>> serviceLocator.getComponent(AuthenticationService.class);
>>>>>>>>>
>>>>>>>>> // Get Service Configuration
>>>>>>>>> org.glassfish.security.services.config.AuthenticationService
>>>>>>>>> atnConfiguration =
>>>>>>>>> serviceLocator.getComponent(org.glassfish.security.services.config.AuthenticationService.class,currentState);
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> // Initialize Service
>>>>>>>>> atnService.initialize(atnConfiguration);
>>>>>>>>>
>>>>>>>>> final Subject fs = null;
>>>>>>>>>
>>>>>>>>> try {
>>>>>>>>> atnService.login(username, password.toCharArray(), fs);
>>>>>>>>> } catch (LoginException e) { e.printStackTrace();
>>>>>>>>> return null;
>>>>>>>>> }
>>>>>>>>>
>>>>>>>>> return fs; }
>>>>>>>>>
>>>>>>>>> When debugging the authenticate method, both manager and
>>>>>>>>> serviceLocator are null. I have tried many ways and have no
>>>>>>>>> effect. So, I want to ask whether from
>>>>>>>>> felix-webconsole-extension module, can not get HK2 components
>>>>>>>>> or not?
>>>>>>>>>
>>>>>>>>> --Best Regard!
>>>>>>>>> --Tang
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>
>
>
>


[#|2012-08-21T16:22:20.984+0900|INFO|44.0|org.hibernate.validator.util.Version|_ThreadID=14;_ThreadName=admin-listener(1);|Hibernate Validator 4.1.0.Final|#]

[#|2012-08-21T16:22:21.078+0900|INFO|44.0|org.hibernate.validator.engine.resolver.DefaultTraversableResolver|_ThreadID=14;_ThreadName=admin-listener(1);|Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver.|#]

[#|2012-08-21T16:22:21.546+0900|INFO|44.0|javax.enterprise.system.tools.admin.com.sun.enterprise.v3.admin|_ThreadID=15;_ThreadName=Thread-10;|Server shutdown initiated|#]

[#|2012-08-21T16:22:21.625+0900|INFO|44.0|com.sun.enterprise.glassfish.bootstrap.osgi|_ThreadID=15;_ThreadName=Thread-10;|Unregistered com.sun.enterprise.glassfish.bootstrap.osgi.EmbeddedOSGiGlassFishImpl_at_1f21b0 from service registry|#]

[#|2012-08-21T16:22:21.625+0900|INFO|44.0|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=15;_ThreadName=Thread-10;|FileMonitoring shutdown|#]

[#|2012-08-21T16:22:21.703+0900|INFO|44.0|javax.enterprise.system.jmx|_ThreadID=15;_ThreadName=Thread-10;|JMXStartupService: Stopped JMXConnectorServer: null|#]

[#|2012-08-21T16:22:21.703+0900|INFO|44.0|javax.enterprise.system.jmx|_ThreadID=15;_ThreadName=Thread-10;|JMXStartupService and JMXConnectors have been shut down.|#]

[#|2012-08-21T16:22:22.593+0900|INFO|44.0|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=15;_ThreadName=Thread-10;|JdbcRuntimeExtension, getAllSystemRAResourcesAndPools = [GlassFishConfigBean.org.glassfish.jdbc.config.JdbcResource, GlassFishConfigBean.org.glassfish.jdbc.config.JdbcResource, GlassFishConfigBean.org.glassfish.jdbc.config.JdbcConnectionPool, GlassFishConfigBean.org.glassfish.jdbc.config.JdbcConnectionPool]|#]

[#|2012-08-21T16:22:24.218+0900|INFO|44.0|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=15;_ThreadName=Thread-10;|Shutdown procedure finished|#]

[#|2012-08-21T16:22:36.421+0900|INFO|44.0|com.sun.enterprise.admin.launcher.GFLauncherLogger|_ThreadID=10;_ThreadName=main;|JVM invocation command line:
C:\Java\jdk1.6.0_34\bin\java.exe
-cp
E:/glassfish3/glassfish/modules/glassfish.jar
-XX:+UnlockDiagnosticVMOptions
-XX:MaxPermSize=192m
-XX:NewRatio=2
-Xmx512m
-client
-javaagent:E:/glassfish3/glassfish/lib/monitor/flashlight-agent.jar
-Dfelix.fileinstall.disableConfigSave=false
-Djavax.net.ssl.keyStore=E:\glassfish3\glassfish\domains\domain1/config/keystore.jks
-Djava.awt.headless=true
-Dfelix.fileinstall.poll=5000
-Djava.endorsed.dirs=E:\glassfish3\glassfish/modules/endorsed;E:\glassfish3\glassfish/lib/endorsed
-Dfelix.fileinstall.bundles.startTransient=true
-Djavax.net.ssl.trustStore=E:\glassfish3\glassfish\domains\domain1/config/cacerts.jks
-Dcom.sun.enterprise.security.httpsOutboundKeyAlias=s1as
-DANTLR_USE_DIRECT_CLASS_LOADING=true
-Djava.security.auth.login.config=E:\glassfish3\glassfish\domains\domain1/config/login.conf
-Dgosh.args=--nointeractive
-Dosgi.shell.telnet.maxconn=1
-Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
-Dfelix.fileinstall.dir=E:\glassfish3\glassfish/modules/autostart/
-Dosgi.shell.telnet.port=6666
-Djava.security.policy=E:\glassfish3\glassfish\domains\domain1/config/server.policy
-Dfelix.fileinstall.log.level=2
-Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
-Dosgi.shell.telnet.ip=127.0.0.1
-Dcom.sun.aas.instanceRoot=E:\glassfish3\glassfish\domains\domain1
-Dcom.sun.aas.installRoot=E:\glassfish3\glassfish
-Djava.ext.dirs=C:\Java\jdk1.6.0_34/lib/ext;C:\Java\jdk1.6.0_34/jre/lib/ext;E:\glassfish3\glassfish\domains\domain1/lib/ext
-Dfelix.fileinstall.bundles.new.start=true
-Dorg.glassfish.additionalOSGiBundlesToStart=org.apache.felix.shell,org.apache.felix.gogo.runtime,org.apache.felix.gogo.shell,org.apache.felix.gogo.command,org.apache.felix.shell.remote,org.apache.felix.fileinstall
-Djava.library.path=E:/glassfish3/glassfish/lib;C:/Java/jdk1.6.0_34/bin;C:/WINDOWS/Sun/Java/bin;C:/WINDOWS/system32;C:/WINDOWS;E:/cygwin/bin;E:/cygwin/usr/sbin;E:/Git/bin;F:/amdatu-ace/devenv/apache-maven-3.0.4/bin;C:/Python27;C:/Python27/Scripts;C:/Interstage/IDE/0902/JDK5/bin;F:/GlassfishV3/Tools/apache-maven-2.2.1/bin;C:/Program Files/NetCOBOL;C:/WINDOWS/system32/wbem;C:/Program Files/TortoiseSVN/bin;C:/Interstage/APS/bin;C:/Interstage/APS/ODWIN/bin;C:/Interstage/APS/F3FMisjee/bin;C:/Interstage/APS/F3FMisjee/imq/bin;C:/Interstage/APC/bin;C:/Program Files/TortoiseGit/bin;E:/glassfish3/glassfish/bin/%APPDATA%/Python/Scripts;C:/Program Files/IDM Computer Solutions/UltraEdit;E:/glassfish3/glassfish/bin
com.sun.enterprise.glassfish.bootstrap.ASMain
-domainname
domain1
-asadmin-args
--host,,,localhost,,,--port,,,4848,,,--secure=false,,,--terse=false,,,--echo=false,,,--interactive=true,,,start-domain,,,--verbose=false,,,--watchdog=false,,,--debug=false,,,--domaindir,,,E:\glassfish3\glassfish\domains,,,domain1
-instancename
server
-verbose
false
-debug
false
-asadmin-classpath
E:/glassfish3/glassfish/modules/admin-cli.jar
-asadmin-classname
com.sun.enterprise.admin.cli.AsadminMain
-upgrade
false
-type
DAS
-domaindir
E:/glassfish3/glassfish/domains/domain1
-read-stdin
true|#]


[#|2012-08-21T16:22:52.078+0900|INFO|44.0|com.sun.enterprise.server.logging.GFFileHandler|_ThreadID=1;_ThreadName=main;|Running GlassFish Version: GlassFish Server Open Source Edition 4.0 (build Administrator-private)|#]

[#|2012-08-21T16:22:52.078+0900|INFO|44.0|com.sun.enterprise.server.logging.GFFileHandler|_ThreadID=1;_ThreadName=main;|GlassFis is using Log Formatter: com.sun.enterprise.server.logging.UniformLogFormatter|#]

[#|2012-08-21T16:22:54.515+0900|INFO|44.0|javax.enterprise.system.core.security.com.sun.enterprise.security.auth.realm|_ThreadID=10;_ThreadName=main;|SEC1115: Realm [admin-realm] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created.|#]

[#|2012-08-21T16:22:54.531+0900|INFO|44.0|javax.enterprise.system.core.security.com.sun.enterprise.security.auth.realm|_ThreadID=10;_ThreadName=main;|SEC1115: Realm [file] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created.|#]

[#|2012-08-21T16:22:54.531+0900|INFO|44.0|javax.enterprise.system.core.security.com.sun.enterprise.security.auth.realm|_ThreadID=10;_ThreadName=main;|SEC1115: Realm [certificate] of classtype [com.sun.enterprise.security.auth.realm.certificate.CertificateRealm] successfully created.|#]

[#|2012-08-21T16:22:55.968+0900|INFO|44.0|javax.enterprise.system.core.com.sun.enterprise.v3.services.impl|_ThreadID=10;_ThreadName=main;|Grizzly Framework 2.2.16 started in: 156ms - bound to [/0.0.0.0:8,080]|#]

[#|2012-08-21T16:22:56.062+0900|INFO|44.0|javax.enterprise.system.core.com.sun.enterprise.v3.services.impl|_ThreadID=10;_ThreadName=main;|Grizzly Framework 2.2.16 started in: 0ms - bound to [/0.0.0.0:8,181]|#]

[#|2012-08-21T16:22:56.078+0900|INFO|44.0|javax.enterprise.system.core.com.sun.enterprise.v3.services.impl|_ThreadID=10;_ThreadName=main;|Grizzly Framework 2.2.16 started in: 0ms - bound to [/0.0.0.0:4,848]|#]

[#|2012-08-21T16:22:57.656+0900|INFO|44.0|javax.enterprise.system.core.com.sun.enterprise.v3.services.impl|_ThreadID=10;_ThreadName=main;|Grizzly Framework 2.2.16 started in: 16ms - bound to [/0.0.0.0:3,700]|#]

[#|2012-08-21T16:22:57.703+0900|INFO|44.0|org.glassfish.ha.store.spi.BackingStoreFactoryRegistry|_ThreadID=10;_ThreadName=main;|Registered org.glassfish.ha.store.adapter.cache.ShoalBackingStoreProxy for persistence-type = replicated in BackingStoreFactoryRegistry|#]

[#|2012-08-21T16:22:57.703+0900|INFO|44.0|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=10;_ThreadName=main;|GlassFish Server Open Source Edition 4.0 (Administrator-private) startup time : Felix (13,969ms), startup services(5,875ms), total(19,844ms)|#]

[#|2012-08-21T16:22:59.203+0900|INFO|44.0|javax.enterprise.system.core.com.sun.enterprise.v3.services.impl|_ThreadID=10;_ThreadName=main;|Grizzly Framework 2.2.16 started in: 16ms - bound to [/0.0.0.0:7,676]|#]

[#|2012-08-21T16:23:00.062+0900|INFO|44.0|javax.enterprise.system.jmx|_ThreadID=11;_ThreadName=Thread-4;|JMXStartupService has started JMXConnector on JMXService URL service:jmx:rmi://10.167.157.133:8686/jndi/rmi://10.167.157.133:8686/jmxrmi|#]

[#|2012-08-21T16:23:00.234+0900|INFO|44.0|com.sun.enterprise.glassfish.bootstrap.osgi|_ThreadID=10;_ThreadName=main;|Registered com.sun.enterprise.glassfish.bootstrap.osgi.EmbeddedOSGiGlassFishImpl_at_1403a0 as OSGi service registration: org.apache.felix.framework.ServiceRegistrationImpl_at_2bbc83|#]

[#|2012-08-21T16:23:00.531+0900|INFO|44.0|org.glassfish.osgi.felixwebconsoleextension|_ThreadID=12;_ThreadName=FelixStartLevel;|Registered org.glassfish.osgi.felixwebconsoleextension.GlassFishBrandingPlugin_at_82d3bc|#]

[#|2012-08-21T16:23:02.000+0900|INFO|44.0|org.glassfish.osgihttp|_ThreadID=13;_ThreadName=pool-4-thread-1;|defaultVirtualServer = server|#]

[#|2012-08-21T16:23:02.671+0900|INFO|44.0|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=13;_ThreadName=pool-4-thread-1;|WEB0169: Created HTTP listener [http-listener-1] on host/port [0.0.0.0:8080]|#]

[#|2012-08-21T16:23:02.671+0900|INFO|44.0|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=13;_ThreadName=pool-4-thread-1;|WEB0169: Created HTTP listener [http-listener-2] on host/port [0.0.0.0:8181]|#]

[#|2012-08-21T16:23:02.671+0900|INFO|44.0|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=13;_ThreadName=pool-4-thread-1;|WEB0169: Created HTTP listener [admin-listener] on host/port [0.0.0.0:4848]|#]

[#|2012-08-21T16:23:02.890+0900|INFO|44.0|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=13;_ThreadName=pool-4-thread-1;|WEB0171: Created virtual server [server]|#]

[#|2012-08-21T16:23:02.906+0900|INFO|44.0|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=13;_ThreadName=pool-4-thread-1;|WEB0171: Created virtual server [__asadmin]|#]

[#|2012-08-21T16:23:04.296+0900|INFO|44.0|org.apache.catalina.realm.JAASRealm|_ThreadID=13;_ThreadName=pool-4-thread-1;|Setting JAAS app name glassfish-web|#]

[#|2012-08-21T16:23:04.296+0900|INFO|44.0|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=13;_ThreadName=pool-4-thread-1;|WEB0172: Virtual server [server] loaded default web module []|#]

[#|2012-08-21T16:23:05.515+0900|INFO|44.0|org.apache.catalina.startup.ContextConfig|_ThreadID=13;_ThreadName=pool-4-thread-1;|No default web.xml|#]

[#|2012-08-21T16:23:05.515+0900|INFO|44.0|org.glassfish.osgihttp|_ThreadID=13;_ThreadName=pool-4-thread-1;|standardContext = StandardEngine[glassfish-web].StandardHost[server].StandardContext[/osgi]|#]

[#|2012-08-21T16:23:05.562+0900|INFO|44.0|org.apache.catalina.startup.ContextConfig|_ThreadID=13;_ThreadName=pool-4-thread-1;|No default web.xml|#]

[#|2012-08-21T16:23:05.562+0900|INFO|44.0|org.glassfish.osgihttp|_ThreadID=13;_ThreadName=pool-4-thread-1;|standardContext = StandardEngine[glassfish-web].StandardHost[__asadmin].StandardContext[/osgi]|#]

[#|2012-08-21T16:23:21.359+0900|WARNING|44.0|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=14;_ThreadName=http-listener-1(2);|StandardWrapperValve[/system/console]: PWC1406: Servlet.service() for servlet /system/console threw exception
org.glassfish.grizzly.PendingWriteQueueLimitExceededException: Max queued data limit exceeded: 32792>32768
        at org.glassfish.grizzly.nio.AbstractNIOAsyncQueueWriter.checkQueueSize(AbstractNIOAsyncQueueWriter.java:619)
        at org.glassfish.grizzly.nio.AbstractNIOAsyncQueueWriter.writeQueueRecord(AbstractNIOAsyncQueueWriter.java:279)
        at org.glassfish.grizzly.nio.AbstractNIOAsyncQueueWriter.write(AbstractNIOAsyncQueueWriter.java:219)
        at org.glassfish.grizzly.nio.transport.TCPNIOTransportFilter.handleWrite(TCPNIOTransportFilter.java:127)
        at org.glassfish.grizzly.filterchain.TransportFilter.handleWrite(TransportFilter.java:191)
        at org.glassfish.grizzly.filterchain.ExecutorResolver$8.execute(ExecutorResolver.java:111)
        at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:265)
        at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:200)
        at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:134)
        at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:112)
        at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:78)
        at org.glassfish.grizzly.filterchain.FilterChainContext.write(FilterChainContext.java:652)
        at org.glassfish.grizzly.http.server.io.OutputBuffer.writeContentBuffer0(OutputBuffer.java:908)
        at org.glassfish.grizzly.http.server.io.OutputBuffer.flushBinaryBuffers(OutputBuffer.java:893)
        at org.glassfish.grizzly.http.server.io.OutputBuffer.flushBinaryBuffersIfNeeded(OutputBuffer.java:1060)
        at org.glassfish.grizzly.http.server.io.OutputBuffer.flushCharsToBuf(OutputBuffer.java:1053)
        at org.glassfish.grizzly.http.server.io.OutputBuffer.flushCharsToBuf(OutputBuffer.java:1000)
        at org.glassfish.grizzly.http.server.io.OutputBuffer.writeChar(OutputBuffer.java:395)
        at org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:379)
        at org.apache.catalina.connector.CoyoteWriter.write(CoyoteWriter.java:204)
        at org.apache.felix.webconsole.internal.filter.ResourceFilteringWriter.write(ResourceFilteringWriter.java:131)
        at org.apache.felix.webconsole.internal.filter.ResourceFilteringWriter.write(ResourceFilteringWriter.java:203)
        at java.io.Writer.write(Writer.java:140)
        at org.apache.felix.webconsole.internal.filter.ResourceFilteringWriter.write(ResourceFilteringWriter.java:152)
        at org.apache.felix.webconsole.internal.filter.ResourceFilteringWriter.write(ResourceFilteringWriter.java:203)
        at java.io.PrintWriter.write(PrintWriter.java:412)
        at java.io.PrintWriter.write(PrintWriter.java:429)
        at java.io.PrintWriter.print(PrintWriter.java:559)
        at org.apache.felix.webconsole.internal.core.BundlesServlet.renderContent(BundlesServlet.java:512)
        at org.apache.felix.webconsole.AbstractWebConsolePlugin.doGet(AbstractWebConsolePlugin.java:148)
        at org.apache.felix.webconsole.internal.core.BundlesServlet.doGet(BundlesServlet.java:275)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
        at org.apache.felix.webconsole.internal.servlet.OsgiManager.service(OsgiManager.java:428)
        at org.apache.felix.webconsole.internal.servlet.OsgiManager.service(OsgiManager.java:375)
        at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1593)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:285)
        at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:660)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:600)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:171)
        at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:660)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:600)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162)
        at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:337)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:240)
        at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:172)
        at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:164)
        at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:175)
        at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
        at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:265)
        at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:200)
        at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:134)
        at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:112)
        at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:78)
        at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:815)
        at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112)
        at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:115)
        at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:55)
        at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:135)
        at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:567)
        at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:547)
        at java.lang.Thread.run(Thread.java:662)
|#]

[#|2012-08-21T16:23:21.437+0900|WARNING|44.0|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=15;_ThreadName=http-listener-1(3);|StandardWrapperValve[/system/console/res]: PWC1406: Servlet.service() for servlet /system/console/res threw exception
org.glassfish.grizzly.PendingWriteQueueLimitExceededException: Max queued data limit exceeded: 47554>32768
        at org.glassfish.grizzly.nio.AbstractNIOAsyncQueueWriter.checkQueueSize(AbstractNIOAsyncQueueWriter.java:619)
        at org.glassfish.grizzly.nio.AbstractNIOAsyncQueueWriter.writeQueueRecord(AbstractNIOAsyncQueueWriter.java:279)
        at org.glassfish.grizzly.nio.AbstractNIOAsyncQueueWriter.write(AbstractNIOAsyncQueueWriter.java:219)
        at org.glassfish.grizzly.nio.transport.TCPNIOTransportFilter.handleWrite(TCPNIOTransportFilter.java:127)
        at org.glassfish.grizzly.filterchain.TransportFilter.handleWrite(TransportFilter.java:191)
        at org.glassfish.grizzly.filterchain.ExecutorResolver$8.execute(ExecutorResolver.java:111)
        at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:265)
        at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:200)
        at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:134)
        at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:112)
        at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:78)
        at org.glassfish.grizzly.filterchain.FilterChainContext.write(FilterChainContext.java:652)
        at org.glassfish.grizzly.http.server.io.OutputBuffer.writeContentBuffer0(OutputBuffer.java:908)
        at org.glassfish.grizzly.http.server.io.OutputBuffer.write(OutputBuffer.java:635)
        at org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:352)
        at org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:339)
        at org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:161)
        at org.glassfish.osgihttp.OSGiResourceServlet.writeToStream(OSGiResourceServlet.java:119)
        at org.glassfish.osgihttp.OSGiResourceServlet.service(OSGiResourceServlet.java:89)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
        at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1593)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:285)
        at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:660)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:600)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:171)
        at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:660)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:600)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162)
        at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:337)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:240)
        at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:172)
        at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:164)
        at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:175)
        at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
        at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:265)
        at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:200)
        at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:134)
        at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:112)
        at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:78)
        at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:815)
        at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112)
        at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:115)
        at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:55)
        at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:135)
        at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:567)
        at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:547)
        at java.lang.Thread.run(Thread.java:662)
|#]