Topic
2 replies Latest Post - ‏2014-03-26T12:19:19Z by Aditya Bharti
SystemAdmin
SystemAdmin
289 Posts
ACCEPTED ANSWER

Pinned topic FlatFile Adapter version Issue after server upgrade

‏2013-03-02T15:21:58Z |
Hi

Recently we have upgraded our Integration Designer from version 7.5.1.0 to 7.5.1.1 and WESB server to IBM WebSphere Application Server - ND 7.0.0.27 using installation manager. Before upgrade, Flat File Adapter used to work fine, But now it is throwing below exception :

ResourceException thrown in J2CMethodBindingImpl.invoke() javax.resource.spi.InvalidPropertyException: ERROR : The Create operation cannot be performed. The output directory specified :C:\temp does not have write permission. Please give write permission to the output directory and retry the operation. Refer to the server logs for more information.

Below is server log:

com.ibm.j2ca.flatfile.util.FlatFileVerifier verifyOutputDirectory CWYFF0028E: The specified directory does not have write permission. Explanation=For the operation to succeed, the specified directory should have write permission. UserAction=Ensure that the specified directory has write permission.
I have all the permission to directory. I have created the directory. I am able to create new file inside directory manually but with Flat File Adapter I am getting above mentioned exception.

I have tried Flat File Adapter versions 7.5.1.0_IF01 and with 7.5.0.3, but same error.

Please help, it is urgent. Thanks in Advance. Any suggestion is highly appreciated.
Trace print when error occurred is below:
com.ibm.websphere.sca.ServiceRuntimeException: ResourceException thrown in J2CMethodBindingImpl.invoke() javax.resource.spi.InvalidPropertyException: ERROR : The Create operation cannot be performed. The output directory specified :C:\temp does not have write permission. Please give write permission to the output directory and retry the operation.
at com.ibm.ws.sca.binding.j2c.J2CMethodBindingImpl.invoke(J2CMethodBindingImpl.java:1409)
at com.ibm.ws.sca.binding.j2c.J2CInterfaceBindingImpl.invoke(J2CInterfaceBindingImpl.java:152)
at com.ibm.ws.sca.binding.j2c.handler.J2CImportHandler.invokeDynamicImport(J2CImportHandler.java:1497)
at com.ibm.ws.sca.binding.j2c.handler.J2CImportHandler.processBase(J2CImportHandler.java:478)
at com.ibm.ws.sca.binding.j2c.handler.J2CNativeImportHandler.processMessage(J2CNativeImportHandler.java:83)
at com.ibm.ws.sca.internal.message.impl.MessageDispatcherImpl.processMessageWithPCI(MessageDispatcherImpl.java:785)
at com.ibm.ws.sca.internal.message.impl.MessageDispatcherImpl.processMessage(MessageDispatcherImpl.java:1626)
at com.ibm.ws.sca.internal.message.impl.ManagedMessageImpl.process(ManagedMessageImpl.java:999)
at com.ibm.ws.sca.uow.handler.UOWNativeWASStrategyImpl.transactionImportExport(UOWNativeWASStrategyImpl.java:442)
at com.ibm.ws.sca.uow.handler.JoinUOWNativeHandler.processMessage(JoinUOWNativeHandler.java:168)
at com.ibm.ws.sca.internal.message.impl.MessageDispatcherImpl.processMessageWithPCI(MessageDispatcherImpl.java:785)
at com.ibm.ws.sca.internal.message.impl.MessageDispatcherImpl.processMessage(MessageDispatcherImpl.java:1626)
at com.ibm.ws.sca.internal.message.impl.ManagedMessageImpl.process(ManagedMessageImpl.java:999)
at com.ibm.ws.sca.internal.webmodule.handler.WebModuleContextSwitchHandler.processMessage(WebModuleContextSwitchHandler.java:146)
at com.ibm.ws.sca.internal.message.impl.MessageDispatcherImpl.processMessageWithPCI(MessageDispatcherImpl.java:785)
at com.ibm.ws.sca.internal.message.impl.MessageDispatcherImpl.processMessage(MessageDispatcherImpl.java:1626)
at com.ibm.ws.sca.internal.message.impl.ManagedMessageImpl.process(ManagedMessageImpl.java:990)
at com.ibm.wbit.comptest.controller.invocation.impl.Invoker.managedInvoke(Invoker.java:314)
at com.ibm.wbit.comptest.controller.invocation.impl.Invoker.invoke(Invoker.java:194)
at com.ibm.wbit.comptest.controller.invocation.impl.BaseInvocationHandler.invoke(BaseInvocationHandler.java:64)
at com.ibm.wbit.comptest.controller.invocation.impl.InvocationManager.doInvoke(InvocationManager.java:72)
at com.ibm.wbit.comptest.controller.invocation.impl.InvocationManager$1.run(InvocationManager.java:53)
at java.security.AccessController.doPrivileged(AccessController.java:250)
at javax.security.auth.Subject.doAs(Subject.java:495)
at com.ibm.websphere.security.auth.WSSubject.doAs(WSSubject.java:131)
at com.ibm.wbit.comptest.controller.invocation.impl.InvocationManager.invoke(InvocationManager.java:47)
at com.ibm.wbit.comptest.controller.command.impl.BaseInteractiveEventHandler.processEvent(BaseInteractiveEventHandler.java:35)
at com.ibm.wbit.comptest.controller.command.impl.BaseCommandHandler.doCommand(BaseCommandHandler.java:107)
at com.ibm.wbit.comptest.controller.command.impl.CommandProcessor.doCommand(CommandProcessor.java:102)
at com.ibm.wbit.comptest.controller.command.impl.CommandProcessor.doCommand(CommandProcessor.java:56)
at com.ibm.wbit.comptest.controller.servlet.TestControllerServlet.process(TestControllerServlet.java:180)
at com.ibm.wbit.comptest.controller.servlet.TestControllerServlet.doPost(TestControllerServlet.java:127)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:738)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1658)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:940)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:503)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:181)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:91)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:875)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1592)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:186)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:453)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:515)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:306)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:277)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1646)

SCA context:
Interaction: invoke,createFlatFile {NLF_DMSUpload_MM}sca.default.component#sca/dynamic/reference => {NLF_DMSUpload_MM}NLF_DMSUpload_FFImport.import
Handler: com/ibm/ws/sca/binding/j2c/handler/J2CNativeImportHandler (com.ibm.ws.sca.binding.j2c.handler.J2CNativeImportHandler,com/ibm/wsspi/sca/extensions/NativeImportBindingGroup2)
Refer to the server logs for more information.
  • princeoftides1
    princeoftides1
    3 Posts
    ACCEPTED ANSWER

    Re: FlatFile Adapter version Issue after server upgrade

    ‏2013-08-06T16:24:34Z  in response to SystemAdmin

    I just hit this same problem.  I have IID v7.5.1.1, but my UTE test pserver is still locked at V7.5.0.1

    due to an upgrade bug...

    did you ever solve this?

     

    • Aditya Bharti
      Aditya Bharti
      1 Post
      ACCEPTED ANSWER

      Re: FlatFile Adapter version Issue after server upgrade

      ‏2014-03-26T12:19:19Z  in response to princeoftides1

      Did anyone found the solution. I am also struggling with the same issue.