I have incorporated the hello-subscriber example into an applet. When I run the applet on the unix server that JBoss is running on using the appletviewer it fails giving the following error message:
org.mq.SpyJMSException: cannot get a clientID access denied (java.net.SocketPermission 0.0.0:4188 cannot resolve)
I take the run the same applet from the appletviewer with the following option:
appletviewer -J-Djava.security.policy=java.policy ...
and this works just fine.
The problem is of course that when I attempt to run the applet from the browser on a different platform I get the same type of error that I got when I did not use the -J-Djava.security.policy option with the appletviewer.
The java console on the pc gives me the following error:
org.jboss.mq.SpyJMSException cannot get a clientID cannot assign requested address:connect
Any thoughts on what the problem is??
I forgot to mention that the java.policy file when I run I successfully using the appletviewer grants: