Date Created: Sun 19-Dec-2010



    WebSphere 8 Create a Profile in Windows

    Manually creating a Profile in WebSphere 8 for Windows

    Once you have used the IIM (IBM Installation Manager) to install the WebSphere 8 binaries, you can use the pmt.bat command to launch the Profile Management tool.

    pmt.bat is located in <was_install_root>/bin/ProfileManagement for example: C:\IBM\WebSphere\AppServer\bin\ProfileManagement

    Double click in explorer or run from a command line




    One the Profile Management Tool has loaded, click "Create" to start the new profile wizard.



    In the Environmental Selection window, select "Application server".





    An Application server environment runs your enterprise applications.WebSphere Application Server is managed from it's own administrative console and functions independently from all other application servers.

    Click "Next" to continue



    In the Profile Creation Options window as shown above, select the Advanced profile creation option.

    Using the advanced option you can create applications using default configurations or specify your own values for settings such as the location of the profile and the names of the profile,node and host. You can assign your own port values, which is very useful if you have more than one application server being installed on the same machine. You can optionally choose whether to deploy the administrative console and sample applications, can create Web server definitions. Unless you are going to create a management profile to administer more than one sever, you will need to deploy the administrative console. Using the advanced profile creation wizard will also get the option to choose whether you want a windows service installed. I personally don't like this for test machines, it is good for production however, but feel free to decide for yourself. Another benefit of the advanced profile creation method,is the ability to decide on how long the SSL certificates will last, the default is one year.

    Click "Next" to continue



    As seen above I have decided to install sample applications, so I have checked "Deploy the sample applications". Installing the sample applications allows you to evaluate some of the latest technological advancements that come with WebSphere 8. The sample applications are not for production,they are for learning in conjunction with the Info centre of books to demonstrate the new WebSphere features.

    Click "Next" to continue



    Because this is a local test installation for development I have opted to change the "Server runtime tuning settings" option to "Development", which changes the WebSphere settings to make WebSphere optimised for environments with less powerful hardware and where application updates are frequent.

    I have used the default installation location for this profile. Feel free to change as you see fit.

    Click "Next" to continue



    On the Nodes and Hosts screen, I have opted to leave the defaults. If this was a production server, I would manually decide on the node name and server name and host name as required by production naming standards.

    Click "Next" to continue



    On the Administrative Security screen, I have opted to leave Administration Security turned on. In WebSphere 8 this is on be default and there have also been some changes in the initial config that harden the overall security of a WebSphere install.

    It is recommended that you turn on Administrative security other wise certain security features will not work like SSL management for example.




    In Security Certificate Part 1, I leave the defaults. What will happen is that the installation wizard will create a new root CA and personal certificate signed by the root CA. In Part 2 the next screen we can change the actual personal certificate details.

    click "Next" to continue




    As seen above The distinguished name of the issued certificate will be:

    cn=T60Windows7P,ou=T60Windows7PNode01Cell,ou=T60Windows7PNode01,o=IBM,c=US

    Which is issued by:

    cn=T60Windows7P,ou=Root Certificate,ou=T60Windows7PNode01Cell,ou=T60Windows7PNode01,o=IBM,c=US

    Basically the personal certificated (which contains the public and private key) is what WebSphere will use for SSL,

    Change the certificate information as you see fit.

    If in doubt do something like:

    cn=<host name>,ou=<host name><node name><cell_name>,ou=<host name><node name>,o=<company name>,c=<country>

    click "Next" to continue



    Use the default port selection or choose values as required. If the wizard detects multiple installations of WebSphere it will automatically increment these values for you.

    Administrative console port = 9060
    Administrative console secure port = 9043
    HTTP transport port = 9080
    HTTPS transport port = 9443
    Bootstrap port = 2809
    SIP port 5060
    SIP secure port = 5061
    SOAP connector port 8880:
    Administrative interprocess communication port = 9633
    SAS SSL ServerAuth port = 9401
    CSIV2 ServerAuth listener port = 9403
    CSIV2 MultiAuth listener port = 9402
    ORB Listener port = 9100
    High availability manager communication port = 9353
    Service integration port = 7276
    Service integration secure port = 7286
    Service integration MQ interoperability port = 5558
    Service integration MQ interoperability secure port = 5578

    Click "Next" to continue





    I do not have IBM HTTP Server running for my test server,so I will skip and leave the default to not create a web-server definition.Click "Next" to review the summary




    Click "Create" to start the profile creation.

    You can see the resulting Profile below listed in the Profile Management Tool



    Lets start the server from the command line, start a command prompt as Administrator (If Windows 7)



    Change to bin directory for example:

    cd c:\IBM\WebSphere\AppServer\bin

    Type: startServer server1

    c:\IBM\WebSphere\AppServer\bin>startServer
    Usage: startServer <server> [options]
    options: -nowait
    -quiet
    -logfile <filename>
    -replacelog
    -trace
    -script Middleware Mentor - Steven Charles Robinson

    About Me

    Steve Robinson has been working in IT for over 15 years and has provided solutions for many large-enterprise corporate companies across the world. Steve specialises in Java and Middleware consulting. Steve comes from both an administration and development background.

    Before moving to JEE, Steve was an accomplished developer and consultant for both IBM Lotus Notes and Microsoft .NET Technologies.

    Follow Steve as @stevencrobinson on twitter.

    Read my books?

    IBM WebSphere Application Server 8.0 Administration Guide

    IBM WebSphere Application Server 8.0 Administration Guide

    WebSphere Application Server 7.0 Administration Guide

    WebSphere Application Server 7.0 Administration Guide

    WebSphere Categories

    Oracle WebLogic Categories

    JBoss Categories

    Other Categories