Trying to replicate the booking sample in eclipse (Myeclipse with ear,jar,war projects).
Some how the scanner is not loading the component @name up. I keep getting "Component: null" on my user defined components.
I have a blank seam.properties in the component jar.
13:26:40,591 INFO [Scanner] scanning: /D:/Program Files/jboss-4.0.5.GA/server/default/tmp/deploy/tmp61828testbooking.ear-contents/testbookingEJB3.jar
13:26:40,638 INFO [Component] Component: null, scope: STATELESS, type: STATELESS_SESSION_BEAN, class: com.testbooking.action.LogoutAction, JNDI: testbooking/LogoutAction/local
13:26:40,685 ERROR [[/testbookingWeb]] Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener
java.lang.NullPointerException
at java.lang.String.startsWith(String.java:1252)
at java.lang.String.startsWith(String.java:1281)
at org.jboss.seam.Component.initInitializers(Component.java:325)
at org.jboss.seam.Component.(Component.java:248)
Any pointers to what I may have done wrong?
Found the problem. I added seam jar to both the web/ejb project. Removing the one in web makes it work.