This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 149313 - V3:HTTP Monitor:ClassNotFoundException occurs in server.log when deploy a Web Module
Summary: V3:HTTP Monitor:ClassNotFoundException occurs in server.log when deploy a Web...
Status: RESOLVED DUPLICATE of bug 173298
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Vince Kraemer
URL:
Keywords:
: 155950 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-10-07 03:15 UTC by davisn
Modified: 2009-10-22 07:04 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
server.log (30.09 KB, text/plain)
2008-10-07 03:16 UTC, davisn
Details
messages.log (60.87 KB, text/plain)
2008-10-07 03:17 UTC, davisn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description davisn 2008-10-07 03:15:54 UTC
-ClassNotFoundException occurs in server.log file when deploy a Web Module with HTTP Monitor option enable.
-The error message does not occur in V2

Steps To Reproduce:
1. Install NB 6.5 Trunk 10/06/2008 build
2. Right-click at Glassfish V3 Server node, select Properties menu > click Enable HTTP Monitor
3. Create a new Java Web Application Project
    New Project > Java Web > Web Application >  (select default for V3 server) > click to add Visual Web JavaServer Face
component to the project
4. Right-click at the project, select to run 
BUG: 
    Exception Error message occurs in the server.log file 

   INFO: Started bundle org.glassfish.web.jsf-connector [104]
SEVERE: WebModule[]PWC1270: Exception starting filter HTTPMonitorFilter
java.lang.ClassNotFoundException: org.netbeans.modules.web.monitor.server.MonitorFilter
        at org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1509)
        at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:251)
        at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:375)
        at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:119)
        at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4497)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:5324)
        at com.sun.enterprise.web.WebModule.start(WebModule.java:453)
        at org.apache.catalina.core.ContainerBase.startChildren(ContainerBase.java:1514)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1180)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:977)
        at org.apache.catalina.core.ContainerBase.startChildren(ContainerBase.java:1514)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1180)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:550)
        at org.apache.catalina.startup.Embedded.start(Embedded.java:945)
        at com.sun.enterprise.web.WebContainer.postConstruct(WebContainer.java:637)
        at com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:150)
        at com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:90)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:87)
        at com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:75)
        at com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:58)
        at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)
        at com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60)
        at org.glassfish.internal.data.ContainerInfo.getContainer(ContainerInfo.java:75)
        at com.sun.enterprise.v3.server.ApplicationLifecycle.startContainers(ApplicationLifecycle.java:700)
        at com.sun.enterprise.v3.server.ApplicationLifecycle.setupContainerInfos(ApplicationLifecycle.java:334)
        at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:173)
        at com.sun.enterprise.v3.server.ApplicationLoaderService.processApplication(ApplicationLoaderService.java:260)
        at com.sun.enterprise.v3.server.ApplicationLoaderService.postConstruct(ApplicationLoaderService.java:97)
        at com.sun.enterprise.v3.server.ApplicationLoaderInjector.postConstruct(ApplicationLoaderInjector.java:61)
        at com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:150)
        at com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:90)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:87)
        at com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:75)
        at com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:58)
        at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)
        at com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60)
        at com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:203)
        at com.sun.enterprise.v3.server.AppServerStartup$1.run(AppServerStartup.java:116)
SEVERE: PWC1306: Startup of context  failed due to previous errors
INFO: policy.loading
INFO: Started bundle org.glassfish.web.war-util [100]
INFO: Started bundle org.glassfish.security.websecurity [93]
INFO: Unknown loader org.glassfish.internal.api.DelegatingClassLoader@2e595420 class
org.glassfish.internal.api.DelegatingClassLoader
INFO: Initializing Mojarra (1.2_10-b01-FCS) for context '/WebTest'
INFO: Using com.sun.enterprise.transaction.JavaEETransactionManagerSimplifiedDelegate as the delegate
INFO: Started bundle org.glassfish.connectors.work-management [45]
INFO: Started bundle org.glassfish.common.glassfish-ee-api [70]
INFO: Started bundle org.glassfish.connectors.connectors-internal-api [89]
INFO: Loading application WebTest at /WebTest
INFO: Loading WebTest Application done is 8984 ms
INFO: GlassFish Prelude 10.0-SNAPSHOT startup time : Felix(2516ms) startup services(12015ms) total(14531ms)
INFO: Started bundle org.glassfish.deployment.deployment-admin [41]
Comment 1 davisn 2008-10-07 03:16:48 UTC
Created attachment 71249 [details]
server.log
Comment 2 davisn 2008-10-07 03:17:47 UTC
Created attachment 71250 [details]
messages.log
Comment 3 Vince Kraemer 2008-10-07 16:19:25 UTC
I will take a look at this.
Comment 4 Vince Kraemer 2008-10-25 05:32:21 UTC
this depends on the subtask changes...
Comment 5 Sonali Kochar 2009-01-12 20:21:33 UTC
*** Issue 155950 has been marked as a duplicate of this issue. ***
Comment 6 Vince Kraemer 2009-04-08 19:06:01 UTC
I did a number of subtask changes that help make http monitoring more predictable.  it seems like this issue come into
play because the something about how the default-web.xml and deploy-on-save interact....
Comment 7 Vince Kraemer 2009-09-16 19:21:42 UTC
http monitoring works, even though the error appears in the server log.

Since the feature works, I am going to lower this to p4.
Comment 8 Vince Kraemer 2009-10-22 07:04:03 UTC

*** This issue has been marked as a duplicate of 173298 ***