Target (session and entity java files) unreachable in JBoss Seam?

In the file person. Xhtml you use Seam component personHome but these component is not define.

In the file person. Xhtml you use Seam component personHome, but these component is not define. You can try find class PersonHome and add such adnotation: @Name("personHome") public class PersonHome { Mayby some reference can help you: Registration example - simple Seam application Home objects - explanation of Home object In your source file you have a few things that don't follow Java convetion and at least one error: The personHome component should be declare in that way: @Name("personHome") public class PersonHome extends EntityHome You should add extend EntityHome class with your entity and use capital letter when you declare class name.

You should also use capital letter when you declare Person class: @Entity public class Person implements Serializable Problem with data source: plese check if you declare data source workDatasource and if proper file exist in your deploy directory. File with data source definition should have name which end -ds.xml. You can also past that file in your query.

I have and I always had a personHome class that has that annotation. That is why I am wondering why I have the same problem. Is there any other thing that can be the cause?

– yankitwizzy Mar 29 at 11:51 Sorry, it is hard to say something more. Mayby you have some extra info? How you create the project?

If it works befeore some changes? – Lukasz Stelmach Mar 29 at 14:07 I created the project using Eclipse i.e. New Seam Web Project.

I set the project to use mysql db. I can view the (xhtml) pages that I creattd but I have not been able to perform any kind of interaction with my database. Could it be the permission store thing?

– yankitwizzy Mar 29 at 14:12 Permission store is connected with permission and as I remember you can ignore these error unless you use security base on Drools. Mayby you can pase some context: relevant fragments from Java file and XHTML page. – Lukasz Stelmach Mar 29 at 16:48 How do you use personHome?

Do you inject it somwhere (using @In)? – Lukasz Stelmach Mar 29 at 16:55.

I had a similar problem recently, based around my move to Maven. It turned out that the JBoss Seam jar was in the EAR lib directory and in the WAR web-inf/lib directory, and this caused a conflict.

Of course not. When a seam project is created, 3 or 4 projects could be created i.e. Projectname, projectname-ear, projectname-ejb and projectname-test.My personHome class is inside the projectname-ejb folder and the (nb: am not using jsf) xhtml pages are in the projectname folder – yankitwizzy Mar 29 at 13:54 And does your EAR contain the EJB project, with the correct references in the application.

Xml? – TrueDub Mar 30 at 10:59 Am using JBoss Seam Tools for Eclipse so all that is taken care of automatically – yankitwizzy Mar 31 at 17:30.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions