|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Login using JNDI_Locator |
« View previous topic :: View next topic » |
Author |
Message
|
mqwhelp |
Posted: Tue Apr 16, 2002 7:34 am Post subject: |
|
|
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 |
|
 |
manoj |
Posted: Wed Apr 17, 2002 5:25 am Post subject: |
|
|
 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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|