Title: Message
I
subsequently have looked at the SARDeployer code. When it is processing
local-directory elements, it assumes that it is dealing with a compressed
sar/jar file. In my case, I am dealing with an expanded sar. I
guess I'll need to compress my sar at build time.
I'll
also try to create a fix and submit it.
Peter
Callies McKesson Information Solutions Transaction Solutions
Hub
-Original Message-From:
Callies, Peter [mailto:[EMAIL PROTECTED]] Sent: Thursday,
February 20, 2003 2:23 PMTo:
[EMAIL PROTECTED]Subject: [JBoss-user] local-directory
not working
I am unable to get the local-directory deployment
feature to work. As a test I modified the jboss-service.xml deployment
descriptor in the C:\jboss-3.0.6\server\all\deploy\http-invoker.sar to start
as follows:
<server> <local-directory path="invoker.war"/>
<mbean code="org.jboss.invocation.http.server.HttpInvoker" ...
Below is the relevant portion of the log
file. Am I configuring something incorrectly?
2003-02-20 14:22:26,799 INFO
[org.jboss.deployment.MainDeployer] Starting deployment of package: file:/C:/jboss-3.0.6/server/all/deploy/http-invoker.sar/
2003-02-20 14:22:26,829 DEBUG
[org.jboss.deployment.MainDeployer] Starting deployment (init step) of package
at: file:/C:/jboss-3.0.6/server/all/deploy/http-invoker.sar/
2003-02-20 14:22:26,829 DEBUG
[org.jboss.mx.loading.UnifiedClassLoader] New jmx UCL with url file:/C:/jboss-3.0.6/server/all/deploy/http-invoker.sar/
2003-02-20 14:22:26,829 DEBUG
[org.jboss.mx.loading.UnifiedLoaderRepository3] Adding
org.jboss.mx.loading.UnifiedClassLoader3@1e0f2f6{ url=""
href=""
target=_blank>file:/C:/jboss-3.0.6/server/all/deploy/http-invoker.sar/
,addedOrder=0}
2003-02-20 14:22:26,859 DEBUG
[org.jboss.deployment.MainDeployer] using deployer
org.jboss.deployment.SARDeployer@1adc30
2003-02-20 14:22:26,879 DEBUG
[org.jboss.deployment.SARDeployer] about to copy 1 local directories
2003-02-20 14:22:26,879 DEBUG
[org.jboss.deployment.SARDeployer] about to copy local directory at
invoker.war 2003-02-20 14:22:26,879 DEBUG
[org.jboss.deployment.SARDeployer] copying from file:/C:/jboss-3.0.6/server/all/deploy/http-invoker.sar/invoker.war -> C:\jboss-3.0.6\server\all\db
2003-02-20 14:22:26,889 DEBUG
[org.jboss.util.NestedThrowable]
org.jboss.util.NestedThrowable.parentTraceEnabled=true 2003-02-20 14:22:26,889 DEBUG
[org.jboss.util.NestedThrowable]
org.jboss.util.NestedThrowable.nestedTraceEnabled=false 2003-02-20 14:22:26,889 DEBUG
[org.jboss.util.NestedThrowable]
org.jboss.util.NestedThrowable.detectDuplicateNesting=true
2003-02-20 14:22:26,889 DEBUG
[org.jboss.deployment.MainDeployer] Watching new file: file:/C:/jboss-3.0.6/server/all/deploy/http-invoker.sar/
2003-02-20 14:22:26,909 ERROR
[org.jboss.deployment.scanner.URLDeploymentScanner] Failed to deploy:
org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@e5fea0a0{ url=""
href=""
target=_blank>file:/C:/jboss-3.0.6/server/all/deploy/http-invoker.sar/,
deployedLastModified=0 }
org.jboss.deployment.DeploymentException: Access is
denied; - nested throwable: (java.util.zip.ZipException: Access is
denied)
at
org.jboss.deployment.SARDeployer.init(SARDeployer.java:156)
at
org.jboss.deployment.MainDeployer.init(MainDeployer.java:679)
at
org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:615)
at
org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:591)
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:324)
at
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
at
org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
at
$Proxy3.deploy(Unknown Source)
at
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:435)
at
org.jboss.deployment.scanner.URLDeploymentScanner.scanDirectory(URLDeploymentScanner.java:656)
at
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:507)
at
org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:261)
at
org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:165)
at
sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at
sun.r