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 30324 - Exception from MonitorFilter on S1AS
Summary: Exception from MonitorFilter on S1AS
Status: CLOSED INVALID
Alias: None
Product: javaee
Classification: Unclassified
Component: HTTP Monitor (show other bugs)
Version: -S1S-
Hardware: All All
: P1 blocker (vote)
Assignee: Ana.von Klopp
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-24 05:35 UTC by Jason Rush
Modified: 2003-02-14 03:23 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
NoSuchMethodError (3.12 KB, text/plain)
2003-01-24 05:35 UTC, Jason Rush
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Rush 2003-01-24 05:35:17 UTC
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.
Comment 1 Jason Rush 2003-01-24 05:35:57 UTC
Created attachment 8663 [details]
NoSuchMethodError
Comment 2 Ana.von Klopp 2003-01-25 00:51:17 UTC
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. 




Comment 3 Ana.von Klopp 2003-01-25 00:52:26 UTC
If this is blocking you, please use the following 
workaround: pack the jar files inside the web module that 
you are testing. 




Comment 4 Jason Rush 2003-01-25 01:32:50 UTC
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.