176142998

  BlogJava :: 首页 :: 联系 :: 聚合  :: 管理
  116 Posts :: 0 Stories :: 45 Comments :: 0 Trackbacks
<2008-7-30 上午10时05分22秒 CST> <Error> <HTTP> <BEA-101020> <[ServletContext(id=3534409,name=WebRoot,context-path=/WebRoot)] Servlet failed with Exception
java.lang.IllegalStateException: Root context attribute is not of type WebApplicationContext: org.springframework.web.context.support.XmlWebApplicationContext: display name [Root WebApplicationContext]; startup date [Wed Jul 30 10:00:52 CST 2008]; root of context hierarchy; config locations [/WEB-INF/classes/applicationContext.xml,/WEB-INF/classes/applicationContext-lucene.xml,/WEB-INF/classes/applicationContext-webservice.xml,/WEB-INF/classes/applicationContext-manager.xml]
 at org.springframework.web.context.support.WebApplicationContextUtils.getWebApplicationContext(WebApplicationContextUtils.java:66)
 at org.springframework.web.context.support.WebApplicationContextUtils.getRequiredWebApplicationContext(WebApplicationContextUtils.java:84)
 at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.lookupSessionFactory(OpenSessionInViewFilter.java:221)
 at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.lookupSessionFactory(OpenSessionInViewFilter.java:207)
 at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:146)
 at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)
 at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
 at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:78)
 at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)
 at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
 at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6458)
 at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
 at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
 at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3661)
 at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2630)
 at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
 at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
>




2008-07-30 14:19:25,015 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - <Loading XML bean definitions from class path resource [org/springframework/jdbc/support/sql-error-codes.xml]>
2008-07-30 14:19:25,093 INFO [org.springframework.jdbc.support.SQLErrorCodesFactory] - <SQLErrorCodes loaded: [DB2, HSQL, MS-SQL, MySQL, Oracle, Informix, PostgreSQL, Sybase]>
2008-07-30 14:19:25,296 INFO [org.codehaus.xfire.handler.DefaultFaultHandler] - <Fault occurred!>
org.codehaus.xfire.fault.XFireFault: ClassNotFoundException: org.hibernate.hql.ast.HqlToken [from com.centralsoft.domain.XtUser user where user.userName like ?]; nested exception is org.hibernate.QueryException: ClassNotFoundException: org.hibernate.hql.ast.HqlToken [from com.centralsoft.domain.XtUser user where user.userName like ?]
 at org.codehaus.xfire.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:68)
 at org.codehaus.xfire.service.binding.ServiceInvocationHandler.sendMessage(ServiceInvocationHandler.java:271)
 at org.codehaus.xfire.service.binding.ServiceInvocationHandler$1.run(ServiceInvocationHandler.java:85)
 at org.codehaus.xfire.service.binding.ServiceInvocationHandler.execute(ServiceInvocationHandler.java:132)
 at org.codehaus.xfire.service.binding.ServiceInvocationHandler.invoke(ServiceInvocationHandler.java:107)
 at org.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java:98)
 at org.codehaus.xfire.transport.DefaultEndpoint.onReceive(DefaultEndpoint.java:61)
 at org.codehaus.xfire.transport.AbstractChannel.receive(AbstractChannel.java:38)
 at org.codehaus.xfire.transport.http.XFireServletController.invoke(XFireServletController.java:278)
 at org.codehaus.xfire.transport.http.XFireServletController.doService(XFireServletController.java:144)
 at org.codehaus.xfire.spring.remoting.XFireServletControllerAdapter.handleRequest(XFireServletControllerAdapter.java:63)
 at org.codehaus.xfire.spring.remoting.XFireExporter.handleRequest(XFireExporter.java:44)
 at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:45)
 at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:796)
 at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:727)
 at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:396)
 at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:360)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996)
 at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
 at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
 at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
 at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:174)
 at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)
 at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
 at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:78)
 at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)
 at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
 at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6458)
 at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
 at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
 at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3661)
 at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2630)
 at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
 at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
Caused by: org.springframework.orm.hibernate3.HibernateQueryException: ClassNotFoundException: org.hibernate.hql.ast.HqlToken [from com.centralsoft.domain.XtUser user where user.userName like ?]; nested exception is org.hibernate.QueryException: ClassNotFoundException: org.hibernate.hql.ast.HqlToken [from com.centralsoft.domain.XtUser user where user.userName like ?]
 at org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:647)
 at org.springframework.orm.hibernate3.HibernateAccessor.convertHibernateAccessException(HibernateAccessor.java:413)
 at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:371)
 at org.springframework.orm.hibernate3.HibernateTemplate.find(HibernateTemplate.java:822)
 at org.springframework.orm.hibernate3.HibernateTemplate.find(HibernateTemplate.java:818)
 at com.centralsoft.framework.commons.BaseHibernateDao.find(BaseHibernateDao.java:59)
 at com.centralsoft.logic.GsManager.findUserByName(GsManager.java:252)
 at com.centralsoft.logic.GsManager$$FastClassByCGLIB$$e34716b5.invoke(<generated>)
 at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
 at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:710)
 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)
 at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:100)
 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
 at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:648)
 at com.centralsoft.logic.GsManager$$EnhancerByCGLIB$$cdf7d204.findUserByName(<generated>)
 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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:288)
 at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:165)
 at $Proxy11.findUserByName(Unknown Source)
 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.codehaus.xfire.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:52)
 ... 35 more
