-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 6 posts ] 
Author Message
 Post subject: CodeGenerationException with WSAD 5.1
PostPosted: Mon Jan 12, 2004 6:30 am 
Newbie

Joined: Mon Jan 12, 2004 6:23 am
Posts: 5
I have a web application which just configures a session factory. I get the following exception shown below just by excecuting:

Code:
config = new Configuration();
config.configure();
         
SessionFactory factory = config.buildSessionFactory();



the code is executed from a servlet. the model classes are stored in an utility.jar. the code works fine if I have the model classes in a classes directory in the web-inf folder (not an utility jar).

I tried it with cglib reflection optimizer on and off, same result.

I run the code in the WSAD test environment, I havn't tried it in websphere yet. I have recompiled hibernate for use with jdk 1.3.

thanks, Peter




Code:
10:15:23,858 DEBUG Configuration:628 - resolving reference to class: com.north.model.Territory
10:15:23,858 DEBUG Configuration:628 - resolving reference to class: com.north.model.Employee
10:15:23,858 DEBUG Configuration:628 - resolving reference to class: com.north.model.Employee
10:15:23,858 DEBUG Configuration:628 - resolving reference to class: com.north.model.Customer
10:15:23,858 DEBUG Configuration:628 - resolving reference to class: com.north.model.Shipper
10:15:23,858 DEBUG Configuration:628 - resolving reference to class: com.north.model.Employee
10:15:23,920  INFO Dialect:82 - Using dialect: net.sf.hibernate.dialect.SQLServerDialect
10:15:23,920  INFO SettingsFactory:62 - Use outer join fetching: true
10:15:23,936  WARN UserSuppliedConnectionProvider:25 - No connection properties specified - the user must supply JDBC connections
10:15:23,951  INFO TransactionManagerLookupFactory:33 - No TransactionManagerLookup configured (in JTA environment, use of process level read-write cache is not recommended)
10:15:23,951  INFO SettingsFactory:89 - Use scrollable result sets: false
10:15:23,951  INFO SettingsFactory:99 - Query language substitutions: {}
10:15:23,951  INFO SettingsFactory:110 - cache provider: net.sf.ehcache.hibernate.Provider
10:15:23,967  INFO Configuration:1057 - instantiating and configuring caches
10:15:24,279  INFO SessionFactoryImpl:119 - building session factory
10:15:24,279 DEBUG SessionFactoryImpl:125 - instantiating session factory with properties: {
<<removed>>
C:/wsad5.1/workspace/.metadata/.plugins/com.ibm.etools.server.core/tmp0/cache, workspace.user.root=C:/wsad5.1/workspace/.metadata/.plugins/com.ibm.etools.server.core/tmp0/wstemp, hibernate.show_sql=false}
10:15:24,592  INFO ReflectHelper:160 - reflection optimizer disabled for: com.north.model.Customer, CodeGenerationException: java.lang.reflect.InvocationTargetException-->null

[12/01/04 10:15:25:170 GMT]  8a2aa80 WebGroup      E SRVE0026E: [Servlet Error]-[TestServlet]: net.sf.cglib.core.CodeGenerationException: java.lang.reflect.InvocationTargetException-->null
   at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:206)
   at net.sf.cglib.reflect.FastClass$Generator.create(FastClass.java:92)
   at net.sf.cglib.reflect.FastClass.create(FastClass.java:74)
   at net.sf.hibernate.persister.AbstractEntityPersister.<init>(AbstractEntityPersister.java:763)
   at net.sf.hibernate.persister.EntityPersister.<init>(EntityPersister.java:699)
   at net.sf.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:41)
   at net.sf.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:137)
   at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:739)
   at com.north.web.TestServlet.doGet(TestServlet.java:53)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
   at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
   at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
   at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
   at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
   at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
   at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
   at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
   at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:948)
   at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:530)
   at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:176)
   at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:79)
   at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:201)
   at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
   at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)
   at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
   at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
   at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:610)
   at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:431)
   at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:593)
Code:


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 13, 2004 10:22 am 
Regular
Regular

Joined: Mon Nov 24, 2003 6:36 pm
Posts: 105
i use wsad 5.1, and have no issues with hibernate.

How are you configuring? XML, or properties file?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 13, 2004 10:33 am 
Newbie

Joined: Mon Jan 12, 2004 6:23 am
Posts: 5
I figured out what causes the problem (I have no solution though): I have a web app which uses persistent classes from a utiltiy project. the web app has all the hibernate code and the model classes are in the utiltity project.

the problem occurs if the dependency from the web app to the utility.jar is configured using "Java JAR Dependencies" web project configuration page (this creates a Manifest.mf class path dependency).

If I remove this checkmark and add the dependency project to the "web library projects" then everything works (this is not the configuration how I want to structure my ear though).


Peter


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 13, 2004 11:13 am 
CGLIB Developer
CGLIB Developer

Joined: Thu Aug 28, 2003 1:44 pm
Posts: 1217
Location: Vilnius, Lithuania
do you have more stack trace ?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 13, 2004 11:37 am 
Newbie

Joined: Mon Jan 12, 2004 6:23 am
Posts: 5
Here is the full stack trace. the stack trace is a little bit different because I have put all my hibernate stuff in a class "CustomerDelegate". but the exception is the same.

Peter


