Hi all,

I've got Eclipse 3.3 with WTP 2.0 and JBoss Tools 2.0.0.GA installed on my 
32-bit Ubuntu 7.04 machine. I've also set up jboss 4.0.5 with the jems 
installer using the non-clustered ejb3 profile and jboss-seam-1.2.1.GA.

I used seam-gen to validate the jboss runtime by creating a project with 'seam 
setup', then 'seam new-project' and finally 'seam explode'. I get the sample 
application running with absolutely no problems.

Now, I want to use Eclipse and JBoss Tools to work on the generated sample. I 
tried the following:

1) Importing the project into Eclipse with "File-> Import -> General -> 
Existing Projects into Workspace". 

This seems to work, but it does not add/detect the "Seam Web Project" nature. 
As a result, I can only use the Ant view to compile/explode the project and can 
not use "Add and Remove Projects..." to add the project to the JBoss Server 
instance I have in the IDE. Of course, the project is deployed by the ant 
script and I can run it, but I want to use the full integration.

2) Create the sample from scratch, from within Eclipse with "File -> New -> 
Seam Web Project".

I use the same 4.0 server runtime which I know that works, and the "Dynamic Web 
Project with Seam 1.2" configuration (with no modifications). I change nothing 
in the defaults of the wizard, except create an HSQL database connection 
profile (otherwise the wizard will not complete).

When I try to access the application URL, I get an endless loop of:

12:34:40,604 ERROR [ExceptionFilter] uncaught exception
javax.servlet.ServletException: javax/el/ELException
        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:63)
        at 
org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:60)
        at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)

Doesn't JBoss Tools uses seam-gen behind the scenes? Why does the generated 
application not work?


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4114145#4114145

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4114145
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to