• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Opening WebSphere Admin console

 
Ranch Hand
Posts: 46
Oracle Java Linux
  • 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
Oracle Java Linux
  • 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.??
 
author & internet detective
Posts: 40035
809
Eclipse IDE VI Editor Java
  • 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)
 
Villains always have antidotes. They're funny that way. Here's an antidote disguised as a tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic