PDA

View Full Version : Problem in Macromedia JRun 4 when I got bean reference.



sunfmin
Aug 27th, 2004, 03:44 AM
I got 6 beans in applicationContext-hibernate.xml ,they are :



<beans>
<bean id="messageSource" class="org.springframework.context.support.ResourceBundle MessageSource">
<property name="basename">
<value>messages</value>
</property>
</bean>
<bean id="sessionFactory" class="org.springframework.orm.hibernate.LocalSessionFact oryBean">
<property name="mappingResources">
<list>
<value>UserBase.hbm.xml</value>
</list>
</property>
<property name="hibernateProperties">
<props>
<prop key="hibernate.dialect">net.sf.hibernate.dialect.OracleDialect</prop>
<prop key="hibernate.query.substitutions">true=1 false=0</prop>
<prop key="hibernate.show_sql">true</prop>
<prop key="hibernate.connection.driver_class">oracle.jdbc.driver.OracleDriver</prop>
<prop key="hibernate.connection.url">jdbc&#58;oracle&#58;thin&#58;@DN2003&#58;1521&#58;V250BUN</prop>
<prop key="hibernate.connection.username">EXAMPLE</prop>
<prop key="hibernate.connection.password">EXAMPLE</prop>
</props>
</property>
</bean>
<bean id="transactionManager" class="org.springframework.orm.hibernate.HibernateTransac tionManager">
<property name="sessionFactory">
<ref local="sessionFactory"/>
</property>
</bean>
<bean id="userBaseDao" class="example.dao.UserBaseDAO">
<property name="sessionFactory"><ref local="sessionFactory"/></property>
</bean>
<bean id="userBOTarget" class="example.business.UserBO">
<property name="userBaseDao"><ref local="userBaseDao"/></property>
</bean>
<bean id="userBO" class="org.springframework.transaction.interceptor.Transa ctionProxyFactoryBean">
<property name="transactionManager"><ref local="transactionManager"/></property>
<property name="target"><ref local="userBOTarget"/></property>
<property name="transactionAttributes">
<props>
<prop key="get*">PROPAGATION_REQUIRED,readOnly</prop>
<prop key="find*">PROPAGATION_REQUIRED,readOnly</prop>
<prop key="load*">PROPAGATION_REQUIRED,readOnly</prop>
<prop key="store*">PROPAGATION_REQUIRED</prop>
</props>
</property>
</bean>
</beans>


in my struts action I use

&#40;UserBO&#41; getWebApplicationContext&#40;&#41;.getBean&#40;"userBO"&#41;
to get the userBO bean.

It works fine in tomcat. but in Macromedia JRUN 4,
It seems initialize ok what I can see from the following log,



