Hi All I have created the stateconverter as per this discussion thread (in the war), all my seam managed objects are within the ejb file. I have registered the converter in the faces-config.xml. Both the ejb3 and war are packaged within an ear package.
When I try to post the web page (so perform conversion), I get this error: javax.servlet.ServletException: java.lang.ClassNotFoundException: No ClassLoaders found for: uk.com.millwood.View.Converters.SiteConverter | javax.faces.webapp.FacesServlet.service(FacesServlet.java:121) | org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:123) | org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81) | | root cause | | javax.faces.FacesException: java.lang.ClassNotFoundException: No ClassLoaders found for: uk.com.millwood.View.Converters.SiteConverter | org.apache.myfaces.util.StateUtils.getAsObject(StateUtils.java:276) | org.apache.myfaces.util.StateUtils.reconstruct(StateUtils.java:214) | org.apache.myfaces.renderkit.html.HtmlResponseStateManager.getComponentStateToRestore(HtmlResponseStateManager.java:220) | org.apache.myfaces.application.jsp.JspStateManagerImpl.restoreComponentState(JspStateManagerImpl.java:129) | org.apache.myfaces.application.jsp.JspStateManagerImpl.restoreView(JspStateManagerImpl.java:219) | org.apache.myfaces.application.jsp.JspViewHandlerImpl.restoreView(JspViewHandlerImpl.java:255) | org.apache.myfaces.lifecycle.LifecycleImpl.restoreView(LifecycleImpl.java:144) | org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:67) | javax.faces.webapp.FacesServlet.service(FacesServlet.java:106) | org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:123) | org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81) | I've looked at the deployed application and the classes are in WEB-INF/classes folder. The web app picks up messages.properties (also stored in the wars WEB-INF/classes folder. Did the original person answering this thread deploy seperately to a ejb3 war, or did they get round this by putting all in the war file. Many thanks for nay comments. James View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3910280#3910280 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3910280 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
