Maximum number of cursor exceeded error
Hi,
We are using OCI with C++ client/server application. I need to know is there any way to close the cursor explicitly which was created implicitly when a Oracle statment prepared and executed. I am not sure what was the reason the cursor opened implicitly was not closed and because of this at some point of time the application needs to be closed as we are getting Maximum open cursor error and not able to perform any DB operations using application.
Thanks in advance
Sureshbabu
it's the time to consult ur DBA. i got the same problem( "Maximum open cursor error ") long back when i was updating more than thousands of rows from PL/SQL code.
There is a parameter to reset maximum no. of open cursors. i think this limit is per transaction/Time. Before u change that u should know the no. of updates u r performing.
then reset the parameter with the no. of updates u r performing.
for more info. search that error code in google.
Similar Messages
-
Maximum Open cursor Exceeded error when deleting records from a table
I have a strange problem.
I have a table EMP_MASTER . Whenever I am trying to delete a record from this table, I am getting Maximum no. of open cursor exceeded error. But this error doesnot come when i delete from any other tables. And no. of open cursor is much lesser than OPEN_CURSOR parameter.
All other tables (around 700) has foreign key constraint to this EMP_MASTER table for created_user paramater.
Is it some thing like, when I am trying to delete a record from EMP_master, implicit cursor opens up and checks all referenced tables. and that limit gets exceeded ?
Please help.
Thanks,
RajRaji03 wrote:
There is no trigger defined for this table.
Is there a limit on which no.of references made to a column ? Because one column in this field, Emp no is being referenced in almost every other table. around 700 tables. Will it have any adverse effect ?That should have nothing to do with your problem directly. Again, those tables could have triggers defined on them and you are leaking cursors in one of those triggers (wild guess).
An example of a table with many many others foreign key'd to it.
create table parent_of_everything
column1 number primary key
insert into parent_of_everything select level from dual connect by level <= 1000;
commit;
--create 1000 tables all with foreign keys to the parent_of_everything
begin
for i in 1 .. 1000
loop
execute immediate 'create table child_' || i || ' (column1 number, column2 number, constraint child_' || i || '_fk foreign key (column1) references parent_of_everything (column1) on delete cascade)';
execute immediate 'insert into child_' || i || ' select level, mod(level, ' || i || ') from dual connect by level <= 1000';
commit;
end loop;
end;
TUBBY_TUBBZ?delete parent_of_everything;
1000 rows deleted.
Elapsed: 00:02:53.03No problems were had (none were expected).
Cleanup script.
--remove the 1000 child tables
begin
for i in 1 .. 1000
loop
begin
execute immediate 'drop table child_' || i || ' purge';
exception when others
then
null;
end;
end loop;
end;
/ -
ORA-01000: maximum open cursors exceeded--Error
Hi
What is "ORA-01000: maximum open cursors exceeded" error,How to solve.
Thanks
MisebaHi
ORA-01000: maximum open cursors exceeded
Other terms
Oracle, open cursors, exchange infrastructure
Reason and Prerequisites
The parameter "open_cursors" is set too low. Long transactions, such as imports, may use up all available cursors and fail.
Solution :
THIS NOTE APPLIES TO XI 3.0 SP2 ONLY **
if you encounter an exception that reports "ORA-01000: maximum open cursors exceeded" please adjust the open_cursors parameter as follows:
If the BR*Tools exist on your system:
1] directory: /usr/sap/<SID>/SYS/exe/run
2] "brspace -c force -f dbparam -a change -p open_cursors -v 100000"
3] directory: $ORACLE_HOME/dbs (Unix) or %ORACLE_HOME%/database (Win)
4] change open_cursors parameter in init<SID>.ora to 100000
If the BR*Tools are not available (2] above - command not found)
1] change the open_cursors parameter as in 4] above
2] restart DB, for changes to take effect. _ NOTE: This problem has been fixed with XI 3.0 SP3 (see note 735078)
Plz asign points if helpfull.
Regards
Padmanabha -
ORA-Error: Maximum number of Processes exceeds
Hi,
Today we got one Oracle error: Maximum number of Processes exceeds while connects to our Oracle Database.
We have application running on our DB, which have 50 threads running and making connection to Oracle Schema.
In our init.ora file the Processes Parameter is set to 50.
But we also have another init<Schema Name>.ora file which has Processes Parameter as 50.
When I search on this error, I got that it is due to no. of user processes on Oracle instance.
What are these user processes exactly?
If we set the Processes Parameter as 150, and we have RAC environment with 3 Cluster, does it means we have 150*3 processes can run at a time.
The other doubt I have is that: Is this parameter is instance based, SID based or cluster based?
Please provide some input on this.
Thanks in Advance.
Manoj MacwanIf you don't issue
alter system set processes=150 scope=both sid='<your instance 1>'
all instances will be allowed to fork 150 processes.
The other poster is incorrect.
Sybrand Bakker
Senior Oracle DBA -
Maximum number of cursors excedeed
We have an application that runs Weblogic Server 6.1sp1 with Oracle
Thin Driver on Oracle8.1.7. There's a stateless session bean that calls
a stored procedure which returns a cursor, than fetches the rows using
the cursor and then cleanly closes everything ( statements, results
sets, connection ). After restarting the application server for the
first 5 calls it appears that the cursor is not closed. Everything works
fine then for almost 7500 calls, the same input data, everything is
allocated and realeased cleanly. After 7500 calls when the memory
becomes a little scarce, all of a sudden the cursors are not closed, the
same method that has worked perfectly so far, now it fails to close the
cursors. The number of cursors constantly goes up until it reaches the
maximum number of opened cursors when, sadly, it crashes miserably with
ExceptionsUsingSP--:Exception:ORA-01000: maximum open cursors exceeded.
Does anybody have any idea about how I could fix this ?
Thank you,
Horea
PS I'm using the following statement to get the number of opened
cursors:
select a.value, b.name from v$mystat a, v$statname b
where a.statistic# = b.statistic# and a.statistic#= 3You are right that you are retriving and closing the cursor ! I can't tell
you the exact cause of this.
We ran into similar issue when we did the same thing . And the only
conclusion I came across is that I was ceating a new CallableStatment in the
loop everytime.
So, what we did is that we created the CallableStatement object only
once. And than we did the looping to set its value and execute it.
Also this gave us a very significant performance improvement.
try it ,
thanks,
Prashant
but the callable statement is released in the end, right ? cs.close()
should
do this !!! And if you read the whole story it is closed for the first
thousand calls, then it happens not to be closed.
"Jeetendra Talreja" <[email protected]> wrote in message
news:[email protected]...
You are creating a new callable statement object with every call to this
method. That is what I think causes the MAXIMUM NO OF CURSORS EXCEEDED.
Create the callable statement ONLY once and then you can execute the
statement by supplying different parameters.
Follow these steps:
1. create callable statement once.
2. set parameters, execute, got the resultset.
3. set parameters, execute, got the resultset.
and you can go on and on.
Thanks
public List _getAllResourceOptionsUsingSP(RGQueryData qd, boolean
onlyFirstOne) throws RGException
Connection conn = null;
CallableStatement cs = null;
ResultSet cursor = null;
RGData rgData = null;
RGCarrierData rgCarrierData = null;
ArrayList list = new ArrayList();
ArrayList carrierDataList = null;
int laneId = NullDef.NULL_INT, laneHierarchy = NullDef.NULL_INT;
Vector idVector = new Vector();
List excludedIdList = qd.getLaneIdList();
RGDebugLog.logLow("RGRetrievalJDBCAccessor:getAllResourceOptionsUsingSP\n"
+ "qd:" + qd);
try
conn = OFRDef.CONNECTION_CREATOR.createConnection();
RGDebugLog.logLow("RGRetrievalJDBCAccessor:getAllResourceOptionsUsingSP\n"+
>
"query data: " + qd);
cs = conn.prepareCall( GET_RESOURCE_OPTION_SP );
cs.setInt(1, qd.getTcCompanyId()); //coid IN
rg_lane.tc_company_id%TYPE,
cs.setString(2, qd.getBusinessUnit()); //buid IN
rg_lane.business_unit%TYPE,
cs.setInt(3, qd.getOFacilityId()); //ofacid IN
rg_lane.o_facility_id%TYPE,
cs.setString(4, qd.getOCity()); //ocity IN rg_lane.o_city%TYPE,
cs.setString(5, qd.getOCounty()); //ocnty IN rg_lane.o_county%TYPE,
cs.setString(6, qd.getOStateProv()); //ost IN
rg_lane.o_state_prov%TYPE,
cs.setString(7, qd.getOPostalCode()); //ozip IN
rg_lane.o_postal_code%TYPE,
cs.setString(8, qd.getOCountryCode()); //ocountry IN
rg_lane.o_country_code%TYPE,
cs.setInt(9, qd.getDFacilityId()); //dfacid IN
rg_lane.d_facility_id%TYPE,
cs.setString(10, qd.getDCity()); //dcity IN rg_lane.d_city%TYPE,
cs.setString(11, qd.getDCounty()); //dcnty IN rg_lane.d_county%TYPE,
cs.setString(12, qd.getDStateProv()); //dst IN
rg_lane.d_state_prov%TYPE,
cs.setString(13, qd.getDPostalCode()); //dzip IN
rg_lane.d_postal_code%TYPE,
cs.setString(14, qd.getDCountryCode()); //dcountry IN
rg_lane.d_country_code%TYPE,
cs.setDate(15, new java.sql.Date(qd.getKeyDTTM().getTime())); //idttm
IN DATE,
cs.setString(16, qd.getRgQualifer()); //rgq IN
rg_lane.rg_qualifier%TYPE,
cs.setString(17, qd.getCarrierCode()); //ccode IN
rg_lane_dtl.carrier_code%TYPE,
cs.setString(18, qd.getMot()); //mot IN rg_lane_dtl.mot%TYPE,
cs.setString(19, qd.getEquipmentCode()); //equip IN
rg_lane_dtl.equipment_code%TYPE,
cs.setString(20, qd.getServiceLevel()); //sl IN
rg_lane_dtl.carrier_code%TYPE,
cs.setString(21, qd.getProtectionLevel()); //pl IN
rg_lane_dtl.carrier_code%TYPE,
cs.registerOutParameter(22, OracleTypes.CURSOR); //rs_option_refcur
OUT rs_option_curtype
boolean b = cs.execute();
cursor = (ResultSet)cs.getObject(22);
if(cursor!=null)
while (cursor.next())
laneId = cursor.getInt("lane_id");//rl.lane_id,
laneHierarchy = cursor.getInt("lane_hierarchy");//lane hierarchy
rgCarrierData = new RGCarrierData();
rgData.setLaneId(laneId);//rl.lane_id,
rgData.setLaneHierarchy(laneHierarchy);//lane_hierarchy,
catch(Exception e)
RGDebugLog.logException( e );
throw new
RGException("RGRetrievalJDBCAccessor:getAllResourceOptionsUsingSP--:Exceptio
>
n:" + e.getMessage());
finally
try
if (cursor != null)
cursor.close();
if (cs != null)
cs.close();
if (conn != null)
conn.close();
catch(Exception e)
throw new
RGException("RGRetrievalJDBCAccessor:getAllResourceOptionsUsingSP--:Exceptio
>
n:" + e.getMessage());
return list;
----- Original Message -----
From: "Jeetendra Talreja" <[email protected]>
To: <[email protected]>
Sent: Monday, January 21, 2002 10:10 AM
Subject: Re: Maximum number of cursors excedeed
>
Can You send the block of code that is executing the callable statement.We
had similar problems with Prepared Statements, It used to fail after
exceuting about 100 statements with the same error. And we realised
there
>
was a problem in the code.
Thanks
Jeetendra
"Horea Raducan" <[email protected]> wrote in message
news:<[email protected]>...
We have an application that runs Weblogic Server 6.1sp1 with Oracle
Thin Driver on Oracle8.1.7. There's a stateless session bean that
calls
>
a stored procedure which returns a cursor, than fetches the rows using
the cursor and then cleanly closes everything ( statements, results
sets, connection ). After restarting the application server for the
first 5 calls it appears that the cursor is not closed. Everything
works
>
fine then for almost 7500 calls, the same input data, everything is
allocated and realeased cleanly. After 7500 calls when the memory
becomes a little scarce, all of a sudden the cursors are not closed,
the
>
same method that has worked perfectly so far, now it fails to closethe
>
cursors. The number of cursors constantly goes up until it reaches the
maximum number of opened cursors when, sadly, it crashes miserably
with
>
ExceptionsUsingSP--:Exception:ORA-01000: maximum open cursorsexceeded.
>
Does anybody have any idea about how I could fix this ?
>
Thank you,
Horea
>
PS I'm using the following statement to get the number of opened
cursors:
select a.value, b.name from v$mystat a, v$statname b
where a.statistic# = b.statistic# and a.statistic#= 3
>
>
"Horea Raducan" <[email protected]> wrote in message
news:[email protected]...
How come the same code closes all the cursors for 7500 calls with the
same
input
data and then all of a sudden it doesn't. Thank you for your effort but
it
wasn't very helpful.
Slava Imeshev wrote:
So this mean you don't close objects properly. Check your code.
Regards,
Slava Imeshev
"Horea Raducan" <[email protected]> wrote in message
news:[email protected]...
It helps, it takes longer to crash ;))) but it doesn't solve the
problem.
Slava Imeshev wrote:
Hi Horea,
Did you try increasing this parameter, anyway?
Regards,
Slava Imeshev
"Horea Raducan" <[email protected]> wrote in message
news:[email protected]...
The OPNE_CURSORS is 300. In a normal run that should be enough (
there
no
more
that 13, 14 cursors opened ). The weird behaviour starts after I
stress
heavilly the application.
Slava Imeshev wrote:
Hi Horea,
If you're absolutely sure you don't loose
cursors due to improper closing of JDBC
objects, try increasing oracle parameter
OPEN_CURSORS.
Regards,
Slava Imeshev
"Horea Raducan" <[email protected]> wrote in message
news:[email protected]...
We have an application that runs Weblogic Server 6.1sp1
with
Oracle
Thin Driver on Oracle8.1.7. There's a stateless session bean
that
calls
a stored procedure which returns a cursor, than fetches the
rows
using
the cursor and then cleanly closes everything ( statements,results
sets, connection ). After restarting the application server
for
the
first 5 calls it appears that the cursor is not closed.
Everything
works
fine then for almost 7500 calls, the same input data,
everything
is
allocated and realeased cleanly. After 7500 calls when the
memory
becomes a little scarce, all of a sudden the cursors are notclosed,
the
same method that has worked perfectly so far, now it fails
to
close
the
cursors. The number of cursors constantly goes up until it
reaches
the
maximum number of opened cursors when, sadly, it crashes
miserably
with
ExceptionsUsingSP--:Exception:ORA-01000: maximum open
cursors
exceeded.
Does anybody have any idea about how I could fix this ?
Thank you,
Horea
PS I'm using the following statement to get the number of
opened
cursors:
select a.value, b.name from v$mystat a, v$statname b
where a.statistic# = b.statistic# and a.statistic#= 3 -
Folks,
Hello. I have installed PeopleTools 8.53 with Oracle Linux 5.10 successfully. The entire PeopleTools runs correctly in browser at the beginning.
After I set up HCM and Campus Solution 9.0 Database Instance named HRCS90 in Linux successfully, PeopleTools 8.53 Database Instance PT853 cannot be mounted. Its error message is below:
SQL> startup
ORACLE instance started.
Total System Global Area 538677248 bytes
Fixed Size 2146024 bytes
Variable Size 528482584 bytes
Database Buffers 4194304 bytes
Redo Buffers 3854336 bytes
ORA-00059: maximum number of DB_FILES exceeded
In the file /home/user/OracleDB_Home/dbs/initPT853.ora, its parameter db_files has 3 values: small 400, medium 1021 and large 1500. The initial value is 1021 and it works correctly at the beginning. But after set up another instance HRCS90, the above error message comes up and instance PT853 cannot mounted. I change the value of db_files from 1021 to 1500 in the file initPT853.ora and restart OS Linux. But get the same error as below:
SQL> startup
ORACLE instance started.
Total System Global Area 538677248 bytes
Fixed Size 2146024 bytes
Variable Size 528482584 bytes
Database Buffers 4194304 bytes
Redo Buffers 3854336 bytes
ORA-00059: maximum number of DB_FILES exceeded
In the file /home/user/OracleDB_Home/dbs/initHRCS90.ora, its parameter db_files has 3 values: small 80, medium 400 and large 1500. I use db_files=400 and it works correctly. I start up instance HRCS90 right after the above error message as below:
SQL> shutdown immediate
ORA-01507: database not mounted
ORACLE instance shut down.
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
[user@userlinux bin]$ export ORACLE_SID=HRCS90
[user@userlinux bin]$ ./sqlplus / as sysdba
SQL*Plus: Release 11.1.0.6.0 - Production on Sat Nov 23 12:40:02 2013
Copyright (c) 1982, 2007, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Total System Global Area 538677248 bytes
Fixed Size 2146024 bytes
Variable Size 528482584 bytes
Database Buffers 4194304 bytes
Redo Buffers 3854336 bytes
Database mounted.
Database opened.
SQL> select * from psdbowner;
DBNAME OWNERID
HRCS90 MYNAME
SQL>
As we see above, the instance HRCS90 works corretly and PT853 cannot start up. The parameter DB_FILES of the file initPT853.ora has an issue.
My question is:
Because 1021 and 1500 are not enough to startup instance PT853, what value should be used for DB_FILES of the file initPT853.ora ?
Thanks.user8860348 wrote:
Folks,
Hello. I have installed PeopleTools 8.53 with Oracle Linux 5.10 successfully. The entire PeopleTools runs correctly in browser at the beginning.
After I set up HCM and Campus Solution 9.0 Database Instance named HRCS90 in Linux successfully, PeopleTools 8.53 Database Instance PT853 cannot be mounted....
I'm sorry, but I don't understand what does "Instance" mean here.
>In the file /home/user/OracleDB_Home/dbs/initPT853.ora, its parameter db_files has 3 values: small 400, medium 1021 and large 1500.
Are you not using a spfile ? Does the file contain really the 3 values ? What is the last ? Have you checked the value in the database side "show parameter db_files" ?
>But after set up another instance HRCS90, the above error message comes up and instance PT853 cannot mounted
Again, I have no idea what it means.
>In the file /home/user/OracleDB_Home/dbs/initHRCS90.ora, its parameter db_files has 3 values: small 80, medium 400 and large 1500. I use db_files=400 and it works correctly.
Again, 3 values ? What is the last ? Have you checked the value in the database side "show parameter db_files" ?
>As we see above, the instance HRCS90 works corretly and PT853 cannot start up. The parameter DB_FILES of the file initPT853.ora has an issue.
Again, I don't understand what are HRCS90 and PT853 exactly. Cannot help.
>Because 1021 and 1500 are not enough to startup instance PT853, what value should be used for DB_FILES of the file initPT853.ora ?
I'm sure, you don't have an issue with this parameter, 1500 files in the database is quite huge number. I built a demo recently, the default value 1021 was ok for me. You should have done something wrong somewhere.
Nicolas. -
Cloning problem: ORA-00059: maximum number of DB_FILES exceeded
Hi everyone!
I'm trying to clone our data warehouse over an existing test instance, DMART01. Here's what I did:
1. on the data warehouse - alter database backup controlfile to trace;
2. edited the trace file to change the db name and path of the datafiles
3. logon to sqlplus in DMART01 and run my altered trace file.
4. Below is the error I'm getting:
SQL> @clone09142009.sql
ORACLE instance started.
Total System Global Area 1358954496 bytes
Fixed Size 2128280 bytes
Variable Size 1203668584 bytes
Database Buffers 150994944 bytes
Redo Buffers 2162688 bytes
CREATE CONTROLFILE REUSE SET DATABASE "DMART01" RESETLOGS NOARCHIVELOG
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-00059: maximum number of DB_FILES exceeded
ORA-01110: data file 211:
'/data/oracle/dmart01/d05/oracle/dmart01data/DW_PROD_MEDIUM11.dbf'
In my trace file it has
CREATE CONTROLFILE REUSE SET DATABASE "DMART01" RESETLOGS NOARCHIVELOG
MAXLOGFILES 16
MAXLOGMEMBERS 2
MAXDATAFILES 500
MAXINSTANCES 1
MAXLOGHISTORY 1816
Additional information - the data warehouse has an entire tablespace with many datafiles that I don't want in DMART01. I edited those datafile lines out of my trace file. Could some remnants of that be causing my problems? The DB_FILES parameter in the warehouse is set to 500. In DMART01 it's only 200. In the clone, I only want to bring over 61 datafiles. Besides, I thought that in the create controlfile statement would set the parameter, in this case to 500.
I'm stumped. Any suggestions?
Thanks!
SharonI answered my own question. If anyone is curious, here's what I did:
in DMART01
1. startup nomount;
2. create pfile from spfile;
3. shutdown immediate;
4. edited pfile to have dw_files=500
5. startup nomount pfile=initDMART01.ora;
6. create spfile from pfile;
7. shutdown immediate;
8. @clone09142009.sql -
PAB maximum number of entries exceeded
Hi, we are an ISP and some user say he's having the message "maximum number of entries exceeded" when tries to create a new contact in his address book in webmail.
I did my research and find my user has 500 contacts and also find that using "configutil" to modify the parameter local.service.pab.maxnumberofentries can solve the problem
So i did it:
/jes/bin/SUNWmsgsr/sbin/configutil -o local.service.pab.maxnumberofentries -v 1000
Now if i tipe
/jes/bin/SUNWmsgsr/sbin/configutil -o local.service.pab.maxnumberofentries
I get
1000
The i restarted LDAP:
/jes/bin/SUNWldap/slapd-users/restart-slapd
Then refreshed the instances by tipping:
/jes/bin/SUNWmsgsr/sbin/refresh
Refreshing store server 787 ... done
Refreshing imap server 788 ... done
Refreshing pop server 789 ... done
Refreshing http server 790 ... done
Refreshing sched server 791 ... done
Then i restarted webmail and nothing seems to happens because the user stills getting the same error when trying to create another contact: "maximum number of entries exceeded"
What am i missing? what am i doing wrong?
Thanks for the helprpocamilo wrote:
So it hanged out and says timeout and i had to do kill -9 Please note that if a store process hangs (imapd/ims-master/imexpire/stored/popd and mshttpd in MS6.2 and below) and you need to manually kill it (e.g. as you have above) then you must restart the entire store otherwise orphan database locks will be left behind and you will find that users will have trouble accessing accounts and store utilities can hang etc.
So you need to run:
./stop-msg; ./start-msgRegards,
Shane. -
Login issues with xelsysadm along with ORA-01000 (cursor exceeded) error
Hi,
I am facing an strange problem.
Because of below error i am facing an intermitant issues for login to OIM web console and Design console with user xelsysadm. Some time the login in successfull else the error is generated.
For the error -- ORA-01000: maximum open cursors exceeded
We had talked to DB team an increased the cursor limit from 300 to 800. But still the same issue.
So, let me know whether this can be resolved if i take bounce of the web logic server or there is some other solution?
Thanks in advance and some respond ASAP as this is production server and this issue need to be resolved soon.
Getting below errors in the system:
ERROR,20 Apr 2011 08:35:19,613,[XELLERATE.WEBAPP],Class/Method: tcLogonAction/execute encounter some problems: User account is invalid. Username: xelsysadm
ERROR,20 Apr 2011 08:40:00,056,[XELLERATE.ACCOUNTMANAGEMENT],Class/Method: Authenticate/connect encounter some problems: ORA-01000: maximum open cursors exceeded
java.sql.SQLException: ORA-01000: maximum open cursors exceeded
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:112)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:173)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1030)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:785)
at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:860)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1186)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3381)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3425)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1490)
at com.thortech.xl.security.Authenticate.getPropertyValue(Authenticate.java:459)
at com.thortech.xl.security.Authenticate.connect(Authenticate.java:117)
at com.thortech.xl.security.Authenticate.connect(Authenticate.java:71)
at com.thortech.xl.security.wl.XellerateLoginModuleImpl.login(XellerateLoginModuleImpl.java:159)
at com.bea.common.security.internal.service.LoginModuleWrapper$1.run(LoginModuleWrapper.java:110)
at java.security.AccessController.doPrivileged(Native Method)
at com.bea.common.security.internal.service.LoginModuleWrapper.login(LoginModuleWrapper.java:106)
at sun.reflect.GeneratedMethodAccessor7737.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
at com.bea.common.security.internal.service.JAASLoginServiceImpl.login(JAASLoginServiceImpl.java:113)
at sun.reflect.GeneratedMethodAccessor132.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.common.security.internal.utils.Delegator$ProxyInvocationHandler.invoke(Delegator.java:57)
at $Proxy16.login(Unknown Source)
at weblogic.security.service.internal.WLSJAASLoginServiceImpl$ServiceImpl.login(Unknown Source)
at com.bea.common.security.internal.service.JAASAuthenticationServiceImpl.authenticate(JAASAuthenticationServiceImpl.java:82)
at sun.reflect.GeneratedMethodAccessor143.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.common.security.internal.utils.Delegator$ProxyInvocationHandler.invoke(Delegator.java:57)
at $Proxy34.authenticate(Unknown Source)
at weblogic.security.service.WLSJAASAuthenticationServiceWrapper.authenticate(Unknown Source)
at weblogic.security.service.PrincipalAuthenticator.authenticate(Unknown Source)
at weblogic.security.acl.internal.Security.authenticateLocally(Security.java:127)
at weblogic.security.acl.internal.Security.authenticate(Security.java:165)
at weblogic.security.acl.internal.Security.authenticate(Security.java:146)
at weblogic.security.auth.Authenticate.authenticate(Authenticate.java:112)
at weblogic.security.auth.login.UsernamePasswordLoginModule.login(UsernamePasswordLoginModule.java:184)
at sun.reflect.GeneratedMethodAccessor7746.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
at Thor.API.Security.LoginHandler.weblogicLoginHandler.login(Unknown Source)
at Thor.API.tcUtilityFactory.<init>(Unknown Source)
at com.thortech.xl.scheduler.core.quartz.QuartzWrapper.execute(Unknown Source)
at org.quartz.core.JobRunShell.run(JobRunShell.java:178)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:477)
ERROR,20 Apr 2011 08:40:00,058,[XELLERATE.ACCOUNTMANAGEMENT],Class/Method: XellerateLoginModuleImpl/login encounter some problems:
com.thortech.xl.security.tcLoginException:
at com.thortech.xl.security.tcLoginExceptionUtil.createException(tcLoginExceptionUtil.java:96)
at com.thortech.xl.security.tcLoginExceptionUtil.createException(tcLoginExceptionUtil.java:67)
at com.thortech.xl.security.Authenticate.connect(Authenticate.java:269)
at com.thortech.xl.security.Authenticate.connect(Authenticate.java:71)
at com.thortech.xl.security.wl.XellerateLoginModuleImpl.login(XellerateLoginModuleImpl.java:159)
at com.bea.common.security.internal.service.LoginModuleWrapper$1.run(LoginModuleWrapper.java:110)
at java.security.AccessController.doPrivileged(Native Method)
at com.bea.common.security.internal.service.LoginModuleWrapper.login(LoginModuleWrapper.java:106)
at sun.reflect.GeneratedMethodAccessor7737.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
at com.bea.common.security.internal.service.JAASLoginServiceImpl.login(JAASLoginServiceImpl.java:113)
at sun.reflect.GeneratedMethodAccessor132.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.common.security.internal.utils.Delegator$ProxyInvocationHandler.invoke(Delegator.java:57)
at $Proxy16.login(Unknown Source)
at weblogic.security.service.internal.WLSJAASLoginServiceImpl$ServiceImpl.login(Unknown Source)
at com.bea.common.security.internal.service.JAASAuthenticationServiceImpl.authenticate(JAASAuthenticationServiceImpl.java:82)
at sun.reflect.GeneratedMethodAccessor143.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.common.security.internal.utils.Delegator$ProxyInvocationHandler.invoke(Delegator.java:57)
at $Proxy34.authenticate(Unknown Source)
at weblogic.security.service.WLSJAASAuthenticationServiceWrapper.authenticate(Unknown Source)
at weblogic.security.service.PrincipalAuthenticator.authenticate(Unknown Source)
at weblogic.security.acl.internal.Security.authenticateLocally(Security.java:127)
at weblogic.security.acl.internal.Security.authenticate(Security.java:165)
at weblogic.security.acl.internal.Security.authenticate(Security.java:146)
at weblogic.security.auth.Authenticate.authenticate(Authenticate.java:112)
at weblogic.security.auth.login.UsernamePasswordLoginModule.login(UsernamePasswordLoginModule.java:184)
at sun.reflect.GeneratedMethodAccessor7746.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
at Thor.API.Security.LoginHandler.weblogicLoginHandler.login(Unknown Source)
at Thor.API.tcUtilityFactory.<init>(Unknown Source)
at com.thortech.xl.scheduler.core.quartz.QuartzWrapper.execute(Unknown Source)
at org.quartz.core.JobRunShell.run(JobRunShell.java:178)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:477)
ERROR,20 Apr 2011 08:40:00,060,[XELLERATE.ACCOUNTMANAGEMENT],Class/Method: tcUtilityFactory/tcUtilityFactory(Hashtable env, tcSignatureMessage poUserIDMessage) encounter some problems: javax.security.auth.login.LoginException: java.lang.SecurityException: [Security:090304]Authentication Failed: User xelsysadm javax.security.auth.login.FailedLoginException: [Security:090302]Authentication Failed: User xelsysadm denied
javax.security.auth.login.LoginException: javax.security.auth.login.LoginException: java.lang.SecurityException: [Security:090304]Authentication Failed: User xelsysadm javax.security.auth.login.FailedLoginException: [Security:090302]Authentication Failed: User xelsysadm denied
at weblogic.security.auth.login.UsernamePasswordLoginModule.login(UsernamePasswordLoginModule.java:199)
at sun.reflect.GeneratedMethodAccessor7746.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
at Thor.API.Security.LoginHandler.weblogicLoginHandler.login(Unknown Source)
at Thor.API.tcUtilityFactory.<init>(Unknown Source)
at com.thortech.xl.scheduler.core.quartz.QuartzWrapper.execute(Unknown Source)
at org.quartz.core.JobRunShell.run(JobRunShell.java:178)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:477)
ERROR,20 Apr 2011 08:40:00,060,[XELLERATE.SERVER],Class/Method: QuartzWrapper/execute encounter some problems: javax.security.auth.login.LoginException: javax.security.auth.login.LoginException: java.lang.SecurityException: [Security:090304]Authentication Failed: User xelsysadm javax.security.auth.login.FailedLoginException: [Security:090302]Authentication Failed: User xelsysadm denied
Thor.API.Exceptions.tcAPIException: javax.security.auth.login.LoginException: javax.security.auth.login.LoginException: java.lang.SecurityException: [Security:090304]Authentication Failed: User xelsysadm javax.security.auth.login.FailedLoginException: [Security:090302]Authentication Failed: User xelsysadm denied
at Thor.API.tcUtilityFactory.<init>(Unknown Source)
at com.thortech.xl.scheduler.core.quartz.QuartzWrapper.execute(Unknown Source)
at org.quartz.core.JobRunShell.run(JobRunShell.java:178)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:477)
[CMGR WARNING] Removing connection pool siebel.tcpip.None.none://172.30.16.51:2321/UW_PROD/eCommunicationsObjMgrClone_enu/!b.3c26
<com.siebel.common.common.CSSException>
<Error><ErrorCode>8716601</ErrorCode> <ErrMsg>Socket had incorrect word size: 0.(SBL-JCA-00313)</ErrMsg></Error>
</com.siebel.common.common.CSSException>
at com.siebel.om.conmgr.Connection.readPacket(Connection.java:550)
at com.siebel.om.conmgr.Connection.run(Connection.java:286)
at java.lang.Thread.run(Thread.java:619)
[CMGR FATAL] Error: <com.siebel.common.common.CSSException>
<Error><ErrorCode>8716601</ErrorCode> <ErrMsg>Socket had incorrect word size: 0.(SBL-JCA-00313)</ErrMsg></Error>
</com.siebel.common.common.CSSException> connection:d0214e
*************************************************************************************************************Thanks for giving me an solution..
The cursor limit was incresed from 300 to 800 then for some hours the things went with no issues, the login was successfull and no errors in the logs. But again the same issue had arrisen.
For now i have taken bounce of the welogic servers because of the bounce i hope the existing/stuckup connections have been released and now the application is working fine and with no issues.
But is taking the bounce of the application server is the only solution for getting the things back to normal
Or
whether we need to take some other steps even after increasing the cursor limit the things don;t work.
Thanks, -
Maximum number of rows exceeded
Hi,
I am using Smart View (Hyperion 11.1.2.1) where large data needs to be retrieved. But during retrieval, I am getting error "Essbase Error (1020011) : Maximum number of rows [5000] exceeded". I modified the essbase.properties file as below.
# Properties File used by ANALYTIC PROVIDER SERVICES
# Release version 11.1.2.1.00 - Talleyrand SP1
# Use / for separator.
# Data directory used in JAPI embedded mode
# Specifies location of folder containing domain.db file
# If jvm option -DESS_ES_HOME points to an install directory of HPS, and domain.db
# is located under ESS_ES_HOME/data, this entry need not be present,
# else, specify the location of doamin.db here.
# system.dataDir=
# Specifies values for Essbase Server network connection
# APS will try netConnectRetry times to connect to an Essbase Server.
olap.server.netRetryCount=1200
olap.server.netConnectRetry=3
olap.server.netDelay=1200
olap.server.netSocketTimeOut=1200
# Specifies maximum rows/columns for dataquery grid. 0 value indicates no limit.
service.olap.dataQuery.grid.maxRows=10000
service.olap.dataQuery.grid.maxColumns=255
# Logging Configuration - moved to logging.xml
# Maximum idle time for HPS sessions (in minutes)
system.session.timeout=60
# system.faultTolerance
# retryTime - Maximum number of times to retry
system.faultTolerance.retryTime=10
# monitorInterval - Interval to schedule thread to monitor cluster components.
# duration in seconds
system.cluster.monitorInterval=30
# BEGIN: Smartview specific properties
smartview.system.checkforspecialchars=true
smartview.webservice.autoadd.EssbaseLocalhost.server=true
smartview.webservice.autodeploy.force=false
smartview.webservice.autodeploy.warn=false
smartview.webservice.gzip.compression.disable=false
# END: Smartview specific properties
After doing this, I restarted the service - "Hyperion Provider Services - Web Application". Still I am getting the same error in Smart View.
Please advise if I missed something.
Thanks.
Edited by: user13325223 on 6 Jan, 2012 12:39 PMI'm having the same error, only I checked my essbase.properties file in the correct location, and it's already set to 99999 rows.
#APS Properties File
#Thu Mar 01 09:31:53 EST 2012
olap.server.netConnectRetry=3
domain.store.file.name=/opt/Apps/Oracle/Middleware/user_projects/epmsystem1/aps/data/domain.db
smartview.webservice.gzip.compression.disable=false
smartview.webservice.autodeploy.force=false
system.session.timeout=60
system.dataDir=/opt/Apps/Oracle/Middleware/user_projects/epmsystem1/aps/data
smartview.webservice.autodeploy.warn=false
smartview.webservice.autoadd.EssbaseLocalhost.server=true
service.olap.dataQuery.grid.maxRows=99999
system.cluster.monitorInterval=30
service.olap.dataQuery.grid.maxColumns=255
smartview.system.checkforspecialchars=true
nativeSecurity.enabledProviders=
system.faultTolerance.retryTime=10
I'm using Excel 2007, and Hyperion 11.1.2.1
Edited by: Sabrina on Mar 1, 2012 10:53 AM -
MfE: "Maximum number of mailboxes defined" error
I have had to wipe/reset and reinstall my E72. I have recreated my POP and Hotmail messaging accounts OK using Nokia EMail (www.email.nokia.com), but when I try to create my company Exchange account I get the error message "Maximum number of mailboxes defined. Delete an existing mailbox and try again". I have four non-Exchange mailboxes on the phone (no existing Exchange mailboxes), so I duly deleted an account and tried again. However I still get the same message. How can I add my MfE account back on my phone again? Previously, before I reset my phone I had four POP/Hotmail accounts and my single company MfE account working fine. Any ideas?
Dial *#7370# 12345 reformat, you'll lose all data. Make a backup first and restore without the settings.
‡Thank you for hitting the Blue/Green Star button‡
N8-00 RM 596 V:111.030.0609; E71-1(05) RM 346 V: 500.21.009 -
Maximum number of licenses reached error message on CCX agent's desktop
Intermittently CAD agents or supervisor are getting the error message "Maximum number of licenses reached". I have checked at the same time of error, still there are license available but users are getting this error message. Currently we have 50 seats licenses.I have noticed this problem reoccur when it's reaching the login agents between 40-50 agents. Is there any threshold value, we can modify to get rid of this error message.
We had a very similar issue last week. For us we had a couple of sessions that were stuck that didn't end properly even after a restart (probably because we have a HA cluster).
We have 35 seat licenses activated but only 33 agents could log in. Ended up raising a TAC case and doing the following -
1) From the command line run show uccx cad license usage to list the current license status - a list of IPs that are currently claiming a license.
2) Run the same command when the contact center is closed and see who is still claiming a license. Here I traced the computers down and made sure the Agent or Supervisor application was closed (forcibly if necessary).
3) Restart the Cisco Desktop License and Resource Manager Service on all nodes in the HA cluster to clear any stuck sessions.
Remember though that anyone logged into the Supervisor application also uses a seat license! -
Maximum number of processes exceeded 150
Dear All,
I have modified my init file and set the processes to 300 but I still keep on getting the above error.
When I issue the statment :
Select * from v$parameter where name='processes'
I get the value 300.
Why does the system message show 150 ?
How can I alter this ?
I have stored procedures which return ref cursors to the calling environment which is JSP pages.
We are closing the resultsets where ever the stored procedure are being called as soon as the processing is over.
How can I overcome this problem ?
Thanks in advance.
Regds..ramkiGo to this page is explains what to look for
http://asktom.oracle.com/pls/ask/f?p=4950:8:10090713663713896110::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:5671284058977, -
Maximum open cursors exceeded with Sybase TG
Hi,
Does anyone knows if we can use the HS_OPEN_CURSORS with Oracle transparent gateway for Sybase ?
I've got the error message :
ORA-01000: maximum open cursors exceeded
ThanksThis depends if the maximum number of cursors exceeded in the GTW or within the db.
In my eyes the OPEN_CURSORS of the db is normally the limiting factor.
HS_OPEN_CURSORS defines the maximum number of cursors that can be open on one connection to a non-Oracle system instance.
The value never exceeds the number of open cursors in the Oracle database server. Therefore, setting the same value as the OPEN_CURSORS initialization parameter in the Oracle database server is recommended.
So better check out the OPEN_CURSORS of the db and increase them. -
JDBC Error: ORA-01000: maximum open cursors exceeded
Post Author: prashant
CA Forum: Information OnDemand
I successfully created reports using CR4E on windows, deployed JSPS to Websphere running on windows and was able to view a large reports for a using JNDI connection resources to Oracle 10g.
Every time report is called, it consume 12 cursors from of the database. Open_cursors count is 300. After 24 or 25 iteration of this report, it throws ORA-01000: maximum open cursors exceeded error.
Has anyone seen this problem, and if so where can I find a hot fix/patch. Any help would very much be appreciated.The following code reproduces the problem for me. I thought this was just related to when an exception occurs, and close occurs immediately afterwards. Close finds the exception that occured, and throws it without releasing the resources.
It's a pain in the ass, that's for sure.
public void go() {
try{
long startTime = System.currentTimeMillis();
String sql = "Select number_7_0__, char_10__, varchar_5__, varchar2_10__, number_10_5__, float_126__, date_, clob_, blob_ FROM lotsofrows";
Properties connectProps = new Properties();
Driver drv = new oracle.jdbc.driver.OracleDriver();
connectProps.put("user", "borg");
connectProps.put("catalog", "test");
connectProps.put("password", "borgborg");
Connection conn = drv.connect("jdbc:oracle:thin:@142.176.134.166:1521:test", connectProps);
int cnt = 0;
while (true) {
try {
System.out.print("\nTest " + ++cnt + " ");
Statement stmt = conn.createStatement();
System.out.print("execute ");
ResultSet rs = stmt.executeQuery(sql);
System.out.print("cancel ");
stmt.cancel();
try {
System.out.print("close.");
stmt.close();
} catch (SQLException se) {
if (se.getMessage().indexOf("requested cancel") != -1) {
System.out.print("URC:Close");
try {
stmt.close();
} catch (Exception ee) {
System.out.println(ee.getMessage());
ee.printStackTrace();
} else {
throw se;
stmt = null;
}catch(Exception se) {
System.out.println(se.getMessage());
se.printStackTrace();
}catch(Exception e) {
System.out.println(e.getMessage());
e.printStackTrace();
null
Maybe you are looking for
-
Help on overseas itunes!Please,Please!!
l jump right into the question. My parents moved to china a couple weeks ago and bought apple tv so they could enjoy american tv. It was working great until my mom wanted to switch the credit cards on the account. She kept getting the same error note
-
Delete sales order stock with deleted sales order reference
Hi, Our user deleted a SALES ORDER Document without checking if there is still inventory. Now, we cant zero-out the sales order stock because the reference sales order was already deleted. The system is giving us error message that the reference sale
-
White screen started appearing when in Logic? RAM issue?
Hi there, Am a relatively knowledgable MBPro user. I've an old beauty from 2007 which has done me proud all these years. I recently upgraded the OS from the original Tiger ( ! ) to Snow Leopard and the last three months all has worked smoothly. Yeste
-
Data Manager Package Launch from BPF Error
Hi experts, In some client PCs, after installing BPC for Excel, Data Manager shows Icon aspect (instead of package list aspects like the rest of PCs). Our main problem is on BPF "Run Package" Link: BPC returns a "user non-authorised" error, and User
-
When trying to send photos I keep getting the message: "SMTP rejected the password" Why does this occur?