What JDBC client info is sent/available in the DBMS?

Hi all.
If 10 JDBC connections are made to the same DBMS,
(scott/tiger), five from one JVM and 5 from another, is
there a query that a third-party can run that will be able
to identify which five connections are from JVM A and
which are from JVM B? For instance, if JVM A is on a
different box than JVM B? Ie: does the client login protocal
send the client IP address/OS process ID?
thanks
Joe Weinstein at BEA Systems

thanks all for trying to help!
I tried setting v$program in a property
but it had no effect. I checked
http://download-west.oracle.com/docs/cd/B19306_01/java.102/b14355/urls.htm#g1028323
and that doesn't list V$PROGRAM as a property. The tinyurl gives a 404.
The driver is 10.2.0.1.0
The DBMS is Oracle Database 10g Enterprise Edition Release 10.1.0.4.0 - Production With the Partitioning, OLAP and Data Mining options
Driver dr = new oracle.jdbc.OracleDriver();
Properties props = new Properties();
props.put("user", "joe");
props.put("password", "XXX");
props.put("v$program", "MY_PROGRAM_NAME");
c = dr.connect("jdbc:oracle:thin:@XXX:1521:XXX", props);
System.out.println("The driver is " + c.getMetaData().getDriverVersion() );
System.out.println("The DBMS is " + c.getMetaData().getDatabaseProductVersion() );
Statement s = c.createStatement();
ResultSet r = s.executeQuery("select * from V$SESSION where USERNAME = 'JOE'");
int cnt = r.getMetaData().getColumnCount();
while (r.next())
for (int i = 1; i <= cnt; i++)
System.out.println(" value for " + r.getMetaData().getColumnName(i) + " is " + r.getS
tring(i) + "\t");
System.out.println("-------------");
The DBMS is Oracle Database 10g Enterprise Edition Release 10.1.0.4.0 - Production
With the Partitioning, OLAP and Data Mining options
value for USERNAME is JOE
value for SCHEMANAME is JOE
value for OSUSER is null
value for PROCESS is 1234
value for MACHINE is joes_box
value for TERMINAL is null
value for PROGRAM is null
...

