Linux 5.5
RSA Product/Version: AAOP 6.0.2.1 SP3 P1
Platforms/Operating Systems RSA Product Installed On: RHEL 5.5
Application Server/Version: WebLogic 11g (10.3.3.0)
DB Server Version/Platform: MSQL 2008 R1
Dec 9, 2011 6:46:25 PM EST> <Info> <ServletContext-/scheduler> <BEA-000000> <Initializing Spring root WebApplicationContext>
<Dec 9, 2011 6:46:25 PM EST> <Error> <HTTP> <BEA-101216> <Servlet: "RsaContextLoader" failed to preload on startup in Web application: "scheduler".
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 4 in XML document from ServletContext resource [/WEB-INF/bootstrap.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'beans'.
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:404)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:342)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:310)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
AAOP - This error happned due to the fact that there is an issue with the decalration of the beans in scheduler/web-inf.xml for spring-beans.xsd
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
In schduler/web-inf all the .xml schemaLocation needs to define classpath:/org/springframework/beans/factory/xml/spring-beans-2.5.xsd.
In scheduler/web-inf/lib files which has schemaLocation defined as classpath:/org/springframework/beans/factory/xml/spring-beans-2.5.xsd.
Once you have done that the deployment should go fine teh scheduler will come up.
This line needs to be modifed in all the .xml which includes the schemaLocation.
From this:
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
To this:
xsi:schemaLocation="http://www.springframework.org/schema/beans
classpath:/org/springframework/beans/factory/xml/spring-beans-2.5.xsd
http://www.springframework.org/schema/util
classpath:/org/springframework/beans/factory/xml/spring-util-2.5.xsd?
List of Files to be changed.
./cmEventPoller-job-config.xml
./classes/re-hc.xml
./classes/d-config-reporter.xml
./classes/re-offline.xml
./applicationContext-wl.xml
./applicationContext-base.xml
./billing-job-config.xml
./datasource.xml
./applicationContext.xml
./monitoring-job-config.xml
./applicationContext-tomcat.xml
./applicationContext-was.xml
./healthcheck-job-config.xml
./offline-job-config.xml
./dbUtils-job-config.xml
./efn-job-config.xml
./sessionReaper-job-config.xml
./cmLogger-job-config.xml
./applicationContext-jboss.xml
./bootstrap.xml
WEB-INF/lib/monitoring-and-alerts-impl-6.0.3.1.0.jar/configs/d-config-monitoring-and-alerts.xml
WEB-INF/lib/rsa-monitoring-and-alerts-api-1.1.0.jar/configs/d-config-alerts-metadata.xml
Related Articles
Cannot Find Job ID Workflow Variable 33Number of Views Unable to create schema. (class java.sql.SQLSyntaxErrorException: ORA-00959: tablespace 'INDX_256K' does not exist) initia… 20Number of Views How to use Microsoft Windows Powershell to find the checksum values of RSA Authentication Manager files 177Number of Views Authentication Manager 8.x ./rsautil store -a update_config gives WARNING cannot find the config name 317Number of Views Installation fails with 'unzip: cannot find zipfile directory in one of /tmp/aveksa/packages/<filename.zip>' error in RSA … 56Number of Views