-
15. Re: HELP - Cant Log into Mgt Console
javadon May 28, 2004 3:48 PM (in response to javadon)Here is the content from jboss-web
<jboss-web>
<!-- Uncomment the security-domain to enable security. You will
need to edit the htmladaptor login configuration to setup the
login modules used to authentication users.
<security-domain>java:/jaas/jmx-console</security-domain>
-->
</jboss-web> -
16. Re: HELP - Cant Log into Mgt Console
spiritualmechanic May 28, 2004 3:51 PM (in response to javadon)Weird. That looks fine. Post your web.xml too, I guess.
-
17. Re: HELP - Cant Log into Mgt Console
javadon May 28, 2004 3:52 PM (in response to javadon)Here is the web file:
<?xml version="1.0"?>
<!DOCTYPE web-app PUBLIC
"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
The standard web descriptor for the html adaptor
<servlet-name>HtmlAdaptor</servlet-name>
<servlet-class>org.jboss.jmx.adaptor.html.HtmlAdaptorServlet</servlet-class>
<servlet-name>ClusteredConsoleServlet</servlet-name>
<servlet-class>org.jboss.jmx.adaptor.html.ClusteredConsoleServlet</servlet-class>
<init-param>
<param-name>jgProps</param-name>
<param-value>UDP(ip_mcast=true;ip_ttl=16;loopback=false;mcast_addr=228.1.2.3;mcast_port=45566):
org.jboss.jmx.adaptor.control.FindView
</param-value>
The JGroups protocol stack config
</init-param>
<servlet-name>DisplayMBeans</servlet-name>
<jsp-file>/displayMBeans.jsp</jsp-file>
<servlet-name>InspectMBean</servlet-name>
<jsp-file>/inspectMBean.jsp</jsp-file>
<servlet-name>DisplayOpResult</servlet-name>
<jsp-file>/displayOpResult.jsp</jsp-file>
<servlet-name>ClusterView</servlet-name>
<jsp-file>/cluster/clusterView.jsp</jsp-file>
<servlet-mapping>
<servlet-name>HtmlAdaptor</servlet-name>
<url-pattern>/HtmlAdaptor</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>ClusteredConsoleServlet</servlet-name>
<url-pattern>/cluster/ClusteredConsole</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>DisplayMBeans</servlet-name>
<url-pattern>/DisplayMBeans</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>InspectMBean</servlet-name>
<url-pattern>/InspectMBean</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>DisplayOpResult</servlet-name>
<url-pattern>/DisplayOpResult</url-pattern>
</servlet-mapping>
<!-- A security constraint that restricts access to the HTML JMX console
to users with the role JBossAdmin. Edit the roles to what you want and
uncomment the WEB-INF/jboss-web.xml/security-domain element to enable
secured access to the HTML JMX console.
<security-constraint>
<web-resource-collection>
<web-resource-name>HtmlAdaptor</web-resource-name>
An example security config that only allows users with the
role JBossAdmin to access the HTML JMX console web application
<url-pattern>/*</url-pattern>
<http-method>GET</http-method>
<http-method>POST</http-method>
</web-resource-collection>
<auth-constraint>
<role-name>JBossAdmin</role-name>
</auth-constraint>
</security-constraint>
-->
<login-config>
<auth-method>BASIC</auth-method>
<realm-name>JBoss JMX Console</realm-name>
</login-config>
<security-role>
<role-name>JBossAdmin</role-name>
</security-role>
</web-app> -
18. Re: HELP - Cant Log into Mgt Console
javadon May 28, 2004 6:16 PM (in response to javadon)From the 2 files above can anyone tell why JBoss keeps asking me to log into the admin page? It seems the security constraints are commented out.
PLEASE ADVICE
thanks -
19. Re: HELP - Cant Log into Mgt Console
adrian.brock May 29, 2004 7:45 AM (in response to javadon)You are either modifying the wrong files, or the security config is coming from
somewhere else. -
20. Re: HELP - Cant Log into Mgt Console
adrian.brock May 29, 2004 7:47 AM (in response to javadon)Enable TRACE logging for org.jboss.web
-
21. Re: HELP - Cant Log into Mgt Console
adrian.brock May 29, 2004 7:47 AM (in response to javadon)and org.jboss.security
-
22. Re: HELP - Cant Log into Mgt Console
javadon May 30, 2004 8:36 PM (in response to javadon)I am a newbie with JBOSS, where do I find those files?
thanks -
23. Re: HELP - Cant Log into Mgt Console
lepe Jun 1, 2004 8:04 AM (in response to javadon)In conf/log4j.xml add following lines
Put them below "Limit categories" label
/L -
24. Re: HELP - Cant Log into Mgt Console
lepe Jun 1, 2004 8:23 AM (in response to javadon)argh.... hate this :) here is the missing lines...
<category name="org.jboss.web"> <priority value="TRACE" class="org.jboss.logging.XLevel"/> </category> <category name="org.jboss.security"> <priority value="TRACE" class="org.jboss.logging.XLevel"/> </category>
-
25. Re: HELP - Cant Log into Mgt Console
nicholesj Jun 3, 2004 4:59 PM (in response to javadon)I was having this exact problem. What I found is that Oracle is using port 8080. Once I shutdown Oracle, I was able to access the jmx-console.
Hope this helps, John.