[jbosstools-issues] [JBoss JIRA] (JBIDE-11490) Test Seam tooling with Seam 2.3.Beta
Alexey Kazakov (JIRA)
jira-events at lists.jboss.org
Thu Jun 7 15:26:17 EDT 2012
[ https://issues.jboss.org/browse/JBIDE-11490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12699934#comment-12699934 ]
Alexey Kazakov edited comment on JBIDE-11490 at 6/7/12 3:25 PM:
----------------------------------------------------------------
I've just tested Seam 2.3.CR1 WAR and EAR projects generated by JBT
1. See https://issues.jboss.org/browse/JBIDE-12132
2. In runtime it seems to work. But..
3. If I genearate new Action, Form, etc. (we use seam-gen templates for that) then the app fails.
EL cannot be resolved to the new components
I don't see any changes in these templates from Seam 2.2. So it seems that something was changed in Seam or JSF and these templates are not quite correct.
Anyway it's a problem of seam-gen templates. Not JBT.
{code}
Caused by: javax.naming.NameNotFoundException: seamear-ear/NewActionBean/local -- service jboss.naming.context.java.seamear-ear.NewActionBean.local
at org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:97)
at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:178)
at org.jboss.as.naming.InitialContext.lookup(InitialContext.java:113)
at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:214)
at javax.naming.InitialContext.lookup(InitialContext.java:392) [rt.jar:1.6.0_31]
at org.jboss.seam.Component.instantiateSessionBean(Component.java:1403) [jboss-seam.jar:2.3.0.CR1-SNAPSHOT]
at org.jboss.seam.Component.instantiate(Component.java:1367) [jboss-seam.jar:2.3.0.CR1-SNAPSHOT]
at org.jboss.seam.Component.newInstance(Component.java:2148) [jboss-seam.jar:2.3.0.CR1-SNAPSHOT]
{code}
was (Author: akazakov):
I've just tested Seam 2.3.CR1 WAR project generated by JBT
1. See https://issues.jboss.org/browse/JBIDE-12132
2. In runtime it seems to work. But..
3. If I genearate new Action, Form, etc. (we use seam-gen templates for that) then the app fails.
EL cannot be resolved to the new components
I don't see any changes in these templates from Seam 2.2. So it seems that something was changed in Seam or JSF and these templates are not quite correct.
Anyway it's a problem of seam-gen templates. Not JBT.
> Test Seam tooling with Seam 2.3.Beta
> ------------------------------------
>
> Key: JBIDE-11490
> URL: https://issues.jboss.org/browse/JBIDE-11490
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: Seam 2
> Reporter: Max Rydahl Andersen
> Assignee: Alexey Kazakov
> Fix For: 3.4.0.M1
>
>
> Seam 2.3 Beta is out - lets do a quick check to see if we see any issues.
> Target is AS7/EAP6
> Check datasource generation, CRUD generated pages continues to work.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list