users@glassfish.java.net

Re: Glassfish and smth strange with class loading

From: <glassfish_at_javadesktop.org>
Date: Wed, 08 Jul 2009 02:57:17 PDT

I put stacktrace from:
1) JaxbTest servlet init:

Daemon Thread [http4848-WorkerThread(2)] (Suspended (breakpoint at line 21 in JaxbTest))
        JaxbTest.init(ServletConfig) line: 21
        StandardWrapper.initServlet(Servlet) line: 1409
        StandardWrapper.load() line: 1212
        WebModule(StandardContext).loadOnStartup(Container[]) line: 5244
        WebModule(StandardContext).start() line: 5642
        WebModule.start() line: 502
        VirtualServer(ContainerBase).addChildInternal(Container) line: 928
        VirtualServer(ContainerBase).addChild(Container) line: 912
        VirtualServer(StandardHost).addChild(Container) line: 693
        WebContainer.loadWebModule(VirtualServer, WebModuleConfig, String, Properties) line: 1775
        WebContainer.loadWebModule(WebModuleConfig, String, Properties) line: 1463
        WebApplication.start(ApplicationContext) line: 89
        EngineRef.start(ApplicationContext, ProgressTracker) line: 115
        ModuleInfo.start(DeploymentContext, ProgressTracker) line: 215
        ApplicationInfo.start(ExtendedDeploymentContext, ProgressTracker) line: 189
        ApplicationLifecycle.deploy(Collection<Sniffer>, ExtendedDeploymentContext) line: 289
        ApplicationLifecycle.deploy(ExtendedDeploymentContext) line: 173
        DeployCommand.execute(AdminCommandContext) line: 250
        CommandRunnerImpl$4.execute(AdminCommandContext) line: 419
        CommandRunnerImpl.doCommand(CommandModel, AdminCommand, InjectionResolver<Param>, ActionReport, Inbound, Outbound) line: 434
        CommandRunnerImpl.doCommand(CommandModel, AdminCommand, Properties, ActionReport, Payload$Inbound, Payload$Outbound) line: 521
        CommandRunnerImpl.doCommand(String, Properties, ActionReport, Payload$Inbound, Payload$Outbound) line: 137
        PublicAdminAdapter(AdminAdapter).doCommand(String, GrizzlyRequest, ActionReport, Payload$Outbound) line: 313
        PublicAdminAdapter(AdminAdapter).service(GrizzlyRequest, GrizzlyResponse) line: 180
        PublicAdminAdapter(GrizzlyAdapter).service(Request, Response) line: 165
        HK2Dispatcher.dispath(Adapter, ClassLoader, Request, Response) line: 100
        ContainerMapper.service(Request, Response) line: 209
        ProcessorTask.invokeAdapter() line: 746
        ProcessorTask.doProcess() line: 655
        ProcessorTask.process(InputStream, OutputStream) line: 905
        DefaultProtocolFilter.execute(Context) line: 161
        HttpProtocolChain(DefaultProtocolChain).executeProtocolFilter(Context, int) line: 136
        HttpProtocolChain(DefaultProtocolChain).execute(Context, int) line: 103
        HttpProtocolChain(DefaultProtocolChain).execute(Context) line: 89
        HttpProtocolChain.execute(Context) line: 76
        ProtocolChainContextTask.doCall() line: 53
        ProtocolChainContextTask(SelectionKeyContextTask).call() line: 57
        ProtocolChainContextTask(ContextTask).run() line: 69
        ThreadPoolExecutor$Worker.runTask(Runnable) line: 886
        ThreadPoolExecutor$Worker.run() line: 908
        HttpWorkerThread(Thread).run() line: 619 [local variables unavailable]




2) Jersey servlet:

