[
https://jira.jboss.org/jira/browse/JBSEAM-4292?page=com.atlassian.jira.pl...
]
Markus Weiss commented on JBSEAM-4292:
--------------------------------------
I have the same problem, but for now you can use the following workaround:
1. Create new ear project using seam-gen
2. gf-prepare
3. Do the changes described in glassfish-readme.txt
4. gf-explode --> Project works in GlassFish
5. Undeploy through GlassFish admin console
6. gf-archive
7. Login to Glassfish Admin console and attempt to deploy ear from dist folder.
Now it works:-)
seam-gen ear projects will not deploy using Glassfish V2.1 Admin
Console
------------------------------------------------------------------------
Key: JBSEAM-4292
URL:
https://jira.jboss.org/jira/browse/JBSEAM-4292
Project: Seam
Issue Type: Bug
Components: Build
Affects Versions: 2.1.2.GA
Environment: Windows
Reporter: Joshua Hill
1. Create new ear project using seam-gen
2. gf-deploy-datasource
3. gf-archive
4. Login to Glassfish Admin console and attempt to deploy ear from dist folder.
Error An error has occurred
Deploying application in domain failed; Could not resolve a persistence unit
corresponding to the persistence-unit-ref-name [test/pu] in scope of the module called [].
Please verify your application. Could not resolve a persistence unit corresponding to the
persistence-unit-ref-name [test/pu] in scope of the module called []. Please verify your
application.
--
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