Similar Messages

  • I am traveling to India, north and south, with my ipad 2, G-3. It is activated by AT and T. How do I use it in India? Do I need to purchase a sim card there and if so what kind? Would they be available in the Delhi airport or where else in central Delhi?

    I am traveling to India, north and south, with my ipad 2, G-3. It is activated by AT and T. How do I use it in India? Do I need to purchase a sim card there and if so what kind? Would they be available in the Delhi airport or where else in central Delhi?

    Also in order not to pay a fortune for the service is it better to acquire if needed a SIM card only once there?
    Check with your carrier about roaming charges.  They are usually prohibitive.  Best to get a local SIM.

  • What is Client-Side API for RMI on the Java Card Platform

    What is Client-Side API for RMI on the Java Card Platform ?
    And what is host software ?

    Your post is weird: you seem not to agree with yourself O_o
    OF COURSE sim cards have CPUs, otherwise how would you run an OS or a java vm on them?
    to drive the wifi there will be a proprietary api, just like mifare access on normal cards.
    the OS should manage the wiki stack in C/asm and expose javacard entry points. only "should" because this is only a press release.

  • What type of virus protection is available for the iPad?

    I was wondering what type of protection is available for my iPad while browsing the web?

    Viruses and other malware have to be installed and software installation is only available through the iTunes App Store. Besides that few if any of the technologies that are used to install/support browser based viruses are supported on the IOS. In fact that is one of Steve Jobs' arguments against supporting the very vulnerable Flash media on iOS.

  • What time will iOS 6 be available on the 19th?

    We all know the OS 6 update will b available on Wednesday the 19th but does anyone know exactly at what time? Has apple announced this yet? I know usually they are released at around 10am PST (1pm EST), is that the time i should expect it or will it be availe on midnight PST? thanx in advance

    Are you a monitor or know how to help me find one...I posted on the
    iPhone 5 AT&T preorder status thread
    and one of my posts on the bottom of page 4 has a URL that sends everyone to my personal status from AT&T.  What's worst, now Google has it and you also go to my personal order status if you type certain words in google.  I have tried everyone at APPLE support and find no administrator or monitor.  If there is any chance you are a moderator or have access to one, PLEASE help.
    I will give you the page detail and info, once I hear back from you.

  • I have a problem with mail autofilling info email addresses. Emails sent to me the from looks like this: Holiday in the United States email address . I have no idea what this Holiday in the United States is...How can I fix/change to my name?

    I have an irritating problem with mail autofilling info in email addresses. Emails sent to me the from looks like this: Holiday in the United States <my email address>. I have no idea what this Holiday in the United States is or how it got to be there...How can I fix/change to my name?
    I fixed the To: autofilling incorrectly by deleting my email address from the Previous Recipients List, but is there a way to stop that from coming up on emails that I receive?

    Have you checked your Mac address book? If your email is saved somewhere in your address book with the name "Holidays in the United States" it might be adding the name automatically in Mac Mail.
    Alternatively, try this:
    Delete an Email Address from Auto-Complete in Mac OS X Mail
    To remove an email address from the auto-complete list in Mac OS X Mail:
    Start typing the recipient's address or name in a new message.
    Select the desired address from the auto-complete list as if you'd compose an email to them.
    Click the small down arrow in the recipient.
    Select Remove from Previous Recipients List from the menu.
    You can also search for the unwanted address directly in the previous recipients list:
    Select Window | Previous Recipients from the menu in Mac OS X Mail.
    Highlight the address you want to remove.You can highlight multiple addresses by holding down the Command key.
    Click Remove from List.
    Source: About.com

  • I just downloaded Itunes to my new computer, and when I tried to go to the Store, it says the info I requested isn't available in the US. What gives?

    I just downloaded Itunes to my new computer, and when I tried to go to the Store, it says the info I requested isn't available in the US. What gives?

    Make sure you have the latest version of iTunes, which is available here -> http://www.apple.com/itunes/download/
    Then try following the steps in this Apple article to create an account without a credit card -> Creating an iTunes Store, App Store, iBookstore, and Mac App Store account without a credit card

  • When I try to make a new video, a window comes up that says,"The operation could not be completed," and then under it, it says,"No other information is available about the problem," what is happening and how do I fix it?

    when I try to make a new video, a window comes up that says,"The operation could not be completed," and then under it, it says,"No other information is available about the problem," what is happening and how do I fix it?

    Hi
    And without info - it's near to impossibly to help. Try my general troubleshooting note:
    Troubleshooting note
    When iMovie doesn't work as intended this can be due to a lot of reasons
    iMovie Pref files got corrupted - trash it/they and iMovie makes new and error free one's
    problem in iMovie Cache folder - trash Cache.mov and Cache.plist
    Creating a new User-Account and log into this
    This forces iMovie to create all pref. and cache files new and error free
    Event or Project got corrupted - try to make a copy and repair
    a Codec is used that doesn't work (even though iMovie and/or iDVD tries to / they fail in the end)
    version miss match of QuickTime Player / iMovie / iDVD
    preferences are wrong - Repair Preferences
    other hard disk problem - Repair Hard Disk (Disk Util tool - but start Mac from ext HD or DVD)
    External hard disks - MUST BE - Mac OS Extended (hfs) formatted to work with Video
    ( UNIX/DOS/FAT32/Mac OS Exchange - works for most other things - but not for Video )
    USB-flash-memories - usually do not work
    Net-work connected hard disks - usually do not work (most often not fast enough and WRONGLY FORMATTES as DOS etc)
    iPhoto Library got problems - let iPhoto select another one or repair it. Re-build this first then try to re-start iMovie. When iMovie starts-up it first look trough this iPhoto library and if faulty it all Halt’s.
    This You do by
    First -  close iPhoto
    Secondly - on start up of iPhoto - Keep {cmd and alt-keys down}
    Thirdly - now select all five options presented
    THEN - WAIT a long long time (>20 hours are not strange)
    free space on Start-Up (Mac OS) hard disk to low (<1Gb) - I never go under 25Gb free space for SD-Video (4-5 times more for HD)
    external devices interferes - turn off Mac - disconnect all of them and - Start up again and re-try
    GarageBand fix - start GB - play a few notes - Close it again and now try iMovie
    Screen must be set to million-colors
    Third-party plug-ins doesn't work OK
    Run "Cache Out X", clear out all caches and restarts the Mac
    Let Your Mac be turned on during one night. At about midnight there is a set of maintenance programs that runs and tidying up. This might help
    Turn off Your Mac - and disconnect Mains - for about 20-30 minutes - at least this resets the FireWire port.
    In QuickTime - DivX, 3ivx codec, Flip4Mac, Perian etc - might be problematic - temporarily move them out and re-try
    (I deleted the file "3ivxVideoCodec.component" located in Mac HD/Library/Quicktime and this resolved my issue.)
    buenrodri wrote
    I solved the problem by removing the file: 3ivxVideoCodec.component. after that, up-dated iMovie runs ok.
    Last resort: Trash all of iMovie and re-install it
    Yours Bengt W

  • Hello. I am trying to change the colors on my ical. I have been able to select a calendar group, click "get info" and then "other" in the color options and which point a a lot of color options are available. HOWEVER, I can't seem to select the color.

    Hello. I am trying to change the colors on my ical. I have been able to select a calendar group, click "get info" and then "other" in the color options and which point a a lot of color options are available. HOWEVER, I can't seem to select the color. I click on a new color and press enter and nothing happens...not sure what I am doing wrong.

    What do you currently see?
    Can you attach a screenshot?
    *http://en.wikipedia.org/wiki/Screenshot
    *https://support.mozilla.org/kb/how-do-i-create-screenshot-my-problem
    Use a compressed image type like PNG or JPG to save the screenshot.
    Do you have the menu bar?
    *Press the F10 key or tap the Alt key to bring up the hidden Menu bar.
    Do you have any toolbars visible at all?
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    Make sure that you do not run Firefox in full screen mode (press F11 or Fn + F11 to toggle; Mac: Command+Shift+F).
    *https://support.mozilla.org/kb/how-to-use-full-screen
    You can check for problems caused by a corrupted localstore.rdf file.
    *http://kb.mozillazine.org/Corrupt_localstore.rdf

  • Data Sources error:[Macromedia][SQLServer JDBC Driver]No more data available to read.

    I have just set up the developer edition coldfusion and a standard SQL Server. When trying to set up a datasource i recieve the following error:  [Macromedia][SQLServer JDBC Driver]No more data available to read. I have no clue what this means. I have tried to find some documentation on this but with now luck. Can anyone help?
    Here are some details:
    SQL SERVER CONNECTION MANAGER:
    Trying to connect to a localhost sql server
    I have TCP/IP Enabled
    Dynamic Ports is set to 0 under IP ALL
    127.0.0.1 is enabled and the port is set to 1433
    COLDFUSION ADMIN:
    server: 127.0.0.1
    port 1433
    username/password set to null (using windows authentication)
    Has anyone ran in to this issue?
    Thanks for helping.

    You can use domain credentials with CF.  To do so you've got to create the datasource in Windows.  Then, in ColdFusion you select ODBC mapping and point it to the Windows DS.
    If I recall correctly, there's a switch in SQL 2005 that you've got to flip to allow SA rights to log in from the network.  I could be way off base on that one though.
    You may want to consider creating a new SQL account with its own password and assigning it to your target database (usually, I grant data reader and writer - your app may vary) and use those new credentials in your JDBC mapping in CF.

  • What JDBC drive I can use in Tomcat

    Hi all. I'm trying to shift my web application(JSP and JavaBeans only) from JRUN to Tomcat 4.1. I used sun JDBC driver or JRUN's own JDBC driver to connect to Microsoft SQL Server 2000 and both worked. Now since I'm setting up the same thing in Tomcat, I have totally no idea about what JDBC driver I should use and how to do it. I'm wondering whether Tomcat itself provides any JDBC driver? Or if not, how to make it work with Sun's driver? Or some more, is there any free driver available which is workable?
    Thanks a lot for any help!

    As you said in production envio you have set up
    up another server which will be the primary server
    for the application.Though, your application works
    well in Tomcat, it 's not complete solution in
    production envio.That depends on what the "production" system is intended to do, how many users it serves, what are the security concerns, etc.
    A low usage, internal system can easily be run with just Tomcat.

  • What anti-virus server software is available?

    I've got OS X Server 10.4.8 running, with clamav doing its thing, and quite well. However, I was wondering what third party AV software is available to be the primary scanner?
    The reason is that while blocking infected mail has been good, I'd like a system that will intercept and clean files (normally macro virus stuff) and pass them along to the recipient.
    Currently users are trying to email files, and when they get blocked they iChat them instead, spreading the infection.
    I couldn't find any server software on Symantec or McAfee's sites.

    Hello,
    Symantec recommends that you use the same Symantec AV software for clients and servers. They do not have any specific AV software for Mac OS X Server. http://www.symantec.com/enterprise/products/overview.jsp?pcid=1008&pvid=825_1
    Intego has Virus Barrier Server and Virus Barrier Mail Gateway for file and mail servers respectively (released Sept. 2006). Located at http://www.intego.com/vbserver/
    Sophos has Sophos Anti Virus available. http://www.sophos.com/products/es/endpoint/sav-mac.html Like Symantec it is the same software for client and server.
    McAfee also only has one solution for clients and servers. http://www.mcafee.com/us/enterprise/products/antivirus/file_serversdesktops/virex.html
    Intego's products are fairly recent September 2006 so I don't know how much experience there is with their products out there.
    Hope that gives you a brief overview of the products available.
    As for your current issue, you can take four approaches (although I am sure there are more).
    1. AV software on the clients stopping macro viruses on the desktops
    2. AV software on a file server and use network home directories (also stopping viruses at the client level)
    3. Intego's Virus Barrier Mail Gateway on your mail gateway
    4. Network appliance based Anti-Virus gateway and route mail through it
    - Barrett

  • Is there an online version of ichat, like what google clients have ie the google chat

    is there an online version of ichat, like what google clients have ie the google chat

    Not tried it yet
    http://www.aol.com/av/
    10:29 PM      Friday; October 14, 2011
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb( 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • Info Object is missing in the Cube available list.?

    Hi Experts,
    I have one standard SAP Delivered Info object which is available in RSA1. But when I'm trying to create a Cube with the available field list., there its not getting appear for the selection.!!
    So please clarify me what needs to be done in this case.
    This Infoobject is available in the Active Version and assigned in the proper Info area.
    Points will be awarded.
    thanks
    BUlli

    Hi Anil,
    So many thanks for the reply. As my Dev systems was down. I cudnt able to change the settings. And today I did the change and tried actiavting the object. But the activation has failed bcz of the following reasons.
    In Yello
    You must generate new SIDs for the characteristic values in ODS object 0CRM_PROI
    You must generate new SIDs for the characteristic values in ODS object 0CRM_QUT1
    You must generate new SIDs for the characteristic values in ODS object 0CRM_QUT2
    In RED
    Transfer structure 2LIS_12_VCITM_LB was deactivated
    Programs for data transfer were regenerated where necessary
    Program Status Reset for ID 45S10DTZ9Q9YI10USG8NTTHAA
    The   exception occurred (program: CL_RSDRO_GET_SIDS_FOR_ODSO====CP, include CL_RSDRO_GET_
    Value '‚ÈŽS' (hex. '8D828DC88E53') of characteristic 0INCOTERMS2 contains invalid charac
    The   exception occurred (program: CL_RSDRO_GET_SIDS_FOR_ODSO====CP, include CL_RSDRO_GET_
    Value '‚¤‚É‚ÜŽS' (hex. '82A482C982DC8E53') of characteristic 0INCOTERMS2 contains invalid
    Resetting of Incorrect Objects Back to the Active Version (InfoObject )
    Post Processing/Checking the Activation for InfoObject 0INCOTERMS2
    Characteristic 0INCOTERMS2: Error when generating master data routines
    Error when resetting InfoObject 0INCOTERMS2 to the active version
    Property "Exclusive Attribute" of characteristic 0INCOTERMS2 was deactivated
    Error when generating SIDs for the characteristic values in ODS object ********
    Error when generating SIDs for the characteristic values in ODS object ********
    Error when activating InfoObject 0INCOTERMS2
    I tried with RSKC to resolve the issue with the Invalid Characteristics, but still the prob is repeating again.
    Can you please guide me what needs to be done for this.
    thanks
    Bulli

  • SCCM client didn't receive available software in software center

    Hi,
    I am going to deploy an msi package and choose "available" as purpose.
    When I create the package using "Application" under Application management, and deploy it to a device collection, SCCM client didn't receive available software in software center.
    I tried the similar step on "Packages" under Application management, there is available software shown up in client's software centre.
    Would you identify what the problem is for "Application" under Application management?
    Or any SCCM server or client log I have to look into to gather more information for investigation?
    Thanks

    please check below logs on client system:
    AppIntentEval.log
    AppDiscovery.log
    AppEnforce.log
    Prashant Patil

Maybe you are looking for

  • Leave Quota Reduction - Prorata basis (From Backdate)

    Hi Experts I have an issue same as yours. The scenario is that an employee (existing) is entitled for all the absence quota at the beginning of a year (i,e, on a calendar year). However, the employees who join in the mid of the year should get absenc

  • G4 and iPhone 4

    I purchased two iphones 3 weeks back - one for my wife and one for me. My upgrade and sync was uneventful, but we've not been able to move her music from her old iphone to her new one. She has an older G4 iBook that cannot be upgraded to OS X 10.5.8

  • Need help with actively replacing text in SVG

    I am new to Dreamweaver, Illustrator and SVG.  Also, I do have a firm understanding of HTML but limited knowledge of Javascript and other languages.  I am trying to create a website where the user is able to type in a form field (or something to that

  • Unable to view list of added devices in LMS

    Dear All ,      Iam working on Cisco LMS 3.2.1.Everything was working fine before but since last 2-3 days we are unable to view the list of added devices under device management tab.We are able to see the added groups only.Because of this issue we ar

  • I can't isntall the weblogic for solarsi x86

    when I input the command :sh weblogic600sp2.bin; the system display some error messages: error:can't find libjava.so. pls tell me how to setup the environment for isntallation weblogic. thanks