Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » eclipse & BINGO RMI example
eclipse & BINGO RMI example [message #123172] Sun, 30 November 2003 20:14 Go to next message
Eclipse UserFriend
Originally posted by: nospam.nospam.co.uk

Has anyone sucessfully got BINGO server to run using eclipse?

( http://java.sun.com/docs/books/tutorial/together/bingo/letsp lay.html)

When I run it I get in the eclipse console:

In BINGO main method.
Just set security manager.
About to try connecting.
BINGO: Can't find properties file. Using defaults.
BINGO: Can't create the registrar.
Exiting.....


RMIRegister is running and I have installed RMI plug in. I suspect its some
sort of security policy thing but as a newbie am a little confused as to
what it might be. There is a policy file in the eclipse root.

thanks for any assistance.
Re: eclipse & BINGO RMI example [message #123294 is a reply to message #123172] Mon, 01 December 2003 09:18 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: paulj.inet.com

Hi,

I'm not aware of the BINGO server, but try this:

1) Create a policy file (name it whatever you whish) with the following
content:

grant {
permission java.security.AllPermission;
};

2) Start your server application using the security policy argument.
-Djava.security.policy=<path to othe policy file>

ex.:
-Djava.security.policy=C:\tmp\usb.policy

This policy file ignore all security. If you still receive the message,
then it is not related to security.

regards


Walter Mitty wrote:

> Has anyone sucessfully got BINGO server to run using eclipse?

> ( http://java.sun.com/docs/books/tutorial/together/bingo/letsp lay.html)

> When I run it I get in the eclipse console:

> In BINGO main method.
> Just set security manager.
> About to try connecting.
> BINGO: Can't find properties file. Using defaults.
> BINGO: Can't create the registrar.
> Exiting.....


> RMIRegister is running and I have installed RMI plug in. I suspect its some
> sort of security policy thing but as a newbie am a little confused as to
> what it might be. There is a policy file in the eclipse root.

> thanks for any assistance.
Re: eclipse & BINGO RMI example [message #123488 is a reply to message #123294] Mon, 01 December 2003 16:42 Go to previous messageGo to next message
Eclipse UserFriend
If you use the RMI plugin, I suggest you launch your application using
thr RMI launcher:
http://www.genady.net/rmi/screenshots/page2.html

It provides a convenient way to specify these properties (including the
codebase editor) and provides a little help about each one of them

Genady
http://www.genady.net/rmi/

Paul Jone wrote:
> Hi,
>
> I'm not aware of the BINGO server, but try this:
>
> 1) Create a policy file (name it whatever you whish) with the following
> content:
>
> grant {
> permission java.security.AllPermission;
> };
>
> 2) Start your server application using the security policy argument.
> -Djava.security.policy=<path to othe policy file>
>
> ex.:
> -Djava.security.policy=C:\tmp\usb.policy
>
> This policy file ignore all security. If you still receive the message,
> then it is not related to security.
>
> regards
>
>
> Walter Mitty wrote:
>
>
>>Has anyone sucessfully got BINGO server to run using eclipse?
>
>
>>( http://java.sun.com/docs/books/tutorial/together/bingo/letsp lay.html)
>
>
>>When I run it I get in the eclipse console:
>
>
>>In BINGO main method.
>>Just set security manager.
>>About to try connecting.
>>BINGO: Can't find properties file. Using defaults.
>>BINGO: Can't create the registrar.
>>Exiting.....
>
>
>
>>RMIRegister is running and I have installed RMI plug in. I suspect its some
>>sort of security policy thing but as a newbie am a little confused as to
>>what it might be. There is a policy file in the eclipse root.
>
>
>>thanks for any assistance.
>
>
>
Re: eclipse & BINGO RMI example [message #123939 is a reply to message #123488] Tue, 02 December 2003 14:27 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nospam.nospam.co.uk

Genady <eclipse@genady.org> brightened my day with his incisive wit when
in news:bqgcg1$na$1@eclipse.org he conjectured that:

> If you use the RMI plugin, I suggest you launch your application using
> thr RMI launcher:
> http://www.genady.net/rmi/screenshots/page2.html
>
> It provides a convenient way to specify these properties (including
> the codebase editor) and provides a little help about each one of them
>
> Genady
> http://www.genady.net/rmi/
>

I got the server and the players running, the server distributes the play
cards but refuses to play the game. I debuggde for a while and saw that
the ballannouncer seemed to be doing his job, but nothing was updated on
either server or player interfaces. Too much of a newbie to figure it
out, so I'll come back to it later. Thanks for the help.

BTW, I was using the RMI launcher : nice job (although it would be nice
to have an rmiregisetr status interface on the toolbar rather than hidden
in preferences :))

--
A Dilbert a day keeps depression at bay
http://www.dilbert.com/
Re: eclipse & BINGO RMI example [message #124015 is a reply to message #123939] Wed, 03 December 2003 05:32 Go to previous message
Eclipse UserFriend
Good point :)

> BTW, I was using the RMI launcher : nice job (although it would be nice
> to have an rmiregisetr status interface on the toolbar rather than hidden
> in preferences :))
>
Previous Topic:How to link View to Editor?
Next Topic:Opening a file in visual editor programatically
Goto Forum:
  


Current Time: Wed Jul 23 09:24:44 EDT 2025

Powered by FUDForum. Page generated in 0.08949 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top