security problem?

hi all,

i'm trying to create jabber chat client, and i've already posted some of my questions there ( http://forum.java.sun.com/thread.jspa?threadID=5176137 ), but this is totally new problem.

this is what i've done so far:

1) i've created normal .awt GUI for my chat, one button and 2 text fields

2) i've imported smack.jar files, which is acctually chat classes

3) i've created jar file out of my project

4) i've signed it, it worked

now - before my applet runs - it askes me "should you trust this publisher...", and i say yes, and that's all fine, but then, when my applet tries to connect to server, i get this error message in my applet:

"access denied (java.util.PropertyPermission java.home read)"

what does it mean?

i've tried to mess around the "java.policy" file, but with no success.

even worse, i don't want this to work "for my computer only", this is chat client, it should run on all computers which visits my site.

where am i making the mistake?

any info is most welcome,

thanks,

dootzky

[1115 byte] By [dootzkya] at [2007-11-27 5:29:15]
# 1

here, i've got the exact two lines where the applet throws the exception:

// Create a connection to the jabber.org server.

connection = new XMPPConnection("192.168.2.2");

connection.connect();

so - when i try to connect to server, it throws the exception:

"access denied (java.util.PropertyPermission java.home read)"

any thoughts now? :)

dootzky

dootzkya at 2007-7-12 14:52:17 > top of Java-index,Java Essentials,New To Java...
# 2
Do you know what it is trying to read?
kdajania at 2007-7-12 14:52:17 > top of Java-index,Java Essentials,New To Java...
# 3

well, i'm pretty sure that it tries to connect to server, and then it throws an exception.

perhaps it's because the jabber server is on the other computer, and i am doing this localy?

maybe if i put my chat client on the server directly, it would work?

any thoghts?

p.s. i can post my entire Class source code here, if you'd like...?

dootzkya at 2007-7-12 14:52:17 > top of Java-index,Java Essentials,New To Java...