Drop Down MenusCSS Drop Down MenuPure CSS Dropdown Menu

Friday, December 9, 2016

WebSphere: Temporarily disable Global Security

Today, I got stuck at the login screen of IBM WebSphere and getting message "Invalid UserId or Password". Investigated the issue and found that due to some misconfigurations in config file, I was unable to login into WebSphere Admin console and weird thing is that to fix the issue, I have to login into admin console.

Below are the steps to temporarily disable the global security in WebSphere:
1. Open security.xml file in a text editor and locate the following text: useLocalSecurityServer="true" useDomainQualifiedUserNames="false" enabled="true" cacheTimeout="600"
Change both useLocalSecurityServer and enabled to "false".
useLocalSecurityServer="false" useDomainQualifiedUserNames="false" enabled="false" cacheTimeout="600"

2. Save the file then start/restart WebSphere services.
3. Save the file then start/restart WebSphere services.
4. Once the services are started, you will be able to access WebSphere Admin console with any username. This allows any incorrect configurations to be changed and re-tested.
5. Ensure that above parameters are reverted once the issue is resolved and restart the services.

Wednesday, February 25, 2015

Glassfish server - awesome open-source application server

GlassFish Server, an open-source application server project started by Sun Microsystems for the Java platform and currently sponsored by Oracle.

Glassfish server have huge list of its features. Few of them are listed here.


1. Java EE certification: Oracle GlassFish Server was the first Java EE 5–certified application server and is the first Java EE 6–certified application server, providing developers community a head start in taking advantage of the latest advancements in Java technology.

Thursday, August 28, 2014

This operation has been restricted due to restrictions in effect on this computer. Please contact your system administrator.

Today when I started my day in office, I found that some applications we not working as they used to be. And when tried to start them, I got an error dialog box with a message "This operation has been restricted due to restrictions in effect on this computer. Please contact your system administrator.". It seems that IT dept has made some restrictions for applications.
This operation has been restricted due to restrictions in effect on this computer. Please contact your system administrator.

Tuesday, July 15, 2014

Command Prompt: searching port status and killing a process

Today, while working with Glassfish server, I encounted a weird issue that I restarted Glassfish server but Glassfish failed to start and the most annoying thing was, I found nothing in it's logs. Tried to restart Glassfish from windows service several time but all in vain.
Then I tried to check all the ports used in Glassfish. Ports used by Glassfish can be checked from domain.xml file. Search "http-listner" and make a list of ports.

Wednesday, July 9, 2014

VMware: Prepare list of VMs with snapshots using PowerShell

VMware snapshots plays important role for VM backup. It is recommended to remove old snapshots as they consume space and may create problems if somebody revert the VM with old snapshot. If you have handsome amount of Virtual Machines, then it will be difficult and time consuming for you to manage those snapshots manually. 

Calculating MySQL Database size.

So Guys, how do you calculate the size of your databases on db server using a simple & single query..
.
.
.
Well this thing is easily achievable by a simple query. For this you need to query information_schema, which will result you the database size and other information.


   SELECT table_schema "DB Name", ROUND(SUM(data_length + index_length) / 1024 / 1024 / 1024, 1) "DB Size in GB" 
   FROM   information_schema.tables GROUP  BY table_schema;

:)

Monday, February 17, 2014

Removing James as windows service

In previous post, you checked how to configure James as windows service but there may be a situation when you have to remove James as Windows service. To remove James service or any other service, follow below mentioned steps: