Websphere Application Sever (WASdev)

Install Step (Tested in OSX)

Download form: https://developer.ibm.com/wasdev/downloads/liberty-profile-using-non-eclipse-environments/

bin/installUtility install adminCenter-1.0

bin/server create server1

edit usr/servers/server1/server.xml as below

<?xml version="1.0" encoding="UTF-8"?>
<server description="new server">

 <!-- Enable features -->
 <featureManager>
 <feature>webProfile-7.0</feature>
 <feature>adminCenter-1.0</feature>
 </featureManager>

 <!-- To access this server from a remote client add a host attribute to the following element, e.g. host="*" -->
 <httpEndpoint id="defaultHttpEndpoint"
 httpPort="9080"
 httpsPort="9443" />
 
 <!-- Automatically expand WAR files and EAR files -->
 <applicationManager autoExpand="true"/>
 
 <quickStartSecurity userName="admin" userPassword="adminpwd" />
 <keyStore id="defaultKeyStore" password="Liberty" />

</server>

bin/server run server1

Finally 

Visit http://localhost:9080/

Reference

http://www.ibm.com/support/knowledgecenter/SSEQTP_8.5.5/com.ibm.websphere.wlp.doc/ae/twlp_ui_setup.html

Websphere – Eclipse Integration

Dependencies

  • Eclipse  Mars.1 Release (4.5.1)
  • Websphere 7 Network Deployment Edition

The integration requires the WebSphere Application Server V7 Tools for the integration.

The tools can be required in the Eclipse MarketPlace (Help > Eclipse MarketPlace).

Find: WebSphere 7

Image 003.png

Enterprise Application Project

  • SimpleApplication
  • SimpleEjb
  • SimpleWeb

The Default URL for SimpleWeb: http://localhost:9082/SimpleWeb

Eclipse Hot Deployment

  • Incremental Deployment
  • Run Application as Debug Mode

 

 

 

 

 

 

WebSphere – Start Server

server1 is the default WebSphere Application Server Name.

As WebSphere can contain various Profiles for different runtime configurations. The Server Start is down to Profile Level.

<WAS Root>/profiles/<Profile Name>/bin/startServer.bat server1

 

Console Output

ADMU0116I: Tool information is being logged in file
 D:\WebSphere\AppServer\profiles\HelloWas\logs\server1\startServer.log
ADMU0128I: Starting tool with the HelloWas profile
ADMU3100I: Reading configuration for server: server1
ADMU3200I: Server launched. Waiting for initialization status.
ADMU3000I: Server server1 open for e-business; process id is 4284

 

WebSphere  provided Integrated Solutions Console for Setting in the profile. The default URL is http://localhost:9062/ibm/console/login.do.

Image 001.png

 

 

 

WebSphere – Enable / Disable Security and then Change User Password

Disable Security 

  1. <WAS_INSTALL_DIR>/bin/> wsadmin -conntype NONE
  2. wsadmin> securityoff
  3. wsadmin> exit
  4. Restart the servers.

Change User Password

After disabling the security of WebSphere, the user password can be changed in the Web Console.

Image 004Image 005

 

Enable Security

  1. <WAS_INSTALL_DIR>/bin/> wsadmin -conntype NONE
  2. wsadmin> $AdminTask setGlobalSecurity {-enabled true}
  3. wsadmin> $AdminConfig save
  4. wsadmin> exit
  5. Restart the servers.

 

Reference: 

Websphere Overview

WebSphere Application Server

  • Family Editions
    • WAS Network Deployment
    • WAS
    • WAS Liberty Core

Liberty Profile

It is new capacity since 8.5. It is lightweight profile for web, mobile, OSGi applications.

Profiles

Websphere Application Server can obtain various profiles for different purpose. Each profile have unique config for the run-time environment.

Image 020

Node and Cell

Cell is deployment unit for a profile. A cell can contain one or more nodes for deployment.

 

  •  Wasadmin

Reference