Bugs item #571930, was opened at 2002-06-20 22:25
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=571930&group_id=22866

Category: JBossServer
Group: v3.0 Rabbit Hole
Status: Open
Resolution: None
Priority: 5
Submitted By: rick labanca (rickla)
Assigned to: Scott M Stark (starksm)
Summary: rmi marshaling fails for user objects

Initial Comment:
If you try to call an rmi server from jboss/jetty, and 
send a user defined object, marshaling fails.

This is because the vm doesn't seem to see the class 
on the server side, yet it did see it enough to compile 
the jsp page fine.

It can be resolved by adding the classes to 
jboss_classpath, or placing the class in the 
jboss_home/lib. Neither is a good long term solution for 
packaging apps to be self contained.

This worked in 2.4. Attached is a war file with a small 
rmi server and test page to show the problem. For 
simplicity i have the source also shoved into the classes 
area in the war.

Get the classes out of the war and start the server 
locally (java rmitest.Server), and then deploy the war, 
run /rmitest/test.jsp to see the error. Adding the rmitest 
directory  you use for the server to jboss_classpath will 
make it run  correctly.

rick

----------------------------------------------------------------------

>Comment By: rick labanca (rickla)
Date: 2002-06-25 12:38

Message:
Logged In: YES 
user_id=566481

why yes it is (win32!). I recall reading about a problem with 
spaces but didn't think it affected this, I will try to find the fix 
I recall seeing and see if that works (remind me where it is if 
you can!)

rick

----------------------------------------------------------------------

Comment By: Scott M Stark (starksm)
Date: 2002-06-25 11:55

Message:
Logged In: YES 
user_id=175228

Is this on a win32 system with a temp directory path that 
contains spaces?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=571930&group_id=22866


-------------------------------------------------------
This sf.net email is sponsored by: Jabber Inc.
Don't miss the IM event of the season | Special offer for OSDN members! 
JabConf 2002, Aug. 20-22, Keystone, CO http://www.jabberconf.com/osdn
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to