[jboss-user] [JBoss Seam] - Re: ConvertEntity Seam 2.0 issue

trouby do-not-reply at jboss.com
Tue Jul 3 10:51:24 EDT 2007


Tried,

I think that Toplink doesn't live so well with Hibernate libraries aside,
I assume Seam makes some usages of Hibernate if it exists automatically,

I removed Hibernate-all.jar file from my library and suddenly many problems I had disappeared, so most of the things started to work (including the s:convertEntity tag) and also Seam validators work,

Well, I currently get a NoClassDefFoundError, so I assume some more classes are needed in order to work with Seam without Hibernate,


following:

  | 
  | [#|2007-07-03T17:45:33.718+0300|SEVERE|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=20;_ThreadName=httpSSLWorkerThread-8181-0;_RequestID=edbee662-e430-43ac-b5d3-49f7fd98cf55;|StandardWrapperValve[Faces Servlet]: PWC1406: Servlet.service() for servlet Faces Servlet threw exception
  | java.lang.NoClassDefFoundError: org/hibernate/MappingException
  | 	at org.jboss.seam.core.Validators.createValidator(Validators.java:100)
  | 	at org.jboss.seam.core.Validators.getValidator(Validators.java:84)
  | 	at org.jboss.seam.core.Validators$ValidatingResolver.setValue(Validators.java:177)
  | 	at org.jboss.el.parser.AstPropertySuffix.setValue(AstPropertySuffix.java:73)
  | 	at org.jboss.el.parser.AstValue.setValue(AstValue.java:84)
  | 	at org.jboss.el.ValueExpressionImpl.setValue(ValueExpressionImpl.java:249)
  | 	at com.sun.facelets.el.TagValueExpression.setValue(TagValueExpression.java:93)
  | 	at org.jboss.seam.core.Validators.validate(Validators.java:118)
  | 	at org.jboss.seam.ui.validator.ModelValidator.validate(ModelValidator.java:35)
  | 	at javax.faces.component.UIInput.validateValue(UIInput.java:1013)
  | 	at javax.faces.component.UIInput.validate(UIInput.java:867)
  | 	at javax.faces.component.UIInput.executeValidate(UIInput.java:1065)
  | 	at javax.faces.component.UIInput.processValidators(UIInput.java:666)
  | 	at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1030)
  | 	at javax.faces.component.UIForm.processValidators(UIForm.java:229)
  | 	at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1030)
  | 	at javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:662)
  | 	at org.ajax4jsf.framework.ajax.AjaxViewRoot.access$201(AjaxViewRoot.java:53)
  | 	at org.ajax4jsf.framework.ajax.AjaxViewRoot$3.invokeRoot(AjaxViewRoot.java:315)
  | 	at org.ajax4jsf.framework.ajax.JsfOneOneInvoker.invokeOnRegionOrRoot(JsfOneOneInvoker.java:53)
  | 	at org.ajax4jsf.framework.ajax.AjaxContext.invokeOnRegionOrRoot(AjaxContext.java:191)
  | 	at org.ajax4jsf.framework.ajax.AjaxViewRoot.processValidators(AjaxViewRoot.java:329)
  | 	at com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:100)
  | 	at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
  | 	at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
  | 	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
  | 	at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:398)
  | 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
  | 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
  | 	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
  | 	at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:87)
  | 	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | 	at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:63)
  | 	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | 	at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:46)
  | 	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | 	at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:127)
  | 	at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:277)
  | 	at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:40)
  | 	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | 	at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:140)
  | 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:217)
  | 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
  | 	at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
  | 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:217)
  | 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
  | 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
  | 	at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:258)
  | 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:189)
  | 	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
  | 	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
  | 	at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:81)
  | 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:193)
  | 	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
  | 	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
  | 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:558)
  | 	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1067)
  | 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
  | 	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
  | 	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
  | 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:558)
  | 	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1067)
  | 	at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:255)
  | 	at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:618)
  | 	at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:549)
  | 	at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:790)
  | 	at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:326)
  | 	at com.sun.enterprise.web.connector.grizzly.ssl.SSLReadTask.process(SSLReadTask.java:427)
  | 	at com.sun.enterprise.web.connector.grizzly.ssl.SSLReadTask.doTask(SSLReadTask.java:215)
  | 	at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
  | 	at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:93)
  | |#]
  | 

Thanks.



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060009#4060009

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060009



More information about the jboss-user mailing list