[jboss-jira] [JBoss JIRA] Commented: (JBAS-7032) Getting invalid deployment on what appears to be valid, a webbeans ear file.
Stan Silvert (JIRA)
jira-events at lists.jboss.org
Tue Jul 14 13:39:29 EDT 2009
[ https://jira.jboss.org/jira/browse/JBAS-7032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12476270#action_12476270 ]
Stan Silvert commented on JBAS-7032:
------------------------------------
I have verified that the analysis was correct. I created a ServletContextListener (attached) that finds faces-config.xml files in the same manner as JSF. When WhatsUpDawg.ear is deployed, admin-console finds the faces-config.xml file in /webbeans.deployer/lib-int/faces/META-INF/faces-config.xml. Here is the output:
13:29:12,581 INFO [STDOUT] ******************************************
13:29:12,583 INFO [STDOUT] ** Resource Paths for META-INF/faces-config.xml:
13:29:12,602 INFO [STDOUT] vfszip:/C:/jboss-5.1.0.GA.jdk6/jboss-5.1.0.GA/server/default/deploy/admin-console.war/WEB-INF/lib/org.jboss.seam-jboss-seam-2.1.0.SP1.jar/META-INF/faces-config.xml
13:29:12,607 INFO [STDOUT] vfsfile:/C:/jboss-5.1.0.GA.jdk6/jboss-5.1.0.GA/server/default/deployers/webbeans.deployer/lib-int/faces/META-INF/faces-config.xml
13:29:12,610 INFO [STDOUT] vfszip:/C:/jboss-5.1.0.GA.jdk6/jboss-5.1.0.GA/server/default/deploy/admin-console.war/WEB-INF/lib/jsf-facelets-1.1.15.B1.jar/META-INF/faces-config.xml
13:29:12,614 INFO [STDOUT] vfszip:/C:/jboss-5.1.0.GA.jdk6/jboss-5.1.0.GA/server/default/deploy/admin-console.war/WEB-INF/lib/jboss-seam-debug-2.1.0.SP1.jar/META-INF/faces-config.xml
13:29:12,619 INFO [STDOUT] vfszip:/C:/jboss-5.1.0.GA.jdk6/jboss-5.1.0.GA/server/default/deploy/admin-console.war/WEB-INF/lib/richfaces-impl-3.3.0.GA.jar/META-INF/faces-config.xml
13:29:12,624 INFO [STDOUT] vfszip:/C:/jboss-5.1.0.GA.jdk6/jboss-5.1.0.GA/server/default/deploy/admin-console.war/WEB-INF/lib/jboss-seam-ui-2.1.0.SP1.jar/META-INF/faces-config.xml
13:29:12,628 INFO [STDOUT] vfszip:/C:/jboss-5.1.0.GA.jdk6/jboss-5.1.0.GA/server/default/deploy/admin-console.war/WEB-INF/lib/richfaces-ui-3.3.0.GA.jar/META-INF/faces-config.xml
13:29:12,632 INFO [STDOUT] ******************************************
Without WhatsUpDawg.ear you get:
13:32:41,564 INFO [STDOUT] ******************************************
13:32:41,568 INFO [STDOUT] ** Resource Paths for META-INF/faces-config.xml:
13:32:41,602 INFO [STDOUT] vfszip:/C:/jboss-5.1.0.GA.jdk6/jboss-5.1.0.GA/server/default/deploy/admin-console.war/WEB-INF/lib/org.jboss.seam-jboss-seam-2.1.0.SP1.jar/META-INF/faces-config.xml
13:32:41,606 INFO [STDOUT] vfszip:/C:/jboss-5.1.0.GA.jdk6/jboss-5.1.0.GA/server/default/deploy/admin-console.war/WEB-INF/lib/jsf-facelets-1.1.15.B1.jar/META-INF/faces-config.xml
13:32:41,611 INFO [STDOUT] vfszip:/C:/jboss-5.1.0.GA.jdk6/jboss-5.1.0.GA/server/default/deploy/admin-console.war/WEB-INF/lib/jboss-seam-debug-2.1.0.SP1.jar/META-INF/faces-config.xml
13:32:41,617 INFO [STDOUT] vfszip:/C:/jboss-5.1.0.GA.jdk6/jboss-5.1.0.GA/server/default/deploy/admin-console.war/WEB-INF/lib/richfaces-impl-3.3.0.GA.jar/META-INF/faces-config.xml
13:32:41,622 INFO [STDOUT] vfszip:/C:/jboss-5.1.0.GA.jdk6/jboss-5.1.0.GA/server/default/deploy/admin-console.war/WEB-INF/lib/jboss-seam-ui-2.1.0.SP1.jar/META-INF/faces-config.xml
13:32:41,627 INFO [STDOUT] vfszip:/C:/jboss-5.1.0.GA.jdk6/jboss-5.1.0.GA/server/default/deploy/admin-console.war/WEB-INF/lib/richfaces-ui-3.3.0.GA.jar/META-INF/faces-config.xml
13:32:41,631 INFO [STDOUT] ******************************************
To see this result, just add the attached class to /admin-console/WEB-INF/lib/classes. Then put this in /admin-console/WEB-INF/web.xml:
<listener>
<listener-class>org.jboss.jbas7032.PrintResourcePathContextListener</listener-class>
</listener>
> Getting invalid deployment on what appears to be valid, a webbeans ear file.
> ----------------------------------------------------------------------------
>
> Key: JBAS-7032
> URL: https://jira.jboss.org/jira/browse/JBAS-7032
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Deployers
> Environment: JBoss AS 5.1
> JDK 1.6 u 13
> OpenSuSe 11.1 / SLES 10.2
> Reporter: John Ament
> Assignee: Shelly McGowan
> Priority: Blocker
> Fix For: JBossAS-5.2.0.Beta1
>
> Attachments: WhatUpDawg.ear, WhatUpDawg.ear
>
>
> The best description I can give is from the forum.
> Basically, I have an EAR that appears to be completely valid, it's 2 war's and 1 ejb module. It's built using web beans. I get the described stack trace when either deploying via the UI or just dropping the EAR file in deploy. However, I get different results. When I drop the ear in and restart, it loads perfectly (my app) but embedded jopr fails.
--
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 jboss-jira
mailing list