[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-881) seam-gen suppport for Tomcat

Zahid Shaikh (JIRA) jira-events at lists.jboss.org
Thu Dec 4 16:43:36 EST 2008


    [ https://jira.jboss.org/jira/browse/JBSEAM-881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12441252#action_12441252 ] 

Zahid Shaikh commented on JBSEAM-881:
-------------------------------------

I was able to get "seam-gen" generated code workingin tomcat 6.(with tomcat 5.5 its hard to get JSF 1.2 working)
( I first tested the code in jboss and had to remove some stuff  from layout/menu.xhtml due
to a known bug in generating working code for - some table names.


I looked at the war/jar file generated by "ant tomcat6" in  jboss-seam-2.1.1.CR1\examples\jpa
and copied all the missing "jar" files from it in to my web-inf/lib. (to remove some javassist error)

I then got some transactionManager error - which i fixed by changing - persistence.xml from
the one that got generated by - jboss-seam-jpa\WEB-INF\classes\META-INF
eg I commented -   hibernate.transaction.manager_lookup_clas and also changed transaction-type  from
JTA to RESOURCE_LOCAL.
I also had to slightly tweak "jta-data-source"  in  persistence.xml  from "java:/TestDB" to "java:comp/env/jdbc/TestDB"

Thanks,
Zahid
 http://www.jroller.com/seam 



> seam-gen suppport for Tomcat 
> -----------------------------
>
>                 Key: JBSEAM-881
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-881
>             Project: Seam
>          Issue Type: Feature Request
>          Components: Tools
>    Affects Versions: 1.1.6.GA
>            Reporter: alberto Gori
>
> I would like to see seam-gen support for different AS, expecially Tomcat (and maybe Glassfish...?).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list