[code]
*** Starting the server ***
************ Start Display Current Environment ************
WebSphere Platform 5.0 [BASE 5.0.2 ptf2M0325.01] running with process name localhost\localhost\server1 and process id 584
Host Operating System is Windows NT, version 4.0
Java version = J2RE 1.3.1 IBM Windows 32 build cn131-20030711a (JIT enabled: jitc), Java Compiler = jitc, Java VM name = Classic VM
was.install.root = C:\wsad5.1\runtimes\base_v5
user.install.root = C:\wsad5.1\runtimes\base_v5
Java Home = C:\wsad5.1\runtimes\base_v5\java\jre
ws.ext.dirs = C:\wsad5.1\runtimes\base_v5/java/lib;C:\wsad5.1\runtimes\base_v5/classes;C:\wsad5.1\runtimes\base_v5/classes;C:\wsad5.1\runtimes\base_v5/lib;C:\wsad5.1\runtimes\base_v5/lib/ext;C:\wsad5.1\runtimes\base_v5/web/help;C:\wsad5.1\runtimes\base_v5/deploytool/itp/plugins/com.ibm.etools.ejbdeploy/runtime;C:/wsad5.1/wstools/eclipse/plugins/com.ibm.etools.webservice_5.1.0.1/runtime/worf.jar
Classpath = C:\wsad5.1\runtimes\base_v5/properties;C:\wsad5.1\runtimes\base_v5/properties;C:\wsad5.1\runtimes\base_v5/lib/bootstrap.jar;C:\wsad5.1\runtimes\base_v5/lib/j2ee.jar;C:\wsad5.1\runtimes\base_v5/lib/lmproxy.jar;C:/wsad5.1/wstools/eclipse/plugins/com.ibm.etools.websphere.tools.common_5.1.0/runtime/wteServers.jar;C:/wsad5.1/wstools/eclipse/plugins/com.ibm.etools.websphere.tools.common_5.1.0/runtime/wasToolsCommon.jar
Java Library path = << deleted >>
************* End Display Current Environment *************
[13/01/04 15:21:30:878 GMT] 261c7651 ManagerAdmin I TRAS0017I: The startup trace state is *=all=disabled.
[13/01/04 15:21:31:440 GMT] 261c7651 AdminInitiali A ADMN0015I: AdminService initialized
[13/01/04 15:21:32:534 GMT] 261c7651 Configuration A SECJ0215I: Successfully set JAAS login provider configuration class to com.ibm.ws.security.auth.login.Configuration.
[13/01/04 15:21:32:581 GMT] 261c7651 SecurityDM I SECJ0231I: The Security component's FFDC Diagnostic Module com.ibm.ws.security.core.SecurityDM registered successfully: true.
[13/01/04 15:21:32:706 GMT] 261c7651 SecurityCompo I SECJ0309I: Java 2 Security is disabled.
[13/01/04 15:21:32:721 GMT] 261c7651 SecurityCompo I SECJ0212I: WCCM JAAS configuration information successfully pushed to login provider class.
[13/01/04 15:21:32:737 GMT] 261c7651 SecurityCompo I SECJ0240I: Security service initialization completed successfully
[13/01/04 15:21:32:737 GMT] 261c7651 JMSRegistrati A MSGS0602I: WebSphere Embedded Messaging Client only has been installed
[13/01/04 15:21:35:190 GMT] 261c7651 JMSMQJDProvid A MSGS0656I: Starting the MQJD JMS Provider
[13/01/04 15:21:35:378 GMT] 261c7651 JMSMQJDProvid A MSGS0650I: MQJD JMS Provider open for business
[13/01/04 15:21:35:971 GMT] 261c7651 ResourceMgrIm I WSVR0049I: Binding TestCF as jms/TestQueueCF
[13/01/04 15:21:36:081 GMT] 261c7651 ResourceMgrIm I WSVR0049I: Binding TestQueue as jms/TestQueue
[13/01/04 15:21:36:300 GMT] 261c7651 ResourceMgrIm I WSVR0049I: Binding Data source 1_CF as eis/jdbc/datasource1_CMP
[13/01/04 15:21:36:346 GMT] 261c7651 ResourceMgrIm I WSVR0049I: Binding Data source 1 as jdbc/datasource1
[13/01/04 15:21:36:925 GMT] 261c7651 CacheServiceI I DYNA0048I: WebSphere Dynamic Cache initialized successfully.
[13/01/04 15:21:38:940 GMT] 261c7651 JMXSoapAdapte A ADMC0013I: SOAP connector available at port 8880
[13/01/04 15:21:38:956 GMT] 261c7651 SecurityCompo I SECJ0243I: Security service started successfully
[13/01/04 15:21:38:956 GMT] 261c7651 SecurityCompo I SECJ0210I: Security enabled false
[13/01/04 15:21:40:065 GMT] 261c7651 ApplicationMg A WSVR0200I: Starting application: IBMUTC
[13/01/04 15:21:40:487 GMT] 261c7651 WebContainer A SRVE0161I: IBM WebSphere Application Server - Web Container. Copyright IBM Corp. 1998-2002
[13/01/04 15:21:40:503 GMT] 261c7651 WebContainer A SRVE0162I: Servlet Specification Level: 2.3
[13/01/04 15:21:40:503 GMT] 261c7651 WebContainer A SRVE0163I: Supported JSP Specification Level: 1.2
[13/01/04 15:21:40:581 GMT] 261c7651 WebContainer A SRVE0169I: Loading Web Module: IBM Universal Test Client.
[13/01/04 15:21:40:737 GMT] 261c7651 WebGroup I SRVE0180I: [IBM Universal Test Client] [/UTC] [Servlet.LOG]: JSP 1.2 Processor: init
[13/01/04 15:21:40:862 GMT] 261c7651 WebGroup I SRVE0180I: [IBM Universal Test Client] [/UTC] [Servlet.LOG]: SimpleFileServlet: init
[13/01/04 15:21:40:940 GMT] 261c7651 ApplicationMg A WSVR0221I: Application started: IBMUTC
[13/01/04 15:21:40:940 GMT] 261c7651 ApplicationMg A WSVR0200I: Starting application: adminconsole
[13/01/04 15:21:41:128 GMT] 261c7651 WebContainer A SRVE0169I: Loading Web Module: adminconsole.
[13/01/04 15:21:41:159 GMT] 261c7651 WebGroup I SRVE0180I: [adminconsole] [/admin] [Servlet.LOG]: JSP 1.2 Processor: init
[13/01/04 15:21:41:315 GMT] 261c7651 WebGroup I SRVE0180I: [adminconsole] [/admin] [Servlet.LOG]: SimpleFileServlet: init
[13/01/04 15:21:41:331 GMT] 261c7651 WebGroup I SRVE0180I: [adminconsole] [/admin] [Servlet.LOG]: InvokerServlet: init
[13/01/04 15:21:41:362 GMT] 261c7651 WebGroup I SRVE0180I: [adminconsole] [/admin] [Servlet.LOG]: validator: init
[13/01/04 15:21:42:097 GMT] 261c7651 WebGroup I SRVE0180I: [adminconsole] [/admin] [Servlet.LOG]: EventInitializer: init
[13/01/04 15:21:42:175 GMT] 261c7651 WebGroup I SRVE0180I: [adminconsole] [/admin] [Servlet.LOG]: action: init
[13/01/04 15:21:43:050 GMT] 261c7651 WebGroup I SRVE0180I: [adminconsole] [/admin] [Servlet.LOG]: action: Tiles definition factory loaded
[13/01/04 15:21:43:065 GMT] 261c7651 WebGroup I SRVE0180I: [adminconsole] [/admin] [Servlet.LOG]: SecureCleanup: init
[13/01/04 15:21:43:097 GMT] 261c7651 ApplicationMg A WSVR0221I: Application started: adminconsole
[13/01/04 15:21:43:097 GMT] 261c7651 ApplicationMg A WSVR0200I: Starting application: NorthEAR
[13/01/04 15:21:43:550 GMT] 261c7651 WebContainer A SRVE0169I: Loading Web Module: NorthWeb.
[13/01/04 15:21:43:581 GMT] 261c7651 WebGroup I SRVE0180I: [NorthWeb] [/NorthWeb] [Servlet.LOG]: JSP 1.2 Processor: init
[13/01/04 15:21:44:440 GMT] 261c7651 WebGroup I SRVE0180I: [NorthWeb] [/NorthWeb] [Servlet.LOG]: SimpleFileServlet: init
[13/01/04 15:21:44:440 GMT] 261c7651 WebGroup I SRVE0180I: [NorthWeb] [/NorthWeb] [Servlet.LOG]: InvokerServlet: init
[13/01/04 15:21:44:440 GMT] 261c7651 WebGroup I SRVE0180I: [NorthWeb] [/NorthWeb] [Servlet.LOG]: Log4jConfigServlet: init
[13/01/04 15:21:44:456 GMT] 261c7651 WebGroup I SRVE0180I: [NorthWeb] [/NorthWeb] [Servlet.LOG]: Set web app root system property: webapp.root = C:\wsad5.1\workspace\NorthWeb\WebContent
[13/01/04 15:21:44:456 GMT] 261c7651 WebGroup I SRVE0180I: [NorthWeb] [/NorthWeb] [Servlet.LOG]: Initializing Log4J from [C:\wsad5.1\workspace\NorthWeb\WebContent\WEB-INF\log4j.properties]
[13/01/04 15:21:44:737 GMT] 261c7651 WebGroup I SRVE0180I: [NorthWeb] [/NorthWeb] [Servlet.LOG]: ContextLoaderServlet: init
[13/01/04 15:21:44:862 GMT] 261c7651 WebGroup I SRVE0180I: [NorthWeb] [/NorthWeb] [Servlet.LOG]: Loading root WebApplicationContext
[13/01/04 15:21:44:987 GMT] 261c7651 SystemOut O 15:21:44,972 INFO XmlBeanDefinitionReader:103 - Loading XmlBeanFactory from resource [resource [/WEB-INF/application-context.xml] of ServletContext 'NorthWeb']
15:21:44,987 DEBUG XmlBeanDefinitionReader:105 - Using JAXP implementation [org.apache.xerces.jaxp.DocumentBuilderFactoryImpl@197bb64d]
15:21:45,003 DEBUG ResourceBaseEntityResolver:34 - Trying to resolve XML entity with public ID [-//SPRING//DTD BEAN//EN] and system ID [http://www.springframework.org/dtd/spring-beans.dtd]
15:21:45,003 DEBUG ResourceBaseEntityResolver:40 - Trying to locate [spring-beans.dtd] under [org/springframework/beans/factory/xml/]
15:21:45,018 DEBUG ResourceBaseEntityResolver:43 - Found beans DTD [http://www.springframework.org/dtd/spring-beans.dtd] in class path
15:21:45,018 DEBUG DefaultXmlBeanDefinitionParser:112 - Loading bean definitions
15:21:45,018 DEBUG DefaultXmlBeanDefinitionParser:116 - Default lazy init 'false'
15:21:45,018 DEBUG DefaultXmlBeanDefinitionParser:118 - Default dependency check 'none'
15:21:45,018 DEBUG DefaultXmlBeanDefinitionParser:120 - Default autowire 'no'
15:21:45,050 DEBUG DefaultXmlBeanDefinitionParser:185 - Registering bean definition with id 'myDataSource'
15:21:45,065 DEBUG DefaultXmlBeanDefinitionParser:185 - Registering bean definition with id 'sessionFactory'
15:21:45,081 DEBUG DefaultXmlBeanDefinitionParser:185 - Registering bean definition with id 'customerDelegate'
15:21:45,081 DEBUG DefaultXmlBeanDefinitionParser:131 - Found 3 <bean> elements defining beans
15:21:45,081 INFO XmlWebApplicationContext:60 - Bean factory for application context: org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [customerDelegate,myDataSource,sessionFactory]; Root of BeanFactory hierarchy
15:21:45,081 INFO XmlWebApplicationContext:261 - 3 beans defined in ApplicationContext [Root XmlWebApplicationContext]
15:21:45,097 INFO XmlWebApplicationContext:338 - No MessageSource found for [Root XmlWebApplicationContext]: using empty StaticMessageSource
15:21:45,112 INFO UiApplicationContextUtils:46 - No ThemeSource found for [Root XmlWebApplicationContext]: using ResourceBundleThemeSource
15:21:45,112 INFO XmlWebApplicationContext:358 - Refreshing listeners
15:21:45,128 DEBUG XmlWebApplicationContext:360 - Found 0 listeners in bean factory
15:21:45,128 INFO DefaultListableBeanFactory:197 - Pre-instantiating singletons in factory [org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [customerDelegate,myDataSource,sessionFactory]; Root of BeanFactory hierarchy]
15:21:45,128 INFO DefaultListableBeanFactory:187 - Creating shared instance of singleton bean 'customerDelegate'
15:21:45,128 DEBUG DefaultListableBeanFactory:519 - Creating instance of bean 'customerDelegate' with merged definition [Root bean definition with class [com.north.web.impl.LocalCustomerDelegate]]
15:21:45,175 DEBUG CachedIntrospectionResults:78 - Getting BeanInfo for class [com.north.web.impl.LocalCustomerDelegate]
15:21:45,190 DEBUG CachedIntrospectionResults:81 - Caching PropertyDescriptors for class [com.north.web.impl.LocalCustomerDelegate]
15:21:45,190 DEBUG CachedIntrospectionResults:86 - Found property 'class' of type [class java.lang.Class]; editor=[null]
15:21:45,190 DEBUG CachedIntrospectionResults:86 - Found property 'sessionFactory' of type [interface net.sf.hibernate.SessionFactory]; editor=[null]
15:21:45,190 DEBUG CachedIntrospectionResults:91 - Caching MethodDescriptors for class [com.north.web.impl.LocalCustomerDelegate]
15:21:45,190 DEBUG CachedIntrospectionResults:96 - Found method 'notifyAll' of type [void]
15:21:45,190 DEBUG CachedIntrospectionResults:96 - Found method 'toString' of type [class java.lang.String]
15:21:45,190 DEBUG CachedIntrospectionResults:96 - Found method 'equals' of type [boolean]
15:21:45,190 DEBUG CachedIntrospectionResults:96 - Found method 'wait' of type [void]
15:21:45,190 DEBUG CachedIntrospectionResults:96 - Found method 'wait' of type [void]
15:21:45,190 DEBUG CachedIntrospectionResults:96 - Found method 'getSessionFactory' of type [interface net.sf.hibernate.SessionFactory]
15:21:45,190 DEBUG CachedIntrospectionResults:96 - Found method 'wait' of type [void]
15:21:45,190 DEBUG CachedIntrospectionResults:96 - Found method 'hashCode' of type [int]
15:21:45,206 DEBUG CachedIntrospectionResults:96 - Found method 'getClass' of type [class java.lang.Class]
15:21:45,206 DEBUG CachedIntrospectionResults:96 - Found method 'getOrders' of type [interface java.util.List]
15:21:45,206 DEBUG CachedIntrospectionResults:96 - Found method 'setSessionFactory' of type [void]
15:21:45,206 DEBUG CachedIntrospectionResults:96 - Found method 'notify' of type [void]
15:21:45,206 DEBUG DefaultListableBeanFactory:978 - Resolving reference from property 'sessionFactory' in bean 'customerDelegate' to bean 'sessionFactory'
15:21:45,222 INFO DefaultListableBeanFactory:187 - Creating shared instance of singleton bean 'sessionFactory'
15:21:45,222 DEBUG DefaultListableBeanFactory:519 - Creating instance of bean 'sessionFactory' with merged definition [Root bean definition with class [org.springframework.orm.hibernate.LocalSessionFactoryBean]]
15:21:45,222 DEBUG CachedIntrospectionResults:78 - Getting BeanInfo for class [org.springframework.orm.hibernate.LocalSessionFactoryBean]
15:21:45,237 DEBUG CachedIntrospectionResults:81 - Caching PropertyDescriptors for class [org.springframework.orm.hibernate.LocalSessionFactoryBean]
15:21:45,237 DEBUG CachedIntrospectionResults:86 - Found property 'dataSource' of type [interface javax.sql.DataSource]; editor=[null]
15:21:45,253 DEBUG CachedIntrospectionResults:86 - Found property 'objectType' of type [class java.lang.Class]; editor=[null]
15:21:45,253 DEBUG CachedIntrospectionResults:86 - Found property 'mappingResourceJars' of type [class [Ljava.lang.String;]; editor=[null]
15:21:45,253 DEBUG CachedIntrospectionResults:86 - Found property 'mappingResources' of type [class [Ljava.lang.String;]; editor=[null]
15:21:45,253 DEBUG CachedIntrospectionResults:86 - Found property 'class' of type [class java.lang.Class]; editor=[null]
15:21:45,253 DEBUG CachedIntrospectionResults:86 - Found property 'singleton' of type [boolean]; editor=[null]
15:21:45,253 DEBUG CachedIntrospectionResults:86 - Found property 'object' of type [class java.lang.Object]; editor=[null]
15:21:45,253 DEBUG CachedIntrospectionResults:86 - Found property 'entityInterceptor' of type [interface net.sf.hibernate.Interceptor]; editor=[null]
15:21:45,253 DEBUG CachedIntrospectionResults:86 - Found property 'configLocation' of type [class java.lang.String]; editor=[null]
15:21:45,253 DEBUG CachedIntrospectionResults:86 - Found property 'hibernateProperties' of type [class java.util.Properties]; editor=[null]
15:21:45,253 DEBUG CachedIntrospectionResults:86 - Found property 'schemaUpdate' of type [boolean]; editor=[null]
15:21:45,253 DEBUG CachedIntrospectionResults:91 - Caching MethodDescriptors for class [org.springframework.orm.hibernate.LocalSessionFactoryBean]
15:21:45,253 DEBUG CachedIntrospectionResults:96 - Found method 'setSchemaUpdate' of type [void]
15:21:45,253 DEBUG CachedIntrospectionResults:96 - Found method 'wait' of type [void]
15:21:45,268 DEBUG CachedIntrospectionResults:96 - Found method 'notifyAll' of type [void]
15:21:45,268 DEBUG CachedIntrospectionResults:96 - Found method 'setDataSource' of type [void]
15:21:45,268 DEBUG CachedIntrospectionResults:96 - Found method 'setEntityInterceptor' of type [void]
15:21:45,268 DEBUG CachedIntrospectionResults:96 - Found method 'equals' of type [boolean]
15:21:45,268 DEBUG CachedIntrospectionResults:96 - Found method 'notify' of type [void]
15:21:45,268 DEBUG CachedIntrospectionResults:96 - Found method 'setConfigLocation' of type [void]
15:21:45,268 DEBUG CachedIntrospectionResults:96 - Found method 'afterPropertiesSet' of type [void]
15:21:45,268 DEBUG CachedIntrospectionResults:96 - Found method 'wait' of type [void]
15:21:45,268 DEBUG CachedIntrospectionResults:96 - Found method 'setMappingResources' of type [void]
15:21:45,268 DEBUG CachedIntrospectionResults:96 - Found method 'setMappingResourceJars' of type [void]
15:21:45,268 DEBUG CachedIntrospectionResults:96 - Found method 'wait' of type [void]
15:21:45,268 DEBUG CachedIntrospectionResults:96 - Found method 'toString' of type [class java.lang.String]
15:21:45,268 DEBUG CachedIntrospectionResults:96 - Found method 'hashCode' of type [int]
15:21:45,268 DEBUG CachedIntrospectionResults:96 - Found method 'getObjectType' of type [class java.lang.Class]
15:21:45,268 DEBUG CachedIntrospectionResults:96 - Found method 'getObject' of type [class java.lang.Object]
15:21:45,268 DEBUG CachedIntrospectionResults:96 - Found method 'destroy' of type [void]
15:21:45,268 DEBUG CachedIntrospectionResults:96 - Found method 'isSingleton' of type [boolean]
15:21:45,284 DEBUG CachedIntrospectionResults:96 - Found method 'setHibernateProperties' of type [void]
15:21:45,284 DEBUG CachedIntrospectionResults:96 - Found method 'getClass' of type [class java.lang.Class]
15:21:45,284 DEBUG DefaultListableBeanFactory:978 - Resolving reference from property 'dataSource' in bean 'sessionFactory' to bean 'myDataSource'
15:21:45,284 INFO DefaultListableBeanFactory:187 - Creating shared instance of singleton bean 'myDataSource'
15:21:45,284 DEBUG DefaultListableBeanFactory:519 - Creating instance of bean 'myDataSource' with merged definition [Root bean definition with class [org.springframework.jndi.JndiObjectFactoryBean]]
15:21:45,284 DEBUG CachedIntrospectionResults:78 - Getting BeanInfo for class [org.springframework.jndi.JndiObjectFactoryBean]
15:21:45,300 DEBUG CachedIntrospectionResults:81 - Caching PropertyDescriptors for class [org.springframework.jndi.JndiObjectFactoryBean]
15:21:45,315 DEBUG CachedIntrospectionResults:86 - Found property 'inContainer' of type [boolean]; editor=[null]
15:21:45,315 DEBUG CachedIntrospectionResults:86 - Found property 'objectType' of type [class java.lang.Class]; editor=[null]
15:21:45,315 DEBUG CachedIntrospectionResults:86 - Found property 'object' of type [class java.lang.Object]; editor=[null]
15:21:45,315 DEBUG CachedIntrospectionResults:86 - Found property 'jndiTemplate' of type [class org.springframework.jndi.JndiTemplate]; editor=[null]
15:21:45,315 DEBUG CachedIntrospectionResults:86 - Found property 'singleton' of type [boolean]; editor=[null]
15:21:45,315 DEBUG CachedIntrospectionResults:86 - Found property 'class' of type [class java.lang.Class]; editor=[null]
15:21:45,315 DEBUG CachedIntrospectionResults:86 - Found property 'jndiName' of type [class java.lang.String]; editor=[null]
15:21:45,315 DEBUG CachedIntrospectionResults:91 - Caching MethodDescriptors for class [org.springframework.jndi.JndiObjectFactoryBean]
15:21:45,315 DEBUG CachedIntrospectionResults:96 - Found method 'wait' of type [void]
15:21:45,315 DEBUG CachedIntrospectionResults:96 - Found method 'notifyAll' of type [void]
15:21:45,315 DEBUG CachedIntrospectionResults:96 - Found method 'isInContainer' of type [boolean]
15:21:45,315 DEBUG CachedIntrospectionResults:96 - Found method 'equals' of type [boolean]
15:21:45,315 DEBUG CachedIntrospectionResults:96 - Found method 'notify' of type [void]
15:21:45,315 DEBUG CachedIntrospectionResults:96 - Found method 'afterPropertiesSet' of type [void]
15:21:45,331 DEBUG CachedIntrospectionResults:96 - Found method 'getJndiName' of type [class java.lang.String]
15:21:45,393 DEBUG CachedIntrospectionResults:96 - Found method 'wait' of type [void]
15:21:45,393 DEBUG CachedIntrospectionResults:96 - Found method 'wait' of type [void]
15:21:45,393 DEBUG CachedIntrospectionResults:96 - Found method 'getJndiTemplate' of type [class org.springframework.jndi.JndiTemplate]
15:21:45,393 DEBUG CachedIntrospectionResults:96 - Found method 'toString' of type [class java.lang.String]
15:21:45,393 DEBUG CachedIntrospectionResults:96 - Found method 'hashCode' of type [int]
15:21:45,393 DEBUG CachedIntrospectionResults:96 - Found method 'setJndiName' of type [void]
15:21:45,393 DEBUG CachedIntrospectionResults:96 - Found method 'getObjectType' of type [class java.lang.Class]
15:21:45,393 DEBUG CachedIntrospectionResults:96 - Found method 'setJndiTemplate' of type [void]
15:21:45,393 DEBUG CachedIntrospectionResults:96 - Found method 'getObject' of type [class java.lang.Object]
15:21:45,393 DEBUG CachedIntrospectionResults:96 - Found method 'isSingleton' of type [boolean]
15:21:45,409 DEBUG CachedIntrospectionResults:96 - Found method 'getClass' of type [class java.lang.Class]
15:21:45,409 DEBUG CachedIntrospectionResults:96 - Found method 'setInContainer' of type [void]
15:21:45,409 DEBUG BeanWrapperImpl:555 - About to invoke write method [public final void org.springframework.jndi.AbstractJndiLocator.setJndiName(java.lang.String)] on object of class [org.springframework.jndi.JndiObjectFactoryBean]
15:21:45,409 DEBUG BeanWrapperImpl:564 - Invoked write method [public final void org.springframework.jndi.AbstractJndiLocator.setJndiName(java.lang.String)] with value [jdbc/datasource1]
15:21:45,409 DEBUG DefaultListableBeanFactory:1024 - Calling afterPropertiesSet() on bean with name 'myDataSource'
15:21:45,425 DEBUG JndiTemplate:73 - Looking up JNDI object with name 'java:comp/env/jdbc/datasource1'

[13/01/04 15:21:45:831 GMT] 261c7651 ConnectionFac I J2CA0107I: Component-managed authentication alias not specified for connection factory or datasource Data source 1.
15:21:45,862 DEBUG JndiObjectFactoryBean:126 - Successfully looked up object with jndiName 'java:comp/env/jdbc/datasource1': value=[com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource@3c3df65d]
15:21:45,862 DEBUG DefaultListableBeanFactory:829 - Invoking BeanPostProcessors on bean with name 'myDataSource'
15:21:45,878 DEBUG DefaultListableBeanFactory:484 - Bean with name 'myDataSource' is a factory bean
15:21:45,878 DEBUG BeanWrapperImpl:555 - About to invoke write method [public void org.springframework.orm.hibernate.LocalSessionFactoryBean.setMappingResources(java.lang.String[])] on object of class [org.springframework.orm.hibernate.LocalSessionFactoryBean]
15:21:45,878 DEBUG BeanWrapperImpl:564 - Invoked write method [public void org.springframework.orm.hibernate.LocalSessionFactoryBean.setMappingResources(java.lang.String[])] with value [[Ljava.lang.String;@4f9b365c]
15:21:45,878 DEBUG BeanWrapperImpl:555 - About to invoke write method [public void org.springframework.orm.hibernate.LocalSessionFactoryBean.setHibernateProperties(java.util.Properties)] on object of class [org.springframework.orm.hibernate.LocalSessionFactoryBean]
15:21:45,878 DEBUG BeanWrapperImpl:567 - Invoked write method [public void org.springframework.orm.hibernate.LocalSessionFactoryBean.setHibernateProperties(java.util.Properties)] with value of type [java.util.Properties]
15:21:45,878 DEBUG BeanWrapperImpl:555 - About to invoke write method [public void org.springframework.orm.hibernate.LocalSessionFactoryBean.setDataSource(javax.sql.DataSource)] on object of class [org.springframework.orm.hibernate.LocalSessionFactoryBean]
15:21:45,878 DEBUG BeanWrapperImpl:567 - Invoked write method [public void org.springframework.orm.hibernate.LocalSessionFactoryBean.setDataSource(javax.sql.DataSource)] with value of type [javax.sql.DataSource]
15:21:45,878 DEBUG DefaultListableBeanFactory:1024 - Calling afterPropertiesSet() on bean with name 'sessionFactory'
15:21:45,925 INFO Environment:432 - Hibernate 2.1.1
15:21:45,925 INFO Environment:461 - hibernate.properties not found
15:21:45,925 INFO Environment:481 - using CGLIB reflection optimizer
15:21:45,940 INFO Environment:504 - JVM does not support LinkedHasMap, LinkedHashSet - ordered maps and sets disabled
15:21:45,940 INFO Environment:507 - using workaround for JVM bug in java.sql.Timestamp
15:21:45,940 INFO Configuration:300 - Mapping resource: com/north/model/northwind.hbm.xml
15:21:46,112 DEBUG DTDEntityResolver:20 - trying to locate http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath under net/sf/hibernate/
15:21:46,112 DEBUG DTDEntityResolver:29 - found http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath
15:21:46,331 INFO Binder:225 - Mapping class: com.north.model.Category -> Categories
15:21:46,503 DEBUG Binder:449 - Mapped property: CategoryID -> CategoryID, type: integer
15:21:46,534 DEBUG Binder:449 - Mapped property: CategoryName -> CategoryName, type: string
15:21:46,534 DEBUG Binder:449 - Mapped property: Description -> Description, type: string
15:21:46,565 DEBUG Binder:449 - Mapped property: Products, type: java.util.Collection
15:21:46,565 INFO Binder:225 - Mapping class: com.north.model.Customer -> Customers
15:21:46,581 DEBUG Binder:449 - Mapped property: CustomerID -> CustomerID, type: string
15:21:46,581 DEBUG Binder:449 - Mapped property: CompanyName -> CompanyName, type: string
15:21:46,581 DEBUG Binder:449 - Mapped property: ContactName -> ContactName, type: string
15:21:46,581 DEBUG Binder:449 - Mapped property: ContactTitle -> ContactTitle, type: string
15:21:46,581 DEBUG Binder:449 - Mapped property: Address -> Address, type: string
15:21:46,581 DEBUG Binder:449 - Mapped property: City -> City, type: string
15:21:46,581 DEBUG Binder:449 - Mapped property: Region -> Region, type: string
15:21:46,581 DEBUG Binder:449 - Mapped property: PostalCode -> PostalCode, type: string
15:21:46,581 DEBUG Binder:449 - Mapped property: Country -> Country, type: string
15:21:46,581 DEBUG Binder:449 - Mapped property: Phone -> Phone, type: string
15:21:46,581 DEBUG Binder:449 - Mapped property: Fax -> Fax, type: string
15:21:46,597 DEBUG Binder:449 - Mapped property: orders, type: java.util.Collection
15:21:46,597 INFO Binder:225 - Mapping class: com.north.model.Employee -> Employees
15:21:46,597 DEBUG Binder:449 - Mapped property: EmployeeID -> EmployeeID, type: integer
15:21:46,597 DEBUG Binder:449 - Mapped property: LastName -> LastName, type: string
15:21:46,597 DEBUG Binder:449 - Mapped property: FirstName -> FirstName, type: string
15:21:46,612 DEBUG Binder:449 - Mapped property: Title -> Title, type: string
15:21:46,612 DEBUG Binder:449 - Mapped property: TitleOfCourtesy -> TitleOfCourtesy, type: string
15:21:46,612 DEBUG Binder:449 - Mapped property: BirthDate -> BirthDate, type: timestamp
15:21:46,612 DEBUG Binder:449 - Mapped property: HireDate -> HireDate, type: timestamp
15:21:46,612 DEBUG Binder:449 - Mapped property: Address -> Address, type: string
15:21:46,612 DEBUG Binder:449 - Mapped property: City -> City, type: string
15:21:46,612 DEBUG Binder:449 - Mapped property: Region -> Region, type: string
15:21:46,612 DEBUG Binder:449 - Mapped property: PostalCode -> PostalCode, type: string
15:21:46,612 DEBUG Binder:449 - Mapped property: Country -> Country, type: string
15:21:46,628 DEBUG Binder:449 - Mapped property: HomePhone -> HomePhone, type: string
15:21:46,628 DEBUG Binder:449 - Mapped property: Extension -> Extension, type: string
15:21:46,628 DEBUG Binder:449 - Mapped property: Notes -> Notes, type: string
15:21:46,628 DEBUG Binder:449 - Mapped property: PhotoPath -> PhotoPath, type: string
15:21:46,628 DEBUG Binder:449 - Mapped property: Photo -> Photo, type: blob
15:21:46,628 DEBUG Binder:449 - Mapped property: Orders, type: java.util.Collection
15:21:46,628 INFO Binder:534 - Mapping collection: com.north.model.Employee.territories -> EmployeeTerritories
15:21:46,643 DEBUG Binder:449 - Mapped property: territories, type: java.util.Set
15:21:46,643 DEBUG Binder:449 - Mapped property: ReportsTo -> ReportsTo, type: com.north.model.Employee
15:21:46,643 DEBUG Binder:449 - Mapped property: ManagedEmployees, type: java.util.Collection
15:21:46,643 INFO Binder:225 - Mapping class: com.north.model.Order -> Orders
15:21:46,643 DEBUG Binder:449 - Mapped property: OrderID -> OrderID, type: integer
15:21:46,643 DEBUG Binder:449 - Mapped property: OrderDate -> OrderDate, type: timestamp
15:21:46,643 DEBUG Binder:449 - Mapped property: RequiredDate -> RequiredDate, type: timestamp
15:21:46,643 DEBUG Binder:449 - Mapped property: ShippedDate -> ShippedDate, type: timestamp
15:21:46,643 DEBUG Binder:449 - Mapped property: Freight -> Freight, type: big_decimal
15:21:46,643 DEBUG Binder:449 - Mapped property: ShipName -> ShipName, type: string
15:21:46,659 DEBUG Binder:449 - Mapped property: ShipAddress -> ShipAddress, type: string
15:21:46,659 DEBUG Binder:449 - Mapped property: ShipCity -> ShipCity, type: string
15:21:46,659 DEBUG Binder:449 - Mapped property: ShipRegion -> ShipRegion, type: string
15:21:46,659 DEBUG Binder:449 - Mapped property: ShipPostalCode -> ShipPostalCode, type: string
15:21:46,659 DEBUG Binder:449 - Mapped property: ShipCountry -> ShipCountry, type: string
15:21:46,659 DEBUG Binder:449 - Mapped property: Customer -> CustomerID, type: com.north.model.Customer
15:21:46,659 DEBUG Binder:449 - Mapped property: Employee -> EmployeeID, type: com.north.model.Employee
15:21:46,659 DEBUG Binder:449 - Mapped property: Shipper -> ShipVia, type: com.north.model.Shipper
15:21:46,675 DEBUG Binder:449 - Mapped property: OrderDetails, type: java.util.Collection
15:21:46,675 INFO Binder:225 - Mapping class: com.north.model.OrderDetail -> [Order Details]
15:21:46,675 DEBUG Binder:449 - Mapped property: OrderDetailID -> OrderDetailID, type: integer
15:21:46,675 DEBUG Binder:449 - Mapped property: Quantity -> Quantity, type: integer
15:21:46,675 DEBUG Binder:449 - Mapped property: Product -> ProductID, type: com.north.model.Product
15:21:46,675 DEBUG Binder:449 - Mapped property: Order -> OrderID, type: com.north.model.Order
15:21:46,675 INFO Binder:225 - Mapping class: com.north.model.Product -> Products
15:21:46,690 DEBUG Binder:449 - Mapped property: ProductID -> ProductID, type: integer
15:21:46,690 DEBUG Binder:449 - Mapped property: ProductName -> ProductName, type: string
15:21:46,690 DEBUG Binder:449 - Mapped property: QuantityPerUnit -> QuantityPerUnit, type: string
15:21:46,690 DEBUG Binder:449 - Mapped property: UnitPrice -> UnitPrice, type: big_decimal
15:21:46,690 DEBUG Binder:449 - Mapped property: UnitsInStock -> UnitsInStock, type: integer
15:21:46,690 DEBUG Binder:449 - Mapped property: UnitsOnOrder -> UnitsOnOrder, type: integer
15:21:46,690 DEBUG Binder:449 - Mapped property: ReorderLevel -> ReorderLevel, type: integer
15:21:46,690 DEBUG Binder:449 - Mapped property: Discontinued -> Discontinued, type: boolean
15:21:46,690 DEBUG Binder:449 - Mapped property: Category -> CategoryID, type: com.north.model.Category
15:21:46,690 DEBUG Binder:449 - Mapped property: Supplier -> SupplierID, type: com.north.model.Supplier
15:21:46,690 DEBUG Binder:449 - Mapped property: orderDetails, type: java.util.Collection
15:21:46,706 INFO Binder:225 - Mapping class: com.north.model.Region -> Region
15:21:46,706 DEBUG Binder:449 - Mapped property: RegionID -> RegionID, type: integer
15:21:46,706 DEBUG Binder:449 - Mapped property: RegionDescription -> RegionDescription, type: string
15:21:46,706 DEBUG Binder:449 - Mapped property: Territories, type: java.util.Collection
15:21:46,706 INFO Binder:225 - Mapping class: com.north.model.Shipper -> Shippers
15:21:46,706 DEBUG Binder:449 - Mapped property: ShipperID -> ShipperID, type: integer
15:21:46,706 DEBUG Binder:449 - Mapped property: CompanyName -> CompanyName, type: string
15:21:46,706 DEBUG Binder:449 - Mapped property: Phone -> Phone, type: string
15:21:46,706 DEBUG Binder:449 - Mapped property: Orders, type: java.util.Collection
15:21:46,722 INFO Binder:225 - Mapping class: com.north.model.Supplier -> Suppliers
15:21:46,722 DEBUG Binder:449 - Mapped property: SupplierID -> SupplierID, type: integer
15:21:46,722 DEBUG Binder:449 - Mapped property: CompanyName -> CompanyName, type: string
15:21:46,722 DEBUG Binder:449 - Mapped property: products, type: java.util.Collection
15:21:46,722 INFO Binder:225 - Mapping class: com.north.model.Territory -> Territories
15:21:46,722 DEBUG Binder:449 - Mapped property: TerritoryID -> TerritoryID, type: string
15:21:46,722 DEBUG Binder:449 - Mapped property: Description -> TerritoryDescription, type: string
15:21:46,722 DEBUG Binder:449 - Mapped property: Region -> RegionID, type: com.north.model.Region
15:21:46,737 INFO LocalSessionFactoryBean:244 - Building new Hibernate SessionFactory
15:21:46,737 INFO Configuration:584 - processing one-to-many association mappings
15:21:46,737 DEBUG Binder:1301 - Second pass for collection: com.north.model.Category.Products
15:21:46,737 INFO Binder:1139 - Mapping collection: com.north.model.Category.Products -> Products
15:21:46,737 DEBUG Binder:1316 - Mapped collection key: CategoryID, one-to-many: com.north.model.Product
15:21:46,737 DEBUG Binder:1301 - Second pass for collection: com.north.model.Customer.orders
15:21:46,737 INFO Binder:1139 - Mapping collection: com.north.model.Customer.orders -> Orders
15:21:46,737 DEBUG Binder:1316 - Mapped collection key: CustomerID, one-to-many: com.north.model.Order
15:21:46,753 DEBUG Binder:1301 - Second pass for collection: com.north.model.Employee.Orders
15:21:46,753 INFO Binder:1139 - Mapping collection: com.north.model.Employee.Orders -> Orders
15:21:46,753 DEBUG Binder:1316 - Mapped collection key: EmployeeID, one-to-many: com.north.model.Order
15:21:46,753 DEBUG Binder:1301 - Second pass for collection: com.north.model.Employee.territories
15:21:46,753 DEBUG Binder:1316 - Mapped collection key: EmployeeID, element: TerritoryID, type: com.north.model.Territory
15:21:46,753 DEBUG Binder:1301 - Second pass for collection: com.north.model.Employee.ManagedEmployees
15:21:46,753 INFO Binder:1139 - Mapping collection: com.north.model.Employee.ManagedEmployees -> Employees
15:21:46,753 DEBUG Binder:1316 - Mapped collection key: ReportsTo, one-to-many: com.north.model.Employee
15:21:46,753 DEBUG Binder:1301 - Second pass for collection: com.north.model.Order.OrderDetails
15:21:46,753 INFO Binder:1139 - Mapping collection: com.north.model.Order.OrderDetails -> [Order Details]
15:21:46,753 DEBUG Binder:1316 - Mapped collection key: OrderID, one-to-many: com.north.model.OrderDetail
15:21:46,753 DEBUG Binder:1301 - Second pass for collection: com.north.model.Product.orderDetails
15:21:46,753 INFO Binder:1139 - Mapping collection: com.north.model.Product.orderDetails -> [Order Details]
15:21:46,753 DEBUG Binder:1316 - Mapped collection key: ProductID, one-to-many: com.north.model.OrderDetail
15:21:46,753 DEBUG Binder:1301 - Second pass for collection: com.north.model.Region.Territories
15:21:46,768 INFO Binder:1139 - Mapping collection: com.north.model.Region.Territories -> Territories
15:21:46,768 DEBUG Binder:1316 - Mapped collection key: RegionID, one-to-many: com.north.model.Territory
15:21:46,768 DEBUG Binder:1301 - Second pass for collection: com.north.model.Shipper.Orders
15:21:46,768 INFO Binder:1139 - Mapping collection: com.north.model.Shipper.Orders -> Orders
15:21:46,768 DEBUG Binder:1316 - Mapped collection key: ShipVia, one-to-many: com.north.model.Order
15:21:46,831 DEBUG Binder:1301 - Second pass for collection: com.north.model.Supplier.products
15:21:46,831 INFO Binder:1139 - Mapping collection: com.north.model.Supplier.products -> Products
15:21:46,831 DEBUG Binder:1316 - Mapped collection key: SupplierID, one-to-many: com.north.model.Product
15:21:46,831 INFO Configuration:593 - processing one-to-one association property references
15:21:46,831 INFO Configuration:618 - processing foreign key constraints
15:21:46,831 DEBUG Configuration:628 - resolving reference to class: com.north.model.Region
15:21:46,831 DEBUG Configuration:628 - resolving reference to class: com.north.model.Category
15:21:46,831 DEBUG Configuration:628 - resolving reference to class: com.north.model.Supplier
15:21:46,847 DEBUG Configuration:628 - resolving reference to class: com.north.model.Product
15:21:46,847 DEBUG Configuration:628 - resolving reference to class: com.north.model.Order
15:21:46,847 DEBUG Configuration:628 - resolving reference to class: com.north.model.Territory
15:21:46,847 DEBUG Configuration:628 - resolving reference to class: com.north.model.Employee
15:21:46,847 DEBUG Configuration:628 - resolving reference to class: com.north.model.Employee
15:21:46,847 DEBUG Configuration:628 - resolving reference to class: com.north.model.Customer
15:21:46,847 DEBUG Configuration:628 - resolving reference to class: com.north.model.Shipper
15:21:46,847 DEBUG Configuration:628 - resolving reference to class: com.north.model.Employee
15:21:46,909 INFO Dialect:82 - Using dialect: net.sf.hibernate.dialect.SQLServerDialect
15:21:46,909 INFO SettingsFactory:62 - Use outer join fetching: true
15:21:46,925 INFO ConnectionProviderFactory:53 - Initializing connection provider: org.springframework.orm.hibernate.LocalDataSourceConnectionProvider
15:21:46,940 INFO TransactionManagerLookupFactory:33 - No TransactionManagerLookup configured (in JTA environment, use of process level read-write cache is not recommended)

[13/01/04 15:21:47:034 GMT] 261c7651 WSRdbDataSour u Database version is
8.0.194

[13/01/04 15:21:47:034 GMT] 261c7651 WSRdbDataSour u JDBC Driver version is
2.2710
15:21:47,097 INFO SettingsFactory:89 - Use scrollable result sets: true
15:21:47,097 INFO SettingsFactory:96 - echoing all SQL to stdout
15:21:47,112 INFO SettingsFactory:99 - Query language substitutions: {}
15:21:47,112 INFO SettingsFactory:110 - cache provider: net.sf.ehcache.hibernate.Provider
15:21:47,112 INFO Configuration:1057 - instantiating and configuring caches
15:21:47,362 INFO SessionFactoryImpl:119 - building session factory
15:21:47,362 DEBUG SessionFactoryImpl:125 - instantiating session factory with properties: {java.vendor=IBM Corporation, com.ibm.SOAP.requestTimeout=600, com.ibm.ejs.jts.processType=server, os.name=Windows NT,
<< deleted >>, java.specification.version=1.3, com.ibm.websphere.servlet.temp.dir=C:/wsad5.1/workspace/.metadata/.plugins/com.ibm.etools.server.core/tmp0/cache, workspace.user.root=C:/wsad5.1/workspace/.metadata/.plugins/com.ibm.etools.server.core/tmp0/wstemp, hibernate.show_sql=true}
15:21:47,612 INFO ReflectHelper:160 - reflection optimizer disabled for: com.north.model.Category, CodeGenerationException: java.lang.reflect.InvocationTargetException-->null
15:21:47,722 ERROR ContextLoader:87 - Context initialization failed
org.springframework.beans.FatalBeanException: Can't resolve reference to bean 'sessionFactory' while setting property 'sessionFactory' on bean 'customerDelegate'; nested exception is:
org.springframework.beans.FatalBeanException: afterPropertiesSet() on bean with name 'sessionFactory' threw exception; nested exception is:
net.sf.cglib.core.CodeGenerationException: java.lang.reflect.InvocationTargetException-->null
org.springframework.beans.FatalBeanException: afterPropertiesSet() on bean with name 'sessionFactory' threw exception; nested exception is:
net.sf.cglib.core.CodeGenerationException: java.lang.reflect.InvocationTargetException-->null
net.sf.cglib.core.CodeGenerationException: java.lang.reflect.InvocationTargetException-->null
at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:206)
at net.sf.cglib.reflect.FastClass$Generator.create(FastClass.java:92)
at net.sf.cglib.reflect.FastClass.create(FastClass.java:74)
at net.sf.hibernate.persister.AbstractEntityPersister.<init>(AbstractEntityPersister.java:763)
at net.sf.hibernate.persister.EntityPersister.<init>(EntityPersister.java:699)
at net.sf.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:41)
at net.sf.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:137)
at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:739)
at org.springframework.orm.hibernate.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:291)
at org.springframework.orm.hibernate.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:245)
at org.springframework.beans.factory.support.AbstractBeanFactory.callLifecycleMethodsIfNecessary(AbstractBeanFactory.java:1026)
at org.springframework.beans.factory.support.AbstractBeanFactory.createBean(AbstractBeanFactory.java:548)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:188)
at org.springframework.beans.factory.support.AbstractBeanFactory.resolveReference(AbstractBeanFactory.java:980)
at org.springframework.beans.factory.support.AbstractBeanFactory.resolveValueIfNecessary(AbstractBeanFactory.java:952)
at org.springframework.beans.factory.support.AbstractBeanFactory.applyPropertyValues(AbstractBeanFactory.java:909)
at org.springframework.beans.factory.support.AbstractBeanFactory.populateBean(AbstractBeanFactory.java:743)
at org.springframework.beans.factory.support.AbstractBeanFactory.createBean(AbstractBeanFactory.java:547)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:188)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:211)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:280)
at org.springframework.web.context.support.XmlWebApplicationContext.refresh(XmlWebApplicationContext.java:107)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:131)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:81)
at org.springframework.web.context.ContextLoaderServlet.init(ContextLoaderServlet.java:64)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doInit(StrictServletInstance.java:82)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._init(StrictLifecycleServlet.java:147)
at com.ibm.ws.webcontainer.servlet.PreInitializedServletState.init(StrictLifecycleServlet.java:270)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.init(StrictLifecycleServlet.java:113)
at com.ibm.ws.webcontainer.servlet.ServletInstance.init(ServletInstance.java:189)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at com.ibm.ws.webcontainer.webapp.WebAppServletManager.addServlet(WebAppServletManager.java:870)
at com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadServlet(WebAppServletManager.java:224)
at com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadAutoLoadServlets(WebAppServletManager.java:542)
at com.ibm.ws.webcontainer.webapp.WebApp.loadServletManager(WebApp.java:1270)
at com.ibm.ws.webcontainer.webapp.WebApp.init(WebApp.java:277)
at com.ibm.ws.webcontainer.srt.WebGroup.loadWebApp(WebGroup.java:396)
at com.ibm.ws.webcontainer.srt.WebGroup.init(WebGroup.java:216)
at com.ibm.ws.webcontainer.WebContainer.addWebApplication(WebContainer.java:984)
at com.ibm.ws.runtime.component.WebContainerImpl.install(WebContainerImpl.java:136)
at com.ibm.ws.runtime.component.WebContainerImpl.start(WebContainerImpl.java:356)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:415)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:787)
at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:351)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:575)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:268)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:246)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:543)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:418)
at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:117)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:543)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:418)
at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:183)
at com.ibm.ws.runtime.WsServer.start(WsServer.java:128)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:225)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94)
at com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:97)

