Hi, Are you sure you have the same definitions on the client/server, have they changed recently?
Is there anymore of the stacktrace? Since the exception is on the server, you might try looking there. If it is inside the RMI layer, you might need to look at your JVM docs for how to enable logging. It is not clear where your invocation is failing. There are some limitations to the size of objects that can be serialized. What do you mean by "huge" and what types of objects. e.g. java 1.3 has a bug if Strings are larger than 64K The jboss and jdk version might help? Regards, Adrian On Tue, 2003-07-08 at 12:14, Muraly R wrote: > Hi Gurus, > Its me back again with porting issues(JOnAS to JBoss). > > Currrently our application is used to Monitor the devices on a network. > Each element on the network is identified as a Value Object. > Coming to issue I am facing, when a particular Device has to ba added to > the DB, its passed to JBoss for the same. > > When I try to add a device, I get the following error: > > java.rmi.ServerException: RemoteException occurred in server thread; nested > exception is: > java.rmi.ServerException: RuntimeException; nested exception is: > java.lang.IllegalArgumentException: wrong number of arguments > java.rmi.ServerException: RuntimeException; nested exception is: > java.lang.IllegalArgumentException: wrong number of arguments > java.lang.IllegalArgumentException: wrong number of arguments > > This point of error occurs in my RMI server which makes a call to JBoss > passing only the VO as argument. I have double checked the method signature > and the no. of arguments are correct, since there is only one. > Also one more info. is this happens only with some of the devices, i.e all > other device addition is successfull. > This scenario is working fine with JOnAS:-(. > > So now I am doubting the issue may be with the type of the VO, in the sense > the contents of the VO. > > My doubt is: > 1. Is there any size specification involved during marshalling, 'coz for > the device which is failing the amount of data is huge when compared to > device which successfully added. > 2. Is there any way I can reduce the size of the VO passed? > > Please share your thoughts if you have faced such scenarios. > > Thanks > Muraly > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
