Posts

Showing posts from November, 2013

Installation procedure for WebSphere Liberty Profile.

Topic : Installation procedure for WebSphere Liberty Profile. Procedure: Install a Java SDK. If you already have a Java 6 or Java 7 SDK then you can skip this step.   To install a Java 7 SDK ,simply unzip the file   ibm-java-sdk-70-win-i386.zip . Install the WebSphere Application Server Developer Tools for Eclipse V8.5.5. From the command prompt type   java -jar WDT-8.5.5-win.jar   and follow the prompts to install Eclipse 4.2.2 and the developer tools to the directory of your choice. Install the IBM WebSphere Application Server V8.5.5 Liberty Profile. From the   command prompt   type   java -jar wlp-developers-runtime-8.5.5.0.jar and follow the prompts to install the Liberty profile to a directory of your choice. If you want to use JMS, Web services or MongoDB you should also install the extended programming models. This can be done by running   java -jar wlp-developers-extended-8.5.5.0.jar   and following the prompts. Optional: ...

Programming Models Supported in Liberty Profile

Topic:  Programming Models Supported: Java Servlet 3.0 JavaServer Faces (JSF) 2.0 JavaServer Pages (JSP) 2.2 Java Expression Language 2.2 Standard Tag Library for JavaServer Pages (JSTL) 1.2 Bean Validation 1.0 Java Persistence API (JPA) 2.0 Java Transaction API (JTA) 1.1 Java Database Connectivity (JDBC) 4.0 Java API for RESTful Web Services (JAX-RS) 1.1 In WAS 8.5.5 version  it supports the below Contexts and Dependency Injection for Java (Web Beans 1.0) Dependency Injection for Java 1.0 Enterprise JavaBeans 3.1 (includes Interceptors 1.1) - EJB Lite subset In other editions, such as WebSphere Application Server and WebSphere Application Server Network Deployment, the Liberty profile supports the following technologies in addition to those contained in Liberty Core: Java API for XML-Based Web Services (JAX-WS) 2.2 Java Architecture for XML Binding (JAXB) 2.2 SOAP with Attachments API for Java (SAAJ) 1.3 Java Message Service...

WAS Liberty Profile

Topic : What is liberty Profile in WAS? and its features Explanation: The Liberty profile is a lightweight, simple to use, yet powerful, application server for lightweight web production server , OSGi, and mobile applications. Extremely fast restart times coupled with its small size and ease of use make the Liberty profile a great option for building web apps that do not require the full Java EE environment of traditional enterprise application server profiles. Features: 1.Simple Configuration (only one simple config file server.xml for all configurations) 2. Rapid Server Restart (less then 5 seconds) 3. It supports integrated  tools like(Maven/Eclipse). 4. dynamically extendible. 5. Supports light weight Cluster Management. 6. Fidelity to traditional WAS.  7. Web Profile Certified. 8. Memory foot print is < 60 MB 9. Profile is dynamic (switch parts of the server on and off with out restart) 10. Be installed and managed separately from a...

MQ: QMGR is not started due to Circular log deletion

Issue: Circular Log is deleted by the user by mistake which causes the queue manager not able to start Solution: Restore the log file from back up and start the qmgr. it should work WorkAround: If there is no backup the workaround to get the queue manager running is 1. backup /var/mqm/log/<ORI_QMGR> 2. create the dummy qmgr with the similar log description as in the <ORI_QMGR>for this refer the /var/mqm/qmgrs/<ORI_QMGR>/qm.ini 3. crtmqm <DUMMY_QMGR> -lp 3 -ls 2 -lp 1024 -lc 4. copy /var/mqm/log/<DUMMY_QMGR>/active and amqhlct.ifh to /var/mqm/log/<ORI_QMGR>        cp  /var/mqm/log/<DUMMY_QMGR>/* /var/mqm/log/<ORI_QMGR>/ 5. ensure all semphores for <ORI_DMGR> are cleared 6.strmqm <ORI_QMGR> 7. you can remove <DUMMY_QMGR> if not required.

MQ: AMQ8041 Error Unable to restart the QueueManager

Issue: AMQ8041 Error Unable to restart the QueueManager Solution :  Remove the MQ semaphores by using this command /usr/mqm/bin/amqiclen -m <QM_NAME> -v -h -x -F