1 Reply Latest reply: Mar 25, 2010 3:11 AM by 807573 RSS

    SRM Apache Deployment Errors

    807573
      When deploying SRM 5.03 on Windows 2003 I am getting the below error on the deployment. Looking around, it looks like it is a classpath issue but I have tried to set the environmental variables in Windows with no help in the errors. Any help you can give would be appreciated. These errors just keep going and nothing ever gets deployed. Any help you can give would be appreciated.

      11:03:10,168 ERROR [ContextLoader] Context initialization failed
      org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'messageSource' defined in ServletContext resource [WEB-INF/application-context.xml]: BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'DataSourceAdvisor' defined in ServletContext resource [WEB-INF/dataaccess-context.xml]: Cannot create inner bean 'org.springframework.aop.support.JdkRegexpMethodPointcut#b1cc87' of type [org.springframework.aop.support.JdkRegexpMethodPointcut] while setting bean property 'pointcut'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.aop.support.JdkRegexpMethodPointcut#b1cc87' defined in ServletContext resource [WEB-INF/dataaccess-context.xml]: BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'businessUnitServiceAuditBusinessUnitAdvisor' defined in ServletContext resource [WEB-INF/rbacx-audit-context.xml]: Cannot create inner bean 'businessUnitServiceAuditAfterReturningAdvice' of type [com.vaau.rbacx.rbacxaudit.aop.businessunitserviceaudit.BusinessUnitServiceAuditAfterReturningAdvice] while setting bean property 'advice'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'businessUnitServiceAuditAfterReturningAdvice' defined in ServletContext resource [WEB-INF/rbacx-audit-context.xml]: Cannot resolve reference to bean 'daoAuditLogger' while setting bean property 'auditLogger'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'daoAuditLogger' defined in ServletContext resource [WEB-INF/rbacx-audit-context.xml]: BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'indexGlobalUserGlobalUserUpdateAdvisor' defined in ServletContext resource [WEB-INF/search-context.xml]: Cannot create inner bean 'com.vaau.rbacx.search.aop.IndexAdvise#16089a5' of type [com.vaau.rbacx.search.aop.IndexAdvise] while setting bean property 'advice'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.vaau.rbacx.search.aop.IndexAdvise#16089a5' defined in ServletContext resource [WEB-INF/search-context.xml]: Cannot resolve reference to bean 'ftSearchProvider' while setting bean property 'searchProvider'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ftSearchProvider' defined in ServletContext resource [WEB-INF/search-context.xml]: Cannot resolve reference to bean 'globalUserManagerTarget' while setting bean property 'userManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'globalUserManagerTarget' defined in ServletContext resource [WEB-INF/idw-context.xml]: Cannot resolve reference to bean 'globalUserDao' while setting bean property 'globalUserDao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'globalUserDao' defined in ServletContext resource [WEB-INF/dataaccess-context.xml]: Cannot resolve reference to bean 'globalUserDaoTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'globalUserDaoTarget' defined in ServletContext resource [WEB-INF/dataaccess-context.xml]: Cannot resolve reference to bean 'sqlMapClient' while setting bean property 'sqlMapClient'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlMapClient' defined in ServletContext resource [WEB-INF/dataaccess-context.xml]: Invocation of init method failed; nested exception is java.lang.ExceptionInInitializerError
        • 1. Re: SRM Apache Deployment Errors
          807573
          This is how i got it to work (Setup is OIA 5.0.2 on Apache + OIM 9.1.0.2 on JBoss ) :

          1) Only including the following jars in the webinf/lib folder:

          jbossall-client.jar
          wlXLSecurityProviders.jar
          xlAPI.jar
          xlAuthentication.jar
          xlCache.jar
          xlCrypto.jar
          xlDataObjectBeans.jar
          xlLogger.jar
          xlUtils.xls
          xLVO.jar
          jasper-jdt.jar
          weka.jar

          Now when you restart OIA/SRM there should be no errors

          2) Replace the log4j-1.2.8.jar with the log4j.jar from the (OIM)JBOSS_HOME\client\ folder.

          If you don't do this you will get NoSuchFieldError: TRACE while running Scheduled tasks.