Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JMX WEB console acess

 
Abhi Venu
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am using Jboss 4.2 . i am able to view MBEAN explorer and it lists all MBeans.I started jboss alone. But when i try to acess the JMX Console Web Application using a web browser. It doesnt works.
so tried this url http://localhost:1099/jmx-console instead of http://localhost:8080/jmx-console/.
i want to what is going wrong?As i havent started Tomcat should this http://localhost:8080/jmx-console/. work? Also My tomcat is configured for port 80. It is located at a different place i meant i am not using the one inside the jboss.I am using th eclipse IDE .can anny suggest whats going wrong


Thanks
Abhilash
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you have not change the ports that JBoss AS uses, you should be using the URL http://localhost:8080/jmx-console

My tomcat is configured for port 80.

Is this a standalone version of Tomcat, or do you mean the Tomcat embedded within JBoss AS?

I am using th eclipse IDE .

Are you starting JBoss AS from a command line or from within Eclipse?
 
Abhi Venu
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am starting it from eclipse
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try starting it from a command line and see if that works.

Also, you did not answer the other questions I asked...
 
Abhi Venu
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I dont have a tomcat inside JBOSS. i uses TOMCAT and separte JBOSS. where we can i change the port listened to....
 
Abhi Venu
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
it was not wrkng frm command line eralier
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Abhi Venu wrote:I dont have a tomcat inside JBOSS. i uses TOMCAT and separte JBOSS. where we can i change the port listened to....


So you are trying to run Tomcat and JBoss at the same time? Any specific reason?

it was not wrkng frm command line eralier


And what exactly does that mean? Post the relevant exception stacktrace, the console logs and the exact command you used to start the server.
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Abhi Venu wrote:it was not wrkng frm command line eralier


Also please make sure that you use real words while posting.
 
Abhi Venu
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I will take care in my future posts. Currently i am not using Tomcat inside JBOSS.I wanted to know whether this is necessary to acess webconsole .Also i want to know by editing which file can i change the listening port.Also i want to know the prerequesties to acess web console.
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Currently i am not using Tomcat inside JBOSS

Actually, JBoss AS comes with a version of Tomcat (known as JBoss Web) embedded within it - JBoss Web handles HTTP requests. So yes, JBoss Web would be used to access the console.

Also i want to know by editing which file can i change the listening port

See http://community.jboss.org/wiki/AS5ServiceBindingManager

Also i want to know the prerequesties to acess web console/

Which "web console"? I ask because I am not sure which console you mean. JBoss AS 4.2.3 has several "consoles":

http://localhost:8080 - this is the home page
http://localhost:8080/web-console - this is the "web console," but it is old, out-of-date and no longer updated. In many cases it does not even work.
http://localhost:8080/jmx-console - the "jmx console" provides access to the deployed MBeans
http://localhost:8080/admin-console - starting with JBoss AS 5 this is the new admin console

As far as prerequisites go, the only one is to start JBoss AS.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic