Rmi cant resolve hostnames in j2sdk1.4.1_05

We have a wireless app which is hosted on Wavelink using j2sdk1.4.1_05 . The wireless app uses rmi to perform a lookup on a remote object , and if the url uses a hostname address to refernce the remote object address we get a notbound exception. However the Naming.lookup works fine when using an ip address to reference remote object address . The remote object is always bound to a running rmi registry so Im confused why I get this exception.
On our web app we use j2sdk1.4.2_06 and we dont get any problems resolving hostnames. I havent been able to find any refernces to this bug anywhere and where the fault lies. I would be grateful if someone could post a link or explain where the fault lies in j2sdk1.4.1_05.
Below is an extract of the stack trace we see on the wireless app when we try to lookup our remote object -"StorePrintService"
<com.retek.rss.merch.utils.SystemException>
<java.rmi.NotBoundException>
StorePrintService</java.rmi.NotBoundException>
</com.retek.rss.merch.utils.SystemException>
at com.retek.rss.printservice.datacenter.PrintService.getPrintersForStore(PrintService.java:346)
at com.retek.rss.command.PrintersForStoreCommand.doExecute(PrintersForStoreCommand.java:24)
at com.retek.rss.command.NonTransactionalCommand.execute(NonTransactionalCommand.java:19)
at com.retek.rss.wireless.action.receive.direct.ReceiveDirectSelectPrinterStartAction.doPerform(ReceiveDirectSelectPri
nterStartAction.java:28)
at com.retek.rss.wireless.action.AWirelessAction.doTransaction(AWirelessAction.java:64)
at com.retek.rss.wireless.action.AWirelessAction.perform(AWirelessAction.java:32)
at com.retek.rss.wireless.event.EventHandler_ReceiveDirectSelectPrinter.show(EventHandler_ReceiveDirectSelectPrinter.j
ava:33)
at com.retek.rss.wireless.action.receive.direct.ReceiveDirectDeliveryNotePrintTypeAction$ReceiveDirectDeliveryNotePrin
tTypeCaseLevelDelegate.doSelectPrinter(ReceiveDirectDeliveryNotePrintTypeAction.java:100)
at com.retek.rss.wireless.event.EventHandler_PrinterMenu.doSelectPrinter(EventHandler_PrinterMenu.java:57)
at com.retek.rss.wireless.forms.Form_dnw_PrinterMenu_0.processComponentEvent(Form_dnw_PrinterMenu_0.java:148)
at com.wavelink.formlib.Form_Base.dispatchEvent(Form_Base.java:229)
at com.wavelink.formlib.Form_Base.waitForEvent(Form_Base.java:171)
at com.retek.rss.wireless.forms.Form_dnw_PrinterMenu_0.show(Form_dnw_PrinterMenu_0.java:102)
at com.wavelink.formlib.FormRunner.runForm(FormRunner.java:141)
at com.wavelink.formlib.FormRunner.run(FormRunner.java:47)
at com.retek.rss.wireless.WLApp_RSS10.WaveLinkMain(WLApp_RSS10.java:30)
at com.wavelink.enterprise.portmonitor.WaveLinkSession.run(Unknown Source)
Caused by: java.rmi.NotBoundException: StorePrintService
at sun.rmi.registry.RegistryImpl.lookup(RegistryImpl.java:106)
at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source)
at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:342)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:207)
at sun.rmi.transport.Transport$1.run(Transport.java:148)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
at java.lang.Thread.run(Thread.java:536)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:350)
at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
at java.rmi.Naming.lookup(Naming.java:84)
at com.retek.rss.printservice.datacenter.PrintService.checkForPrinterChangesInStore(PrintService.java:1084)
at com.retek.rss.printservice.datacenter.PrintService.getPrintersForStore(PrintService.java:276)
... 16 more