08/27 16&#58;05&#58;20 debug &#91;axis&#93; Loading bean definitions
08/27 16&#58;05&#58;20 debug &#91;axis&#93; Default lazy init 'false'
08/27 16&#58;05&#58;20 debug &#91;axis&#93; Default dependency check 'none'
08/27 16&#58;05&#58;20 debug &#91;axis&#93; Default autowire 'no'
08/27 16&#58;05&#58;17 debug jrunx.kernel.JRunServiceDeployer.invokeOnServices start 上で RI Web Application Factory を呼び出し中
08/27 16&#58;05&#58;20 debug &#91;axis&#93; Registering bean definition with id 'messageSource'
08/27 16&#58;05&#58;21 debug &#91;axis&#93; Registering bean definition with id 'sessionFactory'
08/27 16&#58;05&#58;17 debug jrunx.kernel.JRunServiceDeployer.invokeOnServices start 上で RI Enterprise Application Factory を呼び出し中
08/27 16&#58;05&#58;21 debug &#91;axis&#93; Registering bean definition with id 'transactionManager'
08/27 16&#58;05&#58;21 debug &#91;axis&#93; Registering bean definition with id 'userBaseDao'
08/27 16&#58;05&#58;21 debug &#91;axis&#93; Registering bean definition with id 'userBOTarget'
08/27 16&#58;05&#58;21 debug &#91;axis&#93; Registering bean definition with id 'userBO'
08/27 16&#58;05&#58;21 debug &#91;axis&#93; Found 6 <bean> elements defining beans
08/27 16&#58;05&#58;21 info &#91;axis&#93; Bean factory for application context &#91;Root XmlWebApplicationContext&#93;&#58; org.springframework.beans.factory.support.DefaultL istableBeanFactory defining beans &#91;messageSource,sessionFactory,transactionManager,u serBaseDao,userBOTarget,userBO&#93;; Root of BeanFactory hierarchy
08/27 16&#58;05&#58;21 info &#91;axis&#93; 6 beans defined in ApplicationContext &#91;Root XmlWebApplicationContext&#93;
08/27 16&#58;05&#58;21 info &#91;axis&#93; Creating shared instance of singleton bean 'messageSource'
08/27 16&#58;05&#58;21 debug &#91;axis&#93; Creating instance of bean 'messageSource' with merged definition &#91;Root bean with class &#91;org.springframework.context.support.ResourceBundl eMessageSource&#93; defined in resource &#91;/WEB-INF/applicationContext-hibernate.xml&#93; of ServletContext&#93;
08/27 16&#58;05&#58;21 debug &#91;axis&#93; Using cached introspection results for class &#91;org.springframework.context.support.ResourceBundl eMessageSource&#93;
08/27 16&#58;05&#58;21 debug &#91;axis&#93; About to invoke write method &#91;public void org.springframework.context.support.ResourceBundle MessageSource.setBasename&#40;java.lang.String&#41;&#93; on object of class &#91;org.springframework.context.support.ResourceBundl eMessageSource&#93;
08/27 16&#58;05&#58;21 debug &#91;axis&#93; Invoked write method &#91;public void org.springframework.context.support.ResourceBundle MessageSource.setBasename&#40;java.lang.String&#41;&#93; with value &#91;messages&#93;
08/27 16&#58;05&#58;21 debug &#91;axis&#93; Invoking BeanPostProcessors before initialization of bean 'messageSource'

......

but throwing the following exception when I got the userBO bean reference.
what reason I may be?


