Well, guess that's it. The file isn't in the webapp dir, though I got it in my Eclipse project (in /resources dir). Thanks for that hint. I almost threw my laptop out of the window as I didn't get the simplest examples to work :D.
Now, I even just saw that hint on page 105 of the 1.0.1 reference documentation.anonymous wrote : But there is one final item you need to know about. You must place a seam.properties file in the root of any archive in which your Seam components are deployed (even an empty properties fiel will do). Btw, it's funny that I copied build.xml from the registration example (with little modifications), and when inserting the registration example files into my project... THEY WORK *argh*. Well ok, I think I know why: The registration example uses the properties of an EJB3 entity (user), whilst I use properties of a Seam component (and as seam.properties misses, those components don't work), right? However, after that long day of irritation and confusion I had a look at my build.xml, but I couldn't find out why Ant didn't deploy my seam.properties file. Maybe you could have a little look? <?xml version="1.0"?> | | <project name="Ratespiel" default="deploy.tomcat" basedir="."> | | <!-- Example name --> | <property name="Name" value="Seam Ratespiel"/> | <property name="example.name" value="jboss-seam-ratespiel"/> | | <!-- WAR --> | <zipfileset id="example.war.docroot" | dir="view"> | <include name="**/*"/> | </zipfileset> | | <zipfileset id="example.war.webinf" | prefix="WEB-INF" | dir="resources/WEB-INF" > | <patternset refid="meta.files"/> | </zipfileset> | | <zipfileset id="example.war.webinf.lib" | prefix="WEB-INF/lib" | dir="resources/WEB-INF"> | <include name="_NONE_"/> | </zipfileset> | | <zipfileset id="example.war.webinf.lib.extra" | prefix="WEB-INF/lib" | dir="."> | <include name="_NONE_"/> | </zipfileset> | | <zipfileset id="example.war.webinf.lib.extra" | prefix="WEB-INF/lib" | refid="ui.seam.jar"/> | | <!-- EJB3 --> | <fileset id="example.ejb3.root" | dir="resources"> | <include name="import.sql"/> | <include name="seam.properties"/> | <include name="META-INF/ejb-jar.xml"/> | <include name="META-INF/persistence.xml"/> | </fileset> | | <!-- EAR --> | <zipfileset id="example.ear.resources" | prefix="META-INF" | dir="resources/META-INF"> | <include name="*"/> | <exclude name="META-INF/persistence.xml"/> | <exclude name="META-INF/jboss-beans.xml"/> | <exclude name="META-INF/ejb-jar.xml"/> | </zipfileset> | | <fileset id="example.ejb3.lib" dir="../../lib"> | <include name="_NONE_"/> | </fileset> | | <!-- Test --> | <fileset id="example.resources" dir="resources"> | <include name="**/*.*"/> | </fileset> | | <!-- Tomcat build --> | <zipfileset id="example.tomcat.war.webinf" | prefix="WEB-INF" | dir="resources/WEB-INF" > | <include name="web.xml"/> | <include name="components.xml"/> | <include name="faces-config.xml"/> | </zipfileset> | | <fileset id="example.tomcat.resources" | dir="resources"> | <include name="seam.properties"/> | <include name="META-INF/persistence.xml"/> | <include name="META-INF/ejb-jar.xml"/> | <include name="META-INF/jboss-beans.xml"/> | </fileset> | | <!-- Deploy --> | <fileset id="example.deploy" | dir="resources"> | <include name="ratespiel-ds.xml"/> | </fileset> | | <!-- Undeploy --> | <patternset id="example.undeploy"> | <include name="ratespiel-ds.xml"/> | </patternset> | | <!-- Overrides --> | <property name="src.java.dir" value="src"/> | <property name="src.test.dir" value="src"/> | <property name="test.classpath" value="test.eejb.classpath"/> | <property name="tomcat.conf" value="eejb.conf"/> | | | <import file="../../build.xml"/> | | </project> | | PS: The registration example doesn't deploy seam.properties either. Ok, it seems like the example doesn't need it. But when someone uses this one as a template for his own project (as suggested) and tries to extend it then he will surely go mad ;). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955304#3955304 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955304 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user