Unable to read resource files without fully qualified file names

Hi,
I have installed 9iAS and trying to read a few resources in the OC4J container. A few points to
note :
1. The <library> element in server.xml (global and
instance specific) as well as in orion-application.xml
can seem to only scan for jars/zips.
2. Also we are using the Thread specific classloaders as in doc :
http://otn.oracle.com/tech/java/oc4j/pdf/ClassLoadingInOC4J_WP.pdf
The issue is that so long I pass the fully qualified file name for the resource, I can read the resource. However, I am not able to find a way to include the "resource directory" in the classpath of 9iAS (global) or OC4J instance and read the resource file with just the file name. So, the following code works only when the filename has the fully qualified name for the resource file (Like F:\install\some_dir\file.txt).
ClassLoader cl = Thread.currentThread().getContextClassLoader();
inStream = cl.getSystemResourceAsStream(fileName);
Can someone provide me with some pointers to how I can include resource directories in the classpath ? Any help will be appreciated.
Thanks,
Krishnendu

Hi,
Thanks for your response. Presently your solution is what we already have in place. Most of our properties are stored in a .properties file. However for all other application servers (sun one apps server, websphere, weblogic, tomcat), the classloader can read these properties without the fully qualified path but for oc4j; the code breaks.
So, even if I change my installer to hardcode the specific property to have the fully qualified file name, I would have written some code specific to OC4J that is generic to all other containers.
Krishnendu

Similar Messages

  • BI 7.0 Java Add-in without fully qualified domain name

    Hi
    I have just installed the Java Add-in for BI 7.0, and now I am trying to set up BEx to work. I have run the template installer, but there seems to be an issue with server names vs. fully qualified domain names. The server name is currently in the format "server.domain", but I suspect that it should/must be "server.domain.com".
    Is it possible to get full functionality without using fully qualified domain names (FQDN)? Is so, how can I acheive this?
    Regards,
    Thomas
    Edited by: Thomas Kjelsrud on Apr 23, 2008 8:39 PM

    This issue is no longer relevant for me. I still wish to find the solution tough, for future reference.
    Tegards,
    Thomas

  • SharePoint 2010, Visual Studio 2010, Packaging a solution - The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.

    Hi,
    I have a solution that used to contain one SharePoint 2010 project. The project is named along the following lines:
    <Company>.<Product>.SharePoint - let's call it Project1 for future reference. It contains a number of features which have been named according
    to their purpose, some are reasonably long and the paths fairly deep. As far as I am concerned we are using sensible namespaces and these reflect our company policy of "doing things properly".
    I first encountered the following error message when packaging the aforementioned SharePoint project into a wsp:
    "The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters."
    I went through a great deal of pain in trying to rename the project, shorten feature names and namespaces etc... until I got it working. I then went about gradually
    renaming everything until eventually I had what I started with, and it all worked. So I was none the wiser...not ideal, but I needed to get on and had tight delivery timelines.
    Recently we wanted to add another SharePoint project so that we could move some of our core functinality out into a separate SharePoint solution - e.g. custom workflow
    error logging. So we created another project in Visual Studio called:
    <Company>.<Product>.SharePoint.<Subsystem> - let's call it Project2 for future reference
    And this is when the error has come back and bitten me! The scenario is now as follows:
    1. project1 packages and deploys successfully with long feature names and deep paths.
    2. project2 does not package and has no features in it at all. The project2 name is 13 characters longer than project1
    I am convinced this is a bug with Visual Studio and/or the Package MSBuild target. Why? Let me explain my findings so far:
    1. By doing the following I can get project2 to package
    In Visual Studio 2010 show all files of project2, delete the obj, bin, pkg, pkgobj folders.
    Clean the solution
    Shut down Visual Studio 2010
    Open Visual Studio 2010
    Rebuild the solution
    Package the project2
    et voila the package is generated!
    This demonstrates that the package error message is in fact inaccurate and that it can create the package, it just needs a little help, since Visual Studio seems to
    no longer be hanging onto something.
    Clearly this is fine for a small time project, but try doing this in an environment where we use Continuous Integration, Unit Testing and automatic deployment of SharePoint
    solutions on a Build Server using automated builds.
    2. I have created another project3 which has a ludicrously long name, this packages fine and also has no features contained within it.
    3. I have looked at the length of the path under the pkg folder for project1 and it is large in comparison to the one that is generated for project2, that is when it
    does successfully package using the method outlined in 1. above. This is strange since project1 packages and project2 does not.
    4. If I attempt to add project2 to my command line build using MSBuild then it fails to package and when I then open up Visual Studio and attempt to package project2
    from the Visual Studio UI then it fails with the path too long error message, until I go through the steps outlined in 1. above to get it to package.
    5. DebugView shows nothing useful during the build and packaging of the project.
    6. The error seems to occur in
    CreateSharePointProjectService target called at line 365 of
    Microsoft.VisualStudio.SharePoint.targetsCurrently I am at a loss to work out why this is happening? My next task is to delete
    project2 completely and recreate it and introduce it into my Visual Studio solution.
    Microsoft, can you confirm whether this is a known issue and whether others have encountered this issue? Is it resolved in a hotfix?
    Anybody else, can you confirm whether you have come up with a solution to this issue? When I mean a solution I mean one that does not mean that I have to rename my namespaces,
    project etc... and is actually workable in a meaningful Visual Studio solution.

    Hi
    Yes, I thought I had fixed this my moving my solution from the usual documents  to
    c:\v2010\projectsOverflow\DetailedProjectTimeline
    This builds ok, but when I come to package I get the lovely error:
    Error 2 The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters. C:\VS2010\ProjectsOverflow\DetailedProjectTimeline\VisualDetailedProjectTimelineWebPart\Features\Feature1\Feature1.feature VisualDetailedProjectTimeline
    Now, the error seems to be related to 
    Can anyone suggest what might be causing this. Probably some path in an XML file somewhere. Here is my prime suspect!
    <metaData>
    <type name="VisualDetailedProjectTimelineWebPart.VisualProjectTimelineWebPart.VisualProjectTimeline, $SharePoint.Project.AssemblyFullName$" />
    <importErrorMessage>$Resources:core,ImportErrorMessage;</importErrorMessage>
    </metaData>
    <data>
    <properties>
    <property name="Title" type="string">VisualProjectTimelineWebPart</property>
    <property name="Description" type="string">My Visual WebPart</property>
    </properties>
    </data>
    </webPart>
    </webParts>
    .... Unless I can solve this I will have to remove the project and recreate but with simple paths. Tho I will be none the wiser if I come across this again.
    Daniel

  • TFS Build Error - Exception Message: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters

    I am trying to set-up CI of Orchard CMS and deploy it on Azure using TF service. I am stuck at following error for path being
    longer than 260 characters. However, when counted the total characters in path are 235. Please see the below error :
    Other Errors and Warnings
    1 error(s), 1 warning(s)
    Exception Message: TF400889: The following path contains more than the allowed 259 characters: drop/_PublishedWebsites/Orchard.Web_Package/Archive/Content/C_C/a/src/projects/Orchard/dev/DevAltaf/Orchard/src/Orchard.Web/obj/Debug/Package/PackageTmp/Modules/BrentApart.BannerManager/Scripts/controllers/bannerAssignmentController.js. Specify a shorter path. (type VssServiceException)
    Exception Stack Trace: at Microsoft.TeamFoundation.Build.Workflow.Activities.FileContainerDropProvider.EndCopyDirectory(IAsyncResult result)
    at Microsoft.TeamFoundation.Build.Workflow.Activities.CopyDirectory.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
    at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)
    Inner Exception Details:
    Exception Message: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters. (type PathTooLongException)
    Did anyone came across such issue while deploying Orchard on Azure with TF service? If yes, how did you sort this freaking error?
    Thanks,
    Altaf B.

    Hi AltafB,
    For your situation, you can short the path for the source code. Or use a short path for build agent folder in your build definition. You can refer to the links below to solve your problem:
    http://blogs.msdn.com/b/aaronhallberg/archive/2007/06/20/team-build-and-260-character-paths.aspx
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/1638a5f0-9321-4ff9-9ee7-6d347badb972/please-some-solution-to-the-specified-path-file-name-or-both-are-too-long?forum=tfsbuild
    Besides, since you deploy Orchard to Azure, you can also publish it directly using publish profile in Visual Stduio or WebMatrix directly.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Get-ChildItem : The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.

    Hi, Im trying to get the whole path in my server, so i tried that with this following code
    Get-ChildItem $sourceFolder  -Recurse | ?{$_.PsIsContainer} |Get-Acl
    But then, it showed me somtehing like this :
    Get-ChildItem : The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
     I tried to find the solver everywhere and mostly they propose to change the path name, which is impossible, since I am working with my company server, and those folder have already there before i start to work here, then the other ask me to use robocopy,
    but all of the trick just dont work
    is there any way to solve this problem? thanks

    There is no simple solution to this. And it is not a limitation of powershell itself, but of the underlying NTFS file system.
    If the problem is that a folder with a name longer than 248 exists anywhere within your directory structure, you are hooped.
    If the problem is that some fully qualified path names exceed 260 characters, then, in those cases, the solution already given is to create a psdrive partway up the path from the drive letter or server/share root of the path. Unfortunately, the output produced
    will be relative to that psdrive and not to what is specified as the $sourcefolder.
    unless you already know where those problematic paths are, you might consider trying to trap those errors and have your script figure out where it needs to create psdrives. You might then be able to calculate the equivalent path for each file or folder and
    output that. the programming effort would be simpler to just created a psdrive for each folder encountered, however I expect that would be very inefficient.
    Al Dunbar -- remember to 'mark or propose as answer' or 'vote as helpful' as appropriate.

  • Ip address to fully qualified domain name

    Dear friends, I am unable to get the correct fully qualified domain name from IP address. Please help. I have already spent more than a day searching for the solution on these forums and on google. So now only option remaining is help from you friends.
    I think I need to explain my set up first.
    The machine runs on Solaris8 & is part of corporate intranet. Java version 1.4.2. I am just a developer (cannot touch networking) and here is what I know about its network set up.
    The machine has a network alias ("bluesky"). So when I access it thru telnet using VPN, the command line shows "bluesky" at the prompt. There are at least two domain names that lead to this machine. One is bluesky.XXX.com and another is somesubdomain.yyy.com.
    I have a piece of existing Java code that produces the IP number of this
    machine. I want to convert it to its domain name (either bluesky.xxx.com or the other one).
    When I connect by VPN to the network and use nslookup against the IP on my XP laptop, it displays the full domain (somesubdomain.yyy.com). When I do the same thing after I join the intranet directly (not thru VPN), it again shows the full domain, but the different one bluesky.xxx.com.
    Some of the code I tried:
    Try 1:
    String ip = "";//valid IP here
    InetAddress ia = InetAddress.getByName(ip);
    String hostname1 = ia.getCanonicalHostName();
    String hostname2 = ia.getHostName();When I connect to intranet (without VPN) and run the above code on my laptop, hostname1 and hostname2 both generate "bluesky.xxx.com". This is what I want.
    But when I run the code on the remote machine, both strings are only
    "bluesky". When I run the code on my laptop after logging into the network using VPN, both produce the second fully qualified domain name. That would also be OK for me if I can get it on remote machine.
    Try 2:
    I added the following line before the above code (based on forum search).
    System.setProperty("sun.net.spi.nameservice.provider.1", "dns,sun");The result was same as Try1.
    Try 3:
    InetAddress[] iaa = InetAddress.getAllByName(ip);
    for(int i=0;i<iaa.length;i++){
         System.out.println(iaa.getCanonicalHostName());
         System.out.println(iaa[i].getHostName());
    When ran on laptop, it iterates only once (I expected it to iterate twice) and produces bluesky.xxx.com for both println statements.
    On remote machine, it again produces only "bluesky".
    It's getting frustating. Please help. Thanks.

    Following could be the reason
    When you are running the InetAddress api's to get the domain name on your laptop (windows machine), It is not hitting the DNS server. It is just returning the domian name what is mention in the Laptop configuration. If you are making a security check based on that, then anyone can spoof up his domain name locally and get the desired domain.
    When you run the application at some remote machine, it actually resolves the ip address with DNS server.
    You may want to use the following code to hit DNS server all the time. But with this I have a issue. I am not able to get the domain when I am on VPN. I have to find the exact reason for this issue.
    private static String domainFmReverseDNS(String hostIp) throws IOException
    //Record opt = null;
    Resolver res = new ExtendedResolver();
    Name name = new Name(getReversedIP(hostIp)+ ".in-addr.arpa");
    short type = Type.PTR;
    short dclass = DClass.IN;
    Record rec = Record.newRecord(name, type, dclass);
    Message query = Message.newQuery(rec);
    Message response = res.send(query);
    Record[] answers = response.getSectionArray(Section.ANSWER);
    if (answers.length == 0)
    System.out.println("reverseDns did not find anything");
    return ("NotFound");
    else
    System.out.println("reverseDns found the value :-)");
    return answers[0].rdataToString();
    private static String getReversedIP(String ip)
    StringTokenizer st = new java.util.StringTokenizer(ip, ".");
    String reversedIp=st.nextToken();
    while ( st.hasMoreTokens())
    reversedIp = st.nextToken()+"."+reversedIp;
    return reversedIp;
    }

  • Ejb-jar.xml not using fully qualified class names

    HI,
    I am trying yo upgrade my application from weblogic 8.1 to weblogic 9.2.3. My application has both session and enitybeans. I updated weblogic related jars with 9.x version. But while running ejbgen, i am getting the following exception.
    *[java] weblogic.ejb.container.deployer.DeploymentDescriptorException: Unable to set the transaction attribute for method 'updateService(abcTO)' on EJB 'AbcService'. No matching method could be found. Please verify the method signature specified in the ejb-jar.xml file matches that of your Local interface for this EJB.*
    In ejb-jar.xml file, it is not creating the fully qualified class name for abcTo in <method-param>. In component interface, the method signature is not contaning fully qualified class name for the parameters and return values.
    If i change the signature in the bean with the fully qualified class name of the parameter, the ejb-jar.xml file is creating fine. But there are 100's of signatures i need to change if this is the only solution.
    Can you please advice what i need to change when i upgrade from weblogic 8 to 9 series from session and entity bean's point of view?
    Thanks in Advance
    Naveen.
    Edited by: avn_venki on Mar 16, 2009 7:15 AM
    Edited by: avn_venki on Mar 16, 2009 7:15 AM

    ejb-jar.xml has always required fully-qualified class names. If some vendors have accepted unqualified class names unfortunately that
    behavior is non-portable. Your best bet is to fully-qualify the names. Perhaps you can find some tools to help you given the large
    number of components in your application.

  • Httpd: Could not determine the server's fully qualified domain name, using

    Hello, I am checking why the response time of the display of the pages of the sites are slow, then I checked the error_log file in /var/log/httpd and I got this texts: (I am hosting 3 sites in the server)
    [Mon May 14 21:21:37 2007] [alert] httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
    Processing config directory: /etc/httpd/sites/*.conf
    Processing config file: /etc/httpd/sites/000010.129.0.37_80avepublishing.com.conf
    Processing config file: /etc/httpd/sites/000110.129.0.37_80escuelamovil.com.conf
    Processing config file: /etc/httpd/sites/000210.129.0.37_80sabiduria.com.mx.conf
    Processing config file: /etc/httpd/sites/0003any_80default.conf
    Processing config file: /etc/httpd/sites/virtualhostglobal.conf
    [Mon May 14 21:21:37 2007] [alert] httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
    [Mon May 14 21:21:38 2007] [notice] Apache/1.3.33 (Darwin) mod_jk/1.2.6 DAV/1.0.3 mod_ssl/2.8.24 OpenSSL/0.9.7l PHP/4.4.4 configured -- resuming normal operations
    [Mon May 14 21:21:38 2007] [notice] Accept mutex: flock (Default: flock)
    [Mon May 14 22:12:18 2007] [error] [client 10.129.0.37] File does not exist: /Library/WebServer/Documentsescuelamovil/robots.txt
    [Mon May 14 22:12:18 2007] [error] [client 10.129.0.37] File does not exist: /Library/WebServer/Documentsescuelamovil/error.html
    with the alert:
    [Mon May 14 21:21:37 2007] [alert] httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
    the virtual host file (virtualhostglobal.conf) is:
    # This file is auto-generated by the Server Admin Web
    # backend plugin whenever settings are saved.
    # The Listen and NameVirtualHost directives are generated
    # based on the VirtualHost directive inside
    # each site configuration file found in this directory.
    # Please add appropriate Listen and NameVirtualHost directives
    # if a site is manually edited
    # i.e. the site is moved from sites to sites_disabled (or vice versa)
    # or the site's Virtual Host ip address and/or port is modified
    # Last updated at 2007-05-07 14:22:34 -0500
    Listen 10.129.0.37:16080
    NameVirtualHost 10.129.0.37:16080
    Listen *:16080
    NameVirtualHost *:16080
    how can I correct this alert?
    thanks
    Dual 2 GHz PowerPC G5   Mac OS X (10.4.9)   4GB DDR SDRAM, MAC OS X Server
    Dual 2 GHz PowerPC G5   Mac OS X (10.4.9)   4GB DDR SDRAM, MAC OS X Server

    >how can I correct this alert?
    Fix your DNS.
    This non-fatal error is Apache's way of telling you that it can't work out the hostname of the machine it's running on.
    It uses reverse DNS to determine this information. If you don't have a reverse DNS entry for your server's IP address, this is what you get.
    Fix your DNS and the alert will go away, or just ignore it.

  • Fully Qualified Host Name

    We Have installed Oracle 10g AS and Later Configure it by Changing the Canonical setting to "Off" from Status "On" in the httpd.conf file in apache Directory. so that we can access our application by ip address in place of host name.
    After that whenever i tried to to log on to the single sign on it gives error "SSO Failure ........." However it shows in the address bar that the sing on was successfull but the URL same as that fully qualified host name.
    now if i change the Host name to the IP everything goes on well
    Could anyone please help me to Resolve the issue
    Thanks in Advance

    Later Configure it by Changing the Canonical setting to "Off" from Status "On" in the httpd.conf file in apache Directory. so that we can access our application by ip address in place of host name.Oracle's AS and related software is heavily dependant on the FQDN (fully-qualified domain name, or how you seem to be referring to the "host name") and how the browser refers to the AS in many places: not just SSO, but Portal, the IAS-Console, and many pieces-parts that support them. I would seriously suggest considering alternatives to trying to refer to the AS by its IP address, especially because the IP address is allowed to change, but oftentimes the hostname is not! That can only become confusing if the IP-address of the machine ever changes. :( I am also very confident that you will have serious issues allowing users outside of your system to use the Oracle Reports that you are developing.
    If you are simply developing a J2EE application that refers users to the Oracle Reports servlet, I would highly recommend finding a solution which uses the FQDN of the system rather than its IP address.

  • Finding IP and fully qualified domain name.

    Okay i have a java program taht runs on ubuntu the latest version. I got java 6.0 using apt-get install. oKay now i wrote a server socket program. But what it also should do is get the fully qualified domain name of the system and its ip address. So now my system is called "tools.myproject.com" okay. I dont have system registered under a domain or somethign but i specify it in my /etc/hosts file. since linux also uses the /etc/hosts file to resolve domain names. Now is there anyway in java that i can get this name. If not that then is there a way i can get the ip of this machine, which is not the loop back address. When i do the InetAddress.getLocalHost().getHostaddress() method or whatever thats there in the documentation i get the loop back address thats specified thats 127.0.0.1 and the canonicalname for taht is some rubbish that i dont need. So can anyone help me out.
    Also i found some NetworkInterface class from which i can get the IP Address of the machine. Also the Canonical Name i get from the IpAddress does it look at the /etc/hosts file or the DNS server?
    Thanks!
    Edited by: mynameissriharsha on Jul 14, 2008 2:42 PM

    Try this
    InetAddress[] inet = InetAddress.getAllByName(InetAddress.getLocalHost().getHostAddress());
    for (int x = 0; x < inet.length; x++)
        System.out.println
            ("IP " + (x + 1) + ": " + inet[x].toString().substring(1));
    }

  • What is my JAR "fully qualified class name " ?

    I have created a application, and I have packaged it into a JAR Recipe using Studio one.
    It compiles fine, and I can runn it manually fine too.
    Now I need to run it as a NT service and because of this, I need the "fully qualified class name".
    I guess you need to know the structure of my JAR recipe file. It is very simple, it contains three packages and one class file.
    Jar Recipe name: EventLogic_Notificator
    Content:
    - DB (package)
    - NmsObjects (package)
    - Logger (package)
    - EventLogic_Notificator.class
    Manifest:
    Manifest-Version: 1.0
    Created-By: Fabian Castillo
    Specified-By: EventLogic_Notificator.jarContent
    Main-Class: EventLogic_Notificator
    Thanks alot.
    sincerly fabin.

    Sorry, I din't explain my self well, english is my second languaje.
    I have programmed a java app. and I need it to run all the time. That's why I'm using a JavaService.exe tool that allows me to run my java app as a service.
    On of the parameter that I have to pass to this javaService.exe tool is the fully quailified class name.
    I have tried many times and in the log.txt I can see that I'm entering the fully qualified class name wrong.
    Thanks for the help..
    FAbian.
    What is the fully qualified name from my JAR structure.

  • Error in Installing- System dosen't have fully qualified domain name.

    When I try to install Java Enterprise System in my PC, I get the following error message and cannot proceed further:
    System dosen't have fully qualified domain name.
    Setup fully qualified domain name and then continue instalation.
    Please help me to solve this problem.
    About my PC:
    Windows XP Home edition
    1 GB memory
    Thanks.

    Do you have DNS running on the net and configured right? Run "ipconfig" in a Windows XP command line to see if the DNS suffix is set. Another trick is to run "nslookup" in the command line and look up your system's IP address (wehich ipconfig will tell you.) If that doesn't get you a DNS name for the system, you need to fix that in the network connections dialogs.

  • How to change the fully qualified host name

    Hi,
    how can I change the fully qualiied host name?
    Regards
    Marc

    Hi Michal,
    I'm doing the FlightSeatAvailabilityCheck-Scenarion of the demo example and get an error. To get more details about the error I had a look in the XI Runtime Workbench. There I can see, that the wrong url is called (without the hostname) and  that the access is forbidden (403). Therefore I want to change the fully qualified host name. I knew that I have to change icm/host_name_full but I don't know where I can do it (which transaction)?
    Regards
    Marc

  • OBIEE Analytics URL with fully qualified machine name

    Hi All,
    I have issue with analytics URL, Analytics URL works fine if it is in this form: [<machine-name>:9704/analytics], but for EBS integration purpose, i need to give fully qualified name like:
    [<machine-name>.<domain-name>.<com>:9704/analytics]. It is displaying a note saying:
    "you are not currently signed in to Oracle BI Server
      If you have already signed in, your connection might have timed out, or a communications or server error may have occured"
    Should i do anything extra, to access analytics via fully qualified machine name.
    Thanks,
    Sreekanth Jala

    Hi,
    Thanks for the reply, the problem was with IP Address entry i gave in hosts file.
    For linux the convention was: <IP Address> <space> <host-name.domain-name.com> <space> <host-name>
    I followed the same convention for windows which resulted in this error, for windows it is simply:
    <IP Address> <space> <host-name.domain-name.com>
    After i corrected this in hosts file, this error was not coming.
    Thanks,
    Sreekanth Jala

  • /etc/hosts Private Host Name Fully Qualified Domain Name does it matter?

    During installation of 11gR1 on Windows 2003 the examples in the installation guide show adding the Private IP and host name to /etc/hosts
    However they only add the short name, racnode1, not Fully qualified Domain Name (FQDN), racnode1.mycompany.com
    e.g.
    10.0.0.1 racnode1
    10.0.0.2 racnode2
    Later when installing the Clusterware it then expects to see the FQDN, racnode1.mycompany.com, of course you can modify this and remove the domain name and continue. OR go back and add the FQDN in /etc/hosts
    e.g.
    10.0.0.1 racnode1 racnode1.mycompany.com
    10.0.0.2 racnode2 racnode2.mycompany.com
    What is the best practice? Currently my company is just dropping the FQDN from the name during the install, my instinct is instead to add the FQDN to the /etc/host in the first place.
    Does anyone have a recommendation or experience with either situation?
    Will (using/ or not using) the FQDN cause me issues in the future?

    If it's a problem, the assistent will tell you :-)
    I don't think it's a problem.
    Please mind that the first entry will be the name of the ip address, if it's not in DNS and a utility tries to get the name. (that's the reason 127.0.0.1 resolves to localhost.localdomain, it's the first entry in /etc/hosts)

Maybe you are looking for

  • Time-out on the Answers server to be increased

    The Current situation is User is running a query, it takes sometime to to fetch the results and after sometime the request errors out saying that Query time out. Though the session remains active. Is there any paramter in instanceconfig to increase t

  • Error message while Archiving  the PO on 4.6C version

    Hello Team , We are archiving the PO in SAP 4.6C version. Some of the PO failed  with the below error message "4203018801 Item 00002 still entered in info record as last document item". i have kept the deletion flag for the info record and tried to a

  • Hp officejet 6700 premium e-all-in-one printer - h711n and mac 10.8.3

     Apparently this printer cannot be installed in a mac higher than 10.7. I couldn't find a driver for a mac 10.8.3. Could someone help me find it or what other option do I have This question was solved. View Solution.

  • Dbms_java.grant_permission fails during the subsequent executions

    Always first call succeeds for the following lines in a procedure. dbms_java.grant_permission('MDSYS','SYS:java.io.FilePermission','D:\temp\test.dat,'read' ); dbms_java.grant_permission('SCOTT,'SYS:java.io.FilePermission','D:\temp\test.dat,'read' );

  • Creation NA object for fired person

    Hello. We have the next problem. It is necessary to create an object NA for fired person. Nowadays there are only two objects for him: P and CP (and there is no BP). The report HRALXSYNC does not create an object NA without BP and it is not understan