How to turn of debug output from the jdriver for Oracle

We are running our builds with Ant and doing unit-tests with junit/cactus.
The Weblogic jDriver produces what appears to be debug info on standard out which
in turn is captured by junit in xml files reporting errors etc. The problem is that
the WebLogic driver ( WL6.1 SP2) sometimes produces binary 0's ( see below) ending
up in the result xml files, and that Ant's result xml parser cannot handle - (nor
should it ).
This is probably a bug in the c-code for the jdriver , the oci dll ?
Would much appreciate how to turn off the debug(?) logging that the jDriver does:
looks like this (look for the string "[6 binary 0's]"):
Parsing: select length(SYSDATE) from dual
Executing: select length(SYSDATE) from dual
Parsing: select VALUE from V$NLS_PARAMETERS where PARAMETER='NLS_NUMERIC_CHARACTERS'
Executing: select VALUE from V$NLS_PARAMETERS where PARAMETER='NLS_NUMERIC_CHARACTERS'
Done logging in at: 60
Connection: using OCI API: OCI8[6 binary 0's]
Connection successfully established via plain JDBC
DriverManager.getDriver("jdbc:weblogic:oracle:LSS_DBSVC_DEV_autobuild")
trying driver[className=weblogic.jdbc.oci.Driver,weblogic.jdbc.oci.Driver@3383e9]
getDriver returning driver[className=weblogic.jdbc.oci.Driver,weblogic.jdbc.oci.Driver@3383e9]

Hi Gunnar,
I'd check your code for appearances of "DriverManager.setLogWriter" that set
log writer to System.out. This is the way to get driver's debug output
to standard out.
Regards,
Slava Imeshev
"Gunnar Skogen" <[email protected]> wrote in message
news:3d2972bb$[email protected]..
>
We are running our builds with Ant and doing unit-tests with junit/cactus.
The Weblogic jDriver produces what appears to be debug info on standardout which
in turn is captured by junit in xml files reporting errors etc. Theproblem is that
the WebLogic driver ( WL6.1 SP2) sometimes produces binary 0's ( seebelow) ending
up in the result xml files, and that Ant's result xml parser cannothandle - (nor
should it ).
This is probably a bug in the c-code for the jdriver , the oci dll ?
Would much appreciate how to turn off the debug(?) logging that thejDriver does:
looks like this (look for the string "[6 binary 0's]"):
Parsing: select length(SYSDATE) from dual
Executing: select length(SYSDATE) from dual
Parsing: select VALUE from V$NLS_PARAMETERS wherePARAMETER='NLS_NUMERIC_CHARACTERS'
Executing: select VALUE from V$NLS_PARAMETERS wherePARAMETER='NLS_NUMERIC_CHARACTERS'
Done logging in at: 60
Connection: using OCI API: OCI8[6 binary 0's]
Connection successfully established via plain JDBC
DriverManager.getDriver("jdbc:weblogic:oracle:LSS_DBSVC_DEV_autobuild")
tryingdriver[className=weblogic.jdbc.oci.Driver,weblogic.jdbc.oci.Driver@3383e9]
getDriver returningdriver[className=weblogic.jdbc.oci.Driver,weblogic.jdbc.oci.Driver@3383e9]
>
>

Similar Messages

  • How can i disable debug information from the end user

    By changing debug flag in the url to YES it is possible to view debug information. i want to disable debug information, so that end user could not see debug information. can anyone please tell me the solution.

    Sundhar,
    when you export the application select Debugging:No
    It's one of the available properties together with Build Status, Export Comments, Export Supporting Objects Definitions and so on.
    Bye,
    Flavio
    http://www.oraclequirks.com

  • How to enable/disable archive mode from the pfile in oracle 10g?

    hi
    I am using oracle 10g.
    Is there any mechanism to / parameter to enable or disable archive log mode?
    can I enable arching directly from pfile without touching the startup process??
    pls help.
    thnx in advance..

    Please is not in pfile that you enable/disable archive log mode.
    For ENABLE Archivelog mode:
    shutdown immediate
    startup mount
    alter database archivelog;
    alter database open;
    For DISABLE Archivelog mode:
    shutdown immediate
    startup mount
    alter database noarchivelog;
    alter database open;

  • XSF Output from the Smartform

    Hi,
    How do I create XSF output from the Smartform(PO).
    Appreciate your reply.
    Thanks,
    Ramesh

    hi ramesh,
    below is the link i found some information about XSF output.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/a5/28d3b6d26211d4b646006094192fe3/content.htm
    reward me if useful.......
    thanks,
    gupta pullipudi

  • How do I get routing data from the Map App (powered by TomTom) so I can display the point-to-point annotations (turn-by-turn navigation) without leaving my own application.

    I have a tableView displaying a list of contacts from a Cloud Database.  After selecting a contact, I push to a programmatically created MKMapView.  Then I display the initial region (the view) that includes the users current location (starting point) and their selected destination (end point).
    Now I want to display annotations (as described in the Location Awareness Programming Guide) that displays polylines which will represent the turn-by-turn navigation IN MY OWN APPLICATION, and not in the Map App currently used in IOS6. 
    Due to licensing and its becoming depricated in IOS 6, I do not want to get routing data from the Google Maps API.  How do I get routing data from the IOS 6 Map App (powered by TomTom) so I can display the point-to-point annotations (turn-by-turn navigation) without leaving my own application?
    I checked out Stack Overflow and other forums which basically left me with the impression that this is not possible. I also checked out the TomTom iPhone Mobile SDK User Guide from the TomTom Developer Portal and am still confused.  It must be possible to retrieve routes, since the Map App can display turn-by-turn directions.  How can I retrieve turn-by-turn data that I may display as a route within my own application?

    Thanks Michael. Apologies for the slow reply I was away for a bit (holiday blitz at work and visiting family madness etc.etc.) back now, I set both options you requested to "never " and retried the CMS software with no change. 
    I do have progress of a sort though, as a test I took a separate test PC and put a clean install of Win7 on and loaded up the CMS software (it worked perfectly) and then took the version of ole32.dll off that machine and put it onto the computer I had built
    for her (using Linux) and...
    got a new error code. Darn I was so sure I had found a clever solution this time lol.
    Anyway now when the CMS fails it gives me a similar error but the offending module is "ntdll.dll" sooo... I tried taking the "working" version of ntdll.dll from the test box and moving it over (making sure to back up the existing ones
    first so I could put them back if needed) to her new PC and the PC would not boot. 
    It seems to want the original versions of a few Dynamic Link Libraries and if I could somehow give it those while not breaking Win7 it should theoretically work seeing as it no longer errors with ole32.dll. 
    ntdll.dll however seems necessary for Win7 to boot.
    So what I am wondering now is:
    Is there some way to have both versions of the DLL file in the system32 folder (bypassing the "cannot have two files with the exact same name in the same folder" thing) or rename the original DLL's something else and somehow make the CMS look for
    the new named versions so the system has the updated DLL's it needs to boot/run and the CMS has the old ones it wants to run or is there someway to have a self contained install of the CMS, say on a USB flash drive and give it it's own E:/windows/system32/needed
    dll's  path to the files it needs? 
    Willing to try any other options or settings you may have come up with as well.
    Thanks again for your reply and my apologies for not answering sooner.

  • My UR12 Steinberg interface is recognized by Yosemite but I can't get any output from the device, does anyone know how to fix this problem? Thanks in advance

    My UR12 Steinberg interface is recognized by Yosemite but I can't get any output from the device, does anyone know how to fix this problem? Thanks in advance

    Apparently it's related to the Firefox plug in.
    This isn't exactly a solution but more of a way to avoid opening PDFs with Firefox's plug in.
    1. Highlight "Tools" from the Menu Bar in the top left of the screen (or click "Options" if using the Firefox Compact Menu)
    2. Select to "Options
    3. Select "Applications"
    4. Look for "Adobe Acrobat Document" under Content Type and to the right under Action select "Use Adobe Reader (default)" instead of the using Adobe Acrobat in Firefox
    5. Open a test PDF. It should open in it's own window now.
    Again, not a complete solution but something that'll at least let you scroll with PDFs open.
    More info here: http://forums.mozillazine.org/viewtopic.php?f=38&t=2171033

  • Does anyone know how to convert the output from the standard report to xml?

    Does anyone know how to convert the output from the standard SAP report to xml?

    since it a standard report which you cannot modify you can only do the following.
    submit report exporting list to memory
    then
    list from memory and then
    use the returned itab along with CALL TRNSFORMATION key word to convert to xml.
    but this only going to place the whole list content (including data and formating lines,etc) into a xml element and not the actual data alone in the list .

  • How long should does it take from  the time you turn it on till you can use it

    how long should does it take from  the time you turn it on till you can use it...is 35 seconds normal

    kevinfromrome wrote:
    how long should does it take from  the time you turn it on till you can use it...is 35 seconds normal
    Yes.

  • How can I get all photos from the camera roll onto the photo stream so they will share between iphone and ipad?

    How can I get all photos from the camera roll, and all new pictures taken, to get on the photostream so they can share between iphone and ipad?

    When turning PhotoStream on with photos available in the Camera Roll, only photos captured by the iPhone or saved on the iPhone are placed in the PhotoStream.
    For all photos that were in the Camera Roll prior to turning PhotoStream on, import the photos with your computer and add the photos to your PhotoStream on your computer.

  • HOW TO TURN ON DEBUG OPTION OF APXIIMPT

    제품 : FIN_AP
    작성날짜 : 2003-05-13
    HOW TO TURN ON DEBUG OPTION OF APXIIMPT
    =======================================
    PURPOSE
    PAYABLES OPEN INTERFACE IMPORT PROGRAM (APXIIMPT) 수행시 erorr 가 발생하였을 경우 debug mode로 log를 생성하게 하여 문제해결에 도움을 준다.
    Explanation
    1. Loggon to Applications with System Administrator Responsibility.
    2. Go to 'Concurrent -> Program -> Define'
    3. Query 'APXIIMPT' in Short Name field
    4. Click Parameter button
    5. Select 'Trace Switch' Row and then check 'Display' checkbox in the bottom
    6. Select 'Debug Switch' Row and then check 'Display' checkbox in the bottom
    7. Save what you are done
    8. Change Responsibility to 'Payables User'.
    9. Run the open interface program with parameter 'Trace Switch' to 'Yes' and 'Debug Switch' to 'Yes'
    Example
    N/A
    Reference Documents
    NOTE 107617.1

    Open this file: C:\Program Files\Cisco\Desktop\config\Agent.cfg
    Then change this line: Threshold=DEBUG (or TRACE).
    Empty this folder's contents to give you a clean slate: C:\Program Files\Cisco\Desktop\log
    Restart CAD and reproduce the issue.
    [...] Agent himself can turn-on debug to gather debug logs ??
    As long as the agent has write access to those directories it is possible to self-enable/disable trace logging.
    Please remember to rate helpful responses and identify helpful or correct answers.

  • I've just bought an iPhone 5S in the UK, seems like a big mistake. I have turned off sync to icloud from the phone for both my contacts and calendar, as told on itunes. However, iTunes still says they are synced from iCloud and wont sync to PC, Fix ?

    I've just bought an iPhone 5S in the UK, seems like a big mistake, but luckily by law we can return goods, which is exactly what is going to happen if I cant get this to work. This is my business phone, not having it functional can cost me money.
    I have turned off sync to icloud from the phone for both my contacts and calendar, as told on itunes. However, iTunes still says they are synced from iCloud and wont sync to my PC, why and how do I fix it so that it doesnt go to iCloud for anything ?
    The phone currently has no contacts or calendar information installed.
    PC is HP Probook 4730s running Windows 7, Professional, version 6.1.7601 Service Pack 1 Build 7601.

    I'm happy you figured it out and just try to keep in mind that not everyone you talk to at support will give the same advice or have the same knowledge. Just like those who contribute to these forums. Sometimes Google is your best friend.
    I agree that Apple could probably make it easier, but as of yet prefer security over freedom. (sound famaliar?)
    Anyway, if you choose to do so, you can leave feedback here:
    Apple.com Feedback
    Apple Support Feedback
    Developer Feedback
    Product Feedback
    QuickTime Feedback
    Search Feedback

  • I have an alias of one of my external hard drives in my trash. When I click on "show original" all my external H D 's and my Mac hard drive show up. How do I delete this icon from the trash without loosing all my files?

    I have an alias of one of my external hard drives in my trash. When I tried to delete it, it showed that I was deleting 80,000 files and counting. I stopped the delete process and when I clicked on "show original" all my external H.D.'s and my Mac hard drive show up. How do I delete this alias from the trash without loosing all my files? When I tried to drag it back to the desk top, it just made a duplicate and remained in the trash. When I turned off the external H.D., the trash was then empty. Tried rebooting the computer and then turning the external hard drive back on and the alias shows up in the trash again. Much help appreciated.
    Rich

    In Finder's Menu, select Go menu>Go to Folder, and go to "/volumes". (no quotes)
    Volumes is where an alias to your hard drive ("/" at boot) is placed at startup, and where all the "mount points" for auxiliary drives are created for you to access them. This folder is normally hidden from view.
    Drives with an extra 1 on the end have a side-effect of mounting a drive with the same name as the system already think exists. Try trashing the duplicates with a 1 or 2 if there are no real files in them, and reboot.
    If it does contain data...
    http://support.apple.com/kb/TS2474

  • HT2203 How do I export a file from the new iMovie 10.0.2 to iPod size?

    How do I export a file from the new iMovie 10.0.2 to iPod size? I used to be able to do this and it would save as a m4v file but I can no longer do this and the files are too big.

    iTunes: May be unable to transfer videos to iPhone, iPad, or iPod
    iTunes: Frequently asked questions about viewing and syncing videos
    You may need a third-party computer app like HandBreak. That one is free and has preset outputs for iOS devices

  • How to I get my contacts from the iCloud  to my new phone

    I am having problems with my new iphone5 the lady in the shop saved all my contacts on the iCloud and said I could get them once I have started up my new phone.does anyone know how I can get my contacts from the iCloud to new iPhone. Thanks

    It depends on how she saved them on iCloud.  Check your contacts on icloud.com from your computer.  If they are there, all you need to do is go to Settings>iCloud, sign in with your iCloud ID, then turn Contacts to On. 
    If your contacts aren't on icloud.com, she may have simply backed up your phone to iCloud.  If that's the case, you would have to restore the backup to your new phone by going to Settings>General>Reset, tapping Erase All Content and Settings (which will erase the phone), then go through the setup screens on the phone and when given the option, choose Restore from iCloud backup.

  • How to turn a database status from "in recovery" to "online"?

    How to turn a database status from "in recovery" to "online"?
    We were trying to turn a datase to offline status using management studio - the operation was closed before it could reach the end.

    Hi Brian,
    Thanks for your feedback;
    I have completed the following actions to solve the issue:
    1. Start SQL Server in single user mode.
    2. Check database status: there i noticed that it was normal
    3. Restart SQL Server in multi-user mode
    4. Check database status: normal
    5. Check my data: ok
    Thank you again
    Lulu01
    You should have wait for an while or atleaset you need to check in the sql errorlog, what phases it is or if any issues persists that shows in the errorlog messages.
    also you would have been used sys.databases, to seewhat's the value for state_desc for your database.
    Thanks, Rama Udaya.K (http://rama38udaya.wordpress.com) ---------------------------------------- Please remember to mark the replies as answers if they help and UN-mark them if they provide no help,Vote if they gives you information.

Maybe you are looking for

  • Not able to get the data from synchronous Webservice To BPEL process

    Hi All, My requirement is : Third party has some webservice.They are pushing data to that Webservice(Wsdl). Third part WSDL example : http://ipaddress:port/name/Service.svc?wsdl ( This is just example format of their WSDL) After that I need to get th

  • Oracle Data modeler 3.1.0.700 freeze on MAC OSX 10.7.3

    Hello, I was used Data modeler 3.0.x on the same machine with no problems (use SVN+3 active users , atc...) When I installed version 3.1.0.700 and model migration I have problem with stability of program With any action, java freeze after a few minut

  • Inserting a preloader?

    Hi, I am creating an image gallery where images are loaded dynamically into an empty movie clip when a user selects an option from the list component. I have this working fine but I would like to also had a preloader for each image that loads rather

  • Question about Alerttypes (code included)

    Hi, I have this code where I'm comparing two dates, if its outdated then the program will exit. That works perfectly. But when the program is outdated a screen is supposed to be shown to the user and prompt a text. I can only get this screen to show

  • E-Recruitment Maintain Substitute

    Hi Expert, We are implementing E-Recruitment, and i having trouble to find out how the Maintain Substitute works in MSS. When manager A maintain the substitute to manager B for substitute the creation of requisition, i could not find where a dropdown