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 » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » Login using JNDI_Locator

Post new topic  Reply to topic
 Login using JNDI_Locator « View previous topic :: View next topic » 
Author Message
mqwhelp
PostPosted: Tue Apr 16, 2002 7:34 am    Post subject: Reply with quote

Voyager

Joined: 20 Dec 2001
Posts: 85
Location: TCS

I have configured Java Corba Agent using fmczutil.
I had followed the way which was described in programming guide (ie Running
the MQ Workflow Java CORBA Agent inside the WebSphere Test
Environment).
When I had started running the main method of com.ibm.workflow agent it
throws an exception
stating
"Uncaught exception in evaluation: java.security.AccessControlException:
access denied (java.util.PropertyPermission * read,write)"

I had already added following piece of code in java.policy file of visual
age..as mentioned below.

grant codeBase "file:/D:/Program files/MQSeries Workflow/bin/-"
{
permission java.util.PropertyPermission "*", "read, write";
permission java.net.SocketPermission "*:900",
"accept, connect, listen, resolve";
permission java.net.SocketPermission "*:1024-",
"accept, connect, listen, resolve";
permission java.lang.RuntimePermission "accessClassInPackage.sun.misc";
};


Please suggest where I can change the access permission
Back to top
View user's profile Send private message Send e-mail
manoj
PostPosted: Wed Apr 17, 2002 5:25 am    Post subject: Reply with quote

Master

Joined: 30 Jan 2002
Posts: 237
Location: Virgina

Add the following to u r java.policy file.

grant codeBase "file:/C:/WebSphere/AppServer/lib/-"
{
permission java.util.PropertyPermission "*", "read, write";
permission java.net.SocketPermission "*:*", "accept, connect, listen, resolve";
};

---manoj
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » Login using JNDI_Locator
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.