日期:2014-05-17  浏览次数:20943 次

菜鸟问个SSH整合时候遇到的一个问题。
自己弄了个ssh的用户登录验证的例子,用的是jar6 eclipse(查了下是2008版本,估计是3.几的)struts1.2 hibernate3.1.2 spring2.5.5 tomcat6 postgresQL9.0 mysql5.0

刚开始跑的时候tomcat debug到这就停住了,之后就超时了,不知道什么原因。刚开始用的是postgres,以为是数据库的问题,后来换了mysql还是一样。

console:
2011-9-30 21:24:54 org.apache.catalina.core.AprLifecycleListener init
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre6\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/Program Files/Java/jre6/bin/client;C:/Program Files/Java/jre6/bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\Common Files\Thunder Network\KanKan\Codecs;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\MySQL\MySQL Server 5.0\bin;.
2011-9-30 21:24:55 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
2011-9-30 21:24:55 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 941 ms
2011-9-30 21:24:55 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2011-9-30 21:24:55 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.33
2011-9-30 21:24:55 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor WorkProccess.xml
2011-9-30 21:24:56 org.apache.catalina.core.ApplicationContext log
信息: Initializing Spring root WebApplicationContext
2011-9-30 21:24:56 org.springframework.web.context.ContextLoader initWebApplicationContext
信息: Root WebApplicationContext: initialization started
2011-9-30 21:24:56 org.springframework.context.support.AbstractApplicationContext prepareRefresh
信息: Refreshing org.springframework.web.context.support.XmlWebApplicationContext@51e67c: display name [Root WebApplicationContext]; startup date [Fri Sep 30 21:24:56 CST 2011]; root of context hierarchy
2011-9-30 21:24:56 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
信息: Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext.xml]
2011-9-30 21:24:56 org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactory
信息: Bean factory for application context [org.springframework.web.context.support.XmlWebApplicationContext@51e67c]: org.springframework.beans.factory.support.DefaultListableBeanFactory@5878d2
2011-9-30 21:24:56 org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
信息: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@5878d2: defining beans [/logon,userInfoService,dataSource,SessionFactory,transactionManager,userInfoDAO]; root of factory hierarchy
2011-9-30 21:24:56 org.hibernate.cfg.Environment <clinit>
信息: Hibernate 3.1.2
2011-9-30 21:24:56 org.hibernate.cfg.Environment <clinit>
信息: hibernate.properties not found
2011-9-30 21:24:56 org.hibernate.cfg.Environment <clinit>
信息: using CGLIB reflection optimizer
2011-9-30 21:24:56 org.hibernate.cfg.Environment <clinit>
信息: using JDK 1.4 java.sql.Timestamp handling
2011-9-30 21:24:57 org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
信息: Mapping class: com.gench.bean.UserInfo -> users
2011-9-30 21:24:57 org.springframework.orm.hibernate3.LocalSessionFactoryBean buildSessionFactory
信息: Building new Hibernate SessionFactory
2011-9-30 21:24:57 org.hibernate.connection.ConnectionProviderFactory newConnectionProvider