• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JMX WEB console acess

 
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am starting it from eclipse
 
Peter Johnson
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
it was not wrkng frm command line eralier
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic