Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005186 [Resin] minor always 08-21-12 20:58 10-25-12 11:13
Reporter fuyou001 View Status public  
Assigned To ferg
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 4.0.33 Product Version 3.1.8
  Product Build
Summary 0005186: classLoader cause rmi network traffic
Description I deploy a RMI Service ,write a RMI Client(J2SE project) to access it and is ok .but the some code in web project,I use wireshark to find that every RMI request sent from our client to our server containing the list of all jars in the classpath for the application, My problem is similar to http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6664389 [^] and https://issues.jboss.org/browse/JBAS-5022 [^]
Steps To Reproduce
Additional Information
Attached Files  rmi.png [^] (163,474 bytes) 08-21-12 22:52

- Relationships

- Notes
(0006011)
fuyou001
08-22-12 01:11
edited on: 08-22-12 01:14

any patch to solve it,at it is online service.

JETTY also have the bug .it is reported at http://jira.codehaus.org/browse/JETTY-1540?focusedCommentId=306765&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-306765 [^]

Question also asked at http://stackoverflow.com/questions/12049951/rmi-performance-network-traffic [^]

 
(0006072)
ferg
10-25-12 11:13

Note: this is not a bug in Resin. It is an RMI bug.

Resin is correctly returning the URLs from the URLClassLoader.getURLs(). RMI is choosing to send those across the wire.

added a DynamicClassLoader.setDisableURLs(true) to disable the getURLs() to work around the RMI bug.

env/0067
 

- Issue History
Date Modified Username Field Change
08-21-12 20:58 fuyou001 New Issue
08-21-12 22:50 fuyou001 Issue Monitored: fuyou001
08-21-12 22:52 fuyou001 File Added: rmi.png
08-22-12 01:11 fuyou001 Note Added: 0006011
08-22-12 01:14 fuyou001 Note Edited: 0006011
10-25-12 11:13 ferg Note Added: 0006072
10-25-12 11:13 ferg Assigned To  => ferg
10-25-12 11:13 ferg Status new => closed
10-25-12 11:13 ferg Resolution open => fixed
10-25-12 11:13 ferg Fixed in Version  => 4.0.33


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
34 total queries executed.
27 unique queries executed.
Powered by Mantis Bugtracker