JDBC driver log file generation on v8i

I want to know if there is a means to generate the log files for JDBC driver transactions similar to sqlnet.log file which gets created when the OCI connection is used between the client and server.
Where should this be done - on the client/server side? Is there a means to enable it without touching any of native Java code by enabling it through Server/Client side setting?
thanks

You should ask your question in the JDBC forum found at:
http://forums.oracle.com/forums/forum.jsp?forum=99

Similar Messages

  • Exchange 2010 SP3, RU5 - Massive Transaction Log File Generation

    Hey All,
    I am trying to figure out why 1 of our databases is generating 30k Log Files a day! The other one is generating 20K log files a day. The database does not grow in size as the log files are generated, the problem is log file generation.
    I've tried running through some of the various solutions out there, reviewed message tracking logs, rpc client access logs, IIS Logs - all of which show important info, but none of which actually provide the answers.
    I Stopped the following services to see if that would affect the log file generation in any way, and it has not!
    MS Exchange Transport
    Mail Submission
    IIS (Site Stopped in IIS)
    Mailbox Assistants
    Content Indexing Service
    With the above services stopped, I still see dozens (or more) log files generated in under 10 minutes, I also checked mailbox size reports (top 10) and found that several users mailboxes were generating item count increases for one user of
    about 300, size increases for one user of about 150Mb (over the whole day).
    I am not sure what else to check here? Any ideas?
    Thanks,
    Robert
    Robert

    Hmm - this sounds like an device is chewing up the logs.
    If you use log parser studio, are there any stand out devices in terms of the # of hits?
    And for the ExMon was that logged over a period of time?  The default 60 second window normally misses a lof of stuff.  Just curious!
    Cheers,
    Rhoderick
    Microsoft Senior Exchange PFE
    Blog:
    http://blogs.technet.com/rmilne 
    Twitter:   LinkedIn:
      Facebook:
      XING:
    Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.
    Rhoerick, 
    Thanks for the response. When checking the logs the highest number of hits were the (Source) Load Balancers, Port 25 VIP. The problem i was experience was the following: 
    1) I kept expecting the log file generation to drop to an acceptable rate of 10~20 MB Per Minute (Max). We have a large environment and use the exchange sevrers as the mail relays for the hated Nagios monitoring environment
    2) We didn't have our enterprise monitoring system watching SMTP traffic, this is  being resolved. 
    3) I needed to look closer at the SMTP transport database counters, logs, log files and focus less on the database log generation, i did do some of that but not enough of that. 
    4) My troubleshooting kept getting thrown off due to the monitoring notifications seeming to be sent out in batches (or something similar) stopping the transport service for 10 ~ 15 minutes several times seemed to finally "stop the transactions logs
    from growing at a psychotic rate". 
    5) I am re-running my data captures now that i have told the "Nagios Team" to quit killing the exchange servers, with their notifications, sometimes as much as 100+ of the same notifications for the same servers, issues. so far at a quick glance
    the log file generation seems to have dropped by about 30%. 
    Question: What would be the best counters to review in order to "Put it all together"? Also note: our Server roles are split, MBX and CAS/HT. 
    Robert 
    Robert

  • Exchange 2010 personal archive database massive log file generation

    Exchange Server 2010 SP3 + Update Rollup 4
    Windows Server 2008 R2, all updates
    VMware ESXi 5.5
    Server config: 2 x Xeon Quad Core 2.20GHz, 16GB RAM
    We recently started using personal archives. I created a database for this purpose ("Archive Mailboxes") on the same datastore as our live mailbox database ("Live Mailboxes"). It works great except that the mailbox maintenance generates
    massive amounts of log files, over 220GB per day on average. I need to know why. The Live Mailbox database generates around 70GB of log files every day. The database sizes are: Live = 159.9GB, Archive = 196.8GB. Everything appears to be working fine, there
    are no Error events related to archiving. There are 10025 MSExchangeMailboxAssistant warning events logged every day. I have moved those mailboxes back-and-forth to temp databases (both Live and Archive mailboxes) and the 10025 events have not stopped so I'm
    reasonably certain there is no corruption. Even if there were it still doesn't make sense to me that over 100 log files are generated every single minute of the day for the Archive store. And it's not that the database isn't being fully backed up; it is, every
    day.
    Do I need to disable the 24x7 option for mailbox maintenance to stop this massive log file generation? Should I disable mailbox maintenance altogether for the Archive store? Should I enable circular logging for the Archive store (would prefer to NOT do this,
    though I am 100% certain we have great backups)? It appears to me that mailbox maintenance on the Live store takes around 12 hours to run so I'm not sure it needs the 24x7 option.
    This is perplexing. Need to find a solution. Backup storage space is being rapidly consumed.

    I'm sure it will be fine for maintenance to run only on weekends so I'll do that.
    We use Veeam B&R Enterprise 7.0.0.833. We do not run incremental backups during the day but probably could if necessary. All this is fine and dandy but it still doesn't explain why this process generates so many logs. There are a lot of posts around
    the internet from people with the same issue so it would be nice to hear something from Microsoft, even if this is expected behavior.
    Thank you for the suggestions!

  • FTP log file generation failed in shell script

    Hi ALL,
    I am doing FTP file transfer in shell script and able to FTP the files in to corresponding directory , But when i am trying to check the FTP status through the log files then its giving problem . please check the below code.
    for file in $FILENAME1
    do
    echo "FTP File......$file"
    echo 'FTP the file to AR1 down stream system'
    ret_val=`ftp -n> $file.log <<E
    #ret_val=`ftp -n << !
    open $ar1_server
    user $ar1_uname $ar1_pwd
    hash
    verbose
    cd /var/tmp
    put $file
    bye
    E`
    if [ -f $DATA_OUT/$file.log ]
    then
    grep -i "Transfer complete." $DATA_OUT/$file.log
    if [ $? -eq 0 ]; then
    #mv ${file.log} ${DATA_OUT}/../archive/$file.log.log_`date +"%m%d%y%H%M%S"`
    echo 'Log file archived to archive directory'
    #mv $file ${DATA_OUT}/../archive/$FILENAME1.log_`date +"%m%d%y%H%M%S"`
    echo 'Data file archived to archived directory'
    else
    echo 'FTP process is not successful'
    fi
    else
    echo 'log file generation failed'
    fi
    its giving syntax error end of file not giving the exact line number , please help me on thsi
    Regards
    Deb

    Thanks for ur reply
    Actually i did a mistake in the code i wrote the following piece of code below
    ret_val=`ftp -n> $file.log <<E
    #ret_val=`ftp -n << !
    so after the tilde symbol it as again taking the '# ' as a special character so it was giving error, so i removed the second line now its working fine.

  • How can I access the oracle/sql server jdbc driver class files from my cust

    I have a war file in which I have custom DataSource i.e mypackage.Datasource class. Its basically the need of my application. In this class we connect to datasource and link some of our programming artifacts .
    I have deployed the oracle jdbc driver and deploy my application as ear with datasources.xml in the meta inf file. Inspite of that my code fails to load the jdbc driver classes.
    Here is the extract of the code :
            Class.forName("oracle.jdbc.OracleDriver").newInstance();
             String url = "jdbc:oracle:thin:@dataserver:1521:orcl";
            Connection conn = DriverManager.getConnection(url, "weblims3", "labware");
            if(conn != null){
              out.println("the connection to the database have been achieved");
            out.println("conn object achived= " + conn);
    Class.forname fails in this case. I can see the ojdbc5.jar the driver jar in usr\sap\CE1\J00\j2ee\cluster\bin\ext\ojdbc5  . I even put the ojdbc.jar in web-inf/lib and application lib but does not help at all. Hope I have explained my problem clearly.
    I deployed the jdbc driver in the name of ojdbc5 .
    I am stuck here. It will be great help if anyone can help me in this. Thanks in advance.

    Bent,
    You can access the database from your Java portlet, just like from any other Java/JSP environment. Yes, you can use JDBC, as well as BC4J.
    The Discussion Forum portlet was built using BC4J, take a look at it's source to see how it was done.
    Also, check out Re: BC4J Java portlet anyone?, it contains a lot of useful information too.
    Peter

  • How to configure Log file generation

    Hi,
    I am in a migration project. Currently the OS is Unix. After migration it is going to be Windows.
    So we want to change the log files being created in Unix to Windows.
    Can anyone suggest any settings in SAP for the log file.
    Regards,
    Gijoy

    Hi Gijoy,
    can you please reformulate your question for better understanding?
    The log location and tracing severity setup mechanism is platform independent.
    After migration there's no necessary step(s) to be taken, the logs will be created in the same way on windows as on  unix under your current sap installation folder (e.g. defaultTrace is on unix under /usr/sap/.../j2ee/cluster/server<n>/log , on windows this will be <DRIVE:>\usr\sap\...\j2ee\cluster\server<n>\log)
    I hope this answers your question.
    Best Regards,
    Ervin

  • Location of SQL Server JDBC Driver jar files

    Hi All,
    I have a java applet connecting to SQL Server 2000 through MS SQL Server 2000 jdbc driver. It works fine on all client machines only if I copy the three jar files of the driver (msbase.jar....) into ext folder of java. If not, I get an error message saying error establishing socket. Why is it necessary to copy these 3 files on to client machines when all the other jar files can be easily accessed from the server?
    Any ideas?
    Thanks,
    Manish

    Hi All,
    I have a java applet connecting to SQL Server 2000
    through MS SQL Server 2000 jdbc driver. It works fine
    on all client machines only if I copy the three jar
    files of the driver (msbase.jar....) into ext folder
    of java. If not, I get an error message saying error
    establishing socket. Why is it necessary to copy these
    3 files on to client machines when all the other jar
    files can be easily accessed from the server?
    Any ideas?
    Thanks,
    ManishIt is necessary because the applet is running ON THE CLIENT MACHINE. So the drive must be ON THE MACHINE.

  • Huge log file generation

    Hi,
    I have a report server.when i start the report server the size of log file located at
    $ORACLE_HOME/opmn/logsOC4J~Webfile2~default~island~1 > 2GB in 24 Hrs
    Please tell me what may be the root cause for this and what will be the possible solution for this.
    Please its urgent.

    Hi Jaap,
    First of all Thanks.
    how to set debuging off on the container?
    some lines of the messages in line are as follows:95178969 [AJPRequestHandler-ApplicationServerThread-90] ERROR com.allianz.weo.struts.StoredProcAction - SQLException while calling proc CUSTOMER.AZBJ_WEO_SECURITY.LOAD_MODULE_MENUS: ORA-01013: user requested cancel of current operation
    ORA-06512: at "CUSTOMER.AZBJ_WEO_SECURITY", line 107
    ORA-06512: at line 1
    95178969 [AJPRequestHandler-ApplicationServerThread-90] ERROR com.allianz.weo.struts.StoredProcAction - SQLException while calling proc CUSTOMER.AZBJ_WEO_SECURITY.LOAD_MODULE_MENUS: ORA-01013: user requested cancel of current operation
    ORA-06512: at "CUSTOMER.AZBJ_WEO_SECURITY", line 107
    ORA-06512: at line 1
    95178969 [AJPRequestHandler-ApplicationServerThread-90] ERROR com.allianz.weo.struts.StoredProcAction - SQLException while calling proc CUSTOMER.AZBJ_WEO_SECURITY.LOAD_MODULE_MENUS: ORA-01013: user requested cancel of current operation
    ORA-06512: at "CUSTOMER.AZBJ_WEO_SECURITY", line 107
    ORA-06512: at line 1
    95178969 [AJPRequestHandler-ApplicationServerThread-90] ERROR com.allianz.weo.struts.StoredProcAction - SQLException while calling proc CUSTOMER.AZBJ_WEO_SECURITY.LOAD_MODULE_MENUS: ORA-01013: user requested cancel of current operation
    ORA-06512: at "CUSTOMER.AZBJ_WEO_SECURITY", line 107
    ORA-06512: at line 1
    07/07/12 12:18:32 DriverManagerConnectionPoolConnection not closed, check your code!
    07/07/12 12:18:32 (Use -Djdbc.connection.debug=true to find out where the leaked connection was created)
    Regards,
    Sushama.

  • Oracle bat scripts on windows log file generation

    I want to generate logfile/recording of this .bat file, msglog file is not generating any thing , any idea or any other suggestion how i can generate logfile ? like we can do in crotab scropt>> script.log etc
    set ORACLE_HOME=c:\oracle\10
    set ORACLE_SID=clin
    sqlplus ops/***** @ C:\u06\users\db\oracle\scripts\ops\datastore\scripts\main\main2xwk.sql msglog=opsshell3.log

    DBA2011 wrote:
    i am hoping to log all the action main2xwk.sql do, in one single logfileAnd exactly how do you anticpate that passing sqlplus the string 'msglog=opsshell3.log' will accomplish that? What do you expect sqlplus to do with that?
    Let's deconstruct your .bat file
    set ORACLE_HOME=c:\oracle\10
    set ORACLE_SID=clinThe above two lines simply set a couple of environment variables, to be used by some process running in the same enviornment in whatever manner said process chooses. Since your next step executes sqlplus, we know it may choose to use them, and in fact it does.
    sqlplus ops/***** @ C:\u06\users\db\oracle\scripts\ops\datastore\scripts\main\main2xwk.sql msglog=opsshell3.log The above line tells the OS to locate an executable file named 'sqlplus'
    and make available to it the character string 'ops/***** @ C:\u06\users\db\oracle\scripts\ops\datastore\scripts\main\main2xwk.sql msglog=opsshell3.log
    to use as it (sqlplus) sees fit. We know from the SQLPLus docs that sqlplus will parse that out as follows, with a 'space' as the delimiter.
    "ops/*****"
    will be broken down into username 'ops' and password '*****' and used to issue a connection request to a local database instance identified by the value of the environment variable ORACLE_SID.
    "@ C:\u06\users\db\oracle\scripts\ops\datastore\scripts\main\main2xwk.sql "
    Well, if you had closed the space between '@' and 'C:', sqlplus would have attempted to locate the file 'C:\u06\users\db\oracle\scripts\ops\datastore\scripts\main\main2xwk.sql' and process it. However, since you seem to have a space there (all I did was copy and paste the code you posted) it probably just gave up and did nothing because it found nothing appended directly to the '@' and the strings that follow the space after '@' have no special meaning at all to sqlplus.
    "msglog=opsshell3.log"
    If you had closed the space after the @, and sqlplus was able to locate and process 'main2xwk.sql', it would simply have used the string 'msglog=opsshell3.log' as the first command-line substitution parameter to be used by main2xwk.sql, however it was written to use it. Was main2xwk.sql written to accept a command-line parm? See http://docs.oracle.com/cd/B19306_01/server.102/b14357/ch5.htm#sthref1080

  • Log file in Sql*Loader

    Hi,
    Sql loader always creates the logfile with same name as .ctl file,
    but i want log file should get created in case of unsuccessful run
    not in case of successful run.
    Is this possible.
    Regards,
    SS

    I don’t think it is possible to suppress log file generation on successful run. The Log file contains a detailed summary of the load and helps you to identify successful/fail load.

  • Oracle 10g R2 Database Redo Log Files

    I had 3 redo log files, each of size 50 MB. i added 3 more redo log files, each of size 250 MB.
    Database is running in archive mode, files are generating with different sizes like 44 MB and 240 MB, i need to know is this harm for database or not?
    to make all archive redo log files generation of equal size what should i do?
    Please guide

    Waheed,
    When the redo log switch willbe happening,oracle would be asking archiver to log that into the archive file.So in case you have any parameters set to make the switch happen at certain time,depending on the activity of teh database,the archive file size may vary.There is no harm wit the different sizes of the files.What matters is the transaction informaiton contained in them not their size.
    to make all archive redo log files generation of equal size what should i do?
    As mentioned by Syed, you can make the switch happen at a defined interval which will not ensure but still will be a step to make the archive files of the same size.But I shall say you should bother more about making sure that the files are available rather than their size.
    Aman....

  • Jdbc Driver for MS SQL Server

    i want the JDBC Driver for MS SQL Server.
    is it available free?
    thanks in advance

    Install the SQL Server 2000 Driver for JDBC Service Pack 3.
    http://www.microsoft.com/downloads/details.aspx?FamilyID=07287b11-0502-461a-b138-2aa54bfdc03a&displaylang=en
    The SQL Server JDBC driver JAR files msbase.jar, mssqlserver.jar and msutil.jar get installed in the C:\Program Files\Microsoft SQL Server 2000 Driver for JDBC\lib directory.

  • Separating native JDBC driver JAR from applet JAR - best way?

    Since I want to allow the customers/users of my applet to choose their own native JDBC driver to purchase at their site, I don't bundle the JDBC driver into my applet's JAR file. During my testing, here's what I've done:
    1. Deployed my applet HTML and JAR files to a web server folder.
    2. Extracted my JDBC driver JAR file's contents to that same web server folder.
    (My applet HTML contains 2 parameters that allow the applet to use the JDBC driver -- class name and connection string template.)
    This works fine, but I'm wondering if I'm using the best techniques.
    Questions:
    1. Do the contents of the JDBC driver need to be extracted from its JAR file? If not, what do I do, if anything, to allow my applet to "see/find" the driver class within the JAR?
    2. If the JDBC JAR file DOES need to have its contents extracted, is there a way to extract them to a central folder somewhere on the web server and have a variety of applets use them? If so, what do I need to do to make my applet "see/find" the file(s) in the central folder?
    Possibly looking for this stucture on the web server:
    /WebApps/JDBCfiles
    /WebApps/MyDbApplet1
    /WebApps/MyDbApplet2
    /WebApps/MyDbApplet3
    Any advice/recommendations? Thanks.

    Is it possible for a client application to access a jarred JDBC driver? I'd like to deliver a JDBC driver packed in a jar file, however, it won't work, here is what I am tring to do
    try {
         Class.forName("mfg.jdbc.myDriver").newInstance(); //--> throw an exception
    m_Connection = DriverManager.getConnection(szURL, props);
    catch(Exception e) {/...}
    Before class myDriver and other classes from package mfg.jdbc were jarred, a client application used to get the connection just fine, now I get an exception "java.lang.ClassNotFoundException: mfg.jdbc.myDriver"
    I am using Java 2 Platform, no problem in running a jarred command like java -jar jarredclass.jar
    Any tips and hints would be gratfully received!
    Simon

  • JDBC Driver for Progress Database

    Hi experts,
    We need to connect our SAP PI 7.0 which is running on Windows 2003 Server x64 bit Standard/Enterprise Edition SP1 to a progress database 9.1D version on Unix. The problems are
    1. What JDBC driver should I use?
    2. We tried to copy progress JDBC driver jar files from the progress database installation directory into my windows machine and tried to run it, it fails to run. It gives the following error
    Error during database connection to the database URL 'jdbc:JdbcProgress:T:156.5.31.65:inodbc2' using the JDBC driver 'com.progress.sql.jdbc.JdbcProgressDriver': 'com.sap.aii.adapter.jdbc.sql.DriverManagerException: Unable to locate a suitable JDBC driver to establish a connection to URL 'jdbc:JdbcProgress:T:156.5.31.65:inodbc2''
    3. Does anyone know what connection architecture should I use to run under such environment?
    Thanks
    Charu

    Hi,
    To install JDBC driver follow the how to guide.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/xi-how-to-guides/how%20to%20install%20and%20configure%20external%20drivers%20for%20jdbc%20and%20jms%20adapters.pdf
    Configuration of JDBC Adapter for SQL Server
    JDBC Driver = com.microsoft.jdbc.sqlserver.SQLServerDriver
    Connection = jdbc:microsoft:sqlserver://hostname:<port>;DatabaseName=<DBName>
    UserID and Password.
    If the connection is not working find the correct port number.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40b92770-db81-2a10-8e91-f747188d8033
    JDBC- X I -  R/3 Scenario
    /people/bhavesh.kantilal/blog/2006/07/03/jdbc-receiver-adapter--synchronous-select-150-step-by-step
    /people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30
    Please check the driver path as mentioned below.
    JDBC Driver : sun.jdbc.odbc.JdbcOdbcDriver
    Connection:jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=//location of DB table.mdb;
    No JDBC driver required.
    Receiver JDBC scenario MS access - /people/sameer.shadab/blog/2005/10/24/connecting-to-ms-access-using-receiver-jdbc-adapter-without-dsn
    follow this thread
    Re: Problem when connecting to MS Access through JDBC Adapter.
    SAP Note 850116 has details
    Thanks,
    Satya Kumar
    Reward Points If it is Useful..

  • Tomcat7 + JDBC driver jar

    Context:
    According to the installation guide for bonitasoft (http://documentation.bonitasoft.com/dat … add_driver)
    Tomcat 7
    For Tomcat, simply add the JDBC driver jar file in the appropriate folder:
        Bonita BPM Tomcat bundle: in the bundle folder add the driver to the lib/bonita folder.
        Bonita BPM deploy bundle: in the Tomcat folder add the driver to the lib folder.
        Ubuntu/Debian package: add the driver to /usr/share/tomcat7/lib.
        Windows as a service: add the driver to C:\Program Files\Apache Software Foundation\Tomcat 7.0\lib
    Problem:
    Which JDBC driver is meant ? I searched the web for an tomcat JDBC jar file for tomcat7 ?
    This confused me further, I tought archlinux is analog to ubuntu and read the section platform installation example for (Ubuntu + OpenJDK + Tomcat + MySQL):
    Add JDBC driver
    You need to include JDBC driver in Tomcat classpath:
        Change to Tomcat libraries directory: cd /usr/share/tomcat7/lib.
        Download the library mysql-connector-java from the MySQL site to this directory.
    But the mysql site (recommended by the installation guide) provides a download link for an tar.gz file and on google.code (https://code.google.com/p/find-ur-pal/d … 8-bin.jar&) I found .jar file. The installation guide clearly speaks about an .jar file. There are different version of the JDBC jar file on the web. Which one is right ?

    Do you intend on continuing to spam the boards with this issue? Read the Etiquette and the wiki: https://wiki.archlinux.org/index.php/Tomcat_and_Apache
    Moving to NC...

Maybe you are looking for

  • GR/IR clearing account is being assigned to a acct assignment object

    Hi there! My key-user asked me a question which I really don't know how to answer.  He asked me about the reason why in an accounting document automatically generated by MIRO the item which contains the GR/IR clearing acct is always assigned to an ac

  • "USB Device Not Recognized" in Windows XP

    Hello, When i plug my ipod touch into my laptop which has Windows XP, it comes up as USB Device Not Recognized. I have no idea what to do please HELP ME!!!!!!

  • Photoshop scripts within Actions

    Ok so I am currently trying to run a photoshop script within an action specifically Image processor. I can include the script by importing menu item although evyerthing i run the action i have to set up the script aka choose folder locations etc. My

  • Installing repository

    Designer 6i r4.11 on Windows 2000 Svr and Pro (Client) - Database 8.1.7 I have one repository working good. I created a second database and tray to install another repository but I receive the message: CDR-21244: This process has been aborted

  • JRE1.3.1

    Hi There I would like to know if there is a jre1.3.1 for the following platforms and where may I download it from. Unix SCO IBM AIX, OS/390, OS/400 Linux Please excuse me if I don't know much. But this part is very new to me. Yours sincerely Chardena