[13/01/04 15:21:47:768 GMT] 261c7651 ServletInstan E SRVE0100E: Did not realize init() exception thrown by servlet ContextLoaderServlet: javax.servlet.ServletException: Can't resolve reference to bean 'sessionFactory' while setting property 'sessionFactory' on bean 'customerDelegate'; nested exception is:
org.springframework.beans.FatalBeanException: afterPropertiesSet() on bean with name 'sessionFactory' threw exception; nested exception is:
net.sf.cglib.core.CodeGenerationException: java.lang.reflect.InvocationTargetException-->null
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doInit(StrictServletInstance.java:99)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._init(StrictLifecycleServlet.java:147)
at com.ibm.ws.webcontainer.servlet.PreInitializedServletState.init(StrictLifecycleServlet.java:270)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.init(StrictLifecycleServlet.java:113)
at com.ibm.ws.webcontainer.servlet.ServletInstance.init(ServletInstance.java:189)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at com.ibm.ws.webcontainer.webapp.WebAppServletManager.addServlet(WebAppServletManager.java:870)
at com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadServlet(WebAppServletManager.java:224)
at com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadAutoLoadServlets(WebAppServletManager.java:542)
at com.ibm.ws.webcontainer.webapp.WebApp.loadServletManager(WebApp.java:1270)
at com.ibm.ws.webcontainer.webapp.WebApp.init(WebApp.java:277)
at com.ibm.ws.webcontainer.srt.WebGroup.loadWebApp(WebGroup.java:396)
at com.ibm.ws.webcontainer.srt.WebGroup.init(WebGroup.java:216)
at com.ibm.ws.webcontainer.WebContainer.addWebApplication(WebContainer.java:984)
at com.ibm.ws.runtime.component.WebContainerImpl.install(WebContainerImpl.java:136)
at com.ibm.ws.runtime.component.WebContainerImpl.start(WebContainerImpl.java:356)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:415)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:787)
at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:351)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:575)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:268)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:246)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:543)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:418)
at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:117)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:543)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:418)
at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:183)
at com.ibm.ws.runtime.WsServer.start(WsServer.java:128)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:225)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94)
at com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:97)
---- Begin backtrace for Nested Throwables
org.springframework.beans.FatalBeanException: Can't resolve reference to bean 'sessionFactory' while setting property 'sessionFactory' on bean 'customerDelegate'; nested exception is:
org.springframework.beans.FatalBeanException: afterPropertiesSet() on bean with name 'sessionFactory' threw exception; nested exception is:
net.sf.cglib.core.CodeGenerationException: java.lang.reflect.InvocationTargetException-->null
org.springframework.beans.FatalBeanException: afterPropertiesSet() on bean with name 'sessionFactory' threw exception; nested exception is:
net.sf.cglib.core.CodeGenerationException: java.lang.reflect.InvocationTargetException-->null
net.sf.cglib.core.CodeGenerationException: java.lang.reflect.InvocationTargetException-->null
at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:206)
at net.sf.cglib.reflect.FastClass$Generator.create(FastClass.java:92)
at net.sf.cglib.reflect.FastClass.create(FastClass.java:74)
at net.sf.hibernate.persister.AbstractEntityPersister.<init>(AbstractEntityPersister.java:763)
at net.sf.hibernate.persister.EntityPersister.<init>(EntityPersister.java:699)
at net.sf.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:41)
at net.sf.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:137)
at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:739)
at org.springframework.orm.hibernate.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:291)
at org.springframework.orm.hibernate.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:245)
at org.springframework.beans.factory.support.AbstractBeanFactory.callLifecycleMethodsIfNecessary(AbstractBeanFactory.java:1026)
at org.springframework.beans.factory.support.AbstractBeanFactory.createBean(AbstractBeanFactory.java:548)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:188)
at org.springframework.beans.factory.support.AbstractBeanFactory.resolveReference(AbstractBeanFactory.java:980)
at org.springframework.beans.factory.support.AbstractBeanFactory.resolveValueIfNecessary(AbstractBeanFactory.java:952)
at org.springframework.beans.factory.support.AbstractBeanFactory.applyPropertyValues(AbstractBeanFactory.java:909)
at org.springframework.beans.factory.support.AbstractBeanFactory.populateBean(AbstractBeanFactory.java:743)
at org.springframework.beans.factory.support.AbstractBeanFactory.createBean(AbstractBeanFactory.java:547)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:188)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:211)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:280)
at org.springframework.web.context.support.XmlWebApplicationContext.refresh(XmlWebApplicationContext.java:107)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:131)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:81)
at org.springframework.web.context.ContextLoaderServlet.init(ContextLoaderServlet.java:64)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doInit(StrictServletInstance.java:82)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._init(StrictLifecycleServlet.java:147)
at com.ibm.ws.webcontainer.servlet.PreInitializedServletState.init(StrictLifecycleServlet.java:270)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.init(StrictLifecycleServlet.java:113)
at com.ibm.ws.webcontainer.servlet.ServletInstance.init(ServletInstance.java:189)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at com.ibm.ws.webcontainer.webapp.WebAppServletManager.addServlet(WebAppServletManager.java:870)
at com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadServlet(WebAppServletManager.java:224)
at com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadAutoLoadServlets(WebAppServletManager.java:542)
at com.ibm.ws.webcontainer.webapp.WebApp.loadServletManager(WebApp.java:1270)
at com.ibm.ws.webcontainer.webapp.WebApp.init(WebApp.java:277)
at com.ibm.ws.webcontainer.srt.WebGroup.loadWebApp(WebGroup.java:396)
at com.ibm.ws.webcontainer.srt.WebGroup.init(WebGroup.java:216)
at com.ibm.ws.webcontainer.WebContainer.addWebApplication(WebContainer.java:984)
at com.ibm.ws.runtime.component.WebContainerImpl.install(WebContainerImpl.java:136)
at com.ibm.ws.runtime.component.WebContainerImpl.start(WebContainerImpl.java:356)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:415)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:787)
at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:351)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:575)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:268)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:246)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:543)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:418)
at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:117)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:543)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:418)
at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:183)
at com.ibm.ws.runtime.WsServer.start(WsServer.java:128)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:225)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94)
at com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:97)


