Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2003
    Posts
    13

    Unanswered: Multiple databases under the same instance

    I'm using DB2 V8.1 on AIX, single db instance (db2inst1)
    and 2 databases (say DB_1, DB_2).
    I need to deploy a Java stored procedure with the same name
    under the same schema on both databases.
    Every time I build it in the Development Center -
    the version in the second database stops working.

    How can I cause the databases to co-exists under the same instance ?
    Thanks in advance.

  2. #2
    Join Date
    Aug 2001
    Location
    UK
    Posts
    4,650

    Re: Multiple databases under the same instance

    Stops working ? Does it throw an error ?

    Any messages in db2diag.log file ?

    Cheers
    Sathyaram




    Originally posted by exp
    I'm using DB2 V8.1 on AIX, single db instance (db2inst1)
    and 2 databases (say DB_1, DB_2).
    I need to deploy a Java stored procedure with the same name
    under the same schema on both databases.
    Every time I build it in the Development Center -
    the version in the second database stops working.

    How can I cause the databases to co-exists under the same instance ?
    Thanks in advance.
    Visit the new-look IDUG Website , register to gain access to the excellent content.

  3. #3
    Join Date
    Jan 2003
    Posts
    13
    db2diags spelled it out quite nicely:
    it was a matter of table ownership.
    Solved it out by building both stored procedures
    with the same user that was meant to run them.

    Thanks.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •