IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  Javaio Access is Denied error

    Posted 04/02/04 06:22 PM

    Hi
    I am using the same and is working fine for me. What I can suggest is to check the file…may be its only readonly in production.

    Ajay Arora


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB


  • 2.  RE: Javaio Access is Denied error

    Posted 04/02/04 07:52 PM

    no, that isn’t the problem. we have permissions to the directory and, btw, the file doesn’t exist yet…we’re creating it.

    i have some new information, too. this is throwing an exception on any method we use which does does a security check. for example, we tried File.renameTo(target), File.createNewFile(), and FileOutputStream(target). all three of these use the SecurityManager.checkWrite(fileDescriptor) method, which is what is throwing the exception when it says we don’t have access permissions. does anyone know where the security manager is getting it’s information? how can i tell it that i have permissions? is it part of how i start up the webMethods server?


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 3.  RE: Javaio Access is Denied error

    Posted 04/16/04 05:15 PM

    The java service you are trying to invoke will have as much access privilege as the account that started webMethods server. Please check that user has the access right to the directory you are trying to operate on.


    #Flow-and-Java-services
    #webMethods
    #Integration-Server-and-ESB


  • 4.  RE: Javaio Access is Denied error

    Posted 06/23/04 11:14 AM

    Modify the following files under <java_home>/lib/security
    java.policy
    java.security
    It should be the same JVM that you are using for IS services. This JVM should have access right to handle file system.


    #Flow-and-Java-services
    #webMethods
    #Integration-Server-and-ESB