Maximum open_cusors exceed error in oracle

I am returning resultset object from many of my functions.After I run a few programmes i get "maximum no of cursors exceeded in oracle" error. I am not closing Statement obj also i am not closing reultset obj.Which one is to be closed to remove the above error. Also wont garbage collection of the statement which created the resultset in the called function cause my result to cease in existence . Also if i try to use getStatement() in the calling function i get a " operation not allowed " error
What is the solution to my problem
public Statement getStates(){
Connection conn = null;
SharedConnectionPool moConnPool = SharedConnectionPool.getInstance();
ResultSet rsStateMast = null;
ResultSet returnRSStateMast = null;
Statement stmtStateMast = null;
try{
//Get state details
conn = moConnPool.getConnection();
stmtStateMast = conn.createStatement();
String msStateMastQuery = "select csm_state_code, csm_state_name from cms_state_mast where csm_cntry_code = " + this.miCountryCode + "order by csm_state_name";
moLogFile.writeToLog(CLASS_NAME,35,msStateMastQuery);
rsStateMast = stmtStateMast.executeQuery(msStateMastQuery);
returnRSStateMast = rsStateMast;
// stmtStateMast.close();
if (returnRSStateMast != null){
return stmtStateMast;
}//end of if
}//end of try
catch(SQLException sqe){
throw new CMSException("Some SQL Exception occured " + sqe.toString(),sqe);
}//end of catch
finally{
moConnPool.free(conn);
return stmtStateMast;
}//end of finally
}//end of getStates
Above is the function I am using
I realise that my problem would be solved if I pass Statement to or from the function .
But the problem is the I am more than halfway through the project and the chaging all functions in the above manner will be too time consuming . Is there no other solution ? . Why does the getStatement() method in ResultSet give a "method not supported Exception".
Also will the statement obj in the called function be eligible for garbage collection ? Because that will close my ResultSet.
I have already increased the limit of open cursors.
What I want to know is ,whether closing all resultSets will sufficient for closing the open_cursors in Oracle or is it necessary to close all statements to close the open_cursors.
In short whether cursors are related to statements or are they related to Resultsets.
Also I want to know why are my resultSets and statements not getting garbage collected.Because if they would get Garbage collected then they would get closed ,and thus the open_cursors would be closed too.
But then if the statement in the called func gets garbage collected while the resultSet object is still in use , then the resultSet would become null and a null pointer Exception will be thrown.
Considering all this, do you feel it is mandatory for me to pass statements between the functions ? or is there any other awy out?
Also why am i getting an "operation not allowed" exception when I try to use the function rs.getStatement() in order to get the parent statement so that it can be closed in the calling function.

I am returning resultset object from many of my
functions.After I run a few programmes i get "maximum
no of cursors exceeded in oracle" error. I am not
closing Statement obj also i am not closing reultset
obj.Which one is to be closed to remove the above
error. Also wont garbage collection of the statement
which created the resultset in the called function
cause my result to cease in existence . Also if i try
to use getStatement() in the calling function i get a
" operation not allowed " error
What is the solution to my problem
public Statement getStates(){
Connection conn = null;
SharedConnectionPool moConnPool =
SharedConnectionPool.getInstance();
ResultSet rsStateMast = null;
ResultSet returnRSStateMast = null;
Statement stmtStateMast = null;
try{
//Get state details
conn = moConnPool.getConnection();
stmtStateMast = conn.createStatement();
String msStateMastQuery = "select csm_state_code,
csm_state_name from cms_state_mast where
csm_cntry_code = " + this.miCountryCode + "order by
csm_state_name";
moLogFile.writeToLog(CLASS_NAME,35,msStateMastQuery);
rsStateMast =
stmtStateMast.executeQuery(msStateMastQuery);
returnRSStateMast = rsStateMast;
// stmtStateMast.close();
if (returnRSStateMast != null){
return stmtStateMast;
}//end of if
}//end of try
catch(SQLException sqe){
throw new CMSException("Some SQL Exception occured " +
sqe.toString(),sqe);
}//end of catch
finally{
moConnPool.free(conn);
return stmtStateMast;
}//end of finally
}//end of getStates
Above is the function I am using
I realise that my problem would be solved if I pass
Statement to or from the function .Yes, you should close the statement. I used to have the same problem, and close the statement can fix it.
>
But the problem is the I am more than halfway through
the project and the chaging all functions in the above
manner will be too time consuming . Is there no other
solution ? . Why does the getStatement() method in
ResultSet give a "method not supported Exception".
Also will the statement obj in the called function be
eligible for garbage collection ? Because that will
close my ResultSet.
Afraid not, as connection object may hold a reference to it, and connection objects are in a pool, so the statement object will be there as long as the connection object's there.
>
I have already increased the limit of open cursors.
What I want to know is ,whether closing all resultSets
will sufficient for closing the open_cursors in Oracle
or is it necessary to close all statements to close
the open_cursors.
Well, I don't know the inside code, but, as I experienced, the problem is you openned too many statement (conn.createStatement()), because you are using a connection pool, you may re-use a connection object many times, this is kind of like this:
conn.createStatement();
conn.createStatement();
..//a lot of themso you opened too many statement, and I suspect this is the problem according to my testing.
In short whether cursors are related to statements or
are they related to Resultsets.
If you close the statement, the result set of it will be closed as well, but I don't think close result set could close statement.
Also I want to know why are my resultSets and
statements not getting garbage collected.Because if
they would get Garbage collected then they would get
closed ,and thus the open_cursors would be closed
too.
As I mentioned above, because you're using a connection pool, and unless you explicitly close statement object, its reference my be hold by the connection object and won't be garbage collected.
But then if the statement in the called func gets
garbage collected while the resultSet object is still
in use , then the resultSet would become null and a
null pointer Exception will be thrown.
The statement is still there.
Considering all this, do you feel it is mandatory for
me to pass statements between the functions ? or is
there any other awy out?
Usually, you should return a collection (like HashTable or Vector etc.) instead of the result set, so, you can have one point control over the statement and result set object. But in you case, you have to track each statement object and close it.
Also why am i getting an "operation not allowed"
exception when I try to use the function
rs.getStatement() in order to get the parent statement
so that it can be closed in the calling function.
This is not supported, at least in the libarary you're using.

