-
1. Re: JBOSS Seam example application, registration, doesn't wo
lipmanp Aug 23, 2007 5:09 AM (in response to bensonfungjava)4.0.5 is not support seam by default, Have u follow the instruction in gettingstart page within the seam doc?
-
2. Re: JBOSS Seam example application, registration, doesn't wo
bensonfungjava Aug 23, 2007 10:15 AM (in response to bensonfungjava)Hi lipmanp,
Yes, I did followed the instruction in the getting start page. Seam does support 4.0.5.
----------------------------------------------------------------------------------
2.1 Before you start
Make sure you have JDK 5 or JDK 6, JBoss AS 4.0.5 and Ant 1.6, along with recent versions of Eclipse, the JBoss IDE plugin for Eclipse and the TestNG plugin for Eclipse correctly installed before starting. Add your JBoss installation to the JBoss Server View in Eclipse. Start JBoss in debug mode. Finally, start a command prompt in the directory where you unzipped the Seam distribution.
-----------------------------------------------------------------------------------
If anyone has idea what the problem is, please help.
Thanks
Benson -
3. Re: JBOSS Seam example application, registration, doesn't wo
lipmanp Aug 24, 2007 6:02 AM (in response to bensonfungjava)I've run seam 1.2 with Jboss 4.0.5 for some time, no problem.
make sure your Jboss is installed correctly.
For Seam 1.2, you must use the JEMS 1.2 Installer to install JBoss 4.0.5 with the ejb3 profile selected. Seam 1.3 requires JBoss 4.2 but does not require the use of the JEMS installer to install EJB3 functionality. -
4. Re: JBOSS Seam example application, registration, doesn't wo
bensonfungjava Aug 24, 2007 6:38 AM (in response to bensonfungjava)Hi lipmanp,
I am sure the JBOSS has been installed properly becasue there are another ejb3 things running on this app server without any problem except this seam application.
BTW, recently, I discovered that the war file in the ear file cannot access the jboss-seam.jar which is sitting in the ear file, therefore, the user component cannot get instantiated properly. Do you know how to make jboss-seam.jar accessible to the war file?
Thanks
Benson -
5. Re: JBOSS Seam example application, registration, doesn't wo
bensonfungjava Aug 24, 2007 12:57 PM (in response to bensonfungjava)It works fine finally. The most important thing is that both myfaces jar files have to be put into JBOSS lib directory instead of the war file. Otherwise, the StartupContextPhaseListener will pick up the ApplicationFactory class instead of SeamApplicationFactory and it leads to fail to instantiate user Seam component. This is most important. Unfortunately, the JBOSS Seam document did not mention this point. I am very sorry for this missing.
Benson