> 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-27 19:37 > > Message: > Logged In: YES > user_id=566481 > > Ok, verified that changing temp/tmp is a good workaround. > > ---------------------------------------------------------------------- > > Comment By: Scott M Stark (starksm) > Date: 2002-06-25 14:32 > > Message: > Logged In: YES > user_id=175228 > > There is no fix other than not using a path with spaces unless > you upgrade your vm to one without the problem. The issue > here is that it is our code that is dropping stuff into the temp > directory. Set the TMP and TEMP environment variables of > the server to /temp rather than the > default /DOCUME~1/starksm/LOCALS~1/Temp type of path > and the example works. I already have other issues with the > code that is doing this so this will just guarentee its removal > for 3.0.1. > > ---------------------------------------------------------------------- > > 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:ThinkGeek > Bringing you mounds of caffeinated joy. > http://thinkgeek.com/sf > _______________________________________________ > Jboss-development mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-development > > > ============================================================= 网易企业产品套餐 满足您公司的胃口 心动不如行动 大话西游2.0免费测试中 网易非常男女 传递短信情更浓 |