Joe Gittings wrote:
>
> Weibock Maximilian's modified RemoteObject.java for a configurable RMI
> port (see
> http://www.objectweb.org/messages/JonasUsers/2000/12/msg00070.html)
> required some further alterations in order to work with Jonas 2.2.4
> Jeremie.
>
> To save anyone else the trouble of figuring it out, here it is...
> Joe
Hi,
Thank you for clarification you made, but I want to inform the community
that
we have just committed in CVS the modification of JOnAS to take into
account a fix port number on which all remote objects created
will be listening.
Our modification differs to Joe's in four ways:
1) we wanted a modification that works for RMI and Jeremie,
2) we think that the way Joe has modified RemoteObject.jpp
can't be compiled due to the new structuration of JOnAS source code:
the RemoteObject.jpp that is in
objectweb/jonas/src/org/objectweb/common
cannot use the org.objectweb.jonas.common.JProp class that is located
in objectweb/jonas/src/org/objectweb/jonas/common
and this directory is compiled after the other.
3) we have chosen "jonas.orb.port" as property name in jonas.properties
file
4) If jonas.orb.port is not set the default value for the port number is
0
in order to have the same behavior than before. (if port is zero, an
anonymous port is chosen).
The three impacted files are:
objectweb/jonas/src/org/objectweb/common/RemoteObject.jpp
objectweb/jonas/src/org/objectweb/jonas/server/Server.java
objectweb/jonas/jonas.properties
Everybody can get these modifications by checking out the current
version in CVS (no tag)
and may compile this version by following the § "Recompiling JOnAS from
the Sources"
in the JOnAS Installation Guide
(http://www.objectweb.org/jonas/jonas_root/doc/Install.html).
Note that in this current version you will find also the fix about the
classloader
problem reported by Markus.
Best regards,
--
Philippe
Philippe Coq Evidian Phone: (33) 04 76 29 78 49
Bull S.A - 1 rue de Provence - 38432 Echirolles Cedex France
Download our EJBServer at http://www.objectweb.org
----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".