OSB Failed to create temporary jar file error

Hi everybody!
Lately we have been experimenting following error with OSB in production environment:
Caused By: com.bea.wli.sb.stages.StageException: com.bea.wli.config.component.NotFoundException: Failed to create temporary jar file
     at stages.transform.runtime.JavaCalloutRuntimeStep.<init>(JavaCalloutRuntimeStep.java:122)
     at stages.transform.JavaCalloutFactory.getStageRuntime(JavaCalloutFactory.java:80)
     at com.bea.wli.sb.stages.StageMetadataImpl$DefaultStageFactory.getStageRuntime(StageMetadataImpl.java:245)
     at com.bea.wli.sb.stages.impl.RuntimeBuilderImpl.buildRuntime(RuntimeBuilderImpl.java:92)
     at com.bea.wli.sb.stages.impl.RuntimeBuilderImpl.buildRuntime(RuntimeBuilderImpl.java:68)
     at com.bea.wli.sb.pipeline.RouterCompiler.getActionsRuntime(RouterCompiler.java:153)
     at com.bea.wli.sb.pipeline.PipelineStage.<init>(PipelineStage.java:55)
     at com.bea.wli.sb.pipeline.RouterCompiler.compileStage(RouterCompiler.java:104)
     at com.bea.wli.sb.pipeline.Pipeline.<init>(Pipeline.java:105)
     at com.bea.wli.sb.pipeline.RouterCompiler.compilePipeline(RouterCompiler.java:97)
     at com.bea.wli.sb.pipeline.Router.<init>(Router.java:138)
     at com.bea.wli.sb.pipeline.RouterCompiler.compileRouter(RouterCompiler.java:90)
     at com.bea.wli.sb.pipeline.RouterCompiler.compile(RouterCompiler.java:80)
     at com.bea.wli.sb.pipeline.RouterManager.compileRouter(RouterManager.java:667)
     at com.bea.wli.sb.pipeline.RouterRuntimeCache$RouterRuntimeDerivedTypeDef.computeData(RouterRuntimeCache.java:83)
     at com.bea.wli.sb.pipeline.RouterRuntimeCache$RouterRuntimeDerivedTypeDef.computeData(RouterRuntimeCache.java:50)
     at com.bea.wli.config.derivedcache.DerivedCache.deriveTheValue(DerivedCache.java:453)
     at com.bea.wli.config.derivedcache.DerivedCache.get(DerivedCache.java:273)
     at com.bea.wli.config.derivedcache.DerivedResourceManager.getDerivedValueInfo(DerivedResourceManager.java:341)
     at com.bea.wli.config.derivedcache.DerivedResourceManager.get(DerivedResourceManager.java:386)
     at com.bea.wli.sb.resources.cache.DefaultDerivedTypeDef.getDerivedValue(DefaultDerivedTypeDef.java:106)
     at com.bea.wli.sb.pipeline.RouterRuntimeCache.getRuntime(RouterRuntimeCache.java:44)
     at com.bea.wli.sb.pipeline.RouterManager.getRouterRuntime(RouterManager.java:638)
     at com.bea.wli.sb.pipeline.RouterContext.getInstance(RouterContext.java:173)
     at com.bea.wli.sb.pipeline.RouterManager.processMessage(RouterManager.java:579)
     at com.bea.wli.sb.transports.TransportManagerImpl.receiveMessage(TransportManagerImpl.java:375)
     at com.bea.wli.sb.transports.jms.JmsInboundMDB.onMessage(JmsInboundMDB.java:122)
     at sun.reflect.GeneratedMethodAccessor2974.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:597)
     at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
     at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
     at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
     at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
     at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
     at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
     at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
     at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
     at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
     at $Proxy162.onMessage(Unknown Source)
     at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
     at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
     at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:327)
     at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4659)
     at weblogic.jms.client.JMSSession.execute(JMSSession.java:4345)
     at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3821)
     at weblogic.jms.client.JMSSession.access$000(JMSSession.java:115)
     at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5170)
     at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
     at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
     at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused By: com.bea.wli.config.component.NotFoundException: Failed to create temporary jar file
     at com.bea.wli.sb.resources.archive.classloader.ArchiveClassLoaderDerivedTypeDef.computeData(ArchiveClassLoaderDerivedTypeDef.java:160)
     at com.bea.wli.sb.resources.archive.classloader.ArchiveClassLoaderDerivedTypeDef.computeData(ArchiveClassLoaderDerivedTypeDef.java:34)
     at com.bea.wli.config.derivedcache.DerivedCache.deriveTheValue(DerivedCache.java:453)
     at com.bea.wli.config.derivedcache.DerivedCache.get(DerivedCache.java:273)
     at com.bea.wli.config.derivedcache.DerivedResourceManager.getDerivedValueInfo(DerivedResourceManager.java:341)
     at com.bea.wli.config.derivedcache.DerivedResourceManager.get(DerivedResourceManager.java:386)
     at com.bea.wli.sb.resources.cache.DefaultDerivedTypeDef.getDerivedValue(DefaultDerivedTypeDef.java:106)
     at com.bea.wli.sb.resources.archive.classloader.ArchiveClassLoaderCache.get(ArchiveClassLoaderCache.java:38)
     at com.bea.wli.sb.resources.archive.summary.ArchiveSummaryDerivedTypeDef.computeData(ArchiveSummaryDerivedTypeDef.java:46)
     at com.bea.wli.sb.resources.archive.summary.ArchiveSummaryDerivedTypeDef.computeData(ArchiveSummaryDerivedTypeDef.java:23)
     at com.bea.wli.config.derivedcache.DerivedCache.deriveTheValue(DerivedCache.java:453)
     at com.bea.wli.config.derivedcache.DerivedCache.get(DerivedCache.java:273)
     at com.bea.wli.config.derivedcache.DerivedResourceManager.getDerivedValueInfo(DerivedResourceManager.java:341)
     at com.bea.wli.config.derivedcache.DerivedResourceManager.get(DerivedResourceManager.java:386)
     at com.bea.wli.sb.resources.cache.DefaultDerivedTypeDef.getDerivedValue(DefaultDerivedTypeDef.java:106)
     at com.bea.wli.sb.resources.archive.summary.ArchiveSummaryCache.getArchiveSummary(ArchiveSummaryCache.java:31)
     at com.bea.wli.sb.resources.archive.ArchiveRuntimeManager.getMethod(ArchiveRuntimeManager.java:367)
     at stages.transform.runtime.JavaCalloutRuntimeStep.<init>(JavaCalloutRuntimeStep.java:100)
     at stages.transform.JavaCalloutFactory.getStageRuntime(JavaCalloutFactory.java:80)
     at com.bea.wli.sb.stages.StageMetadataImpl$DefaultStageFactory.getStageRuntime(StageMetadataImpl.java:245)
     at com.bea.wli.sb.stages.impl.RuntimeBuilderImpl.buildRuntime(RuntimeBuilderImpl.java:92)
     at com.bea.wli.sb.stages.impl.RuntimeBuilderImpl.buildRuntime(RuntimeBuilderImpl.java:68)
     at com.bea.wli.sb.pipeline.RouterCompiler.getActionsRuntime(RouterCompiler.java:153)
     at com.bea.wli.sb.pipeline.PipelineStage.<init>(PipelineStage.java:55)
     at com.bea.wli.sb.pipeline.RouterCompiler.compileStage(RouterCompiler.java:104)
     at com.bea.wli.sb.pipeline.Pipeline.<init>(Pipeline.java:105)
     at com.bea.wli.sb.pipeline.RouterCompiler.compilePipeline(RouterCompiler.java:97)
     at com.bea.wli.sb.pipeline.Router.<init>(Router.java:138)
     at com.bea.wli.sb.pipeline.RouterCompiler.compileRouter(RouterCompiler.java:90)
     at com.bea.wli.sb.pipeline.RouterCompiler.compile(RouterCompiler.java:80)
     at com.bea.wli.sb.pipeline.RouterManager.compileRouter(RouterManager.java:667)
     at com.bea.wli.sb.pipeline.RouterRuntimeCache$RouterRuntimeDerivedTypeDef.computeData(RouterRuntimeCache.java:83)
     at com.bea.wli.sb.pipeline.RouterRuntimeCache$RouterRuntimeDerivedTypeDef.computeData(RouterRuntimeCache.java:50)
     at com.bea.wli.config.derivedcache.DerivedCache.deriveTheValue(DerivedCache.java:453)
     at com.bea.wli.config.derivedcache.DerivedCache.get(DerivedCache.java:273)
     at com.bea.wli.config.derivedcache.DerivedResourceManager.getDerivedValueInfo(DerivedResourceManager.java:341)
     at com.bea.wli.config.derivedcache.DerivedResourceManager.get(DerivedResourceManager.java:386)
     at com.bea.wli.sb.resources.cache.DefaultDerivedTypeDef.getDerivedValue(DefaultDerivedTypeDef.java:106)
     at com.bea.wli.sb.pipeline.RouterRuntimeCache.getRuntime(RouterRuntimeCache.java:44)
     at com.bea.wli.sb.pipeline.RouterManager.getRouterRuntime(RouterManager.java:638)
     at com.bea.wli.sb.pipeline.RouterContext.getInstance(RouterContext.java:173)
     at com.bea.wli.sb.pipeline.RouterManager.processMessage(RouterManager.java:579)
     at com.bea.wli.sb.transports.TransportManagerImpl.receiveMessage(TransportManagerImpl.java:375)
     at com.bea.wli.sb.transports.jms.JmsInboundMDB.onMessage(JmsInboundMDB.java:122)
     at sun.reflect.GeneratedMethodAccessor2974.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:597)
     at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
     at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
     at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
     at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
     at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
     at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
     at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
     at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
     at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
     at $Proxy162.onMessage(Unknown Source)
     at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
     at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
     at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:327)
     at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4659)
     at weblogic.jms.client.JMSSession.execute(JMSSession.java:4345)
     at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3821)
     at weblogic.jms.client.JMSSession.access$000(JMSSession.java:115)
     at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5170)
     at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
     at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
     at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused By: java.io.IOException: No such file or directory
     at java.io.UnixFileSystem.createFileExclusively(Native Method)
     at java.io.File.checkAndCreate(File.java:1704)
     at java.io.File.createTempFile(File.java:1792)
     at com.bea.wli.sb.util.IOUtils.storeToTempFile(IOUtils.java:245)
     at com.bea.wli.sb.resources.archive.classloader.ArchiveClassLoaderDerivedTypeDef.computeData(ArchiveClassLoaderDerivedTypeDef.java:120)
     at com.bea.wli.sb.resources.archive.classloader.ArchiveClassLoaderDerivedTypeDef.computeData(ArchiveClassLoaderDerivedTypeDef.java:34)
     at com.bea.wli.config.derivedcache.DerivedCache.deriveTheValue(DerivedCache.java:453)
     at com.bea.wli.config.derivedcache.DerivedCache.get(DerivedCache.java:273)
     at com.bea.wli.config.derivedcache.DerivedResourceManager.getDerivedValueInfo(DerivedResourceManager.java:341)
     at com.bea.wli.config.derivedcache.DerivedResourceManager.get(DerivedResourceManager.java:386)
     at com.bea.wli.sb.resources.cache.DefaultDerivedTypeDef.getDerivedValue(DefaultDerivedTypeDef.java:106)
     at com.bea.wli.sb.resources.archive.classloader.ArchiveClassLoaderCache.get(ArchiveClassLoaderCache.java:38)
     at com.bea.wli.sb.resources.archive.summary.ArchiveSummaryDerivedTypeDef.computeData(ArchiveSummaryDerivedTypeDef.java:46)
     at com.bea.wli.sb.resources.archive.summary.ArchiveSummaryDerivedTypeDef.computeData(ArchiveSummaryDerivedTypeDef.java:23)
     at com.bea.wli.config.derivedcache.DerivedCache.deriveTheValue(DerivedCache.java:453)
     at com.bea.wli.config.derivedcache.DerivedCache.get(DerivedCache.java:273)
     at com.bea.wli.config.derivedcache.DerivedResourceManager.getDerivedValueInfo(DerivedResourceManager.java:341)
     at com.bea.wli.config.derivedcache.DerivedResourceManager.get(DerivedResourceManager.java:386)
     at com.bea.wli.sb.resources.cache.DefaultDerivedTypeDef.getDerivedValue(DefaultDerivedTypeDef.java:106)
     at com.bea.wli.sb.resources.archive.summary.ArchiveSummaryCache.getArchiveSummary(ArchiveSummaryCache.java:31)
     at com.bea.wli.sb.resources.archive.ArchiveRuntimeManager.getMethod(ArchiveRuntimeManager.java:367)
     at stages.transform.runtime.JavaCalloutRuntimeStep.<init>(JavaCalloutRuntimeStep.java:100)
     at stages.transform.JavaCalloutFactory.getStageRuntime(JavaCalloutFactory.java:80)
     at com.bea.wli.sb.stages.StageMetadataImpl$DefaultStageFactory.getStageRuntime(StageMetadataImpl.java:245)
     at com.bea.wli.sb.stages.impl.RuntimeBuilderImpl.buildRuntime(RuntimeBuilderImpl.java:92)
     at com.bea.wli.sb.stages.impl.RuntimeBuilderImpl.buildRuntime(RuntimeBuilderImpl.java:68)
     at com.bea.wli.sb.pipeline.RouterCompiler.getActionsRuntime(RouterCompiler.java:153)
     at com.bea.wli.sb.pipeline.PipelineStage.<init>(PipelineStage.java:55)
     at com.bea.wli.sb.pipeline.RouterCompiler.compileStage(RouterCompiler.java:104)
     at com.bea.wli.sb.pipeline.Pipeline.<init>(Pipeline.java:105)
     at com.bea.wli.sb.pipeline.RouterCompiler.compilePipeline(RouterCompiler.java:97)
     at com.bea.wli.sb.pipeline.Router.<init>(Router.java:138)
     at com.bea.wli.sb.pipeline.RouterCompiler.compileRouter(RouterCompiler.java:90)
     at com.bea.wli.sb.pipeline.RouterCompiler.compile(RouterCompiler.java:80)
     at com.bea.wli.sb.pipeline.RouterManager.compileRouter(RouterManager.java:667)
     at com.bea.wli.sb.pipeline.RouterRuntimeCache$RouterRuntimeDerivedTypeDef.computeData(RouterRuntimeCache.java:83)
     at com.bea.wli.sb.pipeline.RouterRuntimeCache$RouterRuntimeDerivedTypeDef.computeData(RouterRuntimeCache.java:50)
     at com.bea.wli.config.derivedcache.DerivedCache.deriveTheValue(DerivedCache.java:453)
     at com.bea.wli.config.derivedcache.DerivedCache.get(DerivedCache.java:273)
     at com.bea.wli.config.derivedcache.DerivedResourceManager.getDerivedValueInfo(DerivedResourceManager.java:341)
     at com.bea.wli.config.derivedcache.DerivedResourceManager.get(DerivedResourceManager.java:386)
     at com.bea.wli.sb.resources.cache.DefaultDerivedTypeDef.getDerivedValue(DefaultDerivedTypeDef.java:106)
     at com.bea.wli.sb.pipeline.RouterRuntimeCache.getRuntime(RouterRuntimeCache.java:44)
     at com.bea.wli.sb.pipeline.RouterManager.getRouterRuntime(RouterManager.java:638)
     at com.bea.wli.sb.pipeline.RouterContext.getInstance(RouterContext.java:173)
     at com.bea.wli.sb.pipeline.RouterManager.processMessage(RouterManager.java:579)
     at com.bea.wli.sb.transports.TransportManagerImpl.receiveMessage(TransportManagerImpl.java:375)
     at com.bea.wli.sb.transports.jms.JmsInboundMDB.onMessage(JmsInboundMDB.java:122)
     at sun.reflect.GeneratedMethodAccessor2974.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:597)
     at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
     at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
     at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
     at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
     at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
     at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
     at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
     at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
     at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
     at $Proxy162.onMessage(Unknown Source)
     at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
     at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
     at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:327)
     at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4659)
     at weblogic.jms.client.JMSSession.execute(JMSSession.java:4345)
     at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3821)
     at weblogic.jms.client.JMSSession.access$000(JMSSession.java:115)
     at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5170)
     at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
     at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
     at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
