Member since Sep 19, 2008, follows 0 people, 0 public groups, 649 public bookmarks (655 total).
More »
Tags
| Recent Tags: |
|
|---|---|
| Top Tags: |
|
More »
Recent Bookmarks and Annotations
- anonbox :: Chaos Computer Club about 4 hours ago
- SpringerLink - Book Chapter on 2009-11-26
- Fast Similarity Search on 2009-11-26
- OBSearch: A High Performance Similarity Search Engine for Java on 2009-11-26
- Eclipse Community Forums on 2009-11-25
- Banco de Dados - CBIC on 2009-11-23
- Mark Watson's Open Source Software on 2009-11-20
-
Problem using apache / tomcat / axis to deploy webservices. [Archive] - Ubuntu Forums on 2009-11-20
-
Awesome! Thank you so much for figuring this out Renne.
So, here are the exact steps in case anyone else has the same problem. These steps are for Tomcat 5 and Apache Axis2.
1) First we want to check and make sure the problem is a policy problem. Edit the file /etc/default/tomcat5 (file://etc/default/tomcat5).
Change...
# Use the Java security manager? (yes/no, default: yes)
#TOMCAT5_SECURITY=yes
To...
# Use the Java security manager? (yes/no, default: yes)
TOMCAT5_SECURITY=no
2) Restart
3) Go to... http://localhost:8180/axis2/
If you are able to view the welcome screen, it is a policy problem.
4) Go back and edit /etc/default/tomcat5 (file://etc/default/tomcat5).
Change...
# Use the Java security manager? (yes/no, default: yes)
TOMCAT5_SECURITY=no
Back to...
# Use the Java security manager? (yes/no, default: yes)
#TOMCAT5_SECURITY=yes
5) Create a new file in the directory /etc/tomcat5/policy.d (file://etc/tomcat5/policy.d) to contain the policy permissions. I created a file named APACHE_AXIS.policy, but it doesn't matter. All the files in this directory get added to the file /usr/share/tomcat5/conf/catalina.policy (file://usr/share/tomcat5/conf/catalina.policy)
6) In the file you just created add...
// permissons for apache axis2
grant codeBase "file:${catalina.home}/webapps/axis2/-" {
permission java.security.AllPermission;
};
7) Restart, things should be working now. :)
If anyone notices that something is wrong please let me know. Again, all credit goes to Renne.
-
- OAuth Core 1.0 on 2009-11-15
- Envato on 2009-11-11
Highlighter, Sticky notes, Tagging, Groups and Network: integrated suite dramatically boosting research productivity. Learn more »
Join Diigo