[JBoss-user] [JBoss Seam] - Re: components.properties ignored if placed in war file?
Oups the links are there sorry ;) Thanks again. I am just changing the beginning (installation of Seam) to point to a unique page so that we don't have to change the instructions for installation in multiple places. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955429#3955429 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955429 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
[JBoss-user] [JBoss Seam] - Re: components.properties ignored if placed in war file?
When you write new Wiki pages, don't forget to link them from the front Wiki page: http://www.jboss.com/wiki/Wiki.jsp?page=JBossSeam Otherwise nobody will notice those new pages Thanks for your contribution ! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955411#3955411 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955411 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
[JBoss-user] [JBoss Seam] - Re: components.properties ignored if placed in war file?
Thanks, Dave! You know, some weeks ago I read something about these components.xml/components.properties files and got it wrong somehow. But at that time I used components.xml with everything included by hand only. So when I started this wiki stuff I came back to the issue with components.properties. But since I had it wrong in my mind I rather messed around. Took a little bit too long, but meanwhile I got it ;) BTW, congratulations to your Wiki! I think it's very helpful. A few days ago I thought you are already done with it and edited a little bit after I saw a few minor issues. Sorry, didn't want to interfere. Meanwhile I was successful to solve the issue on which I wote the little comment in your wiki. It turned out that the main problem was the kind of JNDI used in the examples. That one is only knowing local names and you are running into issues if you try to deploy it on the JBoss AS without taking special care. Anyway, meanwhile I wrote another http://wiki.jboss.org/wiki/Wiki.jsp?page=EclipseSeamProject on how to setup a Seam project (booking example). It was a kind of 50.001 to 49.999 decision to do it, but finally I thought there my be other users interested to have an Eclipse project with much fewer library files and less configuration. However, I left out the TestNG stuff since it's done nicely in your wiki. I'm not sure yet how to do it, but I think I will add a comment like get that library and take a look at dbatcn's wiki. Something like that... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955395#3955395 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955395 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
[JBoss-user] [JBoss Seam] - Re: components.properties ignored if placed in war file?
Ulf, The build.xml attachment to the SeamEclipseHowTo page http://wiki.jboss.org/wiki/Wiki.jsp?page=SeamEclipseHowto does editing of components.xml as part of the "war" target (in the copy/filterset part) and the components.properties file isn't copied into deployment but rather used by Ant. (No claim to authorship here, it was generally lifted from the Seam examples.) Best regards, Dave View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955356#3955356 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955356 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
[JBoss-user] [JBoss Seam] - Re: components.properties ignored if placed in war file?
Thank's, Gavin, I appreciate your help! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955307#3955307 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955307 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
[JBoss-user] [JBoss Seam] - Re: components.properties ignored if placed in war file?
I wasn't offended, just trying to explain... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955301#3955301 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955301 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
[JBoss-user] [JBoss Seam] - Re: components.properties ignored if placed in war file?
Gavin, don't take my remark too seriously, I actually tried to make a joke since I needed to laugh about myself when you wrote you do the replacements within the Ant job. So never mind... But I just realized that it's a huge advantage to be able to read properly :( In the text I cited from the Seam reference before, it says "...by providing a file named components.properties in the classpath (at development time)." Although I don't catch how I could magically get a "filled" components.xml for deployment if I have components.properties somewhere in my classpath at development time ;) But that's not the point. I actually missed "(at development time)" and rather thought like "(at deployment time)". That's why I deployed it in the ear file. Sorry, my mistake! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955294#3955294 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955294 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
[JBoss-user] [JBoss Seam] - Re: components.properties ignored if placed in war file?
components.properties is used when you run the tests from eclipse (ie. there is no chance for ant to replace values). of course I *could* use components.properties when I deploy to an EAR, but then I would need three different components.properties files for every example app (testng, jboss, tomcat), and then some complex crap in Ant to pick the one I want for a particular deplyment, and I really CBF having all those shitty files. So I just use Ant replace. You don't need components.properties at all if all you want to do is deploy to an appserver. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955185#3955185 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955185 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
[JBoss-user] [JBoss Seam] - Re: components.properties ignored if placed in war file?
Gavin, finally I understand why there is a components.properties file in the Seam examples: it's there to confuse people like me ;) But seriously, if the contents of components.properties is supposed to be included automatically (according to the Seam reference), and you do it in an Ant task instead although components.properties exists in the Seam examples, that sounds like a known bug to me. I didn't see that issue in the JIRA yet. Was my research too bad or should I file a bug? BTW, using Ant is no option in my case. I rather let the Wiki reader edit components.xml or provide a corrected file myself, don't know yet. You know, this is supposed to become a simple example project for Eclipse without the embedded ejb and microcontainer stuff. Kind of get what you really need for Seam, JSF, facelets - run packaging within Eclipse - deploy - enjoy. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955184#3955184 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955184 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
[JBoss-user] [JBoss Seam] - Re: components.properties ignored if placed in war file?
I don't deploy components.properties into the ear. All i do is use the Ant task to replace any @foobar@ stuff. I really think you should follow this approach. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955083#3955083 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955083 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
[JBoss-user] [JBoss Seam] - Re: components.properties ignored if placed in war file?
Hmmm, in http://docs.jboss.com/seam/1.0.0.GA/reference/en/html/concepts.html#d0e2443 I found anonymous wrote : Seam let's you place wildcards of the form @wildcard@ in the components.xml file which can be replaced either by your Ant build script (at deployment time) or by providing a file named components.properties in the classpath (at development time). You'll see this approach used in the Seam examples. Since this is intended to be an example case for a Wiki, I would like to use the components.xml/components.properties combination. Am I mistaken that the right locations for the files should be: war-file.war/WEB-INF/components.xml war-file.war/WEB-INF/classes/components.properties >From my understanding both files should be in the same war-file since it's >possible that the ear-file contains more than one war-file. And >WEB-INF/classes is the default classpath of the war-file, isn't it? So what am >I doing wrong??? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955047#3955047 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955047 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