This is related to the topic
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=140498&a...
I have posted some time ago with no success.
I'll be short:
My bean application A (which runs inside jboss jvm) generates (with javaassist) a class C
and perform an rmi call on a remote object RO passing in argument an object of type C (the
generated class). My generated class is available on a http class server created by my
application. So In my bean application A I add to the
java.rmi.server.codebase property the address of my class server. so two entries are in
the codebase: the jboss class server and my class server.
The problem is that when the RO (remote object) receives the call, it will only try to
download the class in the jbosses class server (on 8083 port) because it doesn't
receive my codebase. So it will not find the class there because it is only availbe on my
class server.
So does jboss takes in account the property java.rmi.server.codebase when marshaling
objects? does it override the marshaller?
So, in short: whatever my bean writes in the java.rmi.server.codebase property (I also
tried to leave it empty), the remote object will receive the codebase of jboss class
server.
The question is: can I change this behavior.
Thanks in advance, It would really help me, It's been 2 months since I have this
problem.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179293#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...