ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » Problems with using JMS in an applet

Post new topic  Reply to topic
 Problems with using JMS in an applet « View previous topic :: View next topic » 
Author Message
mq newbie
PostPosted: Tue Aug 09, 2005 11:23 am    Post subject: Problems with using JMS in an applet Reply with quote

Newbie

Joined: 08 Aug 2005
Posts: 3

Hello

I have some problems with using JMS in an applet. My applet shall send messages to a message broker using MQ and JMS.
Sending messages using MQ works fine, but when I try to send a message by using JMS always a java.security exception is thrown --> java.security.AccessControlException: access denied (java.util.PropertyPermission user.name read)

I have no explanation for this. The applet is signed and MQ works, so why this security exception is thrown?

does anybody can help me?
Back to top
View user's profile Send private message
wschutz
PostPosted: Tue Aug 09, 2005 11:26 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

Is this applet being server from a web server? I seem to remember that you can only connect back to the serving IP address.....
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
vennela
PostPosted: Tue Aug 09, 2005 11:39 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

See if this might be helpful

http://www.mqseries.net/phpBB2/viewtopic.php?t=7083&highlight=applet
Back to top
View user's profile Send private message Send e-mail Visit poster's website
mq newbie
PostPosted: Tue Aug 09, 2005 11:38 pm    Post subject: Reply with quote

Newbie

Joined: 08 Aug 2005
Posts: 3

hi
Quote:
I seem to remember that you can only connect back to the serving IP address...


if you sign an applet you can connect other IPs than the serving one.
using MQ API it works, just when I use JMS the error occurs.

Quote:
See if this might be helpful

http://www.mqseries.net/phpBB2/viewtopic.php?t=7083&highlight=applet


thx for the tip, unfortunately there was nothing that could really help me .

I have the assumption that possible the JRE I use is responsible for the error.
Does anybody know something more about it.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Aug 10, 2005 5:48 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Did you check if setting the permissions for the base class of your applet helped resolve your problem?

java permissions can sometime be fickle...
Back to top
View user's profile Send private message Send e-mail
mq newbie
PostPosted: Wed Aug 10, 2005 11:12 pm    Post subject: Reply with quote

Newbie

Joined: 08 Aug 2005
Posts: 3

sry but I do not really understand,
what do you envisage by setting the permissions for the base class?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Problems with using JMS in an applet
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.