geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jarek Gawor (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GERONIMO-5921) Cannot deploy WAB that uses JSF
Date Wed, 20 Apr 2011 02:47:05 GMT

    [ https://issues.apache.org/jira/browse/GERONIMO-5921?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13021920#comment-13021920
] 

Jarek Gawor commented on GERONIMO-5921:
---------------------------------------

Looks like some data structures are initialized when a File-based module deployment is performed
but they are not initialized on a Bundle-based deployment. Also, the findMetaInfConfigurationResources()
and findFaceletConfigResources() rely on File-based operations which will not work with Bundle
deployments. So we might need a separate version of those functions (or re-write the existing
ones).


> Cannot deploy WAB that uses JSF
> -------------------------------
>
>                 Key: GERONIMO-5921
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5921
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: myfaces
>    Affects Versions: 3.0-M1
>            Reporter: Jarek Gawor
>
> A WAB that uses JSF cannot be deployed. Here's the stack trace:
> org.apache.geronimo.common.DeploymentException: Unable to initialize GBean for web app
foo
>       at org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.addGBeans(TomcatModuleBuilder.java:719)
>       at org.apache.geronimo.osgi.web.extender.WebApplication.doRun(WebApplication.java:212)
>       at org.apache.geronimo.osgi.web.extender.WebApplication.run(WebApplication.java:120)
>       at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:452)
>       at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:314)
>       at java.util.concurrent.FutureTask.run(FutureTask.java:149)
>       at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:896)
>       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
>       at java.lang.Thread.run(Thread.java:735)
> Caused by: java.lang.NullPointerException
>       at org.apache.geronimo.myfaces.deployment.MyFacesModuleBuilderExtension.addGBeans(MyFacesModuleBuilderExtension.java:225)
>       at org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.addGBeans(TomcatModuleBuilder.java:678)
>       ... 8 more

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message