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.

Similar Messages

  • 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.

  • Fun with fully-qualified class names

    In Java, AFAIK, there are three forms of fully-qualified class names:
    1) the name you get from Class.getName(), e.g. java.lang.String
    2) the name that the VM spec defines as appropriate for (e.g.) constant pool info, e.g. java/lang/String
    3) the type name as we see it in bytecode viewers, or in JNI signatures, e.g. Ljava/lang/String;
    Here's where it gets fun. I work in CA's Wily division, where we do bytecode instrumentation for app performance management. That is, our code needs to actually insert data into constant pools, and (for obvious reasons, like avoiding VerifyErrors) that data needs to follow type specifications exactly. For the above String example, that works just fine, exactly as specified in the JVMSpec, for JVMs up to 1.5. In 1.6, however, the JNI-ish format is also accepted, that is, I can use Ljava/lang/String; in the constant pool.
    Curious.
    It gets better. For String[] arrays, I don't know what the "specified" format is -- the JVMSpec is silent on the subject of arrays. I do know that I CANNOT use java/lang/String[], but for 1.5 and 1,6, I CAN use [Ljava/lang/String; -- an apparent contradiction.
    Any VM expert wanna chime in on the subject?  What IS the proper format for array types in the constant pool, and why does 1.6 tolerate a seemingly-improper format for scalar Objects?
    - todd                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    The -link and -linkoffline options enable the documents to link to other API documentation
    generated in separate runs of javadoc. Linkoffline is usually the one you want.
    http://java.sun.com/j2se/1.4/docs/tooldocs/win32/javadoc.html#linkoffline
    With 1.4.0, you can also choose to omit the package name even if -link or -linkoffline
    is not used by using -noqualifier.
    -Doug Kramer
    Javadoc team

  • Fully qualified class name

    ....one small snippet
    <bean:define id="prodName" name="changeItemProduct" property="productName"/> why the name field does not use fully qualified class(bean) name ?
    Not only this tag but also some other Struts tag dont mention the fully quilied class name . why ? does request.setAttribute() inside the servlet plays any role here ? or whats the reason why Struts dont use fully qualified class name in define :bean or logic:equal tag ?
    P.S : i remember jsp Usebean Id tag uses fully qualified class name whenevr it usues that .

    That tutorail should all gibberish in my browser. But anyway, hope this helps!
    The tutorial has only code snippets and the code written there isn't complete.
    To use that bean class name directly, there has to be an import statement in the JSP which will specify the fully qualified class name.
    I didn't quite get what you are trying to say about the tld's.
    That code snippet is returning a member variable called "map" which is an instance of the java.util.Map. The tutorial hasn't specified the member variables in the code snippet.
    few days ago i posted this Map..someone (sensei )
    told something happening internally . a dark
    area.............And a word of caution! Don't believe in trolls and their sensei... they take pride in talking about dark shit.
    Hope this quenches your thirst for knowing everything! (That's not a left-handed compliment... it's good to be inquisitive)

  • Non fully qualified class names in parameter list

    Hi Folks,
    When I generate my documentation the fully qualified class names (for each parameter) appear in the parameter list for methods. In looking at the documentation on this site, a hyperlink to the class using the only the class name appears. Can anyone provide thoughts on how this is achieved? Thanks.

    The -link and -linkoffline options enable the documents to link to other API documentation
    generated in separate runs of javadoc. Linkoffline is usually the one you want.
    http://java.sun.com/j2se/1.4/docs/tooldocs/win32/javadoc.html#linkoffline
    With 1.4.0, you can also choose to omit the package name even if -link or -linkoffline
    is not used by using -noqualifier.
    -Doug Kramer
    Javadoc team

  • 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

  • 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));
    }

  • 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

  • How to change Port Information shown in sicf in fully qualified host name?

    Hi guys,
    I want to use the CS Documentation Tool for SAP BW.
    In DEV everything is OK, but in PROD I can´t execute.
    I know what´s wrong, but I don´t know where to correct the error.
    When I use transaction sicf -> execute -> GoTo -> Port Information I can only see the server name instead of the  fully qualified host name.
    Can anybody tell me, where to change the name?
    Thanks a lot,
    Barbara

    Those ports are defined in the instance profile of the system and can be defined/changed from RZ10. The parameter is icm/server_port_xx. If the parameter is not defined then it uses the default values.
    The profile values looks something like this:
    icm/server_port_0 PROT=HTTP,PORT=80$$,TIMEOUT=90,PROCTIMEOUT=3600
    icm/server_port_1 PROT=SMTP,PORT=25$$,TIMEOUT=90,PROCTIMEOUT=3600
    Hope this helps.
    Thanks,
    Naveed

  • 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.

  • 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;
    }

  • /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)

  • Modifying Portal URL to use Fully Qualified Domain Name

    Hi,
    We have a portal that I can access now by using the URL 'invsrvr001:50000/irj/portal'. We would need the URL to use the fully qualified domain name such as 'invsrvr001.company.com:50000/irj/portal'. Towards that end we added the profile paramter 'icm/host_name_full' with parameter value 'invsrvr001.company.com' and restarted the server. After the we tried to login to the portal using 'invsrvr001.company.com:50000/irj/portal' but the system displayed 'The page cannot be displayed' error.
    What else needs to be done so as to use the fully quailified domain name?
    Do I name to change the computer name from 'INVSRVR001' to 'INVSRVR001.COMPANY.COM'?
    Regards
    ND

    Ok, if you want to use FQDN including your domain extention (host.domain.com) you need to include your host into the domain.
    Also your PDC should be doing the time of DNS server so check that.    
    This should solve your issue, please close the thread.
    Regards
    Juan

  • Problem connecting through RFC with fully qualified domain name

    I am using the .NET Connector and RFC to call a BAPI
    I use a fully qualified domain name in the form <DOMAIN>\<HOST>
    The RFC seems to have problems with this form of address. It produces the following execption in my .NET code.
    SAP.Connector.RfcCommunicationException: Connect to SAP gateway failed
    LOCATION    CPIC (TCP/IP) on local host
    ERROR       hostname 'DOCUNET_AG\DWSAP' unknown
    TIME        Mon Feb 05 11:57:20 2007
    RELEASE     640
    COMPONENT   NI (network interface)
    VERSION     37
    RC          -2
    MODULE      ninti.c
    LINE        329
    DETAIL      NiPGetHostByName2: hostname 'DOCUNET_AG\DWSAP' not found
    SYSTEM CALL gethostbyname_r
    ERRNO       11004
    ERRNO TEXT  WSANO_DATA: Valid name,
       at SAP.Connector.SAPConnection.ThrowRfcException(RFC_ERROR_INFO_EX rfcerrInfo
    , Encoding encoding, String languangeCode)
       at SAP.Connector.SAPConnection.Open()
    What can I do that I am able to use a fully qualifies domain name in this way?
    Thank you very much for your answers.
    Mirco

    Hi Mirco,
    additional to my first reply, open a shell window and type
    <b>
    ping <computername>
    </b>
    or
    <b>
    ping -a <ipaddress>
    </b>
    so you should get the full qualified name for the host.
    Regards
    Holger

Maybe you are looking for