Problem with glassfish 3.1

Splash Forums PrettyFaces Users Problem with glassfish 3.1

This topic contains 5 replies, has 2 voices, and was last updated by  Christian Kaltepoth 5 years, 8 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #18138

    Muhammad Alaa
    Participant

    I am using JSF ,Primefaces, Prettyfaces, and apache tomcat and the application is working with no problems when I try to work with glassfish I got an error

    SEVERE: Critical error during deployment:

    com.sun.faces.config.ConfigurationException: java.util.concurrent.ExecutionException: com.sun.faces.config.ConfigurationException: Unable to parse document ‘jndi:/server/StoreApp-v3.1/WEB-INF/pretty-config.xml’: null

    at com.sun.faces.config.ConfigManager.getConfigDocuments(ConfigManager.java:672)

    at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:322)

    at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:225)

    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:4750)

    at com.sun.enterprise.web.WebModule.contextListenerStart(WebModule.java:550)

    at org.apache.catalina.core.StandardContext.start(StandardContext.java:5366)

    at com.sun.enterprise.web.WebModule.start(WebModule.java:498)

    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:917)

    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:901)

    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:733)

    at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2000)

    at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1651)

    at com.sun.enterprise.web.WebApplication.start(WebApplication.java:109)

    at org.glassfish.internal.data.EngineRef.start(EngineRef.java:130)

    at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:269)

    at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:294)

    at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:462)

    at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)

    at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:382)

    at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:355)

    at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:370)

    at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1064)

    at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:96)

    at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1244)

    at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1232)

    at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:459)

    at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:209)

    at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:168)

    at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)

    at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:238)

    at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)

    at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725)

    at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)

    at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)

    at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)

    at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)

    at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)

    at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)

    at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)

    at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)

    at com.sun.grizzly.ContextTask.run(ContextTask.java:71)

    at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)

    at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)

    at java.lang.Thread.run(Thread.java:722)

    Caused by: java.util.concurrent.ExecutionException: com.sun.faces.config.ConfigurationException: Unable to parse document ‘jndi:/server/StoreApp-v3.1/WEB-INF/pretty-config.xml’: null

    at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:252)

    at java.util.concurrent.FutureTask.get(FutureTask.java:111)

    at com.sun.faces.config.ConfigManager.getConfigDocuments(ConfigManager.java:670)

    … 43 more

    Caused by: com.sun.faces.config.ConfigurationException: Unable to parse document ‘jndi:/server/StoreApp-v3.1/WEB-INF/pretty-config.xml’: null

    at com.sun.faces.config.ConfigManager$ParseTask.call(ConfigManager.java:920)

    at com.sun.faces.config.ConfigManager$ParseTask.call(ConfigManager.java:865)

    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)

    at java.util.concurrent.FutureTask.run(FutureTask.java:166)

    at com.sun.faces.config.ConfigManager.getConfigDocuments(ConfigManager.java:656)

    … 43 more

    Caused by: java.lang.IllegalStateException

    at com.sun.faces.config.ConfigManager$ParseTask.getTransformer(ConfigManager.java:1087)

    at com.sun.faces.config.ConfigManager$ParseTask.getDocument(ConfigManager.java:1012)

    at com.sun.faces.config.ConfigManager$ParseTask.call(ConfigManager.java:911)

    … 47 more

    SEVERE: PWC1306: Startup of context /StoreApp-v3.1 failed due to previous errors

    SEVERE: PWC1305: Exception during cleanup after start failed

    org.apache.catalina.LifecycleException: PWC2769: Manager has not yet been started

    at org.apache.catalina.session.StandardManager.stop(StandardManager.java:874)

    at org.apache.catalina.core.StandardContext.stop(StandardContext.java:5571)

    at com.sun.enterprise.web.WebModule.stop(WebModule.java:527)

    at org.apache.catalina.core.StandardContext.start(StandardContext.java:5384)

    at com.sun.enterprise.web.WebModule.start(WebModule.java:498)

    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:917)

    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:901)

    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:733)

    at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2000)

    at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1651)

    at com.sun.enterprise.web.WebApplication.start(WebApplication.java:109)

    at org.glassfish.internal.data.EngineRef.start(EngineRef.java:130)

    at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:269)

    at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:294)

    at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:462)

    at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)

    at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:382)

    at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:355)

    at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:370)

    at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1064)

    at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:96)

    at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1244)

    at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1232)

    at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:459)

    at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:209)

    at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:168)

    at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)

    at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:238)

    at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)

    at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725)

    at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)

    at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)

    at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)

    at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)

    at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)

    at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)

    at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)

    at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)

    at com.sun.grizzly.ContextTask.run(ContextTask.java:71)

    at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)

    at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)

    at java.lang.Thread.run(Thread.java:722)

    SEVERE: 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/StoreApp-v3.1/WEB-INF/pretty-config.xml’: null

    at org.apache.catalina.core.StandardContext.start(StandardContext.java:5389)

    at com.sun.enterprise.web.WebModule.start(WebModule.java:498)

    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:917)

    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:901)

    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:733)

    at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2000)

    at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1651)

    at com.sun.enterprise.web.WebApplication.start(WebApplication.java:109)

    at org.glassfish.internal.data.EngineRef.start(EngineRef.java:130)

    at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:269)

    at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:294)

    at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:462)

    at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)

    at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:382)

    at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:355)

    at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:370)

    at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1064)

    at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:96)

    at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1244)

    at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1232)

    at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:459)

    at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:209)

    at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:168)

    at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)

    at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:238)

    at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)

    at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725)

    at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)

    at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)

    at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)

    at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)

    at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)

    at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)

    at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)

    at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)

    at com.sun.grizzly.ContextTask.run(ContextTask.java:71)

    at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)

    at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)

    at java.lang.Thread.run(Thread.java:722)

    Caused by: java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: java.util.concurrent.ExecutionException: com.sun.faces.config.ConfigurationException: Unable to parse document ‘jndi:/server/StoreApp-v3.1/WEB-INF/pretty-config.xml’: null

    at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:292)

    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:4750)

    at com.sun.enterprise.web.WebModule.contextListenerStart(WebModule.java:550)

    at org.apache.catalina.core.StandardContext.start(StandardContext.java:5366)

    … 38 more

    Caused by: com.sun.faces.config.ConfigurationException: java.util.concurrent.ExecutionException: com.sun.faces.config.ConfigurationException: Unable to parse document ‘jndi:/server/StoreApp-v3.1/WEB-INF/pretty-config.xml’: null

    at com.sun.faces.config.ConfigManager.getConfigDocuments(ConfigManager.java:672)

    at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:322)

    at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:225)

    … 41 more

    Caused by: java.util.concurrent.ExecutionException: com.sun.faces.config.ConfigurationException: Unable to parse document ‘jndi:/server/StoreApp-v3.1/WEB-INF/pretty-config.xml’: null

    at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:252)

    at java.util.concurrent.FutureTask.get(FutureTask.java:111)

    at com.sun.faces.config.ConfigManager.getConfigDocuments(ConfigManager.java:670)

    … 43 more

    Caused by: com.sun.faces.config.ConfigurationException: Unable to parse document ‘jndi:/server/StoreApp-v3.1/WEB-INF/pretty-config.xml’: null

    at com.sun.faces.config.ConfigManager$ParseTask.call(ConfigManager.java:920)

    at com.sun.faces.config.ConfigManager$ParseTask.call(ConfigManager.java:865)

    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)

    at java.util.concurrent.FutureTask.run(FutureTask.java:166)

    at com.sun.faces.config.ConfigManager.getConfigDocuments(ConfigManager.java:656)

    … 43 more

    Caused by: java.lang.IllegalStateException

    at com.sun.faces.config.ConfigManager$ParseTask.getTransformer(ConfigManager.java:1087)

    at com.sun.faces.config.ConfigManager$ParseTask.getDocument(ConfigManager.java:1012)

    at com.sun.faces.config.ConfigManager$ParseTask.call(ConfigManager.java:911)

    … 47 more

    WARNING: 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/StoreApp-v3.1/WEB-INF/pretty-config.xml’: null

    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/StoreApp-v3.1/WEB-INF/pretty-config.xml’: null

    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:921)

    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:901)

    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:733)

    at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2000)

    at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1651)

    at com.sun.enterprise.web.WebApplication.start(WebApplication.java:109)

    at org.glassfish.internal.data.EngineRef.start(EngineRef.java:130)

    at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:269)

    at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:294)

    at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:462)

    at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)

    at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:382)

    at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:355)

    at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:370)

    at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1064)

    at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:96)

    at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1244)

    at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1232)

    at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:459)

    at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:209)

    at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:168)

    at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)

    at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:238)

    at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)

    at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725)

    at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)

    at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)

    at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)

    at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)

    at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)

    at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)

    at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)

    at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)

    at com.sun.grizzly.ContextTask.run(ContextTask.java:71)

    at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)

    at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)

    at java.lang.Thread.run(Thread.java:722)

    #22005

    I think this is a bug in Mojarra. A use already reported this some time ago. Take a look at this post:

    http://ocpsoft.com/support/topic/unable-to-parse-document-jndiserverjsfexampleweb-infpretty-configxml

    The last post of me described a workaround that should fix this.

    http://ocpsoft.com/support/topic/unable-to-parse-document-jndiserverjsfexampleweb-infpretty-configxml#post-1472

    I hope this helps!

    #22006

    Muhammad Alaa
    Participant

    Even with Mojarra 2.1.0? In this case it seems to be a Glassfish integration bug.

    I have another idea for a workaround. Perhaps pretty-config.xml is parsed by Mojarra because it matches a pattern like *-config.xml (just like faces-config.xml). In this case you could rename /WEB-INF/pretty-config.xml to something like /WEB-INF/prettyfaces.xml and add the following entry to your web.xml:

    <context-param>

    <param-name>com.ocpsoft.pretty.CONFIG_FILES</param-name>

    <param-value>/WEB-INF/prettyfaces.xml</param-value>

    </context-param>

    You could even try to change the file extension if this still doesn’t work. I know its a dirty workaround but perhaps it works! :)

    I read your post and tried it before but still the same problem what should I do to use glassfish ?

    #22007

    I can only guess here. For some reason Mojarra is trying to parse your pretty-config.xml. This is definitely a bug in Mojarra or Glassfish. There is no reason why Mojarra should parse it.

    The only think that you could try is to move the file to some other location or renamed it so that Mojarra doesn’t try to parse it.

    Another idea would be to move it out of WEB-INF. Perhaps this works. Just put it on your classpath and then configure PrettyFaces like this:

    <context-param>
    <param-name>com.ocpsoft.pretty.CONFIG_FILES</param-name>
    <param-value>/WEB-INF/classes/pretty-config.xml</param-value>
    </context-param>

    Or perhaps into the META-INF directory?

    <context-param>
    <param-name>com.ocpsoft.pretty.CONFIG_FILES</param-name>
    <param-value>/META-INF/pretty-config.xml</param-value>
    </context-param>

    But please make sure to run a “clean” on your project to make sure that the pretty-faces.xml isn’t published to WEB-INF any more.

    I also suggest to create a Mojarra bug report for this.

    I hope this helps.

    Christian

    #22008

    Muhammad Alaa
    Participant

    The problem fixed with me I just removed the

    <context-param>

    <param-name>javax.faces.CONFIG_FILES</param-name>

    <param-value>/WEB-INF/pretty-config.xml</param-value>

    </context-param>

    from my web.xml and everything is working fine Prettyfaces , JSF ,Glassfish

    Thanks for your help

    #22009

    Ah, you explicitly told Mojarra to use the pretty-context.xml as a faces configuration? That explains the exception. :)

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.

Comments are closed.