To change parameter file used for tnsping

Hi
I can ping the server.
I can connect to the server.
Just for fun I want to tnsping for connectivity to it. When I try, I see this:
C:\>tnsping prod
TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 21-NOV-2008 16:22:1
Copyright (c) 1997, 2005, Oracle. All rights reserved.
Used parameter files:
C:\10g_Test\network\admin\sqlnet.ora
TNS-03505: Failed to resolve name
The parameter file worries me. The tnsnames that I have is located here
C:\oracle\ora92\network\admin

Dan A wrote:
Thanks. This is peculiar:
C:\>set tns_admin=C:\oracle\ora92\network\admin
C:\>tnsping DEV
TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 21-NOV-2008 17:12:1
Copyright (c) 1997, 2005, Oracle. All rights reserved.
Used parameter files:
C:\10g_Test\network\admin\sqlnet.ora
TNS-03505: Failed to resolve name
That is a bit strange. I'd go to the sqlnet.ora referenced (c:\10t_test\network ....) and set client trace level to 16, set client trace file to a specific value (no default) and set client trace directory to a specific value (no default). Repeat your tnsping, then dig into that trace file for clues. There will be a lot there that you don't understand, but I believe you will find clues as to why it's not looking at where you set tns_admin.
Still using the 10g path. Yes, I could place the tnsnames there, but I would really rather not!
Thanks.
DA