08/27 16&#58;06&#58;43 warning &#91;axis&#93; Unhandled Exception thrown&#58; class org.springframework.beans.factory.NoSuchBeanDefini tionException
08/27 16&#58;06&#58;43 error jrun.servlet.JRunRequestDispatcher.invoke No bean named 'userBO' is defined&#58; org.springframework.beans.factory.support.DefaultL istableBeanFactory defining beans &#91;messageSource&#93;; Root of BeanFactory hierarchy
&#91;1&#93;org.springframework.beans.factory.NoSuchBeanDef initionException&#58; No bean named 'userBO' is defined&#58; org.springframework.beans.factory.support.DefaultL istableBeanFactory defining beans &#91;messageSource&#93;; Root of BeanFactory hierarchy
at org.springframework.beans.factory.support.DefaultL istableBeanFactory.getBeanDefinition&#40;DefaultListab leBeanFactory.java&#58;284&#41;
at org.springframework.beans.factory.support.Abstract BeanFactory.getMergedBeanDefinition&#40;AbstractBeanFa ctory.java&#58;549&#41;
at org.springframework.beans.factory.support.Abstract BeanFactory.getBean&#40;AbstractBeanFactory.java&#58;164&#41;
at org.springframework.beans.factory.support.Abstract BeanFactory.getBean&#40;AbstractBeanFactory.java&#58;135&#41;
at org.springframework.context.support.AbstractApplic ationContext.getBean&#40;AbstractApplicationContext.ja va&#58;431&#41;
at example.web.LoginAction.getUserBO&#40;LoginAction.java &#58;25&#41;
at example.web.LoginAction.execute&#40;LoginAction.java&#58;4 5&#41;
at org.apache.struts.action.RequestProcessor.processA ctionPerform&#40;RequestProcessor.java&#58;484&#41;
at org.apache.struts.action.RequestProcessor.process&#40; RequestProcessor.java&#58;274&#41;
at org.apache.struts.action.ActionServlet.process&#40;Act ionServlet.java&#58;1482&#41;
at org.apache.struts.action.ActionServlet.doPost&#40;Acti onServlet.java&#58;525&#41;
at javax.servlet.http.HttpServlet.service&#40;HttpServlet .java&#58;760&#41;
at javax.servlet.http.HttpServlet.service&#40;HttpServlet .java&#58;853&#41;
at jrun.servlet.FilterChain.doFilter&#40;FilterChain.java &#58;86&#41;
at example.EnvPrinter.doFilter&#40;EnvPrinter.java&#58;33&#41;
at jrun.servlet.FilterChain.doFilter&#40;FilterChain.java &#58;94&#41;
at example.web.EncodingFilter.doFilter&#40;EncodingFilter .java&#58;172&#41;
at jrun.servlet.FilterChain.doFilter&#40;FilterChain.java &#58;94&#41;
at jrun.servlet.FilterChain.service&#40;FilterChain.java&#58; 101&#41;
at jrun.servlet.ServletInvoker.invoke&#40;ServletInvoker. java&#58;91&#41;
at jrun.servlet.JRunInvokerChain.invokeNext&#40;JRunInvok erChain.java&#58;42&#41;
at jrun.servlet.JRunRequestDispatcher.invoke&#40;JRunRequ estDispatcher.java&#58;252&#41;
at jrun.servlet.ServletEngineService.dispatch&#40;Servlet EngineService.java&#58;527&#41;
at jrun.servlet.http.WebService.invokeRunnable&#40;WebSer vice.java&#58;168&#41;
at jrunx.scheduler.ThreadPool$DownstreamMetrics.invok eRunnable&#40;ThreadPool.java&#58;348&#41;
at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRu nnable&#40;ThreadPool.java&#58;451&#41;
at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeR unnable&#40;ThreadPool.java&#58;294&#41;
at jrunx.scheduler.WorkerThread.run&#40;WorkerThread.java &#58;66&#41;
&#91;0&#93;javax.servlet.ServletException&#58; No bean named 'userBO' is defined&#58; org.springframework.beans.factory.support.DefaultL istableBeanFactory defining beans &#91;messageSource&#93;; Root of BeanFactory hierarchy
at org.apache.struts.action.RequestProcessor.processE xception&#40;RequestProcessor.java&#58;545&#41;
at org.apache.struts.action.RequestProcessor.processA ctionPerform&#40;RequestProcessor.java&#58;486&#41;
at org.apache.struts.action.RequestProcessor.process&#40; RequestProcessor.java&#58;274&#41;
at org.apache.struts.action.ActionServlet.process&#40;Act ionServlet.java&#58;1482&#41;
at org.apache.struts.action.ActionServlet.doPost&#40;Acti onServlet.java&#58;525&#41;
at javax.servlet.http.HttpServlet.service&#40;HttpServlet .java&#58;760&#41;
at javax.servlet.http.HttpServlet.service&#40;HttpServlet .java&#58;853&#41;
at jrun.servlet.FilterChain.doFilter&#40;FilterChain.java &#58;86&#41;
at example.EnvPrinter.doFilter&#40;EnvPrinter.java&#58;33&#41;
at jrun.servlet.FilterChain.doFilter&#40;FilterChain.java &#58;94&#41;
at example.web.EncodingFilter.doFilter&#40;EncodingFilter .java&#58;172&#41;
at jrun.servlet.FilterChain.doFilter&#40;FilterChain.java &#58;94&#41;
at jrun.servlet.FilterChain.service&#40;FilterChain.java&#58; 101&#41;
at jrun.servlet.ServletInvoker.invoke&#40;ServletInvoker. java&#58;91&#41;
at jrun.servlet.JRunInvokerChain.invokeNext&#40;JRunInvok erChain.java&#58;42&#41;
at jrun.servlet.JRunRequestDispatcher.invoke&#40;JRunRequ estDispatcher.java&#58;252&#41;
at jrun.servlet.ServletEngineService.dispatch&#40;Servlet EngineService.java&#58;527&#41;
at jrun.servlet.http.WebService.invokeRunnable&#40;WebSer vice.java&#58;168&#41;
at jrunx.scheduler.ThreadPool$DownstreamMetrics.invok eRunnable&#40;ThreadPool.java&#58;348&#41;
at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRu nnable&#40;ThreadPool.java&#58;451&#41;
at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeR unnable&#40;ThreadPool.java&#58;294&#41;
at jrunx.scheduler.WorkerThread.run&#40;WorkerThread.java &#58;66&#41;
Any comment will be very appreciated!!

sunfmin
Aug 27th, 2004, 03:46 AM
Is the following log means that beans are ready to be invoke?