[13/01/04 15:21:47:862 GMT] 261c7651 WebGroup E SRVE0020E: [Servlet Error]-[ContextLoaderServlet]: Failed to load servlet: org.springframework.beans.FatalBeanException: Can't resolve reference to bean 'sessionFactory' while setting property 'sessionFactory' on bean 'customerDelegate'; nested exception is:
org.springframework.beans.FatalBeanException: afterPropertiesSet() on bean with name 'sessionFactory' threw exception; nested exception is:
net.sf.cglib.core.CodeGenerationException: java.lang.reflect.InvocationTargetException-->null
org.springframework.beans.FatalBeanException: afterPropertiesSet() on bean with name 'sessionFactory' threw exception; nested exception is:
net.sf.cglib.core.CodeGenerationException: java.lang.reflect.InvocationTargetException-->null
net.sf.cglib.core.CodeGenerationException: java.lang.reflect.InvocationTargetException-->null
at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:206)
at net.sf.cglib.reflect.FastClass$Generator.create(FastClass.java:92)
at net.sf.cglib.reflect.FastClass.create(FastClass.java:74)
at net.sf.hibernate.persister.AbstractEntityPersister.<init>(AbstractEntityPersister.java:763)
at net.sf.hibernate.persister.EntityPersister.<init>(EntityPersister.java:699)
at net.sf.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:41)
at net.sf.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:137)
at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:739)
at org.springframework.orm


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 13, 2004 3:03 pm 
CGLIB Developer
CGLIB Developer

Joined: Thu Aug 28, 2003 1:44 pm
Posts: 1217
Location: Vilnius, Lithuania
looks like there is something broken with classloading in WSAD


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 6 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.