Caused by: org.hibernate.QueryException: ClassNotFoundException: org.hibernate.hql.ast.HqlToken [from com.centralsoft.domain.XtUser user where user.userName like ?]
 at org.hibernate.hql.ast.HqlLexer.panic(HqlLexer.java:57)
 at antlr.CharScanner.setTokenObjectClass(CharScanner.java:340)
 at org.hibernate.hql.ast.HqlLexer.setTokenObjectClass(HqlLexer.java:31)
 at antlr.CharScanner.<init>(CharScanner.java:51)
 at antlr.CharScanner.<init>(CharScanner.java:60)
 at org.hibernate.hql.antlr.HqlBaseLexer.<init>(HqlBaseLexer.java:56)
 at org.hibernate.hql.antlr.HqlBaseLexer.<init>(HqlBaseLexer.java:53)
 at org.hibernate.hql.antlr.HqlBaseLexer.<init>(HqlBaseLexer.java:50)
 at org.hibernate.hql.ast.HqlLexer.<init>(HqlLexer.java:26)
 at org.hibernate.hql.ast.HqlParser.getInstance(HqlParser.java:44)
 at org.hibernate.hql.ast.QueryTranslatorImpl.parse(QueryTranslatorImpl.java:232)
 at org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:155)
 at org.hibernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:109)
 at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:75)
 at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:54)
 at org.hibernate.engine.query.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:71)
 at org.hibernate.impl.AbstractSessionImpl.getHQLQueryPlan(AbstractSessionImpl.java:133)
 at org.hibernate.impl.AbstractSessionImpl.createQuery(AbstractSessionImpl.java:112)
 at org.hibernate.impl.SessionImpl.createQuery(SessionImpl.java:1583)
 at org.springframework.orm.hibernate3.HibernateTemplate$29.doInHibernate(HibernateTemplate.java:824)
 at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:366)
 ... 59 more



2008/8/1 9:57:2 : ----AFF_NAME & AFF_ACTION & PAGE_URL:com.centralsoft.gs.affair.sldj.QyslsjqyAff   querywdqy   qy_sl_sjqywdcx
weblogic.jdbc.common.internal.RmiDataSource@10fe215
org.codehaus.xfire.XFireRuntimeException: Could not invoke service.. Nested exception is org.codehaus.xfire.fault.XFireFault: Unexpected character '"' (code 34) in DOCTYPE declaration; expected a space between public and system identifiers
 at [row,col {unknown-source}]: [1,55]
org.codehaus.xfire.fault.XFireFault: Unexpected character '"' (code 34) in DOCTYPE declaration; expected a space between public and system identifiers
 at [row,col {unknown-source}]: [1,55]
 at org.codehaus.xfire.fault.XFireFault.createFault(XFireFault.java:89)
 at org.codehaus.xfire.client.Client.onReceive(Client.java:467)
 at org.codehaus.xfire.transport.http.HttpChannel.sendViaClient(HttpChannel.java:182)
 at org.codehaus.xfire.transport.http.HttpChannel.send(HttpChannel.java:67)
 at org.codehaus.xfire.handler.OutMessageSender.invoke(OutMessageSender.java:26)
 at org.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java:98)
 at org.codehaus.xfire.client.Client.invoke(Client.java:360)
 at org.codehaus.xfire.client.XFireProxy.handleRequest(XFireProxy.java:77)
 at org.codehaus.xfire.client.XFireProxy.invoke(XFireProxy.java:57)
 at $Proxy13.findQyListByIndex(Unknown Source)
 at com.centralsoft.client.GsServiceClent.findQyListByIndex(GsServiceClent.java:85)
 at com.centralsoft.gs.affair.sldj.QyslsjqyAff.querywdqy(QyslsjqyAff.java:571)
 at com.centralsoft.gs.affair.sldj.QyslsjqyAff.goToAction(QyslsjqyAff.java:23)
 at com.centralsoft.gs.affair.Affair.doAct(Affair.java:37)
 at com.centralsoft.gs.dao.JDBCcontainer.doAff(JDBCcontainer.java:93)
 at com.centralsoft.gs.servlet.GSServlet.doAff(GSServlet.java:194)
 at com.centralsoft.gs.servlet.GSServlet.doPost(GSServlet.java:147)
 at com.centralsoft.gs.servlet.GSServlet.doGet(GSServlet.java:58)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996)
 at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
 at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
 at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
 at com.centralsoft.gs.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:75)
 at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
 at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6458)
 at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
 at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
 at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3661)
 at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2630)
 at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
 at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
Caused by: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '"' (code 34) in DOCTYPE declaration; expected a space between public and system identifiers
 at [row,col {unknown-source}]: [1,55]
 at com.ctc.wstx.sr.StreamScanner.throwUnexpectedChar(StreamScanner.java:600)
 at com.ctc.wstx.sr.BasicStreamReader.startDTD(BasicStreamReader.java:2318)
 at com.ctc.wstx.sr.BasicStreamReader.nextFromPrologBang(BasicStreamReader.java:2234)
 at com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:1900)
 at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1026)
 at org.codehaus.xfire.soap.handler.ReadHeadersHandler.invoke(ReadHeadersHandler.java:44)
 at org.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java:98)
 at org.codehaus.xfire.client.Client.onReceive(Client.java:450)
 ... 31 more
posted on 2008-07-30 10:25 飞飞 阅读(3764) 评论(2)  编辑  收藏

Feedback

# re: xfire 问题列表 2008-07-30 10:37 懒人
你看看这个地址 http://blog.csdn.net/patriotlml/archive/2007/05/28/1628556.aspx
看能不能解决  回复  更多评论
  

# اخبار الرياضة المصرية 2010-02-21 14:29 اخبار الرياضة المصرية
thanks for the information...  回复  更多评论
  


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


网站导航: