Hi,

When trying to deploy BPEL process through BPE component, got the following
problem :

java.io.IOException: The process cannot access the file because another
process
has locked a portion of the file

Thanks 4 your help

More details : 

INFO  - ComponentMBeanImpl             - Initializing component: ID:XXX
Oct 12, 2006 5:37:08 PM org.apache.ode.bpe.util.BPEProperties lookupBoolean
WARNING: UUID_USE_CONNECTOR_KEY
Oct 12, 2006 5:37:22 PM org.apache.ode.bpe.util.BPException log
SEVERE: Native Exception: IOException. Native Message: Le processus ne peut
pas accÚder au fichier car un autre processus en a verrouillÚ une partie
org.apache.ode.bpe.deployment.bpel.DeploymentException: Native Exception:
IOException. Native Message: Le processus ne peut pas accÚder au fichier car
un autre processus en a v
errouillÚ une partie
        at
org.apache.ode.bpe.deployment.bpel.BPELDeploy.deployJar(BPELDeploy.java:154)
        at
org.apache.ode.bpe.bped.unmanaged.BPELDeployerSLImpl.loadDefinition(BPELDeployerSLImpl.java:78)
        at org.apache.servicemix.bpe.BPEDeployer.deploy(BPEDeployer.java:86)
        at
org.apache.servicemix.bpe.BPESpringComponent$LifeCycle.doInit(BPESpringComponent.java:68)
        at
org.apache.servicemix.common.AsyncBaseLifeCycle.init(AsyncBaseLifeCycle.java:115)
        at
org.apache.servicemix.jbi.framework.ComponentMBeanImpl.init(ComponentMBeanImpl.java:196)
        at
org.apache.servicemix.jbi.container.JBIContainer.activateComponent(JBIContainer.java:1113)
        at
org.apache.servicemix.jbi.container.JBIContainer.activateComponent(JBIContainer.java:1073)
        at
org.apache.servicemix.jbi.container.JBIContainer.activateComponent(JBIContainer.java:1030)
        at
org.apache.servicemix.jbi.container.JBIContainer.activateComponent(JBIContainer.java:978)
        at
org.apache.servicemix.jbi.container.SpringJBIContainer.afterPropertiesSet(SpringJBIContainer.java:68)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:957)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:924)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:415)
        at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:242)
        at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:141)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:239)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:155)
        at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:303)
        at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:348)
        at
org.apache.xbean.spring.context.FileSystemXmlApplicationContext.(FileSystemXmlApplicationContext.java:149)
        at
org.apache.xbean.spring.context.FileSystemXmlApplicationContext.(FileSystemXmlApplicationContext.java:100)
        at org.apache.servicemix.Main.main(Main.java:80)
        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.codehaus.classworlds.Launcher.launchStandard(Launcher.java:410)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:344)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:461)
Caused by: java.io.IOException: Le processus ne peut pas accÚder au fichier
car un autre processus en a verrouillÚ une partie
        at java.io.FileInputStream.readBytes(Native Method)
        at java.io.FileInputStream.read(FileInputStream.java:177)
        at org.apache.servicemix.jbi.util.FileUtil.zipDir(FileUtil.java:280)
        at org.apache.servicemix.jbi.util.FileUtil.zipDir(FileUtil.java:274)
        at org.apache.servicemix.jbi.util.FileUtil.zipDir(FileUtil.java:274)
        at
org.apache.servicemix.bpe.util.FileSystemJarInputStream.run(FileSystemJarInputStream.java:57)
        at java.lang.Thread.run(Thread.java:595)
Caught: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'jbi' defined in file
[E:\ESB\ServiceMix\testBPEL\servicemix.xml]: Invocation of
init method failed; nested exception is
javax.jbi.management.DeploymentException:
org.apache.ode.bpe.deployment.bpel.DeploymentException: Native Exception:
IOException. Native
Message: Le processus ne peut pas accÚder au fichier car un autre processus
en a verrouillÚ une partie
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'jbi' defined in file [E:\ESB\ServiceMix\testBPEL\servicemix.xml]:
Invocation of init met
hod failed; nested exception is javax.jbi.management.DeploymentException:
org.apache.ode.bpe.deployment.bpel.DeploymentException: Native Exception:
IOException. Native Message:
 Le processus ne peut pas accÚder au fichier car un autre processus en a
verrouillÚ une partie
Caused by: javax.jbi.management.DeploymentException:
org.apache.ode.bpe.deployment.bpel.DeploymentException: Native Exception:
IOException. Native Message: Le processus ne peut
 pas accÚder au fichier car un autre processus en a verrouillÚ une partie
        at
org.apache.servicemix.bpe.BPEDeployer.deploy(BPEDeployer.java:119)
        at
org.apache.servicemix.bpe.BPESpringComponent$LifeCycle.doInit(BPESpringComponent.java:68)
        at
org.apache.servicemix.common.AsyncBaseLifeCycle.init(AsyncBaseLifeCycle.java:115)
        at
org.apache.servicemix.jbi.framework.ComponentMBeanImpl.init(ComponentMBeanImpl.java:196)
        at
org.apache.servicemix.jbi.container.JBIContainer.activateComponent(JBIContainer.java:1113)
        at
org.apache.servicemix.jbi.container.JBIContainer.activateComponent(JBIContainer.java:1073)
        at
org.apache.servicemix.jbi.container.JBIContainer.activateComponent(JBIContainer.java:1030)
        at
org.apache.servicemix.jbi.container.JBIContainer.activateComponent(JBIContainer.java:978)
        at
org.apache.servicemix.jbi.container.SpringJBIContainer.afterPropertiesSet(SpringJBIContainer.java:68)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:957)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:924)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:415)
        at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:242)
        at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:141)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:239)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:155)
        at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:303)
        at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:348)
        at
org.apache.xbean.spring.context.FileSystemXmlApplicationContext.(FileSystemXmlApplicationContext.java:149)
        at
org.apache.xbean.spring.context.FileSystemXmlApplicationContext.(FileSystemXmlApplicationContext.java:100)
        at org.apache.servicemix.Main.main(Main.java:80)
        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.codehaus.classworlds.Launcher.launchStandard(Launcher.java:410)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:344)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:461)
Caused by: org.apache.ode.bpe.deployment.bpel.DeploymentException: Native
Exception: IOException. Native Message: Le processus ne peut pas accÚder au
fichier car un autre proce
ssus en a verrouillÚ une partie
        at
org.apache.ode.bpe.deployment.bpel.BPELDeploy.deployJar(BPELDeploy.java:154)
        at
org.apache.ode.bpe.bped.unmanaged.BPELDeployerSLImpl.loadDefinition(BPELDeployerSLImpl.java:78)
        at org.apache.servicemix.bpe.BPEDeployer.deploy(BPEDeployer.java:86)
        ... 27 more
Caused by: java.io.IOException: Le processus ne peut pas accÚder au fichier
car un autre processus en a verrouillÚ une partie
        at java.io.FileInputStream.readBytes(Native Method)
        at java.io.FileInputStream.read(FileInputStream.java:177)
        at org.apache.servicemix.jbi.util.FileUtil.zipDir(FileUtil.java:280)
        at org.apache.servicemix.jbi.util.FileUtil.zipDir(FileUtil.java:274)
        at org.apache.servicemix.jbi.util.FileUtil.zipDir(FileUtil.java:274)
        at
org.apache.servicemix.bpe.util.FileSystemJarInputStream.run(FileSystemJarInputStream.java:57)
-- 
View this message in context: 
http://www.nabble.com/BPEL-process-deployment-tf2431522.html#a6779862
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to