[
https://jira.jboss.org/jira/browse/JBSEAM-881?page=com.atlassian.jira.plu...
]
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