How to change the Program in Oracle Session

When I create or use a JDBC connection, I want to set the value of something 'in' the connection so that it shows when I do a query like:
select SID, Program, Machine, Module, client_info
from v$session
For example, how do I set the 'Client_Info' column of v$session? Or the, 'Program' column?
Or can you do this in JDBC?
I am using the thing 8.1.x driver ( where x = 6, I think).
My server, is 8.1.7.4 on Solaris...
Thanks

Thanks a lot for your answer.
Do you know how to implement that when using the Oracle ADF framework?
JClient dynamic credentials and Struts/ADF => Application module with configuration file.
see thread (JDeveloper forum)
JClient 2Tiers/JDBC Security question
Regards
Fred

Similar Messages

  • How to change the Schema (DB2, Oracle) in CommandTable at run time

    Dear all,
    I have a problem as below:
    I have created report with CommandTable, then I am using Java and CRJ 12 to export data. So how to change the SCHEMA in CommandTable? 
    Please help me on this.
    Ex: CommandTable is SELECT * from SCHEMA.TableA, SCHEMA.TableB
    Thanks,
    Nha

    Dear Ted,
    I want to change DataSource, it means the report will be load and change connection at run time (using CRJ SDK) and i want to change the SCHEMA.Tablename in CommandTable in report.
    I also use the parameter to do it, but it can not be at run time, just correct when designing.
    Could you please help me on this. You can post the code if any.
    Thanks,
    Nha

  • Jdeveloper 11g: how to change the extension library Oracle JDBC

    Hello
    We use JDeveloper 11g for our desktop (swing) projects. When I debug the project in IDE, the classpath includes this jar: C:\Oracle\jdevstudio1117\oracle_common\modules\oracle.jdbc_11.1.1\ojdbc6dms.jar
    The ojdbc6dms.jar is in Oracle JDBC extension library. We actually want to use ojdbc14dms.jar as our jdbc library jar. I exclude the ojdbc6dms.jar in the project classpath setting and add a user library for ojdbc14dms.jar. When I run the project, the IDE still use ojdbc6dms.jar in the classpath. I try to use "Manage Libraries" under "Tools" menu to change the jar file in Oracle JDBC extension library, but it cannot be changed.
    Can I ask how to change ojdbc6dms.jar to ojdbc14dms.jar in Oracle JDBC? Or, how can I let the IDE not use ojdbc6dms.jar when I run the project? Thank you
    Leaf

    Replace the ojdbc6dms.jar with ojdbc14dms.jar in C:\Oracle\jdevstudio1117\oracle_common\modules\oracle.jdbc_11.1.1
    The ojdbc14dms.jar may be required to be renamed to ojdbc6dms.jar in the C:\Oracle\jdevstudio1117\oracle_common\modules\oracle.jdbc_11.1.1 as the pre-configured settings are for ojdbc6dms.jar.
    Edited by: dvohra21 on Jun 3, 2013 5:47 AM

  • How to change the name of Oracle Intractive Dashboard and my Dashboard

    Hi,
    can any body help me out. how to change Oracle Intractive Dashboard whis is top left on the dashboard page.
    and also please tell me how to remove my dashboard page.
    Thanking you
    Phani Babu

    Have a look here :
    http://obiee101.blogspot.com/2009/06/obiee-new-portal-banner.html
    regards
    John
    http://obiee101.blogspot.com

  • How do I change the programs that open upon startup?

    I am trying to figure out how to change the programs that open when I start my computer.

    To add or remove them, go to: Apple / System Preferences / Accounts / Login Items
    To add then without going to Login Items, right (control) click on the Dock Icon, choose Option and click Open at Login.

  • How to change  the Timestamp In  a program

    Hi,
    We faced a problem today, Some of the critical jobs from a source system are going to short Dump. Unfortunately we couldn't find any lockwaits, deadlocks and any delay in SM37. After analyzing, we came to know that, SAP trace indicates failure occured during program /GLB/RGTCSR_RC_INV execution :
    B  *** ERROR => DISTRIBUTED_TA_FAILED:
    The timestamp for the execution of the program has been set as "20.070.801.000.000", that does mean it will try to retrieve all values after the date 01.08.2007 and the time 00:00:00. Now checking on the code we can see there is a logic written which retrieves the values from the table /GLB/RGTT_CS_RC, checking on the Goods Movement status (wbsta) , timestamp and document number (VBELN_SO) if any. For this case VBELN_SO is blank and vbsta is equal to space (Not Relevant). This retrieval helped to logic to retrieve 706706 document and items from the table. This amount of data is huge and we would like to request BW team to run the program with a smaller timestamp to avoid any inconsistencies and also to avoid the dumps which can occur when we try to play with this huge entries.
    Checking on the code, two similar selects have been written on the same table /GLB/RGTT_CS_RC, firstly to select all the document numbers relevant to the timestamp and wbsta value and secondly to check "Get records that may have already been used", depending on the document number and item numbers. But as we are doing a select * it will automatically select VBELN_SO as well as POSNR_SO.  Hence, the second select from the same table is irrelevant and it will only effect the performance of the system, in the worst case it will terminate the program with this huge amount of entries. Hence, this logic has to be combined to one single select for which the first select statement is enough. Playing with a huge amount of data 706706, and retrieving from the same table twice can surely result in a short dump. Also there are couple of loops has been done on the same table which reduces the performance too.
    Possible solution looks like we need to reduce the time stamp and run it,
    can some one tell me how to change the time stamp in a program???

    First check the connection with the source system. If its ok then replicate the datasource and activate. Then try with running job.
    Time stamp error usually happens when source system in BI and r/3 side differs.

  • How to change the field length in standard sap program.

    Hi All,
    How to change the field length in standard sap program.
    Urgent
    Example:
    Text1 type c length 75,
    To change :
    Text1 type c length 150,
    Point will be rewarded..
    Thank you,
    Vikram.C

    If the only solution is to change the sap standard program, simply change the program, it will prompt for an access key. This key can be retrieved in the SAP support portal (service.sap.com) at keys and requests, sccr keys, register object.
    Sometimes these actions are outsourced to a competence center, so maybe youre not entitled to do this, in any case ask a resident senior developer for support.
    regards, Rob

  • How to change the db_name of the database in oracle 9i

    Please Tell me
    How to change the db_name of the database in oracle 9i
    regards

    ALTER DATABASE RENAME oldname TO newnameThis is not a valid command.
    @OP, you may want to check into the NID Utility.

  • How to change the Oracle Server Hostname

    Good Day every one,
    Am working on Oracle Application 12.1.3
    And Database 11.2.0.3
    And OS RedHat linux 6.1
    I want to change the Server host name how can I do this in simple steps ?
    Is there is any pad impact on my server or application ?
    Regards

    Please also see:
    How to change the hostname and/or port of the Database Tier using AutoConfig (Doc ID 338003.1)
    How to change the hostname of an Applications Tier using AutoConfig (Doc ID 341322.1)
    Or, use Rapid Clone.
    Rapid Clone Documentation Resources For Release 11i and 12 (Doc ID 799735.1)
    Cloning Oracle Applications Release 12 with Rapid Clone (Doc ID 406982.1)
    Thanks,
    Hussein

  • Using Oracle 11g How to change the Log mode from NoArchieve to Archieve Log

    Hi,
    I currently using oracle 11g How can I change database from NoArchivelog node to Archivelog node using spfile.
    And where exactly the spfile will be located?
    My instance is EPM11 in my local oracle is present in D folder where can i found the pfile?
    In this path i found 1 pfile in my Local Machine
    "D:/Oracle/Product/11g/admin/epm11/pfile" .I have added the following commands in this pfile
    # Archive Log Destinations -benr(10/15/04)
    log_archive_dest_1='location=/u02/oradata/cuddle/archive'
    log_archive_start=TRUE
    Then i have ran the shutdown command.
    Database instance is showtdown.
    After that i am not able to perform startup.
    So please suggest me how to change the mode using SPfile and tell me the path where spfile and pfile should be located?
    And also do i need to set the "Oracle_Home" path in my environment variables"
    Thanks In Advance,
    Chandana

    user11225122 wrote:
    Hi,
    I currently using oracle 11g How can I change database from NoArchivelog node to Archivelog node using spfile.
    And where exactly the spfile will be located?
    My instance is EPM11 in my local oracle is present in D folder where can i found the pfile?
    In this path i found 1 pfile in my Local Machine
    "D:/Oracle/Product/11g/admin/epm11/pfile" .I have added the following commands in this pfile
    # Archive Log Destinations -benr(10/15/04)
    log_archive_dest_1='location=/u02/oradata/cuddle/archive'
    log_archive_start=TRUE
    Then i have ran the shutdown command.
    Database instance is showtdown.
    After that i am not able to perform startup.
    So please suggest me how to change the mode using SPfile and tell me the path where spfile and pfile should be located?
    And also do i need to set the "Oracle_Home" path in my environment variables"
    Thanks In Advance,
    Chandanaremove log_archive_start=TRUE from pfile (it is depricated from 10g onwards)
    SQL>startup nomount pfile="D:/Oracle/Product/11g/admin/epm11/pfile/initYOUR_SID_NAME.ora"
    SQL>Create spfile from pfile="D:/Oracle/Product/11g/admin/epm11/pfile/initYOUR_SID_NAME.ora"
    SQL>SHUT IMMEDIATE;
    SQL>STARTUP MOUNT
    SQL>ALTER DATABASE ARCHIVELOG;
    SQL>ALTER DATABASE OPEN;
    SQL>ARCHIVE LOG LIST;
    SQL>SHOW PARAMATER SPFILE;
    YOU WILL FIND THE LOCATION OF SPFILE
    SQL>

  • How do you change the program ALL files of a type open with?

    Hello. I run Parallels Desktop for Mac on this system. Since I upgraded to v3, OS X wants to open my Mac Word/Excel/Etc... files using the MS Office installed in windows XP from PD. I don't always have PD running, and do not want it to start up to use the programs on it. I know, not a Mac problem... But, my question is this:
    Is there a way to change the program that ALL files of a certain type (ex: pdf, doc, txt, etc...) will start? I have tried the OPT+RT CLICK which says to ALWAYS open this file with xxx.... but that only flags that single file. I want every file that I ever open anywhere on my system/network to use the program I specify. This is simple to do in Win XP, and I'm guessing there's a way to do it in OS X.
    Help/information appreciated.
    Thank you,
    Scott
    MacPro Quad Xeon 3.0GHz   Mac OS X (10.4.9)   16 GB RAM - 1TB Internal RAID1

    Well, with the program Onyx, I've found that LaunchServices database is the culprit. To fix this I just pick a type of file I want to change. Right click the file, choose get info, and change the program it opens with, then click the change all button. Done!
    Cool.
    Scott

  • Win10 blurry fonts/programs | How to change the accent color?

    Hi,
    Recently I installed Win10 Build 9926 on a virtual machine for testing and feedback and I am havin' some problems...
    First, I changed the Display settings to 125% and now the third-party Win32 classic apps are looking blurry... [Sorry, i can't provide a image link]
    Second: The Personalization "pane" (Sorry, long time mac user) only has options for the lock screen and now I dont know how to change the accent color...
    And this, I can keep with it, but I made a registry tweak to enable the start screen but now when I use it the taskbar is still there!!! ANNOYING!
    Any help will be appreciated...
    Thx,
    Tiago

    Hi,
    I made a test in our testing enviroment, found that when this problem occures,
    Sign Out current user and login again would be helpful to resolve this problem. Please take this method as a workaround temporarilly.
    Second question, to modify backgound color, you can access system personalize to modify the color:
    Roger Lu
    TechNet Community Support

  • How to change the ARCHIVELOG / NOARCHIVELOG mode in Oracle 10g

    Hi
    how How to change the ARCHIVELOG / NOARCHIVELOG mode in Oracle10g in SQLPLUS ?
    Many thanks.

    Steps :
    0 - change SPFILE
    ALTER SYSTEM SET log_archive_dest = '/oracle9i/archive/tmpr' SCOPE =SPFILE;
    ALTER SYSTEM SET log_archive_start = TRUE SCOPE =SPFILE;
    ALTER SYSTEM SET log_archive_format = 'tmpr_%s.arc' SCOPE =SPFILE;
    1 - shutdown immediate
    2 - startup mount
    3 - alter database archivelog;
    4 - alter database open
    Note : to verify if is ok type :
    SQL> archive log list;

  • How to enable the filetransfer in Oracle Communicator 11g?

    Hi,
    I've already change the relevant values in the Program Files\Oracle\Oracle Communicator\defaults.xml as following:
         <FileTransfer>
              <Location>http://example.com:7001/filetransfer</Location>
         </FileTransfer>
         <FileTransferEnabled>1</FileTransferEnabled>
    But the Communicator still can't send files, how to resolve it?
    Best Regards,
    Sean

    Hi dprabhu,
    I installed the wlcs in a All-in-One Administration Server. The host name is set to example.com and the server listen port is 7001. The original default.xml after the installation is below:
    <?xml version="1.0" encoding="UTF-8"?>
    <Account>
         <Version>11.1.1.10002</Version>
         <AccountName></AccountName>
         <AgentId></AgentId>
         <SipUri></SipUri>
         <FullName></FullName>
         <FirewallHeartbeat>1</FirewallHeartbeat>
         <FirewallHeartbeatInterval>40000</FirewallHeartbeatInterval>
         <UseOutboundProxy>1</UseOutboundProxy>
         <OutboundProxyAddress></OutboundProxyAddress>
         <UseRPortForNatTraversal>1</UseRPortForNatTraversal>
         <UseStun>0</UseStun>
         <StunServerAddress></StunServerAddress>
         <StunServerPort></StunServerPort>
         <Theme>Slate</Theme>
         <ServiceNote></ServiceNote>
         <DeviceQValue>1.0</DeviceQValue>
         <Notifications>
              <UseNotifications>0</UseNotifications>
              <Location></Location>
              <LastShowOnceMessageID></LastShowOnceMessageID>
         </Notifications>
         <Transport>
              <ContactTransport>TCP</ContactTransport>
              <RegisterContactTransport>TCP</RegisterContactTransport>
         </Transport>
         <UPnP>
              <Enabled>0</Enabled>
         </UPnP>
         <ConnectionType>256</ConnectionType>
         <SilenceSuppression>0</SilenceSuppression>
         <AcousticEchoCancellation>0</AcousticEchoCancellation>
         <AutomaticGainControl>1</AutomaticGainControl>
         <PCSpeakerEnabled>0</PCSpeakerEnabled>
         <AllowVolumeCheck>1</AllowVolumeCheck>
         <PreferredCaptureDevice></PreferredCaptureDevice>
         <ImageResolution>QCIF</ImageResolution>
         <VideoStandard>LSVX</VideoStandard>
         <T1>500</T1>
         <T2>4000</T2>
         <T4>5000</T4>
         <PreferredSipPort>5060</PreferredSipPort>
         <PreferredAudioRtpPort></PreferredAudioRtpPort>
         <PreferredVideoRtpPort></PreferredVideoRtpPort>
         <RegisterExpireTime>600</RegisterExpireTime>
         <PresenceSubscribeExpireTime>3600</PresenceSubscribeExpireTime>
         <WatcherInfoSubscribeExpireTime>3600</WatcherInfoSubscribeExpireTime>
         <MessageWaitingSubscribeExpireTime>3600</MessageWaitingSubscribeExpireTime>
         <PublishExpireTime>600</PublishExpireTime>
         <NetDetectionEnabled>1</NetDetectionEnabled>
         <UserIdleTimeOut>1</UserIdleTimeOut>
         <UserIdleTimeOutValue>5</UserIdleTimeOutValue>
         <ShowSmilies>1</ShowSmilies>
         <ShowMessageTimestamps>1</ShowMessageTimestamps>
         <UseHotKeys>1</UseHotKeys>
         <AutoAnswerEnabled>0</AutoAnswerEnabled>
         <SavePasswordPreference>0</SavePasswordPreference>
         <ContactListSortCriteria>status</ContactListSortCriteria>
         <DeclineResponseCode>486</DeclineResponseCode>
         <Sounds>
              <Sound>
                   <Event>UserOnline</Event>
                   <File>UserOnline.wav</File>
                   <Mute>0</Mute>
              </Sound>
              <Sound>
                   <Event>UserOffline</Event>
                   <File>UserOffline.wav</File>
                   <Mute>0</Mute>
              </Sound>
              <Sound>
                   <Event>IncomingMessage</Event>
                   <File>IncomingMessage.wav</File>
                   <Mute>0</Mute>
              </Sound>
              <Sound>
                   <Event>VoiceMessageAvailable</Event>
                   <File>VoiceMessageWaiting.wav</File>
                   <Mute>0</Mute>
              </Sound>
         </Sounds>
         <Ui>
              <MainDlgTopMost>0</MainDlgTopMost>
              <SendMessageWithEnter>1</SendMessageWithEnter>
              <HideHoldOnCallSwitchingWarning>0</HideHoldOnCallSwitchingWarning>
              <BlockBuddiesOnDelete>1</BlockBuddiesOnDelete>
              <PresenceMenu></PresenceMenu>
              <MainDlgCloseToTray>1</MainDlgCloseToTray>
              <MainDlgCloseToTrayWarning>1</MainDlgCloseToTrayWarning>
              <HideCameraNotFoundWarning>0</HideCameraNotFoundWarning>
              <ShowOfflineContacts>0</ShowOfflineContacts>
              <ShowContactsWithPhone>0</ShowContactsWithPhone>
              <Dialogs>
              </Dialogs>
         </Ui>
         <LdapServers></LdapServers>
         <Credentials></Credentials>
         <RingSignalMap></RingSignalMap>
         <SoundEffects></SoundEffects>
         <XDMSSettings>
              <UseHttps>0</UseHttps>
              <Host></Host>
              <Port></Port>
              <RootContext></RootContext>
              <PresRuleAUID></PresRuleAUID>
              <PresRuleDocName></PresRuleDocName>
              <HardStateAUID></HardStateAUID>
              <HardStateDocName></HardStateDocName>
              <ResourceListsAUID></ResourceListsAUID>
              <ResourceListsDocName></ResourceListsDocName>
         </XDMSSettings>
         <Provisioning>
              <Location></Location>
         </Provisioning>
         <FileTransfer>
              <Location></Location>
         </FileTransfer>
         <InboxService>
              <Enabled>0</Enabled>
              <Name></Name>
              <Location></Location>
         </InboxService>
         <PlugInProperties></PlugInProperties>
         <Groups></Groups>
         <PresenceEnabled>1</PresenceEnabled>
         <AddressListStoreEnabled>0</AddressListStoreEnabled>
         <FileTransferEnabled>0</FileTransferEnabled>
         <SMSEnabled>0</SMSEnabled>
         <AudioEnabled>0</AudioEnabled>
         <VideoEnabled>0</VideoEnabled>
         <UseServerResourceLists>1</UseServerResourceLists>
         <HistoryEnabled>0</HistoryEnabled>
         <HistoryExpirationDays>14</HistoryExpirationDays>
         <CallerIdMessagePopUpDuration>20</CallerIdMessagePopUpDuration>
         <StripRealmFromUserName>0</StripRealmFromUserName>
    </Account>
    I just changed the relevant part
    <FileTransfer>
    <Location>http://example.com:7001/filetransfer</Location>
    </FileTransfer>
    <FileTransferEnabled>1</FileTransferEnabled>
    Best Regards,
    Sean
    Edited by: selin on 2009-9-10 下午6:45

  • How to change the ORACLE_HOME location in listener

    Hi,
    I have 2 instances under one oracle_home.
    I am planning to install new oracle home in another location and move one instance to that new oracle home.
    My doubt is, how to change the listner.ora such that one of the instances should point to new oracle home.
    1) Do I need to copy the listener.ora from old oracle home to new home and put only the new instance details in that?
    I am not understanding how to deal with listener.ora without disturbing the old instance listener.
    Thanks,
    Mahi

    if we bounce the listener the connections to other might be lost.NO!
    The listener contacts the DB to establish the initial connection between client & DB.
    After the connection between DB & client has started, the listener has NO involvement between DB & client.
    Stopping the listener has NO impact on existing sessions.
    Edited by: sb92075 on Jul 28, 2009 4:37 PM

