Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Critical
-
Resolution: Done
-
Affects Version/s: 3.2.0.Beta2
-
Fix Version/s: 3.2.0.CR1
-
Component/s: seam2
-
Labels:None
-
Environment:Linux 64bit
JDK 1.6.0_23
JBoss Tools 3.2.0 Beta 2 (20101206)
Seam 2.2.1.CR2
-
Affects:Release Notes
-
Workaround:Workaround Exists
-
Workaround Description:Hide
1. Remove "Class-Path: jboss-seam.jar " from <ejb_project>/ejbModule/META-INF/MANIFEST.MF
2. Properties for <ejb_projec>>Java Build Path>Libraries->Add Jars-><ear_project>/EarContent/jboss-seam.jar->OkShow1. Remove "Class-Path: jboss-seam.jar " from <ejb_project>/ejbModule/META-INF/MANIFEST.MF 2. Properties for <ejb_projec> >Java Build Path >Libraries->Add Jars-><ear_project>/EarContent/jboss-seam.jar->Ok
Description
Steps to reproduce:
1) Unzip JBoss AS 6 CR1
2) Add the server to JBoss Tools
3) Create new Seam 2.2 project (select EAR project and either HSQLDB or MySQL)
4) Start the application server
5) An exception is thrown during deployment of the project (see the attached file for the stacktrace)
Note that an WAR project deploys without problems. Also, and EAR or WAR project generated via seam-gen works as expected.
Gliffy Diagrams
-
Hide
- deploy.zip
- 9.44 MB
- Alexey Kazakov
-
- deploy/seam2-ds.xml 0.5 kB
- deploy/seam2-ear.ear/jboss-seam.jar 1.14 MB
- deploy/seam2-ear.ear/.../login.xhtml 2 kB
- deploy/seam2-ear.ear/.../login.page.xml 0.4 kB
- deploy/seam2-ear.ear/.../index.html 0.1 kB
- deploy/seam2-ear.ear/.../home.xhtml 0.5 kB
- deploy/seam2-ear.ear/.../error.xhtml 0.6 kB
- deploy/seam2-ear.ear/.../security.drl 0.1 kB
- deploy/seam2-ear.ear/.../seam.properties 0.0 kB
- deploy/seam2-ear.ear/.../import.sql 0.1 kB
- deploy/.../components.properties 0.1 kB
- deploy/seam2-ear.ear/lib/mvel2.jar 594 kB
- deploy/seam2-ear.ear/.../richfaces-api.jar 172 kB
- deploy/seam2-ear.ear/lib/jbpm-jpdl.jar 653 kB
- deploy/.../jboss-seam-remoting.jar 101 kB
- deploy/seam2-ear.ear/lib/jboss-el.jar 132 kB
- deploy/seam2-ear.ear/lib/drools-core.jar 1.71 MB
- deploy/seam2-ear.ear/.../drools-compiler.jar 1.10 MB
- deploy/seam2-ear.ear/lib/drools-api.jar 124 kB
- deploy/.../commons-beanutils.jar 184 kB
- deploy/seam2-ear.ear/.../antlr-runtime.jar 113 kB
- deploy/seam2-ear.ear/.../jboss-app.xml 0.3 kB
- deploy/seam2-ear.ear/.../application.xml 0.6 kB
- deploy/seam2-ear.ear/.../useradmin.css 2 kB
- deploy/seam2-ear.ear/.../theme.xcss 5 kB
- deploy/seam2-ear.ear/.../theme.css 3 kB
- deploy/seam2-ear.ear/.../template.xhtml 2 kB
- deploy/seam2-ear.ear/.../layout/sort.xhtml 0.7 kB
- deploy/seam2-ear.ear/.../layout/menu.xhtml 0.9 kB
- deploy/seam2-ear.ear/.../layout/edit.xhtml 0.9 kB
-
- ear.log
- 14 kB
- Jozef Hartinger
Issue Links
- is related to
-
JBAS-8754
EAR that deploys fine to AS 5.0, 5.1 and I believe also earlier AS 6's now fails with weird error
-
- Reopened
-
Activity
- All
- Comments
- Work Log
- History
- Activity
- Links Hierarchy
Anyone know why the default AS setup doesn't work ?
aaah - this is because Seam <2.2+ expects JSF 1.2 and AS 6 comes with JSF 2.
Okey - so yes that is needed for AS 6 and hopefully will just be ignored by previous AS's.
I can confirm. org.jboss.jbossfaces.JSF_CONFIG_NAME will be ignored by previous AS's.
The context parameter will be added only if the user chooses JSF Facet version 1.2 (the default) when creating a Seam project.
Verified (jbdevstudio-product-eap-linux-gtk-x86_64-4.0.0.v201101210024R-H88-CR1.jar).
The application deploy successfully if the following classpath entry is removed from the MANIFEST.MF file located in the ejb project:
"Class-Path: jboss-seam.jar"
However, removing the line breaks imports in the IDE. Thus, compilation warnings appear.