Add the new IP address to the listener
We use RAC Oracle 11g R2 64 bit on Windows Server 2008. The DB of RAC was installed successfully with the good IP scan and the VIP. We have added another NIC with a different IP address. How can I add this IP address to the listener? In version 10g, I can simply add the similar entry in listener.ora. With IP scan, it seems complicated. Someone's done it before? Thank you very much in advance.Hello
11 GR 2 headphones are managed and started since GI home. However, you can always have additional listeners. So, if you want you can configure and start this additional listener say, OH and use a different IP address and/or port. Point to keep in mind that, as the listening port is not managed by the CRS, so this listener will have to be managed manually or in theory, you can also add what CRS managed resource.
LISTENER_1522 =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP (PORT = 1522))(HOST = ip))
)
)
SID_LIST_LISTENER_1522 =
(SID_LIST =
(SID_DESC =
(SID_NAME = sid1)
)
)
sqlplus un/pw@ip:1522/sid1
Thank you
Rohit Véronique CHASSAGNE
http://www.rohitchandok.com
Tags: Database
Similar Questions
-
How to add the listener password password file?
Oracle 10g. I put a password for current listener. Is there such a thing that I would add a password for the listener to the password file? Please notify.
Thank you
S.ski123 wrote:
Oracle 10g. I put a password for current listener. Is there such a thing that I would add a password for the listener to the password file? Please notify.Thank you
S.
Documentation on setting up a listening port password is clear enough and does not address file a/the password. You define the listener password by issuing the appropriate lsnrctl command. The password is encrypted and stored in the listener.ora file. That's all.
And at least from 10 g, if your OS account is member of the dba group, the Auditor considers you authenticated OS (just like "/ as sysdba" to sqlplus) and will not require a password. The password protects against accounts that are NOT members of the dba group.
-
How to add the listener to use mouse to one single line
I have a requirement. In a JTable when I double click on a particular line the cells in the row put the width which I have provided.
The problem with my code is when I click on the fourth row of the table, the first line adjusts.
How I need help is so
that if I click on the first row, the first cell size line should be adjusted not when I click on the fourth line.
If I give a few cells of the width and the height of the cells in the fourth row, then when I double click on the fourth line, the fourth should only get adjusted and not the other lines.
Hope I explained it clearly.
How is it possible?
Below is my code. Everything is hardcoded. Thus, it may seem messy. Please excuse.
Imports
import impossible;
import java.awt.Color;
java.awt.Component import;
to import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
to import javax.swing.JFrame;
to import javax.swing.JPanel;
javax.swing.JScrollPane import;
javax.swing.JTable import;
Import javax.swing.JTextArea;
Import javax.swing.table.DefaultTableModel;
javax.swing.table.TableCellRenderer import;
Import javax.swing.table.TableColumn;
class SimpleTableExample extends JFrame {}
Instance attributes used in this example
private JPanel Top;
JTable table private;
private get scrollPane;
String data1 = "";
String data2 = "123456789ABCDEFGHIJKLMNOPQRSTUVQWXYZabcdefghijklmnopqrstuvwxyzaquickbrownfoxjumpedoverthelazydog";
int size = data2.length ();
Main chassis constructor
public SimpleTableExample() {}
Define the characteristics of frame
setTitle ("Simple Application of Table");
setSize (400, 200);
setBackground (Color.gray);
Create a Panel to contain all other components
Top = new JPanel();
topPanel.setLayout (new BorderLayout());
getContentPane () .add (topPanel);
Create column names
ColumnNames String() is {'SALT', "DESIGN DATA", "REFERENCE"};.
Create data
String [] [] dataValues = {{data1, data2, "67", "77"},
{"", "43", "853"}, {"", "89.2", "109"},
{{' ', "9033", "3092"}} ;
Model DefaultTableModel = new DefaultTableModel (dataValues, columnNames);
model.addColumn ("SECTION TITLE");
model.addColumn ("SPECIAL INSTRUCTIONS").
table = new JTable (model) {}
' public boolean isCellEditable (int rowIndex, int colIndex) {}
Returns false;
}
};
adjust the height of specific line
table.setAutoResizeMode (JTable.AUTO_RESIZE_OFF);
colInd int = 0;
TableColumn col = table.getColumnModel () .getColumn (colInd);
int width = 50;
col.setPreferredWidth (width);
int colInd2 = 1;
TableColumn col2 = table.getColumnModel () .getColumn (colInd2);
int width2 = 100;
col2.setPreferredWidth (WIDTH2);
int colInd3 = 2;
TableColumn col3 = table.getColumnModel () .getColumn (colInd3);
int width3 = 10;
Col3.setPreferredWidth (width3);
int colInd4 = 3;
TableColumn col4 = table.getColumnModel () .getColumn (colInd4);
width4 int = 10;
Col4.setPreferredWidth (width4);
int colInd5 = 4;
TableColumn col5 = table.getColumnModel () .getColumn (colInd5);
width5 int = 10;
col5.setPreferredWidth (width5);
table.addMouseListener (new MouseAdapter() {}
{} public void mouseClicked (MouseEvent e)
If (e.getClickCount () == 2) {}
JTable target = e.getSource () (JTable);
int row = target.getSelectedRow ();
int target.getSelectedColumn () = column;
TableColumn col1 = table.getColumnModel () .getColumn (0);
col1.setPreferredWidth (50);
TableColumn col2 = table.getColumnModel () .getColumn (1);
col2.setPreferredWidth (400);
(.setCellRenderer) table.getColumnModel () .getColumn (1)
(new TableCellLongTextRenderer());
table.setRowHeight (50);
TableColumn col5 = table.getColumnModel (.getColumn) (4);
col5.setPreferredWidth (200);
}
}
});
Create a new instance of table
table = new JTable (dataValues, columnNames);
Add the table to a scroll pane
scrollPane = new get (table);
topPanel.add (scrollPane, BorderLayout.CENTER);
}
Main entry point for this example
Public Shared Sub main (String [] args) {}
Create an instance of the test application
MainFrame SimpleTableExample = new SimpleTableExample();
mainFrame.setVisible (true);
}
}
class TableCellLongTextRenderer extends JTextArea implements {TableCellRenderer
public getTableCellRendererComponent (JTable, Object value, table Component
Boolean isSelected, boolean hasFocus, int line, int column) {}
this.setText ((String) value);
this.setWrapStyleWord (true);
this.setLineWrap (true);
the width of the column in the table to the JTextArea
setSize (table.getColumnModel () .getColumn (column) .getWidth (),
getPreferredSize () .height);
If (table.getRowHeight (row)! = getPreferredSize () .height) {}
set the height of the row in the table to the calculated height of the
JTextArea
table.setRowHeight (rank, getPreferredSize () .height);
}
Back to this;
}
}
Published by: 915175 on August 3, 2012 04:24Hello
Try code below. Hope this will help
import impossible;
import java.awt.Color;
java.awt.Component import;
to import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;to import javax.swing.JFrame;
to import javax.swing.JPanel;
javax.swing.JScrollPane import;
javax.swing.JTable import;
Import javax.swing.JTextArea;
Import javax.swing.table.DefaultTableModel;
javax.swing.table.TableCellRenderer import;
Import javax.swing.table.TableColumn;SerializableAttribute public class SimpleTableExample extends JFrame {}
private JPanel Top;
JTable table private;
private get scrollPane;
String data1 = "";
String data2 = "123456789ABCDEFGHIJKLMNOPQRSTUVQWXYZabcdefghijklmnopqrstuvwxyzaquickbrownfoxjumpedoverthelazydog";
int size = data2.length ();Main chassis constructor
public SimpleTableExample() {}
Define the characteristics of frame
setTitle ("Simple Application of Table");
setSize (400, 200);
setBackground (Color.gray);Create a Panel to contain all other components
Top = new JPanel();
topPanel.setLayout (new BorderLayout());
getContentPane () .add (topPanel);Create column names
ColumnNames String() is {'SALT', "DESIGN DATA", "REFERENCE"};.Create data
String [] [] dataValues = {{data1, data2, "67", "77"},
{"", "43", "853"}, {"", "89.2", "109"},
{{' ', "9033", "3092"}} ;
Model DefaultTableModel = new DefaultTableModel (dataValues, columnNames);
model.addColumn ("SECTION TITLE");
model.addColumn ("SPECIAL INSTRUCTIONS").
table = new JTable (model) {}
' public boolean isCellEditable (int rowIndex, int colIndex) {}
Returns false;
}
};
adjust the height of specific line
table.setAutoResizeMode (JTable.AUTO_RESIZE_OFF);
colInd int = 0;
TableColumn col = table.getColumnModel () .getColumn (colInd);
int width = 50;
col.setPreferredWidth (width);
int colInd2 = 1;
TableColumn col2 = table.getColumnModel () .getColumn (colInd2);
int width2 = 100;
col2.setPreferredWidth (WIDTH2);
int colInd3 = 2;
TableColumn col3 = table.getColumnModel () .getColumn (colInd3);
int width3 = 10;
Col3.setPreferredWidth (width3);
int colInd4 = 3;
TableColumn col4 = table.getColumnModel () .getColumn (colInd4);
width4 int = 10;
Col4.setPreferredWidth (width4);
int colInd5 = 4;
TableColumn col5 = table.getColumnModel () .getColumn (colInd5);
width5 int = 10;
col5.setPreferredWidth (width5);Rendering of the cell must be applied on each column - add by Mohamed
for (int i = 0; i)< table.getcolumnmodel().getcolumncount();="">
table.getColumnModel () .getColumn (i) .setCellRenderer (new TableCellLongTextRenderer());
}table.addMouseListener (new MouseAdapter() {}
{} public void mouseClicked (MouseEvent e)
If (e.getClickCount () == 2) {}
JTable target = e.getSource () (JTable);
int row = target.getSelectedRow ();
int target.getSelectedColumn () = column;
setTableCellHeight (table, row, column); Added by Mohamed
TableColumn col1 = table.getColumnModel () .getColumn (0);
col1.setPreferredWidth (50);
TableColumn col2 = table.getColumnModel () .getColumn (1);
col2.setPreferredWidth (400);
TableColumn col5 = table.getColumnModel (.getColumn) (4);
col5.setPreferredWidth (200);
}
}
});Create a new instance of table
table = new JTable (dataValues, columnNames);
Add the table to a scroll pane
scrollPane = new get (table);
topPanel.add (scrollPane, BorderLayout.CENTER);
}/**
* Created by Mohamed
*
* This will set the cell height and width of column
*
@param table
@param line
@param column
*/
' Public Sub setTableCellHeight (table JTable, int line, int column) {}the width of the column in the table to the JTextArea
setSize (table.getColumnModel () .getColumn (column) .getWidth (),
getPreferredSize () .height);
If (table.getRowHeight (row)! = getPreferredSize () .height) {}
set the height of the row in the table to the calculated height of the
JTextArea
table.setRowHeight (rank, getPreferredSize () .height);
}
}Main entry point for this example
Public Shared Sub main (String [] args) {}
Create an instance of the test application
MainFrame SimpleTableExample = new SimpleTableExample();
mainFrame.setVisible (true);
}}
class TableCellLongTextRenderer extends JTextArea implements {TableCellRenderer
public getTableCellRendererComponent (JTable, Object value, table Component
Boolean isSelected, boolean hasFocus, int line, int column) {}
this.setText ((String) value);
this.setWrapStyleWord (true);
this.setLineWrap (true);
Back to this;
}}
-
If I add a new email address I will lose my messages kept my old email address?
If I add a new email, Thunderbird, I lose my stored messages etc. of my old email address?
Lol add as much as you want.
If you delete the old address then move old messages in a folder under local folders, they will disappear, so move them before removing any old account. -
Add the listener of events within the loop
Hello
I have this list of event listeners that I would like to add, but no matter how I try to loop that I can't seem to do
I have to create a nested loop to specify the names of functions, or would it be possible by using a loop? :-
gamePage.infoBox.l1i1.addEventListener (MouseEvent.MOUSE_OVER, l1i1MouseOver);
gamePage.infoBox.l1i2.addEventListener (MouseEvent.MOUSE_OVER, l1i2MouseOver);
gamePage.infoBox.l11i1.addEventListener (MouseEvent.MOUSE_OVER, l11i1MouseOver);
gamePage.infoBox.l11i2.addEventListener (MouseEvent.MOUSE_OVER, l11i2MouseOver);
gamePage.infoBox.l21i1.addEventListener (MouseEvent.MOUSE_OVER, l21i1MouseOver);
gamePage.infoBox.l21i2.addEventListener (MouseEvent.MOUSE_OVER, l21i2MouseOver);
gamePage.infoBox.l21i3.addEventListener (MouseEvent.MOUSE_OVER, l21i3MouseOver);
gamePage.infoBox.l21i4.addEventListener (MouseEvent.MOUSE_OVER, l21i4MouseOver);
gamePage.infoBox.l31i1.addEventListener (MouseEvent.MOUSE_OVER, l31i1MouseOver);
gamePage.infoBox.l31i2.addEventListener (MouseEvent.MOUSE_OVER, l31i2MouseOver);
gamePage.infoBox.l31i3.addEventListener (MouseEvent.MOUSE_OVER, l31i3MouseOver);
gamePage.infoBox.l41i1.addEventListener (MouseEvent.MOUSE_OVER, l41i1MouseOver);
gamePage.infoBox.l41i2.addEventListener (MouseEvent.MOUSE_OVER, l41i2MouseOver);
gamePage.infoBox.l41i3.addEventListener (MouseEvent.MOUSE_OVER, l41i3MouseOver);
gamePage.infoBox.l51i1.addEventListener (MouseEvent.MOUSE_OVER, l51i1MouseOver);
gamePage.infoBox.l51i2.addEventListener (MouseEvent.MOUSE_OVER, l51i2MouseOver);
gamePage.infoBox.l51i3.addEventListener (MouseEvent.MOUSE_OVER, l51i3MouseOver);
gamePage.infoBox.l51i4.addEventListener (MouseEvent.MOUSE_OVER, l51i4MouseOver);
gamePage.infoBox.l51i5.addEventListener (MouseEvent.MOUSE_OVER, l51i5MouseOver);
gamePage.infoBox.l51i6.addEventListener (MouseEvent.MOUSE_OVER, l51i6MouseOver);
gamePage.infoBox.l51i7.addEventListener (MouseEvent.MOUSE_OVER, l51i7MouseOver);
gamePage.infoBox.l51i8.addEventListener (MouseEvent.MOUSE_OVER, l51i8MouseOver);
gamePage.infoBox.l61i1.addEventListener (MouseEvent.MOUSE_OVER, l61i1MouseOver);
gamePage.infoBox.l61i2.addEventListener (MouseEvent.MOUSE_OVER, l61i2MouseOver);
gamePage.infoBox.l61i3.addEventListener (MouseEvent.MOUSE_OVER, l61i3MouseOver);
gamePage.infoBox.l61i4.addEventListener (MouseEvent.MOUSE_OVER, l61i4MouseOver);
gamePage.infoBox.l61i5.addEventListener (MouseEvent.MOUSE_OVER, l61i5MouseOver);
gamePage.infoBox.l61i6.addEventListener (MouseEvent.MOUSE_OVER, l61i6MouseOver);
gamePage.infoBox.l61i7.addEventListener (MouseEvent.MOUSE_OVER, l61i7MouseOver);
gamePage.infoBox.l61i8.addEventListener (MouseEvent.MOUSE_OVER, l61i8MouseOver);
gamePage.infoBox.l71i1.addEventListener (MouseEvent.MOUSE_OVER, l71i1MouseOver);
gamePage.infoBox.l71i2.addEventListener (MouseEvent.MOUSE_OVER, l71i2MouseOver);
gamePage.infoBox.l71i3.addEventListener (MouseEvent.MOUSE_OVER, l71i3MouseOver);
gamePage.infoBox.l71i4.addEventListener (MouseEvent.MOUSE_OVER, l71i4MouseOver);
gamePage.infoBox.l71i5.addEventListener (MouseEvent.MOUSE_OVER, l71i5MouseOver);
gamePage.infoBox.l71i6.addEventListener (MouseEvent.MOUSE_OVER, l71i6MouseOver);
gamePage.infoBox.l71i7.addEventListener (MouseEvent.MOUSE_OVER, l71i7MouseOver);
gamePage.infoBox.l71i8.addEventListener (MouseEvent.MOUSE_OVER, l71i8MouseOver);You are welcome.
-
Add the listener event for several children at the same time
Suppose I have a Movieclip and in that Movieclip, I have several clips that I use as buttons. I want that all the buttons to do the same thing when I MouseOver. Is there a way I can refer to all the children of a display container so that I can have a statement such as MouseChildren.addEventListener (MouseEvent.RollOver, rollOverHandler); ?
You can attach your mouse listener to the parent of your buttons.
-
How to add the listener showPopup trigger for a commandlink type context menu
Hi all
I use jdev 11.1.1.7
I have a commandlink with actionlistener, which will display a popup and his works fine
But when the right click on the link same context menu should be display
That's why I added a trigger type contextmenu for this commandlink showPopupListener but its does not work
I even added oracle.adf.view.rich.ACTION_LINK_BROWSER_CONTEXT_SUPPRESSION to no. as suggested in https://docs.oracle.com/cd/E24382_01/web.1112/e16181/af_navigate.htm#ADFUI11777 still does not
<af:commandLink id="dc_cl2" text="#{page.concatMemberNameDisplayed}" actionListener="#{pageFlowScope.MyBean.openMS}" inlineStyle="font-size:smaller;" rendered="#{page.axisType==3}"> <f:attribute name="selectedPageMem" value="#{page}"/> <af:showPopupBehavior popupId="contextMenu" triggerType="contextMenu" align="afterEnd"/> <af:popup id="contextMenu" launcherVar="var" eventContext="launcher"> <af:menu text="ContextMenu" id="m1"> <af:forEach items="#{pageFlowScope.MyBean.mapKeys}" var="it"> <af:forEach items="#{pageFlowScope.MyBean.menuItems[it]}" var="menuItem"> <af:commandMenuItem text="#{menuItem.label}" id="cmi1" actionListener="#{pageFlowScope.MyBean.contextMenuClicked}" action="onContextMenu" rendered="#{it eq 'Global'}"> <f:attribute name="selectedMenu" value="#{menuItem}"/> <f:attribute name="selectedPageMem" value="#{page}"/> </af:commandMenuItem> </af:forEach> </af:forEach> </af:menu> </af:popup> </af:commandLink>
Please let me know how to achieve this. Thanks, Asha
If the component on the page sometimes is visible and sometimes will not depending on the condition or user action, you must use the visible property. Whether or not the component is visible only once (for example according to the privilege of the user or user type), you must use return ownership.
-
How can I add a new email address in mail windows 8 in my directory of people
When I receive an email from a person that I would add to my directory 'people' (Windows 7 Add to contacts) I can't find how to
Thank you
It's here now! Click the address that you want to add, and it happens in people. In people, you can change the user name and any other information and save.
-
How to add the listenter in a folder
Hello friends,
Please help me out by telling how can I add a file listener in any folder in flex.
whenever a file is added to this file, I can get any event, which tells me that on the file,
Exactly, I want to add the listener to record image in playbook to get information if it adds a new file.
Thank you
The suggestion of John (I think that is correct: no way integrated for this), the as3corelib library has a FileMonitor already, class that does what it describes. You can extend to do something similar with a polling call to getDirectoryListing (or, preferably, the asynchronous version of that) to keep track of the directory.
-
Add a new contact, the new email address is not alphabetical order.
list of Windows mail contactsAdd a new contact, the new email address is not alphabetical order
Hello Marcococozza
Follow responses of Dave, David and Suzanne in the link below and let me know if it helps. -
Add a new database to the listener
Hi all
on 10 g
How to use netca, can add a new database to my interlocutor?
Thank you.Do you really need to add the database to the listener?
Why not just use dynamic record by setting the parameter 'local_listener' in the database?
-
I can download e-mail from the server to the new email address, I just added to Thunderbird. But the new address appears at the bottom of the address list that is located on the left side of the window of Thunderbird. How can I move it upward?
Also, I did something that made a padlock icon appears on top the the email envelope icon. How can I remove it? Thank you.
Go to add ons page and sort for manual sorting folder. It allows you to reorganize the folders pane.
The lock icon indicates that this account uses a secure connection. You don't want to remove it.
-
I have copy of old tbird and seamonkey e-mail files with the files and emails for each. I need to add to new tbird install. can not find a way to do it. HELP PLEASE. previous e-mail files are under mail then mail.earthlink* .net and each of the five mail .net is an email address I have. I can't find a way to identify each file by email to the specific email address (IE mail.my E-mail name.net) so I can copy the files and emails from the past to the email addresses now under tbird. previous installed e-mail identities may not be the current configuration of e-mail files in tbird. I think that I must be sure that mail.name.net matches the previous mail.name.net to be able to copy and paste the old to the new. is there a way to find the file name correct the old email and correspond to the new? all my emails very important information are mostly in the old mail electronic id and must be available in the identification of email again (but same) how can I do this?
http://KB.mozillazine.org/Importing_folders
Use this module.
https://addons.Mozilla.org/en-us/Thunderbird/addon/ImportExportTools/
-
whenever I open several tabs, I can't clear the address bar to enter a new URL address... I'm using the latest beta version of FF
Start Firefox in Firefox to solve the issues 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) > Add-ons > appearance/themes).
- Makes no changes on the start safe mode window.
- https://support.Mozilla.org/KB/safe+mode
It works if you open a new window?
See also:
-
I removed the toolbars so I could see below thinking that I could easily get them back, but I can't. How can I get back them? I can't even put a new web address now. Or refresh a page. Or go to the front/back. How can I solve this problem?
It depends on how you
- Choose the Mode "full screen" or
- unchecked toolbars
The F11 key activates / turns off Mode full screen or not. Full screen, you have no toolbars, no tab and no bar Add on (bottom).
If unchecked you your toolbars (checked = displayed; UN - check = not displayed), and then do one of the following, then click on those you want to check/uncheck:
- Right-click in the empty space at the end of the tab bar
- Press the ALT key or the F10, the poster Menu bar, click View > toolbars
- Firefox > Preferences > advanced > General tabFirefox > Preferences > advanced > general tab
- Hold down the ALT key and type the letters of the keyboard V T
- the URL/address bar, buttons previous/next, refresh/reload buttons are located on the Navigation toolbar
- See-> https://support.mozilla.com/en-US/kb/Back%20and%20forward%20or%20other%20toolbar%20items%20are%20missing
- Also see-> https://support.mozilla.com/en-US/kb/how-do-i-customize-toolbars
- Also see-> http://kb.mozillazine.org/Toolbar_customization
If this answer solved your problem, please click 'Solved It' next to this response when connected to the forum.
Maybe you are looking for
-
WD MyBook will not mount on Mac
I have two WD MesLivres, attached to a Mid-2015 15 "MacBook Pro (MBP) running El Capitan 10.11.5." Both drives are formatted with OS X Extended (journaled). We had a power failure last night. This morning, I restarted the MBP and the 2nd MyBook would
-
Firefox 23.0.1 will not play videos from yahoo, running Windows 8
I tried all the troubleshooting and checked the other bandages and users with similar problems, but still no luck. All plugins are up to date. Internet Explorer plays all these files without a problem, so I know it must be Firefox issue or bug. For e
-
Icon problem - space between icons
original title: icon problem... Please read this post I don't know what happened to my desktop icons. It appears like this > [IMG] http://i40.tinypic.com/244xs07.jpg [line] The problem is the spacing or gaps between the icons > [IMG] http://i42.tinyp
-
What does this mean please?
This upcoming memory upward in Microsoft Outlook - I can receive emails but not receive them-your server unexpectedly terminated the connection. The possible causes for this include server problems, network problems, or a long period of inactivity. O
-
Cannot access administrator account
Hello! I can't get into my administrative account. When I try to open it a memo comes stating "the user profile service has no logon. User profile cannot be loaded "." The only option is 'ok' then it disconnects. I can only access a standard account