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.
-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]
Created attachment 71249 [details] server.log
Created attachment 71250 [details] messages.log
I will take a look at this.
this depends on the subtask changes...
*** Issue 155950 has been marked as a duplicate of this issue. ***
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....
http monitoring works, even though the error appears in the server log. Since the feature works, I am going to lower this to p4.
*** This issue has been marked as a duplicate of 173298 ***