Closing Spring root WebApplicationContext - Oracle11g - Spring 3.0.2
698116Nov 23 2010 — edited Aug 29 2013Hi,
I have recently upgraded my server to 11G from 8.1. I know it's a big upgrade.
Also updated the Spring to 3.0.2 Version.
Application (war) get's deployed and spring container is initialized from web.xml alright.
Using ContextLoaderListener --
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
However on the first access of Login.jsp the Spring restarts...
<Nov 23, 2010 4:59:21 PM EST> <Info> <ServletContext-/weboms> <BEA-000000> <Closing Spring root WebApplicationContext>
Nov-23-2010 21:59:21 INFO (AbstractApplicationContext.java:823) - Closing org.springframework.web.context.support.XmlWebApplicationContext@194af77: d
isplay name [Root WebApplicationContext]; startup date [Tue Nov 23 21:58:19 GMT 2010]; root of context hierarchy
And then again Initializies
<Nov 23, 2010 4:59:58 PM EST> <Info> <ServletContext-/weboms> <BEA-000000> <Initializing Spring root WebApplicationContext>
Nov-23-2010 21:59:58 INFO (ContextLoader.java:189) - Root WebApplicationContext: initialization started
Nov-23-2010 21:59:58 INFO (AbstractApplicationContext.java:400) - Refreshing org.springframework.web.context.support.XmlWebApplicationContext@19132a0
: display name [Root WebApplicationContext]; startup date [Tue Nov 23 21:59:58 GMT 2010]; root of context hierarchy
Nov-23-2010 21:59:59 INFO (XmlBeanDefinitionReader.java:308) - Loading XML bean definitions from URL [file:/C:/weblogic/user_projects/domains/ccfs/ap
pconfig/ccfs-webcontext.xml]
This is strange and really don't know why it's happening..
I have tried to start the server with Spring DEBUG and Weblogic DEBUG options turned on, but gives me no clue. I only see -- Closing Spring root WebApplicationContext.
Will appreciate any expert guidence on this problem if you have had the same situation.
Thanks
Amit