How to use remote JMX connection in Websphere Application server 7.0 - websphere

I have a websphere application server environment running on a remote linux machine, with multiple appserver instances running. I want to use a tool like jconsole or visualvm on my local desktop to monitor the heap size of the individual appservers, but have no idea how to do it. The solutions found after googling do not tell how to enable multiple connections to individual appserver instances. Any help please ?

You need to enable JMX connection for every app server instance. Once you did it, add remote JMX connection to those servers in VisualVM.

Related

cloudfoundry NoHostAvailableException while deploying app

I have deplyed my local cloudfoundry instance. When I try to deploy my application , my app requires cassandra to be up and running. I have cassandra host setup on independant server. Cloud foundry throws com.datastax.driver.core.exceptions.NoHostAvailableException
Whereas when I try to ping this host from the machine on which CF is installed , Ping is successful. Even this cassandra host is accessible from my local computer and works fine with my eclipse deployment.
How can I make cloudfoundry recognize this host?
You will need to make sure that (a) your application has access to the information about the address and credentials to access the cassandra server, and that (b) networking (and maybe DNS) are such that your application instances will actually be able to reach the cassandra server.
For (a), you will want to bind your application to a "user-provided service instance". For (b), you need to make sure your application's running security groups allow it to reach your cassandra server.

load balancing in websphere 8.5

I have 4 vm machines,
network deployment websphere v 8.5.5
I want to configure vm #4 as load balancer, do you guys know the best way to do this.
I have searched the net but did not find something helpful.
Do you have any idea or links that may help in the load balancer configuration and how to connect it to the admin machine.
What I found that IHS v 8.5.5 may work but I don't know how to configure it.
Check this page: Configuring a web server and an application server on separate machines
You need to:
Install IHS
Install WebSphere Plugin
Configure web server in the web admin console on Deployment manager (I'm assuming that by admin machine you mean machine with Deployment manager).
For easier management you can configure Remote Web server management described here.

Issue Trying to start the application in IBM websphere server when i am connected to the VPN network

Issue Trying to start the IBM websphere server when i am connected to the VPN network.
I cannot start my application in WebSphere Application server when connected over the VPN( I have all required host entries). Logs suggest that the ATG repositories failed to start over the VPN Network ( some problem with the connection timeout in datasources in the application)
I am able to connect to the Datasources without any issues using other tools like Sql Developer etc.
Can someone please explain why this is happening only over the VPN network but not when i am connected to the local Intranet network.

How to change the port of websphere/glassfish?

I'm a websphere newbie and would like to change the port number. I read to manual about ports but it didn't say anything about port number 8080 and it says that glassfish is running on 8080. Am I running websphere or glassfish? When I installed websphere a browser started a window saying I'm running glassfish which I thought was another app server. Did I install both?
If you want to change glassfish port on the other hand go to http://localhost:4848 (default port for admin console) and on the menu on the left navigate to:
Configurations > server-config > Network Config > Network Listeners > http-listener-[1|2]
and there you can change the port.
WebSphere Application Server doesn't use Port 8080 by default. If port 8080 indicates that Glassfish is running, then you must have installed and started Glassfish. These are two completely different application servers / products.
The WAS console runs on port 9060 by default, so you may be able to see if you have also started WAS by going to http://localhost:9060/ibm/console. Also, you can check your running processes (via Windows Task Manager, for example) and installed programs (via Windows Programs and Features, or a simple Explorer search) to determine what might be running/installed.
If, after installing/starting WAS, you still want to change your port numbers, you can do this by going to "Servers > Server Types > WebSphere application servers > [appserver] > Ports" (for individual application servers; also these instructions are for WAS 7.0, but should be similar if you're using a different version). If you are using WebSphere Application Server ND, there are actually a number of different processes/application servers running at any given time (deployment manager, nodeagents, individual app servers) that open up ports as well. I wouldn't recommend changing any of the default port values unless you are sure that you have a conflict though.

how to test application deployed in websphere cluster.?

I have create a cluster in websphere and deployed a defaultapplication coming with ibm package to cluster.
Now,i want to test this application to check weather it installed correctly on each member of the cluster or not.
How can i check that on which port it is running i have tried with default port but i fail not get that.
i have installed websphere in machine that have Windows OS.
Thanks in advanced.
Edited:-
i want to ope application that deployed in the cluster, how can i open it??
any idea about this..??
Check the WC_defaulthost port for each of the cluster members. You can find these ports in the WebSphere Integrated Solutions Console in WAS 6.1 at Servers > Application Servers > [serverName] > Communications > Ports.

Resources