I've worked around this problem up to now, but its time I figure out what's wrong :-)
Before, I had to build from HEAD the jar jboss-common.jar and put that in my jboss-4.0/lib directory. If I don't do that, and I run my JBossAS where a JBoss/Remoting server is running, I get this NoSuchMethodError:
Caused by: java.lang.NoSuchMethodError: org.jboss.util.propertyeditor.PropertyEditors.mapJavaBeanProperties(Ljava/lang/Object;Ljava/util/Properties;Z)V at org.jboss.remoting.transport.socket.SocketServerInvoker.setup(SocketServerInvoker.java:122) at org.jboss.remoting.transport.socket.SocketServerInvoker.<init>(SocketServerInvoker.java:99) ... 97 more
There is a dependency on a method in PropertyEditors that was added after that 4.0.1 release. The remoting jar is therefore incompatible with that release and you will need to rebuild it using the current Branch_4_0 code.