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.

 View Only
Expand all | Collapse all

java.lang. ArrayIndexOutOfBoundsException while starting Integration Server

  • 1.  java.lang. ArrayIndexOutOfBoundsException while starting Integration Server

    Posted Wed December 13, 2006 08:08 AM

    Hi All,

    I am getting the following exception while tried to start Integration Server using server.sh command on AIX machine.

    [/opt/webMethods65/IntegrationServer/bin] # ./server.sh
    com.wm.app.repov4.RepositoryException: [java.lang.ArrayIndexOutOfBoundsException:-182032793] java.lang.ArrayIndexOutOfBoundsException:-182032793
    at com.wm.app.b2b.server.RepositoryManager.initIData(RepositoryManager.java:291)
    at com.wm.app.b2b.server.RepositoryManager.access$000(RepositoryManager.java:32)
    at com.wm.app.b2b.server.RepositoryManager$3.init(RepositoryManager.java:155)
    at com.wm.app.repov4.server.RepoServer.init(RepoServer.java:259)
    at com.wm.app.repov4.server.LocalRepoServer.(LocalRepoServer.java:19)
    at com.wm.app.repov4.RepoServerFactory.createStdAloneServer(RepoServerFactory.java:40)
    at com.wm.app.b2b.server.RepositoryManager.initFactory(RepositoryManager.java:160)
    at com.wm.app.b2b.server.RepositoryManager.init(RepositoryManager.java:139)
    at com.wm.app.b2b.server.Server.run(Server.java:329)

    Plz help me to solve this problem. The java version is JDK 1.4.2

    Thanks,
    Vasanth.


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


  • 2.  RE: java.lang. ArrayIndexOutOfBoundsException while starting Integration Server

    Posted Wed December 13, 2006 10:26 PM

    Hi Vasanthan,

    Has anything changed on the server since the last start? Normally these errors are the result of a corrupt WmRepository2 or WmRepository4 folder - maybe due to a bad shutdown of the server?

    I’d try backing up the contents of those directories and then removing the contents and restarting.

    Phil


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


  • 3.  RE: java.lang. ArrayIndexOutOfBoundsException while starting Integration Server

    Posted Thu December 14, 2006 01:43 PM

    Hi,

    i haven’t change anything in the configuration side. Is there any workaround for this exception. Plz tell me that.

    Thanks,
    Vasanth.


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


  • 4.  RE: java.lang. ArrayIndexOutOfBoundsException while starting Integration Server

    Posted Fri December 15, 2006 12:02 AM

    Hi Vasanth,

    As Phil mentioned, try deleting (take a backup first, in case you need it) the repositories and restarting. It could well be a repository corruption.

    Cheers,
    Ram Challuri


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


  • 5.  RE: java.lang. ArrayIndexOutOfBoundsException while starting Integration Server

    Posted Fri December 15, 2006 05:31 AM

    Hi Ram,

    Can you plz tell me under which directory repository will be located. That is what are all the files and directories i have to take backup and i have to remove.

    Thanks,
    Vasanth.


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


  • 6.  RE: java.lang. ArrayIndexOutOfBoundsException while starting Integration Server

    Posted Fri December 15, 2006 06:05 AM

    Hi Vasanth,

    Try one at a time. First try the Repository 2, the steps are as follows.

    REPOSITORY_2={IS_INSTALL_DIR\WmRepository2}

    1. Take a backup of the repository folder {REPOSITORY_2}.
    2. Delete {REPOSITORY_2} folder contents (not the folder itself)
    3. Restart the IS. It will automagically create fresh files in the folder.

    Cheers,
    Ram


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