Documente Academic
Documente Profesional
Documente Cultură
resource_parameters
...
CONNECT_TIME
Specify the total elapsed time limit for a session, expressed in minutes.
IDLE_TIME
...
------------------------
Both sqlplus and database are on the same computer. So firewalls are not
responsible.
SQLNET.INBOUND.CONNECT_TIMEOUT = 300
SQLNET.SEND_TIMEOUT = 300
SQLNET.RECV_TIMEOUT = 300
VALUES(:NEW.ARTICLE,:NEW.RANGE,:NEW.RETPRICE,:NEW.WSPRICE,
:NEW.BRANDCODE,:NEW.CATEGORYCODE,:NEW.ITEMCODE,:NEW.Q_CODE,:NEW.COLORCODE
,:OLD.ARTICLE,:OLD.RANGE,:OLD.RETPRICE,:OLD.WSPRICE,:OLD.BRANDCODE,:OLD.CATEGORYCOD
E,:OLD.ITEMCODE,:OLD.Q_CODE,:OLD.COLORCODE
,SYSDATE);
ELSIF DELETING THEN
INSERT INTO AUD_ARTICLE (
OLD_ARTICLE, OLD_RANGE, OLD_RETPRICE,
OLD_WSPRICE, OLD_BRANDCODE, OLD_CATEGORYCODE,
OLD_ITEMCODE, OLD_Q_CODE, OLD_COLORCODE, TR_DATE
)
VALUES(:OLD.ARTICLE,:OLD.RANGE,:OLD.RETPRICE,:OLD.WSPRICE,
:OLD.BRANDCODE,:OLD.CATEGORYCODE,:OLD.ITEMCODE,:OLD.Q_CODE,:OLD.COLORCODE
,SYSDATE);
ELSIF UPDATING THEN
INSERT INTO AUD_ARTICLE (NEW_ARTICLE, NEW_RANGE, NEW_RETPRICE, NEW_WSPRICE,
NEW_BRANDCODE,
NEW_CATEGORYCODE, NEW_ITEMCODE, NEW_Q_CODE, NEW_COLORCODE,
OLD_ARTICLE, OLD_RANGE, OLD_RETPRICE,
OLD_WSPRICE, OLD_BRANDCODE, OLD_CATEGORYCODE,
OLD_ITEMCODE, OLD_Q_CODE, OLD_COLORCODE, TR_DATE
)
VALUES(:NEW.ARTICLE,:NEW.RANGE,:NEW.RETPRICE,:NEW.WSPRICE,
:NEW.BRANDCODE,:NEW.CATEGORYCODE,:NEW.ITEMCODE,:NEW.Q_CODE,:NEW.COLORCODE
,:OLD.ARTICLE,:OLD.RANGE,:OLD.RETPRICE,:OLD.WSPRICE,:OLD.BRANDCODE,
:OLD.CATEGORYCODE,:OLD.ITEMCODE,:OLD.Q_CODE,:OLD.COLORCODE,SYSDATE);
END IF;
END;
I get the ORA-12541 error message when I try to connect through Forms6i and
Reports6i Builder. I've started the listener also. I have no problems accessing the
database through SQL*Plus. I've checked the listener.ora and tnsnames.ora files and
everything seems okay.
We Said:
Cause: Listener for the source repository has not been started.
Action: Start the Listener on the machine where the source repository resides.
Basically the Forms server could not find the listener. First check the
tnsnames.ora file and ensure that it points to the correct server and port. If the
Forms server is on another machine, test the TNS resolve with tnsping from the
command prompt. Finally, check the listener.
This should show the status of the listener and the services it is listening for.
Remember that when you run SQL*Plus on the database server, it does not need the
listener to connect unless you specify the database tnsnames.ora entry.
Try to start the listener service using lsnrctl from DOS prompt.
If the listener service is not running, re-start the listener service using the
Windows task manager or use the DOS command line utility to re-start the Windows
service with the "net start" command:
You can use the lsnrctl status command to verify that the listener is down, and
lsnrctl start to start your listener. If you are on Windows, also verify that the
listener service is running. Here are more notes on lsnrctl:
Oracle listener lsnrctl command
Oracle listener lsnrctl command
Oracle listener security tips
Blocking Oracle access by IP Addresses
------------------------------------------------
POSHAK-----------------------------------------------------
-----------------------------------------------------------------------------------
---------------------------