Sqlplus: Can I define a default service?

This is applicable to those of us which most of
the time log into the same service with SQL*Plus.
I found out that from the Windows environment, I can
always insert the name of my prefered service into the
registry, and every time I run SQL*Plus, I can leave
the 3rd. field ("Host String") empty.
If Oracle Corp. is consistent, there should be some
Unix environment valiable like:
setenv PREF_ORA_SERVICE database@payroll
or something like that, which will allow me to
have an implicit default service (a.k.a. SID)
Is there such a thing?
TIA,
-Ramon F. Herrera

Thanks a lot to Don Klein and Steven Pilgrim for their
kind answers. Don: the ORACLE_SID environmental variable
only works for me when the client (sqlplus) is located in
the same host as the server. Hovever, the TWO_TASK tells
my server-less Linux client to connect to my Solaris server.
Thanks again!!
-Ramon

Similar Messages

  • At which levels can I define a default NC Code?

    I am searching for al lplaces where a default NC COde can be defined.
    Hans Freund

    Thanks a lot to Don Klein and Steven Pilgrim for their
    kind answers. Don: the ORACLE_SID environmental variable
    only works for me when the client (sqlplus) is located in
    the same host as the server. Hovever, the TWO_TASK tells
    my server-less Linux client to connect to my Solaris server.
    Thanks again!!
    -Ramon

  • How can I define a default character enconding for Firefox 4?

    Dear Sirs,
    I would like to know how can I change the character encoding of Firefox 4 to Western (ISO-8859-1) and keep that character enconding as the default every time I open Firefox 4.
    I have noticed the every time I change the default character encoding from Unicode (UTF-8) to Western(ISO8859-1) and close Firefox 4, when I open Firefox 4 the character encoding returns to the Unicode (UTF-8) character encoding.
    I would like to keep the Western (ISO8859-1) as the default character encoding. How can I do that?
    Best regards,
    IMeMine

    If the server sends an encoding then Firefox will always switch to that encoding.<br />
    The default is only used on pages where the server does not send en encoding via the HTTP response header and the code doesn't specify the encoding via a meta tag.
    There is usually no need to change the encoding from the default setting Western (ISO-8859-1).
    It is probably better to try an Auto-Detect setting (e.g. View > Character Encoding > Auto-Detect > Universal) if you have a problem on specific websites.

  • How can i define a default calendars between local calendars and osxserver

    Hi OSX lovers,
    I am using iCal as my e-agenda.
    Now, working in a company, I am sharing a calendar originally located on the osx server.
    The problem I have, when I receive an event invitation, iCal propose me to add this event to my "local" calendars and not the one I am sharing on the osx server.
    My wish would be to be able to define my osx server agenda as my default agenda and that all events would be published in it and not only localy.
    thanks for your idea, creativity or feedback
    Best regards,
    Mesh

    If the server sends an encoding then Firefox will always switch to that encoding.<br />
    The default is only used on pages where the server does not send en encoding via the HTTP response header and the code doesn't specify the encoding via a meta tag.
    There is usually no need to change the encoding from the default setting Western (ISO-8859-1).
    It is probably better to try an Auto-Detect setting (e.g. View > Character Encoding > Auto-Detect > Universal) if you have a problem on specific websites.

  • Define a Web service in XI 7.1

    How can I define a web service in PI 7.1 in SOAP adapter
    Thanks

    Hi
    Go to the tools -> define web service
    5 steps to follow-
    Introduction
    give the url of the web server
    give the sender service name
    give the message type
    then overview, save the WSDL file.
    Dheeraj Kumar

  • How to assign the default service package to the user in the command line ?

    when i create use use the following command ,which service package is assigned to the user ,or in where can i set the default service package ,thanks for you!
    /opt/SUNWcomm/bin/commadmin user create -D admin -F John -l jdoe -L Doe -n jnpc.com.cn -p 80 -w admin123 -W demo -X v120e.jnpc.com.cn -S mail,cal -E [email protected] -H v120e.jnpc.com.cn -k legacy

    When I create a user via command-line, I get no service package. I don't see any way to assign such on creation via command-line.
    Some of what might be in a service package can be set as default falues, through configutil.
    quota is this kind of thing.

  • How can I pre-define the default selection in a SelectOneChoice?

    How can I pre-define the default selection in a SelectOneChoice?
    (1) Here's my JSF-code:
    <af:selectOneChoice label="#{res['usercreate.input.sex']}"
    value="#{bindings.Sex.inputValue}"
    binding="#{SelectListBean.sexlist}"
    readOnly="false" autoSubmit="false">
    <af:selectItem label="#{res['data.sex.women']}" value="1"/>
    <af:selectItem label="#{res['data.sex.man']}" value="2"/>
    </af:selectOneChoice>
    (2): manged bean: to set the default value to be the first in the list, my managed bean as follows:
    import oracle.adf.view.faces.component.core.input.CoreSelectOneChoice;
    public class MBSListBean {
    private CoreSelectOneChoice sexlist;
    public MBSListBean() {
    public void setSexlist(CoreSelectOneChoice sexlist) {
    this.sexlist = sexlist;
    this.sexlist.setValue(1);
    public CoreSelectOneChoice getSexlist() {
    return sexlist;
    (3) when i launch the page, it often gives me such warnings:
    WARNUNG: Could not find selected item matching value "1" in CoreSelectOneChoice[UIXEditableFacesBeanImpl, id=_id7]
    how to solve the problem ?
    Thanks,
    wzzdx

    You could also set the default on your entity or viewobject, in the properties of your attribute.

  • Can you specify the port for default services when installing OEG?

    Hi everyone,
    The default installation of OEG 11g uses 8090 port for management services, and 8080 for the virtualized services that you register in the gateway. After installation, you can change the ports by editing gateway's Profile Repository in Policy Studio. But is there a way to specify the port number before/during the installation?
    Thanks,
    Iris

    Hi -
    here are the steps to change the listening port (in 11.1.1.6)
    - Connect to OEG using Policy Studio
    - Click on "Edit Active Configuration"
    - Under "Services", find the default services, and you'll see a listener for port 8080 there. Right-click to edit this.
    - Change the port from 8080 to your desired port. Note that if you've installed the software and running it as a non-root user on Linux, then it will not have permission to bind to a low-number port (like port 80 for instance)
    - Now deploy your change (for 11.1.1.6 hit F6 or click on the "deploy" button which is towards the right of the toolbar in Policy Studio).
    - You may also choose to version your configuration at this point (click on "version" which is beside the "deploy" button and enter a comment about your version).
    Now verify that OEG is listening on your new port. You can see it bind to the new port by looking at the trace [Connect a browser to port 8090 on OEG, login as admin or another user who has rights to view the trace, then click on "Trace"].
    It's a usual practice to configure a new listener on SSL (e.g. on port 443) then to delete that pre-configured port 8080 listener, if you want to only receive traffic over SSL.

  • Jabber 4 Everyone default service profile

    Hello all,
    A customer running UCM 9.1.2 with IM&P 9.1.2. They have rolled out Jabber Desktop as the default application for IM and Presence for the organization. We have setup several "SERVICE PROFILES" inside of UCM to differentiate between Ehanced Presence for employees that have both IP Phones and Jabber, and just Regular Presence for employees that do not have an IP Phone on the system. We made the Regular Presence the "DEFAULT SERVICE PROFILE" and then we ran a bulk update to update all users "currently" in the directory to have the option
    HOME CLUSTER and ENABLE User for Unified CM IM and Presence.
    CUCM is AD integrated so all the users come from AD
    The issue we are experiencing is for any new hires, the account gets created in AD then eventually sync'ed into CUCM. We can't find a switch that allows us to make sure new users have certain "DEFAULT USER" settings namely "HOME CLUSTER" and "Enable User for Unified CM IM and Presence. So these new users are not getting this setting and can not login to Jabber until this occures
    Thanks

    Hi Ryan,
    I have the same issue and at the moment no solution for that.
    I have a bulk user template, so everytime new users come in, I bulk the setting over the new users.
    Would be nice to see, if someone has another solution.
    Best regards
    Ben

  • How can I change the default  driver to OracleXADataSource in JDeveloper

    Hello,
    How can I change the default oracle driver: oracle.jdbc.OracleDriver to oracle.jdbc.xa.client.OracleXADataSource in JDeveloper Studio Edition Version 11.1.1.0.2, Build JDEVADF_MAIN.BOXER_GENERIC_090328.0229.5205.
    If I modify the file connections.xml from jdeveloper\system\system11.1.1.0.31.52.05\o.jdevimpl.rescat2\connections in the sense that I change the driver class, then in JDeveloper when I test my connection I have this problem: Test failed: oracle.jdbc.xa.client.OracleXADataSource cannot be cast to java.sql.Driver
    Why do I need this XA version of the oracle driver? Well I tried, from a book to reproduce the model of an application: entities, stateless and stateful session beans, mdb, web services and a client to test one part of the model.
    And because of the JMS server I need an XA driver.
    I deployed to the integrated wls 10.3 and when I test my client, if I use the default driver for the connection the an error message appears tell me either to emulate two-phase commit or to use XA driver.
    My application works very well, if I configured in the console of the integrated wls 10.3 a datasource with the same name as my ide/application connection that has for the Driver Class Name: oracle.jdbc.xa.client.OracleXADataSource in the Connection Pool tab.
    Thank you.

    Open DIsk Utility and in the toolbar select Disk Image. The file selector will open and you'll have to do three things: 1) just as with any file, name it and point the file selector to where you want it to be saved, 2) near the bottom you'll see name - type iWork 2013 and 3) below that select the image size. Click on size, choose custom and type 1500 MB then click on the Create button.
    Some time will pass and then you'll see an external disk pop up on your desktop and/or the Finder window sidebar. Drag the three programs into it and eject it like any other external disk. Now delete the programs from your applications window.
    Where ever it was you pointed the file selector to you'll see the file you created. Double click on it and the disk image will mount again.

  • Can you run multiple Excel Services Applications against a single Web Application?

    I have been struggling with this one for a while now, hopefully someone can help me understand what I am missing...
    I have a single SharePoint Farm.  This farm runs multiple Web Applications & the Service Applications.
    1. SharePoint Only Server with Multiple Site Collections (http://sharepoint.com/...)
    2. MS Project Server with Multiple Site Collections (http://pwa.com/...)
    3. My services applications all exist on the same farm.
    I was under the impression, and believe that I validated this through testing and from this site (http://blogs.office.com/2009/11/16/excel-services-in-sharepoint-2010-administration-improvements),
    that you can only run a single Excel Services Application against each unique Web Application.  In essence, I can run one Excel Services Application against the SharePoint Only Server, and another Excel Services Application against the MS Project
    Server...  However, I can NOT run multiple Excel Services Applications against the different Site Collections within the MS Project Server becuase it is only aware of its "default" Excel Service Application. 
    ie. I can NOT do the following:  ExcelServiceApp1 for
    http://pwa.com/SiteA & ExcelServiceApp2 for
    http://pwa.com/SiteB
    Is that correct?
    If that is not correct, then I must be missing a way to specify a different Excel Service App for each Project Web App Site. 
    Some other solutions that I think may work, but would really appreciate if someone could validate:
    - Create multiple Project Server Service Applications for each instance of PWA/Excel Service? (but wouldn't this still have to use one of the two WebApplications and cause the same limitation?)
    - Create a new Web Applciation for each PWA/Excel Service?  (ie.
    http://pwasite1.com;
    http://pwasite2.com; http://pwasite3.com, etc.)
    Thoughts/suggestions are very greatly appreciated!!!

    Hello Trpy2k
    I have not done what you are doing and I assume that you are using project server 2010.  However, you answer lives in PowerShell.
    The New-WebServiceProxy show that you can create a new proxy by spacing a URL and not a web application. The default proxy from the web application is directing to the default excel service.  If you need another excel service, you must specify another
    proxy and this may do it for you.
    Also, don't forget the Secure State service and that each excel report will need this configured, that is with the assumption that the other excel service requires different authentication.
    PS.  This question may get a better answer in the SharePoint forums.
    Cheers!
    Michael Wharton, MVP, MBA, PMP, MCT, MCTS, MCSD, MCSE+I, MCDBA
    Website http://www.WhartonComputer.com
    Blog http://MyProjectExpert.com contains my field notes and SQL queries

  • HOW to define the default language in the portal

    Normally the portal take the language of the internet explorer for user.
    I want to define a default language for all portal users in our portal, so that every user get the same default language.
    Can anyone tell me how to do this?
    We are on EP6 SP2.
    Thanks Sybille

    Hi Olivier,
    thank you for the response.
    I added
    request.mandatorylanguage=de
    request.mandatorycountry=de
    to
    request.defaultlanguage=de
    request.defaultcountry=de
    Now, I get the default language german, but when I want to changed the portal language over personalize to English, the result is nevertheless the german language.
    Can you help me again? Where can I get a documentation about this?
    I want a default language: German. Also when the Internet Explorer has a different language. But when the user select manual one of the permitted languages (English and German) over the personalize button, the language should change to the selected language. Is it possible?
    Bye Sybille

  • How can i change a default ....

    How can i change the default xml parser used by oracle??
    can i use xerces ??? or something different
    i am using Oracle 9....03 version
    and transformation i am doing is using transform function of xmltype.
    The things which work using some xml parsers seems are not working with oracle default parser
    transformations.
    Can anyone pls tell how to chnage the xml parser ????

    Yes i want the transform function of xmltype to use some different parser to transform the document.
    Because the application which was working with different parser stops working when i moved my xml to oracle database to use xmldb functionality
    i can find small small problems with the oracle xml parser.... like entities cannot be defined in xsl, cannot use format-number, converting less than angle bracket to & lt ; even if i specifying to disable output escaping.. beacuse of which it started giving me lots of problems.
    These all were working with the other xml parsers...
    i am stuck don't know what to do now ??

  • Can't setup ePrint / Web Services on a new HP 8600 Pro Plus Wireless Printer

    I just purchased a new HP Officejet Pro 8600 Plus All in one printer. I setup the printer on my home wireless network and it prints great. I am now trying to setup ePrint and when I go through the option to setup the Web Services /ePrint function on the Printer or via the web application for the printer I get the following error:
    "Cannot connect to the server.
    Check the Internet connection and try again. Or contact your system administrator or the person who set up the printer. If your network requires a proxy server address to connect to Internet, click Enter Proxy or check your browser settings."
    My primary PC is running Windows 7 Home Premium with Svc Pac 1, 64 bit
    My home network is set for DHCP and I do not have a Proxy Server setup but the Web Services setup page is asking for a Proxy Server an Port.
    I have already established a ePrint ID but cannot complete the process until I can get the Printer Web Services setup process to complete.
    Any suggestions?
    This question was solved.
    View Solution.

    HI Adrianf; 
    Hope you are doing well,welcome to the community,  
    I wil take several steps to make sure they are not causing the issue, 
     Try this tool Click here
    I will also set an static ipaddress for my printer and change the DNS servers provided by your ISP to Google DNS servers 
    How to set an static IP address 
    Follow these steps to assign an unchanging static IP address to the product through the Embedded Web Server (EWS).
    Open a new Web browser window.
    Type the IP address located on the Network Configuration Page in the address bar of the Web browser, using http:// to begin the address e.g. http://192.168.0.1  Then press Enter .  The EWS home page for the product opens.
    In the EWS screen, click the Network tab.
    Click Wired (802.3) , and then click the IPv4 Configuration or the IPv6 Configuration tab.
    Click Manual IP . The Manual IP Address box opens.
    In the Manual IP Address box, type an IP address with the same values in the first three sets of digits (subnet values) as the product's IP address (listed on the Network Configuration Page), and a higher value (between 1 and 254) in the fourth set of digits. This creates a static IP address on the same subnet, but outside the Dynamic Host Configuration Protocol (DHCP) range.
    For example, if the product's original IP address is 192.168.0.1 , assign the static IP address to 192.168.0.200 .
    NOTE:
    Do not type the static IP address use as the example. Enter a static IP address based on the IP address for your product. This can be found on network configuration page.
    Enter the Subnet Mask and the Default Gateway settings as they appear on the Network Configuration Page.
    Click OK to save the new settings, and then click Exit or close the browser to exit the EWS.
    While you are here in the IPV4  you can set the DNS servers of google instead of the DNS servers provided by your ISP  just change the option of automaticly select DNS server and use this;
    DNS servers of google are 8.8.8.8 and alternative DNS 8.8.4.4
    Make sure that the operating system is updated, that the routers firware is the lastest. 
    Hope it helps and best of luck; 
    RobertoR
    You can say THANKS by clicking the KUDOS STAR. If my suggestion resolves your issue Mark as a "SOLUTION" this way others can benefit Thanks in Advance!

  • HP Officejet Pro 8600 Plus e-All-in-One Printer - N911g can not define a custom size paper.

    HP Officejet Pro 8600 Plus e-All-in-One Printer - N911g can not define a custom size paper.  I would like to have a custom size to work with a card making program.

    Can you help me out?
    I have an HP Officejet Pro 8600 N911a
    When I try to print to a custom print size (2.75" x 6" in my case), I get the same error everyone else is reporting: "Paper detected does not match paper size or type selected. Make sure the paper size or type is correct to continue the job."
    I am currently trying to print using Microsoft Word for Mac 2011 version 14.4.5, but I have the same problem with printing from Adobe Reader 9.8.5 or Preview 8.0.
    I am running OS X Yosemite 10.10.
    My printer's firmware is "up to date" as of 28-Aug-2014.
    This is what I did:
    1. Open System Preferences from the Apple menu.
    2. Click on the Printers & Scanners icon.
    3. Click on the + sign under the list of printers to add a printer
    4. Click on IP
    5. Enter my IP address in the Address field (verified as "valid and complete host name or address")
    6. Ignore Protocol field (default is Line Printer Daemon - LPD)
    7. Ignore Queue field (default is blank for default queue)
    8. Ignore Name field (default is IP address)
    9. Ignore Location field (default is blank)
    10. Under the Use dropdown menu, I select "Select Software"
    11. HP Deskjet 9800 is not an option.
    I searched for 9800, but there is no HP printer with that number in the options.
    I tried selecting "HP DeskJet 980C - Gutenprint v5.2.3" to see if that would work, but I received the same error message as above. I tried selecting other random HP printers, but so far I've had no luck.
    I've been googling about for a way to manually add a printer driver to this "Select Software" list, but I've found nothing (apparently, no one else wants to do this). I did not find a driver download for the HP DeskJet 9800 for OS X Yosemite 10.10 on the Drivers & Software section of the hp.com website.
    Additional details on settings for Microsoft Word for Mac 2011 version 14.4.5:
    Selected File > Page Setup from menu
    Under the Paper Size drop down menu, I selected manage custom size.
    - Click + to add a paper size
    - Enter "2.75" in width and "6 in" height in the paper size fields.
    - Enter "0 in" as the User Defined Non-Printable Area for top, left, right and bottom.
    - Double-clicked Untiled in the custom size list and rename the size as Receipt
    - Click OK to return to the Page Setup dialog box
    Under Settings: Page Attributes:
    - Format for "HP Officejet Pro 8600"
    - Paper size: Receipt
    - Orientation: "tall/portrait"
    - Scale: 100%
    - Click OK
    Select Format > Document and set all page margins to 0.25"
    Thank you. 

Maybe you are looking for

  • How can I use iMac mid 2007 24" 2.8GHz as screen for Xbox

    I am about to buy a new Xbox with Kinect. I would really like if there was some way I could use my iMac as a screen with it. There is not a lot of space in front of our TV, so playing (and jumping etc) in front of the mac will be ideal. I have search

  • Opening new browser window from View Library links

    On some of the documentation pages, e.g. http://www.oracle.com/technology/documentation/ias.html , a new browser window is opened using target=new_win in the HTML code. This window will be re-used if the user goes back and clicks on another, similar

  • 5G iPod sound loss

    I have a 5G iPod, 60 GB. At least three times in the last week, I've gone to start the iPod from a normal pause (display off, not in hibernation), and although the iPod indicated play and the progress bar moved, no sound came out. On one occasion, it

  • Thunderbolt - everything too small to read at high res

    I want to use my Thunderbolt at full resolution but everything is just too small to read without eventually getting a headache !  I bought a large screen to make reduce the strain. Is there a way around this?

  • RE: Pr release , it should not be editalble like qty, material.

    Dear  Sap experts, In Pr , After the release Pr  , it should not be editable like material & Qty. Thanks Mohit