listAll is used to list all locked messages
unlock lockId will be used to unlock one locked messages. lockId can be acquired using listAll command.
deleteLocks is used to delete all lockes related to one module. remember that the application need to be stopped before using deleteLocks. the module name is SCA module name, not application name.

for example: esAdmin.sh deleteLocks moduleName

Advertisements

Like this:

LikeLoading...

Related

About this entry

You’re currently reading “WPS – Using esAdmin.sh to unlock the locked messages in the event sequencing queue,” an entry on WebSphere Cloud

6 Comments

1. when i try to restart or stop websphere in aix using stopServer.sh , sometimes i am unable to
stop it or restart it.
How do i find out what is wrong and why it went wrong ?
How do i restart or stop or start it when some process inside websphere is hanging or locked?
Is there any log files or commands that i should issue to kill the process that is hanging
because of which i am unable to stop or start or restart the application server.

2. if i want to deploy and run java web application directly from eclipse ide
how do i do that ? i see websphere version up to 6 only inside eclipse.
i want to use was 7.

3. when i read an article which says how to connect to was and application and node and other details
i found that ,
“To connect to websphere from java code , use websphere java runtime and not sun java”
while excuting the code mentioned in posts here which uses websphere jar class files.
my question is how do i change the runtime while im inside eclipse ide-inside a mvc project.

1. if you can not stop/start the server, check the SystemOut.log file to see what happened. that’s the first step to check.
2. yes, we can deploy and run the java webapplication from eclipse ide, you have to create an server and configure it to point to Websphere Application Server, and then deploy the module to WAs server, note: eclipse and WAS server should be on same server.
3. some unix servers were equiped with java 1.4 or java 1.5. when you work with WAS, you better to use the java application in the directory /IBM/Websphere/AppServer/java/bin

We are using MBeans via AdminService to run wsAdmin commands. I expected finding some samples in an analogous manner but I didn’t find anything by google or IBM Infocenter. Maybe, there’s no API for esAdmin so that we need to run a script on our server started through the java application. But first of all I would prefer an API way.

Archives

Categories

About

I am a guy who worked for IBM for 2 years and now I am working for a telecomunication corporation in Toronto, Ontario. My daily jobs are to administrate WPS/WAS and part of MQ servers. This blog writes down some experience I acquired during my job.

Hope it will be helpful for anyone who also works on WPS/WAS. Welcome your feedback.