Opening a database must be in the same port?

I have a problem when opening the database with a different port.

What I do is simple:

1. create the database in a given example port: 62398

2 - I shut down the database

3 - I RE-OPEN the database in another port, for example: 62358

When I create the object:

new ReplicatedEnvironment...

The system shuts down. He will wait in this line of code: new ReplicatedEnvironment

I create a simple method to get a new free port:

public static int getFreePort() {}
freePort int = - 1;
try {}
ServerSocket serverSocket = new ServerSocket (0);
freePort = serverSocket.getLocalPort ();
serverSocket.close ();
} catch (IOException e) {}
e.printStackTrace ();
}
Return to freePort;
}

The port is available.

The problem is not the free port, because if I use this free port to create a new database, it usually creates.

If I try to open the database with the same port, it will open the dabase correctly.

I already tried to delete the *. je.info when re-openining the database with different port, but it does not work.

I HA interface requires that host names and ports for the nodes must be changed explicitly using an administrative order.  Start the node with a different port, or on a different host, is not enough.

HA I stores information about host names and ports of members of the Group of replication constantly under the mechanism it uses to identify a quorum and needs to be notified of the changes correctly to avoid the risk to elect multiple (and competing) masters.

The following reference from of the manual I HA provides general information on the configuration of the nodes, with a reference to make updates at the bottom:

http://docs.Oracle.com/CD/E17277_02/HTML/ReplicationGuide/nodeconfig.html

In particular, you can use the DbGroupAdmin utility to update the host name and the port of an existing node.  Please take a look at the documentation and write back if you have other questions about the use of these utilities.

Also note that the *. je.info files are not where the content of the database is stored.  These files contain the debugging logging that is for people to look at when they notice problems with the system.  The database data is stored in files with names like 00000000.jdb (or many more).  But just to delete these files is not a good idea in general, and would have not fixed this particular problem.

-Tim

Tags: Database

