I had a similar problem and solved it for JOnAS 1.x
I posted the changes that are needed and suggested to
incorporate them in new JOnAS versions, but sadly
it seems it has not been done...
What you need to do is you have to enable RMI over SSL.
See JavaTM Secure Socket Extension (JSSE)
http://java.sun.com/products/jsse/ for details.
The change we made to JOnAS has to to with firewall
support and is in fact very simple.
We needed to be able to define the port the RMI/SSL
comunication is using to drill a hole (open the port)
in the firewall. If you do not have a firewall, you do
not need this solution....
The solution is to modifiy the UnicastRemoteObject.java
class in JOnAS so it can use a predifined port.
This is the listing of the changed class...
-------------- cut here ---------------
package org.objectweb.jonas.common;
import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;
public class RemoteObject extends UnicastRemoteObject {
protected RemoteObject() throws RemoteException {
super(Integer.parseInt(Prop.svr.getValue("jonas.rmi.port")));
}
}
------------ cut here ------------
What we do is, we define a property "jonas.rmi.port"
in the Jonas Property file and now you can define the
port that is used for RMI comunication.
May I once more suggest that this is incorporated
into jonas?
Thanks, Max
> -----Original Message-----
> From: Ritesh [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, December 16, 2000 9:38 AM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: EJB: Want to know abut SSL with JOnas
>
>
> Hi
>
> I developed my application with the help of JOnAS2.1.2 as
> my EJB server
> jsp/java/html for my front end and sybase as my back end.
>
> Every thing is working fine , I am happy that i am
> getting good results
> with JOnAS .
>
> Now i want to implement the same on Internet .
> Before putting all things on internet i have some
> question in my mind
> NOTE :: (I am using JOnAS as an different entity no with Enhydra )
>
> 1) How can i work SSL with JOnAS ?
> 2) How EJBserver takes the SSL request. ??
> 3) How EJBserver talks to database ???
> (if suppose my database is on different machines
> . Will it uses SSL for that
> ???)
>
>
> Thanks in advance
> ----Ritesh
>
> --------------------------------------------------------------
> ---------------
> This list is cross-posted to two mail lists. To unsubscribe,
> follow the instructions below for the list you subscribed to.
> For objectweb.org: send email to [EMAIL PROTECTED] and
> include in the body of the message "unsubscribe dbtm-group".
> For enhydra.org: send email to [EMAIL PROTECTED] and include
> in the body of the message "unsubscribe ejb-container-group".
>
----
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".