6 Replies Latest reply on Dec 13, 2012 2:17 AM by nickarls

    I am getting error related to context when i deploy app on JBOSS 7.1.1 Final

    gg.svce

      19:18:17,102 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/protectoria]] (MSC service thread 1-2) Exception sending context initialized event to listener instance of class no.messageman.protectoria.core.contextlistener.InitializeGlobalContext: java.lang.NullPointerException

                at java.util.Properties$LineReader.readLine(Properties.java:418) [rt.jar:1.6.0_21]

                at java.util.Properties.load0(Properties.java:337) [rt.jar:1.6.0_21]

                at java.util.Properties.load(Properties.java:325) [rt.jar:1.6.0_21]

                at no.messageman.protectoria.core.contextlistener.InitializeGlobalContext.createMessages(InitializeGlobalContext.java:421) [app.jar:]

                at no.messageman.protectoria.core.contextlistener.InitializeGlobalContext.contextInitialized(InitializeGlobalContext.java:179) [app.jar:]

                at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar:]

                at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]

                at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

                at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

                at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_21]

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_21]

                at java.lang.Thread.run(Thread.java:619) [rt.jar:1.6.0_21]

       

       

      19:18:17,232 ERROR [no.messageman.protectoria.core.finder.ProtectoriaLookup] (MSC service thread 1-2) Lookup failed for class protectoria/RBACHandler/local: javax.naming.NameNotFoundException: protectoria/RBACHandler/local -- service jboss.naming.context.java.protectoria.RBACHandler.local

                at org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:97)

                at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:178)

                at org.jboss.as.naming.InitialContext.lookup(InitialContext.java:113)

                at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:214)

                at javax.naming.InitialContext.lookup(InitialContext.java:392) [rt.jar:1.6.0_21]

                at no.messageman.protectoria.core.finder.ProtectoriaLookup.getRBACHandler(ProtectoriaLookup.java:361) [app.jar:]

                at no.messageman.protectoria.core.security.CacheResourceRoleMapping.contextInitialized(CacheResourceRoleMapping.java:55) [app.jar:]

                at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar:]

                at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]

                at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

                at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

                at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_21]

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_21]

                at java.lang.Thread.run(Thread.java:619) [rt.jar:1.6.0_21]

       

       

      19:18:17,364 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/protectoria]] (MSC service thread 1-2) Exception sending context initialized event to listener instance of class no.messageman.protectoria.core.security.CacheResourceRoleMapping: java.lang.RuntimeException: javax.naming.NameNotFoundException: protectoria/RBACHandler/local -- service jboss.naming.context.java.protectoria.RBACHandler.local

                at no.messageman.protectoria.core.finder.ProtectoriaLookup.getRBACHandler(ProtectoriaLookup.java:366) [app.jar:]

                at no.messageman.protectoria.core.security.CacheResourceRoleMapping.contextInitialized(CacheResourceRoleMapping.java:55) [app.jar:]

                at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar:]

                at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]

                at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

                at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

                at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_21]

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_21]

                at java.lang.Thread.run(Thread.java:619) [rt.jar:1.6.0_21]

      Caused by: javax.naming.NameNotFoundException: protectoria/RBACHandler/local -- service jboss.naming.context.java.protectoria.RBACHandler.local

                at org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:97)

                at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:178)

                at org.jboss.as.naming.InitialContext.lookup(InitialContext.java:113)

                at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:214)

                at javax.naming.InitialContext.lookup(InitialContext.java:392) [rt.jar:1.6.0_21]

                at no.messageman.protectoria.core.finder.ProtectoriaLookup.getRBACHandler(ProtectoriaLookup.java:361) [app.jar:]

                ... 9 more

       

       

      19:18:17,560 INFO  [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-2) Initializing Mojarra (1.2_15.jbossorg-1-20111019-SNAPSHOT) for context '/protectoria'

      19:18:18,063 SEVERE [javax.enterprise.resource.webcontainer.jsf.application] (MSC service thread 1-2) JSF1051: Service entry 'org.jboss.as.web.deployment.jsf.JsfInjectionProvider' does not extend DiscoverableInjectionProvider.  Entry will be ignored.

      19:18:18,079 INFO  [javax.enterprise.resource.webcontainer.jsf.application] (MSC service thread 1-2) JSF1048: PostConstruct/PreDestroy annotations present.  ManagedBeans methods marked with these annotations will have said annotations processed.

      19:18:19,566 ERROR [org.apache.catalina.core.StandardContext] (MSC service thread 1-2) Error listenerStart

      19:18:19,573 ERROR [org.apache.catalina.core.StandardContext] (MSC service thread 1-2) Context [/protectoria] startup failed due to previous errors

      19:18:19,589 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.web.deployment.default-host./protectoria: org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./protectoria: JBAS018040: Failed to start context

                at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:95)

                at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

                at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

                at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_21]

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_21]

                at java.lang.Thread.run(Thread.java:619) [rt.jar:1.6.0_21]

       

       

      19:18:19,693 INFO  [org.jboss.as] (MSC service thread 1-2) JBAS015951: Admin console listening on http://127.0.0.1:9990

      19:18:19,701 ERROR [org.jboss.as] (MSC service thread 1-2) JBAS015875: JBoss AS 7.1.1.Final "Brontes" started (with errors) in 70437ms - Started 1990 of 2077 services (2 services failed or missing dependencies, 84 services are passive or on-demand)

      19:18:19,921 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015870: Deploy of deployment "protectoria.ear" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.web.deployment.default-host./protectoria" => "org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./protectoria: JBAS018040: Failed to start context"}}

      19:18:19,980 INFO  [org.jboss.as.webservices] (MSC service thread 1-3) JBAS015540: Stopping service jboss.ws.endpoint."protectoria.ear"."app.jar".ThickClientSharedSecretEncryptedWS

      19:18:19,995 INFO  [org.jboss.ws.common.management.DefaultEndpointRegistry] (MSC service thread 1-3) remove: jboss.ws:context=app,endpoint=ThickClientSharedSecretEncryptedWS

      19:18:19,985 INFO  [org.jboss.as.webservices] (MSC service thread 1-1) JBAS015540: Stopping service jboss.ws.endpoint."protectoria.ear"."app.jar".CoreWsImpl

      19:18:20,034 INFO  [org.jboss.ws.common.management.DefaultEndpointRegistry] (MSC service thread 1-1) remove: jboss.ws:context=app,endpoint=CoreWsImpl

      19:18:20,100 INFO  [org.jboss.as.jpa] (MSC service thread 1-4) JBAS011403: Stopping Persistence Unit Service 'protectoria.ear/app.jar#protectoria'

      19:18:20,174 INFO  [org.jboss.as.webservices] (MSC service thread 1-3) JBAS015540: Stopping service jboss.ws.port-component-link

      19:18:20,191 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015877: Stopped deployment app.jar in 264ms

      19:18:20,245 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015877: Stopped deployment app.war in 319ms

      19:18:20,354 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015877: Stopped deployment protectoria.ear in 429ms

      19:18:20,362 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report

      JBAS014777:   Services which failed to start:      service jboss.web.deployment.default-host./protectoria: org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./protectoria: JBAS018040: Failed to start context

       

       

      19:18:20,464 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"JBAS014671: Failed services" => {"jboss.web.deployment.default-host./protectoria" => "org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./protectoria: JBAS018040: Failed to start context"}}}}

       

      application.xml:

       

      <application>

        <display-name>Protectoria</display-name>

        <initialize-in-order>true</initialize-in-order>

        <module>

          <ejb>app.jar</ejb>

        </module>

        <module>

          <web>

            <web-uri>app.war</web-uri>

            <context-root>/protectoria</context-root>

          </web>

        </module>

      <library-directory>.</library-directory>

      </application>

       

      please do suggest

       

      Thanks in advance:)

        • 1. Re: I am getting error related to context when i deploy app on JBOSS 7.1.1 Final
          nickarls

          What happens at

           

          at no.messageman.protectoria.core.finder.ProtectoriaLookup.getRBACHandler(ProtectoriaLookup.java:361) [app.jar:]

           

          and

           

          at no.messageman.protectoria.core.contextlistener.InitializeGlobalContext.createMessages(InitializeGlobalContext.java:421) [app.jar:]

           

          ?


          • 2. Re: I am getting error related to context when i deploy app on JBOSS 7.1.1 Final
            gg.svce

            Thanks for your reply Nicklas

             

            Actually we have created a class Lookup.java and whenever we need an object of session bean we call desired method like getRBACHandler -

             

            getRBCAHandler returns an object of  RBACHandler session bean, below is the thing which we are doing inside the method

             

            public IRBAC getRBACHandler() {

                    InitialContext context;

                    try {

                        context = new InitialContext();

                        IRBAC rbac = (IRBAC) context.lookup("protectoria/RBACHandler/local");

                        return rbac;

                    } catch (NamingException e) {

                        // e.printStackTrace();

                      

                        throw new RuntimeException(e);

                    }

                }

             

            Please do suggest am doing right?

             

            Thanks!

            • 3. Re: I am getting error related to context when i deploy app on JBOSS 7.1.1 Final
              gg.svce

              we have resolved this issue by changing JNDI name but now facing another issues:

               

               

              11:18:00,532 INFO  [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-2) Initializing Mojarra (1.2_15.jbossorg-1-20111019-SNAPSHOT) for context '/protectoria'

              11:18:00,553 SEVERE [javax.enterprise.resource.webcontainer.jsf.application] (MSC service thread 1-2) JSF1051: Service entry 'org.jboss.as.web.deployment.jsf.JsfInjectionProvider' does not extend DiscoverableInjectionProvider.  Entry will be ignored.

              11:18:00,558 INFO  [javax.enterprise.resource.webcontainer.jsf.application] (MSC service thread 1-2) JSF1048: PostConstruct/PreDestroy annotations present.  ManagedBeans methods marked with these annotations will have said annotations processed.

              11:18:00,566 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/protectoria]] (MSC service thread 1-2) Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! com.sun.facelets.compiler.Compiler from [Module "deployment.protectoria.ear:main" from Service Module Loader]

                        at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:215) [jsf-impl-1.2_15-jbossorg-2.jar:1.2_15.jbossorg-1-20111019-SNAPSHOT]

                        at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:200) [jsf-impl-1.2_15-jbossorg-2.jar:1.2_15.jbossorg-1-20111019-SNAPSHOT]

                        at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar:]

                        at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar:]

                        at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]

                        at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

                        at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

                        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_21]

                        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_21]

                        at java.lang.Thread.run(Thread.java:619) [rt.jar:1.6.0_21]

              Caused by: java.lang.ClassNotFoundException: com.sun.facelets.compiler.Compiler from [Module "deployment.protectoria.ear:main" from Service Module Loader]

                        at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)

                        at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)

                        at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)

                        at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:423)

                        at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)

                        at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)

                        at java.lang.Class.getDeclaredConstructors0(Native Method) [rt.jar:1.6.0_21]

                        at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389) [rt.jar:1.6.0_21]

                        at java.lang.Class.getConstructor0(Class.java:2699) [rt.jar:1.6.0_21]

                        at java.lang.Class.newInstance0(Class.java:326) [rt.jar:1.6.0_21]

                        at java.lang.Class.newInstance(Class.java:308) [rt.jar:1.6.0_21]

                        at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:243) [jsf-impl-1.2_15-jbossorg-2.jar:1.2_15.jbossorg-1-20111019-SNAPSHOT]

                        at com.sun.faces.config.processor.LifecycleConfigProcessor.addPhaseListeners(LifecycleConfigProcessor.java:142) [jsf-impl-1.2_15-jbossorg-2.jar:1.2_15.jbossorg-1-20111019-SNAPSHOT]

                        at com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:115) [jsf-impl-1.2_15-jbossorg-2.jar:1.2_15.jbossorg-1-20111019-SNAPSHOT]

                        at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:108) [jsf-impl-1.2_15-jbossorg-2.jar:1.2_15.jbossorg-1-20111019-SNAPSHOT]

                        at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:133) [jsf-impl-1.2_15-jbossorg-2.jar:1.2_15.jbossorg-1-20111019-SNAPSHOT]

                        at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:205) [jsf-impl-1.2_15-jbossorg-2.jar:1.2_15.jbossorg-1-20111019-SNAPSHOT]

                        ... 9 more

               

               

              11:18:00,644 ERROR [org.apache.catalina.core.StandardContext] (MSC service thread 1-2) Error listenerStart

              11:18:00,646 ERROR [org.apache.catalina.core.StandardContext] (MSC service thread 1-2) Context [/protectoria] startup failed due to previous errors

              11:18:00,650 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.web.deployment.default-host./protectoria: org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./protectoria: JBAS018040: Failed to start context

                        at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:95)

                        at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

                        at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

                        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_21]

                        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_21]

                        at java.lang.Thread.run(Thread.java:619) [rt.jar:1.6.0_21]

               

               

              11:18:00,873 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015870: Deploy of deployment "protectoria.ear" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.web.deployment.default-host./protectoria" => "org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./protectoria: JBAS018040: Failed to start context"}}

              11:18:00,903 INFO  [org.jboss.as.webservices] (MSC service thread 1-1) JBAS015540: Stopping service jboss.ws.endpoint."protectoria.ear"."app.jar".CoreWsImpl

              11:18:00,904 INFO  [org.jboss.as.webservices] (MSC service thread 1-3) JBAS015540: Stopping service jboss.ws.endpoint."protectoria.ear"."app.jar".ThickClientSharedSecretEncryptedWS

              11:18:00,913 INFO  [org.jboss.ws.common.management.DefaultEndpointRegistry] (MSC service thread 1-1) remove: jboss.ws:context=app,endpoint=CoreWsImpl

              11:18:00,924 INFO  [org.jboss.ws.common.management.DefaultEndpointRegistry] (MSC service thread 1-3) remove: jboss.ws:context=app,endpoint=ThickClientSharedSecretEncryptedWS

              11:18:00,955 INFO  [org.jboss.as.jpa] (MSC service thread 1-4) JBAS011403: Stopping Persistence Unit Service 'protectoria.ear/app.jar#protectoria'

              11:18:01,032 INFO  [org.jboss.as.webservices] (MSC service thread 1-1) JBAS015540: Stopping service jboss.ws.port-component-link

              11:18:01,045 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015877: Stopped deployment app.war in 172ms

              11:18:01,045 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015877: Stopped deployment app.jar in 172ms

              11:18:01,156 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015877: Stopped deployment protectoria.ear in 282ms

              11:18:01,159 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report

              JBAS014777:   Services which failed to start:      service jboss.web.deployment.default-host./protectoria: org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./protectoria: JBAS018040: Failed to start context

               

               

              11:18:01,168 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"JBAS014671: Failed services" => {"jboss.web.deployment.default-host./protectoria" => "org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./protectoria: JBAS018040: Failed to start context"}}}}

               

               

              please do suggest?

              • 4. Re: I am getting error related to context when i deploy app on JBOSS 7.1.1 Final
                nickarls

                What is your JSF configuration? Do you bundle an implementation or otherwise configured for 1.2?

                • 5. Re: I am getting error related to context when i deploy app on JBOSS 7.1.1 Final
                  gg.svce

                  we have configured it for jsf1.2

                  changed module.xml slot: 1.2

                   

                  <properties>

                          <property name="jboss.api" value="private"/>

                      </properties>

                   

                   

                      <dependencies>

                          <!-- Must be first -->

                          <module name="javax.faces.api" slot="1.2"/>

                          <module name="javaee.api"/>

                          <module name="javax.servlet.jstl.api"/>

                      </dependencies>

                   

                   

                      <resources>

                          <resource-root path="jsf-impl-1.2_15-jbossorg-2.jar"/>

                          <!-- Insert resources here -->

                      </resources>

                  and also added to ear.

                  but getting the same error.

                  • 6. Re: I am getting error related to context when i deploy app on JBOSS 7.1.1 Final
                    nickarls

                    Hmm. I haven't used 1.2 but I would think the impl would also have to be listed as a module/slot.

                     

                    Google around for examples on how to set up JSF 1.2, I know it can be done, you are probably just doing it wrong now ;-)