A bit of confusion on what the op wanted ..a standalone RMIServer or remote 
access to EJB RMI Server?

path of least resistance would be to suggest the standalone RMI server as leon 
suggested
of course most of us use RMI for remote access to EJBServer but the op did'nt 
quite ask for that so a bit of confusion 
is understandable on what he wanted..

Assuming the OP meant I want to implement a standalone RMIServer there is a 
fairly comprehensive tutorial located here
http://www.iam.ubc.ca/guides/javatut99/rmi/overview.html

@echo on
java
-cp .;F:\rmi\compute.jar;%CLASSPATH%
-Djava.rmi.server.codebase=file:/F:/RMI/compute.jar
-Djava.rmi.server.hostname=localhost
-Djava.security.policy="java.policy" engine.ComputeEngine

where your java.policy contains requisite permissions to contact whatever host 
on port 1099
//Start RMI specific
    // allows anyone to listen on un-privileged ports
    permission java.net.SocketPermission "localhost:1099-", 
"connect,listen,resolve";
    //permission java.security.AllPermission "localhost:1099";
//End RMI specific

Martin 
______________________________________________ 
Disclaimer and confidentiality note 
Everything in this e-mail and any attachments relates to the official business 
of Sender. This transmission is of a confidential nature and Sender does not 
endorse distribution to any party other than intended recipient. Sender does 
not necessarily endorse content contained within this transmission. 


> Date: Mon, 27 Oct 2008 12:32:29 +0100
> From: [EMAIL PROTECTED]
> To: users@tomcat.apache.org
> Subject: Re: Tomcat 5.5 and RMI
> 
> On Mon, Oct 27, 2008 at 12:08 PM, Gregor Schneider
> <[EMAIL PROTECTED]> wrote:
> > Hi Leon
> >
> > On Mon, Oct 27, 2008 at 12:03 PM, Leon Rosenberg
> > <[EMAIL PROTECTED]> wrote:
> >> Gregor,
> >> I think you misunderstood the OP (or maybe I did)
> >> but he wanted to receive incoming calls via RMI or HTTP, at least that
> >> was what he posted, and not using tomcat as client...
> >>
> >
> > I see... however, what sense would that make?
> >
> > If the OP wants to accept RMI-calls only, then why not get this job
> > done from his original RMI-server?
> 
> because he (in my understanding) wants to accept calls to same
> services via rmi OR http.
> 
> why not.
> Leon
> 
> >
> > Puzzled...
> >
> > Gregor
> > --
> > what's puzzlin' you, is the nature of my game
> > gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
> > gpgp-key available @ http://pgpkeys.pca.dfn.de:11371
> >
> > ---------------------------------------------------------------------
> > To start a new topic, e-mail: users@tomcat.apache.org
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

_________________________________________________________________
When your life is on the go—take your life with you.
http://clk.atdmt.com/MRT/go/115298558/direct/01/

Reply via email to