Well, I've got it working! When I deploy any Web application with the server (Glassfish V3) enabled for HTTP Minitoring, I got an error message saying that the class "org.netbeans.modules.web.monitor.server.MonitorFilter" cannot be found.
I created a Web application with the following index.jsp that tries to load the class: ----------------------------------- <%...@page contentType="text/html" pageEncoding="UTF-8"%> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>JSP Page</title> </head> <body> <h1>Hello World!</h1> <hr> <% String str = "init"; try { Class cls = Class.forName("org.netbeans.modules.web.monitor.server.MonitorFilter"); str = "loaded"; } catch ( Throwable th ) { str = "erreur"; } %> <h2><%= str %></h2> </body> </html> ----------------------------------- (the class actually exists in a .jar in $HOME/.netbeans/6.7/Glassfishv3PreludeDomain/lib/) Then: -- I disabled the HTTP Monitoring from the server -- Undeployed everything from the server -- Stopped and restarted the server -- Compiled, deployed and executed the servlet (that displayed "loaded") -- Undeployed everything from the server -- Activated HTTP Monitoring for the server -- Stopped and restarted the server After all that, it works for any application (although it still display the error message on deployment) Odd but it works! -- Hope it helps mihai arun saxena a écrit : > u guys need to deploy the project i think once u'll deply it it will > run on browser > > On 9/12/09, Mihai DINCA <mihai.di...@free.fr> wrote: > >> Hi, >> >> I have the same problem (NetBeans 6.7.1 on Mandriva 2009). I chacked all >> the check-boxes (both on project side and on server side), restart the >> server, restart NetBeans and so. The HTTP Server Monitor is still empty. >> >> Have you find the fix? >> >> Regards, >> mihai >> >> Robert Worrall a écrit : >> >>> Hello >>> >>> I had this issue. Go to services (or runtime. I havent got Netbeans >>> infrount of me so I am doing this from memory) and and expand >>> 'servers' and each server entry: >>> right click on the server and go to properties. Then tick the enable >>> http monitor tickbox. >>> >>> Restart netbeans and http monitoring should now work. >>> >>> I hope this helps. >>> >>> Rob. >>> >>> >>> On Sep 9, 5:20 pm, Payne <buja...@gmail.com> wrote: >>> >>> >>>> Do you restart AppServer? It is usually necessary to restart >>>> AppServer. >>>> >>>> On 8. Sep., 20:13 h., Henry Ramos <rhen...@gmail.com> wrote: >>>> >>>> >>>> >>>>> Hello everybody: >>>>> >>>>> I need help with using the HTTP Monitor in the "NetBeans IDE Quick >>>>> Start Guide for Web Applications II". I've turn it on at >>>>> Window>Debugging>HTTP Server Monitor, and enabled it at >>>>> Tools>Servers>Enable HTTP Monitor, but when I run the application, it >>>>> doesn't work. It just appears empty. >>>>> >>>>> I'm using Netbeans 6.7.1 IDE. Have I missed one step? Please help me. >>>>> >>>>> Thank you very much, >>>>> >>>>> Henry Ramos >>>>> >>>>> >>> >>> >> >> >> >> > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en -~----------~----~----~----~------~----~------~--~---