This is a usual error when we work with webServices and Tomcat.
Read all Post before prove the solution.
The solution is:
Go to your Tomcat base directory
Find the file 50local.policy ( usually you can find it in "$TOMCAT_BASE/conf/policy.d/" ) If you haven't this directory structure, I'm sure that you can find the file catalina.policy in directory "$TOMCAT_BASE/conf/". (Both file are OK).
You have to edit one of these. At the final of the file you should type this:
//Grant all permissions to the Your Webservice Name
grant codeBase "file:${catalina.base}/webapps/yourWebserviceName/-" {
permission java.security.AllPermission;
};
Finally save the file and restart the server.
* You must replace the red text with your information.
I hope that this resolve your problem.
Regards.
2 comments:
cool.. thnx
i solved my problem
thnx..
i solved my problem
Post a Comment