Similar Questions

  • When I try my ipad FaceTime I get this massage iphone is not available your phone must be on the same WiFi that this ipad to make a call

    When I try my ipad FaceTime I get this massage iphone is not available your phone must be on the same WiFi that this ipad to make a call

    In your FaceTime settings, what you defined as "Caller ID"?  If you have set up the continuity (continuity use to connect your iPhone, iPod touch and Mac - Apple Support) and you have the iPad set to use your iPhone phone number to initiate calls, then you will need to have your iPhone and your iPad connected on the same wifi ntetwork.

    If you set the iPad caller ID to call from, for example, your iCloud email address, then this message should disappear.

  • 15.0.1 Mozilla gets stuck. You click on the links and nothing happens. No wheels spinning, nothing. I open Firefox in a new window, the same thing. I can fix it onl

    15.0.1 Mozilla gets stuck. You click on the links and nothing happens. No wheels spinning, nothing. I open Firefox in a new window, the same thing. I can only fix it by starting the Task Manager and close all Firefox Windows. [When I launch Internet Explorer, there no problem.] Thanks for your help!

    Clear the cache and cookies from sites that cause problems.

    "Clear the Cache":

    • Tools > Options > advanced > network > content caching Web: 'clear now '.

    'Delete Cookies' sites causing problems:

    • Tools > Options > privacy > Cookies: "show the Cookies".

    Start Firefox in Safe Mode to check if one of the extensions or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox/tools > Modules > appearance/themes).

  • Several Applications using UDP Multicast Open (read only) on the same port

    Hi all

    Currently, I am trying to build a system that has the following architecture:

    RF Server = "1-9 A/D '-> «UDP Multicast (write-only) 1-9"»

    Workstation operator = "QTY (N) Data Display Apps all need independently to access one of the 9 UDP multicasts at a time.

    Essentially, I have 9 items of antenna that all digitized and distributed via UDP separate multicast address and port. On the receive side I need to be able to have the N number of data display applications where everyone can select the antenna element he wants to get data from. My current goal for N is 7 and the worst case for the data rate is 3.75 MSps IQ rates on each display.

    My question is whether or not it is possible to have several "UDP Multicast Open (read only)" on the same port but one by application Data Display? Also, are there limitations with this.

    On my local machine I tried a bit with the example 'UDP Multicast Sender.vi' and "UDP Multicast Reciever.vi". I created a "UDP Multicast Reciever2.vi" as another application that listens on the same port/Multicast address as the original receiver. No errors are thrown when you run the receivers and both receivers get the data string sent by the sender at the same time. Can I send data/a. 'PC'-> 'Router Ethernet'-> 'PC with receiver UDP N' reliable evidence? If so, that's fine, because it would be relatively easy to implement. BTW, I do not fear with occasional loss of data what is happening with UDP.

    If this does not work, I am also curious to know which deals with data deduplication. For example, two applications by subscribing to the same Multicast address and port does the router send two copies (which increases network traffic)? Or, the Windows operating system get a single UDP packet to the port and replicate in two independent applications?

    Below (or attached) are the two methods I thought. If multiple readers of UDP does not work so I thought I'd do a DataSocket "Data Distribution layer" between the incoming UDP sockets and display data on the workstation applications. This would add a bit of memory/processor to the PC workstation, but I know the DataSocket server of NOR can handle a sender unique multiple receiver architecture.

    Thank you

    Tim S.

    Hi Tim,.

    The number of concurrent applications, get data on the same port UDP will probably be a limitation of the OS as well. If I had to guess, I would say that 7 of the applications should work correctly. In fact, the memory/CPU bottlenecks are probably the limit on how many simultaneous readers we have, especially since the capablities of PC hardware differ from one computer to the other. I doubt that the OS has a strict limit.

  • My option "open in a new tab in the same window" has stopped working.

    After working for centuries without any problem, my option "open in a new tab in the same window" has stopped working.  Support suggested that I go to tools, select internet options and open tabs, and then select open in a new tab in the same window option.  I did as instructed and concluded that this option under the tabs was already selected and unchanged.  I changed this option, closed my browser and restarted my computer as instructed.

    As before you follow these instructions, and when viewing online and wish to open a link in a new tab in the same window I once again this desired option.   Internet does not take into account my instructions and opens my link in a new window.  This is extremely irritating.

    Does anyone have a solution?

    Hello

    What version of Internet Explorer work?

    You can try the following steps and check:

    Method 1:

    You can reset Internet Explorer 9 settings and check

    http://Windows.Microsoft.com/en-in/Windows7/reset-Internet-Explorer-settings-in-Internet-Explorer-9

    Warning: him reset Internet Explorer settings feature might reset security settings or privacy settings that you have added to the list of Trusted Sites. Reset the Internet Explorer settings can also reset parental control settings. We recommend that you note these sites before you use the reset Internet Explorer settings.

    Method 2:

    How to reinstall or repair Internet Explorer in Windows 7, Windows Vista and Windows XP

    http://support.Microsoft.com/kb/318378

    Warning: Reset the Internet Explorer settings can reset security settings or privacy settings that you have added to the list of Trusted Sites. Reset the Internet Explorer settings can also reset parental control settings. We recommend that you note these sites before you use the reset Internet Explorer settings.

    Important note: ignore in place update from the above mentioned link.

  • It cannot open any programs they all have the same icon on the desktop and start programs... why?

    All of the icons on the desktop and on the start menu have the same icon and will not open... I have new sony computer with windows 7... I tried to move music to a file to burn a cd, he asked what program I should use to open them have all records have the same program and open the habit... I don't run a virus, malware, none of the infected files.

    Hello

    You did changes to the computer before the show?

    Method 1
    I suggest you try the steps from the following link:

    When you run an .exe on a Windows Vista-based or Windows 7 computer file, the file may start another program
    http://support.Microsoft.com/kb/950505

    Note: this section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article: back up the registry in Windows 7

    Method 2
    The issue could be due to the virus on the computer. I suggest you run virus scanner online by using the Microsoft safety scanner.

    Microsoft safety scanner
    http://www.Microsoft.com/security/scanner/en-us/default.aspx

    Note: when you do an antivirus online, you will lose data that are affected by the virus. Microsoft is not responsible for the loss of this data.

  • What are the vSphere components must be on the same subnet?

    VSphere components, those who need to be on the same subnet / vLAN?

    For example:

    vCenter Server and ESXi hosts?

    Groups separated from ESXi hosts are on separate VLANS / subnets? What is the limit of the number of hosts ESXi I should have on one vLAN to avoid having too much broadcast traffic?

    vCenter Server and he associated with SQL Server?

    VMware Update Manager and vCenter Server?

    VMware Update Manager and ESXi hosts it updated?

    There is no technical requirement that vSphere components must be on the same IP subnet. You can have all the components on a separate and routed (or even a firewall, you implement granted sufficient rules) subnet without problems. If that made sense, however, is a completely different question.

    vCenter Server and ESXi hosts?

    Does not really matter, but makes the most sense to be on the same subnet.

    Groups separated from ESXi hosts are on separate VLANS / subnets? What is the limit of the number of hosts ESXi I should have on one vLAN to avoid having too much broadcast traffic?

    If they are managed by the same vCenter, or similar commercial purposes, I would put them on the same subnet. I only consider something a subnet extra for things like DMZ-Clusters, that can be distinguished from any other as much as possible. A vMotion VLAN cluster might be a correct point in a normal scenario too.

    ESXi hosts really do not generate any significant broadcast traffic, apart from a few ARP requests here and there. This isn't Windows, after all, and even if that were the case, the time when you had to worry about the reasons broadcasting with 'only' a few hundreds or thousands of systems on a broadcast domain have long been more with the advent of fast and gigabit ethernet.

    vCenter Server and he associated with SQL Server?

    VMware Update Manager and vCenter Server?

    Even once it does not really matter, but I would put them on the same subnet unless I have a very good reason not to.

    VMware Update Manager and ESXi hosts it updated?

    As long as they are not connected via a WAN snail, causing the staging of updates hours, that's fine.

  • I downloaded 3 files from Adobe for CS3, but one of the .exe files cannot be due to due to a (file archive part missing, all parties must be in the same folder message)

    Please help, I downloaded 3 files from Adobe for CS3, but one of the .exe files cannot be due to due to a (file archive part missing, all parties must be in the same folder message)

    Hi Francis,.

    Make sure you download both files from there. https://helpx.Adobe.com/Creative-Suite/KB/CS3-product-downloads.html

    Compare the size of the file and you will have to perhaps disable all anitvirus during download and install it.

    Thank you

    Scott

  • REP-1248, all sources of placeholder columns must be in the same group

    Hi all

    I'm developing a (10g) report that contains three executives of repetition, say R1, R2, R3. Independent of each other, not connected or linked.
    I have a column defined in each summary of groups, G1, G2, G3, associated with R1, R2, and R3 to count the number of records in each group say. If the three groups count is 0, there is an another framework, I have defined, M1, containing the text as "No record found" that should be displayed.
    I can not access the summary columns defined in the format of M1 trigger groups because it is separated from R1, R2, and R3. So I created a column placeholder CP1, which recognizes the M1.
    But I'm not able to set the value of CP1 to the sum of analytical columns CS1, CS2, CS3 in the formula trigger of the CP1.
    I get the error:
    REP-1248 all sources of placeholder columns must be in the same group

    I also tried to set the value of the CP1 in CS1, CS2, and CS3 formula columns to get the same error.

    Is it possible to be able to use the analytical columns within the groups to have the feature above?

    Thank you
    Shruti

    create a place holder cp_1 in the external data model of all queries

    in each query, create a numerical formula
    with this code

    Start
    : cp_1: = nvl(:cp_1,0) + 1;
    Return 1;
    end;

    the nvl if she is not so necessary to the placeholder sets the initial value of zero

    then in the text frame properties go to conditional formatting
    Then create a new exception format

    cp_1 top to hide 0
    and then the work.

  • FLVplayback video must be in the same directory?

    I try my video of loading a swf file using the flvplayback component by using the script below

    ///////////////////////////////////////////////////////

    Import fl.video.FLVPlayback;

    var flvPlayback:FLVPlayback = new FLVPlayback();

    flvPlayback.autoPlay = false;

    flvPlayback.source = '. '. ' / video/Listening_to_Community_Voices.flv ";

    flvPlayback.skin = "SkinOverAllNoFullNoCaption.swf";

    flvPlayback.x = 31;

    flvPlayback.y = 123.8;

    addChild (flvPlayback);

    //////////////////////////////////////////////////////

    but I noticed that the SWF doesn't link to the video instead, I have to place my video the same directory with the swf file and set up

    flvPlayback.source = "Listening_to_Community_Voices.flv";

    -What means the connection between the im video file must be on the same directory the SWF or I wrote my code wrong...?

    I discovered the cause already, I have to remove the ". /"symbol when you do nested path, it's weird though because normally connecting other swf files will need to add the symbol, but not video..."

  • The use of DAQmxWriteDigitalScalarU32 for write channels share the same ports?

    Hello

    I have a USB-6509 and NOR-DAQmx installed 15.5.1. Using the ANSI c api.

    Is it possible to create several independent channels that use different lines of the same port?

    DAQmxCreateTask("",&th1)

    DAQmxCreateDOChan(th1,"Dev1/line0:4","",DAQmx_Val_ChanForAllLines)

    DAQmxStartTask (th1)

    DAQmxCreateTask("",&th2)

    DAQmxCreateDOChan(th2,"Dev1/line5:9","",DAQmx_Val_ChanForAllLines)

    DAQmxStartTask (th2)

    ....

    and repeat for the following strings:

    Dev1 / line0:4
    Dev1 / line5:9
    Dev1 / line10:14
    Dev1 / line15:19
    Dev1 / line24:28
    Dev1 / line29:33

    So I can use DAQmxWriteDigitalScalarU32 to write to each task independently?

    for example:

    DAQmxWriteDigitalScalarU32 (th1, 1, 10, 0 x 1, NULL)

    DAQmxWriteDigitalScalarU32 (th2, 1, 10, 0 x 2, NULL)

    DAQmxWriteDigitalScalarU32 (th3, 1, 10, 0 x 3, NULL)

    ...

    DAQmxWriteDigitalScalarU32 (th6, 1, 10, 0 x 6, NULL)

    These tasks will interfere with each other because they use the same port, but are assigned different lines?

    If this isn't the case, I bits to the data, if the task/channel does not start at the Px.0 line?

    Thank you!

    Yes, as long as you use the same line on different channels, they must not interfere with each other for this reason, you can create a channel by line if you wish

    The reference to using the DAQmxWriteDigitalScalarU32 function:
    "A sample of the integer unsigned 32-bit unique, wrote to a task that contains a single digital output channel. "Use this format for devices with up to 32 lines per port.

    http://zone.NI.com/reference/en-XX/help/370471AC-01/daqmxcfunc/daqmxwritedigitalscalaru32/

    So yes, the DAQmxWriteDigitalScalarU32 can write on each task independently

  • Prevention and management of concurrent access to the same port VISA

    Hello

    I currently have a VI with three parallel loop: a loop for the UI with a structure of the event; a loop for the collection of data; and a loop for data tracing.

    The loop of data written to the serial port to put the camera to send a probe reading update. The device sends the sensor updated playback and loop bed devices response data collection.

    I have a situation where the user interface loop must also 1. write to the same device (via the same port), 2. read the answer, then 3. write using the response data and user input. My problem is that the user interface loop is reading the response of devices in the loop of data collection rather than the response to the user interface loop.

    So the problem looks like:

    loop data collection: how hot is?

    device: 30 degrees Celsius

    loop data collection: how hot is?

    device: 30 degrees Celsius

    loop data collection: how hot is?

    loop UI: what color is the sky?

    device: 30 degrees Celsius

    user interface loop: Ok! the color of the sky is 30 degrees Celsius.

    device: Blue

    I'm tempted to look for a solution where the user interface loop interrupts somehow the other two loops while it is writing and reading on VISA port, but I doubt that it is the appropriate solution. My code is big enough, but I can try to view if necessary. I remember seeing messages from people with similar problems, but it seems impossible to find today. Thanks in advance for the help!

    Famous engine Action Nugget of Ben is always a good read. http://forums.NI.com/T5/LabVIEW/Community-Nugget-4-08-2007-action-engines/m-p/503801

    Now that you've been through that we will develop a specific EI style that I call a Module on resources.  A RM exposes only the functions required by a given application to using an external resource while protecting sections of code of "criticism".  In your example even if the VISA operations block several appellants to write simultaineously, you did not protect the operation "Request" critical so readings were responses to the caller of evil.  The 'query' is essential and must block access to other operations until the query is complete.

    Look at this "Very basic" RM implementation that does not protect the critical query operation:

  • How is it that a computer which works very well with a direct Ethernet connection won't work with a switch, however any other computer using the same port, cable, ect, and so on, can?

    Switch issues. Help, please.

    How is it that a computer which works very well with a direct Ethernet connection won't work with a switch, however any other computer using the same port, cable, ect, and so on, can? We already checked the firewall as a question, that it was not, and now, we are puzzled.

    Well, I know that the issue is long-term... believe me, it's a long, but as they say, the devil is in the details. Anywho, the question is, my grandfather has a HP laptop, which for two years has been able to run through a Linksys switch to his router and connect its printers to his laptop. About two months ago it suddenly doesn't work like that. Now, it works fine if it plugs directly into the router/Ethernet. My uncle suggested that the switch was bad, but after testing the same port, cable and all, the switch worked well for him. ' GRAMPS really needs this answered, but someone else, it is called can not understand and now I, in turn, ask you all for what you can offer. Here are the ideas that we have already discredited.

    -Switch bad: as above, is that this particular laptop, even under identical conditions, the works of my uncle very well.
    -Bad NIC: debunked through the fact we connected to the computer directly to the router and it worked fine.
    -Bad configuration of the firewall: we have disabled the firewall (please do not notice, he wasn't the smartest idea, we already know) and even if she recorded the switch exists, the internet is always triggered when you are connected with the switch.

    Thanks in advance for any assistance that you can provide and Merry Christmas to you all.

    It would be useful to consult the results of the ipconfig/all command both when it is connected to the switch and when it is connected directly to the router.  In addition, what is the model of the switch?

    To save the manual copy and the new hits of the ipconfig/all command output-

    First connect through switch.
    Open a command prompt window (start > run > cmd > OK)
    Type the following lines in the black command prompt window and press ENTER after each line

    echo "Connected via the button" > "% UserProfile%\Desktop\ipinfo.txt".
    ipconfig/all > "% UserProfile%\Desktop\ipinfo.txt".

    Now connect directly to the router, type the following lines in the command prompt window and press ENTER after each line

    echo "Connected to the router" > "% UserProfile%\Desktop\ipinfo.txt".
    ipconfig/all > "% UserProfile%\Desktop\ipinfo.txt".
    Notepad '% UserProfile%\Desktop\ipinfo.txt '.
    output

    Copy the contents of the Notepad window in your response (if you use the laptop when it is connected directly to the router) or close the Notepad window, and then copy ipinfo.txt of the laptop to the Gramps in a USB FlashDrive you can connect to any computer allows you to answer.

    You can delete ipinfo.txt on the desktop when you are finished.

  • HOW TO REMOVE 2 PRINTERS INSTALLED UNDER WIN 7 ON THE SAME PORT (LPT1)

    HOW TO REMOVE 2 PRINTERS INSTALLED UNDER WIN 7 ON THE SAME PORT (LPT1)

    Microsoft answers site provides support in English. The following Uniform Resource Locator (URL) will be low - you receive information appropriate for your set up support. Open the link and get your region from the drop-down list, and then click the arrow to continue.

    http://answers.Microsoft.com/fr-FR

  • Two headphones running on the same port

    Oracle Version: 11.2
    Operating system platform: AIX 6.1 (I think that this question is also valid for Solaris and Linux)


    Our company policy is to create a listener for each DB (its a little unusual, I know. I do not have these decisions)
    Today, I created a listener for a newly created database.
    But for the newly created listener port was already used by another auditor serving another DB.

    I tested the connection to the DB newly created using his listener. It works very well! I was under the impression that two processes (listeners) cannot use the same port?

    Fix. They can not. The error, you need to see is:

    TNS-12542: TNS:address already in use
     TNS-12560: TNS:protocol adapter error
      TNS-00512: Address already in use
       Linux Error: 98: Address already in use
    

    The IP stack does not have this for a good reason. For example, a connection request arrives to user1. How do I know if this request should be served by auditeur1 or Listener2 the IP stack?

    So in double ports cannot be used on the same IP address.

    However, you can use an a process listening on 127.0.0.1:1521 + and another process listening on the public IP address of this platform, for example + 192.168.0.100:1521 +.

    My guess is that you're 1997note what you see - two different process creating endpoint listens on the same tcp port.

Maybe you are looking for