Similar Messages

  • Maximum Cells exceeded Error

    Hi Guys,
    guide me pls//
    i am getting an error while opening a report..
    like Maximum cells exceeded error...
    how i can i over come this??

    Hi Srini,
    thanks for ur reply..
    I am using pivot table view to display the report.
    and i checked my instanceconfig.xml file.. in that i didnt find <Maxcells> tag in pivot table view section/
    can i add that <Maxcells> tag in that section now?

  • Purchased 2 Memberships, still getting "Maximum Applications Exceeded" error

    I purchased two creative cloud memberships in order to run apps on 3 computers, but I'm getting the "Maximum Applications Exceeded" message on my third install.

    You cannot have two subscriptions on the same Adobe ID. You will need a second Adobe ID.
    To fix this you will need to contact Customer Support by phone at 800-833-6687 (Monday-Friday, 5am-7pm PST).

  • Maximum Connections exceeds

    i have a html page that contains 6 dynamically created URL's one of them is mentioned bellow
    <b>http://hercules.keells.lk:8000/sap/bw/BEx?sap-language=%20&bsplanguage=%20&cmd=ldoc&TEMPLATE_ID=ZL1TACH</b>
    The problem is everytime the page is loaded it creates 6 sessions (user connections) & after i refresh the page a few times.. it will give me the maximum connections exceeded error...
    How can i use only one session (connection) for this page & display 6 web queries /??????

    append the following to your URL
    <b>&STATELESS=X</b>
    where is this html page (which contains the 6 webtemplate) running from - is it a BSP application?
    Regards
    Raja

  • 2 creative cloud accounts and maximum activations exceeded

    We have 2 creative cloud accounts (enabling us to use on 4 computers - per conversation with adobe rep) and still get maximum activations exceeded error and request to login every time launching apps... Please help as I cannot use PS until this is rectified.

    Hi kimballroundy,
    Apologies for the inconvience caused, I would like to clarify your doubts here:
    2 creative cloud accounts and maximum activations exceeded
    What do we have to do to make sure that we can get what we are paying for?
    You can install and use the desktop applications available in Creative Cloud on two computers at once, as long as the same person is logging in to both machines and using the products with the same ID. You will have access to both the Mac OS and Windows versions, so if you have a Mac at home and a PC at work, for instance, you can install your applications on both. See the product license agreements page for more information.
    Which is 2 Creative Cloud accounts, to run on 4 computers?
    Same as Above. So Ideally you can run 4 computers.
    If you still have some doubts, please feel free to ask, I shall be happy to help
    Cheers
    LP

  • ORA-01000: maximum open cursors exceeded--Error

    Hi
    What is "ORA-01000: maximum open cursors exceeded" error,How to solve.
    Thanks
    Miseba

    Hi
    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

  • 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.

  • T-code CJ30,system gives an error of maximum time exceeds

    Dear Sir
    When we are executing T-code CJ30,system gives an error of maximum time
    exceeds and some time the report is coming,we have exceeded the time
    also but no outcome,since our project builder is not so
    huge.Particulary we are facing in one project and rest of the project
    takes lots of time.
    Regards
    Kunal Joshi

    Hi,
    Kindly write in the order of steps you have performed in the system.
    with what you have written i got this:
    You don't have big projects.
    When you run CJ30, it gives time out error.
    is this you want to say?
    Regards,
    Harsh.
    Edited by: Harsh Saxena on Sep 10, 2010 2:40 PM

  • 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,
    Raj

    Raji03 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;
    /

  • We have licensed version of Adobe CS6, but when we start it shows error Maximum Activations Exceeded, We are unable to activate Creative Cloud.

    We have licensed version of Adobe CS6, but when we start it shows error Maximum Activations Exceeded, We are unable to activate Creative Cloud.@

    CS6 perpetual Mac is version 13.0.6 Windows is version 13.0.1.3 Subscription cloud version is 13.1.2.  If you have a cloud subscription and a perpetual licence you would not be able to have both version install at the same time on same machine. What does your Creative Cloud desktop application show and if you start CS6 if the flash screen shows or you can get to menu Help>About Photoshop what version i shown 13.0.6  or 13.0.1.3 or 13.1.2?

  • Mountain Lion VPN server "IPCP maximum config-requests exceeded" error

    I have OS-X Server running on Mountain Lion 10.8.4  I had to reinstall the system due to a hard drive failure and ever since reinstalling OS-X server the VPN service has been driving me mad. Every so often without any obviosu reason the service starts failing and comes up with a "IPCP: Maximum Config-Requests exceeded" error. On the client side it looks like Connecting >> Authenticating >> "You have ben disconnected" message. It seems like this happens every time you restart the machine (so after a fresh restart I can NEVER log in at all and get this error) and switching the VPN service off and back on again in Server app gets rid of the problem every time. Then the problem comes back sometimes after a few minutes, sometimes ater a few hours or days even. I have the exact same settings as I did before where it ran without fault for months and would be back up and running after power failures and automatic restarts. I have not found one single thread anywhere where someone could explain what this is and the best solution I have seen so far was to write a script to turn the VPN server off and back on all the time. Could someone PLEASE help me here. Ay help at geting rid of this problem would b very much appreciated!

    VPN not working:
    vpn:vpnHost = "XX.XXX.XXX.XX"
    vpn:Servers:com.apple.ppp.pptp:Server:Logfile = "/var/log/ppp/vpnd.log"
    vpn:Servers:com.apple.ppp.pptp:Server:VerboseLogging = 1
    vpn:Servers:com.apple.ppp.pptp:Server:MaximumSessions = 128
    vpn:Servers:com.apple.ppp.pptp:DNS:OfferedSearchDomains = _empty_array
    vpn:Servers:com.apple.ppp.pptp:DNS:OfferedServerAddresses:_array_index:0 = "192.168.1.254"
    vpn:Servers:com.apple.ppp.pptp:Radius:Servers:_array_index:0:SharedSecret = "1"
    vpn:Servers:com.apple.ppp.pptp:Radius:Servers:_array_index:0:Address = "1.1.1.1"
    vpn:Servers:com.apple.ppp.pptp:Radius:Servers:_array_index:1:SharedSecret = "2"
    vpn:Servers:com.apple.ppp.pptp:Radius:Servers:_array_index:1:Address = "2.2.2.2"
    vpn:Servers:com.apple.ppp.pptp:enabled = yes
    vpn:Servers:com.apple.ppp.pptp:Interface:SubType = "PPTP"
    vpn:Servers:com.apple.ppp.pptp:Interface:Type = "PPP"
    vpn:Servers:com.apple.ppp.pptp:PPP:LCPEchoFailure = 5
    vpn:Servers:com.apple.ppp.pptp:PPP:DisconnectOnIdle = 1
    vpn:Servers:com.apple.ppp.pptp:PPP:AuthenticatorEAPPlugins:_array_index:0 = "EAP-RSA"
    vpn:Servers:com.apple.ppp.pptp:PPP:AuthenticatorACLPlugins:_array_index:0 = "DSACL"
    vpn:Servers:com.apple.ppp.pptp:PPP:CCPEnabled = 1
    vpn:Servers:com.apple.ppp.pptp:PPP:IPCPCompressionVJ = 0
    vpn:Servers:com.apple.ppp.pptp:PPP:ACSPEnabled = 1
    vpn:Servers:com.apple.ppp.pptp:PPP:LCPEchoEnabled = 1
    vpn:Servers:com.apple.ppp.pptp:PPP:LCPEchoInterval = 60
    vpn:Servers:com.apple.ppp.pptp:PPP:MPPEKeySize128 = 1
    vpn:Servers:com.apple.ppp.pptp:PPP:AuthenticatorProtocol:_array_index:0 = "MSCHAP2"
    vpn:Servers:com.apple.ppp.pptp:PPP:MPPEKeySize40 = 0
    vpn:Servers:com.apple.ppp.pptp:PPP:AuthenticatorPlugins:_array_index:0 = "DSAuth"
    vpn:Servers:com.apple.ppp.pptp:PPP:Logfile = "/var/log/ppp/vpnd.log"
    vpn:Servers:com.apple.ppp.pptp:PPP:VerboseLogging = 1
    vpn:Servers:com.apple.ppp.pptp:PPP:DisconnectOnIdleTimer = 7200
    vpn:Servers:com.apple.ppp.pptp:PPP:CCPProtocols:_array_index:0 = "MPPE"
    vpn:Servers:com.apple.ppp.pptp:IPv4:ConfigMethod = "Manual"
    vpn:Servers:com.apple.ppp.pptp:IPv4:DestAddressRanges:_array_index:0 = "192.168.1.240"
    vpn:Servers:com.apple.ppp.pptp:IPv4:DestAddressRanges:_array_index:1 = "192.168.1.254"
    vpn:Servers:com.apple.ppp.pptp:IPv4:OfferedRouteAddresses = _empty_array
    vpn:Servers:com.apple.ppp.pptp:IPv4:OfferedRouteTypes = _empty_array
    vpn:Servers:com.apple.ppp.pptp:IPv4:OfferedRouteMasks = _empty_array
    vpn:Servers:com.apple.ppp.l2tp:Server:LoadBalancingAddress = "1.2.3.4"
    vpn:Servers:com.apple.ppp.l2tp:Server:MaximumSessions = 128
    vpn:Servers:com.apple.ppp.l2tp:Server:LoadBalancingEnabled = 0
    vpn:Servers:com.apple.ppp.l2tp:Server:Logfile = "/var/log/ppp/vpnd.log"
    vpn:Servers:com.apple.ppp.l2tp:Server:VerboseLogging = 1
    vpn:Servers:com.apple.ppp.l2tp:DNS:OfferedSearchDomains = _empty_array
    vpn:Servers:com.apple.ppp.l2tp:DNS:OfferedServerAddresses:_array_index:0 = "192.168.1.254"
    vpn:Servers:com.apple.ppp.l2tp:Radius:Servers:_array_index:0:SharedSecret = "1"
    vpn:Servers:com.apple.ppp.l2tp:Radius:Servers:_array_index:0:Address = "1.1.1.1"
    vpn:Servers:com.apple.ppp.l2tp:Radius:Servers:_array_index:1:SharedSecret = "2"
    vpn:Servers:com.apple.ppp.l2tp:Radius:Servers:_array_index:1:Address = "2.2.2.2"
    vpn:Servers:com.apple.ppp.l2tp:enabled = yes
    vpn:Servers:com.apple.ppp.l2tp:Interface:SubType = "L2TP"
    vpn:Servers:com.apple.ppp.l2tp:Interface:Type = "PPP"
    vpn:Servers:com.apple.ppp.l2tp:PPP:LCPEchoFailure = 5
    vpn:Servers:com.apple.ppp.l2tp:PPP:DisconnectOnIdle = 1
    vpn:Servers:com.apple.ppp.l2tp:PPP:AuthenticatorEAPPlugins:_array_index:0 = "EAP-KRB"
    vpn:Servers:com.apple.ppp.l2tp:PPP:AuthenticatorACLPlugins:_array_index:0 = "DSACL"
    vpn:Servers:com.apple.ppp.l2tp:PPP:VerboseLogging = 1
    vpn:Servers:com.apple.ppp.l2tp:PPP:IPCPCompressionVJ = 0
    vpn:Servers:com.apple.ppp.l2tp:PPP:ACSPEnabled = 1
    vpn:Servers:com.apple.ppp.l2tp:PPP:LCPEchoInterval = 60
    vpn:Servers:com.apple.ppp.l2tp:PPP:LCPEchoEnabled = 1
    vpn:Servers:com.apple.ppp.l2tp:PPP:AuthenticatorProtocol:_array_index:0 = "MSCHAP2"
    vpn:Servers:com.apple.ppp.l2tp:PPP:AuthenticatorPlugins:_array_index:0 = "DSAuth"
    vpn:Servers:com.apple.ppp.l2tp:PPP:Logfile = "/var/log/ppp/vpnd.log"
    vpn:Servers:com.apple.ppp.l2tp:PPP:DisconnectOnIdleTimer = 7200
    vpn:Servers:com.apple.ppp.l2tp:IPSec:SharedSecretEncryption = "Keychain"
    vpn:Servers:com.apple.ppp.l2tp:IPSec:LocalIdentifier = ""
    vpn:Servers:com.apple.ppp.l2tp:IPSec:SharedSecret = "com.apple.ppp.l2tp"
    vpn:Servers:com.apple.ppp.l2tp:IPSec:AuthenticationMethod = "SharedSecret"
    vpn:Servers:com.apple.ppp.l2tp:IPSec:RemoteIdentifier = ""
    vpn:Servers:com.apple.ppp.l2tp:IPSec:IdentifierVerification = "None"
    vpn:Servers:com.apple.ppp.l2tp:IPSec:LocalCertificate = <>
    vpn:Servers:com.apple.ppp.l2tp:IPv4:ConfigMethod = "Manual"
    vpn:Servers:com.apple.ppp.l2tp:IPv4:DestAddressRanges:_array_index:0 = "192.168.1.225"
    vpn:Servers:com.apple.ppp.l2tp:IPv4:DestAddressRanges:_array_index:1 = "192.168.1.239"
    vpn:Servers:com.apple.ppp.l2tp:IPv4:OfferedRouteAddresses = _empty_array
    vpn:Servers:com.apple.ppp.l2tp:IPv4:OfferedRouteTypes = _empty_array
    vpn:Servers:com.apple.ppp.l2tp:IPv4:OfferedRouteMasks = _empty_array
    vpn:Servers:com.apple.ppp.l2tp:L2TP:Transport = "IPSec"
    vpn:Servers:com.apple.ppp.l2tp:L2TP:IPSecSharedSecretValue = "xxxxxxxxxx"
    VPN working:
    vpn:vpnHost = "xx.xxx.xxx.xx"
    vpn:Servers:com.apple.ppp.pptp:Server:Logfile = "/var/log/ppp/vpnd.log"
    vpn:Servers:com.apple.ppp.pptp:Server:VerboseLogging = 1
    vpn:Servers:com.apple.ppp.pptp:Server:MaximumSessions = 128
    vpn:Servers:com.apple.ppp.pptp:DNS:OfferedSearchDomains = _empty_array
    vpn:Servers:com.apple.ppp.pptp:DNS:OfferedServerAddresses:_array_index:0 = "192.168.1.254"
    vpn:Servers:com.apple.ppp.pptp:Radius:Servers:_array_index:0:SharedSecret = "1"
    vpn:Servers:com.apple.ppp.pptp:Radius:Servers:_array_index:0:Address = "1.1.1.1"
    vpn:Servers:com.apple.ppp.pptp:Radius:Servers:_array_index:1:SharedSecret = "2"
    vpn:Servers:com.apple.ppp.pptp:Radius:Servers:_array_index:1:Address = "2.2.2.2"
    vpn:Servers:com.apple.ppp.pptp:enabled = yes
    vpn:Servers:com.apple.ppp.pptp:Interface:SubType = "PPTP"
    vpn:Servers:com.apple.ppp.pptp:Interface:Type = "PPP"
    vpn:Servers:com.apple.ppp.pptp:PPP:LCPEchoFailure = 5
    vpn:Servers:com.apple.ppp.pptp:PPP:DisconnectOnIdle = 1
    vpn:Servers:com.apple.ppp.pptp:PPP:AuthenticatorEAPPlugins:_array_index:0 = "EAP-RSA"
    vpn:Servers:com.apple.ppp.pptp:PPP:AuthenticatorACLPlugins:_array_index:0 = "DSACL"
    vpn:Servers:com.apple.ppp.pptp:PPP:CCPEnabled = 1
    vpn:Servers:com.apple.ppp.pptp:PPP:IPCPCompressionVJ = 0
    vpn:Servers:com.apple.ppp.pptp:PPP:ACSPEnabled = 1
    vpn:Servers:com.apple.ppp.pptp:PPP:LCPEchoEnabled = 1
    vpn:Servers:com.apple.ppp.pptp:PPP:LCPEchoInterval = 60
    vpn:Servers:com.apple.ppp.pptp:PPP:MPPEKeySize128 = 1
    vpn:Servers:com.apple.ppp.pptp:PPP:AuthenticatorProtocol:_array_index:0 = "MSCHAP2"
    vpn:Servers:com.apple.ppp.pptp:PPP:MPPEKeySize40 = 0
    vpn:Servers:com.apple.ppp.pptp:PPP:AuthenticatorPlugins:_array_index:0 = "DSAuth"
    vpn:Servers:com.apple.ppp.pptp:PPP:Logfile = "/var/log/ppp/vpnd.log"
    vpn:Servers:com.apple.ppp.pptp:PPP:VerboseLogging = 1
    vpn:Servers:com.apple.ppp.pptp:PPP:DisconnectOnIdleTimer = 7200
    vpn:Servers:com.apple.ppp.pptp:PPP:CCPProtocols:_array_index:0 = "MPPE"
    vpn:Servers:com.apple.ppp.pptp:IPv4:ConfigMethod = "Manual"
    vpn:Servers:com.apple.ppp.pptp:IPv4:DestAddressRanges:_array_index:0 = "192.168.1.240"
    vpn:Servers:com.apple.ppp.pptp:IPv4:DestAddressRanges:_array_index:1 = "192.168.1.254"
    vpn:Servers:com.apple.ppp.pptp:IPv4:OfferedRouteAddresses = _empty_array
    vpn:Servers:com.apple.ppp.pptp:IPv4:OfferedRouteTypes = _empty_array
    vpn:Servers:com.apple.ppp.pptp:IPv4:OfferedRouteMasks = _empty_array
    vpn:Servers:com.apple.ppp.l2tp:Server:LoadBalancingAddress = "1.2.3.4"
    vpn:Servers:com.apple.ppp.l2tp:Server:MaximumSessions = 128
    vpn:Servers:com.apple.ppp.l2tp:Server:LoadBalancingEnabled = 0
    vpn:Servers:com.apple.ppp.l2tp:Server:Logfile = "/var/log/ppp/vpnd.log"
    vpn:Servers:com.apple.ppp.l2tp:Server:VerboseLogging = 1
    vpn:Servers:com.apple.ppp.l2tp:DNS:OfferedSearchDomains = _empty_array
    vpn:Servers:com.apple.ppp.l2tp:DNS:OfferedServerAddresses:_array_index:0 = "192.168.1.254"
    vpn:Servers:com.apple.ppp.l2tp:Radius:Servers:_array_index:0:SharedSecret = "1"
    vpn:Servers:com.apple.ppp.l2tp:Radius:Servers:_array_index:0:Address = "1.1.1.1"
    vpn:Servers:com.apple.ppp.l2tp:Radius:Servers:_array_index:1:SharedSecret = "2"
    vpn:Servers:com.apple.ppp.l2tp:Radius:Servers:_array_index:1:Address = "2.2.2.2"
    vpn:Servers:com.apple.ppp.l2tp:enabled = yes
    vpn:Servers:com.apple.ppp.l2tp:Interface:SubType = "L2TP"
    vpn:Servers:com.apple.ppp.l2tp:Interface:Type = "PPP"
    vpn:Servers:com.apple.ppp.l2tp:PPP:LCPEchoFailure = 5
    vpn:Servers:com.apple.ppp.l2tp:PPP:DisconnectOnIdle = 1
    vpn:Servers:com.apple.ppp.l2tp:PPP:AuthenticatorEAPPlugins:_array_index:0 = "EAP-KRB"
    vpn:Servers:com.apple.ppp.l2tp:PPP:AuthenticatorACLPlugins:_array_index:0 = "DSACL"
    vpn:Servers:com.apple.ppp.l2tp:PPP:VerboseLogging = 1
    vpn:Servers:com.apple.ppp.l2tp:PPP:IPCPCompressionVJ = 0
    vpn:Servers:com.apple.ppp.l2tp:PPP:ACSPEnabled = 1
    vpn:Servers:com.apple.ppp.l2tp:PPP:LCPEchoInterval = 60
    vpn:Servers:com.apple.ppp.l2tp:PPP:LCPEchoEnabled = 1
    vpn:Servers:com.apple.ppp.l2tp:PPP:AuthenticatorProtocol:_array_index:0 = "MSCHAP2"
    vpn:Servers:com.apple.ppp.l2tp:PPP:AuthenticatorPlugins:_array_index:0 = "DSAuth"
    vpn:Servers:com.apple.ppp.l2tp:PPP:Logfile = "/var/log/ppp/vpnd.log"
    vpn:Servers:com.apple.ppp.l2tp:PPP:DisconnectOnIdleTimer = 7200
    vpn:Servers:com.apple.ppp.l2tp:IPSec:SharedSecretEncryption = "Keychain"
    vpn:Servers:com.apple.ppp.l2tp:IPSec:LocalIdentifier = ""
    vpn:Servers:com.apple.ppp.l2tp:IPSec:SharedSecret = "com.apple.ppp.l2tp"
    vpn:Servers:com.apple.ppp.l2tp:IPSec:AuthenticationMethod = "SharedSecret"
    vpn:Servers:com.apple.ppp.l2tp:IPSec:RemoteIdentifier = ""
    vpn:Servers:com.apple.ppp.l2tp:IPSec:IdentifierVerification = "None"
    vpn:Servers:com.apple.ppp.l2tp:IPSec:LocalCertificate = <>
    vpn:Servers:com.apple.ppp.l2tp:IPv4:ConfigMethod = "Manual"
    vpn:Servers:com.apple.ppp.l2tp:IPv4:DestAddressRanges:_array_index:0 = "192.168.1.225"
    vpn:Servers:com.apple.ppp.l2tp:IPv4:DestAddressRanges:_array_index:1 = "192.168.1.239"
    vpn:Servers:com.apple.ppp.l2tp:IPv4:OfferedRouteAddresses = _empty_array
    vpn:Servers:com.apple.ppp.l2tp:IPv4:OfferedRouteTypes = _empty_array
    vpn:Servers:com.apple.ppp.l2tp:IPv4:OfferedRouteMasks = _empty_array
    vpn:Servers:com.apple.ppp.l2tp:L2TP:Transport = "IPSec"
    vpn:Servers:com.apple.ppp.l2tp:L2TP:IPSecSharedSecretValue = "xxxxxxxxxx"

  • Help: soft_session_space exceeded error

    We have only one piece of java code (at present) on the database. The syntax for this is as at the bottom (its only a few lines!).
    The server went down the other day and the error message was java soft_session_space exceed or somthing like that. Can anyone give any pointers???
    Thanks in advance
    import java.io.*;
    import java.net.*;
    public class URLReader
    public static String getURLInfo(String value){
    StringBuffer bufferValues = new StringBuffer();
    try
    URL u = new URL(value);
    BufferedReader in = new BufferedReader(new InputStreamReader(u.openStream()));
    String aLine;
    do
    aLine = in.readLine();
    if(aLine != null)
    bufferValues.append(aLine);
    } while(aLine != null);
    in.close();
    return (bufferValues.toString());
    catch (MalformedURLException e)
    return "error 400";
    catch (IOException e)
    return "error 404";
    catch (Exception e)
    return "error 404";
    }

    Hello,
    The Documentetion says:
    Java_soft_sessionspace_limit:
    Parameter type: Integer
    Parameter class: Static
    Default value: 0
    Range of values: 0 to 4 GB
    Java session space is the memory that holds Java state from one database call to another. JAVA_SOFT_SESSIONSPACE_LIMIT specifies in bytes a "soft limit" on Java memory usage in a session, as a means to warn you if a user's session-duration Java state is using too much memory. When a user's session-duration Java state exceeds this size, Oracle generates a warning that goes into the trace files.
    So, try to increase this parameter.
    Also there is another parameter - JAVA_MAX_SESSIONSPACE_SIZE:
    JAVA_MAX_SESSIONSPACE_SIZE specifies in bytes the maximum amount of session space made available to a Java program executing in the server. When a user's session-duration Java state attempts to exceed this amount, the Java virtual machine kills the session with an out-of-memory failure.
    null

  • What is maximum amount of memory that oracle db can utilize ?

    Hi
    Thank you for reading my post
    What is maximum number of memory that oracle database can utilize for each of its memory structure like sga, caches....
    Thanks

    ps, the following may help too
    VLM) Configurations
    Oracle Database for Windows supports Very Large Memory (VLM) configurations in Windows 2000, Windows 2003, and Windows XP, which allows Oracle Database to access more than the 4 gigabyte (GB) of RAM traditionally available to Windows applications.
    Note:
    This feature is available on Windows 2000, Windows 2003, and Windows XP only with Intel Pentium II and above processors.
    Specifically, Oracle Database uses Address Windowing Extensions (AWE) built into Windows 2000, Windows 2003, and Windows XP to access more than 4 GB of RAM.
    The requirements for taking advantage of this support are:
    1. The computer on which Oracle Database is installed must have more than 4 GB of memory.
    2. The operating system must be configured to take advantage of Physical Address Extensions (PAE) by adding the /PAE switch in boot.ini. See Microsoft Knowledge Base article Q268363 for instructions on modifying boot.ini to enable PAE.
    3. It is advisable (though not necessary) to enable 4GT support by adding the /3GB parameter in boot.ini. See Microsoft Knowledge Base article Q171793 for additional requirements and instructions on modifying boot.ini to enable 4GT.
    4. The user account under which Oracle Database runs (typically the LocalSystem account), must have the "Lock memory pages" Windows 2000 and Windows XP privilege.
    5. USE_INDIRECT_DATA_BUFFERS=TRUE must be present in the initialization parameter file for the database instance that will use VLM support. If this parameter is not set, then Oracle Database 10g Release 1 (10.1) or later behaves in exactly the same way as previous releases.
    6. Initialization parameters DB_BLOCK_BUFFERS and DB_BLOCK_SIZE must be set to values you have chosen for Oracle Database.
    Note:
    The total number of bytes of database buffers (that is, DB_BLOCK_BUFFERS multiplied by DB_BLOCK_SIZE) is no longer limited to 3 GB.
    Dynamic SGA and multiple block size are not supported with VLM. When VLM is enabled, the following new buffer cache parameters are not supported:
    o DB_CACHE_SIZE
    o DB_2K_CACHE_SIZE
    o DB_4K_CACHE_SIZE
    o DB_8K_CACHE_SIZE
    o DB_16K_CACHE_SIZE
    o DB_32K_CACHE_SIZE
    To select the block size for the instance, use the initialization parameter DB_BLOCK_SIZE. The buffer cache size is set by the initialization parameter DB_BLOCK_BUFFERS.
    7. Registry parameter AWE_WINDOW_MEMORY must be created and set in the appropriate key for your Oracle home. This parameter is specified in bytes and has a default value of 1 GB. AWE_WINDOW_MEMORY tells Oracle Database how much of its 3 GB address space to reserve for mapping in database buffers.
    This memory comes from the 3 GB virtual address space in Oracle Database, so its value must be less than 3 GB. Setting this parameter to a large value has the effect of using more of the address space for buffers and using less AWE memory for buffers. However, since accessing AWE buffers is somewhat slower than accessing virtual address space buffers, Oracle recommends that you tune these parameters to be as large as possible without adversely limiting database operations.
    In general, the higher AWE_WINDOW_MEMORY is set, the fewer connections and memory allocations will be possible for Oracle Database. The lower AWE_WINDOW_MEMORY is set, the lower the performance.
    8. Once this parameter is set, Oracle Database can be started and will function exactly the same as before except that more database buffers are available to the instance. In addition, disk I/O may be reduced because more Oracle Database data blocks can be cached in the System Global Area (SGA).
    Note:
    Registry parameter VLM_BUFFER_MEMORY, which enabled VLM configurations in earlier releases, is not supported in Oracle Database 10g Release 1 (10.1) or later.
    VLM Instance Tuning
    VLM configurations improve database performance by caching more database buffers in memory. This reduces disk I/O compared to configurations without VLM. VLM support in Oracle Database 10g Release 1 (10.1) or later has been re-written to integrate very closely with Windows. Compared to Oracle8i release 2 (8.1.6), VLM users should see better performance with the newer implementation.
    Tuning for VLM is no different than tuning for configurations without VLM. It is an iterative task that begins by selecting appropriate DB_BLOCK_SIZE and DB_BLOCK_BUFFERS initialization parameters for the application being supported.
    Note:
    Oracle Database 10g Release 1 (10.1) or later VLM configurations do not support multiple database block sizes.
    AWE_WINDOW_MEMORY, a new registry parameter specific to VLM, tells Oracle Database how much of its address space to reserve for mapping in database buffers. It defaults to a value of 1 GB, which should be suitable for most installations. If DB_BLOCK_SIZE is large, however, the default AWE_WINDOW_MEMORY value of 1 GB may not be sufficient to start the database.
    Increasing the value of AWE_WINDOW_MEMORY will improve performance, but it will also limit the amount of memory available for other Oracle Database threads (like foreground threads). Clients may see "out of memory" errors if this value is set too large. As a general guideline, increase the AWE_WINDOW_MEMORY registry value by 20 percent.
    For example, if DB_BLOCK_SIZE is set to 8 KB, AWE_WINDOW_MEMORY is set to 1 GB, and the number of LRU latches is set to 32 (16 processor computer), then database startup fails with out of memory errors 27102 and 34. Increasing the value of AWE_WINDOW_MEMORY to 1.2 GB fixes the problem.
    Having a large cache in a VLM configuration may also slow down database writer (DBWR) threads. Having more DBWR threads will distribute work required to identify and write buffers to disk and will distribute I/O loads among threads. Initialization parameter DB_WRITER_PROCESSES enables you to configure multiple database writer threads.
    A large cache can also introduce contention on the LRU (least recently used) latch. On symmetric multiprocessor (SMP) systems, Oracle Database sets the number of LRU latches to a value equal to one half the number of processors on the system. You can reduce contention on such configurations by increasing the number of LRU latches to twice (or four times) the number of processors on the system.
    See Also:
    Oracle Database Performance Tuning Guide for more information on instance tuning
    Windows 4 GB RAM Tuning (4GT)
    The following Windows operating systems include a feature called 4 GB RAM Tuning (4GT):
    · Windows Server 2003
    · Windows 2000 Advanced Server
    · Windows 2000 Datacenter Server
    This feature allows memory-intensive applications running on Oracle Database Enterprise Edition to access up to 3 GB of memory, as opposed to the standard 2 GB in previous operating system versions. 4GT provides a tremendous benefit: 50 percent more memory is available for database use, increasing SGA sizes or connection counts.
    Large User Populations
    Several features allow Oracle Database to support an increasingly large number of database connections on Windows:
    · Oracle Database Shared Server Process, which limits the number of threads needed in the Oracle Database process, supports over 10,000 simultaneous connections to a single database instance.
    · Oracle Net multiplexing and connection pooling features allow a large configuration to connect more users to a single database instance.
    · Oracle Real Application Clusters raises connection counts dramatically by allowing multiple server computers to access the same database files, increasing the number of user connections by tens of thousands, as well as increasing throughput.
    rgds
    alan

  • Maximum Activations Exceeded (no help from chat or phone support)

    I can not get Muse to activate on my computer since (around) the time CC was released.  At first I assumed it was a problem with my install so I uninstalled and reinstalled and it didn't work.  I then gave it a few days thinking there was something on the Adobe side that would go away.  Every couple of days I would try and get the same error but all my other CS6/CC products open just fine (that I have tried, I have them all installed but have not actually tried every one).  It is only installed on this one computer so I know I should have at least one additional activation for another computer, not that I need that for this computer. 
    I then sent and email to tech support and have not heard back in a few days so once again I try to no avail.  I then search the web and see there is a fix for people in the same situation and I follow those instructions do delete three folders (2 in the one folder, 1 in another). I try and it does not work.  So I try to contact Chat support and after wasting a lot of time I am finally told that they can't help with technical matters and I should call tech support.  I try them, he helps, asks me to uninstall and reboot then reinstall after we tried a few other minor things (had me log out of the CC app).  I proceeded to uninstall, remove the same folders as before, reboot, reinstall and then go to activate.  No luck! I was told not to call tech support back but to go to chat which further frustrated me as they are taking me full circle.  He also suggest that I can go the forums so here I am.
    I am very frustrated and without a product because of crappy DRM/cloud issues and I have no choice in the matter besides canning the software.  Thanks in advance for any help anyone can provide...

    Hi Parikshit,
    My normal Muse is fine now, but I'm getting the same problem as before when I try to login to the Adobe Muse Prerelease. Can you look into the problem.
    Thanks,
    Date: Mon, 7 Oct 2013 09:17:20 -0700
    From: [email protected]
    To: [email protected]
    Subject: Maximum Activations Exceeded (no help from chat or phone support)
        Re: Maximum Activations Exceeded (no help from chat or phone support)
        created by p_nath in Help with using Adobe Muse CC - View the full discussion
    Please try to activate Muse on your system now.
    Cheers
    Parikshit
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5741935#5741935
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5741935#5741935
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5741935#5741935. In the Actions box on the right, click the Stop Email Notifications link.
               Start a new discussion in Help with using Adobe Muse CC at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Jcp.endpoint.main.max.threads exceeded error on jrun 4.0.1 server

    jcp.endpoint.main.max.threads exceeded error on jrun 4.0.1 server
    Posted: May 20, 2005 4:30 AM Reply
    hi,
    i am getting following error on my jrun server
    'too many concurrent requests,
    jcp.endpoint.main.max.threads exceeded'
    The application is running on jrun 4.0.1 server.
    i checked the log files but the load was too few on the day.
    I tried a lots of stuff on net but could not find the solution.
    pls help it out urgently
    manoj

    Lisa,
    I would check the online docs and/or the following HowTos for more details. They are not specific to JRun, but will give you the general process and list or archives and other things to copy and add to the classpath:
    http://technet.oracle.com:89/ubb/Forum2/HTML/006397.html
    http://technet.oracle.com:89/ubb/Forum2/HTML/006398.html