Similar Messages

  • Can you change the units used for size and position in layout editor?

    Hello,
    In Aperture 3.4, does anyone know if you can change the units used for size and position in layout editor?  The page is set in inches, but the image size and position are given in centimetres and I would prefer to work all in inches to create custom layouts.  I can't see any way to change this.  If anyone knows how it would be much appreciated.  Thanks!

    Aperture uses the unit settings defined in the System Preferences.  Set the "Measurement Units" in the "Region" tab of the "Language & Text" preferences to "US"; the Aperture will display the Size & Position in inches, if it is the "Book" layout manager you are asking about.
    Merry Christmas!
    Léonie

  • How to change the browser used for Google search from context menu of selected text?

    How to change the browser used for Google search from context menu of selected text?
    It uses Safari. But I want to use Chrome (it's my default browser).

    How to change the browser used for Google search from context menu of selected text?
    It uses Safari. But I want to use Chrome (it's my default browser).

  • What's  *.ser file used for?

    Hi,All,
              I got a servlet application need to test which use weblogic5.1 on NT4,
              Question 1:
              I run application use URL like,
              http://201.70.4.157:8001/booking/ServletStub?file=Chair_jsp_booking_Index_js
              p.ser
              Also, I found a data directory which contain jspbooking_Index.ser and
              others ser files
              which is used for Servlet, What's these ser file do? How did these ser
              files be generated?
              Question 2:
              When I tried to modify index.jsp file called by servlet,for instance,
              just put a space in html code(no syntax error),it give me following error, I
              undo change,
              but still got the same error untill I restore origanial version of jsp file.
              any idea?
              It looks like a custom tag error, but I didnt change it.
              Mon Nov 13 11:48:52 GMT+11:00 2000:<I> <WebAppServletContext-fflyer>
              resolving taglib uri 'http://www.bookpool.com/comm/taglib' to
              taglib-location /WEB-INF/tld/comm.tld:
              Mon Nov 13 11:48:52 GMT+11:00 2000:<E> <WebAppServletContext-fflyer> Servlet
              failed with Exception
              java.lang.NoSuchMethodError: javax.servlet.jsp.tagext.TagAttributeInfo:
              method <init>(Ljava/lang/String;ZZLjava/lang/String;)V not found
              at weblogic.servlet.jsp.MyAttInfo.<init>(StandardTagLib.java:34)
              at
              weblogic.servlet.jsp.StandardTagLib.processTag(StandardTagLib.java:303)
              at
              weblogic.servlet.jsp.StandardTagLib.processTagElements(StandardTagLib.java:1
              46)
              at
              weblogic.servlet.jsp.StandardTagLib.<init>(StandardTagLib.java:125)
              at weblogic.servlet.jsp.JspLexer.loadTagLib(JspLexer.java:87)
              at
              weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE_BODY(JspLexer.java:3611)
              at
              weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE(JspLexer.java:3367)
              at weblogic.servlet.jsp.JspLexer.mDIRECTIVE(JspLexer.java:3228)
              at weblogic.servlet.jsp.JspLexer.mSTANDARD_THING(JspLexer.java:1669)
              at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java:1510)
              at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java:1400)
              at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:816)
              at weblogic.servlet.jsp.JspParser.doit(JspParser.java:69)
              at weblogic.servlet.jsp.JspParser.parse(JspParser.java:115)
              at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:97)
              at
              weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:242)
              at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:248)
              at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:173)
              at weblogic.servlet.jsp.JspStub.checkForReload(JspStub.java:92)
              at
              weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:19
              0)
              at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :117)
              at
              weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImp
              l.java:153)
              at
              au.com.qantas.ecomm.util.servlet.stub.ServletStub.restore(ServletStub.java:1
              25)
              at
              au.com.qantas.ecomm.util.servlet.stub.ServletStub.doPost(ServletStub.java:99
              at
              au.com.qantas.ecomm.util.servlet.stub.ServletStub.doGet(ServletStub.java:104
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
              at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :123)
              at
              weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
              l.java:744)
              at
              weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
              l.java:692)
              at
              weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContext
              Manager.java:251)
              at
              weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:363)
              at
              weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:263)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              Thanks
              

              "David" <[email protected]> wrote:
              >Question 2:
              >When I tried to modify index.jsp file called by servlet,for instance,
              >just put a space in html code(no syntax error),it give me following error, I
              >undo change,
              >but still got the same error untill I restore origanial version of jsp file.
              >any idea?
              >It looks like a custom tag error, but I didnt change it.
              >
              >Mon Nov 13 11:48:52 GMT+11:00 2000:<I> <WebAppServletContext-fflyer>
              >resolving taglib uri 'http://www.bookpool.com/comm/taglib' to
              >taglib-location /WEB-INF/tld/comm.tld:
              >Mon Nov 13 11:48:52 GMT+11:00 2000:<E> <WebAppServletContext-fflyer> Servlet
              >failed with Exception
              >java.lang.NoSuchMethodError: javax.servlet.jsp.tagext.TagAttributeInfo:
              >method <init>(Ljava/lang/String;ZZLjava/lang/String;)V not found
              > at weblogic.servlet.jsp.MyAttInfo.<init>(StandardTagLib.java:34)
              > at
              >weblogic.servlet.jsp.StandardTagLib.processTag(StandardTagLib.java:303)
              >[...blah blah JspLexer blah blah blah]
              The same problem is affecting me in a more serious way.
              I think the problem you are having is that somehow you have a Servlet-2.2.0.jar in your classpath at the time the JSP is being parsed.
              What is disturbing is that BEA claims WebLogic 5.1 supports JSP 1.1 Spec, but WebLogic "JspLexer" code tries to construct a javax.servlet.jsp.tagext.TagAttributeInfo using (String, String). The JSP 1.1 Spec says the only constructor is (String, boolean, String, boolean).
              My question is: What version of the JSP Spec does WebLogic 5.1 actually support?
              Brian
              

  • Get the WSDL-File used for proxy generation

    Hello everybody!
    I created a Web Service Proxy:
    SE80 -> Select Package -> Enterprise Services -> Client Proxies -> New -> WSDL Source: Local File.
    Everything worked out fine. I was able to create that Proxy.
    Now I would like to look at the WSDL-File that has been used:
    If I take a look at that Proxy by SE80 -> Select Package -> Enterprise Services -> Client Proxies -> [Select Proxy] -> Display in new Window -> Goto: The Menue Entry "Display WSDL Document" unfortunately is disabled.
    I have not configured the integration builder.
    Is there a possibility to get the WSDL-file that has been used for the generated proxy? Does anybody know, if the WSDL-file, that has been used for the proxy generation is archived somewhere in the system?
    Thanks,
    Andreas

    Hello,
    Thanks for your reply.
    I am using SAP ECC 6.0:
    SAP_BASIS     700     0010     SAPKB70010     SAP Basis Component
    SAP_ABA     700     0010     SAPKA70010     Cross-Application Component
    Unfortunately the tab "Proxy Generation" at Utilities -> Settings is not available with my release.
    Any other idea?
    Greetings,
    Andreas

  • What is the src.zip file used for?

    Just a few more question please.
    I've read through the JPDK install docs and it doesn't mention anything about the src.zip file. I noticed it has many references i'm interested in. What is this used for?
    I've loaded the EM and redeployed the ear file for the Oct JDPK. I've noticed after registering the Provider that about 1/2 of the Sample apps have a status of Loaded. But many indicate Not Loaded. For example: ExternalAppFlights. How do I get these loaded?
    Thanks
    Chase

    Hi Chase.
    oops i forgot to answer the second part of your question.
    The file integrating.external.provider.v2.html at %pdk_extract%\pdk\jpdk\v2\doc\externalApp contains all the details to deploy Fights of Fancy Application.
    Just go through the document & should be through.
    Regards,
    Abhinav

  • Change Starting File Number for Camera/Card

    I am moving from one Sony camera to the DSC-HX5V. However, the file number starts at DSC-00001, just like my older Sony. So, when I import and take pictures over time, I will no longer have unique file numbers/names for my photos. Also, I think when you import with iPhoto, it will think these are duplicates of other, older photos. I can't tell yet because my current computer's oldest photo is number DSC-00683. My latest photo is DSC-05207. Can I get the card/camera to start at DSC-05208?

    Good day everyone,
    To khcole,
    Please check your memory card and verify if the old pictures and new ones are on the same folder (eg. 100MSDCF, 101MSDCF) under [DCIM] folder. Both folders will start the numbering sequence at DSC-00001, to start at DSC-05208 make sure that the folder will contain images which will fill out the sequence upto DSC-05207 otherwise that camera will fill those empty slots until it uses the DSC-05208 onwards.
    To grosenfeld,
    As both file using the same file name and extension cannot co-exist under the same folder, one needs to be saved on different folder. Using an image viewing software such as the Playmemories Home (PMH), you'll be able to view both pictures and you should be able to see when the images are taken, imported, modified or what camera was used for a particular image under PMH's filters or the properties of the pictures.
    2 things can happen if you try importing a picture that has the same file name and extension as the existing image on a destination folder.
    1. The original file could be replaced by the new one intentionally/unintentionally.
    2. The new picture will be saved with (#) between the file name and extension (eg. DSC-00001(2).jpg) as the computer will recognize these files as duplicates even if it isn't.
    If my post answers your question, please mark it as "Accept as Solution"

  • Cannot close an XML file used for parsing

    Hi All,
    I appears to have difficulty closing (possibly flushing it first) an XML file that was subsequently being parsed without success. The error generated is:
    org.jdom.input.JDOMParseException: Error on line 23: The element type "form" must be terminated by the matching end-tag "</form>".
    Below is the code snippets of readData() to retrieve (HTML) data from a website, save it to a file, then convert to XML format before returning the new filename:
    public String readData() {
        try {
              URL url  = new URL("http://www.abc.com");
              URLConnection connection = url.openConnection();      
              InputStream isInHtml = url.openStream();   // throws an IOException    
              disInHtml = new DataInputStream(new BufferedInputStream(isInHtml));         
              System.out.flush();
              FileOutputStream fosOutHtml = null;
              fosOutHtml = new FileOutputStream("C:\\Temp\\ABC.html");
              int oneChar, count=0;
              while ((oneChar=disInHtml.read()) != -1)
                  fosOutHtml.write(oneChar);
              isInHtml.close();
              disInHtml.close();
              fosOutHtml.flush();    // optional
              fosOutHtml.close();
        try {
              File fileInHtml = new File("C:\\Temp\\ABC.html");
              FileReader frInHtml = new FileReader(fileInHtml);
              BufferedReader brInHtml = new BufferedReader(frInHtml);
              String string = "";
              while (brInHtml.ready())
                  string += brInHtml.readLine() + "\n";
              fwOutXml  = new FileWriter("C:\\Temp\\ABC.xml");
              pwOutXml  = new PrintWriter(fwOutXml);
              light_html2xml html2xml = new light_html2xml();
              pwOutXml.print(html2xml.Html2Xml(string));
              system.out.flush()     // optional
              fwOutXml.flush();      // optional
              fwOutXml.close();
              pwOutXml.flush();      // optional
              pwOutXml.close();
              return fileInHtml.getAbsolutePath();
    // parseData reads the XML file using the name returned by readData()
    public void parseData(String XMLFilename)
        try
            FileReader frInXml = new FileReader(FileName);
            BufferedReader brInXml = new BufferedReader(frInXml);
            SAXBuilder saxBuilder = new SAXBuilder("org.apache.xerces.parsers.SAXParser"); // JDOMParseException generated.
    }These codes would worked when they were in a single method but I have since placed some structure around them using a number methods.
    This issue has risen in th past where I have been able to close the XML file prior to reading them again. However, I don't have a solution for it this time round.
    I am running JDK 1.6.0_10, Netbeans 6.1, JDOM 1.1 on Windows XP platform.
    Any assistance would be appreciated.
    Many thanks,
    Jack

    Hi Alain,
    I have added the additional I/O statements in the finally clause as follows but the problem still persisted:
    readData()
    // reading data (html) from the webpage and save it in html format.
    try {
    catch { …. }
    finally {
           System.out.flush();
           isInHtml.close();
           disInHtml.close();
           fosOutHtml.flush();
           fosOutHtml.getFD().sync();
           fosOutHtml.close();
    // convert the html webpage format to xml format
    try {
    catch { …. }
    finally {
           System.out.flush();
           fwOutXml.flush();
           fwOutXml.close();
           pwOutXml.flush();
           pwOutXml.close();
    Below is a short listing of the new XML file:
      <?xml version="1.0" encoding="iso-8859-1" ?>
    - <html>
    - <head>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
      <meta name="keywords" content="California, cities, towns, villages, list, zipcodes, postal codes, united states, ca" />
      <meta name="description" content="Cities, towns and suburbs in California, United States (CA) starting with A" />
      <title>Cities and Towns in California starting with A – ABC Company</title>
      <link rel="stylesheet" href="http://www.abc.com/style.css" type="text/css" media="screen" />
      </head>
    - <body>
      <a name="top" />
    - <div id="container">
    - <div id="header">
      <div id="postmark" />
    - <a href="http://www.abc.com/" class="imglink">
      <img id="logoimg" src="http://www.abc.com/images/zipcodes.gif" width="192" height="33" alt="Zipcodes America Logo" />
      </a>
      <hr />
      </div>
    - <div id="nav">
    - <ul>
    - <li>
      <a href="http://www.abc.com/" title="Home Page">Home</a>
      </li>
    - <li>
      <strong>Search</strong>
      (zipcode or suburb)
    - <div class="hide">
      <form method="post" action="http://www.abc.com/search" />        // line 23
      </div>
      <input type="text" name="q" class="searchbox" alt="Search query" />
      <br />
      <input type="submit" value="find!" class="searchbutton" alt="Perform search" />
      <div class="hide" />
      </li>
    …What I find it interesting is that it is possible to parse the above XML file with the same parseData() from another class without any problem. As a result, I have come to the following conclusion so far:
    ( i ) There is some file locking that is prevent saxBuilder from parsing the XML file at the time.
    ( ii ) The light_html2xml does not appears to have correctly converted over the orginal Html to Xml but some how it has been picked up by the parser in the same class, but not by the same parser from another class.
    ( iii ) I would like to use another conversion tool such as Tagsoup in place of light_html2xml to determine where the cause of this issue is coming from. As a result, would you or anyone be able to assist me coming up with a few lines of conversion statements using Tagsoup since I am not familiar with using this tool?
    ( iv ) light_html2xml is good as it strip out all namespace, DTD, Entity Resolver, etc and only return what I need. JTidy does correct conversion but include namespace, DTD, Entity Resolver which makes parsing difficulty.
    Many thanks again,
    Jack

  • Changeing the character used for bullets

    I'm using an 'input' type TextField to hold a bulleted list,
    I would like to know if it's possible to change the defualt
    character for the bullet using the 'TextFormat' class.
    Thanks for the help!!

    Just use a font that has a different SHIFT-8 character for the * (asterisk).
    Webdings, for example, has an envelope icon for the SHIFT-8 character.  Set your password TextField to use it and you'll see your password shows envelopes instead of asterisks.
    Find or create a font with bullets (or anything, really) for the SHIFT-8 character and you're set.

  • I want to change the file location for the automatic backup file bookmarks.file, but I can't find browser.bookmarks.file in the list on the about:config page.

    I asked about automatic backup of bookmarks and received the following answer:You can make Firefox 3 create an automatic HTML backup (bookmarks.html) when you exit Firefox if you set the pref [http://kb.mozillazine.org/browser.bookmarks.autoExportHTML browser.bookmarks.autoExportHTML] to true on the about:config page. That backup is created by default in the profile folder as bookmarks.html, but you can set the file name and path via the pref [http://kb.mozillazine.org/browser.bookmarks.file browser.bookmarks.file] on the about:config page. I went to about:config page and toggled browser.bookmarks.autoExportHTML to “Yes” and it’s working. However, I want to change the file location, but I can’t find browser.bookmarks.file in the list.

    The browser.bookmarks.file preference does not exist by default. Right-click in about:config and select "New > String" to create it.

  • Image file used for "Image Fill"

    Hi,
    In the "Road Trip" iWeb template there is a wood background.
    I want to create a square shape and use "image fill" to make
    it look like wood. Where do I find the image they are using
    for this fill?
    , Jonathan
    Power mac G5   Mac OS X (10.4.6)  

    Control-Click on the IWeb application to Show Package Contents. Then go to Contents/Resources/Shared. In that folder, again Control-Click and Show Package Contents for any of the Road Trip webtemplate packages. That's where you'll find background.jpg.
    [ Visit here for iWeb Tips, Tricks and Hacks ]

  • Swapping Macs, can't change the image file used for TM to a Time Capsule

    Hello ~
    I have ten Macs connected to one TimeCapsule (TC) and nine of them work flawlessly performing a TimeMachine (TM) backup. On the one that doesn't work properly, it is a PBP with Leopard 10.5.8, and latest updates. The other Macs are mixed 10.5.x and 10.6.x.
    I had a user on the PBP that I had been backing up in the past. I erased the HD and reinstalled the OS, and then created a new account. I wanted to start backing up the new account and have the name of the backup be the new name I put under Sharing Preference (I assume that's where TM gets the name of the backup).
    Well, apparently not, the name of the backup is still the old user name from Sharing, and on the old account before the computer was erased.
    I have repaired permissions, I have thrown out the TM prefs in Mac HD\Library\Preferences\, I have restarted the computer. So far I can not get the name to change on the sparse image that it copies to, even though TM says the backup completed without error.
    So, as it appears the backup is using the same old image file that this Mac had been using, the backup are separate when you go into TimeMachine, they do not seem to access each other's data, and inspecting the contents of the image, the date of the backup file is there for the new user in the old image file.
    I really would just like the PBP to stop using the old image file and create it's own image.
    Any ideas welcome!
    Thanks all
    Chaz

    I'm slightly confused. What is a PBP or did you mean a MacBook Pro (MBP)? And, what do you mean by a backup "image?" TM does not make images. Are you actually referring to the backup folder for this machine?
    If I understand correctly what you need to do is delete the old backup for this machine so TM can start from scratch with a new backup. To do that open the TM application and select your backup, then from the Finder's tool icon in the toolbar select "Delete." which should delete the entire backup.
    Also, see User Tips for Time Machine for help with TM problems. Also you can select Mac Help from the Finder's Help menu and search for "time machine" to locate articles on how to use TM. See also Mac 101- Time Machine.

  • How can I change the file version for scanned PDFs to 1.4 when using the "PDF from Scanner" feature from Acrobat XI? By default it's always saved as 1.5.

    Because our IT system can only handle PDFs with versions up to 1.4, we need to "PDF from scanner" feature to store the scanned PDFs in version 1.4.
    Acrobat 9 always saved it in 1.4, but starting with Acrobat X, the PDFs are saved in 1.5.
    There must be a setting or configuration somewhere where I can change this.
    I already tried modifying the distiller's standard joboptions, but that did not work.
    Thanks for any help

    We use in our software an open-source pdf library that only supports pdf versions up to 1.4. I know it is old, but it's not that simple to exchange it.
    But I just had a look into the Actions as you suggested. This way I get it to work. It costs one additional click, so that's acceptable.
    Thanks for the support.

  • Passing parameter file using pmcmd

    Hi Muthu, You can look for using the StartWorkflow command under pmcmd, pmcmd StartWorkflow <<-service|-sv> service [<-domain|-d> domain] <<-user|-u> username>  <<-password|-p> password> [<<-usersecuritydomain|-usd> usersecuritydomain>] [<-folder|-f> folder] [<-startfrom> taskInstancePath] [<-paramfile> paramfile] workflow_Name
    Where the "-paramfile" you give your parameter/.prm file name along with the File path location at the Informatica Root Directory.
    Hope this helps!!

    how to pass parameter using pmcmd in informatica 9.5.1? if anyone knows please share the answer thaks in advance.

  • How to change the language used for Aperture?

    I'm new to Aperture, I'm a Photoshop Elements 6.0 user, however I found that Aperture has some things that I like better than Photoshop.
    Now I downloaded the test version in order to check if its worth it, therefore I downloaded from the Apple homepage in the US, becuase I want to have it in English, I even select English to read the terms of use, but at the end the program is installed in German, languaege in wich I have my iMac.
    Do you know How could I do it in order to change the language and been able to use Aperture in English?

    Thank you so much, like that will make my life so easy and I'll be able to understand Aperture, due to the translation of the words is not always the same sometimes another word is used and then you just need to search for it.

Maybe you are looking for

  • Assigning Equipment Number to MIC (Use of class type 005)

    Hi, I want to assign equipment number to MIC. For this i have made a class with class type 005 and assigned a characteristic for equipment number(EQUI table field). I have assigned the class to MIC. Now i want to enter the equipment number, when MIC

  • While app run with foregin vendor

    hai gurus,           in app running T code F110 payment to foreign vendors in edit propsal showing error  *error in creating payment document , read job log*

  • Request/Reply

    I'm having some trouble with my request/reply setup. Here's the requesting code: String request =      "<mileage-xml-request><origin><city>UNIONTOWN</city>" +      "<state>OH</state><zip>44685</zip><country>USA</country></origin><dest><city>DALAS</ci

  • S430 Windows 8.1 Graphics/V​ideo Problems?

    I upgraded to windows 8.1 from 8 yesterday on my Edge s430 and am now regretting it whole heartedly. I use an extra monitor usually, but now if i connect it (its a sumsung ca550 with in-built usb/ethernet hub) my laptop stops responding, occasionally

  • Satellite P100 shuts down then reboots

    G'day, my laptop boots up fine and then after some time, a couple of minutes to a couple of hours, it will instantly die with no warning, then reboot as though it was a fresh start. There are no errors captured. I've had the system checked, wiped the