- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
这太令人沮丧了,这是过去 3 天的错误日志。我不太确定该怎么办。请帮我。来源包含在下面。
2013-05-20 10:52:44,197 ERROR [STDERR] (http-0.0.0.0-8080-6) org.jboss.seam.RequiredException: @Out attribute requires non-null value: caseDatabaseSwitcher.currentEntityManager
2013-05-20 10:52:44,197 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.jboss.seam.Component.outjectAttribute(Component.java:1764)
2013-05-20 10:52:44,197 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.jboss.seam.Component.outjectAttributes(Component.java:1755)
2013-05-20 10:52:44,197 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.jboss.seam.Component.outject(Component.java:1608)
2013-05-20 10:52:44,197 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:86)
2013-05-20 10:52:44,197 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
2013-05-20 10:52:44,197 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44)
2013-05-20 10:52:44,197 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
2013-05-20 10:52:44,197 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
2013-05-20 10:52:44,197 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:185)
2013-05-20 10:52:44,197 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:103)
2013-05-20 10:52:44,197 ERROR [STDERR] (http-0.0.0.0-8080-6) at com.icomteq.edd.cases.util.CaseDatbaseSwitcher_$$_javassist_seam_55.switchDB(CaseDatbaseSwitcher_$$_javassist_seam_55.java)
2013-05-20 10:52:44,197 ERROR [STDERR] (http-0.0.0.0-8080-6) at com.icomteq.edd.master.bean.DBSwitcherBean.setCaseId(DBSwitcherBean.java:43)
2013-05-20 10:52:44,197 ERROR [STDERR] (http-0.0.0.0-8080-6) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2013-05-20 10:52:44,197 ERROR [STDERR] (http-0.0.0.0-8080-6) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2013-05-20 10:52:44,207 ERROR [STDERR] (http-0.0.0.0-8080-6) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2013-05-20 10:52:44,207 ERROR [STDERR] (http-0.0.0.0-8080-6) at java.lang.reflect.Method.invoke(Method.java:597)
2013-05-20 10:52:44,207 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
2013-05-20 10:52:44,207 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:32)
2013-05-20 10:52:44,207 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
2013-05-20 10:52:44,207 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:28)
2013-05-20 10:52:44,207 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
2013-05-20 10:52:44,207 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:77)
2013-05-20 10:52:44,207 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
2013-05-20 10:52:44,207 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44)
2013-05-20 10:52:44,207 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
2013-05-20 10:52:44,207 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.jboss.seam.core.SynchronizationInterceptor.aroundInvoke(SynchronizationInterceptor.java:32)
2013-05-20 10:52:44,207 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
2013-05-20 10:52:44,207 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
2013-05-20 10:52:44,207 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:185)
2013-05-20 10:52:44,207 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:103)
2013-05-20 10:52:44,207 ERROR [STDERR] (http-0.0.0.0-8080-6) at com.icomteq.edd.master.bean.DBSwitcherBean_$$_javassist_seam_54.setCaseId(DBSwitcherBean_$$_javassist_seam_54.java)
2013-05-20 10:52:44,207 ERROR [STDERR] (http-0.0.0.0-8080-6) at com.icomteq.edd.master.bean.QuickLinksBean.setCaseId(QuickLinksBean.java:1408)
2013-05-20 10:52:44,207 ERROR [STDERR] (http-0.0.0.0-8080-6) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2013-05-20 10:52:44,207 ERROR [STDERR] (http-0.0.0.0-8080-6) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2013-05-20 10:52:44,207 ERROR [STDERR] (http-0.0.0.0-8080-6) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2013-05-20 10:52:44,207 ERROR [STDERR] (http-0.0.0.0-8080-6) at java.lang.reflect.Method.invoke(Method.java:597)
2013-05-20 10:52:44,207 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
2013-05-20 10:52:44,217 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:32)
2013-05-20 10:52:44,217 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
2013-05-20 10:52:44,217 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:28)
2013-05-20 10:52:44,217 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
2013-05-20 10:52:44,217 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:77)
2013-05-20 10:52:44,217 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
2013-05-20 10:52:44,217 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44)
2013-05-20 10:52:44,217 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
2013-05-20 10:52:44,227 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.jboss.seam.core.SynchronizationInterceptor.aroundInvoke(SynchronizationInterceptor.java:32)
2013-05-20 10:52:44,227 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
2013-05-20 10:52:44,227 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
2013-05-20 10:52:44,227 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:185)
2013-05-20 10:52:44,227 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:103)
2013-05-20 10:52:44,237 ERROR [STDERR] (http-0.0.0.0-8080-6) at com.icomteq.edd.master.bean.QuickLinksBean_$$_javassist_seam_19.setCaseId(QuickLinksBean_$$_javassist_seam_19.java)
2013-05-20 10:52:44,237 ERROR [STDERR] (http-0.0.0.0-8080-6) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2013-05-20 10:52:44,237 ERROR [STDERR] (http-0.0.0.0-8080-6) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2013-05-20 10:52:44,237 ERROR [STDERR] (http-0.0.0.0-8080-6) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2013-05-20 10:52:44,237 ERROR [STDERR] (http-0.0.0.0-8080-6) at java.lang.reflect.Method.invoke(Method.java:597)
2013-05-20 10:52:44,237 ERROR [STDERR] (http-0.0.0.0-8080-6) at javax.el.BeanELResolver.setValue(BeanELResolver.java:108)
2013-05-20 10:52:44,237 ERROR [STDERR] (http-0.0.0.0-8080-6) at javax.el.CompositeELResolver.setValue(CompositeELResolver.java:69)
2013-05-20 10:52:44,237 ERROR [STDERR] (http-0.0.0.0-8080-6) at com.sun.faces.el.FacesCompositeELResolver.setValue(FacesCompositeELResolver.java:100)
2013-05-20 10:52:44,237 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.jboss.el.parser.AstPropertySuffix.setValue(AstPropertySuffix.java:73)
2013-05-20 10:52:44,237 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.jboss.el.parser.AstValue.setValue(AstValue.java:84)
2013-05-20 10:52:44,237 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.jboss.el.ValueExpressionImpl.setValue(ValueExpressionImpl.java:249)
2013-05-20 10:52:44,237 ERROR [STDERR] (http-0.0.0.0-8080-6) at com.sun.facelets.el.TagValueExpression.setValue(TagValueExpression.java:93)
2013-05-20 10:52:44,237 ERROR [STDERR] (http-0.0.0.0-8080-6) at javax.faces.component.UIInput.updateModel(UIInput.java:771)
2013-05-20 10:52:44,237 ERROR [STDERR] (http-0.0.0.0-8080-6) at javax.faces.component.UIInput.processUpdates(UIInput.java:703)
2013-05-20 10:52:44,237 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.ajax4jsf.component.AjaxViewRoot$2.invokeContextCallback(AjaxViewRoot.java:424)
2013-05-20 10:52:44,237 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.ajax4jsf.component.ContextCallbackWrapper.invokeContextCallback(ContextCallbackWrapper.java:44)
2013-05-20 10:52:44,247 ERROR [STDERR] (http-0.0.0.0-8080-6) at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:711)
2013-05-20 10:52:44,247 ERROR [STDERR] (http-0.0.0.0-8080-6) at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)
2013-05-20 10:52:44,247 ERROR [STDERR] (http-0.0.0.0-8080-6) at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:720)
2013-05-20 10:52:44,247 ERROR [STDERR] (http-0.0.0.0-8080-6) at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)
2013-05-20 10:52:44,247 ERROR [STDERR] (http-0.0.0.0-8080-6) at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:720)
2013-05-20 10:52:44,247 ERROR [STDERR] (http-0.0.0.0-8080-6) at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)
2013-05-20 10:52:44,247 ERROR [STDERR] (http-0.0.0.0-8080-6) at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:720)
2013-05-20 10:52:44,247 ERROR [STDERR] (http-0.0.0.0-8080-6) at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)
2013-05-20 10:52:44,247 ERROR [STDERR] (http-0.0.0.0-8080-6) at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:720)
2013-05-20 10:52:44,247 ERROR [STDERR] (http-0.0.0.0-8080-6) at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)
2013-05-20 10:52:44,257 ERROR [STDERR] (http-0.0.0.0-8080-6) at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:720)
2013-05-20 10:52:44,257 ERROR [STDERR] (http-0.0.0.0-8080-6) at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)
2013-05-20 10:52:44,257 ERROR [STDERR] (http-0.0.0.0-8080-6) at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:720)
2013-05-20 10:52:44,257 ERROR [STDERR] (http-0.0.0.0-8080-6) at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)
2013-05-20 10:52:44,257 ERROR [STDERR] (http-0.0.0.0-8080-6) at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:720)
2013-05-20 10:52:44,257 ERROR [STDERR] (http-0.0.0.0-8080-6) at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)
2013-05-20 10:52:44,257 ERROR [STDERR] (http-0.0.0.0-8080-6) at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:720)
2013-05-20 10:52:44,257 ERROR [STDERR] (http-0.0.0.0-8080-6) at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)
2013-05-20 10:52:44,267 ERROR [STDERR] (http-0.0.0.0-8080-6) at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:720)
2013-05-20 10:52:44,277 ERROR [STDERR] (http-0.0.0.0-8080-6) at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)
2013-05-20 10:52:44,277 ERROR [STDERR] (http-0.0.0.0-8080-6) at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:720)
2013-05-20 10:52:44,277 ERROR [STDERR] (http-0.0.0.0-8080-6) at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)
2013-05-20 10:52:44,277 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:244)
2013-05-20 10:52:44,277 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.ajax4jsf.component.AjaxViewRoot.processUpdates(AjaxViewRoot.java:440)
2013-05-20 10:52:44,277 ERROR [STDERR] (http-0.0.0.0-8080-6) at com.sun.faces.lifecycle.UpdateModelValuesPhase.execute(UpdateModelValuesPhase.java:78)
2013-05-20 10:52:44,277 ERROR [STDERR] (http-0.0.0.0-8080-6) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
2013-05-20 10:52:44,277 ERROR [STDERR] (http-0.0.0.0-8080-6) at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
2013-05-20 10:52:44,277 ERROR [STDERR] (http-0.0.0.0-8080-6) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
2013-05-20 10:52:44,277 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
2013-05-20 10:52:44,277 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
2013-05-20 10:52:44,277 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
2013-05-20 10:52:44,277 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40)
2013-05-20 10:52:44,277 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
2013-05-20 10:52:44,277 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90)
2013-05-20 10:52:44,277 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
2013-05-20 10:52:44,277 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
2013-05-20 10:52:44,277 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
2013-05-20 10:52:44,277 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
2013-05-20 10:52:44,277 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
2013-05-20 10:52:44,277 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.jboss.seam.web.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:42)
2013-05-20 10:52:44,277 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
2013-05-20 10:52:44,277 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:206)
2013-05-20 10:52:44,277 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
2013-05-20 10:52:44,277 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388)
2013-05-20 10:52:44,277 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)
2013-05-20 10:52:44,277 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)
2013-05-20 10:52:44,277 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
2013-05-20 10:52:44,287 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60)
2013-05-20 10:52:44,287 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
2013-05-20 10:52:44,287 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.jboss.seam.web.HotDeployFilter.doFilter(HotDeployFilter.java:53)
2013-05-20 10:52:44,287 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
2013-05-20 10:52:44,287 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
2013-05-20 10:52:44,287 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
2013-05-20 10:52:44,287 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
2013-05-20 10:52:44,287 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
2013-05-20 10:52:44,287 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
2013-05-20 10:52:44,287 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
2013-05-20 10:52:44,287 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
2013-05-20 10:52:44,287 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
2013-05-20 10:52:44,287 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
2013-05-20 10:52:44,287 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
2013-05-20 10:52:44,287 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
2013-05-20 10:52:44,307 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
2013-05-20 10:52:44,307 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
2013-05-20 10:52:44,307 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
2013-05-20 10:52:44,307 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
2013-05-20 10:52:44,307 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
2013-05-20 10:52:44,307 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
2013-05-20 10:52:44,307 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
2013-05-20 10:52:44,307 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
2013-05-20 10:52:44,307 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
2013-05-20 10:52:44,307 ERROR [STDERR] (http-0.0.0.0-8080-6) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
2013-05-20 10:52:44,317 ERROR [STDERR] (http-0.0.0.0-8080-6) at java.lang.Thread.run(Thread.java:662)
2013-05-20 10:52:44,317 INFO [STDOUT] (http-0.0.0.0-8080-6) Calling quickSearchCleanUp()...
2013-05-20 10:52:44,317 INFO [STDOUT] (http-0.0.0.0-8080-6) quicklinks bean caseID: 318
2013-05-20 10:52:44,317 INFO [com.icomteq.edd.master.bean.QuickLinksBean] (http-0.0.0.0-8080-6) ---------------------- ::::::::::::::::::::: ----------------- 1
这是产生错误的 Java 类:
package com.icomteq.edd.cases.util;
import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import javax.persistence.PersistenceContext;
import org.jboss.seam.Component;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.AutoCreate;
import org.jboss.seam.annotations.In;
import org.jboss.seam.annotations.Logger;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Out;
import org.jboss.seam.log.Log;
import com.icomteq.edd.master.wrappers.EntityManagerFactoryWrapper;
import com.icomteq.edd.master.wrappers.EntityManagerWrapper;
@Name("caseDatabaseSwitcher")
@AutoCreate
public class CaseDatbaseSwitcher {
@Logger
private Log log;
public static String persistenceUnitName = "edd_case";
public static String entityManagerPrefix = "java:EntityManagerFactories:";
public static final String EDD_CASE_ENTITY_MANAGER = "currentEntityManager";
//
@Out(scope = ScopeType.SESSION)
EntityManager currentEntityManager;
/*
* Creates a session based EntityManager for the caseID on the users
* Session.
*
* last updated by: GerryjunA Sept 14, 2011
*
* @param CaseId
*
* @return EntiyManager
*/
public EntityManager switchDB(Integer caseId) {
EddCaseDBFactory eddCaseDBFactory = (EddCaseDBFactory) Component.getInstance("eddCaseDBFactory", ScopeType.APPLICATION);
EntityManagerFactory emf = eddCaseDBFactory.getEddCaseEntityManager(caseId);
EntityManager cem = null;
if (emf != null && emf.isOpen()) {
cem = emf.createEntityManager();
currentEntityManager = (EntityManagerWrapper) Component.getInstance(EDD_CASE_ENTITY_MANAGER, true);
if (currentEntityManager != null && currentEntityManager.isOpen()) {
if (((EntityManagerWrapper)currentEntityManager).getCaseId().equals(caseId)) {
// switchDB will reuse currentEntity
log.info("switchDB will reuse currentEntity : " + caseId);
} else {
currentEntityManager.close();
currentEntityManager = emf.createEntityManager();
}
} else {
currentEntityManager = emf.createEntityManager();
}
} else {
currentEntityManager = null;
}
return cem;
}
}
我不确定需要在此处显示哪些文件来帮助解决此问题,请帮忙:(
currentEntityManager
为空。
这是显示错误日志的代码部分:
@Out(scope = ScopeType.SESSION)
EntityManager currentEntityManager;
最佳答案
错误非常明显,Seam 正在尝试输出 currentEntityManager
值,但无法执行此操作,因为变量为 null
。因此,您需要了解为什么它是 null
(我推测是因为 emf
是 null
或未打开)。
当currentEntityManager
为null
时,您可以指示Seam不要提示(使用注释的required
选项)。但是,如果您不希望它为空,那么您需要检查原因。
@In(required=false)
@Out(scope=ScopeType.SESSION, required=false)
EntityManager currentEntityManager;
此外,尚不清楚为什么在该函数中返回 cem
,以及为什么不使用 cem 的值设置
.currentEntityManager
关于java - 无法创建 JBoss Seam EntityManager,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16641910/
我是 JBoss 的新手,发现了很多不同的术语 - JBoss EAP、JBoss Server、Wildfly、Jboss Web,以及很多不是最新的或针对旧版本的文档。 我从哪里开始了解 JBos
JBoss ESB 服务器之间有什么区别(可在此处获得:http://jbossesb.jboss.org/downloads/) 和 JBoss fuse ( http://www.jboss.or
我在我的 PC 上安装了 JBoss 4 到目录 C:\JBoss4 并将环境变量 JBOSS_HOME 设置为此目录: JBOSS_HOME=C:\JBoss4 我需要在同一台 PC 上安装 JB
我有一个 JBoss 服务器正在运行并且想要部署一个服务。 该服务连接到在以下 xml 文件中配置的数据库 jdbc:postgresql://localhost:543
jboss 中的超时是如何工作的?网络应用程序如何知道何时重定向到登录页面? 只是为了澄清! -我知道如何在 jboss 上配置超时。我的问题是,Jboss 如何知道 session 已超时以及何时超
使用JBoss Forge启动新项目时,默认情况下该项目是使用Maven构建系统创建的。我如何利用Forge 2. *的Gradle插件使用Gradle而不是Maven创建项目? % forge Us
当前配置: 正在运行的16个Pod,基于JBoss TCP的集群以及google ping发现。容器作为状态集部署在Kubernetes集群上。 没有负载的初始群集按预期运行,没有任何单个问题,但是当
我以为这将是一个 JBoss 常见问题解答,但我找不到它。 我想同时运行 JBoss 4 和 JBoss 5。我通过将端口的前导数字更改为 9 手动更改了 JBoss 5 服务器/默认实例上的所有端口
我们在 JBoss AS 6 上实现了一些服务作为我们希望迁移到 JBoss AS 7 的单例服务。 这些服务在 jboss-service.xml 文件中声明,该文件位于 EJB 包中,类似于以下代
例如,如何确定我的简单 JBoss 4.2.3 服务器正在监听端口 8080? 这是我最接近的一次,但这不起作用: MBeanServerConnection server = (MBeanServe
我正在尝试找到从语法上确定我的程序是在 Jboss 5 还是 Jboss 7 (eap-6.1) 上运行的最佳方法。到目前为止,我找到的方法是特定于 jboss 5 或 jboss 7 的,这不起作用
我在域模式下使用 JBoss 6.4.8 版本。我想通过 CLI 添加这 4 个系统属性: 1- /host=myserver/server-config=node/system-property=j
在 JBoss 4 中,您可以在文件中设置对象的部署顺序( .jar 、 .war 、 .sar 等...): conf/xmdesc/org.jboss.deployment.MainDeploye
概括地说,JBoss 5 的关闭有什么作用?如果我只是杀死 java 进程而不是优雅地关闭 JBoss,可能会出现什么问题? 对于我的应用程序来说,正常的 JBoss 5 关闭大约需要 6 分钟,这个
我最近在 CentOS 6.7 服务器上安装了 JBoss AS 7。 jboss as 工作正常。为了测试,我部署了一个 .war 文件并对其进行了测试,效果很好!但现在我尝试从我的台式电脑访问相同
我有 jboss 应用程序。并想自动测试部署。并希望将此任务作为项目添加到 Hudson 我的愿景基于以下阶段: 将我的应用程序放到 JBoss(复制耳朵、配置、库等) 运行 JBoss 我有一台 L
我对 JBoss 很陌生。目前我有一个需求,我需要在 JBoss 上部署应用程序(已经在 Tomcat 上运行)。我下载了 JBoss,但是版本 7 中的目录结构不同。 我正在运行 bin\stand
我是 JBoss AS 7 的新手。我尝试在 JBoss AS 7 上部署我的 war 文件,这似乎工作正常。我的问题是在哪里可以看到部署的内容。 我希望它像 Tomcat 一样,它应该有一个探索的
我使用多播方法在两个不同的 JBoss 服务器之间配置了集群。 当我启动两个 JBoss 服务器时,两个服务器都将连接。 一天后,我收到以下消息 server.log 中的群集开始显示错误 05:28
为了打开/关闭我们产品的跟踪-“类别”或“记录器”标签,我们应该在jboss-log4j.xml中使用什么? 默认情况下,JBoss在jboss-log4j.xml中使用“类别”。 但据我所知,不赞成
我是一名优秀的程序员,十分优秀!