-
1. Re: JMX Web Page Login
darranl Jul 10, 2005 6:31 PM (in response to jpremji)The download of JBoss is unsecured, by default access to the JMX console does not require you to login.
In the past I have seen other users with the same problem and this was because they had something else installed and listening on port 8080 instead of JBoss and it was that that required authentication.
Which version of JBoss are you using?
How did you install it?
What makes you think it is not allowing you to login? What is happening and what messages are you getting? -
2. Re: JMX Web Page Login
jpremji Jul 11, 2005 6:45 AM (in response to jpremji)I have tried with both of these versions jboss-4.0.3RC1,JBoss4.0.2.
I unzipped the files to a location and then ran run.bat in the bin folder.
after typing in the username/password it keeps asking me for it again. After 3 tries, it shows me the message "Unauthorized".
I think there might be something else listening on the port. How can i tell. I am running this on windows xp with iis server running. I normally develop in .net.
Thanks -
3. Re: JMX Web Page Login
peterj Jul 11, 2005 11:02 AM (in response to jpremji)To find out what is using you ports, at a command prompt enter:
netstat -ab
Redirect the output to a file -- it spits out a lot of data.
Or use the TCPView utility from http://www.sysinternals.com. -
4. Re: JMX Web Page Login
peterj Jul 11, 2005 11:05 AM (in response to jpremji)One more thing. When you start JBoss by running run.bat, it should display a lot of text. Are there any errors in that text? If there are, please post the text to the forum.
-
5. Re: JMX Web Page Login
jpremji Jul 11, 2005 11:18 AM (in response to jpremji)This is the text when i run jboss.
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:121)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.java:127)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:434)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:315)
at org.jboss.Main.boot(Main.java:195)
at org.jboss.Main$1.run(Main.java:463)
at java.lang.Thread.run(Thread.java:595)
16:09:59,758 ERROR [Catalina] Catalina.start
LifecycleException: Protocol handler initialization failed: java.net.BindExcept
ion: Address already in use: JVM_Bind:8080
at org.apache.catalina.connector.Connector.initialize(Connector.java:930
)
at org.jboss.web.tomcat.tc5.StandardService.initialize(StandardService.j
ava:688)
at org.apache.catalina.core.StandardServer.initialize(StandardServer.jav
a:764)
at org.apache.catalina.startup.Catalina.load(Catalina.java:490)
at org.apache.catalina.startup.Catalina.start(Catalina.java:529)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:
503)
at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:1
50)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.web.tomcat.tc5.Tomcat5.startService(Tomcat5.java:357)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
upport.java:272)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
eanSupport.java:222)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
ler.java:897)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:418)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:273)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:121)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.java:127)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy8.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
tScanner.java:325)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
canner.java:501)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
doScan(AbstractDeploymentScanner.java:204)
at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A
bstractDeploymentScanner.java:277)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
upport.java:272)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
eanSupport.java:222)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
ler.java:897)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:418)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:273)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:722)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:121)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.java:127)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:434)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:315)
at org.jboss.Main.boot(Main.java:195)
at org.jboss.Main$1.run(Main.java:463)
at java.lang.Thread.run(Thread.java:595)
16:09:59,978 INFO [Catalina] Initialization processed in 611 ms
16:09:59,978 INFO [StandardService] Starting service jboss.web
16:09:59,988 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.9
16:10:00,018 INFO [StandardHost] XML validation disabled
16:10:00,209 INFO [Catalina] Server startup in 231 ms
16:10:00,349 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=file:/D:/JB
oss4.0.2/jboss-4.0.2/server/default/deploy/http-invoker.sar/invoker.war/
16:10:00,629 INFO [WebappLoader] Dual registration of jndi stream handler: fact
ory already defined
16:10:01,040 INFO [TomcatDeployer] deploy, ctxPath=/ws4ee, warUrl=file:/D:/JBos
s4.0.2/jboss-4.0.2/server/default/tmp/deploy/tmp48466jboss-ws4ee-exp.war/
16:10:01,140 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=file:/D:/JBoss4.0.
2/jboss-4.0.2/server/default/deploy/jbossweb-tomcat55.sar/ROOT.war/
16:10:01,370 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=file
:/D:/JBoss4.0.2/jboss-4.0.2/server/default/deploy/jms/jbossmq-httpil.sar/jbossmq
-httpil.war/
16:10:04,134 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=file:/D
:/JBoss4.0.2/jboss-4.0.2/server/default/deploy/management/console-mgr.sar/web-co
nsole.war/
16:10:04,655 INFO [MailService] Mail Service bound to java:/Mail
16:10:05,336 INFO [RARDeployment] Required license terms exist view the META-IN
F/ra.xml: file:/D:/JBoss4.0.2/jboss-4.0.2/server/default/deploy/jboss-ha-local-j
dbc.rar
16:10:05,456 INFO [RARDeployment] Required license terms exist view the META-IN
F/ra.xml: file:/D:/JBoss4.0.2/jboss-4.0.2/server/default/deploy/jboss-ha-xa-jdbc
.rar
16:10:05,556 INFO [RARDeployment] Required license terms exist view the META-IN
F/ra.xml: file:/D:/JBoss4.0.2/jboss-4.0.2/server/default/deploy/jboss-local-jdbc
.rar
16:10:05,676 INFO [RARDeployment] Required license terms exist view the META-IN
F/ra.xml: file:/D:/JBoss4.0.2/jboss-4.0.2/server/default/deploy/jboss-xa-jdbc.ra
r
16:10:05,817 INFO [RARDeployment] Required license terms exist view the META-IN
F/ra.xml: file:/D:/JBoss4.0.2/jboss-4.0.2/server/default/deploy/jms/jms-ra.rar
16:10:05,907 INFO [RARDeployment] Required license terms exist view the META-IN
F/ra.xml: file:/D:/JBoss4.0.2/jboss-4.0.2/server/default/deploy/mail-ra.rar
16:10:06,888 INFO [WrapperDataSourceService] Bound connection factory for resou
rce adapter for ConnectionManager 'jboss.jca:service=DataSourceBinding,name=Defa
ultDS to JNDI name 'java:DefaultDS'
16:10:07,179 INFO [A] Bound to JNDI name: queue/A
16:10:07,189 INFO [B] Bound to JNDI name: queue/B
16:10:07,189 INFO [C] Bound to JNDI name: queue/C
16:10:07,189 INFO [D] Bound to JNDI name: queue/D
16:10:07,189 INFO [ex] Bound to JNDI name: queue/ex
16:10:07,219 INFO [testTopic] Bound to JNDI name: topic/testTopic
16:10:07,219 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
16:10:07,219 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
16:10:07,219 INFO [testQueue] Bound to JNDI name: queue/testQueue
16:10:07,279 INFO [UILServerILService] JBossMQ UIL service available at : /0.0.
0.0:8093
16:10:07,329 INFO [DLQ] Bound to JNDI name: queue/DLQ
16:10:07,489 INFO [ConnectionFactoryBindingService] Bound connection factory fo
r resource adapter for ConnectionManager 'jboss.jca:service=ConnectionFactoryBin
ding,name=JmsXA to JNDI name 'java:JmsXA'
16:10:07,549 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=file:/D
:/JBoss4.0.2/jboss-4.0.2/server/default/deploy/jmx-console.war/
16:10:07,970 INFO [EARDeployer] Init J2EE application: file:/D:/JBoss4.0.2/jbos
s-4.0.2/server/default/deploy/opentier-manager_lite.ear
16:10:10,053 INFO [STDOUT] Binding to JNDI Name: opentier/manager/services/Data
SourceService
16:10:10,063 INFO [STDOUT] Starting OpenTier Manager DataSourceService
16:10:10,073 INFO [STDOUT] Binding to JNDI Name: opentier/manager/services/LogS
ervice
16:10:10,073 INFO [STDOUT] Starting OpenTier Manager LogService
16:10:10,093 INFO [TomcatDeployer] deploy, ctxPath=/opentier-manager, warUrl=fi
le:/D:/JBoss4.0.2/jboss-4.0.2/server/default/tmp/deploy/tmp48512opentier-manager
_lite.ear-contents/opentier-manager-web-1.0-exp.war/
16:10:10,213 INFO [PropertyMessageResources] Initializing, config='org.apache.s
truts.util.LocalStrings', returnNull=true
16:10:10,223 INFO [PropertyMessageResources] Initializing, config='org.apache.s
truts.action.ActionResources', returnNull=true
16:10:10,553 INFO [PropertyMessageResources] Initializing, config='ApplicationR
esources', returnNull=true
16:10:10,603 INFO [EARDeployer] Started J2EE application: file:/D:/JBoss4.0.2/j
boss-4.0.2/server/default/deploy/opentier-manager_lite.ear
16:10:10,734 ERROR [Http11Protocol] Error starting endpoint
java.net.BindException: Address already in use: JVM_Bind:8080
at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoi
nt.java:297)
at org.apache.tomcat.util.net.PoolTcpEndpoint.startEndpoint(PoolTcpEndpo
int.java:312)
at org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:182
)
at org.apache.catalina.connector.Connector.start(Connector.java:1001)
at org.jboss.web.tomcat.tc5.Tomcat5.startConnectors(Tomcat5.java:492)
at org.jboss.web.tomcat.tc5.Tomcat5.handleNotification(Tomcat5.java:521)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.notification.NotificationListenerProxy.invoke(Notificati
onListenerProxy.java:138)
at $Proxy29.handleNotification(Unknown Source)
at org.jboss.mx.util.JBossNotificationBroadcasterSupport.handleNotificat
ion(JBossNotificationBroadcasterSupport.java:112)
at org.jboss.mx.util.JBossNotificationBroadcasterSupport.sendNotificatio
n(JBossNotificationBroadcasterSupport.java:93)
at org.jboss.system.server.ServerImpl.sendNotification(ServerImpl.java:8
54)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:449)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:315)
at org.jboss.Main.boot(Main.java:195)
at org.jboss.Main$1.run(Main.java:463)
at java.lang.Thread.run(Thread.java:595)
16:10:10,734 WARN [Tomcat5] Failed to startConnectors
LifecycleException: Protocol handler start failed: java.net.BindException: Addr
ess already in use: JVM_Bind:8080
at org.apache.catalina.connector.Connector.start(Connector.java:1003)
at org.jboss.web.tomcat.tc5.Tomcat5.startConnectors(Tomcat5.java:492)
at org.jboss.web.tomcat.tc5.Tomcat5.handleNotification(Tomcat5.java:521)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.notification.NotificationListenerProxy.invoke(Notificati
onListenerProxy.java:138)
at $Proxy29.handleNotification(Unknown Source)
at org.jboss.mx.util.JBossNotificationBroadcasterSupport.handleNotificat
ion(JBossNotificationBroadcasterSupport.java:112)
at org.jboss.mx.util.JBossNotificationBroadcasterSupport.sendNotificatio
n(JBossNotificationBroadcasterSupport.java:93)
at org.jboss.system.server.ServerImpl.sendNotification(ServerImpl.java:8
54)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:449)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:315)
at org.jboss.Main.boot(Main.java:195)
at org.jboss.Main$1.run(Main.java:463)
at java.lang.Thread.run(Thread.java:595)
16:10:10,744 INFO [Server] JBoss (MX MicroKernel) [4.0.2 (build: CVSTag=JBoss_4
_0_2 date=200505022023)] Started in 27s:440ms
Also checked if there was anything on the port 8080 and all i can see is that it is listening on that port. Not sure what is using it. I do have a local version of oracle running on my machine, but i do not have the http server running. -
6. Re: JMX Web Page Login
peterj Jul 11, 2005 11:45 AM (in response to jpremji)From this text, it is obvious that something else is listening on port 8080. What is the output from netstat concerning port 8080?
-
7. Re: JMX Web Page Login
gandalf_el_gris Jul 12, 2005 10:34 PM (in response to jpremji)I have the same problem with the same versions of the product. The errors are the sames. I have checked the 8080 port and no process are listening there. What can I do, please!
-
8. Re: JMX Web Page Login
jpremji Jul 13, 2005 3:24 AM (in response to jpremji)I seem to found the application suing the same port. It is oracle that uses this port for some xml data. It worked after i stopped the oracle services. The only problem will be when i need to use both the oracle server and the jboss server. Any suggestions.
-
9. Re: JMX Web Page Login
darranl Jul 13, 2005 6:00 AM (in response to jpremji)Change the port number for one of the two applications.
I don't have 4.0.2 installed at the moment to give you the exact path but in the deploy folder 'server/default/deploy' (if you passed no arguments to the run script) you will find the tomcat sar folder, in there you will find a server.xml configuration file that defines the port number for tomcat to listen on. -
10. Re: JMX Web Page Login
gandalf_el_gris Jul 13, 2005 9:37 PM (in response to jpremji)I have changed the port number to 8089 and It seems to work.
Thank you