Meaningless Drivel is fun!*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Change Web Service Permission
 
Similar Threads
How to change the database instance for web service which uses entity beans
Problem with Web sphere hidden execution.
Tomcat server only services 10 web service calls?
auto redeploy web service after tomcat restart
generation of web service from stub java code