maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aleksander Pohl <apoh...@o2.pl>
Subject problems with RMI
Date Fri, 28 Jan 2005 19:28:26 GMT
HI!
I have problems running tests under Maven. I utilize Java RMI and get 
following error:
################
java.rmi.ServerException: RemoteException occurred in server thread; 
nested exception is:
         java.rmi.UnmarshalException: error unmarshalling arguments; 
nested exception is:
         java.lang.ClassNotFoundException: symon.com.rmi_dcom.rmi.ICOMRMI
.....
################

I get it when I run command: maven jar:jar.

When I run tests manually (i.e. from command line: java {path}/TestOne), 
the problem does not apear, while I can configure the RMI needed 
parameter: java.rmi.server.codebase. I don't know how to configure this 
parameter running mave jar:jar and similar targest (e.g. dist:build).

best regards
Aleksander Pohl

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message