Maybe you are looking for

  • Org.xml.sax.SAXNotRecognizedException

    I'm Working on Jdeveloper... It compiles pretty fine.. but I get a bunch of errors when I try to run. Can anybody help me come across this problem. the stack trace is here: [Digester.java:686] ERROR - Digester.getParser: org.xml.sax.SAXNotRecognizedE

  • Image to go with my Podcast

    I have successfully published my first (video)podcast using iMovie (and iWeb, of course) but when viewing the site it only has an empty box to represent the podcast and no image to go with it. Do you know how I add one - in iMovie or with the help of

  • Rosetta 'checkbox' is not in the Quicken 2007 info panel

    i got my new Imac, first time Mac user, installed Quicken 2007, which does crash everytime I use it. Followed instructions for the info panel to check the 'rosetta' box, but there is no Rosetta box in my info window. Under the 'General' it does say P

  • LR locked up 3 times in GRID view

    I have read about this but never experienced LAG or noticible slowing. Today while going through images in grid view LR slowed and crashed not once but 3 times. The first time, the catalog got efft up and i had to use a back up from a aweek ago and l

  • How do set multi ip address on solaris8

    I set multi ip address by following command: inconfig hme0:1 159.226.140.55 netmask 255.255.255.0 system error:not found interface hme0:1. I shoud how to set multi ip address on solaris8