Unable to parse document 'jndi:/server/jsfexample/WEB-INF/pretty-config.xml':

Splash Forums PrettyFaces Users Unable to parse document 'jndi:/server/jsfexample/WEB-INF/pretty-config.xml':

This topic contains 15 replies, has 5 voices, and was last updated by  Muhammad Alaa 5 years, 8 months ago.

Viewing 15 posts - 1 through 15 (of 16 total)
  • Author
    Posts
  • #17975

    vnks2000
    Participant

    Hello i am getting this following error

    jdk1.6,glassfish3.1,jsf2.0

    WARNING: Illegal character in path at index 18: file:/C:/Documents and Settings/Naga Kalyana/My Documents/NetBeansProjects/jsfexample/build/web/WEB-INF/lib/commons-beanutils-1.8.3.jar

    java.net.URISyntaxException: Illegal character in path at index 18: file:/C:/Documents and Settings/Naga Kalyana/My Documents/NetBeansProjects/jsfexample/build/web/WEB-INF/lib/commons-beanutils-1.8.3.jar

    at java.net.URI$Parser.fail(URI.java:2809)

    at java.net.URI$Parser.checkChars(URI.java:2982)

    at java.net.URI$Parser.parseHierarchical(URI.java:3066)

    at java.net.URI$Parser.parse(URI.java:3014)

    at java.net.URI.<init>(URI.java:578)

    at java.net.URL.toURI(URL.java:918)

    at com.sun.enterprise.v3.server.SnifferManagerImpl.getURIs(SnifferManagerImpl.java:268)

    at com.sun.enterprise.v3.server.SnifferManagerImpl.getApplicableSniffers(SnifferManagerImpl.java:202)

    at com.sun.enterprise.v3.server.SnifferManagerImpl.getSniffers(SnifferManagerImpl.java:150)

    at com.sun.enterprise.v3.server.ApplicationLifecycle.setupContainerInfos(ApplicationLifecycle.java:604)

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

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

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

    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:1067)

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

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

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

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

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

    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:234)

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

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

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

    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:619)

    INFO: Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver.

    INFO: Initializing Mojarra 2.1.0 (FCS 2.1.0-b11) for context ‘/jsfexample’

    INFO: Unsanitized stacktrace from failed start…

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

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

    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:4690)

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

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

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

    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:755)

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

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

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

    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:286)

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

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

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

    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:1067)

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

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

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

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

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

    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:234)

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

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

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

    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:619)

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

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

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

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

    … 43 more

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

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

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

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

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

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

    … 43 more

    Caused by: java.lang.IllegalStateException

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

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

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

    … 47 more

    SEVERE: Critical error during deployment:

    com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! null

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

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

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

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

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

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

    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:755)

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

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

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

    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:286)

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

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

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

    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:1067)

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

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

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

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

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

    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:234)

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

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

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

    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:619)

    Caused by: java.lang.IllegalStateException

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

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

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

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

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

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

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

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

    … 42 more

    SEVERE: PWC1306: Startup of context /jsfexample 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:872)

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

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

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

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

    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:755)

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

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

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

    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:286)

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

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

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

    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:1067)

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

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

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

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

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

    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:234)

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

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

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

    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:619)

    SEVERE: ContainerBase.addChild: start:

    org.apache.catalina.LifecycleException: java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! null

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

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

    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:755)

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

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

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

    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:286)

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

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

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

    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:1067)

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

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

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

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

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

    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:234)

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

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

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

    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:619)

    Caused by: java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! null

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

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

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

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

    … 38 more

    Caused by: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! null

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

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

    … 41 more

    Caused by: java.lang.IllegalStateException

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

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

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

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

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

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

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

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

    … 42 more

    WARNING: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! null

    java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! 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:755)

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

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

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

    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:286)

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

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

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

    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:1067)

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

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

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

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

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

    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:234)

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

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

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

    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:619)

    SEVERE: Exception while invoking class com.sun.enterprise.web.WebApplication start method

    java.lang.Exception: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! null

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

    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:286)

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

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

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

    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:1067)

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

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

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

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

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

    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:234)

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

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

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

    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:619)

    SEVERE: Exception while loading the app

    SEVERE: Exception while loading the app : java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! null

    here is my pretty faces config

    <?xml version=’1.0′ encoding=’UTF-8′?>

    <!– =========== FULL CONFIGURATION FILE ================================== –>

    <pretty-config xmlns=”http://ocpsoft.com/prettyfaces/3.2.0&#8243;

    xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance&#8221;

    xsi:schemaLocation=”http://ocpsoft.com/prettyfaces/3.2.0

    http://ocpsoft.com/xml/ns/prettyfaces/ocpsoft-pretty-faces-3.2.0.xsd“>

    <url-mapping id=”index”>

    <pattern> /jsfexample </pattern>

    <view-id> /jsfexample/index.jsp </view-id> <!– Non JSF View Id –>

    </url-mapping>

    <url-mapping id=”input”>

    <pattern> /jsfexample/input </pattern>

    <view-id>/jsfexample/inputName.jsf</view-id> <!– JSF View Id –>

    </url-mapping>

    <url-mapping id=”greetings”>

    <pattern> /jsfexample/greetings </pattern>

    <view-id>/jsfexample/greetings.jsf</view-id> <!– JSF View Id –>

    </url-mapping>

    in the web.xml i have given the following filter

    <filter>

    <filter-name>Pretty Filter</filter-name>

    <filter-class>com.ocpsoft.pretty.PrettyFilter</filter-class>

    </filter>

    <filter-mapping>

    <filter-name>Pretty Filter</filter-name>

    <url-pattern>/*</url-pattern>

    <dispatcher>REQUEST</dispatcher>

    <dispatcher>FORWARD</dispatcher>

    <dispatcher>ERROR</dispatcher>

    </filter-mapping>

    #21090

    Seems like this problem is caused by the space characters in your path names.

    Which version of PrettyFaces are you using? Could you try the most recent version 3.2.1? I think something like this has been fixed in one of the most recent versions.

    But I’m not completlely sure if this problem is really caused by PrettyFaces because there are no PrettyFaces classes in the stacktrace.

    #21091

    domdorn
    Participant

    looks like a glassfish bug to me: they are not translating the jndi url correctly to a file system url… please try to deploy your web application to a path that has no spaces in it, e.x. C:webappsyour_sample

    and post if it works now or not.

    #21092

    vnks2000
    Participant

    I am using netbeans 7.0 and prettyfaces-jsf2-3.2.1.jar

    #21093

    vnks2000
    Participant

    I tried that also E:Nagjsfexample

    #21094

    domdorn
    Participant

    > I tried that also E:Nagjsfexample

    so, please post the new exception.

    #21095

    vnks2000
    Participant

    INFO: Unsanitized stacktrace from failed start…

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

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

    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:4690)

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

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

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

    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:755)

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

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

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

    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:286)

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

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

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

    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:1067)

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

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

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

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

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

    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:234)

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

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

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

    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:619)

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

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

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

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

    … 43 more

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

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

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

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

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

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

    … 43 more

    Caused by: java.lang.IllegalStateException

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

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

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

    … 47 more

    SEVERE: Critical error during deployment:

    com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! null

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

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

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

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

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

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

    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:755)

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

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

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

    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:286)

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

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

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

    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:1067)

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

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

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

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

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

    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:234)

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

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

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

    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:619)

    Caused by: java.lang.IllegalStateException

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

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

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

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

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

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

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

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

    … 42 more

    SEVERE: PWC1306: Startup of context /jsfexample 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:872)

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

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

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

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

    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:755)

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

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

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

    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:286)

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

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

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

    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:1067)

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

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

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

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

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

    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:234)

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

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

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

    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:619)

    SEVERE: ContainerBase.addChild: start:

    org.apache.catalina.LifecycleException: java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! null

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

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

    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:755)

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

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

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

    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:286)

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

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

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

    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:1067)

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

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

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

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

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

    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:234)

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

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

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

    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:619)

    Caused by: java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! null

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

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

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

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

    … 38 more

    Caused by: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! null

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

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

    … 41 more

    Caused by: java.lang.IllegalStateException

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

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

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

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

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

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

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

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

    … 42 more

    WARNING: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! null

    java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! 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:755)

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

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

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

    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:286)

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

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

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

    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:1067)

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

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

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

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

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

    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:234)

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

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

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

    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:619)

    SEVERE: Exception while invoking class com.sun.enterprise.web.WebApplication start method

    java.lang.Exception: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! null

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

    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:286)

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

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

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

    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:1067)

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

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

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

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

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

    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:234)

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

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

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

    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:619)

    SEVERE: Exception while loading the app

    SEVERE: Exception while loading the app : java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! null

    #21096

    For me it looks like Mojarra is trying to parse pretty-config.xml file for some reason! Could you perhaps try to move the pretty-config.xml file to WEB-INF/classes/META-INF/pretty-config.xml? This way PrettyFaces should still find this file but perhaps Mojarra will ignore it there!

    #21097

    Yes, this is very strange. I think this might be worth an issue against Mojarra, depending on which version you’re using?

    #21098

    Its Mojarra 2.1.0

    I’m currently digging in their sources! :)

    #21099

    It could also be a glasses mojarra integration bug.

    #21100

    domdorn
    Participant

    for me, this still looks like the previous deployed app. the essential part of the stacktrace like in the first post:

    WARNING: Illegal character in path at index 18: file:/C:/Documents and Settings/Naga Kalyana/My Documents/NetBeansProjects/jsfexample/build/web/WEB-INF/lib/commons-beanutils-1.8.3.jar

    java.net.URISyntaxException: Illegal character in path at index 18: file:/C:/Documents and Settings/Naga Kalyana/My Documents/NetBeansProjects/jsfexample/build/web/WEB-INF/lib/commons-beanutils-1.8.3.jar

    at java.net.URI$Parser.fail(URI.java:2809)

    at java.net.URI$Parser.checkChars(URI.java:2982)

    at java.net.URI$Parser.parseHierarchical(URI.java:3066)

    at java.net.URI$Parser.parse(URI.java:3014)

    at java.net.URI.<init>(URI.java:578)

    is missing. Please use a different name for the application so we can be sure its not still the app deployed under C:/Documents and Settings/Naga Kalyana/My Documents/NetBeansProjects/jsfexample/

    try name it C:nagjsfexample_new or something like that.

    #21101

    Yes, please make sure we are seeing the most recent stacktrace.

    For me the most interesting part of the stacktrace is:

    Caused by: com.sun.faces.config.ConfigurationException: Unable to parse document 'jndi:/server/jsfexample/WEB-INF/pretty-config.xml': null

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

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

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

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

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

    ... 43 more

    Caused by: java.lang.IllegalStateException

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

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

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

    I just looked into the Mojarra source. They are using some kind of provider pattern to build a list of XML files to parse. Then they starting parsing them in separate threads (ParseTask). The ParseTask.getTransformer() method tries to detect the content of the XML file by looking at the namespaces of the root element. They seem to use some kind of XSLT transformations for files like old Facelets stuff there.

    Thats what I got so far. I really think it is a Mojarra or Glassfish integration issue.

    #21102

    vnks2000
    Participant

    It is working on tomcat 7.0

    #21103

    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! :)

Viewing 15 posts - 1 through 15 (of 16 total)

You must be logged in to reply to this topic.

Comments are closed.