Hi, I am facing permission problem while starting up weblogic admin server in Linux RedHat 3. Here is the scenario: I have made a domain under in /opt/app/bea/user-projects/domains/dev-domain/ and the owner of this director is "weblog".
Now I want another user with a different user name to start and stop server(only one admin server is there) in this domain. But when the user runs the ./startWebLogic.sh script he gets the error as :
<Dec 6, 2004 4:16:14 PM CST> <Info> <Management> <BEA-140013> </opt/app/bea/user_projects/domains/dev_domain/config.xml not found> /opt/app/bea/user_projects/domains/dev_domain/config.xml not found
No config.xml was found. Would you like the server to create a default configuration and boot? (y/n): $
What kind of permission does the user need to start/stop the admin server? The user already has admin rights for this domain but still he is not able to start the admin server as the start script is not even asking for username.
Thanks in advance
IBM Certified Advance WAS Administrator on 6.1, BEA Certified WebLogic Server 81 Administrator, Vitria Certified BusinessWorks Administrator, SCJP 2
I think that the problem is an O/S permission one. Generally there are not alot of O/S permission that are required to stop a server. You need to be able to read config.xml for the server and that is about it. Does the user have permission to read that file?
However, to start a server you need very different permissions unless your shell script is doing a setuid (generally considered a bad thing in Unix for a shell script). The user starting WLS will have to have write access to the files and directories under, in your case, /opt/app/bea/user_projects/domains/dev_domain. If these files are owned by someone else and they are not writeable by the current O/S user then the startup may fail in wierd and wonderful ways.
<a href="http://forums.hotjoe.com/forums/list.page" target="_blank" rel="nofollow">Java forums using Java software</a> - Come and help get them started.