aspose file tools*
The moose likes Websphere and the fly likes Opening WebSphere Admin console Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "Opening WebSphere Admin console" Watch "Opening WebSphere Admin console" New topic
Author

Opening WebSphere Admin console

Dishi Jain
Ranch Hand

Joined: Jan 16, 2011
Posts: 46

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.




[Thumbnail for server config info.PNG]


[Thumbnail for socket info tcp 1414.PNG]


[Thumbnail for websphere explorer.PNG]

Dishi Jain
Ranch Hand

Joined: Jan 16, 2011
Posts: 46

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

Joined: May 26, 2003
Posts: 30925
    
158

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)


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Opening WebSphere Admin console