5 Replies Latest reply on Aug 24, 2007 7:18 AM by Sankar Gorthi

    jmx-console security exception when trying to start JBoss se

    K J Newbie

      I have the following setup on winxp sp2

      ECLIPSE FOR JEE developers
      Version: 3.3.0
      Build id: I20070621-1340

      Plugin :
      JBoss IDE 2.0.0 beta3

      JBoss Server :
      JBoss [Zion] 4.0.5.GA (with ejb3.0 profile)

      I have setup the server in eclipse but after I try to start it, it gives me following exception :

      "Failure : Security Exception: Failed to authenticate principal=null, securityDomain=jmx-console"

      with following console output :

      12:13:09,437 INFO [Server] Starting JBoss (MX MicroKernel)...
      12:13:09,468 INFO [Server] Release ID: JBoss [Zion] 4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)
      12:13:09,468 INFO [Server] Home Dir: E:\jboss_home
      12:13:09,468 INFO [Server] Home URL: file:/E:/jboss_home/
      12:13:09,500 INFO [Server] Patch URL: null
      12:13:09,500 INFO [Server] Server Name: default
      12:13:09,500 INFO [Server] Server Home Dir: E:\jboss_home\server\default
      12:13:09,500 INFO [Server] Server Home URL: file:/E:/jboss_home/server/default/
      12:13:09,500 INFO [Server] Server Log Dir: E:\jboss_home\server\default\log
      12:13:09,500 INFO [Server] Server Temp Dir: E:\jboss_home\server\default\tmp
      12:13:09,500 INFO [Server] Root Deployment Filename: jboss-service.xml
      12:13:12,171 INFO [ServerInfo] Java version: 1.6.0_02,Sun Microsystems Inc.
      12:13:12,171 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.6.0_02-b06,Sun Microsystems Inc.
      12:13:12,171 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
      12:13:13,671 INFO [Server] Core system initialized
      12:13:19,390 INFO [WebService] Using RMI server codebase: http://AADITECH11:8083/
      12:13:19,468 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
      12:13:20,781 WARN [NamingService] Context.PROVIDER_URL in server jndi.properties, url=localhost:1099
      12:13:24,718 INFO [SocketServerInvoker] Invoker started for locator: InvokerLocator [socket://192.168.30.1:3873/]
      12:13:37,859 INFO [ServiceEndpointManager] WebServices: jbossws-1.0.3.SP1 (date=200609291417)
      12:13:40,140 INFO [SnmpAgentService] SNMP agent going active
      12:13:44,609 INFO [CorbaNamingService] Naming: [IOR:000000000000002B49444C3A6F6D672E6F72672F436F734E616D696E672F4E616D696E67436F6E746578744578743A312E3000000000000200000000000000E8000102000000000D3139322E3136382E33302E3100000DC8000000114A426F73732F4E616D696E672F726F6F74000000000000050000000000000008000000004A414300000000010000001C00000000000100010000000105010001000101090000000105010001000000210000006000000000000000010000000000000024000000200000007E00000000000000010000000D3139322E3136382E33302E3100000DC900400000000000000000001004010008060667810201010100000000000000000000000000000000000000000000002000000004000000000000001F0000000400000003000000010000002000000000000000020000002000000004000000000000001F0000000400000003]
      12:13:45,156 INFO [CorbaTransactionService] TransactionFactory: [IOR:000000000000003049444C3A6F72672F6A626F73732F746D2F69696F702F5472616E73616374696F6E466163746F72794578743A312E30000000000200000000000000E8000102000000000D3139322E3136382E33302E3100000DC8000000144A426F73732F5472616E73616374696F6E732F46000000050000000000000008000000004A414300000000010000001C00000000000100010000000105010001000101090000000105010001000000210000006000000000000000010000000000000024000000200000007E00000000000000010000000D3139322E3136382E33302E3100000DC900400000000000000000001004010008060667810201010100000000000000000000000000000000000000000000002000000004000000000000001F0000000400000003000000010000002000000000000000020000002000000004000000000000001F0000000400000003]
      12:13:47,109 INFO [Embedded] Catalina naming disabled
      12:13:47,265 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set.
      12:13:47,265 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set.
      12:13:48,546 INFO [Http11BaseProtocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
      12:13:48,562 INFO [Catalina] Initialization processed in 1297 ms
      12:13:48,562 INFO [StandardService] Starting service jboss.web
      12:13:48,562 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.20
      12:13:48,687 INFO [StandardHost] XML validation disabled
      12:13:48,781 INFO [Catalina] Server startup in 219 ms
      12:13:49,250 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/
      12:13:50,156 INFO [WebappLoader] Dual registration of jndi stream handler: factory already defined
      12:13:51,093 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jbossweb-tomcat55.sar/ROOT.war/
      12:13:51,546 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../tmp/deploy/tmp21770jbossws-context-exp.war/
      12:13:51,937 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
      12:13:54,562 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/

      I can start this server normally outside eclipse (using the run.bat) without any problems !

      Please help .

      Regards,
      KJ