Marcio, something does not make sense in here. Your jsp will not be able to render the tomahawk tags if the tomahawk.jar is not included in the WEB-INF/lib directory. JSP tags cannot be accessed from the classpath of the EAR. I have followed your same EAR structure and the JSP files won't work unless the tomahawak libraries are in the WEB-INF/lib as stated above.
I had to put the tomahawk library back into the WEB-LIB/lib and I get again the conversion exception again. | 11:55:57,312 ERROR [[/training]] Cannot set value for expression '#{FileUpload.file}' to a new value of type org.apache.myfaces.custom.fileupload.UploadedFileDefaultFileImpl | javax.faces.el.EvaluationException: Cannot set value for expression '#{FileUpload.file}' to a new value of type org.apache.myfaces.custom.fileupload.UploadedFileDefaultFileImpl | at org.apache.myfaces.el.ValueBindingImpl.setValue(ValueBindingImpl.java:304) | at javax.faces.component.UIInput.updateModel(UIInput.java:226) | at javax.faces.component.UIInput.processUpdates(UIInput.java:165) | at javax.faces.component.UIForm.processUpdates(UIForm.java:85) | at javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:428) | at javax.faces.component.UIViewRoot.processUpdates(UIViewRoot.java:153) | at org.apache.myfaces.lifecycle.LifecycleImpl.updateModelValues(LifecycleImpl.java:277) | at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:81) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:106) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:122) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:45) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:54) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:174) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | Caused by: javax.faces.el.EvaluationException: com.sag.training.FileUploadBean$$EnhancerByCGLIB$$3c703dc9 | at org.apache.myfaces.el.PropertyResolverImpl.setValue(PropertyResolverImpl.java:155) | at org.apache.myfaces.el.ValueBindingImpl.setValue(ValueBindingImpl.java:269) | ... 33 more | Caused by: javax.faces.el.EvaluationException: Bean: com.sag.training.FileUploadBean$$EnhancerByCGLIB$$3c703dc9, property: file | at org.apache.myfaces.el.PropertyResolverImpl.setProperty(PropertyResolverImpl.java:372) | at org.apache.myfaces.el.PropertyResolverImpl.setValue(PropertyResolverImpl.java:148) | ... 34 more | Caused by: java.lang.IllegalArgumentException: argument type mismatch | 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:585) | at org.apache.myfaces.el.PropertyResolverImpl.setProperty(PropertyResolverImpl.java:368) | ... 35 more | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3940089#3940089 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3940089 ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user