[
https://jira.jboss.org/jira/browse/JBIDE-3864?page=com.atlassian.jira.plu...
]
Alexey Kazakov updated JBIDE-3864:
----------------------------------
Description:
1. Create Seam Web Project (WAR) using New Seam Web project Wizard.
2. Run it on JBoss AS 4.2 Server.
3. There is an exeption in console:
javax.persistence.PersistenceException: No Persistence provider for EntityManager named
<projectName>
...
<SeamWARProject>/src/main/META-INF/persistence.xml is not deployed at all. It causes
exception in runtime.
JDT ignores *.xml from source folders and doesn't copy them to build folder.
Should server adapter (WTP?) deploy all *.xml from source folders for WAR projects to
server as it does for EJBs?
was:
1. Create Seam Web Project (WAR) using New Seam Web project Wizard.
2. Run it on JBoss AS 4.2 Server.
3. There is an exeption in console:
javax.persistence.PersistenceException: No Persistence provider for EntityManager named
<projectName>
...
<SeamWARProject>/src/main/META-INF/persistent.xml is not deployed at all. It causes
exception in runtime.
JDT ignores *.xml from source folders and doesn't copy them to build folder.
Should server adapter (WTP?) deploy all *.xml from source folders for WAR projects to
server as it does for EJBs?
Seam WAR projects are not deployed to server correctly.
-------------------------------------------------------
Key: JBIDE-3864
URL:
https://jira.jboss.org/jira/browse/JBIDE-3864
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: JBossAS, Seam
Affects Versions: 3.0.0.GA
Reporter: Alexey Kazakov
Assignee: Alexey Kazakov
Fix For: 3.0.0.GA
1. Create Seam Web Project (WAR) using New Seam Web project Wizard.
2. Run it on JBoss AS 4.2 Server.
3. There is an exeption in console:
javax.persistence.PersistenceException: No Persistence provider for EntityManager named
<projectName>
...
<SeamWARProject>/src/main/META-INF/persistence.xml is not deployed at all. It
causes exception in runtime.
JDT ignores *.xml from source folders and doesn't copy them to build folder.
Should server adapter (WTP?) deploy all *.xml from source folders for WAR projects to
server as it does for EJBs?
--
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