08/27 16&#58;05&#58;20 debug &#91;axis&#93; Registering bean definition with id 'messageSource'
08/27 16&#58;05&#58;21 debug &#91;axis&#93; Registering bean definition with id 'sessionFactory'
08/27 16&#58;05&#58;21 debug &#91;axis&#93; Registering bean definition with id 'transactionManager'
08/27 16&#58;05&#58;21 debug &#91;axis&#93; Registering bean definition with id 'userBaseDao'
08/27 16&#58;05&#58;21 debug &#91;axis&#93; Registering bean definition with id 'userBOTarget'
08/27 16&#58;05&#58;21 debug &#91;axis&#93; Registering bean definition with id 'userBO'
08/27 16&#58;05&#58;21 debug &#91;axis&#93; Found 6 <bean> elements defining beans

sunfmin
Aug 30th, 2004, 04:33 AM
I finally found the season.
In Tomcat :

the container first load listeners<ContextLoaderListener>
then load servlets in web.xml ,
so applicationContexts config in web.xml are loaded first as ROOT,
and the ContextLoaderPlugIn load the action-servlet.xml who's parent is ROOT.
so all work fine with my 6 beans.


But in Macromedia JRun 4:
the container first load servlets<ActionServlet> in web.xml ,
then load listeners<ContextLoaderListener>,
because ContextLoaderPlugIn can't find ROOT in ServletContext,so It make itself as ROOT.
but when ContextLoaderListener starts, It make ITSELF also as a ROOT,and don't care whether a ROOT is there.
so 2 Context ROOT there. and when I use getWebApplicationContext() method , It only get beans in action-servlet.xml.
and can't get any beans in applicationContext-hibernate.xml(defined in web.xml).

so I use ContextLoaderServlet not ContextLoaderListener, and the problem sovled.

<servlet>
<servlet-name>context</servlet-name>
<servlet-class>org.springframework.web.context.ContextLoaderServl et</servlet-class>
<load-on-startup>1</load-on-startup>

</servlet>

Macromedia JRun 4 load sequence:


