File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes Change Web Service Permission Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Change Web Service Permission" Watch "Change Web Service Permission" New topic
Author

Change Web Service Permission

Andrew Brother
Greenhorn

Joined: May 23, 2011
Posts: 6
Hello experts! here is an old topic...and i am into the same problem...

auto redeploy web service after tomcat restart

Can someone please tell me how to change the permission of my web services application? I am newbie in web services...so if you can please help me.

Thank You!
Andrew Brother
Greenhorn

Joined: May 23, 2011
Posts: 6
well.. it looks like [person] answered my post...but..why i can`t see the reply?
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

no sorry, there was some spam posted which was removed.
I also edited your post to remove reference to the spam account.
Andrew Brother
Greenhorn

Joined: May 23, 2011
Posts: 6
oh...i see..thank you! but.. no one knows how I can overtake this problem? well.. to explain better, in Catalina.out I have an error that sounds like this:



it appears when i try to register the web service with axis like:



and because that server-config.wsdd is not created, after server restart my web service is lost and i need to redeploy it...
please help...
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

have you checked that you are running tomcat as the same user that you are using to deploy the web service?
It looks like a file permission problem, separate to both tomcat and web services.
Andrew Brother
Greenhorn

Joined: May 23, 2011
Posts: 6
ah...it`s true.. I changed the permission to the tomcat home...etc... cause user root had rights and I deployed with another user. Now on my tomcat folders have permission, for example: myuser(the user):tomcat6(the group).
What I noticed is that when an error occurred and it`s written out to catalina.out the catalina.out permissions change to tomcat6(the user):tomcat6(the group) . What to do to stop doing that?

In my tomcat-users.xml I put the following:


It is ok? or how should i do?

I am using Ubuntu 10.10
 
jQuery in Action, 2nd edition
 
subject: Change Web Service Permission