WebSphere Issues

23/02/2014

Create a standalone WAS profile

Filed under: AIX, Linux, WAS, WebSphere Application Server — Tags: , , — Ishtiaque @ 9:49 am

In 64-bit platforms graphical wizard is not available to create profiles in WebSphere Application Server. So we have to use command based profile managment tool to create the profile, following command can be used to create standalone profiles:

/opt/IBM/WebSphere/AppServer/bin/manageprofiles.sh -create -defaultPorts -enableAdminSecurity false -profileName AppSrv01 -profilePath /opt/IBM/WebSphere/AppServer/profiles/AppSrv01 -templatePath /opt/IBM/WebSphere/AppServer/profileTemplates/default -nodeName DefaultNode -cellName DefaultNode -hostName myhost.abc.com -isDefault false -omitAction samplesInstallAndConfig defaultAppDeployAndConfig

07/02/2014

Prepare CentOS for IBM software installation

Filed under: Linux, TDS, WAS, WCM, Web Server, websphere, WebSphere Application Server, WebSphere Portal — Tags: , , , — Ishtiaque @ 10:46 pm

1. Install the following packages for IBM installations:

  • yum install -y compat-libstdc++-33-3.2.3-69.el6
  • yum install -y compat-libstdc++-33-3.2.3-69.el6.i686
  • yum install -y compat-db-4.6.21-15
  • yum install -y compat-db-4.6.21-15.i686
  • yum install -y libXp-1.0.0-15.1
  • yum install -y libXp-1.0.0-15.1.i686
  • yum install -y libXmu-1.0.5-1
  • yum install -y libXmu-1.0.5-1.i686
  • yum install -y libXtst-1.0.99.2-3
  • yum install -y libXtst-1.0.99.2-3.i686
  • yum install -y pam-1.1.1-4
  • yum install -y pam-1.1.1-4.i686
  • yum install -y libXft-2.1.13-4.1
  • yum install -y libXft-2.1.13-4.1.i686
  • yum install -y gtk2-2.18.9-4
  • yum install -y gtk2-2.18.9-4.i686
  • yum install -y gtk2-engines-2.18.4-5
  • yum install -y gtk2-engines-2.18.4-5.i686
  • yum install -y libcanberra-gtk2
  • yum install -y libcanberra-gtk2.i686
  • yum install -y PackageKit-gtk-module
  • yum install -y PackageKit-gtk-module.i686
  • yum install -y gcc
  • yum install -y gcc-c++
  • yum install -y glibc
  • yum install -y glibc-common
  • yum install -y glibc-devel
  • yum install -y glibc-headers
  • yum install -y libgcc
  • yum install -y ld-linux.so.2
  • yum install -y libgcc_s.so.1

Note: You can run the command “rpm -qa|grep pckg” to verify what packages are already installed on your box.

2. Optional: create soft link to map the directory for installation:

  • mkdir /disk01/WebSphere
  • mkdir /opt/IBM
  • ln -s  /opt/disk01 (i.e path to actual file or directory) /opt/IBM/WebSphere (i.e path to symbolic link file or directory)

Configure remote X11 display on Linux

Filed under: Linux — Ishtiaque @ 10:32 pm

1. To configure for X11 forwarding:

  • yum install -y xorg-x11-xauth
  • yum install -y xorg-x11-fonts-*
  • yum install -y xorg-x11-utils
  • Enter “X11Forwarding yes” in the file /etc/ssh/sshd_config
  • Run “service sshd restart”
  • Install Xming on your laptop http://sourceforge.net/projects/xming/
  • Enable “X11 forwarding” and X display location “localhost:0 in the putty via SSH > X11”

2. Alternatively, if you want to install Full desktop and vnc support , then install the following packages:

  • yum groupinstall Desktop
  • yum groupinstall Fonts
  • yum remove NetworkManager
  • yum remove PackageKit
  • yum install tigervnc-server

06/02/2014

Remote X11 display on AIX

Filed under: AIX, Linux — Tags: , , — Ishtiaque @ 1:29 pm

1. Install xmin on your PC.

2.  On the AIX check, that ssh X11 forwarding requests are allowed:

# grep X11Forwarding /etc/ssh/sshd_config
X11Forwarding yes

3. If it’s necessary, change the value and restart the ssh service. You can do it while you’re logged in, your current ssh session will not be dropped. Keep in mind, that the ssh X11 forwarding will apply only to new ssh sessions, that are opened with X forwarding.
stopsrc –s sshd; sleep 2; startsrc –s sshd

4. Now set the X11 forwarding on your workstation. If you have an command line ssh client e.g. as part of Cygwin, run ssh -X <server_ip> to log in. If you use Putty, check that X11 forwarding is set for your session (i.e and don’t forget to save the change. For other ssh clients check a documentation (or browse through all the session settings, as pros do….)

Click, Connection > SSH > X11 in putty, then “Enable X11 forwarding” and “x display location = localhost:0”

5. After you log in, check the DISPLAY and authentification value. If it is as on an example below, run xclock and enjoy.
# echo $DISPLAY
DISPLAY=localhost:10
# xauth list
server/unix:10 MIT-MAGIC-COOKIE-1 6299564796e4cf089e38619a354cfdcc

Blog at WordPress.com.