2 Replies Latest reply on Jun 21, 2006 8:05 AM by Thomas Heute

    Erros in Portal deployment

    Ganesh Venkataraman Newbie

      Hi I am getting the following errors during the deployment.

      I am using AS 4.0.2, Portal - 2.2.1 SP1, MySQL 5.0.21. Please help me.

      --- MBeans waiting for other MBeans ---
      ObjectName: portal:policy=JaccPortalPolicyConfigurator
       State: FAILED
       Reason: org.jboss.util.NestedRuntimeException: Error creating MBeanProxy: portal:service=PortalPermissionFactory; - nested throwable: (javax.management.InstanceNotFoundException: portal:service=PortalPermissionFactory is not registered.)
       I Depend On:
       portal:service=SecurityProvider
       portal:service=PortalPermissionFactory
       Depends On Me:
       portal:policy=PortalPolicyConfigStore,type=PortalObject
       portal:policy=PortalPolicyConfigStore,type=Instance
       portal:policy=PortalPolicyConfigStore,type=Component
      
      ObjectName: portal:service=TreeCache,type=persistent
       State: FAILED
       Reason: java.lang.NullPointerException
       I Depend On:
       jboss.jca:name=PortalDS,service=DataSourceBinding
       Depends On Me:
       portal:service=TreeCacheProvider,type=persistent
      
      ObjectName: portal:policy=PortalPolicyConfigStore,type=PortalObject
       State: CONFIGURED
       I Depend On:
       portal:policy=JaccPortalPolicyConfigurator
       portal:service=TreeCacheProvider,type=persistent
       portal:policy=PortalPolicyConfigService
       Depends On Me:
       portal:deploymentFactory=Object
      
      ObjectName: portal:policy=PortalPolicyConfigStore,type=Instance
       State: CONFIGURED
       I Depend On:
       portal:policy=JaccPortalPolicyConfigurator
       portal:service=TreeCacheProvider,type=persistent
       portal:policy=PortalPolicyConfigService
       Depends On Me:
       portal:deploymentFactory=Object
      
      ObjectName: portal:policy=PortalPolicyConfigStore,type=Component
       State: CONFIGURED
       I Depend On:
       portal:policy=JaccPortalPolicyConfigurator
       portal:service=TreeCacheProvider,type=transient
       portal:policy=PortalPolicyConfigService
       Depends On Me:
       portal:deploymentFactory=PortletApp
      
      ObjectName: portal:deploymentFactory=Object
       State: CONFIGURED
       I Depend On:
       portal:deployer=PortalWebApp
       portal:container=PortalObject,type=global
       portal:container=Instance,type=global
       portal:policy=PortalPolicyConfigStore,type=PortalObject
       portal:policy=PortalPolicyConfigStore,type=Instance
       Depends On Me:
       portal:deployer=Adapter
      
      ObjectName: portal:deploymentFactory=PortletApp
       State: CONFIGURED
       I Depend On:
       portal:deployer=PortalWebApp
       portal:service=WebAppRegistry
       portal:service=ServerConfig
       portal:policy=PortalPolicyConfigStore,type=Component
       Depends On Me:
       portal:deployer=Adapter
      
      ObjectName: portal:deployer=Adapter
       State: CONFIGURED
       I Depend On:
       portal:deploymentFactory=Object
       portal:deploymentFactory=PortletApp
       portal:deploymentFactory=Layout
       portal:deploymentFactory=LayoutFeatures
       portal:deploymentFactory=Theme
       portal:service=Module,type=User
       portal:service=Module,type=Role
       portal:service=Module,type=Mail
       portal:deployer=PortalWebApp
       jboss.web:service=WebServer
      
      --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
      ObjectName: portal:service=TreeCache,type=persistent
       State: FAILED
       Reason: java.lang.NullPointerException
       I Depend On:
       jboss.jca:name=PortalDS,service=DataSourceBinding
       Depends On Me:
       portal:service=TreeCacheProvider,type=persistent
      
      ObjectName: portal:policy=JaccPortalPolicyConfigurator
       State: FAILED
       Reason: org.jboss.util.NestedRuntimeException: Error creating MBeanProxy: portal:service=PortalPermissionFactory; - nested throwable: (javax.management.InstanceNotFoundException: portal:service=PortalPermissionFactory is not registered.)
       I Depend On:
       portal:service=SecurityProvider
       portal:service=PortalPermissionFactory
       Depends On Me:
       portal:policy=PortalPolicyConfigStore,type=PortalObject
       portal:policy=PortalPolicyConfigStore,type=Instance
       portal:policy=PortalPolicyConfigStore,type=Component
      


      It looks like the problems are around the portalDS. However I am not able to guess what they are. Following is my ds file.
      <?xml version="1.0" encoding="UTF-8"?>
      <datasources>
       <local-tx-datasource>
       <jndi-name>PortalDS</jndi-name>
       <connection-url>jdbc:mysql://localhost:3306/jbossportal?useServerPrepStmts=f
      alse</connection-url>
       <driver-class>org.gjt.mm.mysql.Driver</driver-class>
       <user-name>portal</user-name>
       <password>portalpassword</password>
       </local-tx-datasource>
      </datasources>
      


      Ganesh