users@glassfish.java.net

Re: Glassfish V3 - How do you debug SnifferAdapter errors ?

From: Oleksiy Stashok <Oleksiy.Stashok_at_Sun.COM>
Date: Tue, 06 Apr 2010 14:26:40 +0200

> Is there any way to get additional logging for SniiferAdapter ??
I think the problem is not in SnifferAdapter itself, but in underlying
request resolving logic. There is no log available for that part.

> Is there any documentation telling how it works ??
It's GFv3 internal thing, so I guess there could be some
documentation, but not much.
The logic of SnifferAdapter is to intercept request for unresolved
resources and resolve them. The resolving process may include lazy
container startup/initialization etc.

So, as I told I expect the problem is not in SnifferAdapter itself,
but underlying resolving.

WBR,
Alexey.

>
> Have no idea what it's problem is...
>
> [#|2010-04-05T13:11:15.724-0400|SEVERE|glassfish3.0|null|
> _ThreadID=36;_ThreadName=Thread-1;|Exception while mapping the request
> java.lang.RuntimeException: SnifferAdapter cannot map themself.
> at
> com
> .sun
> .enterprise
> .v3.services.impl.SnifferAdapter.service(SnifferAdapter.java:163)
> at
> com
> .sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:
> 100)
> at
> com
> .sun
> .enterprise
> .v3.services.impl.ContainerMapper.service(ContainerMapper.java:245)
> at
> com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:
> 791)
> at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:
> 693)
> at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
> at
> com
> .sun
> .grizzly
> .http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
> at
> com
> .sun
> .grizzly
> .DefaultProtocolChain
> .executeProtocolFilter(DefaultProtocolChain.java:135)
> at
> com
> .sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:
> 102)
> at
> com
> .sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:
> 88)
> 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 com.sun.grizzly.util.AbstractThreadPool
> $Worker.doWork(AbstractThreadPool.java:330)
> at com.sun.grizzly.util.AbstractThreadPool
> $Worker.run(AbstractThreadPool.java:309)
> at java.lang.Thread.run(Thread.java:619)
> [Message sent by forum member 'htsguru']
>
> http://forums.java.net/jive/thread.jspa?messageID=395486
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>