Problems with tns/listener
Hi,
i have a question regarding a problem i am experiencing in my development oracle env.
i have 2 instances - oracle 11.2.01 and 11.2.0.3.(windows 2008 enterprise)
We were able to connect to both instances without any issues. Few days back we started noticing a strange issue.
We can connect to oracle 11.2.0.3 but not 11.2.0.1.
what happens is when i type in sqlplus username/[email protected] sqlplus connects after a while. It takes good 1.25 minutes.
and sqlplus username/[email protected] connects instantly.
One interesting thing is when i say sqlplus username/password, sqlplus instantly connects to oracle11.2.0.1. Well,
this is because i have my windows system variable defined oracle_sid=oracle11.2.0.1
my question is, does anybody know the reason this cna happen? is anybody familiar? it all started happening one fine evening last week.
The error messsage i see in alert logs are
/* In alert log */
Fatal NI connect error 12570, connecting to:
(LOCAL=NO)
VERSION INFORMATION:
TNS for 64-bit Windows: Version 11.2.0.1.0 - Production
Oracle Bequeath NT Protocol Adapter for 64-bit Windows: Version 11.2.0.1.0 - Production
Windows NT TCP/IP NT Protocol Adapter for 64-bit Windows: Version 11.2.0.1.0 - Production
Time: 14-JUN-2013 14:21:20
Tracing not turned on.
Tns error struct:
ns main err code: 12570
TNS-12570: TNS:packet reader failure
ns secondary err code: 12560
nt main err code: 0
nt secondary err code: 0
nt OS err code: 0
opiodr aborting process unknown ospid (6720) as a result of ORA-609
/* In listener tarce file */
O/S-Error: (OS 32) The process cannot access the file because it is being used by another process.
** DBGRL Error: 11-JUN-2013 16:51:28 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=FOD-ORADB-DEV$))(SERVICE_NAME=NETLINKII)) * (ADDRESS=(PROTOCOL=tcp)(HOST=128.146.195.86)(PORT=61592)) * establish * NETLINKII * 12560
** DBGRL Error: Text Alert Log
** DBGRL Error: SLERC_OERC, 48180
** DBGRL Error: OSD-00001: additional error information
O/S-Error: (OS 32) The process cannot access the file because it is being used by another process.
** DBGRL Error: TNS-12560: TNS:protocol adapter error
TNS-00530: Protocol adapter error
64-bit Windows Error: 53: Unknown error
TNS-12518: TNS:listener could not hand off client connection
TNS-12571: TNS:packet writer failure
TNS-12560: TNS:protocol adapter
Thanks for the help in advance.
Srinath
946544 wrote:
Hi,
i have a question regarding a problem i am experiencing in my development oracle env.
i have 2 instances - oracle 11.2.01 and 11.2.0.3.(windows 2008 enterprise)
We were able to connect to both instances without any issues. Few days back we started noticing a strange issue.
We can connect to oracle 11.2.0.3 but not 11.2.0.1.
what happens is when i type in sqlplus username/[email protected] sqlplus connects after a while. It takes good 1.25 minutes.
and sqlplus username/[email protected] connects instantly.
One interesting thing is when i say sqlplus username/password, sqlplus instantly connects to oracle11.2.0.1. Well,
this is because i have my windows system variable defined oracle_sid=oracle11.2.0.1
my question is, does anybody know the reason this cna happen? is anybody familiar? it all started happening one fine evening last week.
The error messsage i see in alert logs are
/* In alert log */
Fatal NI connect error 12570, connecting to:
(LOCAL=NO)
VERSION INFORMATION:
TNS for 64-bit Windows: Version 11.2.0.1.0 - Production
Oracle Bequeath NT Protocol Adapter for 64-bit Windows: Version 11.2.0.1.0 - Production
Windows NT TCP/IP NT Protocol Adapter for 64-bit Windows: Version 11.2.0.1.0 - Production
Time: 14-JUN-2013 14:21:20
Tracing not turned on.
Tns error struct:
ns main err code: 12570
TNS-12570: TNS:packet reader failure
ns secondary err code: 12560
nt main err code: 0
nt secondary err code: 0
nt OS err code: 0
opiodr aborting process unknown ospid (6720) as a result of ORA-609
/* In listener tarce file */
O/S-Error: (OS 32) The process cannot access the file because it is being used by another process.
** DBGRL Error: 11-JUN-2013 16:51:28 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=FOD-ORADB-DEV$))(SERVICE_NAME=NETLINKII)) * (ADDRESS=(PROTOCOL=tcp)(HOST=128.146.195.86)(PORT=61592)) * establish * NETLINKII * 12560
** DBGRL Error: Text Alert Log
** DBGRL Error: SLERC_OERC, 48180
** DBGRL Error: OSD-00001: additional error information
O/S-Error: (OS 32) The process cannot access the file because it is being used by another process.
** DBGRL Error: TNS-12560: TNS:protocol adapter error
TNS-00530: Protocol adapter error
64-bit Windows Error: 53: Unknown error
TNS-12518: TNS:listener could not hand off client connection
TNS-12571: TNS:packet writer failure
TNS-12560: TNS:protocol adapter
Thanks for the help in advance.
Srinath
by definition, you have two different ORACLE_HOME folders.
You should be running a single listener from the V11.2.0.3 directory; which depends upon the content of the PATH variable.
Are the OS Services for both the database & listener started & running now.
Unfortunately, the ORA-12560 is somewhat of a catchall error that results from a handful of different causes.
Similar Messages
-
URGENT: Problem with tns services
Hi everybody,
I have two 10.2.0 databases: one on Windows XP prof and the other on a firewall-enabled Linux RHE AS , the latter is using ASM. I easily define tns services for the windows one from Linux but cann't do the same vice versa. I have added 1521:tcp to firewall safe sockets. The service is up and running on Linux and the listener is OK. What is the problem then?problem with tnsnames connection
problem with tnsnames connection -
Problems with dbms_aq.listen
I am having problem trying to listen to a set of queues.
I have tried it with Single Consumer queues and it works fine.
But with Multi Consumer queues dbms_aq.listen does not detect a new message enqueued and just waits until the time out then returns with the normal "No message" exception.
Can any one tell me what I am doing wrong?
Thanks
Rick Laird
code
CREATE OR REPLACE TYPE message_type AS OBJECT (xml_message CLOB);
exec dbms_aqadm.create_queue_table('testqueue_qtable','message_type',Null,Null,true);
exec dbms_aqadm.create_queue('testqueue', 'testqueue_qtable');
exec dbms_aqadm.start_queue('testqueue');
exec dbms_aqadm.add_subscriber('testqueue',sys.aq$_agent('testqueue_subscriber',NULL,NULL));
exec DBMS_AQADM.SCHEDULE_PROPAGATION('testqueue');
CREATE OR REPLACE PROCEDURE MONITOR_STATUS_QUEUE(time IN NUMBER)
IS
pragma autonomous_transaction;
agent_w_message sys.aq$_agent;
agent_list dbms_aq.aq$_agent_list_t;
wait_time INTEGER := 10;
no_message EXCEPTION;
pragma EXCEPTION_INIT(no_message, -25254);
new_status VARCHAR2(30);
monitor BOOLEAN := TRUE;
begin_time number;
end_time number;
v_dequeue_options dbms_aq.dequeue_options_t;
v_message_properties dbms_aq.message_properties_t;
v_message_type message_type;
v_dequeue_msg_id RAW(40);
v_xml_message CLOB;
v_message_text varchar2(2000);
v_amount number;
BEGIN
begin_time := dbms_utility.get_time;
WHILE (monitor)
LOOP
BEGIN
-- agent_list(1) := sys.aq$_agent('testqueue_agent', 'testqueue', NULL);
agent_list(1) := sys.aq$_agent('agent1', 'testqueue', NULL);
/* wait for order status messages */
dbms_aq.listen(agent_list, 0, agent_w_message);
dbms_output.put_line('Agent' || agent_w_message.name || ' Address '|| agent_w_message.address);
/* dequeue the message from the queue */
v_dequeue_options.consumer_name := 'testqueue_subscriber';
v_dequeue_options.wait := 0.5;
-- v_dequeue_options.wait := dbms_aq.NO_WAIT;
dbms_aq.dequeue('testqueue',v_dequeue_options, v_message_properties,
v_message_type,v_dequeue_msg_id);
v_amount := dbms_lob.getlength(v_message_type.xml_message);
dbms_lob.read(v_message_type.xml_message,v_amount,1,v_message_text);
dbms_output.put_line('New Message :'||v_message_text);
/* exit if we have been working long enough */
end_time := dbms_utility.get_time;
IF (end_time - begin_time > time) THEN
EXIT;
END IF;
EXCEPTION
WHEN no_message THEN
dbms_output.put_line('No messages so far');
end_time := dbms_utility.get_time;
--exit if we have done enough work
IF (end_time - begin_time > time) THEN
EXIT;
END IF;
END;
END LOOP;
commit;
END;
create or replace procedure enqueue is
v_enqueue_options dbms_aq.enqueue_options_t;
v_messages_properties dbms_aq.message_properties_t;
v_message_type message_type;
v_message_locator CLOB;
v_enqueue_msg_id RAW(40);
v_select_sql varchar2(2000);
v_xml_message varchar2(2000);
v_temp_clob CLOB;
begin
v_xml_message := '<TESTING><TEST>'||to_char(sysdate,'HH:MI:SS')||'</TEST></TESTING>';
dbms_lob.createtemporary(v_temp_clob,true);
dbms_lob.write(v_temp_clob,length(v_xml_message),1,v_xml_message);
v_message_type := message_type(empty_clob());
dbms_aq.enqueue(
queue_name => 'testqueue',
enqueue_options => v_enqueue_options,
message_properties => v_messages_properties,
payload => v_message_type,
msgid => v_enqueue_msg_id);
v_select_sql := ' select t.user_data.xml_message from testqueue_qtable t where t.msgid = :MSG_ID';
execute immediate v_select_sql INTO v_message_locator using v_enqueue_msg_id;
dbms_lob.copy( dest_lob => v_message_locator,
src_lob => v_temp_clob,
amount => dbms_lob.getlength(v_temp_clob));
COMMIT;
end enqueue;Hi,
Your subscriber is called testqueue_subscriber. You must use the same consumer name in the agent list for dbms_aq.listen
Change
agent_list(1) := sys.aq$_agent('agent1', 'testqueue', NULL);
to
agent_list(1) := sys.aq$_agent('testqueue_subscriber', 'testqueue', NULL); -
Problem with oracle listener linux/390
Hi everybody,
I've installed oracle 9i developer release on linux/390.
The database seems ok, but when i try to connect from other
machines i get:
Ora-03113: End of file on communication channel
The failure occurs after the connection is established.
I've read in some oracle faqs, this cause may be a database
server error.
I've checked all configuration files, but found nothing.
Can someone help me?
Best regards,
ChrisHello,
I have problem with installing Oracle in Linux/390 (7.0 version).
Could you tell me what is your version (7.2 ?) and when did you
find it ? (URLs)
Thanks a lot -
Hi,
I have installed Oracle XE.
After i start the listener,after say 10 secs or so a window pops up with the below error.
"TNSLSNR.EXE has encountered a problem and needs to close. We are sorry for the inconvenience."
The database was working fine,from yesterday i am facing this issue.
Any reply with regads is appreciated
Thanks in advance
Regards
AshwiniHi,
actually it complains about no listener to be available. Is the database listener working ? If you use TNS naming, if you changed this to JDBC URL, does his change the behavior? If yes, check the accessibility of the tnsnames.ora file
Frank -
Problem with SQL Listener Name
I installed SQL 2012 with Always on. It has 3 nodes.
Here is the detail information about the server:-
Server Name
Failover Mode
SQL Listener Name
Node 1
Automatic
ABCD
Node 2
Automatic
ABCD
Node 3
Manual
ABCD
It seems application is having problem to connect the DB server with listener name; but application can connect the DB server with server name (i.e. Node 1/2/3). Do you know what would be the reason?
I also noticed when I tried to connect DB server through SSMS (by using SQL Listener name) it is taking too much time. I have to increase “connection time-out” to 60 sec otherwise it is throwing timeout error. But if I use server
name then it is not throwing timeout error. I am not sure why it is taking more time to connect DB by using SQL Listener name. Any Idea?Hi XYZ001,
As other post, please help to post more details for analysis.
Do you configure AlwaysOn Availability Group in a multi-subnet environment? If that is the case, please check the following things.
1. Make sure that you add the MultiSubnetFailover parameter and set it to true in the Additional Connection Parameters tab when connecting to DB server through SSMS by using Listener name. If you forget to pass in the MultiSubnetFailover parameter, it will
allow for a successful but delayed connection even if you increase “connection time-out”. For more details, please review this
blog.
2. When the application is unable to connect the DB server with listener name, the issue could occur when your application either uses a legacy data provider that does not support the new MultiSubnetFailover parameter, or is not configured to use this parameter.
Please use the following resolutions as applicable to your case, for more details, please review this
article.
•To resolve this situation when the data providers support the MultiSubNetFailover parameter, add the MultiSubNetFailover parameter to your connection string, and set it to true.
•To resolve this situation when your legacy clients cannot use the MultiSubnetFailover property, you can change the listener’s RegisterAllProvidersIP value to 0.
3. If you have an active Transport Driver Interface (TDI) filter driver that is installed on the client application workstation, you may also get timeout error. For more details, please review this
KB article.
There is also a similar thread for your reference.
http://stackoverflow.com/questions/23416492/connection-timeouts-when-using-multisubnetfailover-true
Thanks,
Lydia Zhang
Lydia Zhang
TechNet Community Support -
hello
the problem in my code is that i defined
actionlistener for a button but it does not
do what it should do . it throws an error in the console
and i think my code is 100% correct what is the problem
please help me this is the codewith
import java.awt.*;
import javax.swing.*;
import java.awt.event.*;
class Library extends JFrame implements ActionListener {
private JMenuBar jmb = new JMenuBar();
private JMenu books = new JMenu("Books",true);
private JMenu members = new JMenu("Members",true);
private JMenu loans = new JMenu("Loans",true);
private JMenuItem addNb = new JMenuItem("Add New Book");
private JMenuItem listB = new JMenuItem("List All Books");
private JMenuItem listAb = new JMenuItem("List Available Books");
private JMenuItem listBb = new JMenuItem("List Borrowed Books");
private JMenuItem addNm = new JMenuItem("Add New Member");
private JMenuItem removeM = new JMenuItem("Remove a Member");
private JMenuItem listAm = new JMenuItem("List All Members");
private JMenuItem loanB = new JMenuItem("Loan A Book");
private JMenuItem returnB = new JMenuItem("Return A Book");
private JTextField bNumber = new JTextField(14);
private JTextField bAuthor = new JTextField(14);
private JTextField bTitle = new JTextField(14);
private JTextField mId = new JTextField(14);
private JTextField mName = new JTextField(14);
private JTextField idB = new JTextField(14);
private JTextField nBToB = new JTextField(14);
private JTextField nBTor = new JTextField(14);
private JTextArea dispaly = new JTextArea();
private JButton oKb1 = new JButton("OK");
private JButton okb2 = new JButton("OK");
private JButton cloaseb = new JButton("Close");
private JButton oKm1 = new JButton("OK");
private JButton oKm2 = new JButton("OK");
private JButton cancelM = new JButton("Cancel");
private JButton oKm3 = new JButton("OK");
private JButton oKm4 = new JButton("OK");
private JButton cancelM2 = new JButton("Cancel");
private JButton oKl = new JButton("OK");
private JButton oKr = new JButton("OK");
private JButton yes = new JButton("Yes");
private JButton no = new JButton("No");
private JLabel bN = new JLabel("Book Number");
private JLabel bA = new JLabel("Book Author");
private JLabel bT = new JLabel("Book Title");
private JLabel iN = new JLabel("ID Number");
private JLabel mN = new JLabel("Member's Name");
private JLabel iNb = new JLabel("ID number of the borrower");
private JLabel nBb = new JLabel("Number of the books to borrow");
private JLabel nBr = new JLabel("Number of the books to return");
private JLabel mIdl = new JLabel("ID number of the stuednt");
private JPanel tempoIPanel= new JPanel(new FlowLayout());
Container cp;
JFrame mainFrame;
JInternalFrame tempoI;
Library() {
//LibraryClass lClass = new LibraryClass();/*
mainFrame = new JFrame();
mainFrame.setJMenuBar(jmb);
mainFrame.setSize(800,550);
mainFrame.getContentPane().setLayout(new FlowLayout());
jmb.add(books);
jmb.add(members);
jmb.add(loans);
books.add(addNb);
addNb.addActionListener(this);
books.add(listB);
listB.addActionListener(this);
books.add(listAb);
listAb.addActionListener(this);
books.add(listBb);
listBb.addActionListener(this);
members.add(addNm);
addNm.addActionListener(this);
members.add(removeM);
removeM.addActionListener(this);
members.add(listAm);
listAm.addActionListener(this);
loans.add(loanB);
loanB.addActionListener(this);
loans.add(returnB);
returnB.addActionListener(this);
//actions listeners
oKb1.addActionListener(this);
mainFrame.setVisible(true);
public void actionPerformed(ActionEvent ae) {
if(ae.getSource() == addNb) {
tempoI = new JInternalFrame("Add new Book",true,true);
mainFrame.getContentPane().add(tempoI);
tempoI.getContentPane().setLayout(new FlowLayout());
tempoI.getContentPane().add(bN);
tempoI.getContentPane().add(bNumber);
tempoI.getContentPane().add(bA);
tempoI.getContentPane().add(bAuthor);
tempoI.getContentPane().add(bT);
tempoI.getContentPane().add(bTitle);
tempoI.getContentPane().add(oKb1);//add action listener here
tempoI.setVisible(true);
if(ae.getSource() == listB) {
//LibraryClass.listBooks();
if(ae.getSource() == listAb){}
if(ae.getSource() == listBb){}
if(ae.getSource() == addNm) {
tempoI = new JInternalFrame("Add new Member",true,true);
mainFrame.getContentPane().add(tempoI);
tempoI.getContentPane().setLayout(new FlowLayout());
tempoI.getContentPane().add(iN);
tempoI.getContentPane().add(mId);
tempoI.getContentPane().add(mN);
tempoI.getContentPane().add(mName);
tempoI.getContentPane().add(oKm1);//add action listener
tempoI.getContentPane().setSize(300,400);
tempoI.setVisible(true);
if(ae.getSource() == removeM) {
tempoI = new JInternalFrame("Rmove member",true,true);
mainFrame.getContentPane().add(tempoI);
tempoI.getContentPane().setLayout(new FlowLayout());
tempoI.getContentPane().add(mIdl);
tempoI.getContentPane().add(mId);
tempoI.getContentPane().add(oKm2);//add action listener
//LibraryClass.removeM(Double.parseDouble(mId.getText()));
tempoI.getContentPane().setSize(300,400);
tempoI.setVisible(true);
if(ae.getSource() == listAm) {
//LibraryClass.listMembers();
if(ae.getSource() == loanB) {
tempoI = new JInternalFrame("Loan book",true,true);
mainFrame.getContentPane().add(tempoI);
tempoI.getContentPane().setLayout(new FlowLayout());
tempoI.getContentPane().add(iNb);
tempoI.getContentPane().add(idB);
tempoI.getContentPane().add(nBb);
tempoI.getContentPane().add(nBToB);
tempoI.getContentPane().add(oKl);
//LibraryClass.borrowBook(Book bk,Member m);
tempoI.getContentPane().setSize(300,400);
tempoI.setVisible(true);
if(ae.getSource() == returnB) {
tempoI = new JInternalFrame("Return Book",true,true);
mainFrame.getContentPane().add(tempoI);
tempoI.getContentPane().setLayout(new FlowLayout());
tempoI.getContentPane().add(iNb);
tempoI.getContentPane().add(idB);
tempoI.getContentPane().add(nBr);
tempoI.getContentPane().add(nBTor);
tempoI.getContentPane().add(oKr);
tempoI.getContentPane().setSize(400,300);
tempoI.setVisible(true);
//Book.addBook(bNumber.getText(),bAuthor.getText(),bTitle.getText());
class ClubLibrarySystem {
public static void main(String[] args) {
new Library();
}hello
the problem in my code is that i defined
actionlistener for a button but it does not
do what it should do . it throws an error in the
consoleWhat error?
and i think my code is 100% correct what is theWell, but it isn't.
Have you tried using a debugger?
problem
please help me this is the codewith
import java.awt.*;
import javax.swing.*;
import java.awt.event.*;
class Library extends JFrame implements
ActionListener {
private JMenuBar jmb = new JMenuBar();
private JMenu books = new JMenu("Books",true);
private JMenu members = new
JMenu("Members",true);
private JMenu loans = new
JMenu("Loans",true);
private JMenuItem addNb = new JMenuItem("Add New
Book");
private JMenuItem listB = new JMenuItem("List All
Books");
private JMenuItem listAb = new JMenuItem("List
Available Books");
private JMenuItem listBb = new JMenuItem("List
Borrowed Books");
private JMenuItem addNm = new JMenuItem("Add New
Member");
private JMenuItem removeM = new JMenuItem("Remove a
Member");
private JMenuItem listAm = new JMenuItem("List All
Members");
private JMenuItem loanB = new JMenuItem("Loan A
Book");
private JMenuItem returnB = new JMenuItem("Return A
Book");
private JTextField bNumber = new JTextField(14);
private JTextField bAuthor = new JTextField(14);
private JTextField bTitle = new JTextField(14);
private JTextField mId = new JTextField(14);
private JTextField mName = new JTextField(14);
private JTextField idB = new JTextField(14);
private JTextField nBToB = new JTextField(14);
private JTextField nBTor = new JTextField(14);
private JTextArea dispaly = new JTextArea();
private JButton oKb1 = new JButton("OK");
private JButton okb2 = new JButton("OK");
private JButton cloaseb = new JButton("Close");
private JButton oKm1 = new JButton("OK");
private JButton oKm2 = new JButton("OK");
private JButton cancelM = new JButton("Cancel");
private JButton oKm3 = new JButton("OK");
private JButton oKm4 = new JButton("OK");
private JButton cancelM2 = new JButton("Cancel");
private JButton oKl = new JButton("OK");
private JButton oKr = new JButton("OK");
private JButton yes = new JButton("Yes");
private JButton no = new JButton("No");
private JLabel bN = new JLabel("Book
Number");
private JLabel bA = new JLabel("Book
Author");
private JLabel bT = new JLabel("Book
Title");
private JLabel iN = new JLabel("ID Number");
private JLabel mN = new JLabel("Member's
Name");
private JLabel iNb = new JLabel("ID number of the
borrower");
private JLabel nBb = new JLabel("Number of the
books to borrow");
private JLabel nBr = new JLabel("Number of the
books to return");
private JLabel mIdl = new JLabel("ID number of
the stuednt");
private JPanel tempoIPanel= new JPanel(new
FlowLayout());
Container cp;
JFrame mainFrame;
JInternalFrame tempoI;
Library() {
//LibraryClass lClass = new LibraryClass();/*
mainFrame = new JFrame();
mainFrame.setJMenuBar(jmb);
mainFrame.setSize(800,550);
mainFrame.getContentPane().setLayout(new
FlowLayout());
jmb.add(books);
jmb.add(members);
jmb.add(loans);
books.add(addNb);
addNb.addActionListener(this);
books.add(listB);
listB.addActionListener(this);
books.add(listAb);
listAb.addActionListener(this);
books.add(listBb);
listBb.addActionListener(this);
members.add(addNm);
addNm.addActionListener(this);
members.add(removeM);
removeM.addActionListener(this);
members.add(listAm);
listAm.addActionListener(this);
loans.add(loanB);
loanB.addActionListener(this);
loans.add(returnB);
returnB.addActionListener(this);
//actions listeners
oKb1.addActionListener(this);
mainFrame.setVisible(true);
public void actionPerformed(ActionEvent ae) {
if(ae.getSource() == addNb) {
tempoI = new JInternalFrame("Add new
w Book",true,true);
mainFrame.getContentPane().add(tempoI);
tempoI.getContentPane().setLayout(new
w FlowLayout());
tempoI.getContentPane().add(bN);
tempoI.getContentPane().add(bNumber);
tempoI.getContentPane().add(bA);
tempoI.getContentPane().add(bAuthor);
tempoI.getContentPane().add(bT);
tempoI.getContentPane().add(bTitle);
tempoI.getContentPane().add(oKb1);//add action
n listener here
tempoI.setVisible(true);
if(ae.getSource() == listB) {
//LibraryClass.listBooks();
if(ae.getSource() == listAb){}
if(ae.getSource() == listBb){}
if(ae.getSource() == addNm) {
tempoI = new JInternalFrame("Add new
w Member",true,true);
mainFrame.getContentPane().add(tempoI);
tempoI.getContentPane().setLayout(new
w FlowLayout());
tempoI.getContentPane().add(iN);
tempoI.getContentPane().add(mId);
tempoI.getContentPane().add(mN);
tempoI.getContentPane().add(mName);
tempoI.getContentPane().add(oKm1);//add action
n listener
tempoI.getContentPane().setSize(300,400);
tempoI.setVisible(true);
if(ae.getSource() == removeM) {
tempoI = new JInternalFrame("Rmove
e member",true,true);
mainFrame.getContentPane().add(tempoI);
tempoI.getContentPane().setLayout(new
w FlowLayout());
tempoI.getContentPane().add(mIdl);
tempoI.getContentPane().add(mId);
tempoI.getContentPane().add(oKm2);//add action
n listener
//LibraryClass.removeM(Double.parseDouble(mId.getText
tempoI.getContentPane().setSize(300,400);
tempoI.setVisible(true);
if(ae.getSource() == listAm) {
//LibraryClass.listMembers();
if(ae.getSource() == loanB) {
tempoI = new JInternalFrame("Loan book",true,true);
mainFrame.getContentPane().add(tempoI);
tempoI.getContentPane().setLayout(new
w FlowLayout());
tempoI.getContentPane().add(iNb);
tempoI.getContentPane().add(idB);
tempoI.getContentPane().add(nBb);
tempoI.getContentPane().add(nBToB);
tempoI.getContentPane().add(oKl);
//LibraryClass.borrowBook(Book bk,Member m);
tempoI.getContentPane().setSize(300,400);
tempoI.setVisible(true);
if(ae.getSource() == returnB) {
tempoI = new JInternalFrame("Return
n Book",true,true);
mainFrame.getContentPane().add(tempoI);
tempoI.getContentPane().setLayout(new
w FlowLayout());
tempoI.getContentPane().add(iNb);
tempoI.getContentPane().add(idB);
tempoI.getContentPane().add(nBr);
tempoI.getContentPane().add(nBTor);
tempoI.getContentPane().add(oKr);
tempoI.getContentPane().setSize(400,300);
tempoI.setVisible(true);
//Book.addBook(bNumber.getText(),bAuthor.getText(),bT
tle.getText());
class ClubLibrarySystem {
public static void main(String[] args) {
new Library(); -
Problem with apex listener install on Oracle Application Express 4.2.3
I have installed Oracle Application Express 4.2.3
Then i tried to install apex listener Oracle APEX Listener 2.0.5
but it dos not work.
I ask
It is possibile to install WebLogic Server 12c or 11c
and connect it to apex ??Hi;
Please check Deploying Sun JRE (Native Plug-in) for Windows Clients in Oracle E-Business Suite Release 12 [ID 393931.1] and compare it wiht your steps
Regard
Helios -
PGA memory Leak issue along with TNS: listener could not hand off client connection
Hi,
We have two Oracle Database instances in a 32 bit Standard Edition Windows OS machine with 3 GB RAM : 1) 1525 MB (SGA+PGA) 2) 515 MB (SGA+PGA)
Recently we upgraded the RAM from 3 GB to 4 GB. Subsequently we upgraded the SGA + PGA of the 2nd instance to 771 MB.
This has resulted into PGA memory leak issue reported in the alert log file and trace file.
Reverting back the SGA+PGA size to 515 MB solved the issue.
Is this issue related to Address Windowing Extension (AWE)?
Is the reason related to Total memory for all the cumulative Oracle instance should be < 2GB.
How to solve this?
Mon Jul 15 08:21:25 2013
ORACLE V10.2.0.4.0 - Production vsnsta=0
vsnsql=14 vsnxtr=3
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Windows Server 2003 Version V5.2 Service Pack 2
CPU : 4 - type 586, 4 Physical Cores
Process Affinity : 0x00000000
Memory (Avail/Total): Ph:1068M/4023M, Ph+PgF:4985M/7933M, VA:18M/2047M
Instance name: dp3
Redo thread mounted by this instance: 0 <none>
Oracle process number: 0
Windows thread id: 4484, image: ORACLE.EXE (SHAD)
*** 2013-07-15 08:21:25.133
*** ACTION NAME:() 2013-07-15 08:21:25.133
*** MODULE NAME:() 2013-07-15 08:21:25.133
*** SERVICE NAME:() 2013-07-15 08:21:25.133
*** SESSION ID:(90.829) 2013-07-15 08:21:25.133
******** ERROR: PGA memory leak detected 6302928 > 30176 ********
HEAP DUMP heap name="pga heap" desc=6C98A800
extent sz=0x206c alt=92 het=32767 rec=0 flg=3 opc=3
parent=00000000 owner=00000000 nex=00000000 xsz=0x0
EXTENT 0 addr=7FC10008
Chunk 7fc10010 sz= 64996 free " "
Chunk 7fc1fdf4 sz= 2097676 freeable "krfrbAllocate: "
Dump of memory from 0x7FC1FDF4 to 0x7FE20000
7FC1FDF0 1020020D 7FC10010 03871E90 [.. .........]
7FC1FE00 00000000 00000000 00000000 00000000 [................]
Repeat 131103 times
EXTENT 1 addr=7FA00008
Chunk 7fa00010 sz= 64996 free " "
Chunk 7fa0fdf4 sz= 2097676 freeable "krfrbAllocate: "
Dump of memory from 0x7FA0FDF4 to 0x7FC10000
7FA0FDF0 1020020D 7FA00010 03871E90 [.. .........]
7FA0FE00 00000000 00000000 00000000 00000000 [................]
Repeat 131103 times
EXTENT 2 addr=7F7F0008
Chunk 7f7f0010 sz= 64996 free " "
Chunk 7f7ffdf4 sz= 2097676 freeable "krfrbAllocate: "
Dump of memory from 0x7F7FFDF4 to 0x7FA00000
7F7FFDF0 1020020D 7F7F0010 03871E90 [.. .........]
7F7FFE00 00000000 00000000 00000000 00000000 [................]
Repeat 131103 times
EXTENT 3 addr=70A50008There may be something fixed in the patch that gives the error rather than mysterious hangs. I would prefer that, myself. There may be something in the patch that changes how Oracle allocates user, system and program areas.
At some point you spend more trying to limp things along in a growing environment than simply upgrading. 32 bit environments these days is an indicator that management is figuring some false economies. But that's their prerogative.
The PGA can be affected by many things, not least of which is how the application uses it. Much has been written about it, my own experience has been more is used than most people say. But that is probably just my app. Note there are different ways to set it, and a parameter with "target" in it might not be a hard limit. Different execution plans for the same code may use different amounts of memory - there can even be situations where forcing some code to use a sort area instead, or even forcing more operations to disk, can free up more pga for everyone else. It depends. But that's why I look at multi-pass operations in dbconsole. -
Window Event, problem with attaching listener
Can someone point me in the right direction here
1:
window.nativeWindow.addEventListener(air.Event.RESIZE,onResizeComplete);
2:
window.nativeWindow.addEventListener(air.Event.MOVE,onMoveComplete);
Line #1 works perfect, line #2 throws an error: "TypeError:
Error #2007: Parameter type must be non-null."
Both functions
onResizeComplete and
onMoveComplete are defined the same way.try deferring the remove until other events have been processed, like this: SwingUtilities.invokeLater(new Runnable() {
public void run() {
jTabbedPane1.removeTabAt(1);
}); -
Hi,
I am experiencing problems with TNS listener with my Oracle8 in my NT machine.
In the services, it shows that it is started but it refused to connect. But when I try to stop it, it prompts me that it was not started. I believe that there is a synch problem with NT and oracle. please help and advice. Thanks!Since restarting the server solves the problem. I think it is related to 2gb memory restriction in windows. Please use /3g switch or reduce the sga size if possible.
Thanks and Regards,
Satheesh Babu.S
Bangalore. -
Hi all,
First, happy new year for everybody.
I'm under Linux and i have a problem with a listener process in Oracle 10g 10.1.0.3.
From time to time, my listener process hang-up and it becomes impossible to obtain a Oracle connection.
With unix 'ps' command, i can see strange process.
# ps auxw | grep lsn
oracle 27728 0.0 0.1 37100 4760 ? S Dec23 0:02 /u01/app/oracle/product/10.1.0/db_1/bin/tnslsnr LISTENER -inherit
oracle 17161 0.0 0.1 37100 4760 ? S Dec25 0:00 /u01/app/oracle/product/10.1.0/db_1/bin/tnslsnr LISTENER -inherit
oracle 18134 0.0 0.1 18688 5892 ? S Dec25 0:00 /u01/app/oracle/product/10.1.0/db_1/perl/bin/perl /u01/app/oracle/product/10.1.0/db_1/sysman/admin/scripts/lsnr_log_status.pl
oracle 18145 0.0 0.0 2136 908 ? S Dec25 0:00 sh -c /u01/app/oracle/product/10.1.0/db_1/bin/lsnrctl > /tmp/0lHBosCvOe
oracle 18146 0.0 0.0 16144 4064 ? S Dec25 0:00 /u01/app/oracle/product/10.1.0/db_1/bin/lsnrctl
oracle 31474 0.0 0.1 17332 4588 ? S Dec25 0:00 /u01/app/oracle/product/10.1.0/db_1/perl/bin/perl /u01/app/oracle/product/10.1.0/db_1/sysman/admin/scripts/lsnrresp.pl
oracle 309 0.0 0.1 18688 5892 ? S Dec25 0:00 /u01/app/oracle/product/10.1.0/db_1/perl/bin/perl /u01/app/oracle/product/10.1.0/db_1/sysman/admin/scripts/lsnr_log_status.pl
oracle 326 0.0 0.0 2128 904 ? S Dec25 0:00 sh -c /u01/app/oracle/product/10.1.0/db_1/bin/lsnrctl > /tmp/zlihqS914Z
oracle 327 0.0 0.0 16148 4072 ? S Dec25 0:00 /u01/app/oracle/product/10.1.0/db_1/bin/lsnrctl
oracle 752 0.0 0.0 2128 908 ? S Dec25 0:00 sh -c /u01/app/oracle/product/10.1.0/db_1/bin/lsnrctl > /tmp/K5geR0wcyN
oracle 753 0.0 0.1 16160 4220 ? S Dec25 0:00 /u01/app/oracle/product/10.1.0/db_1/bin/lsnrctl
oracle 4270 0.0 0.0 2120 908 ? S Dec25 0:00 sh -c /u01/app/oracle/product/10.1.0/db_1/bin/lsnrctl > /tmp/9ov0ZwbS5e
oracle 4271 0.0 0.1 16156 4224 ? S Dec25 0:00 /u01/app/oracle/product/10.1.0/db_1/bin/lsnrctl
oracle 9227 0.0 0.0 2132 908 ? S Dec25 0:00 sh -c /u01/app/oracle/product/10.1.0/db_1/bin/lsnrctl > /tmp/qv5iJttPbm
oracle 9228 0.0 0.1 16168 4216 ? S Dec25 0:00 /u01/app/oracle/product/10.1.0/db_1/bin/lsnrctl
... etc ...
root 9310 0.0 0.0 1612 472 pts/2 S 08:35 0:00 grep lsn
If a stop and restart the listener, i don't have any more problem.
I suspect OEM agent because each time i noted the problem, the agent was running .
What occurs? Thanks for your help.Hi,
we had exactly the same problem this morning with our listener. We don't run OEM, and the listener.log file didn't have any errors in it. The log shows new connections up to the point where the second process starts (we know this from date stamps on the processes) and the next thing that appears is the listener starting again (after I've killed both listener processes and started the listener again)
log extract
09-JUN-2006 09:50:53 * (CONNECT_DATA=(SID=orac10g)(CID=PROGRAM=C:\Program Files\Precedent Version 2\PFW2.exe)(HOST=05BLG297)(USER=pettsc))) * (ADDRESS=(PROTOCOL=tcp)(HOST=172.16.204.76)(PORT=1451)) * establish * orac10g * 0
TNSLSNR for IBM/AIX RISC System/6000: Version 10.2.0.1.0 - Production on 09-JUN-2006 10:03:42
Copyright (c) 1991, 2005, Oracle. All rights reserved.
System parameter file is /oracle/product/10.2.0/network/admin/listener.ora
Log messages written to /oracle/product/10.2.0/network/log/listener.log
Trace information written to /oracle/product/10.2.0/network/trace/listener.trc
Trace level is currently 0
Started with pid=3178550
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=churchill.blg.co.uk)(PORT=1521)))
According to the actual process - the secondary lsnr process's parent was the initial one. It's almost like the first process spawned the second one.
We thought it might be one of the limits (we're running AIX 5) on the user running the process - but I suspect not as the same user is running the Oracle DB processes and they don't have any issues.
Thoughts?
Dave -
Port of the TNS Listener for the second SAP system
Hello!
I had problems during the installation of the second SAP system with second Oracle DB on the same host (OP is SOLARIS).
The error occurs was faced with TNS Listener.
(> error: TNS Listener is started)
Which settings are applied for the TNS Listener per default in SAPINST?
(e.g. on the same port)
Which settings should I apply in SAPINST for TNS Listener, e.g. configure an another port?
Thank you very much!
regards
ThomHello!
Thank you very much!
Even that is the question.
1) If I have selected "ok" during the installation and no further values selected, will SAPINST check whether the Port 1527 is allocated by the first SAP System and create the second Port 1528?
2) Do I have one TNS Listener with two file entries or two TNS Listener?
Thank you very much!
regards
Thom -
TNS listener error "ORA-12514: TNS:listener..."
Hi all,
I have a problem with my listener on Oracle 11.2.0.2.
I am more of a developer than a DBA, and I do not have a DBA to consult, so I hope you can address me, please.
I have 2 DB instances running on the same machine ORCL and ORCL2 on port 1521, both using the same listener "LISTENER" as well on port 1521.
In my TNSnames I had to add yesterday as well a new entry to a DB (ORCL3) hosted on a different machine.
Since then, I can connect to ORCL and ORCL3 without problem via sqlplus, but I get the below error when I connect to ORCL2:
ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor
I think the answer is to have to separate listeners for ORCL and ORCL2, but I have had several failed attempts.
Can you please advise on what I need to do? I have looked at various sites, but if you are not too experienced with listeners, they are not really very clear.
ThanksHi, thanks.
ORANAMES:
# tnsnames.ora Network Configuration File: C:\oracle\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
LISTENER_ORCL =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
ORCL2 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl2)
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl.xxx.xxx.net)
ORCL3 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 1.2.3.4)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl.2.3.4)
STATUS:
LSNRCTL> status
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 11.2.0.2.0 - Production
Start Date 28-JAN-2012 10:14:06
Uptime 0 days 2 hr. 19 min. 26 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File C:\oracle\product\11.2.0\dbhome_1\network\admin\listener.ora
Listener Log File C:\oracle\diag\tnslsnr\xxx\listener\alert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "orcl.xxx.xxx.net" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orclXDB.xxx.xxx.net" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
The command completed successfully -
Hi,
I installed 11.2.0.2 on RHEL 5.6.2 64bit - only the software at first. Now I am using netca and dbca to create a database. I created a listener using netca. Then I ran dbca to create the database along with the enterprise manager. However, it says, that it cannot find a listener in the default location, so the EM cannot be currently installed. What is the problem with the listener?
Thanks in advance!user10962462 wrote:
ok, the problem is back again.
Well, this is the error! I am using the dbca GUI, and it's in german, but that's the translation:
Database-Configuration Assistent: Warning
The configuration of the database with the database control assumes that a listener is installed in the current oracle default folder. You should start netca in order to configure a listener before you can continue. You can continue also without the configuration of the database control.
Well, I want to install the EM. What should I do?1) have you created database sting DBCA?
2) Listener configured using NETCA? now listener is running ? what is the status of the listener.
If everything fine then go ahead with to configure OEM.
Maybe you are looking for
-
Payment Methods not appearing on screen.
Hi FI Gurus The Payment Method is not appearing on document entry screen (for vendors) in test environment. It appears correctly in PROD/QA environment. Can someone tell me what to change in field status groups along with path in configuration? Thank
-
Acrobat crashes when extracting pages
Version Adobe Acrobat X 10.1.12 When extracting and emailing pages from a pdf multiple times, Acrobat crashes. Here is the process: 1. Open pdf 2. Tools -> Pages -> Extract 3. Select any number of pages -> delete after extracting -> Yes at prompt 4.
-
How to get data from SOAP-Header/MAIN-Section?
Hi, I need some data of the SOAP-Header-MAIN-Section, e.g. <SAP:Sender><SAP:SERVICE> Is it possible to get these data with XSLT-Mapping or Java-Mapping? Are there blogs about it? I need these data of the MAIN-Section inside the condition of the recei
-
Fill dynamic internal table with data from another dynamic table
Hi, I have a huge dynamic table with a few columns and need to fill another dynamic table with some of the columns, that are also existing in the other one. I first know at runtime, which fields the smaller table contains. Until now, I did it that wa
-
HR Qualifications and Proficiencies how are they related ? Which table ?
Hi all People have qualifications, qualifications have proficiencies, proficiencies have proficiency scales. Table HRP1001 contains personel numbers and the qualifiation objects that are related to them. Table HRP1000 contains loads of objects includ