Daemon Thread [http4848-WorkerThread(2)] (Suspended (breakpoint at line 274 in JSONConfiguration))
        JSONConfiguration.natural() line: 274
        CommonJaxbProvider.<init>() line: 36
        NativeConstructorAccessorImpl.newInstance0(Constructor, Object[]) line: not available [native method]
        NativeConstructorAccessorImpl.newInstance(Object[]) line: 39
        DelegatingConstructorAccessorImpl.newInstance(Object[]) line: 27
        Constructor<T>.newInstance(Object...) line: 513
        Class<T>.newInstance0() line: 355
        Class<T>.newInstance() line: 308
        ComponentConstructor<T>._getInstance() line: 152
        ComponentConstructor<T>.getInstance() line: 140
        IoCProviderFactory(ProviderFactory).__getComponentProvider(Class) line: 159
        IoCProviderFactory(ProviderFactory)._getComponentProvider(Class) line: 152
        IoCProviderFactory._getComponentProvider(Class) line: 87
        IoCProviderFactory(ProviderFactory).getComponentProvider(Class) line: 146
        ProviderServices.getComponent(Class) line: 185
        ProviderServices.getProviders(Class<T>) line: 95
        ContextResolverFactory.<init>(ProviderServices, InjectableProviderFactory) line: 72
        WebApplicationImpl.initiate(ResourceConfig, IoCComponentProviderFactory) line: 508
        SpringServlet.initiate(ResourceConfig, WebApplication) line: 78
        ServletContainer$InternalWebComponent.initiate(ResourceConfig, WebApplication) line: 242
        ServletContainer$InternalWebComponent(WebComponent).load() line: 446
        ServletContainer$InternalWebComponent(WebComponent).init(WebConfig) line: 169
        SpringServlet(ServletContainer).init(WebConfig) line: 281
        SpringServlet(ServletContainer).init() line: 442
        SpringServlet(GenericServlet).init(ServletConfig) line: 243
        StandardWrapper.initServlet(Servlet) line: 1409
        StandardWrapper.load() line: 1212
        WebModule(StandardContext).loadOnStartup(Container[]) line: 5244
        WebModule(StandardContext).start() line: 5642
        WebModule.start() line: 502
        VirtualServer(ContainerBase).addChildInternal(Container) line: 928
        VirtualServer(ContainerBase).addChild(Container) line: 912
        VirtualServer(StandardHost).addChild(Container) line: 693
        WebContainer.loadWebModule(VirtualServer, WebModuleConfig, String, Properties) line: 1775
        WebContainer.loadWebModule(WebModuleConfig, String, Properties) line: 1463
        WebApplication.start(ApplicationContext) line: 89
        EngineRef.start(ApplicationContext, ProgressTracker) line: 115
        ModuleInfo.start(DeploymentContext, ProgressTracker) line: 215
        ApplicationInfo.start(ExtendedDeploymentContext, ProgressTracker) line: 189
        ApplicationLifecycle.deploy(Collection<Sniffer>, ExtendedDeploymentContext) line: 289
        ApplicationLifecycle.deploy(ExtendedDeploymentContext) line: 173
        DeployCommand.execute(AdminCommandContext) line: 250
        CommandRunnerImpl$4.execute(AdminCommandContext) line: 419
        CommandRunnerImpl.doCommand(CommandModel, AdminCommand, InjectionResolver<Param>, ActionReport, Inbound, Outbound) line: 434
        CommandRunnerImpl.doCommand(CommandModel, AdminCommand, Properties, ActionReport, Payload$Inbound, Payload$Outbound) line: 521
        CommandRunnerImpl.doCommand(String, Properties, ActionReport, Payload$Inbound, Payload$Outbound) line: 137
        PublicAdminAdapter(AdminAdapter).doCommand(String, GrizzlyRequest, ActionReport, Payload$Outbound) line: 313
        PublicAdminAdapter(AdminAdapter).service(GrizzlyRequest, GrizzlyResponse) line: 180
        PublicAdminAdapter(GrizzlyAdapter).service(Request, Response) line: 165
        HK2Dispatcher.dispath(Adapter, ClassLoader, Request, Response) line: 100
        ContainerMapper.service(Request, Response) line: 209
        ProcessorTask.invokeAdapter() line: 746
        ProcessorTask.doProcess() line: 655
        ProcessorTask.process(InputStream, OutputStream) line: 905
        DefaultProtocolFilter.execute(Context) line: 161
        HttpProtocolChain(DefaultProtocolChain).executeProtocolFilter(Context, int) line: 136
        HttpProtocolChain(DefaultProtocolChain).execute(Context, int) line: 103
        HttpProtocolChain(DefaultProtocolChain).execute(Context) line: 89
        HttpProtocolChain.execute(Context) line: 76
        ProtocolChainContextTask.doCall() line: 53
        ProtocolChainContextTask(SelectionKeyContextTask).call() line: 57
        ProtocolChainContextTask(ContextTask).run() line: 69
        ThreadPoolExecutor$Worker.runTask(Runnable) line: 886
        ThreadPoolExecutor$Worker.run() line: 908
        HttpWorkerThread(Thread).run() line: 619 [local variables unavailable]
[Message sent by forum member 'rafik777' (rafik777)]

http://forums.java.net/jive/thread.jspa?messageID=354614