I have installed a trial version of Websphere on linux VM (from BASETRIAL.agent.installer.linux.gtk.x86_64.zip). I want to start it using command line for testing. All I know is running /opt/IBM/WebSphere/AppServer/bin/startServer.sh
, but it complains and throws error:
WCMD0002E, startServer.sh requires a profile. No default profile
exists and a profile name was not specified ….
It gives same error for wsadmin.sh
and startNode.sh
too. I am not sure what server name and/or profile name are to be provided and where to find them. I searched for the same in /opt/IBM/WebSphere/AppServer/profileTemplates
, but could not figure out anything. Please help.
Best Answer
A new installation likely won't have a profile created. If you just want a profile with default server up and running, there are a few ways to do it:
1) Use PMT (Profile Management Tool) by using WAS_HOME/bin/ProfileManagement/pmt
2) Command line fully specified, for example:
This is the fully enumerated form showing which profile template is used and where it will be created
3) Command line with defaults, same result as above, for example:
All three of which should make a standard server. Start it up using: