ORA-12519 maintenance downtime capacity problems
For the past few months using OracleXE/APEX I've been having trouble with the following error for around 30% of page requests:
Service Temporarily Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
Log files contained the following:
[Tue Dec 15 11:15:49 2009] [error] [client 10.133.44.67] [ecid: 1260872149:10.216.5.26:24622:0:23436,0] mod_plsql: /pls/apex/f HTTP-503 ORA-12519 ORA-12519: TNS:no appropriate service handler found\n
The resolution for this appears to be (as per this blog http://it.newinstance.it/2007/06/01/ora-12519-tnsno-appropriate-service-handler-found/) to execute the following as system:
ALTER SYSTEM SET PROCESSES=150 SCOPE=SPFILE;
Just thought it might useful for people to know... Apologies if this is already generally known!
Try again later.
Similar Messages
-
ORA-12519 with servlet connect
Hi,
I'm facing a strange behaviour on my tomcat webserver with a servlet. I'm using Oracle 10g as the database and try to access it with my servlet.
The doPost-method throws the following exception while trying to establish the connection to the RDBMS:
"SQLException:
Connecting not possible:
Listener refused the connection with the following error:
ORA-12519, TNS:no appropriate service handler found The Connection descriptor used by the client was: localhost:1521:DBTEN"
After starting my servlet, the connection to the database for other applications blocks with the same error message
for a few minutes. After these few minutes connecting to the database is possible again!!! Restarting the database and the listener also helps...
public void doPost( HttpServletRequest request, HttpServletResponse response ) throws IOException, ServletException {
Connection conn = null;
response.setContentType( "text/html" );
PrintWriter out = response.getWriter();
String connStr = "jdbc:oracle:thin:@localhost:1521:DBTEN";
try{
Class.forName("oracle.jdbc.driver.OracleDriver");
}catch( ClassNotFoundException cnf ){
out.println( "CNFException: "+cnf.getMessage() );
//retrieve Connection
try{
conn = DriverManager.getConnection( connStr, "scott", "tiger" );
}catch( SQLException sqle ){
out.println( "SQLException: <BR> Connecting not possible: <BR> "+sqle.getMessage()+"<BR>" );
When I put that part in a 'normal' main program everything is ok. I can connect to the database and access tables with select statements and everything is ok.
public static void main(String[] args) {
Connection conn = null;
//retrieve Connection
try{
String connStr = "jdbc:oracle:thin:@localhost:1521:DBTEN";
try{
Class.forName("oracle.jdbc.driver.OracleDriver");
}catch(ClassNotFoundException cnf){
System.out.println( "CNFException: "+cnf.getMessage() );
conn = DriverManager.getConnection( connStr, "scott", "tiger" );
}catch( SQLException sqle ){
System.out.println( "SQLException:"+sqle.getMessage() );
Does anyone have an idea what the problem is in this case?
Regards,
Lars"Note: The use of the DriverManager class to establish a connection to a database is deprecated." --
http://download-uk.oracle.com/docs/cd/B25329_01/doc/appdev.102/b25320/getconn.htm
To open a connection use something like this:
OracleDataSource ods = new OracleDataSource();
ods.setUser("username");
ods.setPassword("password");
ods.setURL("jdbc:oracle:thin:@localhost:1521:XE");
ods.getConnection();
Instead of this:
Class.forName("oracle.jdbc.OracleDriver");
DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:XE", "username", "password"); -
ORA-12519 TNS:No appropriate service handler found!
Dear All,
I am facing a strange problem since yesterday and it happened for 4 times now.
My database is 10gR2 and Linux is the operating system.
There is not much load on DB but some users while connecting to DB get this error:
ORA-12519 TNS : No appropriate service handler found.
Howe ever there existing sessions remain open and they are fine. Problem is only faced when the new connection if in process.
I think that maybe some procedure is opening up connection in loop and not closing it at the end, but how to find this procedure.
This is the output of my processes parameter:
SQL> show parameter PROCESSES;
NAME TYPE VALUE
aq_tm_processes integer 0
db_writer_processes integer 1
gcs_server_processes integer 0
job_queue_processes integer 10
log_archive_max_processes integer 2
processes integer 150
Kindly help.
Regards, Imran BaigWell, I have manually added the entry in bold and restarted the listener. This is my listener.ora file now.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /u01/app/oracle/product/10.2.0/db_1)
(PROGRAM = extproc)
*(SID_DESC =*
*(SID_NAME = ORCL)*
*(ORACLE_HOME = /u01/app/oracle/product/10.2.0/db_1)*
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = db.myserver.private)(PORT = 1521))
Now This is the status of my listener:
LSNRCTL> status
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
Start Date 07-JUL-2011 10:34:14
Uptime 0 days 0 hr. 6 min. 54 sec
Trace Level off
Security ON: Local OS Authentication
SNMP ON
Listener Parameter File /u01/app/oracle/product/10.2.0/db_1/network/admin/listener.ora
Listener Log File /u01/app/oracle/product/10.2.0/db_1/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=db.myserver.private)(PORT=1521)))
Services Summary...
Service "ORCL" has 2 instance(s).
Instance "ORCL", status UNKNOWN, has 1 handler(s) for this service...
Instance "ORCL", status READY, has 1 handler(s) for this service...
Service "ORCLXDB" has 1 instance(s).
Instance "ORCL", status READY, has 1 handler(s) for this service...
Service "ORCL_XPT" has 1 instance(s).
Instance "ORCL", status READY, has 1 handler(s) for this service...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
Now I will have to wait for the error to come again.
Regards, Imran -
ORA-12519 TNS NO APPROPRIATE SERVICE HANDLER - ERROR
Hi,
We are using JDeveloper 11g for developing our web applications in our company and connecting oracle database through DB Connectivity option. We give the informations like username, password, hostname, sid, port number for getting the DB connectivity and developing web applications through ADF Faces in JDeveloper 11g, and around 25 people are getting connected to Database and developing their respective pages.
For first 30 minutes there is no DB problem, working quitely. After 30 minutes we are getting the error ORA-12519 TNS No appropriate service handler error, we tried to solve this problem by raising process number to 200 in init.ora file and killed the inactive sessions by getting session id from V$session table and restarted the DB Server. But still we are having this problem ORA-12519, after 30 minutes of starting the DB Server.
Can anyone suggest or help to overcome this problem ORA-12519.
Thanks
Saravanan N
Edited by: user11100608 on May 21, 2009 11:25 PMSee if metalink note 552765.1 helps you in this case.
-
ORA-12519: too many new conenctions
Hello,
with 10.2 XE the number of PROCESSORS is limited to 40, the Problem exists with the Listener that it quickly starts to refuse new connections with ORA-12519, even when the maximum number of connects at the same time is not reached. At least this is the situation as I understand it from metalink 424566.995: the problem is, that the listener counts new connections, but only seldomly gets the number of closed conenctions from the instance.
For my application with connection pools this is not a big issue, however I have a ANT script which installs the application and this unfortunatelly triggers the problem often, because connections are not recycled.
I wonder if it is "legal" and "possible" to increase processrs/sessions or better configure the listner to not reject those connections. It does not look like it is allowing me 50 connections anyway.
Interesting enough lsnctrl (verbose display mode) does not show any rejects (but I see them in the logfile) and I cant see a way to read listeners' concurrency limit?
logfile Looks like:
04-NOV-2005 18:22:01 * service_update * xe * 0
04-NOV-2005 18:22:01 * (CONNECT_DATA=(SID=XE)(CID=(PROGRAM=C:\BISopenXE\runtime\jvm\bin\java.exe)(HOST=ECKENFELS03)(USER=Eckenfel))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=3672)) * establish * XE * 0
04-NOV-2005 18:22:01 * (CONNECT_DATA=(SID=XE)(CID=(PROGRAM=C:\BISopenXE\runtime\jvm\bin\java.exe)(HOST=ECKENFELS03)(USER=Eckenfel))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=3673)) * establish * XE * 0
04-NOV-2005 18:22:01 * (CONNECT_DATA=(SID=XE)(CID=(PROGRAM=C:\BISopenXE\runtime\jvm\bin\java.exe)(HOST=ECKENFELS03)(USER=Eckenfel))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=3674)) * establish * XE * 0
04-NOV-2005 18:22:01 * (CONNECT_DATA=(SID=XE)(CID=(PROGRAM=C:\BISopenXE\runtime\jvm\bin\java.exe)(HOST=ECKENFELS03)(USER=Eckenfel))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=3675)) * establish * XE * 0
04-NOV-2005 18:22:02 * (CONNECT_DATA=(SID=XE)(CID=(PROGRAM=C:\BISopenXE\runtime\jvm\bin\java.exe)(HOST=ECKENFELS03)(USER=Eckenfel))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=3676)) * establish * XE * 0
04-NOV-2005 18:22:02 * (CONNECT_DATA=(SID=XE)(CID=(PROGRAM=C:\BISopenXE\runtime\jvm\bin\java.exe)(HOST=ECKENFELS03)(USER=Eckenfel))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=3677)) * establish * XE * 0
04-NOV-2005 18:22:02 * (CONNECT_DATA=(SID=XE)(CID=(PROGRAM=C:\BISopenXE\runtime\jvm\bin\java.exe)(HOST=ECKENFELS03)(USER=Eckenfel))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=3678)) * establish * XE * 0
04-NOV-2005 18:22:02 * (CONNECT_DATA=(SID=XE)(CID=(PROGRAM=C:\BISopenXE\runtime\jvm\bin\java.exe)(HOST=ECKENFELS03)(USER=Eckenfel))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=3679)) * establish * XE * 0
04-NOV-2005 18:22:02 * (CONNECT_DATA=(SID=XE)(CID=(PROGRAM=C:\BISopenXE\runtime\jvm\bin\java.exe)(HOST=ECKENFELS03)(USER=Eckenfel))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=3680)) * establish * XE * 0
04-NOV-2005 18:22:02 * (CONNECT_DATA=(SID=XE)(CID=(PROGRAM=C:\BISopenXE\runtime\jvm\bin\java.exe)(HOST=ECKENFELS03)(USER=Eckenfel))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=3682)) * establish * XE * 0
04-NOV-2005 18:22:02 * (CONNECT_DATA=(SID=XE)(CID=(PROGRAM=C:\BISopenXE\runtime\jvm\bin\java.exe)(HOST=ECKENFELS03)(USER=Eckenfel))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=3683)) * establish * XE * 0
04-NOV-2005 18:22:02 * (CONNECT_DATA=(SID=XE)(CID=(PROGRAM=C:\BISopenXE\runtime\jvm\bin\java.exe)(HOST=ECKENFELS03)(USER=Eckenfel))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=3684)) * establish * XE * 0
04-NOV-2005 18:22:03 * service_update * CLRExtProc * 0
04-NOV-2005 18:22:03 * (CONNECT_DATA=(SID=XE)(CID=(PROGRAM=C:\BISopenXE\runtime\jvm\bin\java.exe)(HOST=ECKENFELS03)(USER=Eckenfel))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=3685)) * establish * XE * 0
04-NOV-2005 18:22:03 * (CONNECT_DATA=(SID=XE)(CID=(PROGRAM=C:\BISopenXE\runtime\jvm\bin\java.exe)(HOST=ECKENFELS03)(USER=Eckenfel))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=3686)) * establish * XE * 0
04-NOV-2005 18:22:03 * (CONNECT_DATA=(SID=XE)(CID=(PROGRAM=C:\BISopenXE\runtime\jvm\bin\java.exe)(HOST=ECKENFELS03)(USER=Eckenfel))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=3687)) * establish * XE * 0
04-NOV-2005 18:22:03 * (CONNECT_DATA=(SID=XE)(CID=(PROGRAM=C:\BISopenXE\runtime\jvm\bin\java.exe)(HOST=ECKENFELS03)(USER=Eckenfel))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=3688)) * establish * XE * 0
04-NOV-2005 18:22:04 * (CONNECT_DATA=(SID=XE)(CID=(PROGRAM=C:\BISopenXE\runtime\jvm\bin\java.exe)(HOST=ECKENFELS03)(USER=Eckenfel))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=3689)) * establish * XE * 0
04-NOV-2005 18:22:04 * (CONNECT_DATA=(SID=XE)(CID=(PROGRAM=C:\BISopenXE\runtime\jvm\bin\java.exe)(HOST=ECKENFELS03)(USER=Eckenfel))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=3690)) * establish * XE * 12519
TNS-12519: TNS:no appropriate service handler found
04-NOV-2005 18:22:04 * service_update * xe * 0
In this case I have 18 conenctions in 4 seconds where the last one was rejected.
Anybody can help?
BerndThe system does not enforce a limit to the number of processes or sessions. You may change the parameters to meet your needs.
Do note that increasing either parameter will use more memory. The amount will be based on the application requirements so it's not possible to give a blanket answer to "how many before we use up the 1GB RAM limit?"
To determine your current per-process memory use, I recomend reading Tom Kyte's "Expert Oracle Database Architecture ..." (http://www.apress.com/book/bookDisplay.html?bID=10008) which will explain the numbers derived from the simple SQL statements. -
Pool cache exhausted ORA-12519 JDBC Driver configured. Quid for database ?
Hello,
I'm developping a java application (1.5) with threads (500). I'm using ojdbc14.jar to connect to my database (Oracle 10.2).
I'm using a pool (oracle.jdbc.pool.OracleConnectionCacheManager).
InitialLimit is 30.
MaxLimit is 100 for tests but production value isn't defined yet.
After 33 concurrents connections, my pool is exhausted.
OracleDataSource.getConnection() throws an SqlException with error code : ORA-12519: TNS:no appropriate service handler found.
So, I would like to configure database to allow more than 33 actives connections.
I searched inside listener.ora but found nothing. I'm loosing mysel inside data dictionnary and don't find nothing on www.oracle.com, forums.oracle.com or even google.
How can I configure properly database whether it is possible ?
Else what can I do to improve number of maximum connections.
I guess JDBC driver is limited by database configuration.
Thanks a lot.I am also facing a similar problem, can any one let me know how this can be addressed?
TIA,
-Sethu -
ORA-12519: TNS:no appropriate service handler found tips
i have faced this error when i am insert data by using for loop for 200 rows .
ORA-12519: TNS:no appropriate service handler found tips
i select the this query but how can i solve this problem.
select * from v$resource_limit where resource_name = 'processes';
RESOURCE_NAME CURRENT_UTILIZATION MAX_UTILIZATION LIMIT_VALUE
processes 148 150 150 i mean which value should i update.
regards
Ayham
Edited by: Ayham on Nov 28, 2012 9:57 PMAyham wrote:
i have faced this error when i am insert data by using for loop for 200 rows .What are you trying to do, can you plz post the process which u were trying to run..?
Also why do u want to update oracle parameters instead of solving the base issue.
Oracle docs note this about ORA-12519:
ORA-12519: TNS:no appropriate service handler found
Cause: The listener could not find any available service handlers that are appropriate for the client connection.
Action: Run "lsnrctl services" to ensure that the instance(s) have registered with the listener, and are accepting connections.
This is something about the error. Try the action point there.
Cheers,
Manik. -
ORA-01403: no data found Problem when using AUTOMATIC ROW FETCH to populate
ORA-01403: no data found Problem when using AUTOMATIC ROW FETCH to populate a form.
1) Created a FORM on EMP using the wizards. This creates an AUTOMATIC ROW FETCH
TABLE NAME - EMP
Item Containing PRIMARY KEY - P2099_EMPNO
Primary key column - EMPNO
By default the automatic fetch has a ‘Process Error Message’ of ‘Unable to fetch row.’
2) Created a HTML region. Within this region add
text item P2099_FIND_EMPNO
Button GET_EMP to submit
Branch Modified the conditional branch created during button creation to set P2099_EMPNO with &P2099_FIND_EMPNO.
If I then run the page, enter an existing employee number into P2099_EMPNO and press the GET_EMP button the form is populated correctly. But if I enter an employee that does not exist then I get the oracle error ORA-01403: no data found and no form displayed but a message at the top of the page ‘Action Processed’.I was expecting a blank form to be displayed with the message ‘Unable to fetch row.’
I can work around this by making the automated fetch conditional so that it checks the row exists first. Modify the Fetch row from EMP automated fetch so that it is conditional
EXIST (SQL query returns at least one row)
select 'x'
from EMP
where EMPNO = :P2099_EMPNO
But this means that when the employee exists I must be fetching from the DB twice, once for the condition and then again for the actual row fetch.
Rather than the above work around is there something I can change so I don’t get the Oracle error? I’m now wondering if the automatic row fetch is only supposed to be used when linking a report to a form and that I should be writing the fetch process manually. The reason I haven’t at the moment is I’m trying to stick with the automatic wizard generation as much as I can.
Any ideas?
Thanks PeteHi Mike,
I've tried doing that but it doesn't seem to make any difference. If I turn debug on it shows below.
0.05: Computation point: AFTER_HEADER
0.05: Processing point: AFTER_HEADER
0.05: ...Process "Fetch Row from EMP": DML_FETCH_ROW (AFTER_HEADER) F|#OWNER#:EMP:P2099_EMPNO:EMPNO
0.05: Show ERROR page...
0.05: Performing rollback...
0.05: Processing point: AFTER_ERROR_HEADER
I don't really wan't the error page, either nothing with the form not being populated or a message at the top of the page.
Thanks Pete -
I'm in the process of publishing the following note (134280.1), titled "How to Resolve ORA-29532 Java 2
Permission Problems in RDBMS 8.1.6 and 8.1.7".
It will be accessible from Oracle Support's "Metalink" site.
"How to Resolve ORA-29532 Java 2 Permission Problems in RDBMS 8.1.6 and 8.1.7".
Problem Description
Periodically an application running in the Enterprise Java Engine
(EJE) formerly known as the "Oracle 8i JVM", "the JSERVER component", or
the "Aurora JVM" will fail with a "java 2" permissions error having the
following format :
Note : Message shown below have been reformatted for easier readability.
java.sql.SQLException: ORA-29532: Java call terminated by uncaught Java exception:
usually followed by a detailed error message similar to one of the following
messages :
Example # 1
java.security.AccessControlException: the Permission
(java.net.SocketPermission hostname resolve)
has not been granted by dbms_java.grant_permission to
SchemaProtectionDomain(SCOTT|PolicyTableProxy(SCOTT))
Example # 2
java.security.AccessControlException: the Permission
(java.util.PropertyPermission * read,write)
has not been granted by dbms_java.grant_permission to
SchemaProtectionDomain(SCOTT|PolicyTableProxy(SCOTT))
Example # 3
java.security.AccessControlException: the Permission
(java.io.FilePermission \matt1.gif read)
has not been granted by dbms_java.grant_permission to
SchemaProtectionDomain(SCOTT|PolicyTableProxy(SCOTT))
Explanation
The java 2 permission stated in line # 2 of each of the above "Examples"
has not been granted to the user specified in line 4 of the above "Examples".
Solution Description
The methodology to solve this issue is identical for all java 2 permissions
cases.
1) Format a call "dbms_java.grant_permission" procedure as described below.
2) Logon as SYS or SYSTEM
3) Issue the TWO commands shown below
4) Logoff as SYS or SYSTEM
5) Retry your application
For Example # 1
1) Logon as SYS or SYSTEM
2) Issue the following commands :
a) call dbms_java.grant_permission('SCOTT',
'java.net.SocketPermission',
'hostname',
'resolve');
b) commit;
Note: Commit is mandatory !!
3) Logoff as SYS or SYSTEM
4) Retry your application
For Example # 2
1) Logon as SYS or SYSTEM
2) Issue the following commands :
a) call dbms_java.grant_permission('SCOTT',
'java.util.PropertyPermission',
'read,write');
b) commit;
Note: Commit is mandatory !!
3) Logoff as SYS or SYSTEM
4) Retry your application
For Example # 3
1) Logon as SYS or SYSTEM
2) Issue the following commands :
a) call dbms_java.grant_permission('SCOTT',
'java.io.FilePermission',
'\matt1.gif',
'read');
b) commit;
Note: Commit is mandatory !!
3) Logoff as SYS or SYSTEM
4) Retry your application
References
For more details on java 2 permissions and security within the EJE, review
Chapter 5, in the Java Developer's Guide. entitled,
"Security For Oracle8i Java Applications"
The RDBMS 8.1.7 version can be found at :
http://otn.oracle.com/docs/products/oracle8i/doc_library/817_doc/java.817/index.htmHi, Don,
I solved the problem of security exception I mentioned at java procedure topic as following:
ORA-29532: Java call terminated by uncaught Java exception: java.lang.SecurityException
I tried to use your solution as following:
call dbms_java.grant_permission('SDE', 'java.net.SocketPermission', 'ORCL.COHPA.UCF.EDU','resolve');
but SQL*plus gave me a error message:
invalid collumn.
What's the problem?
However, I call a grant command as following:
SQL> grant JAVASYSPRIV to sde;
and then that exception is gone. What's the difference between dbms_java.grant_permission and grant command?
Thanks
Bing
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by don -- oracle support:
I'm in the process of publishing the following note (134280.1), titled "How to Resolve ORA-29532 Java 2
Permission Problems in RDBMS 8.1.6 and 8.1.7".
It will be accessible from Oracle Support's "Metalink" site.
"How to Resolve ORA-29532 Java 2 Permission Problems in RDBMS 8.1.6 and 8.1.7".
Problem Description
<HR></BLOCKQUOTE>
null -
ORA-12519, TNS:no appropriate service handler found on OdiSqlUnload
Hi all,
I'm using OdiSqlUnload in a target code of a procedure, where the output of the source code is the parameter.I'm using the source connection as parameters to the target connections:
OdiSqlUnload "-FILE=#filename" "-DRIVER=<%=odiRef.getInfo("SRC_JAVA_DRIVER")%>" "-URL=<%=odiRef.getInfo("SRC_JAVA_URL")%>" "-USER=<%=odiRef.getInfo("SRC_USER_NAME")%>" "-PASS=<%=odiRef.getInfo("SRC_ENCODED_PASS")%>" -FILE_FORMAT=variable "-FIELD_SEP=," "-ROW_SEP=;" "-DATE_FORMAT=yyyyMMddHHmmss"
It loops ok for a few times but then I get ORA-12519, TNS:no appropriate service handler found error.
Do you have an idea, or do you think the best way to export the data to csv using regular IKMs?
NimrodSource:
SELECT mvno_id, mvno_name
FROM (SELECT DISTINCT mvno_id, mvno_name
FROM <?=snpRef.getObjectName("L", "COS_TO_MVNO", "ODI_USER", "", "D") ?>
WHERE EXISTS
(SELECT 1
FROM <?=snpRef.getObjectName("L", "CDRS_TO_EXPORT", "ODI_USER", "", "D") ?>
WHERE CDRS_TO_EXPORT.mvno_id = COS_TO_MVNO.mvno_id))
Target:
OdiSqlUnload "-FILE=#V_BASE_DIR/#MVNO_NAME/gprs/GPRS_#WHOLESALE_SEQ_NEXTVAL.csv" "-DRIVER=<%=odiRef.getInfo("SRC_JAVA_DRIVER")%>" "-URL=<%=odiRef.getInfo("SRC_JAVA_URL")%>" "-USER=<%=odiRef.getInfo("SRC_USER_NAME")%>" "-PASS=<%=odiRef.getInfo("SRC_ENCODED_PASS")%>" -FILE_FORMAT=variable "-FIELD_SEP=," "-ROW_SEP=;" "-DATE_FORMAT=yyyyMMddHHmmss" "-DATE_FORMAT=yyyyMMddHHmmss"
WITH Samso_NPA_NXX_VH
AS (SELECT HOME_SID, npa, nxx
FROM <?=snpRef.getObjectName("L", "SAMSON_NPA_NXX_VH", "REPORT", "", "D") ?>
WHERE expiration_date IS NULL)
SELECT Event_Parameter1,
#MVNO_ID,
wholesale_seq.NEXTVAL,
event_parameter14,
event_parameter17,
Answer_Time,
Event_Parameter18,
Event_Parameter15,
(SELECT HOME_SID
FROM Samso_NPA_NXX_VH
WHERE NPA || NXX = SUBSTR (Event_Parameter17, 0, 6)),
NULL,
Event_Parameter19,
NULL,
NULL,
Event_Parameter5,
Event_Parameter13,
NULL,
Event_Parameter4,
PRICE_ITEM_ID1,
Event_Parameter5 * Event_Parameter14,
Event_Parameter4,
Event_Parameter23,
Event_Parameter20,
Event_Parameter21,
BILLING_NUMBER,
transaction_time,
Event_Parameter24,
Event_Parameter22
FROM <?=snpRef.getObjectName("L", "CDR_PARTITIONED", "USAGE", "", "D") ?>, <?=snpRef.getObjectName("L", "CDRS_TO_EXPORT", "ODI_USER", "", "D") ?>
WHERE UPPER (Event_Parameter1) = 'DATA'
AND <?=snpRef.getObjectName("L", "CDR_PARTITIONED", "USAGE", "", "D") ?>.transaction_time =
<?=snpRef.getObjectName("L", "CDRS_TO_EXPORT", "ODI_USER", "", "D") ?>.day
AND <?=snpRef.getObjectName("L", "CDR_PARTITIONED", "USAGE", "", "D") ?>.SERVER_ID =
<?=snpRef.getObjectName("L", "CDRS_TO_EXPORT", "ODI_USER", "", "D") ?>.SERVER_ID
AND <?=snpRef.getObjectName("L", "CDR_PARTITIONED", "USAGE", "", "D") ?>.SYS_DR_NUMBER =
<?=snpRef.getObjectName("L", "CDRS_TO_EXPORT", "ODI_USER", "", "D") ?>.sys_dr_number
AND <?=snpRef.getObjectName("L", "CDR_PARTITIONED", "USAGE", "", "D") ?>.parent =
<?=snpRef.getObjectName("L", "CDRS_TO_EXPORT", "ODI_USER", "", "D") ?>.parent
AND <?=snpRef.getObjectName("L", "CDR_PARTITIONED", "USAGE", "", "D") ?>.child_index =
<?=snpRef.getObjectName("L", "CDRS_TO_EXPORT", "ODI_USER", "", "D") ?>.child_index
AND <?=snpRef.getObjectName("L", "CDR_PARTITIONED", "USAGE", "", "D") ?>.BILL_CYCLE_ID =
<?=snpRef.getObjectName("L", "CDRS_TO_EXPORT", "ODI_USER", "", "D") ?>.bill_cycle_id
AND <?=snpRef.getObjectName("L", "CDR_PARTITIONED", "USAGE", "", "D") ?>.LRE_ID =
<?=snpRef.getObjectName("L", "CDRS_TO_EXPORT", "ODI_USER", "", "D") ?>.lre_id
AND <?=snpRef.getObjectName("L", "CDRS_TO_EXPORT", "ODI_USER", "", "D") ?>.mvno_id = #MVNO_ID -
Hi,
Am on 11.5.10.2
DB 9.0.2.0.6
Multinode - node 1 - Apps
node 2 DB
we are upgrading our DB 926 to 1024.
While applying INTEPO 4653225 for 11i .. worker fails with ERROR:ORA-12519: Message 12519 not found; product=RDBMS; facility=ORA
I can ping DB .....
sqlplus also working fine ..........
ThanksHi,
What is the OS?
Is this a RAC?
Please post the complete error message from the worker log file.
Since you can login using sqlplus and you can tnsping the database, please try to bounce the listener then restart the failed worker via adadmin and see if it works.
Also, check the database log file for any details about the error.
Thanks,
Hussein -
hi,
i am getting the following error
ORA-12519, TNS:no appropriate service handler found
The Connection descriptor used by the client was:
192.168.3.23:1521:SCGDB
can anyone help me
Thanks in advance..
Edited by: 944090 on Jul 30, 2012 2:18 AMORA-12519, TNS:no appropriate service handler found
$ oerr ora 12519
12519, 00000, "TNS:no appropriate service handler found"
// *Cause: The listener could not find any available service handlers that
// are appropriate for the client connection.
// *Action: Run "lsnrctl services" to ensure that the instance(s) have
// registered with the listener, and are accepting connections.
$ -
ORA-12519, TNS:no appropriate service handler found Please solve
Dear Experts,
Please solve this Error
ORA-12519, TNS:no appropriate service handler foundHi,
Please check weather the remote server is runing
Rg
Sak -
Constantly facing JBO-26061, ORA-12519, ORA-12516
Hi,
I am using Jdev 11.1.1.2.0 with ADF 11g.
I am constantly facing JBO-26061, ORA-12519, ORA-12516 errors. I have tried many things like
1. Increasing the connection pool size
2. Defining locking mechanism as 'optimistic'
3. Changed Inactive connection timeout to 180
There is no code of opening a txn, but there is a code where I call getDBTransaction method on a VOImpl, but only where needed.
Many times application suddenly becomes creeping slow.
Can any one help or give clues? Need to get this resolved desparately.I suggest if you're desperate, lodge an SR with Oracle Support. Relying on a public forum for instant help is a recipe for no-progress-anytime-soon.
CM. -
ORA-12519...shared/dedicated
Hi,
I installed oracle 10g express edition. I need to access the database from two machines using different users. However, the second user can not access the database and get the following error:
Caused by: java.sql.SQLException: [tibcosoftwareinc][Oracle JDBC Driver][Oracle]
ORA-12519 The listener could not find any available service handlers that are ap
propriate for the client connection. One possible cause for this error is that t
he server was not configured for the specified server type (shared/dedicated).
I have read the documentation on http://download-uk.oracle.com/docs/cd/B14117_01/server.101/b10739/manproc.htm.
I have tried the following:
1. Change (SERVER = DEDICATED) to (SERVER = SHARED) in tnsnames.ora.
2. Change
dispatchers="(PROTOCOL=TCP) (SERVICE=XE)(DISPATCHERS=50)"
shared_servers=50
in
SPFILE='C:\oraclexe\app\oracle\product\10.2.0\server\dbs/spfileXE.ora' (This line is in initXE.ora).
But I still get the same error. What could be the issue?
Thank you for your help in advance.
ShuwenThis should work with dedicated servers, you don't need to setup shared servers. Check that the XE instance has registered against the listener, and it allows incoming connections. This could be due to another reason different from the connectivity issue. Check the alertXE.log and find out if there are other error messages listed there.
~ Madrid
Maybe you are looking for
-
Apple Mini-DVI to Video Adapter - Can't get it to work!
Bought the Apple Mini-DVI to Video Adapter to hook up my Macbook to my TV. I tried it when it first arrived and it worked within minutes of setting up. Great! I go to set it up and use it again a week later, and it wouldn't work at all. I went throug
-
Can you choose unlimited messaging package anymore for new contracts?
hi, my verizon contract is up next month so i was planning which phone i want next... i was wondering if it's possible to do this though. right now i'm just on an unlimited text plan, no minutes. is there an option to do that still? i tried picking o
-
Couldnt predict the error..
Hi friends, I configured email with APEX 4.0 for sending mail from APEX... I have obtained this successfully only for a quite period of time... These are my SMTP host address : 172.16.1.45 and port 25.. These are the settings that i have done before,
-
i was told i could connect my USB wireless internet card to my time capsule, i created the network and need help figuring out how to get internet with the USB card.
-
Hi all, I have created a Z alert (same like followup) in alert profile which is getting triggered after 20-25 minutes. I have checked bellow services in SICF, they are all active. 1)crm_ic 2)crm_ic_rt_rep 3)crm_ic_dt_rep 4)crm_ic_f1_bsp 5)sam_sess_qu