1 Reply Latest reply on Feb 4, 2007 8:58 PM by Stan Silvert

    JSF Deployment Problem

    Nathaniel Stoddard Newbie

      I'm trying to get a simple JSF application working (new app), but can't seem to get started. I keep getting some ClassNotFoundExceptions. I've followed the directions in the wiki for declaring the servlet and servlet-mapping elements in web.xml (and the wiki says that's all I need to do.

      Any help would be great.

      2007-01-10 12:58:06,956 DEBUG [org.jboss.system.ServiceCreator] About to create bean: jboss.web.deployment:war=/admin with code: org.jboss.web.deployers.WebModule
      2007-01-10 12:58:06,956 DEBUG [org.jboss.system.ServiceCreator] Created mbean: jboss.web.deployment:war=/admin
      2007-01-10 12:58:06,956 DEBUG [org.jboss.system.ServiceController] Creating service jboss.web.deployment:war=/admin
      2007-01-10 12:58:06,956 DEBUG [org.jboss.system.ServiceController] starting service jboss.web.deployment:war=/admin
      2007-01-10 12:58:06,956 DEBUG [org.jboss.web.tomcat.tc6.deployers.TomcatDeployment] webContext: /admin
      2007-01-10 12:58:06,956 DEBUG [org.jboss.web.tomcat.tc6.deployers.TomcatDeployment] warURL: file:/C:/dev/servers/jboss-5.0.0.Beta1/server/default/tmp/deploy/admin-webapp45256-exp.war/
      2007-01-10 12:58:07,016 DEBUG [org.jboss.web.WebPermissionMapping] Qualified url patterns: {/=PatternInfo[pattern=/,type=3,isOverriden=false,qualifiers=[]]}
      2007-01-10 12:58:07,036 INFO [org.jboss.web.tomcat.tc6.deployers.TomcatDeployment] deploy, ctxPath=/admin, warUrl=.../tmp/deploy/admin-webapp45256-exp.war/
      2007-01-10 12:58:07,227 DEBUG [org.jboss.web.tomcat.tc6.deployers.TomcatDeployment] Using session cookies default setting
      2007-01-10 12:58:07,627 INFO [org.apache.catalina.loader.WebappLoader] Dual registration of jndi stream handler: factory already defined
      2007-01-10 12:58:07,647 DEBUG [org.jboss.web.tomcat.tc6.WebAppLoader] injectionContainer enabled and processing beginning with Tomcat WebAppLoader
      2007-01-10 12:58:08,519 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/admin]] Error configuring application listener of class com.sun.faces.config.GlassFishConfigureListener
      java.lang.ClassNotFoundException: com.sun.faces.config.GlassFishConfigureListener
       at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1355)
       at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1201)
       at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3770)
       at org.apache.catalina.core.StandardContext.start(StandardContext.java:4336)
       at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
       at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
       at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
       at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
       at org.apache.catalina.core.StandardContext.init(StandardContext.java:5285)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
       at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
       at org.jboss.web.tomcat.tc6.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:302)
       at org.jboss.web.tomcat.tc6.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:129)
       at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:355)
       at org.jboss.web.deployers.WebModule.startModule(WebModule.java:88)
       at org.jboss.web.deployers.WebModule.start(WebModule.java:66)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
       at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:184)
       at $Proxy0.start(Unknown Source)
       at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
       at org.jboss.system.microcontainer.ServiceControllerContextAction.install(ServiceControllerContextAction.java:46)
       at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
       at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:226)
       at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:198)
       at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:709)
       at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:429)
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:538)
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:472)
       at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:320)
       at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:190)
       at org.jboss.system.ServiceController.doChange(ServiceController.java:656)
       at org.jboss.system.ServiceController.start(ServiceController.java:431)
       at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:124)
       at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:85)
       at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:44)
       at org.jboss.deployers.plugins.deployers.helpers.AbstractSimpleRealDeployer.deploy(AbstractSimpleRealDeployer.java:53)
       at org.jboss.deployers.plugins.deployer.AbstractSimpleDeployer.commitDeploy(AbstractSimpleDeployer.java:52)
       at org.jboss.deployers.plugins.deployer.DeployerWrapper.commitDeploy(DeployerWrapper.java:145)
       at org.jboss.deployers.plugins.deployment.MainDeployerImpl.commitDeploy(MainDeployerImpl.java:440)
       at org.jboss.deployers.plugins.deployment.MainDeployerImpl.process(MainDeployerImpl.java:381)
       at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:366)
       at org.jboss.system.server.profileservice.ProfileServiceBootstrap.bootstrap(ProfileServiceBootstrap.java:246)
       at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:89)
       at org.jboss.system.server.profileservice.ServerImpl.doStart(ServerImpl.java:401)
       at org.jboss.system.server.profileservice.ServerImpl.start(ServerImpl.java:340)
       at org.jboss.Main.boot(Main.java:210)
       at org.jboss.Main$1.run(Main.java:508)
       at java.lang.Thread.run(Thread.java:595)
      2007-01-10 12:58:08,539 DEBUG [org.jboss.web.tomcat.tc6.TomcatInjectionContainer] **************** Processing annotations for: org.jboss.web.tomcat.security.SecurityFlushSessionListener
      2007-01-10 12:58:08,539 DEBUG [org.jboss.web.tomcat.tc6.TomcatInjectionContainer] -- there was no prior annotation preprocessing done
      2007-01-10 12:58:08,539 DEBUG [org.jboss.web.tomcat.tc6.TomcatInjectionContainer] -- no injectors found: {}
      2007-01-10 12:58:08,639 DEBUG [org.jboss.web.tomcat.tc6.TomcatInjectionContainer] **************** Processing annotations for: org.jboss.web.jsf.integration.config.JBossJSFConfigureListener
      2007-01-10 12:58:08,639 DEBUG [org.jboss.web.tomcat.tc6.TomcatInjectionContainer] -- there was no prior annotation preprocessing done
      2007-01-10 12:58:08,739 DEBUG [org.jboss.web.tomcat.tc6.TomcatInjectionContainer] -- no injectors found: {}
      2007-01-10 12:58:08,739 DEBUG [org.jboss.web.tomcat.tc6.TomcatInjectionContainer] **************** Processing annotations for: com.sun.faces.application.WebappLifecycleListener
      2007-01-10 12:58:08,739 DEBUG [org.jboss.web.tomcat.tc6.TomcatInjectionContainer] -- there was no prior annotation preprocessing done
      2007-01-10 12:58:08,779 DEBUG [org.jboss.web.tomcat.tc6.TomcatInjectionContainer] -- no injectors found: {}
      2007-01-10 12:58:08,779 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/admin]] Skipped installing application listeners due to previous error(s)
      2007-01-10 12:58:08,779 ERROR [org.apache.catalina.core.StandardContext] Error listenerStart
      2007-01-10 12:58:08,779 ERROR [org.apache.catalina.core.StandardContext] Context [/admin] startup failed due to previous errors
      2007-01-10 12:58:08,799 DEBUG [org.jboss.web.tomcat.tc6.WebAppLoader] injectionContainer enabled and processing beginning with Tomcat WebAppLoader
      2007-01-10 12:58:08,979 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/admin]] Error configuring application listener of class com.sun.faces.config.GlassFishConfigureListener
      java.lang.ClassNotFoundException: com.sun.faces.config.GlassFishConfigureListener
       at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1355)
       at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1201)
       at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3770)
       at org.apache.catalina.core.StandardContext.start(StandardContext.java:4336)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
       at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
       at org.jboss.web.tomcat.tc6.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:315)
       at org.jboss.web.tomcat.tc6.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:129)
       at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:355)
       at org.jboss.web.deployers.WebModule.startModule(WebModule.java:88)
       at org.jboss.web.deployers.WebModule.start(WebModule.java:66)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
       at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:184)
       at $Proxy0.start(Unknown Source)
       at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
       at org.jboss.system.microcontainer.ServiceControllerContextAction.install(ServiceControllerContextAction.java:46)
       at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
       at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:226)
       at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:198)
       at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:709)
       at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:429)
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:538)
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:472)
       at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:320)
       at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:190)
       at org.jboss.system.ServiceController.doChange(ServiceController.java:656)
       at org.jboss.system.ServiceController.start(ServiceController.java:431)
       at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:124)
       at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:85)
       at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:44)
       at org.jboss.deployers.plugins.deployers.helpers.AbstractSimpleRealDeployer.deploy(AbstractSimpleRealDeployer.java:53)
       at org.jboss.deployers.plugins.deployer.AbstractSimpleDeployer.commitDeploy(AbstractSimpleDeployer.java:52)
       at org.jboss.deployers.plugins.deployer.DeployerWrapper.commitDeploy(DeployerWrapper.java:145)
       at org.jboss.deployers.plugins.deployment.MainDeployerImpl.commitDeploy(MainDeployerImpl.java:440)
       at org.jboss.deployers.plugins.deployment.MainDeployerImpl.process(MainDeployerImpl.java:381)
       at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:366)
       at org.jboss.system.server.profileservice.ProfileServiceBootstrap.bootstrap(ProfileServiceBootstrap.java:246)
       at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:89)
       at org.jboss.system.server.profileservice.ServerImpl.doStart(ServerImpl.java:401)
       at org.jboss.system.server.profileservice.ServerImpl.start(ServerImpl.java:340)
       at org.jboss.Main.boot(Main.java:210)
       at org.jboss.Main$1.run(Main.java:508)
       at java.lang.Thread.run(Thread.java:595)
      2007-01-10 12:58:08,979 DEBUG [org.jboss.web.tomcat.tc6.TomcatInjectionContainer] **************** Processing annotations for: org.jboss.web.tomcat.security.SecurityFlushSessionListener
      2007-01-10 12:58:08,979 DEBUG [org.jboss.web.tomcat.tc6.TomcatInjectionContainer] -- no injectors found: {}
      2007-01-10 12:58:08,979 DEBUG [org.jboss.web.tomcat.tc6.TomcatInjectionContainer] **************** Processing annotations for: org.jboss.web.jsf.integration.config.JBossJSFConfigureListener
      2007-01-10 12:58:08,979 DEBUG [org.jboss.web.tomcat.tc6.TomcatInjectionContainer] -- no injectors found: {}
      2007-01-10 12:58:08,989 DEBUG [org.jboss.web.tomcat.tc6.TomcatInjectionContainer] **************** Processing annotations for: com.sun.faces.application.WebappLifecycleListener
      2007-01-10 12:58:08,989 DEBUG [org.jboss.web.tomcat.tc6.TomcatInjectionContainer] -- no injectors found: {}
      2007-01-10 12:58:08,989 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/admin]] Skipped installing application listeners due to previous error(s)
      2007-01-10 12:58:08,989 ERROR [org.apache.catalina.core.StandardContext] Error listenerStart
      2007-01-10 12:58:08,989 ERROR [org.apache.catalina.core.StandardContext] Context [/admin] startup failed due to previous errors
      2007-01-10 12:58:08,989 DEBUG [org.jboss.web.tomcat.tc6.deployers.TomcatDeployment] Creating ENC using ClassLoader: java.net.FactoryURLClassLoader@ced1a8
      2007-01-10 12:58:08,989 DEBUG [org.jboss.web.tomcat.tc6.deployers.TomcatDeployment] ..org.jboss.mx.loading.UnifiedClassLoader3@55108e{ url=file:/C:/dev/servers/jboss-5.0.0.Beta1/server/default/deploy/gentlesurvey-app.ear ,addedOrder=17}
      2007-01-10 12:58:08,989 DEBUG [org.jboss.web.tomcat.tc6.deployers.TomcatDeployment] ..org.jboss.system.server.NoAnnotationURLClassLoader@e86da0
      2007-01-10 12:58:08,989 DEBUG [org.jboss.web.tomcat.tc6.deployers.TomcatDeployment] ..sun.misc.Launcher$AppClassLoader@a39137
      2007-01-10 12:58:08,989 DEBUG [org.jboss.web.tomcat.tc6.deployers.TomcatDeployment] ..sun.misc.Launcher$ExtClassLoader@92e78c
      2007-01-10 12:58:08,989 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] Error installing to Start: name=jboss.web.deployment:war=/admin state=Create mode=Manual requiredState=Installed
      javax.naming.NoInitialContextException: Cannot instantiate class: org.jnp.interfaces.NamingContextFactory [Root exception is java.lang.ClassNotFoundException: org/jnp/interfaces/NamingContextFactory]
       at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:657)
       at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
       at javax.naming.InitialContext.init(InitialContext.java:223)
       at javax.naming.InitialContext.<init>(InitialContext.java:175)
       at org.jboss.web.tomcat.tc6.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:338)
       at org.jboss.web.tomcat.tc6.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:129)
       at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:355)
       at org.jboss.web.deployers.WebModule.startModule(WebModule.java:88)
       at org.jboss.web.deployers.WebModule.start(WebModule.java:66)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
       at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:184)
       at $Proxy0.start(Unknown Source)
       at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
       at org.jboss.system.microcontainer.ServiceControllerContextAction.install(ServiceControllerContextAction.java:46)
       at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
       at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:226)
       at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:198)
       at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:709)
       at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:429)
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:538)
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:472)
       at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:320)
       at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:190)
       at org.jboss.system.ServiceController.doChange(ServiceController.java:656)
       at org.jboss.system.ServiceController.start(ServiceController.java:431)
       at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:124)
       at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:85)
       at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:44)
       at org.jboss.deployers.plugins.deployers.helpers.AbstractSimpleRealDeployer.deploy(AbstractSimpleRealDeployer.java:53)
       at org.jboss.deployers.plugins.deployer.AbstractSimpleDeployer.commitDeploy(AbstractSimpleDeployer.java:52)
       at org.jboss.deployers.plugins.deployer.DeployerWrapper.commitDeploy(DeployerWrapper.java:145)
       at org.jboss.deployers.plugins.deployment.MainDeployerImpl.commitDeploy(MainDeployerImpl.java:440)
       at org.jboss.deployers.plugins.deployment.MainDeployerImpl.process(MainDeployerImpl.java:381)
       at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:366)
       at org.jboss.system.server.profileservice.ProfileServiceBootstrap.bootstrap(ProfileServiceBootstrap.java:246)
       at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:89)
       at org.jboss.system.server.profileservice.ServerImpl.doStart(ServerImpl.java:401)
       at org.jboss.system.server.profileservice.ServerImpl.start(ServerImpl.java:340)
       at org.jboss.Main.boot(Main.java:210)
       at org.jboss.Main$1.run(Main.java:508)
       at java.lang.Thread.run(Thread.java:595)
      Caused by: java.lang.ClassNotFoundException: org/jnp/interfaces/NamingContextFactory
       at java.lang.Class.forName0(Native Method)
       at java.lang.Class.forName(Class.java:242)
       at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:42)
       at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:654)
       ... 48 more