It seems that error is caused because OSB is unable to create temporary jar file in /tmp/alsbTempJars. I looked for path and actually directory alsbTempJars is not present on disk. I had already created that directory in the past so I can't figure why it has been deleted.
Also I saw some out of disk space error in logs although I checked that it is at least 1Gb free at OSB mount point.
We've realized of this problem when checking logs after we got an error working with OSB web console.
To solve this error I had to create alsbTempJars directory and restart the node. Then error stopped and processing continued normaly. I think node activity was interrupted during error as I only see stack traces in log file.
OSB runs in a Linux machine with user Oracle that is also owner of alsbTempJars directory.
Hope someone could help us with this.
Regards,
Daniel.

In case /tmp directory is automatically deleted, is it possible to configure a custom directory for alsbTempJars dir in OSB to assure it is never deleted?Add the -Djava.io.tmpdir=newTempDir parameter in the JAVA_PROPERTIES section of the setDomainEnv.sh script. This new location should be outside of the /tmp dir to avoid being cleared by any process.
I think best soultion would be to have alsbTempJars automatically created whenever /tmp is purged.Doing it on the fly may not be possible however you may anytime raise an enhancement request with support and if prod dev approves it, you may get a fix.
Regards,
Anuj

Similar Messages

  • The distribution agent failed to create temporary files in 'C:\Program Files\Microsoft SQL Server\110\COM' directory. System returned errorcode 5.

    One of my replication job failed with below error, which means job failed because of permission issue on the folder. To resolve that, I have granted the permission and it started working fine. Now the question is as my job was running fine since long time
    without any issue then how suddenly the permission of the folder got omitted automatically? I am sure that no one deleted the permission from the folder and as the server is part of SQL cluster no failover occurs.
    Error:-The distribution agent failed to create temporary files in 'C:\Program Files\Microsoft SQL Server\110\COM' directory. System returned errorcode 5.
    Rahul

    Hi Rahul,
    Error code 5 indicates that the error is "access is denied."  Please make sure that the COM folder is excluded from any antivirus scan that occurs on the system.
    If the issue still persists, I recommend you use
    Process Monitor to find out a bit more about the accounts and access requests involved. Then grant write permission to the exact COM folder for the account that is running the SQL Server Agent service. For more details, please review the following similar
    thread.
    http://www.sqlservercentral.com/Forums/Topic1364832-1550-1.aspx
    Thanks,
    Lydia Zhang
    If you have any feedback on our support, please click
    here.

  • Distribution agent failed to create temporary files in

    Hello,
    we are configured transnational replication in sql server 2005 location, all replication jobs are running fine,
    while we checking sql server errorlog showing below error :
    Distribution agent failed to create temporary files in  'C:\Program Files\Microsoft SQL Server\100\COM' directory. System returned errorcode 5.
    NOte: normally we are configured replication 2005 [90] , but while see the above error it shows [100] comparability level . 

    Hi,
    If the account that is running SQL Server Agent does not have write access to the COM folder, the Distribution Agent will fail
    when it is running as a job. If you run the Distribution Agent from a command line by using an account that does not have write access to the COM folder, the same failure will occur.
    To work around this
    issue, grant write permissions to the COM folder for the account that is running the SQL Server Agent service. If you run the Distribution Agent from a command line, grant write permissions to the COM folder for the account that you use to run the Distribution
    Agent.
    For more information, please go through the below URL:
    http://support.microsoft.com/kb/956032/en-us  

  • Error When Starting VM Failed to create memory contents file

    Hi,
    I"m experiencing issue with a VM that has previsoulsy been snapshotted. The snap shots have been since deleted via the Hyper V Manager. The snap shots were not applied to the VM. Also no .avhd files have been deleted via Windows Explorer
    When I start the VM I get the following error message.
    [Window Title]
    Hyper-V Manager
    [Main Instruction]
    An error occurred while attempting to change the state of virtual machine MyVirtualMachine.
    [Content]
    'MyVirtualMachine' failed to initialize.
    Failed to create memory contents file 'D:\Virtual Machines\MyVirtualMachine\MyVirtualMachine\MyVirtualMachine\Virtual Machines\25AB3A86-2950-457A-8D54-9B313E2D575E\25AB3A86-2950-457A-8D54-9B313E2D575E.bin' of size 4096 MB.
    [Expanded Information]
    'MyVirtualMachine' failed to initialize. (Virtual machine 25AB3A86-2950-457A-8D54-9B313E2D575E)
    'MyVirtualMachine' failed to create memory contents file 'D:\Virtual Machines\MyVirtualMachine\MyVirtualMachine\MyVirtualMachine\Virtual Machines\25AB3A86-2950-457A-8D54-9B313E2D575E\25AB3A86-2950-457A-8D54-9B313E2D575E.bin' of size 4096 MB. (Virtual machine
    25AB3A86-2950-457A-8D54-9B313E2D575E)
    [V] See details  [Close]
    Suggestions Welcomed,
    Thanks Adam

    Hi,
    Please check whether you receive these error logs: Event ID 3130, 3131, 3320 or 3321.
    Check the environment in which the start virtual machine operation was being attempted, including:
    access and permissions to the configuration file, memory file and all image files
    prior error messages in the event log
    available RAM on the system
    configuration settings
    disk space for the memory file and any expanding virtual hard disks
    Once the necessary issues have been rectified, try to start the virtual machine again.
    If the problem continues, restart the VMMS Service.
    To restart the VMMS service using the command prompt:
    1. On the computer that has the stopped service, open a command prompt as local administrator and type the following:
    net stop nvpswmi
    If the service is not running, you will see the error "The Hyper-V Networking Management service is not started."
    3. On the command prompt type the following command to start the nvpswmi service
    net start nvspwmi
    If the service start starts you will see the message "The Hyper-V Networking Management service was start successfully."
    To restart VMMS using PowerShell:
    1. On the computer that has the stopped service, open a command prompt as local administrator and type the following:
    C:\PS>restart-service vmms
    For more information please refer to following MS articles:
    Event ID 3130 — Virtual Machine Start Operation
    http://technet.microsoft.com/en-us/library/dd582385(v=ws.10).aspx
    Event ID 3131 — Virtual Machine Start Operation
    http://technet.microsoft.com/en-us/library/dd582367(v=ws.10).aspx
    Event ID 3320 — Virtual Machine Start Operation
    http://technet.microsoft.com/en-us/library/dd582317(v=ws.10).aspx
    Event ID 3321 — Virtual Machine Start Operation
    http://technet.microsoft.com/en-us/library/dd581892(v=ws.10).aspx
    Hope this helps!
    TechNet Subscriber Support
    If you are
    TechNet Subscription user and have any feedback on our support quality, please send your feedback
    here.
    Lawrence
    TechNet Community Support

  • Aperarature error failed to create temporary directory creating photo book?

    I am getting error message when trying to buy photo book created in Aperature 3 - failed to create temporary directory and then error localize.  Help!

    Hello BDAqua,
    Thanks for the suggeston.
    I did the A4 routine several times to no avail. Doesn't that include C11?
    Anyway I'll keep C11 (simple reselect of backup disk) in mind for the future.
    For now I'd rather keep using my old backup disk even if it's only 80GB for 43GB full backup size. At least it is working perfectly.
    Jan E.

  • How to create a .jar file for the BPEL project

    hi all,
    how can i create a .jar file for my BPEL project, i am trying to deploy the project but getting an error :
    "Error: [Error ORABPEL-10902]: compilation failed [Description]: in "C:\OraBPELPM\integration\jdev\jdev\mywork\Workspace_BPELDemo\BPEL_Report\BPEL_Report.bpel", XML parsing failed because "". [Potential fix]: n/a. "
    and when doubel cliking on this error Jdev take me to the beginning of the ".bpel" file.
    I 'm really stuck in here i am not able to deploy the process!
    Thanks,
    Rana

    Rana:
    If you haven't already, I would post this question in the BPEL forum. I would expect a much better turnaround there.
    Johnny Lee

  • Unable to create temporary backing file

    My program is throwing out the error:
    temporary open: /var/tmp/BDB20825: Too many open files
    unable to create temporary backing file
    This happens after my program has been running for about 4 hours. The program appears to run out of file descriptors. The listing of /proc/<PID>/fd shows hundreds of lines naming the same file (/var/tmp/BDB20825), like this:
    lrwx------ 1 zobell users 64 Jul 28 14:41 622 -> /var/tmp/BDB20825 (deleted)
    That file does not exist. I suspect that someone is deleting but failing to close the file. A few open file descriptors with this deleted file occur slowly in the early hours, but not at a fast enough rate to bring the program down when it does. It looks like there is a sudden flood at the end.
    The program repeats this error slowly, and is stuck inside the db code. Here is the gdb backtrace I am seeing every time I interrupt:
    (gdb) where
    #0 0x00e74410 in __kernel_vsyscall ()
    #1 0x003d51dd in ___newselect_nocancel () from /lib/libc.so.6
    #2 0x002e5d39 in __os_sleep () from /devel/tfm/external/RH4_32/dbxml/latest/install/lib/libdb-4.6.so
    #3 0x002e43f1 in __os_openhandle () from /devel/tfm/external/RH4_32/dbxml/latest/install/lib/libdb-4.6.so
    #4 0x002e52ad in __os_open () from /devel/tfm/external/RH4_32/dbxml/latest/install/lib/libdb-4.6.so
    #5 0x002c0357 in __db_tmp_open () from /devel/tfm/external/RH4_32/dbxml/latest/install/lib/libdb-4.6.so
    #6 0x002c006c in __db_appname () from /devel/tfm/external/RH4_32/dbxml/latest/install/lib/libdb-4.6.so
    #7 0x002d50c9 in __memp_bhwrite () from /devel/tfm/external/RH4_32/dbxml/latest/install/lib/libdb-4.6.so
    #8 0x002d4a27 in __memp_alloc () from /devel/tfm/external/RH4_32/dbxml/latest/install/lib/libdb-4.6.so
    #9 0x002d62ec in __memp_fget () from /devel/tfm/external/RH4_32/dbxml/latest/install/lib/libdb-4.6.so
    #10 0x00232003 in __bam_new_file () from /devel/tfm/external/RH4_32/dbxml/latest/install/lib/libdb-4.6.so
    #11 0x002abc79 in __db_new_file () from /devel/tfm/external/RH4_32/dbxml/latest/install/lib/libdb-4.6.so
    #12 0x002abaff in __db_open () from /devel/tfm/external/RH4_32/dbxml/latest/install/lib/libdb-4.6.so
    #13 0x002a5d15 in __db_open_pp () from /devel/tfm/external/RH4_32/dbxml/latest/install/lib/libdb-4.6.so
    #14 0x0080644c in Db::open () from /devel/tfm/external/RH4_32/dbxml/latest/install/lib/libdb_cxx-4.6.so
    #15 0x0053ebbe in DbXml::DbWrapper::open (this=0x405bbee0, txn=0x0, type=DB_BTREE, flags=65537, mode=0) at Transaction.hpp:62
    #16 0x00549247 in CacheDatabase (this=0x405bbed8, env=0x9c5a848, type=DB_BTREE, compare=0) at CacheDatabase.cpp:28
    #17 0x005497e2 in DocDatabase (this=0x405bbed8, env=0x9c5a848, compare=0) at CacheDatabase.cpp:46
    #18 0x00584ced in DbXml::Manager::createDocDatabase (this=0x9c5a830, compare=0) at Manager.cpp:694
    #19 0x00519467 in DbXml::CacheDatabaseMinderImpl::verify (this=0xfffffdfe, entry=@0x6ac2f790, cid=-514) at CacheDatabaseMinder.hpp:31
    #20 0x00519398 in DbXml::CacheDatabaseMinderImpl::findOrAllocate (this=0x6ac5b4f0, cid=1, allocate=true) at CacheDatabaseMinder.cpp:71
    #21 0x00518e59 in DbXml::CacheDatabaseMinder::findOrAllocate (this=0x6acd9fa0, mgr=@0x9c5a830, cid=1, allocate=true) at CacheDatabaseMinder.cpp:21
    #22 0x0055b12d in LazyDIResults (this=0x6acd9f98, context=0x6acd9fa0, contextItem=0x4979abc0, expr=@0x9ce5de8, txn=0x0, flags=0) at /devel/tfm/developers/szobell/berkeley-db-xml/dbxml-2.4.16/dbxml/include/dbxml/XmlManager.hpp:80
    #23 0x0052f9cd in DbXml::QueryExpression::execute (this=0x9ce5de8, txn=0x0, contextItem=0x4979abc0, context=@0xbfcb0e04, flags=0) at /devel/tfm/developers/szobell/berkeley-db-xml/dbxml-2.4.16/dbxml/include/dbxml/XmlQueryContext.hpp:86
    #24 0x00565a3a in DbXml::XmlQueryExpression::execute (this=0x0, contextItem=@0xfffffdfe, context=@0xbfcb0e04, flags=4294966782) at /devel/tfm/developers/szobell/berkeley-db-xml/dbxml-2.4.16/dbxml/include/dbxml/XmlValue.hpp:186
    #25 0x0805af4b in XmlRecordWithCounts::ExtractQueryString (this=0xbfcb0dd0, select=@0xbfcb0e2c, result=@0xbfcac1d0, qDocument=0xbfcb0e14) at src/XmlRecordWithCounts.cpp:401
    #26 0x080585f6 in OdRecord::GetRequiredContent (this=0xbfcb0dd0, name=@0xbfcac1e0, origin=@0xbfcac1d0, dest=@0xbfcac1c0, type=@0xbfcac1b0, dist=@0xbfcac198, totalCount=@0xbfcac194, route=@0xbfcac1a0, qDocument=0x0) at src/OdRecord.cpp:143
    #27 0x0804d9c3 in ProcessOd (fpPrivate=0x8e11098, odDb=@0xbfcb0dd0, fdDb=@0xbfcb0d20) at src/BuildFdDb.cpp:263
    #28 0x0804f4c8 in ProcessOneDest (fpPrivate=0x8e11098, odDb=@0xbfcb0dd0, fdDb=@0xbfcb0d20, dest={static npos = 4294967295, _M_dataplus = {<std::allocator<char>> = {<No data fields>}, Mp = 0x9da758c "LAX"}, static Sempty_rep_storage = {0, 0, 69041, 0}}) at src/BuildFdDb.cpp:464
    #29 0x080501cd in main (argc=6, argv=0xbfcb10c4) at src/BuildFdDb.cpp:589
    At this time, the program is trying to extract fields out of an XmlDocument that is the result of a query. The program uses a pre-calculated XmlQueryExpression to extract a specific field. This may not be the best way to extract a field from a document, given the apparent overhead of needing a temporary file!
    My program queries two database files (OD.dbxml and FD.dbxml.new), and uses the information to add records to the second file. The databases are rather big:
    bash-3.2$ ls -l /tmp/*dbxml*
    -rw-rw---- 1 zobell users 5233745920 Jul 28 14:42 /tmp/FD.dbxml.new
    -rw-rw---- 1 zobell users 6539427840 Jul 13 10:16 /tmp/OD.dbxml
    (I keep them in /tmp because everywhere else uses NFS and performance is awful with NFS.)
    My environment:
    Red Hat Enterprise Linux Client release 5.3 (Tikanga) 32 bit.
    Berkeley DB XML 2.4.16, C++ interface.
    Disk space should not be an issue:
    bash-3.2$ df /tmp /var
    Filesystem 1K-blocks Used Available Use% Mounted on
    /dev/mapper/VolGroup00-tmp
    28948572 13044384 14409968 48% /tmp
    /dev/mapper/VolGroup00-root
    144742920 5333544 131938272 4% /
    I ran this program about a year ago and did not see this issue. I have made a few changes and linked to the newer version of the XML database since then. Any help is appreciated.

    I have more information about this problem.
    If I "disable" the routine __os_zerofill() in os_fzero.c, by having it always return (0), I no longer get an exception and my application appears to run smoothly. However, I have not determined what in this routine leads to the exception. And, I have no idea what the short and long term consequences of "disabling" this routine will be....
    -Coralie

  • I Can't Create my jar File

    I have a package called voiceexpert which contains three classes: Disease, DiagnosingEngine and Symptoms which is a JavaBean. Symptoms makes use of Disease and DiagnosingEngine objects.
    voiceexpert is stored in the directory: c:\diagapp3
    I compiled Symptoms.java as below:
    c:\diagapp3> javac -d . Symptoms.java
    The class files for Disease.java, DiagnosingEngine.java and Symptoms.java are placed in the directory: voiceexpert.
    I created a Manifest.txt file inside c:\diagapp3 containing the following:
    Main-Class:voiceexpert.voiceexpert.Symptoms
    Name:voiceexpert/Symptoms.class
    Java-Bean:True
    I later created the jar file with the command:
    jar cfm jjj.jar Manifest.txt voiceexpert\*.*
    But, I am having the error message: "*invalid header field*".
    What can I do to remove this error?
    Note: I created the Manifest.txt using utf-8 encoding. My code is to be used in a third-party application and that is why it does not contain a main method.
    The link I was referred to could not help me. I need help please!
    Edited by: Adeyi on Feb 24, 2010 2:26 AM
    Edited by: Adeyi on Feb 24, 2010 2:34 AM

    Adeyi wrote:
    ..I created a Manifest.txt file inside c:\diagapp3 containing the following:
    Main-Class:voiceexpert.voiceexpert.Symptoms
    Note: I created the Manifest.txt using utf-8 encoding. My code is to be used in a third-party application and that is why it does not contain a main method.Why are you specifying a main-class when the API has none?
    The link I was referred to..What link? Just imagine for the moment that the Internet is a big place and we are not psychic.

  • Exception while creating a jar file for bean

    Friendz,
    I am getting this error whenever i tried to create a jar file.
    I am using win 98 os and jdk1.4 please tell me what error it is
    C:\bean\programs\spectrum>jar cfm a.jar manifest.mft spectrum.class
    java.io.IOException: invalid header field
    at java.util.jar.Attributes.read(Attributes.java:355)
    at java.util.jar.Manifest.read(Manifest.java:162)
    at java.util.jar.Manifest.<init>(Manifest.java:52)
    at sun.tools.jar.Main.run(Main.java:124)
    at sun.tools.jar.Main.main(Main.java:904)
    Contents of manifest template file:
    Name:spectrum.class
    Java-Bean:True

    Manifests are saved with the .mf file extension. Rename your manifest mainfest.mf.

  • 'failed to open the PDF file' error - Indesign CS3 on Mac

    Hi,
    Whenever I place PDFs that were created by any other app besides indesign or Illustrator I get a 'failed to open the PDF file' error, previously these PDFs were fine to place but all of a sudden they're not... Help?
    I'm not too keen on opening in Illustrator and resaving for the rest of the foreseeable future either...
    Jared

    Thanks for the reminder, Scott.
    http://indesignsecrets.com/failed-to-open-pdf-error-show-options-to-fix-it.php
    Bob

  • Create a jar file using the jar tool

    Hello all,
    can somebody help me with this situation:
    I use the following comand
    jar cfm Seti.jar manifest.mf SetiSeti.jar is the name of the file I want to create and Seti is the name of the folder where I have the class files, the manifest file and the Seti.java. The manifest file is also out of this folder (exactly the folder were I use the command on the command line).
    After creating the jar... I try to run it but it gives an error message: "can't find the main class..."
    The content of the manifest file is:
    "Manifest-Version: 1.0
    Main-Class: Seti
    I'd never created a jar file before and have already read all the usefull information here and at sun... I'm very preoccupied with this..
    Can you help?
    Thanks

    RuiAranhaJava wrote:
    How do I do this?
    "And you have to name that package as well when you name the main class in the manifest. "
    But, as I have told the name of the package is SetiNo, you just told us that the name of your class is Set. You never told us about the name of the package.
    Simples question possible: Does your class look something like this:
    package Seti;
    // maybe there are some import statements here, maybe not
    public class Seti {
      // maybe there's something here, maybe not
      public static void main(String[] args) {
        // anything
    }If so, then the fully qualified name of your class is "Seti.Seti" and you need to write that into the Main-Class attribute. (*)
    If there is no package-Statement, then the fully qualified name of your class is simply "Seti" and the Main-Class attribute is correct, but your classes are in the wrong place.
    Edit:
    (*) Please note that package names should generally be all-lowercase, so it should be "seti" instead of "Seti". This helps distinguish it from the simple names of classes, so it's easy to see what you are talking about at a glance: "seti" would be the package, "Seti" the class name.

  • Creating a jar file

    Hello all. I am trying to create a jar file for a *"hello world"* program. I compiled the code using netbeans and created the jar file from the HelloWorld.class. I added the main class to the manifest with the following line
    Main-Class: helloworld.HelloWorld
    Ensured there was a carriage return just before the end of the file.
    When I run the program I get the following error:
    h1Exception in thread "main" java.lang.NoClassDefFoundError: helloworld/HelloWorld*
    Please help

    I tried the last command it produced this error
    *C:\Documents and Settings\oshonowo\My Documents\Projects\DOS>set JAVA_HOME=c:/Pr
    ogram Files/Java/jdk1.6.0_03
    C:\Documents and Settings\oshonowo\My Documents\Projects\DOS>set classpath=C:\Pr
    ogram Files\Java\jdk1.6.0_03\lib\;C:\Program Files\Java\jre1.6.0_03\lib\ext\QTJa
    va.zip;C:\Program Files\Java\jdk1.6.0_03\jre\lib;C:\Program Files\Java\jre1.6.0_
    03\lib;%CLASSPATH%;.;C:\Documents and Settings\oshonowo\HelloWorld\build\classes
    \helloworld\Hello.jar
    C:\Documents and Settings\oshonowo\My Documents\Projects\DOS>"c:/Program Files/J
    ava/jdk1.6.0_03\bin\java" helloworld.HelloWorld
    Exception in thread "main" java.lang.NoClassDefFoundError: helloworld/HelloWorld
    C:\Documents and Settings\oshonowo\My Documents\Projects\DOS>pause
    Press any key to continue . . .*
    Please help

  • Ejbc -  creating deployable jar file

    Hi ...
    I have created the home/remote interface and the bean...I deployed them thru the Webogic 5 GUI and its working fine.
    I try to do it from the console ...i create 2 xml files ..keep it in the meta-inf folder...create a jar file with C:>jar cvf ..... command..
    When i try to create a deployable jar file with C:> ejbc command it gives the folloing error
    "ERROR: Error from ejbc: Unable to load a class required by your EJB: hello.HelloHome
    ERROR: ejbc found errors"
    My ejb-jar.xml file is as follows ->
    <?xml version="1.0"?>
    <!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN' 'http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd'>
    <ejb-jar>
    <enterprise-beans>
    <session>
    <ejb-name>Hello</ejb-name>
    <home>hello.HelloHome</home>
    <remote>hello.Hello</remote>
    <ejb-class>hello.HelloBean</ejb-class>
    <session-type>Stateless</session-type>
    <transaction-type>Container</transaction-type>
    </session>
    </enterprise-beans>
    </ejb-jar>
    Also if I remove the package and then try to create the deployable jar file it works perfectly fine...
    Any idea..why's the problem coming...
    Replies awaited!
    Thanks in advance...

    set classpath for j2ee.jar, jar files that comes with weblogic 5.1
    then try it out..

  • Jar file error: could not find main class. program will exit

    I have created a jar file using following command
    jar cfm MyProj.jar Manifest.txt richa\*.class
    and I have included main class header in the Manifest.txt. The executable jar file is created but when I double click on it, it prompts an error Could not find the main class. program will exit.
    Please help. Its urgent..
    Thanks in advance

    This simply state that jvm was unable to fine Main Class file.
    I hope you have configured manifest file including your main file information and class path used by the project with proper package hierarchy,
    as described in article
    [https://java.sun.com/docs/books/tutorial/deployment/jar|https://java.sun.com/docs/books/tutorial/deployment/jar]
    Edited by: Deepesh on Jul 13, 2008 4:58 AM

  • Creating a JAR file in RAD

    Hello, I am creating a simple JAR file containing a group of Java classes. It is not an executable JAR file and is simply a way for me to zip up a bunch of classes I want to use in another project. The problem is, after I create it in RAD using the JAR File Export and drop it into WEB-INF/lib in my other project, it shows as a text file in my Java perspective and I can't see any of the classes.
    Is there something else I need to do with my classpath or anything like that? I recently put the Jakarta Commons JAR in the same folder and after a refresh, it showed ready to go. What am I missing here?

    Rational Application Developer, IBM's IDE. It has a
    Create JAR file utility which supposedly makes it
    easy. I'd like to use this if I can because there
    are a ton of files. I just don't know what I'm doing
    wrong after I create it.Not many people here can help with a question related specifically to an IDE. I had a problem in the past when I tried to create a JAR file with Eclipse. After trying to create the JAR file using the command line utility, I was able to better figure out my error. I strongly recommend you do the same, and post any error message(s) you receive here.

Maybe you are looking for

  • Unable to automate deletion of old data (requests) from InfoCube using a PC

    Each week I copy open Notifications into a 'SnapShot' cube, from the Transaction Cube, using the current date to make it a unique copy/snapshot for that week.  This is then reported on showing, amongst other things, the trend of open Notifications th

  • Video in Photoshop CS6

    Sorry if this is the wrong place to ask but I have just started to try something using video in CS6. I have 82 sequential images and I am trying to string them together as a sort of stop motion film (think the intro to the Monkeys). I have done the f

  • My ipod nano 6th gen synced and then i go to use it and there isnt any music on it?

    my ipod nano 6th gen synced and then i go to use it and there isnt any music on it? but when i plug it in to itunes it says there's music on it..

  • How to use SecureAMFChannel?

    Hello everyone, While reading Adobe® LiveCycle® Data Services ES Developer's Guide, I use RemoteObject component and the predefined ColdFusion destination in the Remoting-config.xml file distributed with ColdFusion 8 integrated LiveCycle Data Service

  • Changing iCloud to match new Apple ID?

    My apple ID is a very old email address that I no longer use. When I got my new iphone, and ios 5, i put my iCloud account as my apple ID account. Now, however, I would like to change my Apple ID account to a different email address and then use that