-
15. Re: Newb needs help...
js8523 Jan 6, 2006 4:21 AM (in response to bkyrlach)Hi
Struglling to see why it isn't being deployed. Perhaps you could attach the source to your jboss-seam.jar and place a breakpoint in org.jboss.seam.Deployment.Scanner in the Set<Class<?>> getClasses class. Step through this and check that all your classes are loaded by the class loader and then that no error occurs during this process.
I hope this leads to a resolution.
James -
16. Re: Newb needs help...
gavin.king Jan 6, 2006 5:40 AM (in response to bkyrlach)Yes, I'm also struggling. Debug is the only way I guess.
Smells of "silly error" to me, but I can't be certain. -
17. Re: Newb needs help...
bkyrlach Jan 6, 2006 10:57 AM (in response to bkyrlach)Don't worry... I'm pretty sure it's a silly error myself. I'll see what I can do about the debug process outlined above. If there was an error loading a class or somesuch, wouldn't it get reported in the console? Is there a way to set the logger output to a more eplicit level? Would that even help?
Thanks again for all your help. -
18. Re: Newb needs help...
js8523 Jan 6, 2006 3:15 PM (in response to bkyrlach)Hi
You could try looking in the jboss app server log (for some more detailed log info), be warned it's prety verbose.
Mine is in C:\Development\jboss-4.0.3SP1\server\default\log\server.log
See what is appearing, anything interesting please post it.
James -
19. Re: Newb needs help...
bkyrlach Jan 6, 2006 3:58 PM (in response to bkyrlach)Interesting stuffs...
2006-01-05 09:13:16,555 DEBUG [org.hibernate.cfg.AnnotationConfiguration] Process annotated classes
2006-01-05 09:13:16,711 DEBUG [org.hibernate.cfg.Ejb3Column] Binding column TYPE unique false
2006-01-05 09:13:16,743 DEBUG [org.hibernate.cfg.annotations.EntityBinder] Import with entity name=User
2006-01-05 09:13:16,805 DEBUG [org.hibernate.cfg.AnnotationBinder] Processing org.jboss.seam.example.registration.User per property access
2006-01-05 09:13:16,821 DEBUG [org.jboss.mx.loading.UnifiedClassLoader] New jmx UCL with url null
2006-01-05 09:13:16,821 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3@33d09, cl=org.jboss.mx.loading.UnifiedClassLoader3@ad662c{ url=null ,addedOrder=0}
2006-01-05 09:13:16,836 DEBUG [org.jboss.mx.loading.UnifiedClassLoader] New jmx UCL with url null
2006-01-05 09:13:16,836 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3@33d09, cl=org.jboss.mx.loading.UnifiedClassLoader3@140138b{ url=null ,addedOrder=0}
2006-01-05 09:13:16,852 DEBUG [org.jboss.mx.loading.UnifiedClassLoader] New jmx UCL with url null
2006-01-05 09:13:16,852 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3@33d09, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader@94de98{ url=null ,addedOrder=0}
2006-01-05 09:13:16,852 DEBUG [org.jboss.mx.loading.UnifiedClassLoader] New jmx UCL with url null
2006-01-05 09:13:16,852 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3@33d09, cl=org.jboss.mx.loading.UnifiedClassLoader3@1a1ee47{ url=null ,addedOrder=0}
2006-01-05 09:13:16,868 DEBUG [org.hibernate.cfg.AnnotationBinder] Processing annotations of org.jboss.seam.example.registration.User.username
2006-01-05 09:13:16,868 DEBUG [org.hibernate.cfg.Ejb3Column] Binding column username unique false
2006-01-05 09:13:16,883 DEBUG [org.hibernate.cfg.AnnotationBinder] username is an id
2006-01-05 09:13:16,883 DEBUG [org.hibernate.cfg.annotations.SimpleValueBinder] building SimpleValue for username
2006-01-05 09:13:16,883 DEBUG [org.hibernate.cfg.annotations.PropertyBinder] Building property username
2006-01-05 09:13:16,899 DEBUG [org.jboss.cache.eviction.LRUAlgorithm] processing the node events in region: Regions--- fqn: /_default_/ maxNodes 1000000 TimeToIdleSeconds 300current eviction queue size is 0
2006-01-05 09:13:16,899 DEBUG [org.jboss.cache.eviction.LRUAlgorithm] processed 0 node events
2006-01-05 09:13:16,899 DEBUG [org.hibernate.cfg.annotations.PropertyBinder] Cascading username with null
2006-01-05 09:13:16,899 DEBUG [org.hibernate.cfg.AnnotationBinder] Bind @EmbeddedId on username
2006-01-05 09:13:16,899 DEBUG [org.hibernate.cfg.AnnotationBinder] Processing annotations of org.jboss.seam.example.registration.User.name
2006-01-05 09:13:16,899 DEBUG [org.hibernate.cfg.Ejb3Column] Binding column name unique false
2006-01-05 09:13:16,899 DEBUG [org.hibernate.cfg.annotations.PropertyBinder] binding property name with lazy=false
2006-01-05 09:13:16,899 DEBUG [org.hibernate.cfg.annotations.SimpleValueBinder] building SimpleValue for name
2006-01-05 09:13:16,899 DEBUG [org.hibernate.cfg.annotations.PropertyBinder] Building property name
2006-01-05 09:13:16,899 DEBUG [org.hibernate.cfg.annotations.PropertyBinder] Cascading name with null
2006-01-05 09:13:16,899 DEBUG [org.hibernate.cfg.AnnotationBinder] Processing annotations of org.jboss.seam.example.registration.User.password
2006-01-05 09:13:16,899 DEBUG [org.hibernate.cfg.Ejb3Column] Binding column password unique false
2006-01-05 09:13:16,899 DEBUG [org.hibernate.cfg.annotations.PropertyBinder] binding property password with lazy=false
2006-01-05 09:13:16,899 DEBUG [org.hibernate.cfg.annotations.SimpleValueBinder] building SimpleValue for password
2006-01-05 09:13:16,899 DEBUG [org.hibernate.cfg.annotations.PropertyBinder] Building property password
2006-01-05 09:13:16,899 DEBUG [org.hibernate.cfg.annotations.PropertyBinder] Cascading password with null
2006-01-05 09:13:16,930 DEBUG [org.hibernate.cfg.AnnotationConfiguration] processing manytoone fk mappings
...and then later...
2006-01-05 09:14:20,303 DEBUG [org.jboss.seam.contexts.BusinessProcessContext] Created BusinessProcessContext
2006-01-05 09:14:20,303 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: user
2006-01-05 09:14:20,303 DEBUG [org.jboss.seam.Component] seam component not found: user
2006-01-05 09:14:20,303 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] could not resolve name
2006-01-05 09:14:20,334 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: user
2006-01-05 09:14:20,334 DEBUG [org.jboss.seam.Component] seam component not found: user
2006-01-05 09:14:20,334 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] could not resolve name
2006-01-05 09:14:20,334 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: user
2006-01-05 09:14:20,334 DEBUG [org.jboss.seam.Component] seam component not found: user
2006-01-05 09:14:20,334 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] could not resolve name
2006-01-05 09:14:20,334 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] Before render response
I'm clueless. :$ -
20. Re: Newb needs help...
js8523 Jan 6, 2006 5:12 PM (in response to bkyrlach)The interesting part would be between those two parts, as this is the part that seam scanes the files to see any @Name annotations and then places them in an internal list for reference later on by the JSF pages. It is hear where your deployement is going wrong.
I think you should still pursue the debug.
Also what might be helpful, is if you could make available over the internet the exact ear file that you are using so that myself and others could test it in their environment.
Thanks,
James