JDBC - mass update - log file

i have a material to search from all PI payloads for a given date, time, interface, namespace.
There are thousands of messsages for an interface. It is difficult to open each message/payload and search for the material.
Is there a way to search for a material in the payload via tcode in ABAP or from URL?
Appreciate the feedback.

hi,
You can create an ABAP report using se38
/people/sravya.talanki2/blog/2006/02/21/abap-based-trex-in-xi-proto
/people/paolo.romano2/blog/2007/09/07/xi-search-through-the-payload-of-a-messagewithout-trex
Create the report and give xpath , xvalue and give the dates.
Thanks!!

Similar Messages

  • Read/display updated LOG file

    I want to read from a LOG file, which is being appended periodically. I have written a java program which can process on the addition made to the LOG file and display the result (as soon as something is added to the LOG file)
    My prgram works fine if I use:
    tail -500 input.LOG | java myprog
    but when I use:
    tail -f input.LOG | java myprog
    nothing is displayed on the screen.
    Wat could be the solution? So that myprogram keeps on processing the updated file and displays the result on the screen as soon as LOG file is appended with new data?

    Here is my JAVA code: It reads a line and store it into an ArrayList.
    ArrayList alBuffer = new ArrayList();
    try{
    InputStreamReader reader = new InputStreamReader(System.in);
    BufferedReader br = new BufferedReader(reader);
    String strLine;
    int count = 0;
    while((strLine=br.readLine())!=null){
    System.out.println("<NEWLINE("+count+")>:"+strLine);
    alBuffer.add(count,strLine);
    ++count;
    }catch(Exception exc){
    System.out.println("EXCEPTION WHILE READING");
    exc.printStackTrace();
    Thanks,
    Sumit

  • Where does 10.6 keeps his software update log file

    i previously updated from 10.5.8 to 10.6.
    since then the software update history as seen in LIBRARY/LOGS/Software Update.log is not visible anymore in the Software Update Panel. installing rosetta gives that feature back, but that is not my intention.
    tonight after updating itunes 8.2.1 to 9.0 this installation was visible again in the Software Update Panel.
    i was wondering were 10.6 keeps this info, as the "old 10.5 Software Update.log" is still on its place but not altered anymore.
    thx mike

    It is now a text based xml file found here:
    /Library/Receipts/InstallHistory.plist
    Many useful details are tracked in this file. However, Software Update chooses not to display any non-apple or optional-apple "installs" when showing it's preference pane -- even though they're included in the plist.
    That's why I manually maintain the former '/Library/Logs/Software Update.log' which is still visible under the console application.

  • Logging JDBC info to log files...

    BlankGuys , Im using
    -Dweblogic.ejb20.cmp.rdbms.verbose=true" "-Dweblogic.ejb20.cmp.rdbms.debug=true
    while starting my server... all debug info goes to console. I want it to be logged on to a file.
    So I see all info from RDBMSPersistenceManager on console.
    [att1.html]
    [Blank Bkgrd.gif]

    The archive log records changes to the database for the purposes of recovery and are not human readable.
    You may be able to achieve what you want (whatever it is) using auditing features but first you need to get your knowledge of oracle up to a reasonable level. Read the documentation starting with the Concepts guide.

  • Re:The JDBC exception in log file

    <Jul 1, 2010 1:57:59 AM EDT> <Warning> <JDBC> <BEA-001129> <Received exception while creating connection for pool "xxxDS": Io exception: The Network Adapter could not establish the connection>
    <Jul 1, 2010 1:57:59 AM EDT> <Info> <JDBC> <BEA-001156> <Stack trace associated with message 001129 follows:
    java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:255)
    at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:387)
    at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:420)
    at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
    at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(ConnectionEnvFactory.java:300)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:204)
    at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1096)
    at weblogic.common.resourcepool.ResourcePoolImpl$ResourcePoolMaintanenceTask.timerExpired(ResourcePoolImpl.java:2018)
    at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:265)
    at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)

    The root cause of this exception is: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    1. From Weblogic Admin Console, go to this Datasource and TEST the connection and see if it is connecting successfully. May be the Host/Port for the Oracle connection and username/password or SID name may be invalid or wrongly configured.
    2. If you have any client to connect to this database like SQL Developer etc, try to connect to that db schema from this tool and see if this works.
    3. One more thing. Check the Firewall settings and specially if the DB Port is open on the server where the database is running. In our Env, usually unless we open the port like for Oracle 1521, outsiders or other machines cannot connect to that database either from SQL Developer or from weblogic datasoures. So check for the port not open issues.
    4. Last option is if the Network is down and not able to connect to that db server. Check with Network guys.
    Thanks
    Ravi Jegga

  • Script for generate randomize administrator password which make log file to recorded new administrator password with associated computer name on it

    Hi
    I Need VDS script in order to change domain client local administrator password in my domain ,and put this script in startup script via group policy, but for security purpose  I want to randomize local administrator password and log new password
    set for each computer on a text file, I want to over write the old password of eachcomputer in log file with new one in order to have the update log file ,my support team some times need administrator password for troubleshooting.
    I need a script for generate randomize administrator password  which make log file to recorded new administrator password with associated computer name on it and each time new administrator password set it over write the old record on
    the log file and update the content of log file automatically.
    Regards

    Hi
    I need a script for generate randomize administrator password  which record new password on a  log file with associated computer name  and each time new administrator password set for a computer it  over write the old record
    on the log file and update the content of log file automatically.
    Regards

  • Adobe Creative Cloud Update Log

    May I ask where the update log file can be found after Adobe Creative Cloud completed update for its apps?

    Hi,
              To install the latest release of CC 2014 please follow the below steps:
    From Photoshop CS6, choose Help>Updates… to launch the Adobe Application Manager. A new version of the Adobe Application Manager will start to download. After it’s downloaded, it will relaunch and the new CC applications will show up when you sign-in. (Note: If the Adobe Application Manager is already open, quit it and relaunch it to get it to self-update)
    Note: By default, the Creative Cloud app is a menu item on Mac:
    If you want it to show up in the OS X Dock and show up in list of open applications when you Cmd + Tab to switch applications, 1. click on the Creative Cloud icon in the menu, and then 2. choose “Open as Window” from the gear menu:
    Note: Adobe Creative Cloud desktop app is supported on Mac OS X 10.7 or later, and Windows 7 or later. If you’re downloading an App on an older operating system, Adobe Application Manager is used to download and install your app.

  • The log file for database 'tempdb' is full

    Hi Experts,
    in my sync RFC to JDBC scenario I get the following error message which says:
    11.02.2009 11:23:20 Error Unable to execute statement for table or stored procedure.
    'Trns' (Structure 'XYZ')
    due to java.sql.SQLException:
    [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]
    The log file for database 'tempdb' is full. Back up the transaction
    log for the database to free up some log space.
    11.02.2009 11:23:20 Error JDBC message processing failed;
    reason Error processing request in sax parser: Error when executing
    statement for table/stored proc. 'Trns' (structure 'XYZ'):
    java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]
    The log file for database 'tempdb' is full. Back up the transaction log
    for the database to free up some log space.
    see here:
    http://img23.imageshack.us/img23/6541/unbenannthd9.jpg
    does anyone know how to solve this problem?
    thanks
    chris

    Christian,
    See this page for more information on the error you're getting: http://sqlserver2000.databases.aspfaq.com/why-is-tempdb-full-and-how-can-i-prevent-this-from-happening.html.
    Kind regards,
    Koen

  • System Update 5.01.0005 hangs every attempt on my X121e (log files inline)

    Hi, I installed TVSU on my x121e laptop and it hangs on 95% on every attempt, like 5th time now. I have tried to uninstall and reinstall and I am using the latest version, I think, which is 5.01.0005.
    Note that the system totally freezes on me. Nothing responds and Ctrl+Alt+Delete does not do anything. Only way is to shut down using the power button.
    System:
    ThinkPad x121e (30456UG)
    Windows 8 Pro 64-bit (v6.2 build 9200)
    Any ideas on what I can do to get it running? I don't know how to attach log files so I pasted them in full.
    tvsu_exe.log:
    TSS(L) 1: 22:07:56:0953 tvsu.cpp(1825): Installdir:  C:\Program Files (x86)\Lenovo\System Update
    TSS(L) 1: 22:07:57:0281 tvsu.cpp(1754): Installdir:  C:\Program Files (x86)\Lenovo\System Update
    TSS(L) 1: 22:07:57:0281 tvsu.cpp(1775): szCmd:  C:\Program Files (x86)\Lenovo\System Update\TvsuCommandLauncher.exe
    TSS(L) 1: 22:08:02:0579 tvsu.cpp(579): StartTvsukernel : admin
    TSS(L) 1: 22:08:02:0594 tvsu.cpp(586): Begin InvokeUacSdkViaService
    TSS(L) 1: 22:08:02:0626 tvsu.cpp(431): Installdir:  C:\Program Files (x86)\Lenovo\System Update
    TSS(L) 1: 22:08:02:0626 tvsu.cpp(466): szCmd:  C:\Program Files (x86)\Lenovo\System Update\TvsuCommandLauncher.exe
    ServiceStart.log = empty
    UACSdk.txt:
    TSS(L) 0: 22:08:06:0188 uacsdk.cpp(170): User: ADMIN
    TSS(L) 0: 22:08:06:0204 uacsdk.cpp(171): TempRegFile:
    TSS(L) 0: 22:08:06:0204 uacsdk.cpp(172): ComdLine:
    TSS(L) 0: 22:08:06:0220 uacsdk.cpp(180): ComdLine tvsukernel: C:\Program Files (x86)\Lenovo\System Update\\Tvsukernel.exe
    TSS(L) 0: 22:08:06:0220 uacsdk.cpp(190): Vista admin
    TSS(L) 0: 22:08:06:0220 vista.cpp(62): StartUIOnVistaWithAdminLongon ComdLine: C:\Program Files (x86)\Lenovo\System Update\\Tvsukernel.exe
    TSS(L) 0: 22:08:06:0220 vista.cpp(70): WTSGetActiveConsoleSessionId dwSessionId: 1
    TSS(L) 0: 22:08:06:0235 vista.cpp(124): ImpersonateLoggedOnUser succeed!
    TSS(L) 0: 22:08:06:0235 vista.cpp(129): CreateProcessAsUser CommandLine : C:\Program Files (x86)\Lenovo\System Update\\Tvsukernel.exe
    TSS(L) 0: 22:08:06:0423 vista.cpp(154): CreateProcessAsUser succeed!

    Hmm, I can in fact not paste the log since the message "exceeds 20,000 chars. Where do I find the "attach file" Icon - looking everywhere.
    Pasting bits and pieces from tvsu_log_121219220812.txt:
    Severe 2012-12-19 , 10:08:13
     vid Tvsu.Sdk.SuSdk.StartApplication()
     Message: Application runs with the framework: 2.0.50727.6400
    Severe 2012-12-19 , 10:09:04  vid Tvsu.FileDownloader.HttpsDownload.Init(FileDownloadInfo fileInfo)  Message: Debug Log: Init method:GET
    Severe 2012-12-19 , 10:09:05  vid Tvsu.FileDownloader.HttpsDownload.doDownloadByHttps(FileDownloadInfo fileInfo, downloadingDelegate downDelegate)  Message: Debug Log: doDownloadByHttps InterException is null, uri:https://download.lenovo.com/ibmdl/pub/pc/pccbbs/agent/SSClientCommon/HelloLevel_9_01_00.xml
    Severe 2012-12-19 , 10:09:05  vid Tvsu.FileDownloader.HttpsDownload.doDownloadByHttps(FileDownloadInfo fileInfo, downloadingDelegate downDelegate)  Message: Debug Log doDownloadByHttps webException message:Fjärrservern returnerade ett fel: (404) Kunde inte hittas.
    Severe 2012-12-19 , 10:09:05  vid Tvsu.FileDownloader.HttpsDownload.doDownloadByHttps(FileDownloadInfo fileInfo, downloadingDelegate downDelegate)  Message: Debug Log server path: https://download.lenovo.com/ibmdl/pub/pc/pccbbs/agent/SSClientCommon/HelloLevel_9_01_00.xml responseStatus:404
    Severe 2012-12-19 , 10:09:05  vid Tvsu.FileDownloader.HttpsDownload.doDownloadByHttps(FileDownloadInfo fileInfo, downloadingDelegate downDelegate)  Message: Debug Log server path: https://download.lenovo.com/ibmdl/pub/pc/pccbbs/agent/SSClientCommon/HelloLevel_9_01_00.xml webException.StackTrace:   vid System.Net.HttpWebRequest.GetResponse()    vid Tvsu.FileDownloader.HttpsDownload.doDownloadByHttps(FileDownloadInfo fileInfo, downloadingDelegate downDelegate)
    Severe 2012-12-19 , 10:09:05
     vid Tvsu.Engine.Process.HelloProcess.Start()
     Message: Could't connect to the HelloServer, no UDF file was downloaded
    Severe 2012-12-19 , 10:09:31
     vid Tvsu.FileDownloader.HttpsDownload.Init(FileDownloadInfo fileInfo)
     Message: Debug Log: Init method:GET
    Then just TONS of Info messages and here is the end of the file
    Info 2012-12-19 , 10:09:37  vid Tvsukernel.CustomControls.Step.<>c__DisplayClass7.<set_Image>b__6()  Message: Setting DONE status.
    Info 2012-12-19 , 10:09:37  vid Tvsukernel.CustomControls.Step.<>c__DisplayClass7.<set_Image>b__6()  Message: Setting PROCESSING status.
    Info 2012-12-19 , 10:09:37  vid Tvsu.Coreq.LoadCoreqsProcessor.ProcessUpdatesImplementation(Update[] ups)  Message: Candidate list: Critical patch to fix TVSU UTS issue[reboot type 1] ThinkVantage Fingerprint Software for Windows 7/8 32-bit[reboot type 3] Lenovo Power Management Driver - 8 [32,64][reboot type 3] ThinkVantage Aktivt skyddssystem (64bit)[reboot type 3] ThinkVantage Fingerprint Software for Windows 7/8 64-bit[reboot type 3] WiMAX Driver for Intel Cards (For Win8 64bit)[reboot type 3] Intel Management Engine Interface driver for Win8 32/64 bit[reboot type 3] Synaptics ThinkPad UltraNav Driver - Vista/7/8 [32,64][reboot type 3] Realtek Card Reader Driver for Windows 8 32/64 bit -WW-[reboot type 3] WiFi driver for Intel cards Driver - 8 [64][reboot type 3] Lenovo Settings Dependency Pacakge - 8 [32,64][reboot type 3] ThinkVantage Aktivt skyddssystem (64bit)[reboot type 3] AMD USB Filter Driver for Windows 8 32/64bit[reboot type 3] ThinkVantage Aktivt skyddssystem (32bit)[reboot type 3] WiFi driver for Intel cards Driver - 8 [32][reboot type 3] WiMAX Driver for Intel Cards (For Win8 32bit)[reboot type 3]
    Info 2012-12-19 , 10:09:37  vid Tvsu.Coreq.LoadCoreqsProcessor.ProcessUpdatesImplementation(Update[] ups)  Message: Resulted order of candidate list: ThinkVantage Fingerprint Software for Windows 7/8 32-bit[reboot type 3] Lenovo Power Management Driver - 8 [32,64][reboot type 3] ThinkVantage Aktivt skyddssystem (64bit)[reboot type 3] ThinkVantage Fingerprint Software for Windows 7/8 64-bit[reboot type 3] WiMAX Driver for Intel Cards (For Win8 64bit)[reboot type 3] Intel Management Engine Interface driver for Win8 32/64 bit[reboot type 3] Synaptics ThinkPad UltraNav Driver - Vista/7/8 [32,64][reboot type 3] Realtek Card Reader Driver for Windows 8 32/64 bit -WW-[reboot type 3] WiFi driver for Intel cards Driver - 8 [64][reboot type 3] Lenovo Settings Dependency Pacakge - 8 [32,64][reboot type 3] ThinkVantage Aktivt skyddssystem (64bit)[reboot type 3] AMD USB Filter Driver for Windows 8 32/64bit[reboot type 3] ThinkVantage Aktivt skyddssystem (32bit)[reboot type 3] WiFi driver for Intel cards Driver - 8 [32][reboot type 3] WiMAX Driver for Intel Cards (For Win8 32bit)[reboot type 3] Critical patch to fix TVSU UTS issue[reboot type 1]
    Info 2012-12-19 , 10:09:37  vid Tvsu.Coreq.CoreqProcessor.ProcessUpdatesImplementation(Update[] updates)  Message: Beginning Coreq process: Recieved 16Updates

  • Reader 10.1 update fails, creates huge log files

    Last night I saw the little icon in the system tray saying an update to Adobe Reader was ready to be installed.
    I clicked it to allow the install.
    Things seemed to go OK (on my Windows XP Pro system), although very slowly, and it finally got to copying files.
    It seemed to still be doing something and was showing that it was copying file icudt40.dll.  It still displayed the same thing ten minutes later.
    I went to bed, and this morning it still showed that it was copying icutdt40.dll.
    There is no "Cancel" button, so this morning I had to stop the install through Task Manager.
    Now, in my "Local Settings\TEMP" directory, I have a file called AdobeARM.log that is 2,350,686 KB in size and a file MSI38934.LOG that is 4,194,304 KB in size.
    They are so big I can't even look at them to see what's in them.  (Too big for Notepad.  When I tried to open the smaller log file, AdobeARM.log, with Wordpad it was taking forever and showing only 1% loaded, so after five minutes, I terminated the Wordpad process so I could actually do something useful with my computer.)
    You would think the installer would be smart enough to stop at some point when the log files begin to get enormous.
    There doesn't seem to be much point to creating log files that are too big to be read.
    The update did manage to remove the Adobe Reader X that was working on my machine, so now I can no longer read PDF files.
    Maybe I should go back Adobe Reader 9.
    Reader X never worked very well.
    Sometimes the menu bar showed up, sometimes it didn't.
    PDF files at the physics e-print archive always loaded with page 2 displayed first.  And if you forgot to disable the look-ahead capability, you could get banned from the e-print archive site altogether.
    And I liked the user interface for the search function a lot better in version 9 anyway.  Who wants to have to pop up a little box for your search phrase when you want to search?  Searching is about the most important and routine activity one does, other than going from page to page and setting the zoom.

    Hi Ankit,
    Thank you for your e-mail.
    Yesterday afternoon I deleted the > 2 GB AdobeARM.log file and the > 4.194 GB
    MSI38934.LOG file.
    So I can't upload them.  I expect I would have had a hard time doing so
    anyway.
    It would be nice if the install program checked the size of the log files
    before writing to them and gave up if the size was, say, three times larger
    than some maximum expected size.
    The install program must have some section that permits infinite retries or
    some other way of getting into an endless loop.  So another solution would be
    to count the number of retries and terminate after some reasonable number of
    attempts.
    Something had clearly gone wrong and there was no way to stop it, except by
    going into the Task Manager and terminating the process.
    If the install program can't terminate when the log files get too big, or if
    it can't get out of a loop some other way, there might at least be a "Cancel"
    button so the poor user has an obvious way of stopping the process.
    As it was, the install program kept on writing to the log files all night
    long.
    Immediately after deleting the two huge log files, I downloaded and installed
    Adobe Reader 10.1 manually.
    I was going to turn off Norton 360 during the install and expected there
    would be some user input requested between the download and the install, but
    there wasn't.
    The window showed that the process was going automatically from download to
    install. 
    When I noticed that it was installing, I did temporarily disable Norton 360
    while the install continued.
    The manual install went OK.
    I don't know if temporarily disabling Norton 360 was what made the difference
    or not.
    I was happy to see that Reader 10.1 had kept my previous preference settings.
    By the way, one of the default settings in "Web Browser Options" can be a
    problem.
    I think it is the "Allow speculative downloading in the background" setting.
    When I upgraded from Reader 9 to Reader 10.0.x in April, I ran into a
    problem. 
    I routinely read the physics e-prints at arXiv.org (maintained by the Cornell
    University Library) and I got banned from the site because "speculative
    downloading in the background" was on.
    [One gets an "Access denied" HTTP response after being banned.]
    I think the default value for "speculative downloading" should be unchecked
    and users should be warned that one can lose the ability to access some sites
    by turning it on.
    I had to figure out why I was automatically banned from arXiv.org, change my
    preference setting in Adobe Reader X, go to another machine and find out who
    to contact at arXiv.org [I couldn't find out from my machine, since I was
    banned], and then exchange e-mails with the site administrator to regain
    access to the physics e-print archive.
    The arXiv.org site has followed the standard for robot exclusion since 1994
    (http://arxiv.org/help/robots), and I certainly didn't intend to violate the
    rule against "rapid-fire requests," so it would be nice if the default
    settings for Adobe Reader didn't result in an unintentional violation.
    Richard Thomas

  • Sun Update manager Registration Wizard - "LOG FILE"

    hi dudes
    we have a problem with the sun update manager registration wizard.
    "Exception in web service communication"
    i think we have a problem with the proxy access.
    is there a special log file, where we can found more information about
    the system registration process?
    thanks a lot for your support
    regards

    Hello,
    The "Exception in Web Service communication" error only occurs during the registration. There has been a bug raised for this - 6348265.
    The only workaround that we have available is to bypass various parts of your network and security infrstructure from the client to the internet during the registration process, e.g.
    LAN(client machine) - Proxy (Squid) - Firewall to DMZ - Webwasher (AntiVirus)
    - Firewall to Internet
    Bypassing proxy, antivirus software or firewall.
    As this issue only affect the registration process these can be re-enable after registration.
    Regards,

  • When using wusa.exe to install MSU update package and enabling logging using the /log switch, what format are the log files in?

    I have been installing a number of hotfixes for Windows 7 using MSU files and the wusa.exe utility included in Windows. I thought it would be a good idea to generate separate log files for each update as it was installed since wusa.exe now supports this
    option using /log:<file name>. However, the log files created do not seem to be regular text files or any other log file format that I immediately recognize. When opened in Notepad or Wordpad you can see that they contain a lot of additional binary data
    which can't be read by a regular text viewer.
    Does anyone know what format these log files are in? What tool should you use to read them?

    I have been installing a number of hotfixes for Windows 7 using MSU files and the wusa.exe utility included in Windows. I thought it would be a good idea to generate separate log files for each update as it was installed since wusa.exe now supports this
    option using /log:<file name>. However, the log files created do not seem to be regular text files or any other log file format that I immediately recognize. When opened in Notepad or Wordpad you can see that they contain a lot of additional binary data
    which can't be read by a regular text viewer.
    Does anyone know what format these log files are in? What tool should you use to read them?
    Only Microsoft can manage to design something as stupid as this. If you start wusa from the command line, it pops up the alternative command line switches. For log, it just says: " /log     - installer will enable logging". It doesn't say that you
    should specify the log file name, hence not HOW you specify it (" /log:<path\filename>.") It doesn't say what extension to use for the file, alas which file type it is (" /log:<path\filename.evtx>."). You open it in notepad, you cannot read it.
    You open it in sccm's cmtrace.exe/trace32.exe, you get nothing. IT IS NOT POSSIBLE TO IMPLEMENT THIS IN A WORSE WAY. How can something be so bad? How can Microsoft get such stupidity inhouse, when you need to go through six interviews or something to get in??
    I cannot believe it - unfortunely, this is seen again and again. 

  • 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

  • Any ideas creating app to read log file when updated?

    Afternoon all,
    I have been asked to write a java app which will read the contents of the server log file every time the log file is updated by the server. The app will be deployed onto WebSphere Application Server.
    Can anyone point me in the right direction as I have never written anything like this before and I don't know where to start. Any help will be much appreciated.
    Thanks in advance,
    A.

    alex@work wrote:
    I agree with most of what you've said but unfortunately I don't have a say in what the company wants. However, I am interested in the appender idea, perhaps they may go for that if I suggest it.I'd say it'll take you a day to read up about Log4J and how to write basic appenders, and another day to write your own appender for this problem. Compare that to the effort of writing something to poll a log file, re-read it constantly and update another file, operations which will get slower and slower as they go along. That's a fair amount more code than a single appender would be. There's how to sell it to your company.
    Can you give me a brief overview in how it works?Log4J uses objects called appenders, which take logging info - generated by your container - and do something with it. It ships with some appenders already in it, for writing to stdout, files, sockets and databases. You can also write your own appenders that do something more than these standard ones do. You write logging code in your application - in this case, your container already does this so you don't have to - and the configuration of Log4J decides what happens to these logging messages. That's what you're interested in. You could write an appender - a simple class - that takes raw logging messages in, and writes them out to file in whatever format you want
    Come to think of it, depending on how complex the required XML is, you may even be able to do this without writing any code at all. You can write formatting patterns in the Log4J config that existing file appenders will use to write your XML files
    A bit of an abstract explanation, I guess. Your best bet is to first ascertain that Log4J is indeed in use, and then read the documentation, which is surprisingly good for an Apache project :-)
    [http://logging.apache.org/log4j/1.2/index.html]

  • Jdbc log file

    Hi all,
    Do you know how it is possible to reduce the degree of what is logged in
    jdbc.log.
    Thanks

    Hi Jen!
    This is bug in 8.1ga and sp1 and it is fixed ib 81sp2.
    When you specify jdbc log name with ".log" suffix, jdbc logging doesn't
    rotate as expected. So, the prior log file would be overwrited by new jdbc
    log when you restart WLS.
    Workaround
    Remove ".log" from the file name. It would be added by WLS automatically.
    Thanks,
    Mitesh
    Jen wrote:
    Hi,
    whenever I restart the wls8.1, the jdbc logs are rewritten. I could not find my
    previous log to debug anymore, how can i config to make write to a new file like
    wls log. Thanks

Maybe you are looking for