According to the release notes, "1.4.1 is intended for use on the Solaris 7, Solaris 8, and Solaris 9 Operating Environments".
ie. it shouldn't work. Unfortunate that the error message you were getting was misleading -- but are you sure it came from Sun's java? (that truss output should show exactly which process printed that message)
For me, 1.4.1 does indeed run on 2.6, e.g.
(5.6)$ java -version
java version "1.4.1_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_06-b01)
Java HotSpot(TM) Client VM (build 1.4.1_06-b01, mixed mode)
Not that I'd use 1.4.1, I'd go with a current version... (of the OS and the JVM 8-)
Hope that helps

Similar Messages

  • Cant resolve the host name in mac

    cant resolve your hostname then do the following work around:
    sudo vi /private/etc/hosts
    create the entry with IP and hostname ....no need of domain..

    cant resolve your hostname then do the following work around:
    sudo vi /private/etc/hosts
    create the entry with IP and hostname ....no need of domain..

  • LMS 4.2 discovery does not resolve hostname

    Hi,
    I'm trying automatic discovery with Ping on sweep module. I'm using the following configuration (you can also see it in the attached file):
    discovery module - ping on sweep
    global seed device - 192.168.6.35
    preferred DCR display name - DNS resolvable hostname
    The LMS server has its hostfile populated with the device ip/hostname that i'm testing with and resolving from the server works in both directions. Nevertheless, after discovery proccess is finished, the device is added in DCR with its IP address as dispaly name (screenshot in the attached file).
    I've tried the same method in CiscoWorks 4.0.1 and it works fine.
    I'm attaching the debug log files from discovery test. The LMS is running on Windows Server 2008 standard
    Please advice,

    Hi,
    I'm trying automatic discovery with Ping on sweep module. I'm using the following configuration (you can also see it in the attached file):
    discovery module - ping on sweep
    global seed device - 192.168.6.35
    preferred DCR display name - DNS resolvable hostname
    The LMS server has its hostfile populated with the device ip/hostname that i'm testing with and resolving from the server works in both directions. Nevertheless, after discovery proccess is finished, the device is added in DCR with its IP address as dispaly name (screenshot in the attached file).
    I've tried the same method in CiscoWorks 4.0.1 and it works fine.
    I'm attaching the debug log files from discovery test. The LMS is running on Windows Server 2008 standard
    Please advice,

  • Error: 1056550: Unable to resolve hostname

    Hello Experts,
    When trying to open the already existing partition definitions, the following error occurs
    Error: 1056550: Unable to resolve hostname
    Any suggestions would be of great help.
    Regards,
    Sudhir

    Thank you

  • MultiRowEdt-JBO-35000: Cant resolve spel expression for attribute {0}in{1}

    Hi All,
    i'm in the process of completing the mutli row edit tutorial that I downloaded from this site. I'm using 10.1.2, adf bc and jsp's.
    I've competed the tutorial and am getting an error JBO-35000: Cant resolve spel expression for attribute {0} in {1} .
    I've checked that my attribute names are the same as the VO and have created a BeanInfo class to handle the mapping of these attributes. All appears as it should, so not sure where to go from here.
    Any ideas would be gratefully received.
    Thanks in advance,
    Newbw

    hello,
    I'm facing the same problem in implementing mutli row edit tutorial.
    I'm using JDeveloper 9051.
    Can u please tell me how did u solve ur problem as i didnt understand what u've posted on forum "spelt my VO wrong".
    Please reply. waiting
    Thanks in advance
    Mina

  • Kerberos problem (cannot resolve hostname)

    We are now trying to setup Xserve G5 cluster computer system (1 head node and 6 cluster node) with OS X 10.4.3, and having trouble with Kerberos.
    Head node has two network addresses: one is static IP address of our university (en0), and the other is 192.168.1.1.(en1) Cluster node has static IP addresses from 192.168.1.2 to 7. We put the name of the head node (computer1.company.private) and the cluster nodes (computer2 to 7.company.private) and their IP addressees in the file of both head node and cluster node (/etc/hosts).
    192.168.1.1 computer1.company.private computer1
    192.168.1.2 computer2.company.private computer2
    We also set the HOSTNAME entry in /etc/hostconfig to (computer1.company.private).
    Command 'Hostname' returns correct name computer1.company.private.
    Then we tried to configure computer1.company.private as an Open Directory master. However, KDC did not start, and realms was the number related to the static address of our university (xxx.xx.xxx.vlan.xxx.net, not 'COMPUTER1.COMPANY.PRIVATE’)
    Command 'slapconfig -kerberize diradmin both 'COMPUTER1.COMPANY.PRIVATE' and xxx.xx.xxx.vlan.xxx.net, both returns 'cannot resolve hostname'.
    We would appreciate it very much if you could give us kind comments and suggestions.
    XserveG5   Mac OS X (10.4.3)  

    We also set the HOSTNAME entry in /etc/hostconfig to
    (computer1.company.private).
    Command 'Hostname' returns correct name
    computer1.company.private.
    Looks like they did that already, which makes me think the DNS is not setup properly. Remember that OS X uses a round robin approach to DNS servers listed. So if you have an internal only DNS, and you put in an external only DNS server in your list. You can and will sparadic DNS related kerberos failures. Especially if it is this way on your head machine.
    Sometimes one failure will cause total failure. Also if you do not setup the host name and DNS before you try to kerborize, you can cause issues, so squence of events is very important.

  • I have a Mac pro (10.7.5) and two PC's(windows 7). I am unable to ping either of PC through Mac. However Both PC's reply ping to each other and to Mac as well. Help me with this. Searched Internet. Cant resolve till now

    I have a MB pro (10.7.5) and two PC's(windows 7). I am unable to ping either of PC through Mac. However, Both PC's reply ping made to each other and to Mac as well. Help me with this. Searched Internet. Cant resolve till now
    Regards
    MacIts.

    Request timeout for icmp_seq 0
    Request timeout for icmp_seq 1
    Request timeout for icmp_seq 2
    Request timeout for icmp_seq 3
    Request timeout for icmp_seq 4
    Request timeout for icmp_seq 5
    Request timeout for icmp_seq 6
    is the reply m getting.

  • TS4057 Hi, i cant update fcpx because it doesn't appear in my purchased items in App store. macappstore support cant resolve me the problem; they certificate that i have purchased with order n mgk6by13.. on 21 06 2011, but nobody resolve me. I dont want r

    Hi, I'm aquamovie from italy, videoproducer, on 21 06 2011 i purchased fcp x but now it dont appears on my purchased items, so I cannot update to 10.0.3 because system says " you have not update for your software" :
    When i try to re dowload fcpx App store ask me to pay again!
    I have fcp x installed on two different mac.
    macappstore support cant resolve me the problem, they can see my order number, but send me to fcpx support.. here i cnat find a direct help, also tryed to speak whith itunes download and account, but no solutions, just " try to contact fcpx support"
    I don't want re-pay the software.. please have some ideas
    thanks
    aquamovie

    Are you sure that you have not hidden it ? If you go to you account in AppStore there is an option which says "reveal hidden" and have you try to tash FCPX and then go tu "purchases" you should be able to click install

  • Why to resolve hostname for Incoming T3 Connection

    Hello:
    Can anyone please tell me as why the WebLogic managed server needs to call java.net.InetAddress.getByName
    for an incoming T3 connection from a remote WebLogic EJB client.
    This requires that the server that the WebLogic managed server is running be able
    to resolve a hostname. This seems unnecessary, since the managed server is acting
    as a TCP server in this scenario, and it requires additional network configuration
    to be able to resolve hostnames from incoming clients.
    ####<Nov 3, 2002 3:08:09 AM CST> <Warning> <Posix Performance Pack> <intmgr1>
    <ifmwls1> <ExecuteThread: '14' for que
    ue: 'default'> <> <> <000000> <Caught Throwable on socket: 'weblogic.rjvm.t3.T3JVMConnection@49b16e',
    fd: '11'>
    java.net.UnknownHostException: helloadm.it.somename.com
    at java.net.InetAddress.getAllByName0(InetAddress.java:566)
    at java.net.InetAddress.getAllByName0(InetAddress.java:535)
    at java.net.InetAddress.getByName(InetAddress.java:444)
    at weblogic.rjvm.JVMID.readExternal(JVMID.java:514)
    at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1207)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:381)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:231)
    at weblogic.rjvm.InboundMsgAbbrev.readObject(InboundMsgAbbrev.java:66)
    at weblogic.rjvm.InboundMsgAbbrev.read(InboundMsgAbbrev.java:38)
    at weblogic.rjvm.MsgAbbrevJVMConnection.readMsgAbbrevs(MsgAbbrevJVMConnection.java:186)
    at weblogic.rjvm.MsgAbbrevInputStream.readMessageContext(MsgAbbrevInputStream.java:165)
    at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:590)
    at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:454)
    at weblogic.socket.PosixSocketMuxer.deliverGoodNews(PosixSocketMuxer.java:455)
    at weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java:384)
    at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:24)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    Thanks,
    Vijay

    Mahesh,
    "Mahesh Gurugunti" <[email protected]> wrote in message
    news:3f214ec0$[email protected]..
    I am getting the same error, were you able to get it to work??You greatly reduce your chances of getting an answer
    by cutting of the original quote.
    Quote right and we will try to help you.
    Regards,
    Slava Imeshev

  • IOS Remote Desktop App resolves hostname but throws Host is not reachable error.

    Hello,
    I am trying to use the Remote Desktop app on my iPad running iOS 7.0.2 to connect to a server through our Juniper VPN. When I type the hostname or IP address I get an error that say "Host is not reachable". If I connect through my Mac I have no
    problem when on the same VPN. I have looked through all  of the setting in Junos Pulse and it is setup to route all traffic through the VPN, and I do not know of anything that would be blocking it on the network end.
    Edit: I am connecting to a Windows Server 2008 R2 box with RDP turned on with all types of connections.
    Here is the log data for my latest attempt.
    [2013-Nov-19 11:23:42] RDP (0): *** Application lauched ***
    [2013-Nov-19 11:23:43] RDP (0): Application became foreground application
    [2013-Nov-19 11:24:30] RDP (0): ----- BEGIN ACTIVE CONNECTION -----
    [2013-Nov-19 11:24:30] RDP (0): client version: 8.0.24094 on iPad3,4 (iPhone OS 7.0.3)
    [2013-Nov-19 11:24:30] RDP (0): Protocol state changed to: ProtocolConnectingNetwork(1)
    [2013-Nov-19 11:24:30] RDP (0): Showing credentials dialog
    [2013-Nov-19 11:24:49] RDP (0): Final rdp configuration used: {
        activeUsername = "DOMAIN\\UserName";
        arcTimeout = 1800;
        cacheId = BEBD1725D63BB841;
        configurationVersion = 8;
        console = 0;
        host = "server.mysite.com";
        label = "Server";
        mouseMode = "-1";
        port = 3389;
        soundMode = 1;
        swapMouseButtons = 0;
        type = rdp;
        utilityBar = "-1";
        kCFProxyTypeKey = kCFProxyTypeNone;
    [2013-Nov-19 11:24:49] RDP (0): --- BEGIN INTERFACE LIST ---
    [2013-Nov-19 11:24:49] RDP (0): lo0 af=18  addr= netmask=
    [2013-Nov-19 11:24:49] RDP (0): lo0 af=30 (AF_INET6)  addr=::1 netmask=ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
    [2013-Nov-19 11:24:49] RDP (0): lo0 af=2 (AF_INET)  addr=127.0.0.1 netmask=255.0.0.0
    [2013-Nov-19 11:24:49] RDP (0): lo0 af=30 (AF_INET6)  addr=fe80::1%lo0 netmask=ffff:ffff:ffff:ffff::
    [2013-Nov-19 11:24:49] RDP (0): en0 af=18  addr= netmask=
    [2013-Nov-19 11:24:49] RDP (0): en0 af=30 (AF_INET6)  addr=fe80::66:9d3c:3d77:5cce%en0 netmask=ffff:ffff:ffff:ffff::
    [2013-Nov-19 11:24:49] RDP (0): en0 af=2 (AF_INET)  addr=192.168.114.44 netmask=255.255.252.0
    [2013-Nov-19 11:24:49] RDP (0): awdl0 af=18  addr= netmask=
    [2013-Nov-19 11:24:49] RDP (0): awdl0 af=30 (AF_INET6)  addr=fe80::3c11:d7ff:feb2:7a82%awdl0 netmask=ffff:ffff:ffff:ffff::
    [2013-Nov-19 11:24:49] RDP (0): en2 af=18  addr= netmask=
    [2013-Nov-19 11:24:49] RDP (0): utun0 af=18  addr= netmask=
    [2013-Nov-19 11:24:49] RDP (0): utun0 af=2 (AF_INET)  addr=10.100.01.01 netmask=255.255.255.255
    [2013-Nov-19 11:24:49] RDP (0): --- END INTERFACE LIST ---
    [2013-Nov-19 11:24:49] RDP (0): Not using any proxy
    [2013-Nov-19 11:24:49] RDP (0): Protocol state changed to: ProtocolConnectingNetwork(1)
    [2013-Nov-19 11:24:49] RDP (0): Resolved 'server.mysite.com' to '10.100.01.01' using NameResolveMethod_Unknown(0)
    [2013-Nov-19 11:25:09] RDP (0): Exception caught: Exception in file '/Users/build/jenkins/workspace/rc-ios-develop/protocols/RDP/cftcpendpoint.cpp' at line 242
        User Message : Host is not reachable
    [2013-Nov-19 11:25:09] RDP (0): Error message: Host is not reachable(phase: 0, type: 0, reason: 0, systemCode: -1, systemMessage: )
    [2013-Nov-19 11:25:09] RDP (0): Protocol state changed to: ProtocolDisconnecting(7)
    [2013-Nov-19 11:25:09] RDP (0): Protocol state changed to: ProtocolDisconnected(8)
    [2013-Nov-19 11:25:09] RDP (0): ------ END ACTIVE CONNECTION ------
    Cameron

    Hi,
    According to the log, your iPad tried to connect the remote server with IP address 10.100.01.01/32. Please check if it is the correct IP address of the server.
    Also, please make sure that your iPad can connect to your VPN network successfully and get a valid IP address so that it can remote your internal server.
    Thanks.
    Jeremy Wu
    TechNet Community Support

  • Unable to resolve hostname to IP

    Hi,
    I have a query which seems unusual but very important to get my job done. I'm trying to resolve the hostname to IP on a linux platform (Cent OS). Have a sample code how I'm trying to achieve the same.
    TestJava Class:
    import java.net.*;
    import java.util.*;
    public class TestJava {
    public static void main(String [] args) {
    String IP="10.10.1.7";
    try {
    InetAddress [] addr = InetAddress.getAllByName(args[0]);
    for(InetAddress ad : addr)
    if(ad.getHostAddress().equals(IP))
    System.out.println("Success");
    catch(Exception e) {
    e.printStackTrace();
    Output
    -bash-3.2# java TestJava _viscore
    java.net.UnknownHostException: _viscore
    at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method)
    at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:850)
    at java.net.InetAddress.getAddressFromNameService(InetAddress.java:1201)
    at java.net.InetAddress.getAllByName0(InetAddress.java:1154)
    at java.net.InetAddress.getAllByName(InetAddress.java:1084)
    at java.net.InetAddress.getAllByName(InetAddress.java:1020)
    at TestJava.main(TestJava.java:7)
    NSLookup Result:
    -bash-3.2# nslookup _viscore
    Server: 10.10.1.1
    Address: 10.10.1.1#53
    Name: _viscore.BDC.Maveric.local
    Address: 10.10.1.7
    Java Version:
    java version "1.6.0_21"
    Java(TM) SE Runtime Environment (build 1.6.0_21-b06)
    Java HotSpot(TM) Client VM (build 17.0-b16, mixed mode, sharing)
    All necessary setup to establish connection to DNS is done in "/etc/resolv.conf"
    Hostnames like "_hostname", "host/name" are valid and could able to do nslookup to these from console. But the same is failing from java end.
    Any help is highly appreciated.
    Manjunath

    Your code looks good, and I suppose your resolv.conf file is ok as well. The only potential problem I see is that an underscore is not allowed in hostnames. Does your code work for hostnames that don't contain underscores?

  • How to resolve hostname in Common Service 3.3 ?

    hi guys!
    i have a problem when discover my devices in ciscoworks common service 3.3.
    i discovered use module setting cdp and ping sweep , preferred dcr name is hostname, and update dcr display name is checked.
    i hope the hostname is show in display name but there is ip address.
    i search this problem is bug CSCsq54877 and CSCsv65933 but its resolved in common service 3.3.
    my question:
    there is any problem in my discover settings or is still a bug.?
    could anyone help me to preferred show hostname than ip address ?

    i make a trick.
    i use hosts.etc in windows server where the ciscoworks installed

  • Unable to resolve hostname

    hi guys,
    recently i have installed Obiee 11.1.1.6.0 on RHEL 5.7 and i have installed successfully except the configuration step done by installer ie executing restart of obiee services ie restarting obi server,presentation, scheduler, javahost and cluster controller
    then i have found following error in bi server (ie Coreapplicationobis1)log
    Oracle BI Server Starting.....
    Unable to resolve Address for Localhost:9500
    ONS runtime exiting
    guys any clue on ,how to resolve this error
    Regards
    Ankit

    Can you make sure you have the similar entries in /etc/hosts file
    xxx.xxx.xxx.xxx hostname.domain hostname
    127.0.0.1 localhost.localdomain localhost
    ::1 localhost6.localdomain6 localhost6
    xxx.xxx.xxx.xxx is the machine IP.

  • RV120W cannot resolve hostname of most of the devices

    Hi,
    I am having issue with my network as my router won't resolve most of the hostname of the network, I have 30 devices on my network, and only 4 names are displayed on the available local host. It makes it very difficult to identify the devices on the network.
    Is there a way to fix that ? thanks,
    Jeremy

    Do you have a WINS server (or equivalent) running? If not then take care that you clients have the correct node type:
    run ipconfig /all on each client to check NetBIOS name resolution / node type:
    B-node: 0x01 Broadcast
    P-node: 0x02 Peer (WINS only)
    M-node: 0x04 Mixed (broadcast, then WINS)
    H-node: 0x08 Hybrid (WINS, then broadcast)
    More to read: http://technet.microsoft.com/en-us/library/bb727013.aspx
    Windows Server 2008 R2 has WINS disabled by default.
    If you have trouble with finding Windows shares then check if Network Discovery is running properly. The following services needs to be enabled and runnig otherwise Network Discovery won't stay on:
    Function Discovery Provider Host
    Function Discovery Resource Publication
    SSDP Discovery
    UPnP Device Host

  • Resolving hostnames via 2504 controller

    Good Evening,
         I've just installed a 2504, upgraded the firmware so that 3602i ap's can attach. As a test I left the network open and am running dhcp from the 3560 switch. Why am I unable to ping or connect to a device by name within the same subnet on the "wired" network? There's no DNS server.
    Any input or opinions are helpful

    Hi,
    Not sure if i have got your requirment correct here :-(
    But if you need to resolve a name to ip address (same subnet or different subnet) you need to some name resolution server like a DNS server.
    Please be aware that hostnames you assign to the devices are local to that device and it doesnot help in name resolution. In order for you to fully qualified names to be resolved to ip address you need to have a DNS server.
    Hope that helps.
    Regards
    Najaf

Maybe you are looking for