- 浏览: 116285 次
- 性别:
- 来自: 广州
文章分类
最新评论
-
a455642158:
尼玛 我就根本没有写set方法……弄了半天啊。
使用spring注入时出现NotWritablePropertyException -
jerry:
你应该导这个import org.springframewor ...
关于MultiActionController中方法不能返回含有ModelAndView方法的问题 -
witcheryne:
我一直觉得这种动态就是消息服务起里的pub/sub机制.每个人 ...
SNS中好友动态功能的设计思路 -
niedj:
EventUser 这个表即使分割了,他的增长速度还是很快的, ...
SNS中好友动态功能的设计思路 -
rentianchou:
jfkdjfkd...............
SNS中好友动态功能的设计思路
[framework] 2007-09-05 23:23:02,515 - org.hibernate.cfg.Environment -0 [main] INFO org.hibernate.cfg.Environment - Hibernate 3.1.3
[framework] 2007-09-05 23:23:02,531 - org.hibernate.cfg.Environment -16 [main] INFO org.hibernate.cfg.Environment - hibernate.properties not found
[framework] 2007-09-05 23:23:02,531 - org.hibernate.cfg.Environment -16 [main] INFO org.hibernate.cfg.Environment - using CGLIB reflection optimizer
[framework] 2007-09-05 23:23:02,546 - org.hibernate.cfg.Environment -31 [main] INFO org.hibernate.cfg.Environment - using JDK 1.4 java.sql.Timestamp handling
[framework] 2007-09-05 23:23:02,875 - org.hibernate.util.DTDEntityResolver -360 [main] DEBUG org.hibernate.util.DTDEntityResolver - trying to resolve system-id [http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd]
[framework] 2007-09-05 23:23:02,875 - org.hibernate.util.DTDEntityResolver -360 [main] DEBUG org.hibernate.util.DTDEntityResolver - recognized hibernate namespace; attempting to resolve on classpath under org/hibernate/
[framework] 2007-09-05 23:23:02,875 - org.hibernate.util.DTDEntityResolver -360 [main] DEBUG org.hibernate.util.DTDEntityResolver - located [http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd] in classpath
[framework] 2007-09-05 23:23:03,187 - org.hibernate.cfg.HbmBinder -672 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: cn.onlysoft.bookmark.dao.BmUser -> bm_user
[framework] 2007-09-05 23:23:03,203 - org.hibernate.cfg.HbmBinder -688 [main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: id -> id
[framework] 2007-09-05 23:23:03,250 - org.hibernate.cfg.HbmBinder -735 [main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: uname -> uname
[framework] 2007-09-05 23:23:03,250 - org.hibernate.cfg.HbmBinder -735 [main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: password -> password
[framework] 2007-09-05 23:23:03,265 - org.hibernate.cfg.HbmBinder -750 [main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: bmBookmarks
[framework] 2007-09-05 23:23:03,265 - org.hibernate.util.DTDEntityResolver -750 [main] DEBUG org.hibernate.util.DTDEntityResolver - trying to resolve system-id [http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd]
[framework] 2007-09-05 23:23:03,265 - org.hibernate.util.DTDEntityResolver -750 [main] DEBUG org.hibernate.util.DTDEntityResolver - recognized hibernate namespace; attempting to resolve on classpath under org/hibernate/
[framework] 2007-09-05 23:23:03,265 - org.hibernate.util.DTDEntityResolver -750 [main] DEBUG org.hibernate.util.DTDEntityResolver - located [http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd] in classpath
[framework] 2007-09-05 23:23:03,312 - org.hibernate.cfg.HbmBinder -797 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: cn.onlysoft.bookmark.dao.BmBookmark -> bm_bookmark
[framework] 2007-09-05 23:23:03,312 - org.hibernate.cfg.HbmBinder -797 [main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: id -> id
[framework] 2007-09-05 23:23:03,484 - org.hibernate.cfg.HbmBinder -969 [main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: bmUser -> id
[framework] 2007-09-05 23:23:03,484 - org.hibernate.cfg.HbmBinder -969 [main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: markName -> mark_name
[framework] 2007-09-05 23:23:03,484 - org.hibernate.cfg.HbmBinder -969 [main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: markUrl -> mark_url
[framework] 2007-09-05 23:23:03,484 - org.hibernate.cfg.HbmBinder -969 [main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: markDesc -> mark_desc
[framework] 2007-09-05 23:23:03,484 - org.hibernate.cfg.HbmBinder -969 [main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: userId -> user_id
[framework] 2007-09-05 23:23:03,484 - org.hibernate.cfg.Configuration -969 [main] DEBUG org.hibernate.cfg.Configuration - Preparing to build session factory with filters : {}
[framework] 2007-09-05 23:23:03,484 - org.hibernate.cfg.Configuration -969 [main] DEBUG org.hibernate.cfg.Configuration - processing extends queue
[framework] 2007-09-05 23:23:03,484 - org.hibernate.cfg.Configuration -969 [main] DEBUG org.hibernate.cfg.Configuration - processing collection mappings
[framework] 2007-09-05 23:23:03,484 - org.hibernate.cfg.CollectionSecondPass -969 [main] DEBUG org.hibernate.cfg.CollectionSecondPass - Second pass for collection: cn.onlysoft.bookmark.dao.BmUser.bmBookmarks
[framework] 2007-09-05 23:23:03,484 - org.hibernate.cfg.HbmBinder -969 [main] INFO org.hibernate.cfg.HbmBinder - Mapping collection: cn.onlysoft.bookmark.dao.BmUser.bmBookmarks -> bm_bookmark
[framework] 2007-09-05 23:23:03,484 - org.hibernate.cfg.CollectionSecondPass -969 [main] DEBUG org.hibernate.cfg.CollectionSecondPass - Mapped collection key: id, one-to-many: cn.onlysoft.bookmark.dao.BmBookmark
[framework] 2007-09-05 23:23:03,484 - org.hibernate.cfg.Configuration -969 [main] DEBUG org.hibernate.cfg.Configuration - processing native query and ResultSetMapping mappings
[framework] 2007-09-05 23:23:03,484 - org.hibernate.cfg.Configuration -969 [main] DEBUG org.hibernate.cfg.Configuration - processing association property references
[framework] 2007-09-05 23:23:03,484 - org.hibernate.cfg.Configuration -969 [main] DEBUG org.hibernate.cfg.Configuration - processing foreign key constraints
[framework] 2007-09-05 23:23:03,484 - org.hibernate.cfg.Configuration -969 [main] DEBUG org.hibernate.cfg.Configuration - resolving reference to class: cn.onlysoft.bookmark.dao.BmUser
[framework] 2007-09-05 23:23:03,500 - org.hibernate.connection.ConnectionProviderFactory -985 [main] INFO org.hibernate.connection.ConnectionProviderFactory - Initializing connection provider: org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider
[framework] 2007-09-05 23:23:04,078 - org.hibernate.cfg.SettingsFactory -1563 [main] INFO org.hibernate.cfg.SettingsFactory - RDBMS: MySQL, version: 5.0.27-community-nt
[framework] 2007-09-05 23:23:04,078 - org.hibernate.cfg.SettingsFactory -1563 [main] INFO org.hibernate.cfg.SettingsFactory - JDBC driver: MySQL-AB JDBC Driver, version: mysql-connector-java-3.1.12 ( $Date: 2005-11-17 15:53:48 +0100 (Thu, 17 Nov 2005) $, $Revision$ )
[framework] 2007-09-05 23:23:04,140 - org.hibernate.dialect.Dialect -1625 [main] INFO org.hibernate.dialect.Dialect - Using dialect: org.hibernate.dialect.MySQLDialect
[framework] 2007-09-05 23:23:04,140 - org.hibernate.transaction.TransactionFactoryFactory -1625 [main] INFO org.hibernate.transaction.TransactionFactoryFactory - Using default transaction strategy (direct JDBC transactions)
[framework] 2007-09-05 23:23:04,156 - org.hibernate.transaction.TransactionManagerLookupFactory -1641 [main] INFO org.hibernate.transaction.TransactionManagerLookupFactory - No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
[framework] 2007-09-05 23:23:04,156 - org.hibernate.cfg.SettingsFactory -1641 [main] INFO org.hibernate.cfg.SettingsFactory - Automatic flush during beforeCompletion(): disabled
[framework] 2007-09-05 23:23:04,156 - org.hibernate.cfg.SettingsFactory -1641 [main] INFO org.hibernate.cfg.SettingsFactory - Automatic session close at end of transaction: disabled
[framework] 2007-09-05 23:23:04,156 - org.hibernate.cfg.SettingsFactory -1641 [main] INFO org.hibernate.cfg.SettingsFactory - JDBC batch size: 15
[framework] 2007-09-05 23:23:04,156 - org.hibernate.cfg.SettingsFactory -1641 [main] INFO org.hibernate.cfg.SettingsFactory - JDBC batch updates for versioned data: disabled
[framework] 2007-09-05 23:23:04,156 - org.hibernate.cfg.SettingsFactory -1641 [main] INFO org.hibernate.cfg.SettingsFactory - Scrollable result sets: enabled
[framework] 2007-09-05 23:23:04,156 - org.hibernate.cfg.SettingsFactory -1641 [main] DEBUG org.hibernate.cfg.SettingsFactory - Wrap result sets: disabled
[framework] 2007-09-05 23:23:04,156 - org.hibernate.cfg.SettingsFactory -1641 [main] INFO org.hibernate.cfg.SettingsFactory - JDBC3 getGeneratedKeys(): enabled
[framework] 2007-09-05 23:23:04,156 - org.hibernate.cfg.SettingsFactory -1641 [main] INFO org.hibernate.cfg.SettingsFactory - Connection release mode: on_close
[framework] 2007-09-05 23:23:04,156 - org.hibernate.cfg.SettingsFactory -1641 [main] INFO org.hibernate.cfg.SettingsFactory - Maximum outer join fetch depth: 2
[framework] 2007-09-05 23:23:04,156 - org.hibernate.cfg.SettingsFactory -1641 [main] INFO org.hibernate.cfg.SettingsFactory - Default batch fetch size: 1
[framework] 2007-09-05 23:23:04,156 - org.hibernate.cfg.SettingsFactory -1641 [main] INFO org.hibernate.cfg.SettingsFactory - Generate SQL with comments: disabled
[framework] 2007-09-05 23:23:04,156 - org.hibernate.cfg.SettingsFactory -1641 [main] INFO org.hibernate.cfg.SettingsFactory - Order SQL updates by primary key: disabled
[framework] 2007-09-05 23:23:04,156 - org.hibernate.cfg.SettingsFactory -1641 [main] INFO org.hibernate.cfg.SettingsFactory - Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
[framework] 2007-09-05 23:23:04,171 - org.hibernate.hql.ast.ASTQueryTranslatorFactory -1656 [main] INFO org.hibernate.hql.ast.ASTQueryTranslatorFactory - Using ASTQueryTranslatorFactory
[framework] 2007-09-05 23:23:04,171 - org.hibernate.cfg.SettingsFactory -1656 [main] INFO org.hibernate.cfg.SettingsFactory - Query language substitutions: {}
[framework] 2007-09-05 23:23:04,171 - org.hibernate.cfg.SettingsFactory -1656 [main] INFO org.hibernate.cfg.SettingsFactory - Second-level cache: enabled
[framework] 2007-09-05 23:23:04,171 - org.hibernate.cfg.SettingsFactory -1656 [main] INFO org.hibernate.cfg.SettingsFactory - Query cache: disabled
[framework] 2007-09-05 23:23:04,171 - org.hibernate.cfg.SettingsFactory -1656 [main] INFO org.hibernate.cfg.SettingsFactory - Cache provider: org.hibernate.cache.EhCacheProvider
[framework] 2007-09-05 23:23:04,187 - org.hibernate.cfg.SettingsFactory -1672 [main] INFO org.hibernate.cfg.SettingsFactory - Optimize cache for minimal puts: disabled
[framework] 2007-09-05 23:23:04,187 - org.hibernate.cfg.SettingsFactory -1672 [main] INFO org.hibernate.cfg.SettingsFactory - Structured second-level cache entries: disabled
[framework] 2007-09-05 23:23:04,187 - org.hibernate.exception.SQLExceptionConverterFactory -1672 [main] DEBUG org.hibernate.exception.SQLExceptionConverterFactory - Using dialect defined converter
[framework] 2007-09-05 23:23:04,203 - org.hibernate.cfg.SettingsFactory -1688 [main] INFO org.hibernate.cfg.SettingsFactory - Echoing all SQL to stdout
[framework] 2007-09-05 23:23:04,203 - org.hibernate.cfg.SettingsFactory -1688 [main] INFO org.hibernate.cfg.SettingsFactory - Statistics: disabled
[framework] 2007-09-05 23:23:04,203 - org.hibernate.cfg.SettingsFactory -1688 [main] INFO org.hibernate.cfg.SettingsFactory - Deleted entity synthetic identifier rollback: disabled
[framework] 2007-09-05 23:23:04,203 - org.hibernate.cfg.SettingsFactory -1688 [main] INFO org.hibernate.cfg.SettingsFactory - Default entity-mode: pojo
[framework] 2007-09-05 23:23:04,328 - org.hibernate.impl.SessionFactoryImpl -1813 [main] INFO org.hibernate.impl.SessionFactoryImpl - building session factory
[framework] 2007-09-05 23:23:04,328 - org.hibernate.impl.SessionFactoryImpl -1813 [main] DEBUG org.hibernate.impl.SessionFactoryImpl - Session factory constructed with filter configurations : {}
[framework] 2007-09-05 23:23:04,328 - org.hibernate.impl.SessionFactoryImpl -1813 [main] DEBUG org.hibernate.impl.SessionFactoryImpl - instantiating session factory with properties: {java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition, sun.boot.library.path=E:\jdk1.5.0_08\jre\bin, java.vm.version=1.5.0_08-b03, shared.loader=${catalina.base}/shared/classes,${catalina.base}/shared/lib/*.jar, java.vm.vendor=Sun Microsystems Inc., java.vendor.url=http://java.sun.com/, path.separator=;, java.vm.name=Java HotSpot(TM) Client VM, tomcat.util.buf.StringCache.byte.enabled=true, file.encoding.pkg=sun.io, user.country=CN, sun.os.patch.level=Service Pack 2, java.vm.specification.name=Java Virtual Machine Specification, user.dir=E:\Tomcat 5.5\bin, java.runtime.version=1.5.0_08-b03, java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment, java.endorsed.dirs=E:\Tomcat 5.5/common/endorsed, os.arch=x86, java.io.tmpdir=E:\Tomcat 5.5\temp, line.separator=
, java.vm.specification.vendor=Sun Microsystems Inc., user.variant=, java.naming.factory.url.pkgs=org.apache.naming, os.name=Windows XP, sun.jnu.encoding=GBK, java.library.path=E:\jdk1.5.0_08\bin;E:\Tomcat 5.5\bin, java.specification.name=Java Platform API Specification, java.class.version=49.0, sun.management.compiler=HotSpot Client Compiler, os.version=5.1, sun.io.useCanonCaches=false, user.home=C:\Documents and Settings\Admin, user.timezone=Asia/Shanghai, catalina.useNaming=true, java.awt.printerjob=sun.awt.windows.WPrinterJob, hibernate.connection.release_mode=on_close, java.specification.version=1.5, file.encoding=GBK, catalina.home=E:\Tomcat 5.5, user.name=Admin, java.class.path=E:\Tomcat 5.5/bin/bootstrap.jar;E:\jdk1.5.0_08/lib/tools.jar, java.naming.factory.initial=org.apache.naming.java.javaURLContextFactory, hibernate.show_sql=true, package.definition=sun.,java.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper., java.vm.specification.version=1.0, sun.arch.data.model=32, java.home=E:\jdk1.5.0_08\jre, hibernate.dialect=org.hibernate.dialect.MySQLDialect, java.specification.vendor=Sun Microsystems Inc., user.language=zh, awt.toolkit=sun.awt.windows.WToolkit, java.vm.info=mixed mode, hibernate.cglib.use_reflection_optimizer=true, java.version=1.5.0_08, java.ext.dirs=E:\jdk1.5.0_08\jre\lib\ext, sun.boot.class.path=E:\jdk1.5.0_08\jre\lib\rt.jar;E:\jdk1.5.0_08\jre\lib\i18n.jar;E:\jdk1.5.0_08\jre\lib\sunrsasign.jar;E:\jdk1.5.0_08\jre\lib\jsse.jar;E:\jdk1.5.0_08\jre\lib\jce.jar;E:\jdk1.5.0_08\jre\lib\charsets.jar;E:\jdk1.5.0_08\jre\classes, java.vendor=Sun Microsystems Inc., server.loader=${catalina.home}/server/classes,${catalina.home}/server/lib/*.jar, catalina.base=E:\Tomcat 5.5, file.separator=\, java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi, hibernate.connection.provider_class=org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider, common.loader=${catalina.home}/common/classes,${catalina.home}/common/i18n/*.jar,${catalina.home}/common/endorsed/*.jar,${catalina.home}/common/lib/*.jar, sun.cpu.endian=little, sun.io.unicode.encoding=UnicodeLittle, package.access=sun.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.,sun.beans., sun.desktop=windows, sun.cpu.isalist=pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86}
[framework] 2007-09-05 23:23:04,359 - net.sf.ehcache.config.Configurator -1844 [main] WARN net.sf.ehcache.config.Configurator - No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/E:/MyCode/struts/WebRoot/WEB-INF/lib/ehcache-1.1.jar!/ehcache-failsafe.xml
[framework] 2007-09-05 23:23:05,078 - org.hibernate.persister.entity.AbstractEntityPersister -2563 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Static SQL for entity: cn.onlysoft.bookmark.dao.BmUser
[framework] 2007-09-05 23:23:05,078 - org.hibernate.persister.entity.AbstractEntityPersister -2563 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Version select: select id from bookmark.bm_user where id =?
[framework] 2007-09-05 23:23:05,078 - org.hibernate.persister.entity.AbstractEntityPersister -2563 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Snapshot select: select bmuser_.id, bmuser_.uname as uname0_, bmuser_.password as password0_ from bookmark.bm_user bmuser_ where bmuser_.id=?
[framework] 2007-09-05 23:23:05,078 - org.hibernate.persister.entity.AbstractEntityPersister -2563 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Insert 0: insert into bookmark.bm_user (uname, password, id) values (?, ?, ?)
[framework] 2007-09-05 23:23:05,078 - org.hibernate.persister.entity.AbstractEntityPersister -2563 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Update 0: update bookmark.bm_user set uname=?, password=? where id=?
[framework] 2007-09-05 23:23:05,078 - org.hibernate.persister.entity.AbstractEntityPersister -2563 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Delete 0: delete from bookmark.bm_user where id=?
[framework] 2007-09-05 23:23:05,078 - org.hibernate.persister.entity.AbstractEntityPersister -2563 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Identity insert: insert into bookmark.bm_user (uname, password) values (?, ?)
[framework] 2007-09-05 23:23:05,125 - org.hibernate.persister.entity.AbstractEntityPersister -2610 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Static SQL for entity: cn.onlysoft.bookmark.dao.BmBookmark
[framework] 2007-09-05 23:23:05,125 - org.hibernate.persister.entity.AbstractEntityPersister -2610 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Version select: select id from bookmark.bm_bookmark where id =?
[framework] 2007-09-05 23:23:05,125 - org.hibernate.persister.entity.AbstractEntityPersister -2610 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Snapshot select: select bmbookmark_.id, bmbookmark_.mark_name as mark2_1_, bmbookmark_.mark_url as mark3_1_, bmbookmark_.mark_desc as mark4_1_, bmbookmark_.user_id as user5_1_ from bookmark.bm_bookmark bmbookmark_ where bmbookmark_.id=?
[framework] 2007-09-05 23:23:05,125 - org.hibernate.persister.entity.AbstractEntityPersister -2610 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Insert 0: insert into bookmark.bm_bookmark (mark_name, mark_url, mark_desc, user_id, id) values (?, ?, ?, ?, ?)
[framework] 2007-09-05 23:23:05,125 - org.hibernate.persister.entity.AbstractEntityPersister -2610 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Update 0: update bookmark.bm_bookmark set mark_name=?, mark_url=?, mark_desc=?, user_id=? where id=?
[framework] 2007-09-05 23:23:05,125 - org.hibernate.persister.entity.AbstractEntityPersister -2610 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Delete 0: delete from bookmark.bm_bookmark where id=?
[framework] 2007-09-05 23:23:05,125 - org.hibernate.persister.entity.AbstractEntityPersister -2610 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Identity insert: insert into bookmark.bm_bookmark (mark_name, mark_url, mark_desc, user_id) values (?, ?, ?, ?)
[framework] 2007-09-05 23:23:05,171 - org.hibernate.persister.collection.AbstractCollectionPersister -2656 [main] DEBUG org.hibernate.persister.collection.AbstractCollectionPersister - Static SQL for collection: cn.onlysoft.bookmark.dao.BmUser.bmBookmarks
[framework] 2007-09-05 23:23:05,171 - org.hibernate.persister.collection.AbstractCollectionPersister -2656 [main] DEBUG org.hibernate.persister.collection.AbstractCollectionPersister - Row insert: update bookmark.bm_bookmark set id=? where id=?
[framework] 2007-09-05 23:23:05,171 - org.hibernate.persister.collection.AbstractCollectionPersister -2656 [main] DEBUG org.hibernate.persister.collection.AbstractCollectionPersister - Row delete: update bookmark.bm_bookmark set id=null where id=? and id=?
[framework] 2007-09-05 23:23:05,171 - org.hibernate.persister.collection.AbstractCollectionPersister -2656 [main] DEBUG org.hibernate.persister.collection.AbstractCollectionPersister - One-shot delete: update bookmark.bm_bookmark set id=null where id=?
[framework] 2007-09-05 23:23:05,218 - org.hibernate.loader.entity.EntityLoader -2703 [main] DEBUG org.hibernate.loader.entity.EntityLoader - Static select for entity cn.onlysoft.bookmark.dao.BmUser: select bmuser0_.id as id0_0_, bmuser0_.uname as uname0_0_, bmuser0_.password as password0_0_ from bookmark.bm_user bmuser0_ where bmuser0_.id=?
[framework] 2007-09-05 23:23:05,234 - org.hibernate.loader.entity.EntityLoader -2719 [main] DEBUG org.hibernate.loader.entity.EntityLoader - Static select for entity cn.onlysoft.bookmark.dao.BmUser: select bmuser0_.id as id0_0_, bmuser0_.uname as uname0_0_, bmuser0_.password as password0_0_ from bookmark.bm_user bmuser0_ where bmuser0_.id=?
[framework] 2007-09-05 23:23:05,234 - org.hibernate.loader.entity.EntityLoader -2719 [main] DEBUG org.hibernate.loader.entity.EntityLoader - Static select for entity cn.onlysoft.bookmark.dao.BmUser: select bmuser0_.id as id0_0_, bmuser0_.uname as uname0_0_, bmuser0_.password as password0_0_ from bookmark.bm_user bmuser0_ where bmuser0_.id=? for update
[framework] 2007-09-05 23:23:05,234 - org.hibernate.loader.entity.EntityLoader -2719 [main] DEBUG org.hibernate.loader.entity.EntityLoader - Static select for entity cn.onlysoft.bookmark.dao.BmUser: select bmuser0_.id as id0_0_, bmuser0_.uname as uname0_0_, bmuser0_.password as password0_0_ from bookmark.bm_user bmuser0_ where bmuser0_.id=? for update
[framework] 2007-09-05 23:23:05,265 - org.hibernate.loader.entity.EntityLoader -2750 [main] DEBUG org.hibernate.loader.entity.EntityLoader - Static select for action ACTION_MERGE on entity cn.onlysoft.bookmark.dao.BmUser: select bmuser0_.id as id0_0_, bmuser0_.uname as uname0_0_, bmuser0_.password as password0_0_ from bookmark.bm_user bmuser0_ where bmuser0_.id=?
[framework] 2007-09-05 23:23:05,265 - org.hibernate.loader.entity.EntityLoader -2750 [main] DEBUG org.hibernate.loader.entity.EntityLoader - Static select for action ACTION_REFRESH on entity cn.onlysoft.bookmark.dao.BmUser: select bmuser0_.id as id0_0_, bmuser0_.uname as uname0_0_, bmuser0_.password as password0_0_ from bookmark.bm_user bmuser0_ where bmuser0_.id=?
[framework] 2007-09-05 23:23:05,265 - org.hibernate.loader.entity.EntityLoader -2750 [main] DEBUG org.hibernate.loader.entity.EntityLoader - Static select for entity cn.onlysoft.bookmark.dao.BmBookmark: select bmbookmark0_.id as id1_0_, bmbookmark0_.mark_name as mark2_1_0_, bmbookmark0_.mark_url as mark3_1_0_, bmbookmark0_.mark_desc as mark4_1_0_, bmbookmark0_.user_id as user5_1_0_ from bookmark.bm_bookmark bmbookmark0_ where bmbookmark0_.id=?
[framework] 2007-09-05 23:23:05,265 - org.hibernate.loader.entity.EntityLoader -2750 [main] DEBUG org.hibernate.loader.entity.EntityLoader - Static select for entity cn.onlysoft.bookmark.dao.BmBookmark: select bmbookmark0_.id as id1_0_, bmbookmark0_.mark_name as mark2_1_0_, bmbookmark0_.mark_url as mark3_1_0_, bmbookmark0_.mark_desc as mark4_1_0_, bmbookmark0_.user_id as user5_1_0_ from bookmark.bm_bookmark bmbookmark0_ where bmbookmark0_.id=?
[framework] 2007-09-05 23:23:05,265 - org.hibernate.loader.entity.EntityLoader -2750 [main] DEBUG org.hibernate.loader.entity.EntityLoader - Static select for entity cn.onlysoft.bookmark.dao.BmBookmark: select bmbookmark0_.id as id1_0_, bmbookmark0_.mark_name as mark2_1_0_, bmbookmark0_.mark_url as mark3_1_0_, bmbookmark0_.mark_desc as mark4_1_0_, bmbookmark0_.user_id as user5_1_0_ from bookmark.bm_bookmark bmbookmark0_ where bmbookmark0_.id=? for update
[framework] 2007-09-05 23:23:05,265 - org.hibernate.loader.entity.EntityLoader -2750 [main] DEBUG org.hibernate.loader.entity.EntityLoader - Static select for entity cn.onlysoft.bookmark.dao.BmBookmark: select bmbookmark0_.id as id1_0_, bmbookmark0_.mark_name as mark2_1_0_, bmbookmark0_.mark_url as mark3_1_0_, bmbookmark0_.mark_desc as mark4_1_0_, bmbookmark0_.user_id as user5_1_0_ from bookmark.bm_bookmark bmbookmark0_ where bmbookmark0_.id=? for update
[framework] 2007-09-05 23:23:05,265 - org.hibernate.loader.entity.EntityLoader -2750 [main] DEBUG org.hibernate.loader.entity.EntityLoader - Static select for action ACTION_MERGE on entity cn.onlysoft.bookmark.dao.BmBookmark: select bmbookmark0_.id as id1_0_, bmbookmark0_.mark_name as mark2_1_0_, bmbookmark0_.mark_url as mark3_1_0_, bmbookmark0_.mark_desc as mark4_1_0_, bmbookmark0_.user_id as user5_1_0_ from bookmark.bm_bookmark bmbookmark0_ where bmbookmark0_.id=?
[framework] 2007-09-05 23:23:05,265 - org.hibernate.loader.entity.EntityLoader -2750 [main] DEBUG org.hibernate.loader.entity.EntityLoader - Static select for action ACTION_REFRESH on entity cn.onlysoft.bookmark.dao.BmBookmark: select bmbookmark0_.id as id1_0_, bmbookmark0_.mark_name as mark2_1_0_, bmbookmark0_.mark_url as mark3_1_0_, bmbookmark0_.mark_desc as mark4_1_0_, bmbookmark0_.user_id as user5_1_0_ from bookmark.bm_bookmark bmbookmark0_ where bmbookmark0_.id=?
[framework] 2007-09-05 23:23:05,296 - org.hibernate.loader.collection.OneToManyLoader -2781 [main] DEBUG org.hibernate.loader.collection.OneToManyLoader - Static select for one-to-many cn.onlysoft.bookmark.dao.BmUser.bmBookmarks: select bmbookmark0_.id as id1_, bmbookmark0_.id as id1_0_, bmbookmark0_.mark_name as mark2_1_0_, bmbookmark0_.mark_url as mark3_1_0_, bmbookmark0_.mark_desc as mark4_1_0_, bmbookmark0_.user_id as user5_1_0_ from bookmark.bm_bookmark bmbookmark0_ where bmbookmark0_.id=?
[framework] 2007-09-05 23:23:05,296 - org.hibernate.impl.SessionFactoryObjectFactory -2781 [main] DEBUG org.hibernate.impl.SessionFactoryObjectFactory - initializing class SessionFactoryObjectFactory
[framework] 2007-09-05 23:23:05,296 - org.hibernate.impl.SessionFactoryObjectFactory -2781 [main] DEBUG org.hibernate.impl.SessionFactoryObjectFactory - registered: 4028806114d644740114d64478d00000 (unnamed)
[framework] 2007-09-05 23:23:05,296 - org.hibernate.impl.SessionFactoryObjectFactory -2781 [main] INFO org.hibernate.impl.SessionFactoryObjectFactory - Not binding factory to JNDI, no JNDI name configured
[framework] 2007-09-05 23:23:05,296 - org.hibernate.impl.SessionFactoryImpl -2781 [main] DEBUG org.hibernate.impl.SessionFactoryImpl - instantiated session factory
[framework] 2007-09-05 23:23:05,296 - org.hibernate.impl.SessionFactoryImpl -2781 [main] DEBUG org.hibernate.impl.SessionFactoryImpl - Checking 0 named HQL queries
[framework] 2007-09-05 23:23:05,296 - org.hibernate.impl.SessionFactoryImpl -2781 [main] DEBUG org.hibernate.impl.SessionFactoryImpl - Checking 0 named SQL queries
[framework] 2007-09-05 23:23:05,375 - org.hibernate.impl.SessionFactoryImpl -2860 [main] INFO org.hibernate.impl.SessionFactoryImpl - closing
[framework] 2007-09-05 23:23:05,375 - org.springframework.web.struts.ContextLoaderPlugIn -2860 [main] ERROR org.springframework.web.struts.ContextLoaderPlugIn - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'BmUserDAO' defined in ServletContext resource [/WEB-INF/classes/applicationContext.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'sessionFactory' of bean class [cn.onlysoft.bookmark.dao.BmUserDAO]: Bean property 'sessionFactory' is not writable or has an invalid setter method: Does the parameter type of the setter match the return type of the getter?
org.springframework.beans.NotWritablePropertyException: Invalid property 'sessionFactory' of bean class [cn.onlysoft.bookmark.dao.BmUserDAO]: Bean property 'sessionFactory' is not writable or has an invalid setter method: Does the parameter type of the setter match the return type of the getter?
at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:567)
at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:469)
at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:626)
at org.springframework.beans.BeanWrapperImpl.setPropertyValues(BeanWrapperImpl.java:653)
at org.springframework.beans.BeanWrapperImpl.setPropertyValues(BeanWrapperImpl.java:642)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1023)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:824)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:345)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:226)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:275)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:320)
at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:134)
at org.springframework.web.struts.ContextLoaderPlugIn.createWebApplicationContext(ContextLoaderPlugIn.java:353)
at org.springframework.web.struts.ContextLoaderPlugIn.initWebApplicationContext(ContextLoaderPlugIn.java:296)
at org.springframework.web.struts.ContextLoaderPlugIn.init(ContextLoaderPlugIn.java:225)
at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:869)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:336)
at javax.servlet.GenericServlet.init(GenericServlet.java:212)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3956)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4230)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:448)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
[framework] 2007-09-05 23:23:05,390 - org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/struts] -2875 [main] ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/struts] - action: null
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'BmUserDAO' defined in ServletContext resource [/WEB-INF/classes/applicationContext.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'sessionFactory' of bean class [cn.onlysoft.bookmark.dao.BmUserDAO]: Bean property 'sessionFactory' is not writable or has an invalid setter method: Does the parameter type of the setter match the return type of the getter?
org.springframework.beans.NotWritablePropertyException: Invalid property 'sessionFactory' of bean class [cn.onlysoft.bookmark.dao.BmUserDAO]: Bean property 'sessionFactory' is not writable or has an invalid setter method: Does the parameter type of the setter match the return type of the getter?
at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:567)
at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:469)
at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:626)
at org.springframework.beans.BeanWrapperImpl.setPropertyValues(BeanWrapperImpl.java:653)
at org.springframework.beans.BeanWrapperImpl.setPropertyValues(BeanWrapperImpl.java:642)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1023)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:824)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:345)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:226)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:275)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:320)
at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:134)
at org.springframework.web.struts.ContextLoaderPlugIn.createWebApplicationContext(ContextLoaderPlugIn.java:353)
at org.springframework.web.struts.ContextLoaderPlugIn.initWebApplicationContext(ContextLoaderPlugIn.java:296)
at org.springframework.web.struts.ContextLoaderPlugIn.init(ContextLoaderPlugIn.java:225)
at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:869)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:336)
at javax.servlet.GenericServlet.init(GenericServlet.java:212)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3956)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4230)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:448)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
[framework] 2007-09-05 23:23:05,390 - org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/struts] -2875 [main] ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/struts] - Servlet /struts threw load() exception
javax.servlet.UnavailableException
at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:880)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:336)
at javax.servlet.GenericServlet.init(GenericServlet.java:212)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3956)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4230)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:448)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
[framework] 2007-09-05 23:23:02,531 - org.hibernate.cfg.Environment -16 [main] INFO org.hibernate.cfg.Environment - hibernate.properties not found
[framework] 2007-09-05 23:23:02,531 - org.hibernate.cfg.Environment -16 [main] INFO org.hibernate.cfg.Environment - using CGLIB reflection optimizer
[framework] 2007-09-05 23:23:02,546 - org.hibernate.cfg.Environment -31 [main] INFO org.hibernate.cfg.Environment - using JDK 1.4 java.sql.Timestamp handling
[framework] 2007-09-05 23:23:02,875 - org.hibernate.util.DTDEntityResolver -360 [main] DEBUG org.hibernate.util.DTDEntityResolver - trying to resolve system-id [http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd]
[framework] 2007-09-05 23:23:02,875 - org.hibernate.util.DTDEntityResolver -360 [main] DEBUG org.hibernate.util.DTDEntityResolver - recognized hibernate namespace; attempting to resolve on classpath under org/hibernate/
[framework] 2007-09-05 23:23:02,875 - org.hibernate.util.DTDEntityResolver -360 [main] DEBUG org.hibernate.util.DTDEntityResolver - located [http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd] in classpath
[framework] 2007-09-05 23:23:03,187 - org.hibernate.cfg.HbmBinder -672 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: cn.onlysoft.bookmark.dao.BmUser -> bm_user
[framework] 2007-09-05 23:23:03,203 - org.hibernate.cfg.HbmBinder -688 [main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: id -> id
[framework] 2007-09-05 23:23:03,250 - org.hibernate.cfg.HbmBinder -735 [main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: uname -> uname
[framework] 2007-09-05 23:23:03,250 - org.hibernate.cfg.HbmBinder -735 [main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: password -> password
[framework] 2007-09-05 23:23:03,265 - org.hibernate.cfg.HbmBinder -750 [main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: bmBookmarks
[framework] 2007-09-05 23:23:03,265 - org.hibernate.util.DTDEntityResolver -750 [main] DEBUG org.hibernate.util.DTDEntityResolver - trying to resolve system-id [http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd]
[framework] 2007-09-05 23:23:03,265 - org.hibernate.util.DTDEntityResolver -750 [main] DEBUG org.hibernate.util.DTDEntityResolver - recognized hibernate namespace; attempting to resolve on classpath under org/hibernate/
[framework] 2007-09-05 23:23:03,265 - org.hibernate.util.DTDEntityResolver -750 [main] DEBUG org.hibernate.util.DTDEntityResolver - located [http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd] in classpath
[framework] 2007-09-05 23:23:03,312 - org.hibernate.cfg.HbmBinder -797 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: cn.onlysoft.bookmark.dao.BmBookmark -> bm_bookmark
[framework] 2007-09-05 23:23:03,312 - org.hibernate.cfg.HbmBinder -797 [main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: id -> id
[framework] 2007-09-05 23:23:03,484 - org.hibernate.cfg.HbmBinder -969 [main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: bmUser -> id
[framework] 2007-09-05 23:23:03,484 - org.hibernate.cfg.HbmBinder -969 [main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: markName -> mark_name
[framework] 2007-09-05 23:23:03,484 - org.hibernate.cfg.HbmBinder -969 [main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: markUrl -> mark_url
[framework] 2007-09-05 23:23:03,484 - org.hibernate.cfg.HbmBinder -969 [main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: markDesc -> mark_desc
[framework] 2007-09-05 23:23:03,484 - org.hibernate.cfg.HbmBinder -969 [main] DEBUG org.hibernate.cfg.HbmBinder - Mapped property: userId -> user_id
[framework] 2007-09-05 23:23:03,484 - org.hibernate.cfg.Configuration -969 [main] DEBUG org.hibernate.cfg.Configuration - Preparing to build session factory with filters : {}
[framework] 2007-09-05 23:23:03,484 - org.hibernate.cfg.Configuration -969 [main] DEBUG org.hibernate.cfg.Configuration - processing extends queue
[framework] 2007-09-05 23:23:03,484 - org.hibernate.cfg.Configuration -969 [main] DEBUG org.hibernate.cfg.Configuration - processing collection mappings
[framework] 2007-09-05 23:23:03,484 - org.hibernate.cfg.CollectionSecondPass -969 [main] DEBUG org.hibernate.cfg.CollectionSecondPass - Second pass for collection: cn.onlysoft.bookmark.dao.BmUser.bmBookmarks
[framework] 2007-09-05 23:23:03,484 - org.hibernate.cfg.HbmBinder -969 [main] INFO org.hibernate.cfg.HbmBinder - Mapping collection: cn.onlysoft.bookmark.dao.BmUser.bmBookmarks -> bm_bookmark
[framework] 2007-09-05 23:23:03,484 - org.hibernate.cfg.CollectionSecondPass -969 [main] DEBUG org.hibernate.cfg.CollectionSecondPass - Mapped collection key: id, one-to-many: cn.onlysoft.bookmark.dao.BmBookmark
[framework] 2007-09-05 23:23:03,484 - org.hibernate.cfg.Configuration -969 [main] DEBUG org.hibernate.cfg.Configuration - processing native query and ResultSetMapping mappings
[framework] 2007-09-05 23:23:03,484 - org.hibernate.cfg.Configuration -969 [main] DEBUG org.hibernate.cfg.Configuration - processing association property references
[framework] 2007-09-05 23:23:03,484 - org.hibernate.cfg.Configuration -969 [main] DEBUG org.hibernate.cfg.Configuration - processing foreign key constraints
[framework] 2007-09-05 23:23:03,484 - org.hibernate.cfg.Configuration -969 [main] DEBUG org.hibernate.cfg.Configuration - resolving reference to class: cn.onlysoft.bookmark.dao.BmUser
[framework] 2007-09-05 23:23:03,500 - org.hibernate.connection.ConnectionProviderFactory -985 [main] INFO org.hibernate.connection.ConnectionProviderFactory - Initializing connection provider: org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider
[framework] 2007-09-05 23:23:04,078 - org.hibernate.cfg.SettingsFactory -1563 [main] INFO org.hibernate.cfg.SettingsFactory - RDBMS: MySQL, version: 5.0.27-community-nt
[framework] 2007-09-05 23:23:04,078 - org.hibernate.cfg.SettingsFactory -1563 [main] INFO org.hibernate.cfg.SettingsFactory - JDBC driver: MySQL-AB JDBC Driver, version: mysql-connector-java-3.1.12 ( $Date: 2005-11-17 15:53:48 +0100 (Thu, 17 Nov 2005) $, $Revision$ )
[framework] 2007-09-05 23:23:04,140 - org.hibernate.dialect.Dialect -1625 [main] INFO org.hibernate.dialect.Dialect - Using dialect: org.hibernate.dialect.MySQLDialect
[framework] 2007-09-05 23:23:04,140 - org.hibernate.transaction.TransactionFactoryFactory -1625 [main] INFO org.hibernate.transaction.TransactionFactoryFactory - Using default transaction strategy (direct JDBC transactions)
[framework] 2007-09-05 23:23:04,156 - org.hibernate.transaction.TransactionManagerLookupFactory -1641 [main] INFO org.hibernate.transaction.TransactionManagerLookupFactory - No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
[framework] 2007-09-05 23:23:04,156 - org.hibernate.cfg.SettingsFactory -1641 [main] INFO org.hibernate.cfg.SettingsFactory - Automatic flush during beforeCompletion(): disabled
[framework] 2007-09-05 23:23:04,156 - org.hibernate.cfg.SettingsFactory -1641 [main] INFO org.hibernate.cfg.SettingsFactory - Automatic session close at end of transaction: disabled
[framework] 2007-09-05 23:23:04,156 - org.hibernate.cfg.SettingsFactory -1641 [main] INFO org.hibernate.cfg.SettingsFactory - JDBC batch size: 15
[framework] 2007-09-05 23:23:04,156 - org.hibernate.cfg.SettingsFactory -1641 [main] INFO org.hibernate.cfg.SettingsFactory - JDBC batch updates for versioned data: disabled
[framework] 2007-09-05 23:23:04,156 - org.hibernate.cfg.SettingsFactory -1641 [main] INFO org.hibernate.cfg.SettingsFactory - Scrollable result sets: enabled
[framework] 2007-09-05 23:23:04,156 - org.hibernate.cfg.SettingsFactory -1641 [main] DEBUG org.hibernate.cfg.SettingsFactory - Wrap result sets: disabled
[framework] 2007-09-05 23:23:04,156 - org.hibernate.cfg.SettingsFactory -1641 [main] INFO org.hibernate.cfg.SettingsFactory - JDBC3 getGeneratedKeys(): enabled
[framework] 2007-09-05 23:23:04,156 - org.hibernate.cfg.SettingsFactory -1641 [main] INFO org.hibernate.cfg.SettingsFactory - Connection release mode: on_close
[framework] 2007-09-05 23:23:04,156 - org.hibernate.cfg.SettingsFactory -1641 [main] INFO org.hibernate.cfg.SettingsFactory - Maximum outer join fetch depth: 2
[framework] 2007-09-05 23:23:04,156 - org.hibernate.cfg.SettingsFactory -1641 [main] INFO org.hibernate.cfg.SettingsFactory - Default batch fetch size: 1
[framework] 2007-09-05 23:23:04,156 - org.hibernate.cfg.SettingsFactory -1641 [main] INFO org.hibernate.cfg.SettingsFactory - Generate SQL with comments: disabled
[framework] 2007-09-05 23:23:04,156 - org.hibernate.cfg.SettingsFactory -1641 [main] INFO org.hibernate.cfg.SettingsFactory - Order SQL updates by primary key: disabled
[framework] 2007-09-05 23:23:04,156 - org.hibernate.cfg.SettingsFactory -1641 [main] INFO org.hibernate.cfg.SettingsFactory - Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
[framework] 2007-09-05 23:23:04,171 - org.hibernate.hql.ast.ASTQueryTranslatorFactory -1656 [main] INFO org.hibernate.hql.ast.ASTQueryTranslatorFactory - Using ASTQueryTranslatorFactory
[framework] 2007-09-05 23:23:04,171 - org.hibernate.cfg.SettingsFactory -1656 [main] INFO org.hibernate.cfg.SettingsFactory - Query language substitutions: {}
[framework] 2007-09-05 23:23:04,171 - org.hibernate.cfg.SettingsFactory -1656 [main] INFO org.hibernate.cfg.SettingsFactory - Second-level cache: enabled
[framework] 2007-09-05 23:23:04,171 - org.hibernate.cfg.SettingsFactory -1656 [main] INFO org.hibernate.cfg.SettingsFactory - Query cache: disabled
[framework] 2007-09-05 23:23:04,171 - org.hibernate.cfg.SettingsFactory -1656 [main] INFO org.hibernate.cfg.SettingsFactory - Cache provider: org.hibernate.cache.EhCacheProvider
[framework] 2007-09-05 23:23:04,187 - org.hibernate.cfg.SettingsFactory -1672 [main] INFO org.hibernate.cfg.SettingsFactory - Optimize cache for minimal puts: disabled
[framework] 2007-09-05 23:23:04,187 - org.hibernate.cfg.SettingsFactory -1672 [main] INFO org.hibernate.cfg.SettingsFactory - Structured second-level cache entries: disabled
[framework] 2007-09-05 23:23:04,187 - org.hibernate.exception.SQLExceptionConverterFactory -1672 [main] DEBUG org.hibernate.exception.SQLExceptionConverterFactory - Using dialect defined converter
[framework] 2007-09-05 23:23:04,203 - org.hibernate.cfg.SettingsFactory -1688 [main] INFO org.hibernate.cfg.SettingsFactory - Echoing all SQL to stdout
[framework] 2007-09-05 23:23:04,203 - org.hibernate.cfg.SettingsFactory -1688 [main] INFO org.hibernate.cfg.SettingsFactory - Statistics: disabled
[framework] 2007-09-05 23:23:04,203 - org.hibernate.cfg.SettingsFactory -1688 [main] INFO org.hibernate.cfg.SettingsFactory - Deleted entity synthetic identifier rollback: disabled
[framework] 2007-09-05 23:23:04,203 - org.hibernate.cfg.SettingsFactory -1688 [main] INFO org.hibernate.cfg.SettingsFactory - Default entity-mode: pojo
[framework] 2007-09-05 23:23:04,328 - org.hibernate.impl.SessionFactoryImpl -1813 [main] INFO org.hibernate.impl.SessionFactoryImpl - building session factory
[framework] 2007-09-05 23:23:04,328 - org.hibernate.impl.SessionFactoryImpl -1813 [main] DEBUG org.hibernate.impl.SessionFactoryImpl - Session factory constructed with filter configurations : {}
[framework] 2007-09-05 23:23:04,328 - org.hibernate.impl.SessionFactoryImpl -1813 [main] DEBUG org.hibernate.impl.SessionFactoryImpl - instantiating session factory with properties: {java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition, sun.boot.library.path=E:\jdk1.5.0_08\jre\bin, java.vm.version=1.5.0_08-b03, shared.loader=${catalina.base}/shared/classes,${catalina.base}/shared/lib/*.jar, java.vm.vendor=Sun Microsystems Inc., java.vendor.url=http://java.sun.com/, path.separator=;, java.vm.name=Java HotSpot(TM) Client VM, tomcat.util.buf.StringCache.byte.enabled=true, file.encoding.pkg=sun.io, user.country=CN, sun.os.patch.level=Service Pack 2, java.vm.specification.name=Java Virtual Machine Specification, user.dir=E:\Tomcat 5.5\bin, java.runtime.version=1.5.0_08-b03, java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment, java.endorsed.dirs=E:\Tomcat 5.5/common/endorsed, os.arch=x86, java.io.tmpdir=E:\Tomcat 5.5\temp, line.separator=
, java.vm.specification.vendor=Sun Microsystems Inc., user.variant=, java.naming.factory.url.pkgs=org.apache.naming, os.name=Windows XP, sun.jnu.encoding=GBK, java.library.path=E:\jdk1.5.0_08\bin;E:\Tomcat 5.5\bin, java.specification.name=Java Platform API Specification, java.class.version=49.0, sun.management.compiler=HotSpot Client Compiler, os.version=5.1, sun.io.useCanonCaches=false, user.home=C:\Documents and Settings\Admin, user.timezone=Asia/Shanghai, catalina.useNaming=true, java.awt.printerjob=sun.awt.windows.WPrinterJob, hibernate.connection.release_mode=on_close, java.specification.version=1.5, file.encoding=GBK, catalina.home=E:\Tomcat 5.5, user.name=Admin, java.class.path=E:\Tomcat 5.5/bin/bootstrap.jar;E:\jdk1.5.0_08/lib/tools.jar, java.naming.factory.initial=org.apache.naming.java.javaURLContextFactory, hibernate.show_sql=true, package.definition=sun.,java.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper., java.vm.specification.version=1.0, sun.arch.data.model=32, java.home=E:\jdk1.5.0_08\jre, hibernate.dialect=org.hibernate.dialect.MySQLDialect, java.specification.vendor=Sun Microsystems Inc., user.language=zh, awt.toolkit=sun.awt.windows.WToolkit, java.vm.info=mixed mode, hibernate.cglib.use_reflection_optimizer=true, java.version=1.5.0_08, java.ext.dirs=E:\jdk1.5.0_08\jre\lib\ext, sun.boot.class.path=E:\jdk1.5.0_08\jre\lib\rt.jar;E:\jdk1.5.0_08\jre\lib\i18n.jar;E:\jdk1.5.0_08\jre\lib\sunrsasign.jar;E:\jdk1.5.0_08\jre\lib\jsse.jar;E:\jdk1.5.0_08\jre\lib\jce.jar;E:\jdk1.5.0_08\jre\lib\charsets.jar;E:\jdk1.5.0_08\jre\classes, java.vendor=Sun Microsystems Inc., server.loader=${catalina.home}/server/classes,${catalina.home}/server/lib/*.jar, catalina.base=E:\Tomcat 5.5, file.separator=\, java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi, hibernate.connection.provider_class=org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider, common.loader=${catalina.home}/common/classes,${catalina.home}/common/i18n/*.jar,${catalina.home}/common/endorsed/*.jar,${catalina.home}/common/lib/*.jar, sun.cpu.endian=little, sun.io.unicode.encoding=UnicodeLittle, package.access=sun.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.,sun.beans., sun.desktop=windows, sun.cpu.isalist=pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86}
[framework] 2007-09-05 23:23:04,359 - net.sf.ehcache.config.Configurator -1844 [main] WARN net.sf.ehcache.config.Configurator - No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/E:/MyCode/struts/WebRoot/WEB-INF/lib/ehcache-1.1.jar!/ehcache-failsafe.xml
[framework] 2007-09-05 23:23:05,078 - org.hibernate.persister.entity.AbstractEntityPersister -2563 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Static SQL for entity: cn.onlysoft.bookmark.dao.BmUser
[framework] 2007-09-05 23:23:05,078 - org.hibernate.persister.entity.AbstractEntityPersister -2563 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Version select: select id from bookmark.bm_user where id =?
[framework] 2007-09-05 23:23:05,078 - org.hibernate.persister.entity.AbstractEntityPersister -2563 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Snapshot select: select bmuser_.id, bmuser_.uname as uname0_, bmuser_.password as password0_ from bookmark.bm_user bmuser_ where bmuser_.id=?
[framework] 2007-09-05 23:23:05,078 - org.hibernate.persister.entity.AbstractEntityPersister -2563 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Insert 0: insert into bookmark.bm_user (uname, password, id) values (?, ?, ?)
[framework] 2007-09-05 23:23:05,078 - org.hibernate.persister.entity.AbstractEntityPersister -2563 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Update 0: update bookmark.bm_user set uname=?, password=? where id=?
[framework] 2007-09-05 23:23:05,078 - org.hibernate.persister.entity.AbstractEntityPersister -2563 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Delete 0: delete from bookmark.bm_user where id=?
[framework] 2007-09-05 23:23:05,078 - org.hibernate.persister.entity.AbstractEntityPersister -2563 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Identity insert: insert into bookmark.bm_user (uname, password) values (?, ?)
[framework] 2007-09-05 23:23:05,125 - org.hibernate.persister.entity.AbstractEntityPersister -2610 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Static SQL for entity: cn.onlysoft.bookmark.dao.BmBookmark
[framework] 2007-09-05 23:23:05,125 - org.hibernate.persister.entity.AbstractEntityPersister -2610 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Version select: select id from bookmark.bm_bookmark where id =?
[framework] 2007-09-05 23:23:05,125 - org.hibernate.persister.entity.AbstractEntityPersister -2610 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Snapshot select: select bmbookmark_.id, bmbookmark_.mark_name as mark2_1_, bmbookmark_.mark_url as mark3_1_, bmbookmark_.mark_desc as mark4_1_, bmbookmark_.user_id as user5_1_ from bookmark.bm_bookmark bmbookmark_ where bmbookmark_.id=?
[framework] 2007-09-05 23:23:05,125 - org.hibernate.persister.entity.AbstractEntityPersister -2610 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Insert 0: insert into bookmark.bm_bookmark (mark_name, mark_url, mark_desc, user_id, id) values (?, ?, ?, ?, ?)
[framework] 2007-09-05 23:23:05,125 - org.hibernate.persister.entity.AbstractEntityPersister -2610 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Update 0: update bookmark.bm_bookmark set mark_name=?, mark_url=?, mark_desc=?, user_id=? where id=?
[framework] 2007-09-05 23:23:05,125 - org.hibernate.persister.entity.AbstractEntityPersister -2610 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Delete 0: delete from bookmark.bm_bookmark where id=?
[framework] 2007-09-05 23:23:05,125 - org.hibernate.persister.entity.AbstractEntityPersister -2610 [main] DEBUG org.hibernate.persister.entity.AbstractEntityPersister - Identity insert: insert into bookmark.bm_bookmark (mark_name, mark_url, mark_desc, user_id) values (?, ?, ?, ?)
[framework] 2007-09-05 23:23:05,171 - org.hibernate.persister.collection.AbstractCollectionPersister -2656 [main] DEBUG org.hibernate.persister.collection.AbstractCollectionPersister - Static SQL for collection: cn.onlysoft.bookmark.dao.BmUser.bmBookmarks
[framework] 2007-09-05 23:23:05,171 - org.hibernate.persister.collection.AbstractCollectionPersister -2656 [main] DEBUG org.hibernate.persister.collection.AbstractCollectionPersister - Row insert: update bookmark.bm_bookmark set id=? where id=?
[framework] 2007-09-05 23:23:05,171 - org.hibernate.persister.collection.AbstractCollectionPersister -2656 [main] DEBUG org.hibernate.persister.collection.AbstractCollectionPersister - Row delete: update bookmark.bm_bookmark set id=null where id=? and id=?
[framework] 2007-09-05 23:23:05,171 - org.hibernate.persister.collection.AbstractCollectionPersister -2656 [main] DEBUG org.hibernate.persister.collection.AbstractCollectionPersister - One-shot delete: update bookmark.bm_bookmark set id=null where id=?
[framework] 2007-09-05 23:23:05,218 - org.hibernate.loader.entity.EntityLoader -2703 [main] DEBUG org.hibernate.loader.entity.EntityLoader - Static select for entity cn.onlysoft.bookmark.dao.BmUser: select bmuser0_.id as id0_0_, bmuser0_.uname as uname0_0_, bmuser0_.password as password0_0_ from bookmark.bm_user bmuser0_ where bmuser0_.id=?
[framework] 2007-09-05 23:23:05,234 - org.hibernate.loader.entity.EntityLoader -2719 [main] DEBUG org.hibernate.loader.entity.EntityLoader - Static select for entity cn.onlysoft.bookmark.dao.BmUser: select bmuser0_.id as id0_0_, bmuser0_.uname as uname0_0_, bmuser0_.password as password0_0_ from bookmark.bm_user bmuser0_ where bmuser0_.id=?
[framework] 2007-09-05 23:23:05,234 - org.hibernate.loader.entity.EntityLoader -2719 [main] DEBUG org.hibernate.loader.entity.EntityLoader - Static select for entity cn.onlysoft.bookmark.dao.BmUser: select bmuser0_.id as id0_0_, bmuser0_.uname as uname0_0_, bmuser0_.password as password0_0_ from bookmark.bm_user bmuser0_ where bmuser0_.id=? for update
[framework] 2007-09-05 23:23:05,234 - org.hibernate.loader.entity.EntityLoader -2719 [main] DEBUG org.hibernate.loader.entity.EntityLoader - Static select for entity cn.onlysoft.bookmark.dao.BmUser: select bmuser0_.id as id0_0_, bmuser0_.uname as uname0_0_, bmuser0_.password as password0_0_ from bookmark.bm_user bmuser0_ where bmuser0_.id=? for update
[framework] 2007-09-05 23:23:05,265 - org.hibernate.loader.entity.EntityLoader -2750 [main] DEBUG org.hibernate.loader.entity.EntityLoader - Static select for action ACTION_MERGE on entity cn.onlysoft.bookmark.dao.BmUser: select bmuser0_.id as id0_0_, bmuser0_.uname as uname0_0_, bmuser0_.password as password0_0_ from bookmark.bm_user bmuser0_ where bmuser0_.id=?
[framework] 2007-09-05 23:23:05,265 - org.hibernate.loader.entity.EntityLoader -2750 [main] DEBUG org.hibernate.loader.entity.EntityLoader - Static select for action ACTION_REFRESH on entity cn.onlysoft.bookmark.dao.BmUser: select bmuser0_.id as id0_0_, bmuser0_.uname as uname0_0_, bmuser0_.password as password0_0_ from bookmark.bm_user bmuser0_ where bmuser0_.id=?
[framework] 2007-09-05 23:23:05,265 - org.hibernate.loader.entity.EntityLoader -2750 [main] DEBUG org.hibernate.loader.entity.EntityLoader - Static select for entity cn.onlysoft.bookmark.dao.BmBookmark: select bmbookmark0_.id as id1_0_, bmbookmark0_.mark_name as mark2_1_0_, bmbookmark0_.mark_url as mark3_1_0_, bmbookmark0_.mark_desc as mark4_1_0_, bmbookmark0_.user_id as user5_1_0_ from bookmark.bm_bookmark bmbookmark0_ where bmbookmark0_.id=?
[framework] 2007-09-05 23:23:05,265 - org.hibernate.loader.entity.EntityLoader -2750 [main] DEBUG org.hibernate.loader.entity.EntityLoader - Static select for entity cn.onlysoft.bookmark.dao.BmBookmark: select bmbookmark0_.id as id1_0_, bmbookmark0_.mark_name as mark2_1_0_, bmbookmark0_.mark_url as mark3_1_0_, bmbookmark0_.mark_desc as mark4_1_0_, bmbookmark0_.user_id as user5_1_0_ from bookmark.bm_bookmark bmbookmark0_ where bmbookmark0_.id=?
[framework] 2007-09-05 23:23:05,265 - org.hibernate.loader.entity.EntityLoader -2750 [main] DEBUG org.hibernate.loader.entity.EntityLoader - Static select for entity cn.onlysoft.bookmark.dao.BmBookmark: select bmbookmark0_.id as id1_0_, bmbookmark0_.mark_name as mark2_1_0_, bmbookmark0_.mark_url as mark3_1_0_, bmbookmark0_.mark_desc as mark4_1_0_, bmbookmark0_.user_id as user5_1_0_ from bookmark.bm_bookmark bmbookmark0_ where bmbookmark0_.id=? for update
[framework] 2007-09-05 23:23:05,265 - org.hibernate.loader.entity.EntityLoader -2750 [main] DEBUG org.hibernate.loader.entity.EntityLoader - Static select for entity cn.onlysoft.bookmark.dao.BmBookmark: select bmbookmark0_.id as id1_0_, bmbookmark0_.mark_name as mark2_1_0_, bmbookmark0_.mark_url as mark3_1_0_, bmbookmark0_.mark_desc as mark4_1_0_, bmbookmark0_.user_id as user5_1_0_ from bookmark.bm_bookmark bmbookmark0_ where bmbookmark0_.id=? for update
[framework] 2007-09-05 23:23:05,265 - org.hibernate.loader.entity.EntityLoader -2750 [main] DEBUG org.hibernate.loader.entity.EntityLoader - Static select for action ACTION_MERGE on entity cn.onlysoft.bookmark.dao.BmBookmark: select bmbookmark0_.id as id1_0_, bmbookmark0_.mark_name as mark2_1_0_, bmbookmark0_.mark_url as mark3_1_0_, bmbookmark0_.mark_desc as mark4_1_0_, bmbookmark0_.user_id as user5_1_0_ from bookmark.bm_bookmark bmbookmark0_ where bmbookmark0_.id=?
[framework] 2007-09-05 23:23:05,265 - org.hibernate.loader.entity.EntityLoader -2750 [main] DEBUG org.hibernate.loader.entity.EntityLoader - Static select for action ACTION_REFRESH on entity cn.onlysoft.bookmark.dao.BmBookmark: select bmbookmark0_.id as id1_0_, bmbookmark0_.mark_name as mark2_1_0_, bmbookmark0_.mark_url as mark3_1_0_, bmbookmark0_.mark_desc as mark4_1_0_, bmbookmark0_.user_id as user5_1_0_ from bookmark.bm_bookmark bmbookmark0_ where bmbookmark0_.id=?
[framework] 2007-09-05 23:23:05,296 - org.hibernate.loader.collection.OneToManyLoader -2781 [main] DEBUG org.hibernate.loader.collection.OneToManyLoader - Static select for one-to-many cn.onlysoft.bookmark.dao.BmUser.bmBookmarks: select bmbookmark0_.id as id1_, bmbookmark0_.id as id1_0_, bmbookmark0_.mark_name as mark2_1_0_, bmbookmark0_.mark_url as mark3_1_0_, bmbookmark0_.mark_desc as mark4_1_0_, bmbookmark0_.user_id as user5_1_0_ from bookmark.bm_bookmark bmbookmark0_ where bmbookmark0_.id=?
[framework] 2007-09-05 23:23:05,296 - org.hibernate.impl.SessionFactoryObjectFactory -2781 [main] DEBUG org.hibernate.impl.SessionFactoryObjectFactory - initializing class SessionFactoryObjectFactory
[framework] 2007-09-05 23:23:05,296 - org.hibernate.impl.SessionFactoryObjectFactory -2781 [main] DEBUG org.hibernate.impl.SessionFactoryObjectFactory - registered: 4028806114d644740114d64478d00000 (unnamed)
[framework] 2007-09-05 23:23:05,296 - org.hibernate.impl.SessionFactoryObjectFactory -2781 [main] INFO org.hibernate.impl.SessionFactoryObjectFactory - Not binding factory to JNDI, no JNDI name configured
[framework] 2007-09-05 23:23:05,296 - org.hibernate.impl.SessionFactoryImpl -2781 [main] DEBUG org.hibernate.impl.SessionFactoryImpl - instantiated session factory
[framework] 2007-09-05 23:23:05,296 - org.hibernate.impl.SessionFactoryImpl -2781 [main] DEBUG org.hibernate.impl.SessionFactoryImpl - Checking 0 named HQL queries
[framework] 2007-09-05 23:23:05,296 - org.hibernate.impl.SessionFactoryImpl -2781 [main] DEBUG org.hibernate.impl.SessionFactoryImpl - Checking 0 named SQL queries
[framework] 2007-09-05 23:23:05,375 - org.hibernate.impl.SessionFactoryImpl -2860 [main] INFO org.hibernate.impl.SessionFactoryImpl - closing
[framework] 2007-09-05 23:23:05,375 - org.springframework.web.struts.ContextLoaderPlugIn -2860 [main] ERROR org.springframework.web.struts.ContextLoaderPlugIn - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'BmUserDAO' defined in ServletContext resource [/WEB-INF/classes/applicationContext.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'sessionFactory' of bean class [cn.onlysoft.bookmark.dao.BmUserDAO]: Bean property 'sessionFactory' is not writable or has an invalid setter method: Does the parameter type of the setter match the return type of the getter?
org.springframework.beans.NotWritablePropertyException: Invalid property 'sessionFactory' of bean class [cn.onlysoft.bookmark.dao.BmUserDAO]: Bean property 'sessionFactory' is not writable or has an invalid setter method: Does the parameter type of the setter match the return type of the getter?
at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:567)
at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:469)
at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:626)
at org.springframework.beans.BeanWrapperImpl.setPropertyValues(BeanWrapperImpl.java:653)
at org.springframework.beans.BeanWrapperImpl.setPropertyValues(BeanWrapperImpl.java:642)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1023)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:824)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:345)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:226)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:275)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:320)
at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:134)
at org.springframework.web.struts.ContextLoaderPlugIn.createWebApplicationContext(ContextLoaderPlugIn.java:353)
at org.springframework.web.struts.ContextLoaderPlugIn.initWebApplicationContext(ContextLoaderPlugIn.java:296)
at org.springframework.web.struts.ContextLoaderPlugIn.init(ContextLoaderPlugIn.java:225)
at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:869)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:336)
at javax.servlet.GenericServlet.init(GenericServlet.java:212)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3956)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4230)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:448)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
[framework] 2007-09-05 23:23:05,390 - org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/struts] -2875 [main] ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/struts] - action: null
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'BmUserDAO' defined in ServletContext resource [/WEB-INF/classes/applicationContext.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'sessionFactory' of bean class [cn.onlysoft.bookmark.dao.BmUserDAO]: Bean property 'sessionFactory' is not writable or has an invalid setter method: Does the parameter type of the setter match the return type of the getter?
org.springframework.beans.NotWritablePropertyException: Invalid property 'sessionFactory' of bean class [cn.onlysoft.bookmark.dao.BmUserDAO]: Bean property 'sessionFactory' is not writable or has an invalid setter method: Does the parameter type of the setter match the return type of the getter?
at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:567)
at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:469)
at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:626)
at org.springframework.beans.BeanWrapperImpl.setPropertyValues(BeanWrapperImpl.java:653)
at org.springframework.beans.BeanWrapperImpl.setPropertyValues(BeanWrapperImpl.java:642)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1023)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:824)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:345)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:226)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:275)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:320)
at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:134)
at org.springframework.web.struts.ContextLoaderPlugIn.createWebApplicationContext(ContextLoaderPlugIn.java:353)
at org.springframework.web.struts.ContextLoaderPlugIn.initWebApplicationContext(ContextLoaderPlugIn.java:296)
at org.springframework.web.struts.ContextLoaderPlugIn.init(ContextLoaderPlugIn.java:225)
at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:869)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:336)
at javax.servlet.GenericServlet.init(GenericServlet.java:212)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3956)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4230)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:448)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
[framework] 2007-09-05 23:23:05,390 - org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/struts] -2875 [main] ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/struts] - Servlet /struts threw load() exception
javax.servlet.UnavailableException
at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:880)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:336)
at javax.servlet.GenericServlet.init(GenericServlet.java:212)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3956)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4230)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:448)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
发表评论
-
关于MultiActionController中方法不能返回含有ModelAndView方法的问题
2008-07-28 00:10 3536继承MultiActionController的SysAdmi ... -
Spring提供的HibernateTemplate不支持分页
2007-08-13 23:35 2834这几天搞想了好久,究竟HibernateTem ... -
如何解决Spring和struts整合时出现的Servlet action is not available
2007-08-01 00:45 3017/WEB-INF/classes/applicationCon ... -
使用spring注入时出现NotWritablePropertyException
2007-07-29 00:33 14751org.springframework.beans.facto ... -
关于使用commons-validator.jar的校验问题
2007-07-26 15:31 4355最近一直都研究struts中的commons-validat ...
相关推荐
【SSH+Maven+Bootstrap视频教程】第18章主要讲解了如何测试并应用Log4j日志框架,这是Java开发中的一个关键组件,尤其在系统监控、调试和错误跟踪方面发挥着重要作用。Log4j是Apache软件基金会的一个开放源代码项目...
在SSH(Spring、Struts和Hibernate)框架中,Log4j是一个非常重要的组件,它用于记录应用程序的运行日志,帮助开发者追踪程序错误、调试代码和监控系统性能。本篇文章将详细阐述如何在SSH环境中配置和使用Log4j,...
标题中的"ssh+aop+log4j+日志拦截器+注解"涉及到的是Java Web开发中的几个核心组件和技术,这些技术在构建大型、分布式的企业级应用时常常被使用。下面将详细介绍这些知识点: 1. SSH (Spring, Struts, Hibernate)...
完成上述配置后,即可在具体的Java类中使用Log4j记录日志。 ```java import org.apache.log4j.Logger; public class Example { private static final Logger logger = Logger.getLogger(Example.class); ...
2. **Struts2整合Log4j**:在Struts2应用中,可以通过配置struts.xml或使用filter来初始化Log4j,确保每个Action类都能获取到日志实例,便于跟踪请求处理过程。 3. **Hibernate与Log4j**:Hibernate的配置文件...
这个压缩包文件“SSH框架初学者入【包含log4j及jar】”显然是为初学者提供了一个基础的SSH项目环境,其中包含必要的log4j日志管理和jar库。下面将详细阐述SSH框架及其组成部分,以及log4j的作用。 **Struts2** 是一...
而Log4j则是Apache的一个日志记录组件,它为应用程序提供灵活且高效的日志记录功能。 首先,让我们详细了解一下SSH框架: 1. Spring框架:Spring是一个全面的后端开发框架,它提供依赖注入(DI)和面向切面编程...
SSH框架整合实战项目,log4j完整的配置文件(log4j.perproties,log4j.xml),日志可输出到控制台、本地文件、数据库,提供多种配置方法,项目可直接运行,SQL语句在项目中。该项目对学习spring,struts2,hibernate,log...
但是,如果我们使用 SSH 框架时,servlet 被封装了,那么我们不需要写 servlet 来指定 log4j 配置文件的路径。相反,我们可以使用 listener 来初始化 Log4J 日志引擎,例如: <param-name>log4jConfigLocation ...
【SSH2+Log4j+异常简单框架】是一种常见的Java Web开发框架组合,它整合了Struts2、Hibernate和Spring三大主流框架,并结合了Log4j日志系统,用于实现高效、灵活和可维护的项目架构。这个框架的集成使得开发者能够更...
Log4j是一个广泛使用的日志记录库,提供了灵活的日志级别(DEBUG、INFO、WARN、ERROR、FATAL)和多种输出方式(控制台、文件、数据库等)。配置Log4j主要通过log4j.properties或log4j.xml文件完成。在其中,你可以...
总结起来,Log4j 在 SSH 架构下的配置使用,旨在提高开发效率,优化日志管理,提供灵活的输出选项,以及方便的格式化和级别控制,是Java开发者不可或缺的工具。通过正确配置和使用Log4j,可以在复杂的应用环境中实现...
Log4j 是一个广泛使用的Java日志记录框架,它允许开发者灵活地控制日志信息的输出。在SSH(Struts、Spring、Hibernate)等Java Web框架中,配置Log4j以使用相对路径是非常常见的需求,这有助于在不同环境下保持日志...
在本节视频教程中,我们将深入探讨如何在Java项目中集成SSH(Struts、Spring、Hibernate)框架,并结合Maven构建工具以及Bootstrap前端框架,来添加和配置`log4j.properties`日志文件。这个过程对于任何Java开发人员...
一直出现HTTP Status 404 - Servlet action is not available -------------------------------------------------------------------------------- type Status report message Servlet action is not available...
这个绑定包使得SLF4J可以与Log4j 1.2版本无缝集成,方便开发者使用Log4j进行日志记录。 在Java项目中,CXF(Common eXtensible Framework)是一个开源的服务栈,用于构建和部署Web服务。SSH(Spring、Struts、...
最后,log4j是日志记录库,它在`log4j-core-2.11.0.jar`中实现。在软件开发中,日志记录对于调试、性能分析和问题排查至关重要。Log4j提供了丰富的配置选项,允许开发者定制日志级别、输出格式和目的地,使得在项目...
标题中的"SSH2+log4j源码"指的是在Java开发中常用的三个开源框架——Spring、Struts2和Hibernate的源代码,以及日志记录工具log4j的源码。这些框架是Java企业级应用开发的核心组件,对于理解Java Web应用的运行机制...
SLF4J(Simple Logging Facade for Java)和Log4j是Java开发中常用的日志处理框架,它们在构建SSH(Struts、Spring、Hibernate)和MVC(Model-View-Controller)架构的Web应用程序时扮演着至关重要的角色。...
4. **筛选特定日志内容**:有时我们可能只关心包含特定关键字的日志条目,可以结合`grep`命令使用。例如,`tail -f /var/log/app.log | grep 'error'`将只显示包含“error”的日志行。 5. **自动化日志收集**:为了...