Issue when migrate from spring 3.2.2 to 4.2.3 Release -
trying upgrade trying upgrade `spring` 3.2.2 4.2.3. release facing below issue: [2/5/16 17:13:54:807 ist] 00000055 webapp com.ibm.ws.webcontainer.webapp.webapp log srve0292i: servlet message - [citicomp_war#citicomp.war]:.no spring webapplicationinitializer types detected on classpath com.ibm.ws.webcontainer.webapp.webapp log srve0292i: servlet message - [citicomp_war#citicomp.war]:.initializing spring root webapplicationcontext [2/5/16 17:13:57:930 ist] 00000055 webapp e com.ibm.ws.webcontainer.webapp.webapp notifyservletcontextcreated srve0283e: exception caught while initializing context: {0} org.springframework.beans.factory.beandefinitionstoreexception: failed parse configuration class [com.citigroup.ces.citicomp.boesdk.datatype.sdkconfig]; nested exception java.io.filenotfoundexception: not open servletcontext resource [/sdk_config.properties] though can see `sdk_config.properites` file. **steps executed migration** - 1) application running 3.2.2 release version jars last 1 year. - 2) part of migration, per suggestion modified dependencies 4.2.3 release , third party jars `jackson` recommended version. - 3) deployment of war went good, when start application in `websphere` after deployment above issue comes. **technology/software details** - ibm websphere 8.0.0 - java 6 jars using activation-1.1.jar</br> aopalliance-1.0.jar</br> asm-3.3.1.jar aspectjrt-1.8.6.jar aspectjweaver-1.8.6.jar avalon-framework-4.1.3.jar biarengine-12.3.6.1006.jar biplugins-12.3.6.1006.jar boconfig-12.3.6.1006.jar cafinstall-12.3.6.1006.jar cecore-12.3.6.1006.jar celib-12.3.6.1006.jar ceplugins_client-12.3.6.1006.jar ceplugins_core-12.3.6.1006.jar ceplugins_cr-12.3.6.1006.jar cereports-12.3.6.1006.jar cesdk-12.3.6.1006.jar cesearch-12.3.6.1006.jar cesession-12.3.6.1006.jar cglib-2.2.2.jar classworlds-1.1.jar clientplugins-12.3.6.1006.jar com.ibm.ws.runtime.jar commons_driver-12.3.6.1006.jar commons-beanutils-1.7.0.jar commons-cli-1.0.jar commons-collections-2.1.jar commons-digester-1.6.jar commons-fileupload-1.2.2.jar commons-io-1.4.jar commons-logging-1.1.jar commons-validator-1.3.1.jar corbaidl-12.3.6.1006.jar crlov-12.3.6.1006.jar crlovexternal-12.3.6.1006.jar crlovmanifest-12.3.6.1006.jar crystalcommon2-12.3.6.1006.jar cvom_chart_lib_en-12.3.6.1006.jar cvom_chart_lib-12.3.6.1006.jar cvom-12.3.6.1006.jar dfc.jar doxia-sink-api-1.0-alpha-7.jar ebus405-12.3.6.1006.jar ehcache-core-2.4.3.jar elf-1.0.jar i18n4j-12.3.6.1006.jar itext-1.4.5-12.3.6.1006.jar jackson-annotations-2.2.3.jar jackson-core-2.2.3.jar jackson-databind-2.2.3.jar javax.inject-1.jar jcl-over-slf4j-1.6.6.jar jsch-0.1.27.jar jsse.jar jstl-1.2.jar jtidy-4aug2000r7-dev.jar jtools-12.3.6.1006.jar jxl-2.6.jar jxlib-12.3.6.1006.jar log4j-1.2.15.jar logging-12.3.6.1006.jar logkit-1.0.1.jar mail-1.4.jar maven-artifact-2.0.6.jar maven-artifact-manager-2.0.6.jar maven-core-2.0.6.jar maven-error-diagnostics-2.0.6.jar maven-filtering-1.0.jar maven-model-2.0.6.jar maven-monitor-2.0.6.jar maven-plugin-api-2.0.6.jar maven-plugin-descriptor-2.0.6.jar maven-plugin-parameter-documenter-2.0.6.jar maven-plugin-registry-2.0.6.jar maven-profile-2.0.6.jar maven-project-2.0.6.jar maven-reporting-api-2.0.6.jar maven-repository-metadata-2.0.6.jar maven-resources-plugin-2.5.jar maven-settings-2.0.6.jar mybatis-3.1.0.jar mybatis-ehcache-1.0.3.jar mybatis-spring-1.2.0.jar ojdbc6-11.2.0.jar plexus-build-api-0.0.4.jar plexus-container-default-1.0-alpha-9-stable-1.jar plexus-interactivity-api-1.0-alpha-4.jar plexus-interpolation-1.13.jar plexus-utils-2.0.5.jar rasapp-12.3.6.1006.jar rascore-12.3.6.1006.jar rebean-12.3.6.1006.jar rebean.fc-12.3.6.1006.jar rebean.wi-12.3.6.1006.jar reportviewer-12.3.6.1006.jar serialization-12.3.6.1006.jar sl_plugins-12.3.6.1006.jar slf4j-api-1.6.6.jar slf4j-log4j12-1.6.6.jar spring-aop-4.2.3.release.jar spring-beans-4.2.3.release.jar spring-context-4.2.3.release.jar spring-context-support-4.2.3.release.jar spring-core-4.2.3.release.jar spring-expression-4.2.3.release.jar spring-jdbc-3.2.6.release.jar spring-jmx-2.0.5.jar spring-orm-3.2.6.release.jar spring-security-config-3.2.3.release.jar spring-security-core-3.2.3.release.jar spring-security-web-3.2.3.release.jar spring-tx-3.2.6.release.jar spring-web-4.2.3.release.jar spring-webmvc-4.2.3.release.jar sunjce_provider.jar uriutil-12.3.6.1006.jar wagon-file-1.0-beta-2.jar wagon-http-lightweight-1.0-beta-2.jar wagon-http-shared-1.0-beta-2.jar wagon-provider-api-1.0-beta-2.jar wagon-ssh-1.0-beta-2.jar wagon-ssh-common-1.0-beta-2.jar wagon-ssh-external-1.0-beta-2.jar webreporting-12.3.6.1006.jar wilog-12.3.6.1006.jar xml-apis-1.0.b2.jar above list of jars using migrate, please confirm above
below application context below application context using xsi schema pointing 4.2 please confirm below xsi pointing correct xsi using spring 4.2.3.release
applicationcontext xml <?xml version="1.0" encoding="utf-8"?> <beans:beans xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" xmlns:beans="http://www.springframework.org/schema/beans" xmlns:context="http://www.springframework.org/schema/context" xmlns:aop="http://www.springframework.org/schema/aop" xmlns:tx="http://www.springframework.org/schema/tx" xmlns="http://www.springframework.org/schema/mvc" xmlns:cache="http://www.springframework.org/schema/cache" xmlns:p="http://www.springframework.org/schema/p" xsi:schemalocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.2.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd http://www.springframework.org/schema/cache http://www.springframework.org/schema/cache/spring-cache.xsd http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-4.2.xsd http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx.xsd"> <context:property-placeholder location="classpath:env.properties, classpath:sdk_config.properties"/>
Comments
Post a Comment