Maybe you are looking for

  • PL/SQL Web Service Optional Parameters

    I have created a PL/SQL web service and deployed successfully using Jdeveloper 10.1.3.5. The database is 9.2.0.8. When the web service request is made, all is well if all parameters are passed. I have been told that the request might come with some b

  • My iMac will not boot up - held shift key - spinning gear does not advance  -  will not advance to home page??

    My Mac will not boot up- advance to desk top- spinning gear keeps on going - white screen with apple logo only??? Held shift key - right after pushing power button

  • Personnel Cost Planning - Detail Planning

    I would like to ask you if some user in R3 system can handle the detail planning functionality of personnel cost planning component for all the plans-scenarios for all existing organizational units; how is it possible and through wich connection betw

  • Upgrade Exchange server 2013 to CU7 error

    Dear Microsoft Team I have Exchange server 2013 SP1 and upgrade it to CU5 it is working normal But wen I try to Upgrade it to CU7 I got this error massage Error: The following error was generated when "$error.Clear();           $maxWait = New-TimeSpa

  • RTL Option in Illustrator CC 17.0.0

    I have Illustrator CC 17.0.0 and I can't access the Right-to-Left Paragraph direction option in order to write hebrew/arabic. I've already changed the type preferences to show Indic options, and then used the "Middle Eastern & South Asian Every-line