Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Create multiple oracle instances on Same Server

SoofiFeb 25 2019 — edited Feb 27 2019

Hi All,

We have Linux (Centos) Operating System Server with Oracle DB 11g R2 installed.

We created some 5 schemas in that DB for an APEX application.

Now we have another APEX Application that uses the same Schema Names and DB structure and hosted in another separate server.

Is it possible to host these two Oracle Instances in the same linux based server?

DB will be 11g R2 and APEX version will be 5.

Thanks in advance.

Regards,

Soofi

Comments

4c3880db-960a-4cd4-9bc7-412ae46c86f2
Answer

looks like this strategy might get me there ... first need to know the number of bytes per row for the inBuffImg with ...

    int bytesPerRow = inBuffImg.getWidth()/8;

    if (inBuffImg.getWidth()%8>0)

        bytesPerRow+=1;

then i get bit and byte positions with

    int bytePos = y*bytesPerRow + x/8;

    int bitPos = x%8;

then i get the bit value

    pixels = ((DataBufferByte)inBuffImg.getRaster().getDataBuffer()).getData();

    return (pixels[bytePos] >> bitPos) & 1;

Marked as Answer by 4c3880db-960a-4cd4-9bc7-412ae46c86f2 · Sep 27 2020
1 - 1

Post Details

Added on Feb 25 2019
14 comments
8,191 views