1 Reply Latest reply on Dec 4, 2006 6:33 PM by Pete Muir

    Help -  seam component not found:

    Dustin Norlander Apprentice

      I have been banging my head at this all day. I created an app using seam-gen backed by a mysql database with a few tables in it. Everything seemed to work fine, I can view the generated app but it won't display any of the records in the DB. I believe it is connected to the db, but for some reason it is not finding ANY of the components.

      2006-12-01 20:20:45,728 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3@e75a11, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader@3e91e7{ url=null ,addedOrder=0}
      2006-12-01 20:20:45,859 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: subUserHome
      2006-12-01 20:20:45,859 DEBUG [org.jboss.seam.Component] seam component not found: subUserHome
      2006-12-01 20:20:45,860 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] could not resolve name
      2006-12-01 20:20:45,860 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: subUserHome
      2006-12-01 20:20:45,860 DEBUG [org.jboss.seam.Component] seam component not found: subUserHome
      2006-12-01 20:20:45,860 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] could not resolve name
      2006-12-01 20:20:45,878 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: subUserHome
      2006-12-01 20:20:45,878 DEBUG [org.jboss.seam.Component] seam component not found: subUserHome
      2006-12-01 20:20:45,878 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] could not resolve name
      2006-12-01 20:20:45,879 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: subUserHome
      2006-12-01 20:20:45,879 DEBUG [org.jboss.seam.Component] seam component not found: subUserHome
      2006-12-01 20:20:45,879 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] could not resolve name
      2006-12-01 20:20:45,880 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: subUserHome
      2006-12-01 20:20:45,880 DEBUG [org.jboss.seam.Component] seam component not found: subUserHome
      2006-12-01 20:20:45,880 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] could not resolve name
      2006-12-01 20:20:45,881 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: subUserHome
      2006-12-01 20:20:45,881 DEBUG [org.jboss.seam.Component] seam component not found: subUserHome
      2006-12-01 20:20:45,881 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] could not resolve name
      2006-12-01 20:20:45,881 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: subUserHome
      2006-12-01 20:20:45,881 DEBUG [org.jboss.seam.Component] seam component not found: subUserHome
      2006-12-01 20:20:45,881 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] could not resolve name
      2006-12-01 20:20:45,882 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: subUserHome
      2006-12-01 20:20:45,882 DEBUG [org.jboss.seam.Component] seam component not found: subUserHome
      2006-12-01 20:20:45,882 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] could not resolve name
      
      


      Any help?
      -Dustin

        • 1. Re: Help -  seam component not found:
          Pete Muir Master

          I wouldn't put too much store by those debug messages. Better to attach your debugger to the component and check whether it is being instantiated. You'll need to post an example component, and your config files (components.xml, persistence.xml, application.xml), JSF page you are using to access, and the Seam startup log (from where it says welcome to seam onwards) if you need more help.