Note that there are some explanatory texts on larger screens.

plurals
  1. POGlassfish EAR deployment time exception
    primarykey
    data
    text
    <p>I am trying to deploy to EAR to Glassfish which uses JSF and WAR file inside the EAR have <code>faces-config.xml</code> ie under WEB-INF. But when I try to deploy to Glassfish server I am getting below exception:</p> <pre><code>java.lang.IllegalStateException: ContainerBase.addChild: start org.apache.catalina.LifecycleException: java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: java.util.concurrent.ExecutionException: com.sun.faces.config.ConfigurationException: Unable to parse document 'jndi:/server/WEB-INF/faces-config.xml': null </code></pre> <p>I am not sure what is the problem, Eclipse didn't gave me any error while writing faces-config.xml, but Glassfish is giving above error. And yes, I have faces-config.xml inside WEB-INF folder.</p> <p>Here is the sample of <code>faces-config.xml</code> file:</p> <pre><code>&lt;?xml version='1.0' encoding='UTF-8'?&gt; &lt;faces-config xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd" version="2.0"&gt; &lt;!-- there are other elements here --&gt; &lt;/faces-config&gt; </code></pre> <p>I cannot post whole xml file since it is huge and FYI, I am trying to deploy Duke's book store Oracle sample Java EE app, but I am stuck with this error. I tried searching in Google, but didn't get any useful result. Can you kindly help me? If needed I can provide more information.</p> <p>My faces-config.xml can be found here: <a href="http://temp-share.com/show/gFHKBRxsY" rel="nofollow">http://temp-share.com/show/gFHKBRxsY</a></p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload