Invalid profile name
This topic describes how to resolve a Profile name is invalid error message.
Important: Applicable to WebSphere®
Application Server traditional
Here
is the error message that displays in the Console view:Profile name <profileName> is invalid. Specify a profile name that exists on the server.
There
are two known scenarios that you can encounter this error message: - When you migrate a server project that contains a server with a WebSphere Application Server profile name that does not exist on the target server, you might encounter the Profile name is invalid error message when you try to publish an application on the target server, such as when you use the Run on Server option.
- When the Profile name field is empty and you attempt to start the server.
Symptom
In the server editor, under the Server section the Profile name drop-down list contains an empty entry or becomes disabled and you cannot select another profile. You can open the server editor by right-clicking the WebSphere Application Server entry in the Servers view and select Open.Resolving the problem
Select a valid and existing profile from the Profile name drop-down list.If the Profile name drop-down list is empty, you must define a profile; see Creating a profile for a WebSphere Application Server topic in the related reference section for details.
If you are unable to edit the Profile name field, verify that there are projects added to the server. When a project is added to the server, the Profile name field cannot be changed. Complete the following steps to modify the Profile name field in the server editor:
- In the Servers view, right-click the WebSphere Application Server entry and select Add and remove projects.
- Select the Remove All button.
- Click Finish in the Add and remove projects wizard and allow for the changes to occur on the server.
- Open the server editor by right-clicking the WebSphere Application Server entry in the Servers view and select Open.
- Under the Server section, you can now select a valid and existing profile from the Profile name drop-down list.
- Save the changes in the server editor by typing Ctrl + s.
- In the Servers view, right-click the WebSphere Application Server entry and select Add and remove projects.
- Click Add All > Finish.