lscforever

 

楼主!请问出现这些错误该怎么样解决:

2006-03-23 17:24:15 StandardContext[/balancer]org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]
2006-03-23 17:24:15 StandardContext[/servlets-examples]ContextListener: contextInitialized()
2006-03-23 17:24:15 StandardContext[/servlets-examples]SessionListener: contextInitialized()
2006-03-23 17:24:16 StandardContext[/jsp-examples]ContextListener: contextInitialized()
2006-03-23 17:24:16 StandardContext[/jsp-examples]SessionListener: contextInitialized()
2006-03-23 17:24:49 StandardContext[/ssh]Initializing WebApplicationContext for Struts ActionServlet 'action', module ''
2006-03-23 17:24:57 StandardContext[/login]Initializing WebApplicationContext for Struts ActionServlet 'action', module ''
2006-03-23 17:25:06 StandardContext[/login]action: null
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Initialization of bean failed; nested exception is org.hibernate.MappingException: could not instantiate id generator
org.hibernate.MappingException: could not instantiate id generator
 at org.hibernate.id.IdentifierGeneratorFactory.create(IdentifierGeneratorFactory.java:92)
 at org.hibernate.mapping.SimpleValue.createIdentifierGenerator(SimpleValue.java:151)
 at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:178)
 at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1005)
 at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:800)
 at org.springframework.orm.hibernate3.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:726)
 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1059)
 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:363)
 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:269)
 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:256)
 at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1044)
 at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:887)
 at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3959)
 at org.apache.catalina.core.StandardContext.start(StandardContext.java:4284)
 at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:866)
 at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:850)
 at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:638)
 at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:320)
 at org.apache.catalina.core.StandardHost.install(StandardHost.java:875)
 at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:727)
 at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:477)
 at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1008)
 at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:394)
 at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1134)
 at org.apache.catalina.core.StandardHost.start(StandardHost.java:832)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1126)
 at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:521)
 at org.apache.catalina.core.StandardService.start(StandardService.java:519)
 at org.apache.catalina.core.StandardServer.start(StandardServer.java:2345)
 at org.apache.catalina.startup.Catalina.start(Catalina.java:594)
 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:324)
 at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:297)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:398)
Caused by: org.hibernate.MappingException: Dialect does not support sequences
 at org.hibernate.dialect.Dialect.getSequenceNextValString(Dialect.java:430)
 at org.hibernate.id.SequenceGenerator.configure(SequenceGenerator.java:65)
 at org.hibernate.id.IdentifierGeneratorFactory.create(IdentifierGeneratorFactory.java:88)
 ... 45 more

2006-03-23 17:25:06 StandardContext[/login]Marking servlet action as unavailable
2006-03-23 17:25:06 StandardContext[/login]Servlet /login 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:256)
 at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1044)
 at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:887)
 at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3959)
 at org.apache.catalina.core.StandardContext.start(StandardContext.java:4284)
 at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:866)
 at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:850)
 at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:638)
 at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:320)
 at org.apache.catalina.core.StandardHost.install(StandardHost.java:875)
 at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:727)
 at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:477)
 at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1008)
 at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:394)
 at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1134)
 at org.apache.catalina.core.StandardHost.start(StandardHost.java:832)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1126)
 at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:521)
 at org.apache.catalina.core.StandardService.start(StandardService.java:519)
 at org.apache.catalina.core.StandardServer.start(StandardServer.java:2345)
 at org.apache.catalina.startup.Catalina.start(Catalina.java:594)
 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:324)
 at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:297)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:398)

2006-03-23 17:27:02 StandardWrapperValve[action]: Servlet action is currently unavailable

posted on 2006-03-23 17:35 lscforever_2002 阅读(833) 评论(0)  编辑  收藏


只有注册用户登录后才能发表评论。


网站导航:
 

导航

统计

常用链接

留言簿(1)

随笔档案

搜索

最新评论

阅读排行榜

评论排行榜