08/30 16&#58;24&#58;19 debug &#91;axis&#93; Default lazy init 'false'
08/30 16&#58;24&#58;19 debug &#91;axis&#93; Default dependency check 'none'
08/30 16&#58;24&#58;19 debug &#91;axis&#93; Default autowire 'no'
08/30 16&#58;24&#58;19 debug &#91;axis&#93; Registering bean definition with id 'messageSource'
08/30 16&#58;24&#58;19 debug &#91;axis&#93; Found 1 <bean> elements defining beans
08/30 16&#58;24&#58;19 info &#91;axis&#93; Bean factory for application context &#91;XmlWebApplicationContext for namespace 'action-servlet'&#93;&#58; org.springframework.beans.factory.support.DefaultL istableBeanFactory defining beans &#91;messageSource&#93;; Root of BeanFactory hierarchy
08/30 16&#58;24&#58;19 info &#91;axis&#93; 1 beans defined in ApplicationContext &#91;XmlWebApplicationContext for namespace 'action-servlet'&#93;
08/30 16&#58;24&#58;19 info &#91;axis&#93; Creating shared instance of singleton bean 'messageSource'
08/30 16&#58;24&#58;19 debug &#91;axis&#93; Creating instance of bean 'messageSource' with merged definition &#91;Root bean with class &#91;org.springframework.context.support.ResourceBundl eMessageSource&#93; defined in resource &#91;/WEB-INF/action-servlet.xml&#93; of ServletContext&#93;
08/30 16&#58;24&#58;20 debug &#91;axis&#93; Getting BeanInfo for class &#91;org.springframework.context.support.ResourceBundl eMessageSource&#93;
08/30 16&#58;24&#58;20 debug &#91;axis&#93; Caching PropertyDescriptors for class &#91;org.springframework.context.support.ResourceBundl eMessageSource&#93;
08/30 16&#58;24&#58;20 debug &#91;axis&#93; Found property 'basename' of type &#91;class java.lang.String&#93;; editor=&#91;null&#93;
08/30 16&#58;24&#58;20 debug &#91;axis&#93; Found property 'basenames' of type &#91;class &#91;Ljava.lang.String;&#93;; editor=&#91;null&#93;
08/30 16&#58;24&#58;20 debug &#91;axis&#93; Found property 'class' of type &#91;class java.lang.Class&#93;; editor=&#91;null&#93;
08/30 16&#58;24&#58;20 debug &#91;axis&#93; Found property 'parentMessageSource' of type &#91;interface org.springframework.context.MessageSource&#93;; editor=&#91;null&#93;
08/30 16&#58;24&#58;20 debug &#91;axis&#93; Found property 'useCodeAsDefaultMessage' of type &#91;boolean&#93;; editor=&#91;null&#93;
08/30 16&#58;24&#58;20 debug &#91;axis&#93; Class &#91;org.springframework.context.support.ResourceBundl eMessageSource&#93; is cache-safe
08/30 16&#58;24&#58;20 debug &#91;axis&#93; About to invoke write method &#91;public void org.springframework.context.support.ResourceBundle MessageSource.setBasename&#40;java.lang.String&#41;&#93; on object of class &#91;org.springframework.context.support.ResourceBundl eMessageSource&#93;
08/30 16&#58;24&#58;20 debug &#91;axis&#93; Invoked write method &#91;public void org.springframework.context.support.ResourceBundle MessageSource.setBasename&#40;java.lang.String&#41;&#93; with value &#91;example-messages&#93;
08/30 16&#58;24&#58;20 debug &#91;axis&#93; Invoking BeanPostProcessors before initialization of bean 'messageSource'
08/30 16&#58;24&#58;20 debug &#91;axis&#93; Invoking BeanPostProcessors after initialization of bean 'messageSource'
08/30 16&#58;24&#58;20 info &#91;axis&#93; No ApplicationEventMulticaster found for context &#91;XmlWebApplicationContext for namespace 'action-servlet'&#93;&#58; using default
08/30 16&#58;24&#58;20 info &#91;axis&#93; No ThemeSource found for &#91;XmlWebApplicationContext for namespace 'action-servlet'&#93;&#58; using ResourceBundleThemeSource
08/30 16&#58;24&#58;20 info &#91;axis&#93; Refreshing listeners
08/30 16&#58;24&#58;20 debug &#91;axis&#93; Found 0 listeners in bean factory
08/30 16&#58;24&#58;20 info &#91;axis&#93; Pre-instantiating singletons in factory &#91;org.springframework.beans.factory.support.Default ListableBeanFactory defining beans &#91;messageSource&#93;; Root of BeanFactory hierarchy&#93;
08/30 16&#58;24&#58;20 debug &#91;axis&#93; Returning cached instance of singleton bean 'messageSource'
08/30 16&#58;24&#58;20 debug &#91;axis&#93; Publishing event in context &#91;XmlWebApplicationContext for namespace 'action-servlet'&#93;&#58; org.springframework.context.event.ContextRefreshed Event&#91;source=org.springframework.web.context.suppo rt.XmlWebApplicationContext&#58; displayName=&#91;XmlWebApplicationContext for namespace 'action-servlet'&#93;; startup date=&#91;Mon Aug 30 16&#58;24&#58;19 GMT+08&#58;00 2004&#93;; root of ApplicationContext hierarchy; config locations=&#91;/WEB-INF/action-servlet.xml&#93;; &#93;
08/30 16&#58;24&#58;20 info &#91;axis&#93; Using context class 'org.springframework.web.context.support.XmlWebApp licationContext' for servlet 'action'
08/30 16&#58;24&#58;20 info &#91;axis&#93; Published WebApplicationContext of servlet 'action' for module '' as ServletContext attribute with name &#91;org.springframework.web.struts.ContextLoaderPlugI n.CONTEXT.&#93;
08/30 16&#58;24&#58;20 info &#91;axis&#93; Framework servlet 'action' init completed in 312 ms
08/30 16&#58;24&#58;20 debug jrun.servlet.session.SessionService.start パーシスタンスストレージプロバイダ 'jrun.servlet.session.FileSessionStorage' をロード中
08/30 16&#58;24&#58;20 info jrun.servlet.session.SessionService.restoreSession State 2 セッションを復旧中
08/30 16&#58;24&#58;20 user jrun.servlet.JRunServletContext.log Set web app root system property&#58; example.root = E&#58;\JRun\servers\default\spring-example\
08/30 16&#58;24&#58;20 user jrun.servlet.JRunServletContext.log Initializing Log4J from &#91;E&#58;\JRun\servers\default\spring-example\WEB-INF\classes\log4j.properties&#93;
08/30 16&#58;24&#58;20 user jrun.servlet.JRunServletContext.log Loading root WebApplicationContext
08/30 16&#58;24&#58;20 info &#91;axis&#93; Loading XML bean definitions from resource &#91;/WEB-INF/applicationContext-hibernate.xml&#93; of ServletContext
08/30 16&#58;24&#58;20 debug &#91;axis&#93; Using JAXP implementation &#91;org.apache.crimson.jaxp.DocumentBuilderFactoryImp l@1d1cdf7&#93;
08/30 16&#58;24&#58;20 debug &#91;axis&#93; Trying to resolve XML entity with public ID &#91;-//SPRING//DTD BEAN//EN&#93; and system ID &#91;http&#58;//www.springframework.org/dtd/spring-beans.dtd&#93;
08/30 16&#58;24&#58;20 debug &#91;axis&#93; Trying to locate &#91;spring-beans.dtd&#93; under &#91;/org/springframework/beans/factory/xml/&#93;
08/30 16&#58;24&#58;20 debug &#91;axis&#93; Found beans DTD &#91;http&#58;//www.springframework.org/dtd/spring-beans.dtd&#93; in classpath
08/30 16&#58;24&#58;20 debug &#91;axis&#93; Loading bean definitions
08/30 16&#58;24&#58;20 debug &#91;axis&#93; Default lazy init 'false'
08/30 16&#58;24&#58;20 debug &#91;axis&#93; Default dependency check 'none'
08/30 16&#58;24&#58;20 debug &#91;axis&#93; Default autowire 'no'
08/30 16&#58;24&#58;20 debug &#91;axis&#93; Registering bean definition with id 'messageSource'
08/30 16&#58;24&#58;20 debug &#91;axis&#93; Registering bean definition with id 'sessionFactory'
08/30 16&#58;24&#58;20 debug &#91;axis&#93; Registering bean definition with id 'transactionManager'
08/30 16&#58;24&#58;20 debug &#91;axis&#93; Registering bean definition with id 'userBaseDao'
08/30 16&#58;24&#58;20 debug &#91;axis&#93; Registering bean definition with id 'userBOTarget'
08/30 16&#58;24&#58;20 debug &#91;axis&#93; Registering bean definition with id 'userBO'
08/30 16&#58;24&#58;20 debug &#91;axis&#93; Found 6 <bean> elements defining beans
08/30 16&#58;24&#58;20 info &#91;axis&#93; Bean factory for application context &#91;Root XmlWebApplicationContext&#93;&#58; org.springframework.beans.factory.support.DefaultL istableBeanFactory defining beans &#91;messageSource,sessionFactory,transactionManager,u serBaseDao,userBOTarget,userBO&#93;; Root of BeanFactory hierarchy
08/30 16&#58;24&#58;20 info &#91;axis&#93; 6 beans defined in ApplicationContext &#91;Root XmlWebApplicationContext&#93;
08/30 16&#58;24&#58;20 info &#91;axis&#93; Creating shared instance of singleton bean 'messageSource'
08/30 16&#58;24&#58;20 debug &#91;axis&#93; Creating instance of bean 'messageSource' with merged definition &#91;Root bean with class &#91;org.springframework.context.support.ResourceBundl eMessageSource&#93; defined in resource &#91;/WEB-INF/applicationContext-hibernate.xml&#93; of ServletContext&#93;
08/30 16&#58;24&#58;20 debug &#91;axis&#93; Using cached introspection results for class &#91;org.springframework.context.support.ResourceBundl eMessageSource&#93;
08/30 16&#58;24&#58;20 debug &#91;axis&#93; About to invoke write method &#91;public void org.springframework.context.support.ResourceBundle MessageSource.setBasename&#40;java.lang.String&#41;&#93; on object of class &#91;org.springframework.context.support.ResourceBundl eMessageSource&#93;
08/30 16&#58;24&#58;20 debug &#91;axis&#93; Invoked write method &#91;public void org.springframework.context.support.ResourceBundle MessageSource.setBasename&#40;java.lang.String&#41;&#93; with value &#91;messages&#93;
08/30 16&#58;24&#58;20 debug &#91;axis&#93; Invoking BeanPostProcessors before initialization of bean 'messageSource'