Hi all. This is my first time using Spring. I have this problem with Spring, which I have no idea how to solve it. Please help me out.
My system config.:
- JBoss 4.0.1
- Spring-framework-1.1.5-with-dependencies
- aopalliance.jar
I was trying to build a simple app. to try using Spring. I have an MDB to call another stateless session bean.
Here is the MDB.
.
.
.
public void onMessage(Message inMessage) {
System.out.println("***** Loading Application Context");
ClassPathXmlApplicationContext ctx = new ClassPathXmlApplicationContext(new String[] {"applicationContext.xml"});
System.out.print("***** Calling writeLog");
writeLog((ApplicationContext)ctx, inMessage.toString());
}
public void writeLog(ApplicationContext ctx, String logMessage) {
System.out.println("***** Loading logService Bean");
LogService service = (LogService)ctx.getBean("logService");
System.out.println("***** Calling logService.log()");
service.log(logMessage);
}
Here is the ApplicationContext.xml.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
<!--
- Root application context for the Countries application.
- Web-specific beans are defined in "countries-servlet.xml".
-->
<beans>
<bean id="messageSource"
class="org.springframework.context.support.Resourc eBundleMessageSource">
<property name="basenames">
<list>
<value>format</value>
<value>exceptions</value>
<value>windows</value>
</list>
</property>
</bean>
<bean id="logService"
class="org.springframework.ejb.access.LocalStatele ssSessionProxyFactoryBean">
<property name="jndiName">
<value>java:logService</value>
</property>
<property name="resourceRef">
<value>true</value>
</property>
<property name="businessInterface">
<value>com.taifook.datasync.ejb.LogService</value>
</property>
</bean>
</beans>
When I tried to run my app., it can load the logService bean. But when it starts to call the log() method, it keeps loading classes until it throws a java.lang.StackOverflowError exception.
Here is the log.
2005-05-13 18:35:20,553 INFO [STDOUT] ***** Loading Application Context
2005-05-13 18:35:20,553 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] AbstractWebContainer.parseWebAppDescriptors, End
2005-05-13 18:35:20,663 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] Using session cookies default setting
2005-05-13 18:35:20,663 DEBUG [tomcat.localhost./jmx-console.Context] Starting tomcat.localhost./jmx-console.Context
2005-05-13 18:35:20,663 DEBUG [tomcat.localhost./jmx-console.Context] Configuring default Resources
2005-05-13 18:35:20,678 DEBUG [tomcat.localhost./jmx-console.Context] Processing standard container startup
2005-05-13 18:35:20,678 DEBUG [tomcat.localhost./jmx-console.Context] Setting deployment descriptor public ID to '-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN'
2005-05-13 18:35:20,710 DEBUG [tomcat.localhost./jmx-console.Context] Setting deployment descriptor public ID to '-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN'
2005-05-13 18:35:20,710 DEBUG [tomcat.localhost./jmx-console.Context] Posting standard context attributes
2005-05-13 18:35:20,710 DEBUG [tomcat.localhost./jmx-console.Context] Configuring application event listeners
2005-05-13 18:35:20,725 DEBUG [tomcat.localhost./jmx-console.Context] Sending application start events
2005-05-13 18:35:20,725 DEBUG [tomcat.localhost./jmx-console.Context] Starting filters
2005-05-13 18:35:20,725 DEBUG [tomcat.localhost./jmx-console.Context] Starting filter 'CommonHeadersFilter'
2005-05-13 18:35:20,725 DEBUG [org.jboss.web.tomcat.filters.ReplyHeaderFilter] Adding header name: X-Powered-By='Servlet 2.4; Tomcat-5.0.28/JBoss-4.0.1sp1 (build: CVSTag=JBoss_4_0_1_SP1 date=200502160314)'
2005-05-13 18:35:20,725 DEBUG [tomcat.localhost./jmx-console.Context] Starting completed
2005-05-13 18:35:20,725 DEBUG [tomcat.localhost./jmx-console.Context] Checking for jboss.web:J2EEApplication=none,J2EEServer=none,j2e eType=WebModule,name=//localhost/jmx-console
2005-05-13 18:35:20,725 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] Initialized: {WebApplication: /C:/jboss-4.0.1/server/DataSync/deploy/jmx-console.war/, URL: file:/C:/jboss-4.0.1/server/DataSync/deploy/jmx-console.war/, classLoader: java.net.FactoryURLClassLoader@14a616:1353238} jboss.web:J2EEApplication=none,J2EEServer=none,j2e eType=WebModule,name=//localhost/jmx-console
2005-05-13 18:35:20,725 DEBUG [org.jboss.web.WebModule] Started jboss.web.deployment:id=991790598,war=jmx-console.war
2005-05-13 18:35:20,725 DEBUG [org.jboss.system.ServiceController] Starting dependent components for: jboss.web.deployment:id=991790598,war=jmx-console.war dependent components: []
2005-05-13 18:35:20,741 INFO [org.springframework.beans.factory.xml.XmlBeanDefin itionReader] Loading XML bean definitions from class path resource [applicationContext.xml]
2005-05-13 18:35:20,741 DEBUG [org.springframework.beans.factory.xml.XmlBeanDefin itionReader] Using JAXP implementation [org.apache.xerces.jaxp.DocumentBuilderFactoryImpl@ 930120]
2005-05-13 18:35:20,757 DEBUG [org.springframework.context.support.ResourceEntity Resolver] Trying to resolve XML entity with public ID [-//SPRING//DTD BEAN//EN] and system ID [http://www.springframework.org/dtd/spring-beans.dtd]
2005-05-13 18:35:20,757 DEBUG [org.springframework.context.support.ResourceEntity Resolver] Trying to locate [spring-beans.dtd] under [/org/springframework/beans/factory/xml/]
2005-05-13 18:35:20,757 DEBUG [org.springframework.context.support.ResourceEntity Resolver] Found beans DTD [http://www.springframework.org/dtd/spring-beans.dtd] in classpath
2005-05-13 18:35:20,772 DEBUG [org.jboss.deployment.MainDeployer] End deployment start on package: jmx-console.war
2005-05-13 18:35:20,772 DEBUG [org.jboss.deployment.MainDeployer] Deployed package: file:/C:/jboss-4.0.1/server/DataSync/deploy/jmx-console.war/
2005-05-13 18:35:20,772 DEBUG [org.jboss.deployment.scanner.URLDeploymentScanner] Watch URL for: file:/C:/jboss-4.0.1/server/DataSync/deploy/jmx-console.war/ -> file:/C:/jboss-4.0.1/server/DataSync/deploy/jmx-console.war/WEB-INF/web.xml
2005-05-13 18:35:20,772 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment of package: file:/C:/jboss-4.0.1/server/DataSync/deploy/management/web-console.war/
2005-05-13 18:35:20,772 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment (init step) of package at: file:/C:/jboss-4.0.1/server/DataSync/deploy/management/web-console.war/
2005-05-13 18:35:20,772 DEBUG [org.jboss.deployment.MainDeployer] using deployer org.jboss.web.tomcat.tc5.Tomcat5@15dc37d
2005-05-13 18:35:20,772 DEBUG [org.jboss.web.tomcat.tc5.Tomcat5] Begin init
2005-05-13 18:35:20,772 DEBUG [org.jboss.web.tomcat.tc5.Tomcat5] webContext: null
2005-05-13 18:35:20,772 DEBUG [org.jboss.web.tomcat.tc5.Tomcat5] warURL: file:/C:/jboss-4.0.1/server/DataSync/deploy/management/web-console.war/
2005-05-13 18:35:20,772 DEBUG [org.springframework.beans.factory.xml.DefaultXmlBe anDefinitionParser] Loading bean definitions
2005-05-13 18:35:20,772 DEBUG [org.springframework.beans.factory.xml.DefaultXmlBe anDefinitionParser] Default lazy init 'false'
2005-05-13 18:35:20,772 DEBUG [org.springframework.beans.factory.xml.DefaultXmlBe anDefinitionParser] Default dependency check 'none'
2005-05-13 18:35:20,772 DEBUG [org.springframework.beans.factory.xml.DefaultXmlBe anDefinitionParser] Default autowire 'no'
2005-05-13 18:35:20,788 DEBUG [org.jboss.web.tomcat.tc5.Tomcat5] End init
2005-05-13 18:35:20,788 DEBUG [org.jboss.deployment.DeploymentInfo] createLoaderRepository from config: LoaderRepositoryConfig(repositoryName: jboss.console:sar=console-mgr.sar, repositoryClassName: org.jboss.mx.loading.HeirarchicalLoaderRepository3 , configParserClassName: org.jboss.mx.loading.HeirarchicalLoaderRepository3 ConfigParser, repositoryConfig: java2ParentDelegation=true)
2005-05-13 18:35:20,788 DEBUG [org.jboss.mx.loading.UnifiedClassLoader] New jmx UCL with url file:/C:/jboss-4.0.1/server/DataSync/deploy/management/web-console.war/
2005-05-13 18:35:20,788 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoader Repository3@153113d, cl=org.jboss.mx.loading.UnifiedClassLoader3@17757a d{ url=file:/C:/jboss-4.0.1/server/DataSync/deploy/management/web-console.war/ ,addedOrder=0}
2005-05-13 18:35:20,788 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoader Repository3@153113d, cl=org.jboss.mx.loading.UnifiedClassLoader3@17757a d{ url=file:/C:/jboss-4.0.1/server/DataSync/deploy/management/web-console.war/ ,addedOrder=0}
2005-05-13 18:35:20,788 DEBUG [org.jboss.mx.loading.UnifiedLoaderRepository3] Adding org.jboss.mx.loading.UnifiedClassLoader3@17757ad{ url=file:/C:/jboss-4.0.1/server/DataSync/deploy/management/web-console.war/ ,addedOrder=0}
2005-05-13 18:35:20,788 DEBUG [org.jboss.mx.loading.ClassLoaderUtils] Multiple class loaders found for pkg:
2005-05-13 18:35:20,819 DEBUG [org.jboss.deployment.MainDeployer] found 0 subpackages of file:/C:/jboss-4.0.1/server/DataSync/deploy/management/web-console.war/
2005-05-13 18:35:20,819 DEBUG [org.jboss.deployment.MainDeployer] Watching new file: file:/C:/jboss-4.0.1/server/DataSync/deploy/management/web-console.war/
2005-05-13 18:35:20,819 DEBUG [org.jboss.deployment.MainDeployer] create step for deployment file:/C:/jboss-4.0.1/server/DataSync/deploy/management/web-console.war/
2005-05-13 18:35:20,819 DEBUG [org.jboss.system.ServiceController] Creating service jboss.web.deployment:id=790160425,war=web-console.war
2005-05-13 18:35:20,819 DEBUG [org.jboss.system.ServiceController] adding depends in ServiceController.register: []
2005-05-13 18:35:20,819 DEBUG [org.jboss.web.WebModule] Creating jboss.web.deployment:id=790160425,war=web-console.war
2005-05-13 18:35:20,819 DEBUG [org.jboss.web.WebModule] Created jboss.web.deployment:id=790160425,war=web-console.war
2005-05-13 18:35:20,819 DEBUG [org.jboss.system.ServiceController] Creating dependent components for: jboss.web.deployment:id=790160425,war=web-console.war dependents are: []
2005-05-13 18:35:20,819 DEBUG [org.jboss.deployment.MainDeployer] Done with create step of deploying web-console.war
2005-05-13 18:35:20,819 DEBUG [org.jboss.deployment.MainDeployer] Begin deployment start file:/C:/jboss-4.0.1/server/DataSync/deploy/management/web-console.war/
2005-05-13 18:35:20,819 DEBUG [org.jboss.system.ServiceController] starting service jboss.web.deployment:id=790160425,war=web-console.war
2005-05-13 18:35:20,819 DEBUG [org.jboss.web.WebModule] Starting jboss.web.deployment:id=790160425,war=web-console.war
2005-05-13 18:35:20,819 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] webContext: null
2005-05-13 18:35:20,819 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] warURL: file:/C:/jboss-4.0.1/server/DataSync/deploy/management/web-console.war/
2005-05-13 18:35:20,819 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] webAppParser: org.jboss.web.AbstractWebDeployer$DescriptorParser @1e852be
2005-05-13 18:35:20,819 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer] deploy, ctxPath=/web-console, warUrl=file:/C:/jboss-4.0.1/server/DataSync/deploy/management/web-console.war/
2005-05-13 18:35:20,835 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] Added url: file:/C:/jboss-4.0.1/server/DataSync/deploy/management/web-console.war/WEB-INF/classes/, to ucl: org.jboss.mx.loading.UnifiedClassLoader3@17757ad{ url=file:/C:/jboss-4.0.1/server/DataSync/deploy/management/web-console.war/ ,addedOrder=40}
2005-05-13 18:35:20,835 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] AbstractWebContainer.parseWebAppDescriptors, Begin
2005-05-13 18:35:20,835 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] Creating ENC using ClassLoader: java.net.FactoryURLClassLoader@1697d14
2005-05-13 18:35:20,835 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] ..org.jboss.mx.loading.UnifiedClassLoader3@17757ad { url=file:/C:/jboss-4.0.1/server/DataSync/deploy/management/web-console.war/ ,addedOrder=40}
2005-05-13 18:35:20,835 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] ..org.jboss.system.server.NoAnnotationURLClassLoad er@1f1fba0
2005-05-13 18:35:20,835 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] ..sun.misc.Launcher$AppClassLoader@17172ea
2005-05-13 18:35:20,835 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] ..sun.misc.Launcher$ExtClassLoader@12f6684
2005-05-13 18:35:20,835 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] Unable to retrieve orbjavax.management.InstanceNotFoundException: jboss:service=CorbaORB is not registered.
2005-05-13 18:35:20,835 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] Linked java:comp/UserTransaction to JNDI name: UserTransaction
2005-05-13 18:35:20,835 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] addEnvEntries
2005-05-13 18:35:20,835 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] linkResourceEnvRefs
2005-05-13 18:35:20,835 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] linkResourceRefs
2005-05-13 18:35:20,835 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] linkMessageDestinationRefs
2005-05-13 18:35:20,835 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] linkEjbRefs
2005-05-13 18:35:20,835 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] linkEjbLocalRefs
2005-05-13 18:35:20,835 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] linkServiceRefs
2005-05-13 18:35:20,835 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] linkSecurityDomain
2005-05-13 18:35:20,835 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] No security-domain given, using default: java:/jaas/other
2005-05-13 18:35:20,835 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] Linking security/securityMgr to JNDI name: java:/jaas/other
2005-05-13 18:35:20,850 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] AbstractWebContainer.parseWebAppDescriptors, End
2005-05-13 18:35:20,850 DEBUG [org.springframework.beans.factory.xml.DefaultXmlBe anDefinitionParser] Found 2 <bean> elements defining beans
2005-05-13 18:35:20,850 INFO [org.springframework.context.support.ClassPathXmlAp plicationContext] Bean factory for application context [org.springframework.context.support.ClassPathXmlAp plicationContext;hashCode=30386533]: org.springframework.beans.factory.support.DefaultL istableBeanFactory defining beans [messageSource,logService]; root of BeanFactory hierarchy
2005-05-13 18:35:20,882 INFO [org.springframework.context.support.ClassPathXmlAp plicationContext] 2 beans defined in application context [org.springframework.context.support.ClassPathXmlAp plicationContext;hashCode=30386533]
2005-05-13 18:35:20,882 INFO [org.springframework.core.CollectionFactory] Using JDK 1.4 collections
2005-05-13 18:35:20,882 DEBUG [org.springframework.core.CollectionFactory] Creating java.util.LinkedHashMap
2005-05-13 18:35:20,897 DEBUG [org.springframework.core.CollectionFactory] Creating java.util.LinkedHashMap
2005-05-13 18:35:20,897 INFO [org.springframework.beans.factory.support.DefaultL istableBeanFactory] Creating shared instance of singleton bean 'messageSource'
2005-05-13 18:35:20,897 DEBUG [org.springframework.beans.factory.support.DefaultL istableBeanFactory] Creating instance of bean 'messageSource' with merged definition [Root bean with class [org.springframework.context.support.ResourceBundle MessageSource] defined in class path resource [applicationContext.xml]]
2005-05-13 18:35:20,944 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] Using session cookies default setting
2005-05-13 18:35:20,944 DEBUG [tomcat.localhost./web-console.Context] Starting tomcat.localhost./web-console.Context
2005-05-13 18:35:20,944 DEBUG [tomcat.localhost./web-console.Context] Configuring default Resources
2005-05-13 18:35:20,960 DEBUG [tomcat.localhost./web-console.Context] Processing standard container startup
2005-05-13 18:35:20,960 DEBUG [org.springframework.beans.CachedIntrospectionResul ts] Getting BeanInfo for class [org.springframework.context.support.ResourceBundle MessageSource]
2005-05-13 18:35:20,975 DEBUG [org.springframework.beans.CachedIntrospectionResul ts] Caching PropertyDescriptors for class [org.springframework.context.support.ResourceBundle MessageSource]
2005-05-13 18:35:20,975 DEBUG [org.springframework.beans.CachedIntrospectionResul ts] Found property 'basename' of type [java.lang.String]
2005-05-13 18:35:20,975 DEBUG [org.springframework.beans.CachedIntrospectionResul ts] Found property 'basenames' of type [[Ljava.lang.String;]
2005-05-13 18:35:20,975 DEBUG [org.springframework.beans.CachedIntrospectionResul ts] Found property 'class' of type [java.lang.Class]
2005-05-13 18:35:20,975 DEBUG [org.springframework.beans.CachedIntrospectionResul ts] Found property 'classLoader' of type [java.lang.ClassLoader]
2005-05-13 18:35:20,975 DEBUG [org.springframework.beans.CachedIntrospectionResul ts] Found property 'parentMessageSource' of type [org.springframework.context.MessageSource]
2005-05-13 18:35:20,975 DEBUG [org.springframework.beans.CachedIntrospectionResul ts] Found property 'useCodeAsDefaultMessage' of type [boolean]
2005-05-13 18:35:20,975 DEBUG [org.springframework.beans.CachedIntrospectionResul ts] Class [org.springframework.context.support.ResourceBundle MessageSource] is cache-safe
2005-05-13 18:35:20,975 DEBUG [org.springframework.beans.BeanWrapperImpl] About to invoke write method [public void org.springframework.context.support.ResourceBundle MessageSource.setBasenames(java.lang.String[])] on object of class [org.springframework.context.support.ResourceBundle MessageSource]
2005-05-13 18:35:20,975 DEBUG [org.springframework.beans.BeanWrapperImpl] Invoked write method [public void org.springframework.context.support.ResourceBundle MessageSource.setBasenames(java.lang.String[])] with value [[Ljava.lang.String;@722969]
2005-05-13 18:35:20,975 DEBUG [tomcat.localhost./web-console.Context] Setting deployment descriptor public ID to '-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN'
2005-05-13 18:35:20,975 DEBUG [org.springframework.beans.factory.support.DefaultL istableBeanFactory] Invoking BeanPostProcessors before initialization of bean 'messageSource'
2005-05-13 18:35:20,991 DEBUG [org.springframework.beans.factory.support.DefaultL istableBeanFactory] Invoking BeanPostProcessors after initialization of bean 'messageSource'
2005-05-13 18:35:20,991 INFO [org.springframework.context.support.ClassPathXmlAp plicationContext] Using MessageSource [org.springframework.context.support.ResourceBundle MessageSource: basenames=[format,exceptions,windows]]
2005-05-13 18:35:20,991 INFO [org.springframework.context.support.ClassPathXmlAp plicationContext] Unable to locate ApplicationEventMulticaster with name 'applicationEventMulticaster': using default [org.springframework.context.event.SimpleApplicatio nEventMulticaster@10e0eb5]
2005-05-13 18:35:20,991 DEBUG [org.springframework.context.support.ClassPathXmlAp plicationContext] Refreshing listeners
2005-05-13 18:35:20,991 DEBUG [org.springframework.core.CollectionFactory] Creating java.util.LinkedHashMap
2005-05-13 18:35:20,991 DEBUG [org.springframework.context.support.ClassPathXmlAp plicationContext] Found 0 listeners in bean factory
2005-05-13 18:35:20,991 INFO [org.springframework.beans.factory.support.DefaultL istableBeanFactory] Pre-instantiating singletons in factory [org.springframework.beans.factory.support.DefaultL istableBeanFactory defining beans [messageSource,logService]; root of BeanFactory hierarchy]
2005-05-13 18:35:20,991 DEBUG [org.springframework.beans.factory.support.DefaultL istableBeanFactory] Returning cached instance of singleton bean 'messageSource'
2005-05-13 18:35:20,991 INFO [org.springframework.beans.factory.support.DefaultL istableBeanFactory] Creating shared instance of singleton bean 'logService'
2005-05-13 18:35:20,991 DEBUG [org.springframework.beans.factory.support.DefaultL istableBeanFactory] Creating instance of bean 'logService' with merged definition [Root bean with class [org.springframework.ejb.access.LocalStatelessSessi onProxyFactoryBean] defined in class path resource [applicationContext.xml]]
2005-05-13 18:35:21,007 DEBUG [org.springframework.beans.CachedIntrospectionResul ts] Getting BeanInfo for class [org.springframework.ejb.access.LocalStatelessSessi onProxyFactoryBean]
2005-05-13 18:35:21,007 DEBUG [tomcat.localhost./web-console.Context] Setting deployment descriptor public ID to '-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN'
2005-05-13 18:35:21,022 DEBUG [tomcat.localhost./web-console.Context] Posting standard context attributes
2005-05-13 18:35:21,022 DEBUG [tomcat.localhost./web-console.Context] Configuring application event listeners
2005-05-13 18:35:21,022 DEBUG [tomcat.localhost./web-console.Context] Sending application start events
2005-05-13 18:35:21,022 DEBUG [tomcat.localhost./web-console.Context] Starting filters
2005-05-13 18:35:21,022 DEBUG [tomcat.localhost./web-console.Context] Starting filter 'CommonHeadersFilter'
2005-05-13 18:35:21,022 DEBUG [org.jboss.web.tomcat.filters.ReplyHeaderFilter] Adding header name: X-Powered-By='Servlet 2.4; Tomcat-5.0.28/JBoss-4.0.1sp1 (build: CVSTag=JBoss_4_0_1_SP1 date=200502160314)'
2005-05-13 18:35:21,022 DEBUG [org.springframework.beans.CachedIntrospectionResul ts] Caching PropertyDescriptors for class [org.springframework.ejb.access.LocalStatelessSessi onProxyFactoryBean]
2005-05-13 18:35:21,022 DEBUG [org.springframework.beans.CachedIntrospectionResul ts] Found property 'businessInterface' of type [java.lang.Class]
2005-05-13 18:35:21,022 DEBUG [org.springframework.beans.CachedIntrospectionResul ts] Found property 'cacheHome' of type [boolean]
2005-05-13 18:35:21,022 DEBUG [org.springframework.beans.CachedIntrospectionResul ts] Found property 'class' of type [java.lang.Class]
2005-05-13 18:35:21,022 DEBUG [org.springframework.beans.CachedIntrospectionResul ts] Found property 'jndiEnvironment' of type [java.util.Properties]
2005-05-13 18:35:21,022 DEBUG [org.springframework.beans.CachedIntrospectionResul ts] Found property 'jndiName' of type [java.lang.String]
2005-05-13 18:35:21,022 DEBUG [org.springframework.beans.CachedIntrospectionResul ts] Found property 'jndiTemplate' of type [org.springframework.jndi.JndiTemplate]
2005-05-13 18:35:21,022 DEBUG [org.springframework.beans.CachedIntrospectionResul ts] Found property 'lookupHomeOnStartup' of type [boolean]
2005-05-13 18:35:21,022 DEBUG [org.springframework.beans.CachedIntrospectionResul ts] Found property 'object' of type [java.lang.Object]
2005-05-13 18:35:21,022 DEBUG [org.springframework.beans.CachedIntrospectionResul ts] Found property 'objectType' of type [java.lang.Class]
2005-05-13 18:35:21,022 DEBUG [org.springframework.beans.CachedIntrospectionResul ts] Found property 'resourceRef' of type [boolean]
2005-05-13 18:35:21,022 DEBUG [org.springframework.beans.CachedIntrospectionResul ts] Found property 'singleton' of type [boolean]
2005-05-13 18:35:21,022 DEBUG [org.springframework.beans.CachedIntrospectionResul ts] Class [org.springframework.ejb.access.LocalStatelessSessi onProxyFactoryBean] is cache-safe
2005-05-13 18:35:21,022 DEBUG [org.springframework.beans.BeanWrapperImpl] About to invoke write method [public void org.springframework.jndi.JndiObjectLocator.setJndi Name(java.lang.String)] on object of class [org.springframework.ejb.access.LocalStatelessSessi onProxyFactoryBean]
2005-05-13 18:35:21,022 DEBUG [org.springframework.beans.BeanWrapperImpl] Invoked write method [public void org.springframework.jndi.JndiObjectLocator.setJndi Name(java.lang.String)] with value [java:logService]
2005-05-13 18:35:21,022 DEBUG [org.springframework.beans.BeanWrapperImpl] Converting String to [boolean] using property editor [sun.beans.editors.BoolEditor@7e479a]
2005-05-13 18:35:21,022 DEBUG [org.springframework.beans.BeanWrapperImpl] About to invoke write method [public void org.springframework.jndi.JndiLocatorSupport.setRes ourceRef(boolean)] on object of class [org.springframework.ejb.access.LocalStatelessSessi onProxyFactoryBean]
2005-05-13 18:35:21,022 DEBUG [org.springframework.beans.BeanWrapperImpl] Invoked write method [public void org.springframework.jndi.JndiLocatorSupport.setRes ourceRef(boolean)] with value [true]
2005-05-13 18:35:21,022 DEBUG [org.springframework.beans.BeanWrapperImpl] Converting String to [class java.lang.Class] using property editor [org.springframework.beans.propertyeditors.ClassEdi tor@8eed76]
2005-05-13 18:35:21,022 DEBUG [org.springframework.beans.BeanWrapperImpl] About to invoke write method [public void org.springframework.ejb.access.LocalStatelessSessi onProxyFactoryBean.setBusinessInterface(java.lang. Class)] on object of class [org.springframework.ejb.access.LocalStatelessSessi onProxyFactoryBean]
2005-05-13 18:35:21,022 DEBUG [org.springframework.beans.BeanWrapperImpl] Invoked write method [public void org.springframework.ejb.access.LocalStatelessSessi onProxyFactoryBean.setBusinessInterface(java.lang. Class)] with value [interface com.taifook.datasync.ejb.LogService]
2005-05-13 18:35:21,038 DEBUG [org.springframework.beans.factory.support.DefaultL istableBeanFactory] Invoking BeanPostProcessors before initialization of bean 'logService'
2005-05-13 18:35:21,038 DEBUG [org.springframework.beans.factory.support.DefaultL istableBeanFactory] Invoking afterPropertiesSet() on bean with beanName 'logService'
2005-05-13 18:35:21,038 DEBUG [org.springframework.jndi.JndiTemplate] Looking up JNDI object with name [java:logService]
2005-05-13 18:35:21,038 DEBUG [org.springframework.ejb.access.LocalStatelessSessi onProxyFactoryBean] Located object with JNDI name [java:logService]
2005-05-13 18:35:21,288 INFO [org.springframework.aop.framework.DefaultAopProxyF actory] CGLIB2 available: proxyTargetClass feature enabled
2005-05-13 18:35:21,288 DEBUG [org.springframework.core.CollectionFactory] Creating java.util.IdentityHashMap
2005-05-13 18:35:21,288 DEBUG [org.springframework.aop.framework.ProxyFactory] Added new aspect interface: com.taifook.datasync.ejb.LogService
2005-05-13 18:35:21,303 DEBUG [org.springframework.aop.framework.JdkDynamicAopPro xy] Creating JDK dynamic proxy
2005-05-13 18:35:21,335 DEBUG [org.springframework.beans.factory.support.DefaultL istableBeanFactory] Invoking BeanPostProcessors after initialization of bean 'logService'
2005-05-13 18:35:21,335 DEBUG [org.springframework.beans.factory.support.DefaultL istableBeanFactory] Calling code asked for FactoryBean instance for name 'logService'
2005-05-13 18:35:21,335 DEBUG [org.springframework.beans.factory.support.DefaultL istableBeanFactory] Returning cached instance of singleton bean 'logService'
2005-05-13 18:35:21,335 DEBUG [org.springframework.beans.factory.support.DefaultL istableBeanFactory] Bean with name 'logService' is a factory bean
2005-05-13 18:35:21,335 DEBUG [org.springframework.context.support.ClassPathXmlAp plicationContext] Publishing event in context [org.springframework.context.support.ClassPathXmlAp plicationContext;hashCode=30386533]: org.springframework.context.event.ContextRefreshed Event[source=org.springframework.context.support.ClassPa thXmlApplicationContext: display name [org.springframework.context.support.ClassPathXmlAp plicationContext;hashCode=30386533]; startup date [Fri May 13 18:35:20 GMT+08:00 2005]; root of context hierarchy]
2005-05-13 18:35:21,335 INFO [STDOUT] ***** Calling writeLog
2005-05-13 18:35:21,335 INFO [STDOUT] ***** Loading logService Bean
2005-05-13 18:35:21,335 DEBUG [org.springframework.beans.factory.support.DefaultL istableBeanFactory] Returning cached instance of singleton bean 'logService'
2005-05-13 18:35:21,335 DEBUG [org.springframework.beans.factory.support.DefaultL istableBeanFactory] Bean with name 'logService' is a factory bean
2005-05-13 18:35:21,335 INFO [STDOUT] ***** Calling logService.log()
2005-05-13 18:35:21,397 DEBUG [org.springframework.ejb.access.LocalStatelessSessi onProxyFactoryBean] Trying to create reference to local EJB
2005-05-13 18:35:21,460 DEBUG [org.springframework.ejb.access.LocalStatelessSessi onProxyFactoryBean] Obtained reference to local EJB: java:logService:Stateless
2005-05-13 18:35:21,475 DEBUG [org.springframework.jndi.JndiTemplate] Looking up JNDI object with name [java:comp/env/ejb/BeanFactoryPath]
2005-05-13 18:35:21,475 INFO [org.springframework.context.access.ContextJndiBean FactoryLocator] BeanFactoryPath from JNDI is [applicationContext.xml]
2005-05-13 18:35:21,475 INFO [org.springframework.beans.factory.xml.XmlBeanDefin itionReader] Loading XML bean definitions from class path resource [applicationContext.xml]
2005-05-13 18:35:21,475 DEBUG [org.springframework.beans.factory.xml.XmlBeanDefin itionReader] Using JAXP implementation [org.apache.xerces.jaxp.DocumentBuilderFactoryImpl@ 1115a61]
2005-05-13 18:35:21,475 DEBUG [org.springframework.context.support.ResourceEntity Resolver] Trying to resolve XML entity with public ID [-//SPRING//DTD BEAN//EN] and system ID [http://www.springframework.org/dtd/spring-beans.dtd]
2005-05-13 18:35:21,475 DEBUG [org.springframework.context.support.ResourceEntity Resolver] Trying to locate [spring-beans.dtd] under [/org/springframework/beans/factory/xml/]
2005-05-13 18:35:21,475 DEBUG [org.springframework.context.support.ResourceEntity Resolver] Found beans DTD [http://www.springframework.org/dtd/spring-beans.dtd] in classpath
2005-05-13 18:35:21,491 DEBUG [org.springframework.beans.factory.xml.DefaultXmlBe anDefinitionParser] Loading bean definitions
2005-05-13 18:35:21,491 DEBUG [org.springframework.beans.factory.xml.DefaultXmlBe anDefinitionParser] Default lazy init 'false'
2005-05-13 18:35:21,491 DEBUG [org.springframework.beans.factory.xml.DefaultXmlBe anDefinitionParser] Default dependency check 'none'
2005-05-13 18:35:21,491 DEBUG [org.springframework.beans.factory.xml.DefaultXmlBe anDefinitionParser] Default autowire 'no'
2005-05-13 18:35:21,491 DEBUG [org.springframework.beans.factory.xml.DefaultXmlBe anDefinitionParser] Found 2 <bean> elements defining beans
2005-05-13 18:35:21,491 INFO [org.springframework.context.support.ClassPathXmlAp plicationContext] Bean factory for application context [org.springframework.context.support.ClassPathXmlAp plicationContext;hashCode=31636903]: org.springframework.beans.factory.support.DefaultL istableBeanFactory defining beans [messageSource,logService]; root of BeanFactory hierarchy
2005-05-13 18:35:21,491 INFO [org.springframework.context.support.ClassPathXmlAp plicationContext] 2 beans defined in application context [org.springframework.context.support.ClassPathXmlAp plicationContext;hashCode=31636903]
2005-05-13 18:35:21,491 DEBUG [org.springframework.core.CollectionFactory] Creating java.util.LinkedHashMap
2005-05-13 18:35:21,491 DEBUG [org.springframework.core.CollectionFactory] Creating java.util.LinkedHashMap
2005-05-13 18:35:21,491 INFO [org.springframework.beans.factory.support.DefaultL istableBeanFactory] Creating shared instance of singleton bean 'messageSource'
2005-05-13 18:35:21,491 DEBUG [org.springframework.beans.factory.support.DefaultL istableBeanFactory] Creating instance of bean 'messageSource' with merged definition [Root bean with class [org.springframework.context.support.ResourceBundle MessageSource] defined in class path resource [applicationContext.xml]]
2005-05-13 18:35:21,491 DEBUG [org.springframework.beans.CachedIntrospectionResul ts] Using cached introspection results for class [org.springframework.context.support.ResourceBundle MessageSource]
2005-05-13 18:35:21,491 DEBUG [org.springframework.beans.BeanWrapperImpl] About to invoke write method [public void org.springframework.context.support.ResourceBundle MessageSource.setBasenames(java.lang.String[])] on object of class [org.springframework.context.support.ResourceBundle MessageSource]
2005-05-13 18:35:21,491 DEBUG [org.springframework.beans.BeanWrapperImpl] Invoked write method [public void org.springframework.context.support.ResourceBundle MessageSource.setBasenames(java.lang.String[])] with value [[Ljava.lang.String;@44ac5e]
2005-05-13 18:35:21,491 DEBUG [org.springframework.beans.factory.support.DefaultL istableBeanFactory] Invoking BeanPostProcessors before initialization of bean 'messageSource'
2005-05-13 18:35:21,491 DEBUG [org.springframework.beans.factory.support.DefaultL istableBeanFactory] Invoking BeanPostProcessors after initialization of bean 'messageSource'
2005-05-13 18:35:21,491 INFO [org.springframework.context.support.ClassPathXmlAp plicationContext] Using MessageSource [org.springframework.context.support.ResourceBundle MessageSource: basenames=[format,exceptions,windows]]
2005-05-13 18:35:21,491 INFO [org.springframework.context.support.ClassPathXmlAp plicationContext] Unable to locate ApplicationEventMulticaster with name 'applicationEventMulticaster': using default [org.springframework.context.event.SimpleApplicatio nEventMulticaster@904f75]
2005-05-13 18:35:21,491 DEBUG [org.springframework.context.support.ClassPathXmlAp plicationContext] Refreshing listeners
2005-05-13 18:35:21,491 DEBUG [org.springframework.core.CollectionFactory] Creating java.util.LinkedHashMap
2005-05-13 18:35:21,491 DEBUG [org.springframework.context.support.ClassPathXmlAp plicationContext] Found 0 listeners in bean factory
2005-05-13 18:35:21,491 INFO [org.springframework.beans.factory.support.DefaultL istableBeanFactory] Pre-instantiating singletons in factory [org.springframework.beans.factory.support.DefaultL istableBeanFactory defining beans [messageSource,logService]; root of BeanFactory hierarchy]
2005-05-13 18:35:21,491 DEBUG [org.springframework.beans.factory.support.DefaultL istableBeanFactory] Returning cached instance of singleton bean 'messageSource'
2005-05-13 18:35:21,491 INFO [org.springframework.beans.factory.support.DefaultL istableBeanFactory] Creating shared instance of singleton bean 'logService'
2005-05-13 18:35:21,491 DEBUG [org.springframework.beans.factory.support.DefaultL istableBeanFactory] Creating instance of bean 'logService' with merged definition [Root bean with class [org.springframework.ejb.access.LocalStatelessSessi onProxyFactoryBean] defined in class path resource [applicationContext.xml]]
2005-05-13 18:35:21,491 DEBUG [org.springframework.beans.CachedIntrospectionResul ts] Using cached introspection results for class [org.springframework.ejb.access.LocalStatelessSessi onProxyFactoryBean]
2005-05-13 18:35:21,491 DEBUG [org.springframework.beans.BeanWrapperImpl] About to invoke write method [public void org.springframework.jndi.JndiObjectLocator.setJndi Name(java.lang.String)] on object of class [org.springframework.ejb.access.LocalStatelessSessi onProxyFactoryBean]
2005-05-13 18:35:21,491 DEBUG [org.springframework.beans.BeanWrapperImpl] Invoked write method [public void org.springframework.jndi.JndiObjectLocator.setJndi Name(java.lang.String)] with value [java:logService]
2005-05-13 18:35:21,491 DEBUG [org.springframework.beans.BeanWrapperImpl] Converting String to [boolean] using property editor [sun.beans.editors.BoolEditor@16b277f]
2005-05-13 18:35:21,491 DEBUG [org.springframework.beans.BeanWrapperImpl] About to invoke write method [public void org.springframework.jndi.JndiLocatorSupport.setRes ourceRef(boolean)] on object of class [org.springframework.ejb.access.LocalStatelessSessi onProxyFactoryBean]
2005-05-13 18:35:21,491 DEBUG [org.springframework.beans.BeanWrapperImpl] Invoked write method [public void org.springframework.jndi.JndiLocatorSupport.setRes ourceRef(boolean)] with value [true]
2005-05-13 18:35:21,491 DEBUG [org.springframework.beans.BeanWrapperImpl] Converting String to [class java.lang.Class] using property editor [org.springframework.beans.propertyeditors.ClassEdi tor@1ee2ea8]
2005-05-13 18:35:21,491 DEBUG [org.springframework.beans.BeanWrapperImpl] About to invoke write method [public void org.springframework.ejb.access.LocalStatelessSessi onProxyFactoryBean.setBusinessInterface(java.lang. Class)] on object of class [org.springframework.ejb.access.LocalStatelessSessi onProxyFactoryBean]
2005-05-13 18:35:21,491 DEBUG [org.springframework.beans.BeanWrapperImpl] Invoked write method [public void org.springframework.ejb.access.LocalStatelessSessi onProxyFactoryBean.setBusinessInterface(java.lang. Class)] with value [interface com.taifook.datasync.ejb.LogService]
2005-05-13 18:35:21,491 DEBUG [org.springframework.beans.factory.support.DefaultL istableBeanFactory] Invoking BeanPostProcessors before initialization of bean 'logService'
2005-05-13 18:35:21,491 DEBUG [org.springframework.beans.factory.support.DefaultL istableBeanFactory] Invoking afterPropertiesSet() on bean with beanName 'logService'
2005-05-13 18:35:21,491 DEBUG [org.springframework.jndi.JndiTemplate] Looking up JNDI object with name [java:logService]
2005-05-13 18:35:21,491 DEBUG [org.springframework.ejb.access.LocalStatelessSessi onProxyFactoryBean] Located object with JNDI name [java:logService]
2005-05-13 18:35:21,491 DEBUG [org.springframework.core.CollectionFactory] Creating java.util.IdentityHashMap
2005-05-13 18:35:21,491 DEBUG [org.springframework.aop.framework.ProxyFactory] Added new aspect interface: com.taifook.datasync.ejb.LogService
2005-05-13 18:35:21,491 DEBUG [org.springframework.aop.framework.JdkDynamicAopPro xy] Creating JDK dynamic proxy
2005-05-13 18:35:21,522 DEBUG [org.springframework.beans.factory.support.DefaultL istableBeanFactory] Invoking BeanPostProcessors after initialization of bean 'logService'
2005-05-13 18:35:21,522 DEBUG [org.springframework.beans.factory.support.DefaultL istableBeanFactory] Calling code asked for FactoryBean instance for name 'logService'
2005-05-13 18:35:21,522 DEBUG [org.springframework.beans.factory.support.DefaultL istableBeanFactory] Returning cached instance of singleton bean 'logService'
2005-05-13 18:35:21,522 DEBUG [org.springframework.beans.factory.support.DefaultL istableBeanFactory] Bean with name 'logService' is a factory bean
2005-05-13 18:35:21,522 DEBUG [org.springframework.context.support.ClassPathXmlAp plicationContext] Publishing event in context [org.springframework.context.support.ClassPathXmlAp plicationContext;hashCode=31636903]: org.springframework.context.event.ContextRefreshed Event[source=org.springframework.context.support.ClassPa thXmlApplicationContext: display name [org.springframework.context.support.ClassPathXmlAp plicationContext;hashCode=31636903]; startup date [Fri May 13 18:35:21 GMT+08:00 2005]; root of context hierarchy]
2005-05-13 18:35:21,522 DEBUG [org.springframework.beans.factory.support.DefaultL istableBeanFactory] Returning cached instance of singleton bean 'logService'
2005-05-13 18:35:21,522 DEBUG [org.springframework.beans.factory.support.DefaultL istableBeanFactory] Bean with name 'logService' is a factory bean
2005-05-13 18:35:21,522 DEBUG [org.springframework.ejb.access.LocalStatelessSessi onProxyFactoryBean] Trying to create reference to local EJB
2005-05-13 18:35:21,522 DEBUG [org.springframework.ejb.access.LocalStatelessSessi onProxyFactoryBean] Obtained reference to local EJB: java:logService:Stateless
2005-05-13 18:35:21,522 DEBUG [org.springframework.jndi.JndiTemplate] Looking up JNDI object with name [java:comp/env/ejb/BeanFactoryPath]
2005-05-13 18:35:21,522 INFO [org.springframework.context.access.ContextJndiBean FactoryLocator] BeanFactoryPath from JNDI is [applicationContext.xml]
2005-05-13 18:35:21,522 INFO [org.springframework.beans.factory.xml.XmlBeanDefin itionReader] Loading XML bean definitions from class path resource [applicationContext.xml]
2005-05-13 18:35:21,522 DEBUG [org.springframework.beans.factory.xml.XmlBeanDefin itionReader] Using JAXP implementation [org.apache.xerces.jaxp.DocumentBuilderFactoryImpl@ 14c7deb]
2005-05-13 18:35:21,538 DEBUG [org.springframework.context.support.ResourceEntity Resolver] Trying to resolve XML entity with public ID [-//SPRING//DTD BEAN//EN] and system ID [http://www.springframework.org/dtd/spring-beans.dtd]
2005-05-13 18:35:21,538 DEBUG [org.springframework.context.support.ResourceEntity Resolver] Trying to locate [spring-beans.dtd] under [/org/springframework/beans/factory/xml/]
2005-05-13 18:35:21,538 DEBUG [org.springframework.context.support.ResourceEntity Resolver] Found beans DTD [http://www.springframework.org/dtd/spring-beans.dtd] in classpath
2005-05-13 18:35:21,538 DEBUG [org.springframework.beans.factory.xml.DefaultXmlBe anDefinitionParser] Loading bean definitions
2005-05-13 18:35:21,538 DEBUG [org.springframework.beans.factory.xml.DefaultXmlBe anDefinitionParser] Default lazy init 'false'
2005-05-13 18:35:21,538 DEBUG [org.springframework.beans.factory.xml.DefaultXmlBe anDefinitionParser] Default dependency check 'none'
2005-05-13 18:35:21,538 DEBUG [org.springframework.beans.factory.xml.DefaultXmlBe anDefinitionParser] Default autowire 'no'
2005-05-13 18:35:21,538 DEBUG [org.springframework.beans.factory.xml.DefaultXmlBe anDefinitionParser] Found 2 <bean> elements defining beans
2005-05-13 18:35:21,538 INFO [org.springframework.context.support.ClassPathXmlAp plicationContext] Bean factory for application context [org.springframework.context.support.ClassPathXmlAp plicationContext;hashCode=30507140]: org.springframework.beans.factory.support.DefaultL istableBeanFactory defining beans [messageSource,logService]; root of BeanFactory hierarchy
2005-05-13 18:35:21,538 INFO [org.springframework.context.support.ClassPathXmlAp plicationContext] 2 beans defined in application context [org.springframework.context.support.ClassPathXmlAp plicationContext;hashCode=30507140]
2005-05-13 18:35:21,538 DEBUG [org.springframework.core.CollectionFactory] Creating java.util.LinkedHashMap
2005-05-13 18:35:21,538 DEBUG [org.springframework.core.CollectionFactory] Creating java.util.LinkedHashMap
2005-05-13 18:35:21,538 INFO [org.springframework.beans.factory.support.DefaultL istableBeanFactory] Creating shared instance of singleton bean 'messageSource'
2005-05-13 18:35:21,538 DEBUG [org.springframework.beans.factory.support.DefaultL istableBeanFactory] Creating instance of bean 'messageSource' with merged definition [Root bean with class [org.springframework.context.support.ResourceBundle MessageSource] defined in class path resource [applicationContext.xml]]
2005-05-13 18:35:21,538 DEBUG [org.springframework.beans.CachedIntrospectionResul ts] Using cached introspection results for class [org.springframework.context.support.ResourceBundle MessageSource]
2005-05-13 18:35:21,538 DEBUG [org.springframework.beans.BeanWrapperImpl] About to invoke write method [public void org.springframework.context.support.ResourceBundle MessageSource.setBasenames(java.lang.String[])] on object of class [org.springframework.context.support.ResourceBundle MessageSource]
2005-05-13 18:35:21,538 DEBUG [org.springframework.beans.BeanWrapperImpl] Invoked write method [public void org.springframework.context.support.ResourceBundle MessageSource.setBasenames(java.lang.String[])] with value [[Ljava.lang.String;@17e6064]
2005-05-13 18:35:21,538 DEBUG [org.springframework.beans.factory.support.DefaultL istableBeanFactory] Invoking BeanPostProcessors before initialization of bean 'messageSource'
2005-05-13 18:35:21,538 DEBUG [org.springframework.beans.factory.support.DefaultL istableBeanFactory] Invoking BeanPostProcessors after initialization of bean 'messageSource'
2005-05-13 18:35:21,538 INFO [org.springframework.context.support.ClassPathXmlAp plicationContext] Using MessageSource [org.springframework.context.support.ResourceBundle MessageSource: basenames=[format,exceptions,windows]]
2005-05-13 18:35:21,538 INFO [org.springframework.context.support.ClassPathXmlAp plicationContext] Unable to locate ApplicationEventMulticaster with name 'applicationEventMulticaster': using default [org.springframework.context.event.SimpleApplicatio nEventMulticaster@1ea817f]
2005-05-13 18:35:21,538 DEBUG [org.springframework.context.support.ClassPathXmlAp plicationContext] Refreshing listeners
2005-05-13 18:35:21,538 DEBUG [org.springframework.core.CollectionFactory] Creating java.util.LinkedHashMap
2005-05-13 18:35:21,538 DEBUG [org.springframework.context.support.ClassPathXmlAp plicationContext] Found 0 listeners in bean factory
2005-05-13 18:35:21,538 INFO [org.springframework.beans.factory.support.DefaultL istableBeanFactory] Pre-instantiating singletons in factory [org.springframework.beans.factory.support.DefaultL istableBeanFactory defining beans [messageSource,logService]; root of BeanFactory hierarchy]
2005-05-13 18:35:21,538 DEBUG [org.springframework.beans.factory.support.DefaultL istableBeanFactory] Returning cached instance of singleton bean 'messageSource'
2005-05-13 18:35:21,538 INFO [org.springframework.beans.factory.support.DefaultL istableBeanFactory] Creating shared instance of singleton bean 'logService'
2005-05-13 18:35:21,538 DEBUG [org.springframework.beans.factory.support.DefaultL istableBeanFactory] Creating instance of bean 'logService' with merged definition [Root bean with class [org.springframework.ejb.access.LocalStatelessSessi onProxyFactoryBean] defined in class path resource [applicationContext.xml]]
2005-05-13 18:35:21,538 DEBUG [org.springframework.beans.CachedIntrospectionResul ts] Using cached introspection results for class [org.springframework.ejb.access.LocalStatelessSessi onProxyFactoryBean]
2005-05-13 18:35:21,538 DEBUG [org.springframework.beans.BeanWrapperImpl] About to invoke write method [public void org.springframework.jndi.JndiObjectLocator.setJndi Name(java.lang.String)] on object of class [org.springframework.ejb.access.LocalStatelessSessi onProxyFactoryBean]
2005-05-13 18:35:21,538 DEBUG [org.springframework.beans.BeanWrapperImpl] Invoked write method [public void org.springframework.jndi.JndiObjectLocator.setJndi Name(java.lang.String)] with value [java:logService]
2005-05-13 18:35:21,538 DEBUG [org.springframework.beans.BeanWrapperImpl] Converting String to [boolean] using property editor [sun.beans.editors.BoolEditor@1264666]
2005-05-13 18:35:21,538 DEBUG [org.springframework.beans.BeanWrapperImpl] About to invoke write method [public void org.springframework.jndi.JndiLocatorSupport.setRes ourceRef(boolean)] on object of class [org.springframework.ejb.access.LocalStatelessSessi onProxyFactoryBean]
2005-05-13 18:35:21,538 DEBUG [org.springframework.beans.BeanWrapperImpl] Invoked write method [public void org.springframework.jndi.JndiLocatorSupport.setRes ourceRef(boolean)] with value [true]
2005-05-13 18:35:21,538 DEBUG [org.springframework.beans.BeanWrapperImpl] Converting String to [class java.lang.Class] using property editor [org.springframework.beans.propertyeditors.ClassEdi tor@1d7f3f4]
2005-05-13 18:35:21,538 DEBUG [org.springframework.beans.BeanWrapperImpl] About to invoke write method [public void org.springframework.ejb.access.LocalStatelessSessi onProxyFactoryBean.setBusinessInterface(java.lang. Class)] on object of class [org.springframework.ejb.access.LocalStatelessSessi onProxyFactoryBean]
2005-05-13 18:35:21,538 DEBUG [org.springframework.beans.BeanWrapperImpl] Invoked write method [public void org.springframework.ejb.access.LocalStatelessSessi onProxyFactoryBean.setBusinessInterface(java.lang. Class)] with value [interface com.taifook.datasync.ejb.LogService]
2005-05-13 18:35:21,538 DEBUG [org.springframework.beans.factory.support.DefaultL istableBeanFactory] Invoking BeanPostProcessors before initialization of bean 'logService'
2005-05-13 18:35:21,538 DEBUG [org.springframework.beans.factory.support.DefaultL istableBeanFactory] Invoking afterPropertiesSet() on bean with beanName 'logService'
2005-05-13 18:35:21,538 DEBUG [org.springframework.jndi.JndiTemplate] Looking up JNDI object with name [java:logService]
2005-05-13 18:35:21,538 DEBUG [org.springframework.ejb.access.LocalStatelessSessi onProxyFactoryBean] Located object with JNDI name [java:logService]
2005-05-13 18:35:21,538 DEBUG [org.springframework.core.CollectionFactory] Creating java.util.IdentityHashMap
2005-05-13 18:35:21,538 DEBUG [org.springframework.aop.framework.ProxyFactory] Added new aspect interface: com.taifook.datasync.ejb.LogService
2005-05-13 18:35:21,538 DEBUG [org.springframework.aop.framework.JdkDynamicAopPro xy] Creating JDK dynamic proxy
2005-05-13 18:35:21,538 DEBUG [org.springframework.beans.factory.support.DefaultL istableBeanFactory] Invoking BeanPostProcessors after initialization of bean 'logService'
2005-05-13 18:35:21,538 DEBUG [org.springframework.beans.factory.support.DefaultL istableBeanFactory] Calling code asked for FactoryBean instance for name 'logService'
2005-05-13 18:35:21,538 DEBUG [org.springframework.beans.factory.support.DefaultL istableBeanFactory] Returning cached instance of singleton bean 'logService'
2005-05-13 18:35:21,538 DEBUG [org.springframework.beans.factory.support.DefaultL istableBeanFactory] Bean with name 'logService' is a factory bean
2005-05-13 18:35:21,538 DEBUG [org.springframework.context.support.ClassPathXmlAp plicationContext] Publishing event in context [org.springframework.context.support.ClassPathXmlAp plicationContext;hashCode=30507140]: org.springframework.context.event.ContextRefreshed Event[source=org.springframework.context.support.ClassPa thXmlApplicationContext: display name [org.springframework.context.support.ClassPathXmlAp plicationContext;hashCode=30507140]; startup date [Fri May 13 18:35:21 GMT+08:00 2005]; root of context hierarchy]
2005-05-13 18:35:21,538 DEBUG [org.springframework.beans.factory.support.DefaultL istableBeanFactory] Returning cached instance of singleton bean 'logService'
2005-05-13 18:35:21,538 DEBUG [org.springframework.beans.factory.support.DefaultL istableBeanFactory] Bean with name 'logService' is a factory bean
2005-05-13 18:35:21,538 DEBUG [org.springframework.ejb.access.LocalStatelessSessi onProxyFactoryBean] Trying to create reference to local EJB
2005-05-13 18:35:21,538 DEBUG [org.springframework.ejb.access.LocalStatelessSessi onProxyFactoryBean] Obtained reference to local EJB: java:logService:Stateless
2005-05-13 18:35:21,538 DEBUG [org.springframework.jndi.JndiTemplate] Looking up JNDI object with name [java:comp/env/ejb/BeanFactoryPath]
2005-05-13 18:35:21,553 INFO [org.springframework.context.access.ContextJndiBean FactoryLocator] BeanFactoryPath from JNDI is [applicationContext.xml]
2005-05-13 18:35:21,553 INFO [org.springframework.beans.factory.xml.XmlBeanDefin itionReader] Loading XML bean definitions from class path resource [applicationContext.xml]
2005-05-13 18:35:21,553 DEBUG [org.springframework.beans.factory.xml.XmlBeanDefin itionReader] Using JAXP implementation [org.apache.xerces.jaxp.DocumentBuilderFactoryImpl@ 81b83c]
2005-05-13 18:35:21,553 DEBUG [org.springframework.context.support.ResourceEntity Resolver] Trying to resolve XML entity with public ID [-//SPRING//DTD BEAN//EN] and system ID [http://www.springframework.org/dtd/spring-beans.dtd]
2005-05-13 18:35:21,553 DEBUG [org.springframework.context.support.ResourceEntity Resolver] Trying to locate [spring-beans.dtd] under [/org/springframework/beans/factory/xml/]
2005-05-13 18:35:21,553 DEBUG [org.springframework.context.support.ResourceEntity Resolver] Found beans DTD [http://www.springframework.org/dtd/spring-beans.dtd] in classpath
2005-05-13 18:35:21,553 DEBUG [org.springframework.beans.factory.xml.DefaultXmlBe anDefinitionParser] Loading bean definitions
2005-05-13 18:35:21,553 DEBUG [org.springframework.beans.factory.xml.DefaultXmlBe anDefinitionParser] Default lazy init 'false'
2005-05-13 18:35:21,553 DEBUG [org.springframework.beans.factory.xml.DefaultXmlBe anDefinitionParser] Default dependency check 'none'
2005-05-13 18:35:21,553 DEBUG [org.springframework.beans.factory.xml.DefaultXmlBe anDefinitionParser] Default autowire 'no'
2005-05-13 18:35:21,553 DEBUG [org.springframework.beans.factory.xml.DefaultXmlBe anDefinitionParser] Found 2 <bean> elements defining beans
2005-05-13 18:35:21,553 INFO [org.springframework.context.support.ClassPathXmlAp plicationContext] Bean factory for application context [org.springframework.context.support.ClassPathXmlAp plicationContext;hashCode=26465010]: org.springframework.beans.factory.support.DefaultL istableBeanFactory defining beans [messageSource,logService]; root of BeanFactory hierarchy
2005-05-13 18:35:21,553 INFO [org.springframework.context.support.ClassPathXmlAp plicationContext] 2 beans defined in application context [org.springframework.context.support.ClassPathXmlAp plicationContext;hashCode=26465010]
2005-05-13 18:35:21,553 DEBUG [org.springframework.core.CollectionFactory] Creating java.util.LinkedHashMap
2005-05-13 18:35:21,553 DEBUG [org.springframework.core.CollectionFactory] Creating java.util.LinkedHashMap
2005-05-13 18:35:21,553 INFO [org.springframework.beans.factory.support.DefaultL istableBeanFactory] Creating shared instance of singleton bean 'messageSource'
2005-05-13 18:35:21,553 DEBUG [org.springframework.beans.factory.support.DefaultL istableBeanFactory] Creating instance of bean 'messageSource' with merged definition [Root bean with class [org.springframework.context.support.ResourceBundle MessageSource] defined in class path resource [applicationContext.xml]]
2005-05-13 18:35:21,553 DEBUG [org.springframework.beans.CachedIntrospectionResul ts] Using cached introspection results for class [org.springframework.context.support.ResourceBundle MessageSource]
2005-05-13 18:35:21,553 DEBUG [org.springframework.beans.BeanWrapperImpl] About to invoke write method [public void org.springframework.context.support.ResourceBundle MessageSource.setBasenames(java.lang.String[])] on object of class [org.springframework.context.support.ResourceBundle MessageSource]
2005-05-13 18:35:21,553 DEBUG [org.springframework.beans.BeanWrapperImpl] Invoked write method [public void org.springframework.context.support.ResourceBundle MessageSource.setBasenames(java.lang.String[])] with value [[Ljava.lang.String;@4683c2]
2005-05-13 18:35:21,553 DEBUG [org.springframework.beans.factory.support.DefaultL istableBeanFactory] Invoking BeanPostProcessors before initialization of bean 'messageSource'
2005-05-13 18:35:21,553 DEBUG [org.springframework.beans.factory.support.DefaultL istableBeanFactory] Invoking BeanPostProcessors after initialization of bean 'messageSource'
2005-05-13 18:35:21,553 INFO [org.springframework.context.support.ClassPathXmlAp plicationContext] Using MessageSource [org.springframework.context.support.ResourceBundle MessageSource: basenames=[format,exceptions,windows]]
2005-05-13 18:35:21,553 INFO [org.springframework.context.support.ClassPathXmlAp plicationContext] Unable to locate ApplicationEventMulticaster with name 'applicationEventMulticaster': using default [org.springframework.context.event.SimpleApplicatio nEventMulticaster@1743ff4]
2005-05-13 18:35:21,553 DEBUG [org.springframework.context.support.ClassPathXmlAp plicationContext] Refreshing listeners
2005-05-13 18:35:21,553 DEBUG [org.springframework.core.CollectionFactory] Creating java.util.LinkedHashMap
2005-05-13 18:35:21,553 DEBUG [org.springframework.context.support.ClassPathXmlAp plicationContext] Found 0 listeners in bean factory
2005-05-13 18:35:21,553 INFO [org.springframework.beans.factory.support.DefaultL istableBeanFactory] Pre-instantiating singletons in factory [org.springframework.beans.factory.support.DefaultL istableBeanFactory defining beans [messageSource,logService]; root of BeanFactory hierarchy]
2005-05-13 18:35:21,553 DEBUG [org.springframework.beans.factory.support.DefaultL istableBeanFactory] Returning cached instance of singleton bean 'messageSource'
2005-05-13 18:35:21,553 INFO [org.springframework.beans.factory.support.DefaultL istableBeanFactory] Creating shared instance of singleton bean 'logService'
2005-05-13 18:35:21,553 DEBUG [org.springframework.beans.factory.support.DefaultL istableBeanFactory] Creating instance of bean 'logService' with merged definition [Root bean with class [org.springframework.ejb.access.LocalStatelessSessi onProxyFactoryBean] defined in class path resource [applicationContext.xml]]
2005-05-13 18:35:21,553 DEBUG [org.springframework.beans.CachedIntrospectionResul ts] Using cached introspection results for class [org.springframework.ejb.access.LocalStatelessSessi onProxyFactoryBean]
2005-05-13 18:35:21,553 DEBUG [org.springframework.beans.BeanWrapperImpl] About to invoke write method [public void org.springframework.jndi.JndiObjectLocator.setJndi Name(java.lang.String)] on object of class [org.springframework.ejb.access.LocalStatelessSessi onProxyFactoryBean]
2005-05-13 18:35:21,553 DEBUG [org.springframework.beans.BeanWrapperImpl] Invoked write method [public void org.springframework.jndi.JndiObjectLocator.setJndi Name(java.lang.String)] with value [java:logService]
2005-05-13 18:35:21,553 DEBUG [org.springframework.beans.BeanWrapperImpl] Converting String to [boolean] using property editor [sun.beans.editors.BoolEditor@112bd54]
2005-05-13 18:35:21,553 DEBUG [org.springframework.beans.BeanWrapperImpl] About to invoke write method [public void org.springframework.jndi.JndiLocatorSupport.setRes ourceRef(boolean)] on object of class [org.springframework.ejb.access.LocalStatelessSessi onProxyFactoryBean]
2005-05-13 18:35:21,553 DEBUG [org.springframework.beans.BeanWrapperImpl] Invoked write method [public void org.springframework.jndi.JndiLocatorSupport.setRes ourceRef(boolean)] with value [true]
2005-05-13 18:35:21,553 DEBUG [org.springframework.beans.BeanWrapperImpl] Converting String to [class java.lang.Class] using property editor [org.springframework.beans.propertyeditors.ClassEdi tor@14c0275]
2005-05-13 18:35:21,553 DEBUG [org.springframework.beans.BeanWrapperImpl] About to invoke write method [public void org.springframework.ejb.access.LocalStatelessSessi onProxyFactoryBean.setBusinessInterface(java.lang. Class)] on object of class [org.springframework.ejb.access.LocalStatelessSessi onProxyFactoryBean]
2005-05-13 18:35:21,553 DEBUG [org.springframework.beans.BeanWrapperImpl] Invoked write method [public void org.springframework.ejb.access.LocalStatelessSessi onProxyFactoryBean.setBusinessInterface(java.lang. Class)] with value [interface com.taifook.datasync.ejb.LogService]
2005-05-13 18:35:21,553 DEBUG [org.springframework.beans.factory.support.DefaultL istableBeanFactory] Invoking BeanPostProcessors before initialization of bean 'logService'
2005-05-13 18:35:21,553 DEBUG [org.springframework.beans.factory.support.DefaultL istableBeanFactory] Invoking afterPropertiesSet() on bean with beanName 'logService'
2005-05-13 18:35:21,553 DEBUG [org.springframework.jndi.JndiTemplate] Looking up JNDI object with name [java:logService]
2005-05-13 18:35:21,553 DEBUG [org.springframework.ejb.access.LocalStatelessSessi onProxyFactoryBean] Located object with JNDI name [java:logService]
2005-05-13 18:35:21,553 DEBUG [org.springframework.core.CollectionFactory] Creating java.util.IdentityHashMap
2005-05-13 18:35:21,553 DEBUG [org.springframework.aop.framework.ProxyFactory] Added new aspect interface: com.taifook.datasync.ejb.LogService
2005-05-13 18:35:21,553 DEBUG [org.springframework.aop.framework.JdkDynamicAopPro xy] Creating JDK dynamic proxy
2005-05-13 18:35:21,553 DEBUG [org.springframework.beans.factory.support.DefaultL istableBeanFactory] Invoking BeanPostProcessors after initialization of bean 'logService'
2005-05-13 18:35:21,569 DEBUG [org.springframework.beans.factory.support.DefaultL istableBeanFactory] Calling code asked for FactoryBean instance for name 'logService'
2005-05-13 18:35:21,569 DEBUG [org.springframework.beans.factory.support.DefaultL istableBeanFactory] Returning cached instance of singleton bean 'logService'
2005-05-13 18:35:21,569 DEBUG [org.springframework.beans.factory.support.DefaultL istableBeanFactory] Bean with name 'logService' is a factory bean
2005-05-13 18:35:21,569 DEBUG [org.springframework.context.support.ClassPathXmlAp plicationContext] Publishing event in context [org.springframework.context.support.ClassPathXmlAp plicationContext;hashCode=26465010]: org.springframework.context.event.ContextRefreshed Event[source=org.springframework.context.support.ClassPa thXmlApplicationContext: display name [org.springframework.context.support.ClassPathXmlAp plicationContext;hashCode=26465010]; startup date [Fri May 13 18:35:21 GMT+08:00 2005]; root of context hierarchy]
2005-05-13 18:35:21,569 DEBUG [org.springframework.beans.factory.support.DefaultL istableBeanFactory] Returning cached instance of singleton bean 'logService'
2005-05-13 18:35:21,569 DEBUG [org.springframework.beans.factory.support.DefaultL istableBeanFactory] Bean with name 'logService' is a factory bean
2005-05-13 18:35:21,569 DEBUG [org.springframework.ejb.access.LocalStatelessSessi onProxyFactoryBean] Trying to create reference to local EJB
2005-05-13 18:35:21,569 DEBUG [org.springframework.ejb.access.LocalStatelessSessi onProxyFactoryBean] Obtained reference to local EJB: java:logService:Stateless
2005-05-13 18:35:21,569 DEBUG [org.springframework.jndi.JndiTemplate] Looking up JNDI object with name [java:comp/env/ejb/BeanFactoryPath]
2005-05-13 18:35:21,569 INFO [org.springframework.context.access.ContextJndiBean FactoryLocator] BeanFactoryPath from JNDI is [applicationContext.xml]
2005-05-13 18:35:21,569 INFO [org.springframework.beans.factory.xml.XmlBeanDefin itionReader] Loading XML bean definitions from class path resource [applicationContext.xml]
2005-05-13 18:35:21,569 DEBUG [org.springframework.beans.factory.xml.XmlBeanDefin itionReader] Using JAXP implementation [org.apache.xerces.jaxp.DocumentBuilderFactoryImpl@ 52f73e]
2005-05-13 18:35:21,569 DEBUG [org.springframework.context.support.ResourceEntity Resolver] Trying to resolve XML entity with public ID [-//SPRING//DTD BEAN//EN] and system ID [http://www.springframework.org/dtd/spring-beans.dtd]
2005-05-13 18:35:21,569 DEBUG [org.springframework.context.support.ResourceEntity Resolver] Trying to locate [spring-beans.dtd] under [/org/springframework/beans/factory/xml/]
2005-05-13 18:35:21,569 DEBUG [org.springframework.context.support.ResourceEntity Resolver] Found beans DTD [http://www.springframework.org/dtd/spring-beans.dtd] in classpath
2005-05-13 18:35:21,569 DEBUG [org.springframework.beans.factory.xml.DefaultXmlBe anDefinitionParser] Loading bean definitions
2005-05-13 18:35:21,569 DEBUG [org.springframework.beans.factory.xml.DefaultXmlBe anDefinitionParser] Default lazy init 'false'
2005-05-13 18:35:21,569 DEBUG [org.springframework.beans.factory.xml.DefaultXmlBe anDefinitionParser] Default dependency check 'none'
2005-05-13 18:35:21,569 DEBUG [org.springframework.beans.factory.xml.DefaultXmlBe anDefinitionParser] Default autowire 'no'
2005-05-13 18:35:21,569 DEBUG [org.springframework.beans.factory.xml.DefaultXmlBe anDefinitionParser] Found 2 <bean> elements defining beans
2005-05-13 18:35:21,569 INFO [org.springframework.context.support.ClassPathXmlAp plicationContext] Bean factory for application context [org.springframework.context.support.ClassPathXmlAp plicationContext;hashCode=4630104]: org.springframework.beans.factory.support.DefaultL istableBeanFactory defining beans [messageSource,logService]; root of BeanFactory hierarchy
2005-05-13 18:35:21,569 INFO [org.springframework.context.support.ClassPathXmlAp plicationContext] 2 beans defined in application context [org.springframework.context.support.ClassPathXmlAp plicationContext;hashCode=4630104]
2005-05-13 18:35:21,569 DEBUG [org.springframework.core.CollectionFactory] Creating java.util.LinkedHashMap
2005-05-13 18:35:21,569 DEBUG [org.springframework.core.CollectionFactory] Creating java.util.LinkedHashMap
2005-05-13 18:35:21,569 INFO [org.springframework.beans.factory.support.DefaultL istableBeanFactory] Creating shared instance of singleton bean 'messageSource'
2005-05-13 18:35:21,569 DEBUG [org.springframework.beans.factory.support.DefaultL istableBeanFactory] Creating instance of bean 'messageSource' with merged definition [Root bean with class [org.springframework.context.support.ResourceBundle MessageSource] defined in class path resource [applicationContext.xml]]
2005-05-13 18:35:21,569 DEBUG [org.springframework.beans.CachedIntrospectionResul ts] Using cached introspection results for class [org.springframework.context.support.ResourceBundle MessageSource]
2005-05-13 18:35:21,569 DEBUG [org.springframework.beans.BeanWrapperImpl] About to invoke write method [public void org.springframework.context.support.ResourceBundle MessageSource.setBasenames(java.lang.String[])] on object of class [org.springframework.context.support.ResourceBundle MessageSource]
2005-05-13 18:35:21,569 DEBUG [org.springframework.beans.BeanWrapperImpl] Invoked write method [public void org.springframework.context.support.ResourceBundle MessageSource.setBasenames(java.lang.String[])] with value [[Ljava.lang.String;@8bfdea]
2005-05-13 18:35:21,569 DEBUG [org.springframework.beans.factory.support.DefaultL istableBeanFactory] Invoking BeanPostProcessors before initialization of bean 'messageSour


Reply With Quote
