[JDEV] Is it possible to get the roster from Foreign IM's ?
erisson at mail.kaosklan.net
Tue Oct 3 09:44:44 CDT 2000
On Tue, Oct 03, 2000 at 07:26:37PM +0530, Ram wrote:
> hi guys..
> i have a serious doubt . we are trying to make a java applet to connect to
> the jabber server. But some problems have arisen this is what i get when i
> run the code
> C:\>appletviewer JabberApp.java
> java.security.AccessControlException: access denied (java.net.SocketPermi
> ssion ethrex.jabber.org resolve)
> Packet is send.....
> <stream:stream to="jabber.org" xmlns="jabber:client"
> the questions i have is..
> 1. Do we need to write a policy file on the server side permitting any user
> to listen and to read from the socket?
No, you have to write a policy on the client side permitting it to resolve
and open a connection to etherx.jabber.org, not just jabber.org.
> 2.Does the latest Implementaion of jabber server(1.1) support applet to
> jabber connection?
The server doesn't much care where the connection comes from, so it's no
different from 1.0 to 1.1.
> 3. We have written a sample RMI intermediate server which will in turn
> connect with the jabber server and returns the results to the applet! it's
> working fine when view it in appletviewer ....but it gives me a problem
> when i try to view the page in HTML...can anyone tell me what's going on?
> it would be of greate help!
I'd need more information to be of any help here. What error(s) are you
getting, what browser are you using, etc.
More information about the JDev