Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Opening WebSphere Admin console

 
Dishi Jain
Ranch Hand
Posts: 46
Java Linux Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I have to write a consumer code to read messages from Websphere MQ. For that I have installed websphere server, which gives me the MQ Explorer thick client. Please find the attachment for the same.
Now for my consumer side connection, I need the username and password. I have read many forums and IBM docs to understand that Admin Console is the place from where I can create a user. But where do I find it? The connection details are with tcp, 1414 port. How do I connect to it? PFA for it.

Or there is some other installation required for it? When I try to install client, it says Server is already installed, so server is there for sure. But I did not get any of the properties files (portdefs.props is also not there) to find these details.

System details : Windows 7
Profile : Admin
Installed Software Name : WebSphere MQ V7.0.1 for Windows-CZ4V6ML

Any help will be appreciated.

server config info.PNG
[Thumbnail for server config info.PNG]
server config UI
socket info tcp 1414.PNG
[Thumbnail for socket info tcp 1414.PNG]
tcp socket info
websphere explorer.PNG
[Thumbnail for websphere explorer.PNG]
the view of the think client - explorer
 
Dishi Jain
Ranch Hand
Posts: 46
Java Linux Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For the time being, I found following piece of code which helps me connect and read the data...
[code=java]
[color=blue]MQQueueConnectionFactory connectionFactory = new MQQueueConnectionFactory();
connectionFactory.setChannel(channel_);
connectionFactory.setHostName(hostname_);
connectionFactory.setPort(port_);
connectionFactory.setQueueManager(queueManager_);
connectionFactory.setTransportType(1);
connectionFactory.setSSsetSSLCertStores(arg0)

Connection connection = connectionFactory.createConnection();
connection.setExceptionListener(this);
session_ = connection.createSession(DEFAULT_TRANSACTED, DEFAULT_ACKMODE);
connection.start();[/color][/code]

Still I want to know, what is the URL for admin console.??
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34672
367
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've heard "admin console" used in reference to the WebSphere Application Server. I wasn't aware that MQ had its own. (not that that means it doesn't)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic