Log Format & Max connections

HI,
Can any one let me know, how to include the server
response time in the web server access log
Eg:
for Apache we use to do that in httpd.conf with %T
what is the equalent of max connection in Sun one web server?
Thanks in advance...

%duration%

Similar Messages

  • Max connections in Oracle 10g Express

    Hi,
    How much connections are possible in Oracle 10g Express ?

    I do the following test:
    I format the test PC, install the O.S. and install Oracle 10g Express and run the following code:
    package testedb;
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.SQLException;
    import java.util.ArrayList;
    import java.util.List;
    public class TesteDB {
         * @param args
         public static void main(String[] args) {
              List<Connection> connections = new ArrayList<Connection>();
              try
         Class.forName ("oracle.jdbc.driver.OracleDriver");
         while(true)
              connections.add(DriverManager.getConnection("jdbc:oracle:thin:@albatroz:1521:XE", "system", "xxx"));
              //connections.add(DriverManager.getConnection("jdbc:oracle:thin:@albatroz:1521:MYDB", "system", "xxx"));
              System.out.println("connections: "+connections.size());
         catch (ClassNotFoundException e)
         System.out.println ("Could not load the driver");
         e.printStackTrace ();
         } catch (SQLException e) {
              System.out.println("----------------------------------------------------------");
                   System.out.println("Qtd of connections: "+connections.size());
                   System.out.println("----------------------------------------------------------");
                   e.printStackTrace();
    After the first test I format again the PC, install the O.S. and install Oracle 10g Standard and run the same code, changing only the database name.
    Well, I get the following results:
    - Oracle 10g Express: I get 19 connections;
    - Oracle 10g Standard: I get 181 connection;
    Final report:
    With the same hardware (1GB RAM) and O.S. (Windows XP Professional) test, the Oracle 10g Express has any restrictions at the question max connections.
    Message was edited by: Hugo Haas
    Hugo Haas

  • Log format

    Hi,
    I'l dealing with an unseen log format lately regarding the utility I'm maintaining (essbaserightlog).
    Here the date format is located between parentesis and not brackets... is this related to locale? (Essbase 7.10.221.
    Thanks for any light.
    Using Spanish_Spain.MS1252@Spanish as the Essbase Locale
    +(Wed Jul 15 01:42:01 2009)Local/ESSBASE0///Info(1054014)+
    Database Productv loaded
    +(Wed Jul 15 01:42:01 2009)Local/ESSBASE0///Info(1051061)+
    Application productv loaded - connection established

    Looks like the bug CSCin07036.

  • JDBC Connection pools and clusters (is max connection for entire cluster?)

    Hi,
    Quick question.
    When using JDBC connection pools in WAS 6.40 (SP13) in a clustered environment. Are the max connections the number
    a)Each application server can use
    b)The entire cluster can use
    Would believe a), but I'd like it confirmed from someoneelse

    Hi Dagfinn,
    your assumption is correct. Therefore, in a cluster environment you'd need to make sure the DB can open <i>Number of nodes X max connections</i>.

  • How to catch exception when have max connection pool

    hi,
    i have define in oracle user that i could have max 10 sessions at the same time.
    I have jdbc datasource & connection pool defined at glassfish server(JSF application).
    now, if in application is too many queries to the database then i have error: nullpointer exception - becouse when i try to do:
    con = Database.createConnection(); - it generates nullpointer exception becouse there isn't free connection pool
    i try to catch exception like this:
    public List getrep_dws_wnioski_wstrzymane_graph() {     int i = 0;     try {     con = Database.createConnection();     ps =    (Statement) con.createStatement();     rs = ps.executeQuery("select data, klasa, ile_dni_wstrzymana, ile_wnioskow from stg1230.dwsww_wstrzymane_dws8 order by data, klasa, ile_dni_wstrzymana, ile_wnioskow");     while(rs.next()){       rep_dws_wnioski_wstrzymane_graph.add(i,new get_rep_dws_wnioski_wstrzymane_graph(rs.getString(1),rs.getString(2),rs.getString(3),rs.getString(4)));       i++;     }     } catch (NamingException e) {         e.printStackTrace();     } catch (SQLException e) {         e.printStackTrace();     } catch (NullPointerException e) {         e.printStackTrace();         throw new NoConnectionException();  // catch null 1     } finally {     try {         con.close();     } catch (SQLException e) {         e.printStackTrace();     } catch (NullPointerException e) {         e.printStackTrace();         throw new NoConnectionException();  // catch null 2     }     } return rep_dws_wnioski_wstrzymane_graph; }
    but at line:
    con.close();
    i have nullpointerexception
    and
    at line
    throw new NoConnectionException(); // catch null 2
    i have: caused by exception.NoConnectionException
    what's wrong with my exception class? how to resolve it?
    public class NoConnectionException extends RuntimeException{     public NoConnectionException(String msg, Throwable cause){       super(msg, cause);     }     public NoConnectionException(){       super();     } }
    at web.xml i have defined:
    <error-page>         <exception-type>exception.NoConnectionException</exception-type>         <location>/NoConnectionExceptionPage.jsp</location>     </error-page>

    thanks,
    i did it and i have error:
    java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: ORA-02391: exceeded simultaneous SESSIONS_PER_USER limit
    at com.sun.gjc.spi.base.DataSource.getConnection(DataSource.java:115)
    at logic.Database.createConnection(Database.java:37): conn = ds.getConnection();
    public class Database {
         public static Connection createConnection() throws NamingException,
                    SQLException {
                Connection conn = null;
                try{
                    Context ctx = new InitialContext();
              if (ctx == null) {
                   throw new NamingException("No initial context");
              DataSource ds = (DataSource) ctx.lookup("jdbc/OracleReports");
              if (ds == null) {
                   throw new NamingException("No data source");
              conn = ds.getConnection();  // here's exception when max connections to database
              if (conn == null) {
                   throw new SQLException("No database connection");
                } catch (NamingException e) {
                    e.printStackTrace();
                    throw new NoConnectionException(); 
             } catch (SQLException e) {
                 e.printStackTrace();
                    throw new NoConnectionException(); 
                catch (NullPointerException e) {
                 e.printStackTrace();
                    throw new NoConnectionException();  // obsluga bledy na wypadek jesli braknie wolnych polaczen do bazy
            return conn;
    }and at my ealier code i have error:
    at logic.GetDataOracle.getrep_dws_wnioski_wstrzymane_graph(GetDataOracle.java:192)
    at line: con = Database.createConnection();
    in code:
    public List getrep_dws_wnioski_wstrzymane_graph() {
        int i = 0;
        try {
        con = Database.createConnection();
        ps =    (Statement) con.createStatement();
        rs = ps.executeQuery("select data, klasa, ile_dni_wstrzymana, ile_wnioskow from stg1230.dwsww_wstrzymane_dws8 order by data, klasa, ile_dni_wstrzymana, ile_wnioskow");
        while(rs.next()){
          rep_dws_wnioski_wstrzymane_graph.add(i,new get_rep_dws_wnioski_wstrzymane_graph(rs.getString(1),rs.getString(2),rs.getString(3),rs.getString(4)));
          i++;
        } catch (NamingException e) {
            e.printStackTrace();
        } catch (SQLException e) {
            e.printStackTrace();
        } catch (NullPointerException e) {
            e.printStackTrace();
            throw new NoConnectionException();
        } finally {
        try {
            if(con != null)
            con.close();
        } catch (SQLException e) {
            e.printStackTrace();
        } catch (NullPointerException e) {
            e.printStackTrace();
            throw new NoConnectionException(); 
    return rep_dws_wnioski_wstrzymane_graph;
    }so what's wrong?
    i have limit max sessions 10 at oracle so i set at my connection pool 5 connections as max. But when i get max 5 sesssins and try to execute next query then i can't catch exception..

  • REP-56055 Max Connect......URGENT!!!!!

    Hi,
    Am getting this max connect error quite regularly and having to restart the reports server. I have the max connect parameter set to 40 and there is only me running reports one at a time. Is there anything else that maybe tiying up connections? Any problems or specifics about the configuration i need to know.
    Database 9.0.2
    Reports 9.0.2.3
    Thanks

    How did you over come this error.. we are into the same situation now.

  • REP-56055: Exceed max connections allowed: 20

    I have a application server and a db server.I run several reports,then the error message comes up.So I reboot the app server but the problem isn't fixed.
    How to solve the problem?

    When you have a problem like this it is useful to search the forum for the error message.
    See: REP-56055: Exceed max connections allowed: 20
    A quick goggle search found:
    http://www.rittman.net/archives/000514.html

  • How to increase the max connections for business rules.

    How and where to increase the connection to EAS.currently we have max connection as 20.Also please let me know,what is the maximum connection we can increase.
    In our system totally,we have 350 users are present.
    when more that 20 users running the business rule,EAS is stopped.

    You can find this in the application property section in planning. Just navigate to Manage Properties and update the JDBC max connections and JDBC Olap connections to your desired number.

  • Cannot log in iTunes Connect

    Anyone sees this when you try to log in iTunes Connect?
    Apprently I am supposed to set up "reset password question", but there is something wrong about the system. Is it only me, or everybody seeing this?

    Email: 
    <www.apple.com/itunes/go/itunesconnect/contactus> 
    iTunes Connect Support <[email protected]>
    [email protected]
    Contact [email protected] to investigate signup issues.
    clear Safari caches if issues, etc. 
    Apple Developer Relations:
    (800) 633 2152
    (408) 974 4897

  • Archive Log Format Issues

    Hi DBAs,
    I have 2 Archive destination. My archive log format is ARC%S_%R.%T
    But In my 1 location E:\app\Administrator\product\11.1.0\db_1\RDBMS format shows ARC00025_0769191639.001
    2 location shows E:\app\Administrator\flash_recovery_area\BASKAR\ARCHIVELOG\2011_12_08\O1_MF_1_25_7G15PVYX_.ARC
    SQL> select destination from v$archive_dest;
    DESTINATION
    E:\app\Administrator\product\11.1.0\db_1\RDBMS
    USE_DB_RECOVERY_FILE_DEST
    My Question is that, I am using this format only ARC%S_%R.%T
    but it shows different format in each location. May i know what 's the reason behind this?
    Thanks in Advance

    If you are using other archive destination other than FRA it will creates as per LOG_ARCHIVE_FORMAT,
    and the FRA configured then the archive format for FRA is O1_MF_1_25_7G15PVYX_.ARC
    from your query it is clear that there are two destinations are configured, So if you dont want *.ARC* files, you have to disable FRA.
    But recommended to use FRA easy to manage.

  • Clarification on log format

    Hi all
    I have a confusion regarding the log format of cisco ASA.
    The format of log that I have is
    6|Mar 15 2013 12:01:25|109025: Authorization denied (acl=xxx) for user 'xxxx' from xxx.xx.xx6.53/137 to xxx.xx.xxx.255/137 on interface Outside using UDP
    but according to cisco reference the format should be
    May  2 23:07:23 10.160.205.10 %ASA-6-302015: Authorization denied (acl=xxx) for user 'xxxx' from xxx.xx.xx6.53/137 to xxx.xx.xxx.255/137 on interface Outside using UDP
    I just want to know why my log for mat differs from cisco specification.
    Can anybody please help me??
    thanks
    Bijay

    hi,
    U will find the Char format <BD> in char fomats along with Barcode format.
    if u don't find them there then reimport the script from client 000 and see.
    You can the find that in the Character formats radio button and there itself you can see the barcode option.
    reward if helpful
    regards,
    sravanthi

  • How to set access.log format to "combined"

    Hello,
    I'm trying to get AWStats working on Solaris and have that working fine, but to get more information, I need to set the log format to "combined".
    Question is: is there a way to modify what is output in the access.log?

    SHOULD I RECOMPILE and specify the access method?
    Should i change line 1131 in db4.cpp to DBTYPE type = DB_QUEUE; ???

  • Apache Log Format Question

    Hi,
    I need to set my Apache logs to combined for AWStats to work. In 10.6 server admin there seems to be no place to change the log format. Can any one tell me how I do this? I have multiple sites hosted so will I need to do it for each site?
    Thanks
    Paul

    You'll need to change it directly in the config file for each site. They're in /etc/apache2/sites, with names starting with a site ID number and ending in .conf. You need to change the CustomLog directive to something like
    CustomLog "/var/apache2/access_log" combined
    ...and then restart Apache ("sudo apachectl graceful" will do the trick).

  • Max Connections

    Oracle 10g:
    Is there a defaul limit on how many user connections are allowed to connect to DB? Is there a way to set it or view the current limit.

    Thanks. These are my values. Does sessions and processes values below represent number of max connections ? Is there a way to see currently open connections size?
    SQL> show parameter sessions;
    NAME TYPE VALUE
    java_max_sessionspace_size integer 0
    java_soft_sessionspace_limit integer 0
    license_max_sessions integer 0
    license_sessions_warning integer 0
    logmnr_max_persistent_sessions integer 1
    sessions integer 830
    shared_server_sessions integer
    SQL> show parameter connections
    SQL> show parameter processes
    NAME TYPE VALUE
    aq_tm_processes integer 2
    db_writer_processes integer 8
    gcs_server_processes integer 0
    job_queue_processes integer 15
    log_archive_max_processes integer 10
    processes integer 750

  • Change log format of petstore

    Hi everybody
    The log entry format of petstore 1.4 is of the form:
    150.0.0.1 - - [02/Feb/2006:00:32:38 +0530] "GET /petstore/item.screen?item_id=EST-16 HTTP/1.1" 200 9739
    I want to change this log format so that it includes session id information too...how do i do that.....

    Looks like the bug CSCin07036.

Maybe you are looking for

  • MPEG on Intel Mac

    I'm just wondering if anyone else has had issues playing .mpg files in authorware on an Intel Mac? When I try to play them I get and error about 'unable to load external movie driver'. These videos work find on non-Intel macs and they even play fine

  • PSE 7...Unable to save edited photos in a version set

    I am suddenly unable to save my edited photos in a version set.  The edited photo is being saved on the hard drive but is not linked to the previous photo nor is visable in the open catalog.  This issue in occuring in only one catalog but not in othe

  • New line at end of CL_SALV_HIERSEQ_TABLE?

    Hi all, I would like to create a own line at the end of alv CL_SALV_HIERSEQ_TABLE. Instead of totals i would like show the difference of  a value in the header line and a sum in position line. Is there any possiblity to solve this? Regards, Jana

  • Result row at the end of the 2layouts

    Hi All We have 2 layouts in Web Interface builder. we have to calculate the values of 2 layouts and result will come into bottom line. Ex: in layout 1 the value is 3000      in layout 2 the value is -3000 under these 2 layouts i need to get a result

  • Invoice Revaluation Data on a cut off date

    Hi all Client have run revalation programme for a month and next month the previous month revaluation was not reversed and new month revaluation was run now the balances are out i need query to check one specific liability account and all invoices pr