2 Replies Latest reply on Jun 3, 2008 12:27 AM by Praveen Achuthan

    HELP:CMP entity beans accessing encrypted datasource

    Praveen Achuthan Newbie

      This is regarding access of datasources with security domain configured from a CMP entity bean.

      The summary of the problem is :CMP entity bean is failing to load having configured datasources with security domain.

      The exception is as below:
      java.lang.SecurityException: Invalid authentication attempt, principal=null
      at org.jboss.resource.connectionmanager.BaseConnectionManager2.getSubject(BaseConnectionManager2.java:666)
      at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:495)
      at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:887)
      at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:102)
      at org.jboss.ejb.plugins.cmp.jdbc.SQLUtil.fixTableName(SQLUtil.java:159)
      at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.init(JDBCEntityBridge.java:143)
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.initStoreManager(JDBCStoreManager.java:420)
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:353)
      at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:155)
      at org.jboss.ejb.EntityContainer.startService(EntityContainer.java:337)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
      at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:197)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:884)
      at $Proxy19.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:414)
      at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:197)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      at $Proxy42.start(Unknown Source)

      Is there any additional configuration that needs to be done for a CMP entity bean.

      The configuration details are as below.Following is the oracle-ds.xml

      <?xml version="1.0" encoding="UTF-8"?>

      <local-tx-datasource>
      <jndi-name>EntityMedia</jndi-name>
      <use-java-context>false</use-java-context>
      <connection-url>jdbc:oracle:thin:@TEST:1521:STEN4</connection-url>
      <driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
      <security-domain>EncryptedTESTDbRealm</security-domain>
      <valid-connection-checker-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleValidConnectionChecker</valid-connection-checker-class-name>
      <check-valid-connection-sql>select sysdate from dual</check-valid-connection-sql>
      <min-pool-size>10</min-pool-size>
      <max-pool-size>50</max-pool-size>
      <blocking-timeout-millis>30000</blocking-timeout-millis>
      <idle-timeout-minutes>15</idle-timeout-minutes>
      <exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter</exception-sorter-class-name>
      <track-statements>nowarn</track-statements>
      </local-tx-datasource>


      login-config.xml

      <application-policy name="EncryptedTESTDbRealm">

      <login-module code="org.jboss.resource.security.JaasSecurityDomainIdentityLoginModule" flag = "required">
      <module-option name="principal">test</module-option>
      <module-option name="username">test</module-option>
      <module-option name="password">2F1yKmeLvC7m6CTT3XHDyh</module-option>
      <module-option name="managedConnectionFactoryName">jboss.jca:service=LocalTxCM,name=EntityMedia</module-option>
      <module-option name="jaasSecurityDomain">jboss.security:service=JaasSecurityDomain,domain=ServerMasterPassword</module-option>
      </login-module>

      </application-policy>

      jboss-service.xml



      <!-- The opaque master password file used to decrypt the encrypted database password key -->
      {CLASS}org.jboss.security.plugins.FilePassword:${jboss.server.home.dir}/deploy/server.password
      test
      9705


      Please help with your views.



        • 1. Re: HELP:CMP entity beans accessing encrypted datasource
          Adrian Brock Master

          enable TRACE logging for org.jboss.security

          • 2. Re: HELP:CMP entity beans accessing encrypted datasource
            Praveen Achuthan Newbie

            Hi Adrian ,

            As suggested by you I enabled the trace.

            The summary of the trace log is below:

            ---------------------------------------------------------
            javax.security.auth.login.LoginException: Failed to decode password: java.lang.NullPointerException
            at org.jboss.resource.security.JaasSecurityDomainIdentityLoginModule.commit(JaasSecurityDomainIdentityLoginModule.java:130)
            ----------------------------------------------------------

            From a servlet I am able to access the encrypted datasource without problems.This problem happens only if the CMP entity bean accesses the datasource.

            Is it failing due to any security restrictions on accessing server.password file ?

            Please help.

            Following is the entire error stack trace:

            ---------------------------------------------------------

            2008-06-02 19:00:59,765 DEBUG [org.jboss.security.plugins.SecurityConfig] Creating jboss.security:service=SecurityConfig
            2008-06-02 19:00:59,765 DEBUG [org.jboss.security.plugins.SecurityConfig] Created jboss.security:service=SecurityConfig
            2008-06-02 19:00:59,765 DEBUG [org.jboss.security.auth.login.XMLLoginConfig] Creating jboss.security:service=XMLLoginConfig
            2008-06-02 19:00:59,765 DEBUG [org.jboss.security.auth.login.XMLLoginConfig] Created jboss.security:service=XMLLoginConfig
            2008-06-02 19:00:59,765 DEBUG [org.jboss.security.plugins.JaasSecurityManagerService] Creating jboss.security:service=JaasSecurityManager
            2008-06-02 19:00:59,765 DEBUG [org.jboss.security.plugins.JaasSecurityManagerService] Created jboss.security:service=JaasSecurityManager
            2008-06-02 19:00:59,843 DEBUG [org.jboss.security.plugins.JaasSecurityDomain] Creating jboss.security:service=JaasSecurityDomain,domain=ServerMasterPassword
            2008-06-02 19:00:59,843 DEBUG [org.jboss.security.plugins.JaasSecurityDomain] Created jboss.security:service=JaasSecurityDomain,domain=ServerMasterPassword
            2008-06-02 19:01:00,015 DEBUG [org.jboss.security.plugins.SecurityConfig] Starting jboss.security:service=SecurityConfig
            2008-06-02 19:01:00,015 DEBUG [org.jboss.security.plugins.SecurityConfig] Installed JAAS Configuration service=jboss.security:service=XMLLoginConfig, config=org.jboss.security.auth.login.XMLLoginConfigImpl@1a9d1b
            2008-06-02 19:01:00,015 DEBUG [org.jboss.security.plugins.SecurityConfig] Started jboss.security:service=SecurityConfig
            2008-06-02 19:01:00,015 DEBUG [org.jboss.security.auth.login.XMLLoginConfig] Starting jboss.security:service=XMLLoginConfig
            2008-06-02 19:01:00,015 TRACE [org.jboss.security.auth.login.XMLLoginConfigImpl] Begin loadConfig, loginConfigURL=file:/C:/jboss-3.2.6/server/default/conf/login-config.xml
            2008-06-02 19:01:00,015 DEBUG [org.jboss.security.auth.login.XMLLoginConfigImpl] Try loading config as XML, url=file:/C:/jboss-3.2.6/server/default/conf/login-config.xml
            2008-06-02 19:01:00,031 TRACE [org.jboss.security.auth.login.XMLLoginConfigImpl] Parsing application-policy=client-login
            2008-06-02 19:01:00,031 TRACE [org.jboss.security.auth.login.XMLLoginConfigImpl] Parsing application-policy=jbossmq
            2008-06-02 19:01:00,031 TRACE [org.jboss.security.auth.login.XMLLoginConfigImpl] Parsing application-policy=HsqlDbRealm
            2008-06-02 19:01:00,031 TRACE [org.jboss.security.auth.login.XMLLoginConfigImpl] Parsing application-policy=FirebirdDBRealm
            2008-06-02 19:01:00,031 TRACE [org.jboss.security.auth.login.XMLLoginConfigImpl] Parsing application-policy=JmsXARealm
            2008-06-02 19:01:00,031 TRACE [org.jboss.security.auth.login.XMLLoginConfigImpl] Parsing application-policy=jmx-console
            2008-06-02 19:01:00,031 TRACE [org.jboss.security.auth.login.XMLLoginConfigImpl] Parsing application-policy=web-console
            2008-06-02 19:01:00,031 TRACE [org.jboss.security.auth.login.XMLLoginConfigImpl] Parsing application-policy=other
            2008-06-02 19:01:00,046 TRACE [org.jboss.security.auth.login.XMLLoginConfigImpl] Parsing application-policy=EncryptedPPMEMSDbRealm
            2008-06-02 19:01:00,046 TRACE [org.jboss.security.auth.login.XMLLoginConfigImpl] End loadConfig, loginConfigURL=file:/C:/jboss-3.2.6/server/default/conf/login-config.xml
            2008-06-02 19:01:00,046 DEBUG [org.jboss.security.auth.login.XMLLoginConfig] Started jboss.security:service=XMLLoginConfig
            2008-06-02 19:01:00,046 DEBUG [org.jboss.security.plugins.JaasSecurityManagerService] Starting jboss.security:service=JaasSecurityManager
            2008-06-02 19:01:00,046 DEBUG [org.jboss.security.plugins.JaasSecurityManagerService] securityMgrCtxPath=java:/jaas
            2008-06-02 19:01:00,046 DEBUG [org.jboss.security.plugins.JaasSecurityManagerService] cachePolicyCtxPath=java:/timedCacheFactory
            2008-06-02 19:01:00,046 DEBUG [org.jboss.security.plugins.JaasSecurityManagerService] SecurityProxyFactory=org.jboss.security.SubjectSecurityProxyFactory@afa68a
            2008-06-02 19:01:00,046 DEBUG [org.jboss.security.plugins.JaasSecurityManagerService] Started jboss.security:service=JaasSecurityManager
            2008-06-02 19:01:17,328 TRACE [org.jboss.security.plugins.JaasSecurityManager] Constructing
            2008-06-02 19:01:17,328 DEBUG [org.jboss.security.plugins.JaasSecurityManagerService] Created securityMgr=org.jboss.security.plugins.JaasSecurityManager@1978933
            2008-06-02 19:01:17,328 DEBUG [org.jboss.security.plugins.JaasSecurityManager.JmsXARealm] CachePolicy set to: org.jboss.util.TimedCachePolicy@16d64c5
            2008-06-02 19:01:17,328 DEBUG [org.jboss.security.plugins.JaasSecurityManagerService] setCachePolicy, c=org.jboss.util.TimedCachePolicy@16d64c5
            2008-06-02 19:01:17,328 DEBUG [org.jboss.security.plugins.JaasSecurityManagerService] Added JmsXARealm, org.jboss.security.plugins.SecurityDomainContext@f2c96c to map
            2008-06-02 19:01:17,359 TRACE [org.jboss.security.plugins.JaasSecurityManager] Constructing
            2008-06-02 19:01:17,359 DEBUG [org.jboss.security.plugins.JaasSecurityManagerService] Created securityMgr=org.jboss.security.plugins.JaasSecurityManager@ea443f
            2008-06-02 19:01:17,359 DEBUG [org.jboss.security.plugins.JaasSecurityManager.EncryptedPPMEMSDbRealm] CachePolicy set to: org.jboss.util.TimedCachePolicy@268cc6
            2008-06-02 19:01:17,359 DEBUG [org.jboss.security.plugins.JaasSecurityManagerService] setCachePolicy, c=org.jboss.util.TimedCachePolicy@268cc6
            2008-06-02 19:01:17,359 DEBUG [org.jboss.security.plugins.JaasSecurityManagerService] Added EncryptedPPMEMSDbRealm, org.jboss.security.plugins.SecurityDomainContext@e41d4a to map
            2008-06-02 19:02:46,671 TRACE [org.jboss.security.auth.login.XMLLoginConfigImpl] Begin getAppConfigurationEntry(EncryptedPPMEMSDbRealm), size=9
            2008-06-02 19:02:46,671 TRACE [org.jboss.security.auth.login.XMLLoginConfigImpl] End getAppConfigurationEntry(EncryptedPPMEMSDbRealm), authInfo=AppConfigurationEntry[]:
            [0]
            LoginModule Class: org.jboss.resource.security.JaasSecurityDomainIdentityLoginModule
            ControlFlag: LoginModuleControlFlag: required
            Options:name=managedConnectionFactoryName, value=jboss.jca:service=LocalTxCM,name=EntityMedia
            name=password, value=2F1yKmeLvC7m6CTT3XHDyh
            name=username, value=ppmapp
            name=principal, value=ppmapp
            name=jaasSecurityDomain, value=jboss.security:service=JaasSecurityDomain,domain=ServerMasterPassword

            2008-06-02 19:02:46,921 TRACE [org.jboss.security.plugins.JaasSecurityManager.EncryptedPPMEMSDbRealm] Login failure
            javax.security.auth.login.LoginException: Failed to decode password: java.lang.NullPointerException
            at org.jboss.resource.security.JaasSecurityDomainIdentityLoginModule.commit(JaasSecurityDomainIdentityLoginModule.java:130)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at javax.security.auth.login.LoginContext.invoke(LoginContext.java:675)
            at javax.security.auth.login.LoginContext.access$000(LoginContext.java:129)
            at javax.security.auth.login.LoginContext$4.run(LoginContext.java:610)
            at java.security.AccessController.doPrivileged(Native Method)
            at javax.security.auth.login.LoginContext.invokeModule(LoginContext.java:607)
            at javax.security.auth.login.LoginContext.login(LoginContext.java:535)
            at org.jboss.security.plugins.JaasSecurityManager.defaultLogin(JaasSecurityManager.java:480)
            at org.jboss.security.plugins.JaasSecurityManager.authenticate(JaasSecurityManager.java:431)
            at org.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurityManager.java:246)
            at org.jboss.resource.connectionmanager.BaseConnectionManager2.getSubject(BaseConnectionManager2.java:664)
            at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:495)
            at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:887)
            at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:102)
            at org.jboss.ejb.plugins.cmp.jdbc.SQLUtil.fixTableName(SQLUtil.java:159)
            at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.init(JDBCEntityBridge.java:143)
            at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.initStoreManager(JDBCStoreManager.java:420)
            at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:353)
            at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:155)
            at org.jboss.ejb.EntityContainer.startService(EntityContainer.java:337)
            at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
            at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
            at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:197)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
            at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:884)
            at $Proxy19.start(Unknown Source)
            at org.jboss.system.ServiceController.start(ServiceController.java:414)
            at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:197)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
            at $Proxy42.start(Unknown Source)
            at org.jboss.ejb.EjbModule.startService(EjbModule.java:367)
            at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
            at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
            at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:197)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
            at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:884)
            at $Proxy19.start(Unknown Source)
            at org.jboss.system.ServiceController.start(ServiceController.java:414)
            at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:197)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
            at $Proxy15.start(Unknown Source)
            at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:570)
            at org.jboss.deployment.MainDeployer.start(MainDeployer.java:829)
            at org.jboss.deployment.MainDeployer.start(MainDeployer.java:821)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:604)
            at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:197)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
            at $Proxy8.deploy(Unknown Source)
            at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:304)
            at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:478)
            at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
            at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:274)
            at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
            at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
            at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:197)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
            at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:884)
            at $Proxy0.start(Unknown Source)
            at org.jboss.system.ServiceController.start(ServiceController.java:414)
            at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:197)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
            at $Proxy4.start(Unknown Source)
            at org.jboss.deployment.SARDeployer.start(SARDeployer.java:251)
            at org.jboss.deployment.MainDeployer.start(MainDeployer.java:829)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:604)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:588)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:197)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
            at $Proxy5.deploy(Unknown Source)
            at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:407)
            at org.jboss.system.server.ServerImpl.start(ServerImpl.java:311)
            at org.jboss.Main.boot(Main.java:145)
            at org.jboss.Main$1.run(Main.java:399)
            at java.lang.Thread.run(Thread.java:534)