1 Reply Latest reply on Aug 26, 2003 6:45 PM by Yogesh Prajapati

    JBoss 4.0.0DR2 with Cocoon 2.1 webapp

    Yogesh Prajapati Newbie

      Please pardon me it this is not the right forum to post such problem. I am a newbie in JBoss and trying to deploy Cocoon 2.1 as webapp under "default" jboss configuration. I get following error whereas same deployment works with standalone tomcat 4.1.24 installation with no error.

      FYI, I had deleted following jars from cocoon.war/WEB-INF/lib folder as they were already available with Jboss 4.0.0DR2 :

      1. castor-0.9.4.3-xml.jar
      2. hsqldb-1.7.1.jar
      3. velocity-1.4-dev-20030301.jar
      4. commons-collections-2.1.jar
      5. xalan-2.5.1.jar
      6. xml-apis.jar
      7. xercesImpl-2.4.0.jar


      The exception stack trace looks like:

      java.io.FileNotFoundException: C:\tools\jboss-4.0.0DR2\server\default\tmp\deploy
      \server\default\deploy\web-console.war\63.web-console.war (Access is denied)
      at java.io.FileOutputStream.open(Native Method)
      at java.io.FileOutputStream.(FileOutputStream.java:176)
      at java.io.FileOutputStream.(FileOutputStream.java:131)
      at org.jboss.deployment.MainDeployer.copy(MainDeployer.java:1147)
      at org.jboss.deployment.MainDeployer.makeLocalCopy(MainDeployer.java:110
      1)
      at org.jboss.deployment.MainDeployer.init(MainDeployer.java:630)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:582)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:558)
      at sun.reflect.GeneratedMethodAccessor30.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.
      java:72)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:45)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:70)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
      java:155)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:544)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:172)
      at $Proxy9.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
      tScanner.java:405)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
      canner.java:529)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      doScan(AbstractDeploymentScanner.java:200)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A
      bstractDeploymentScanner.java:273)
      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:2
      33)
      at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.
      java:72)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:45)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:70)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
      java:155)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:544)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
      ler.java:1036)
      at $Proxy1.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:401)
      at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.
      java:72)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:45)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:70)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
      java:155)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:544)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:172)
      at $Proxy6.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:227)
      at org.jboss.deployment.DeploymentInfo.start(DeploymentInfo.java:255)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.
      java:72)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:45)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:70)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
      java:155)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:544)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
      ler.java:1036)
      at $Proxy1.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:401)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.
      java:72)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:45)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:70)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
      java:155)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:544)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:798)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:594)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:558)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:542)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.
      java:72)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:45)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:70)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
      java:155)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:544)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:172)
      at $Proxy7.deploy(Unknown Source)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:333)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:241)
      at org.jboss.Main.boot(Main.java:165)
      at org.jboss.Main$1.run(Main.java:403)
      at java.lang.Thread.run(Thread.java:536)