0 Replies Latest reply on Nov 17, 2014 12:47 PM by pkanakamedala

    Unable to deploy external folder

    pkanakamedala

      I am unable to deploy my application as an exploded form. Application code is outside the jboss server. I am able to deploy the app if folder name contains ".war", but if i remove ".war" i am getting the following error. Here is the error i am getting:

       

      08:32:47,968 INFO  [TomcatDeployment] deploy, ctxPath=/jbossws

      08:32:48,442 INFO  [TomcatDeployment] deploy, ctxPath=/web-console

      08:32:48,696 INFO  [TomcatDeployment] deploy, ctxPath=/invoker

      08:32:50,744 INFO  [TomcatDeployment] deploy, ctxPath=/admin-console

      08:32:52,655 INFO  [TomcatDeployment] deploy, ctxPath=/jmx-console

      08:32:55,142 INFO  [TomcatDeployment] deploy, ctxPath=/web.xml

      08:32:55,153 ERROR [StandardContext] Error starting static Resources

      java.lang.IllegalArgumentException: Document base /home/kram/Myapp/app/WEB-INF/web.xml does not exist or is not a readable directory

              at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:148)

              at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4021)

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

              at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:321)

              at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:145)

       

       

      08:32:55,155 ERROR [StandardContext] Error in resourceStart()

      08:32:55,155 ERROR [StandardContext] Context [/web.xml] startup failed due to previous errors

      08:32:55,156 INFO  [StandardContext] Container org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/web.xml] has not been started

      08:32:55,156 ERROR [AbstractKernelController] Error installing to Start: name=jboss.web.deployment:war=/web.xml state=Create mode=Manual requiredState=Installed

      org.jboss.deployers.spi.DeploymentException: URL file:/home/phani/MN90HT/pc/WEB-INF/web.xml deployment failed

              at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:342)

              at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:145)

              at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)

              at org.jboss.web.deployers.WebModule.startModule(WebModule.java:122)

              at org.jboss.web.deployers.WebModule.start(WebModule.java:97)