Troubleshooting
Problem
During profile creation as a non-root user, if you click the Next button on the Environment Selection dialog, it will not appear to do anything. You will be unable to continue creation of a profile regardless of what kind of profile type was chosen.
Diagnosing The Problem
Using the profile creation tool creates a log of events in <WAS_HOME>/logs/manageprofiles/pmt.log . The messages close to the bottom of the log indicate that the file serverindex.xml is unable to be opened from an existing profile. This file is used to determine any port conflicts when creating a new profile.
<record> <date>2009-03-13T15:15:49</date> <millis>1236971749294</millis> <sequence>4390</sequence> <logger>com.ibm.ws.pmt.uiutilities.WSProfileUtilities</logger> <level>WARNING</level> <class>com.ibm.ws.install.configmanager.logging.LogUtils</class> <method>logException</method> <thread>10</thread> <message>com.ibm.wsspi.profile.WSProfileException: java.io.FileNotFoundException: C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\config\cells\4235345Cell01\nodes\4235345Node01\serverindex.xml (Access is denied.) at com.ibm.ws.profile.utils.PortResolutionUtils.createPortConflictResolver(PortResolutionUtils.java:872) at com.ibm.ws.profile.utils.PortResolutionUtils.recommendPorts(PortResolutionUtils.java:214) at com.ibm.ws.profile.utils.PortResolutionUtils.determineRecommendedPorts(PortResolutionUtils.java:471) at com.ibm.ws.pmt.uiutilities.WSProfileUtilities.determineRecommendedPorts(WSProfileUtilities.java:259) at com.ibm.ws.pmt.wizards.fragments.PortsPanel.getRecomendedPorts(PortsPanel.java:381) <<REST OF STACK TRACE>> ... </record> |
Resolving The Problem
This is a permissions issue caused by the automatic port detection routine. If any profiles already exist and were created as a different user, the port detection routine will try to open the serverindex.xml file in each profile and will fail.
Follow the steps below to resolve this issue and allow non-root users to create profiles:
- Read the instructions in the Knowledge Center to allow non-root users to manage profiles.
WebSphere Application Server V9.0
Managing profiles for non-root users
WebSphere Application Server V8.5
Managing profiles for non-root users
WebSphere Application Server V7.0 and V6.1 instructions are the same.
Managing profiles for non-root users
- Set the permissions on all serverindex.xml files so the non-root users can access these files.
- Rerun the profile management tool and create your profile.
Was this topic helpful?
Document Information
Modified date:
15 June 2018
UID
swg21378393