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.
I have done the following: 1. Added httpmonitor.jar and schema2beans.jar from the Nevada build to the classpath of my S1AS server instance. 2. Added the following filter and filter mapping to my web module: <filter> <filter-name>HTTPMonitorFilter</filter-name> <filter- class>org.netbeans.modules.web.monitor.server.MonitorFilter </filter-class> </filter> <filter-mapping> <filter-name>HTTPMonitorFilter</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> 3. Deployed my web module to the Sun ONE App Server. 4. Restarted the server and requested one of the JSPs in my web module with the Monitor GUI portion open to received request information. I got the error message indicated in the file attachment ... a NoSuchMethodError on one of the constructors of BaseBean. However, I have double checked the schema2beans.jar file and that constructor does indeed exist. I know that the proper jar file is being picked up in the server's classpath because if I remove the jar file, I get a NoClassDefError as expected. I am filing this against HTTP Monitor for now, but I am honestly not sure if the problem is in Monitor, Schema2Beans, Sun ONE App Server or in the setup of my environment. Regression testing against Sun ONE App Server is of highest priority for the QA team, so this is a test blocker currently.
Created attachment 8663 [details] NoSuchMethodError
I would suggest asking the S1AS team for help with this issue. Perhaps something needs to be done with registering the jar or something along those lines.
If this is blocking you, please use the following workaround: pack the jar files inside the web module that you are testing.
Exception is caused by version conflict with older version of schema2beans.jar that is incorporated with S1AS. Workaround: Include current versions of httpmonitor.jar and schema2beans.jar in the WEB-INF/lib directory of the web module and do not include them in the server's classpath.