RMI + LAN = trouble !!

my server is a linux machine with ip 192.168.100.76.
i have made an email service in which my smtp and pop3 are installed in the linux server
i have made a client application which fetches the mail from the server..
Now the problem
we know that the stub always gets downloaded from the server..
this procedure is only happening when the client executes in the server itself
but when the client is ran on a LAN it is not able to download it
the server code is this...
import java.rmi.*;
public class KONMain {
     public static void main(String[] arg) {
          try {
//               the code for starting the rmi registry               
//               System.out.println("RMI registry started");
               if(System.getSecurityManager()==null)
                    System.setSecurityManager(new RMISecurityManager());
               java.rmi.registry.LocateRegistry.createRegistry(1099);
               Naming.rebind("aikon", new KONMail(arg[0]));
               System.out.println("Server has started");
               new TJMultiServer();
          } catch (Exception e) {
               System.out.println("Server exception: " + e);
}the server is started as
java -Djava.rmi.server.codebase=file:///home/aikon/aikon/kon_server/ -Djava.security.policy=policy KONMain <ip>
in this way the server is started
when starting the client
it only fetches the _stub from the server repository when started in the same machine
this criterion fails when the client is ran in another machine
the client code that theoritically fetches the stub :p
                                   if(System.getSecurityManager()==null)
                                        System.setSecurityManager(new RMISecurityManager());
                                   KONInterface ke = (KONInterface)Naming.lookup("//" + ipAddr +"/aikon");
                                   boolean x = ke.authenticate(username,password);
                                   if(x==true){
                                        new KONFrame(username,password,ipAddr);
                                        //new TJInterface();
                                        authFrame.dispose();
                                   else{
                                        authFrame.dispose();
                                        new KONAuthenticate("                    Invalid user name password");
                              }the starting statement for client
java -Djava.security.policy=policy KONAuthenticate <ip of server>

Is it a secret how it fails?

Similar Messages

  • CLAonecting rmi lan problems

    I made a rmi proyect and this run perfect in my pc, but when I want to run in other pc of my LAN it say that can not conect..........Help me plis
    CODE:
    Public Interface
    import java.rmi.Remote;
    import java.rmi.RemoteException;
    public interface Camara extends Remote {
        public void girar(int grados) throws RemoteException;
    }Interface Implementation
    import java.rmi.RemoteException;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    public class CamaraImpl implements Camara {
        public void girar(int grados) throws RemoteException {
            System.out.println("girando ... " + grados);
            try {
                Thread.currentThread().sleep(3000);
            } catch (InterruptedException ex) {
                Logger.getLogger(CamaraImpl.class.getName()).log(Level.SEVERE, null, ex);
            System.out.println("... listo!");
    }RMI Server
    import java.rmi.registry.LocateRegistry;
    import java.rmi.registry.Registry;
    import java.rmi.server.UnicastRemoteObject;
    import rmicomun.Camara;
    import rmicomun.CamaraImpl;
    public class Main {
         * @param args the command line arguments
        public static void main(String[] args) throws Exception {
            LocateRegistry.createRegistry(1099);
            CamaraImpl camara = new CamaraImpl();
            Registry registry = LocateRegistry.getRegistry();
            registry.rebind("camara", UnicastRemoteObject.exportObject(camara, 0));
    }RMI Client
    import java.rmi.registry.LocateRegistry;
    import java.rmi.registry.Registry;
    import rmicomun.Camara;
    public class Main {
         * @param args the command line arguments
        public static void main(String[] args) throws Exception {
            Registry registry = LocateRegistry.getRegistry("192.168.0.100"); /** my ip */
            Camara camara = (Camara) registry.lookup("camara");
            camara.girar(34);
    }Remember in my computer run perfect , but not in other lan network computer.

    I try using 192.168.0.100 (my lan ip) and 192.168.0.100:1099 (my lan ip and port use by rmi) and the same error
    {color:#ff0000}19-abr-2010 11:47:48 Display$1 run
    GRAVE: null
    java.rmi.ConnectException: Connection refused to host: 192.168.0.100:1099; nested exception is:
    java.net.ConnectException: Connection timed out: connect
    at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:601)
    at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:198)
    at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)
    at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322)
    at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source){color}

  • Satellite PRO P200 (PSPB7E): LAN trouble Resource Conflict - PCI Network

    Hey,
    I have a Satellite PRO P200 and I have some trouble with the lan. (not the wireless one).
    When I plug in the network cable, the system want start at all. The blue power let turns on and that's all tha happens.
    If i turn the portable off, unplug the cable and turn it on, it starts, but the network adapter is no longer installed.
    I already downloaded the Realtek driver for Vista 32 bits from the website, but no difference.
    The driver is actually not recognized as being a right driver for the device. I have select the driver manually from a list (using have disk etc..) to get it installed. After the re-installation all the settings of the network adapter in Vista or gone, it always on dhcp.
    I already had a blue screen (vista dump), while installing the device.
    And an error:
    Resource Conflict - PCI Netword Controller in slot 08
    Bus:04, Device:00, Function:00
    Press <F1> to resume, <F2> to setup.
    I also tried to turn of the lan as third boot device, but it automaticaly turns on again.
    I also tried to update the bios to the latets version, it succeeded (no problem at all), but it did not solve my problem.
    Any idees?
    hardware failure?
    I guess it's not possible the switch the lan device?

    Hello
    I have read many stories here but your one is really unbelievable. I do not know what is wrong there but try to enter BIOS settings and set it to default. After doing this install OS using recovery media.
    Now you you will have clean preinstalled OS and your notebook will have factory settings. Please test the LAN card functionality again. If the problem persists you need professional help.

  • Jabber file transfert from lan trouble

    Hi,
    My mac is on a lan, I can receive incoming jabber file transferts but cannot send files.
    this is the xml query sent by ichat :
    <iq from='[email protected]/mac' to='[email protected]/gajim' type='set' id='iChat_78811B90'>
    <query xmlns='http://jabber.org/protocol/bytestreams' sid='sid_8F5B6449'>
    <streamhost jid='[email protected]/mac' host='192.168.0.1' port='57637'/>
    </query>
    </iq>
    As you can see ichat send the lan IP, not the public IP.
    Also, the jabber server user (ejabberd 2.0.3) provide a file transfert proxy, but ichat seems to ignore it.
    Is there a way to use file tranferts proxies for outgoing jabber file transferts in ichat ?
    thx

    I would ask here
    http://www.ejabberd.im/
    11:34 PM Thursday; April 2, 2009

  • K8N Platinum board 54G trouble

    Ok, first things first, I do NOT like this board one bit! Already tried to exchange it but the store refused to do so, something they have no right to but hey what can I do about it?
    Anyways, considering it did cost me a nice amount of money I might as well try to get this piece of crap to work at least a wee bit. Don't get me wrong I always had MSI boards but it seems that Platinum boards are still the *to avoid boards* for some reason. Anyways that's my personal experience. And for your information, I had no idea I was buying the G54 Platinum board, I only noticed afterwards when comparing prices... too late naturally.
    Well the problem is that there are MASSIVE LAN trouble with this board. I spent 5 hours, 5 HOURS fixing the conflicting ports. I finally got the MAC Nvidia port to work but the Realtek is still... well broken. I have cable internet so I depend on my LAN ports to work 100% which isn't the case of this board it seems. Thing is like I said, the only port working is the Nvidia one, the Realtek isn't doing much besides getting on my nerves. Not a SINGLE bit of data comes in. The port keeps sending out signals but that's it. Is there some kind of hardware firewall spooking around somewhere? If so then PLEASE for the love of the computergod tell me where I can blast that DAMN firewall to Oblivion. My modem itself already has a hardware firewall so it's more then likely they conflict with eachother. I already disabled the Nvidia network boot thingy after the POST screen so that should be ok now. Didn't find any Realtek options however.
    2nd problem is that my Windows is for some reason booting up EXTREMELY slow! I don't mean the desktop loading, that's quick as lightning, but the Windows bootup screen is like taking 2-3 mins to switch to desktop. Impossible according to my hardware configuration because I have an FX-55 CPU. And trust me, they aren't supposed to boot up so slowly. Also note that this is a new installment of Windows XP, I already formatted my HD 2 times. So driver conflicts are out of the question unless the problem is again LAN port-related.
    3th problem is that my onboard soundcard seems to conflict with my Audigy 2 card even though I disabled the onboard sound card. Well the conflict isn't bad however the game port doesn't want to install properly. Never had it with my previous MSI board. Anyone got a clue what it could be about? Do mind that this is not an urgent problem it's more a curiousity I have since I never had trouble with my sound card before.
    Well I don't mean to nag or give criticism, but really guys, this board costed a nice amount of money and I can honestly say that I didn't pay for additional trouble. First time ever I had massive trouble like this with an MSI board. Even after updating EVERY driver there is and even BIOS versions the problems seem to stay identically the same so I can only assume there is a hardware/firewall problem somewhere. Any form of help would be extremely appreciated.

    I know how to fix the gameport problem, have to do each every format.
    1 Put the Audigy in the slot one above the orange one.
    2 Install drivers off disk and reboot.
    3 Download latest audigy webupdate's
    4 Install webupdates and reboot
    5 On reboot it will ask for CTGAME.SYS
    6 Grab it off the audigy install cd.
    7 Reboot
    8 On first boot it will be really slow, but dont worry cause next step solves this.
    9 Update the drivers again using the webupdate you downloaded
    10 Reboot
    11 No slow boot and problem gone, gameport detected and working properly.

  • Internet Connection Problem on MSI K7N2-Delta-ILSR

    Hi, recently I buy an MSI K7N2-Delta-ILSR.I have a problem when I was trying to connect to the Internet through my modem on WinXP Pro SP1. It bring me up an error message 678 ( The computer that was tried to connect did not respond...). I have also a second hard disk with Mel windows. On disk the disk with the Mel I don’t have any problem with the internet connection. All my settings are same on WInXP pro and Mel.I have checked I thousand times. My computer configuration is:
    Athlon XP 2400+ Overclocked to 2205MHz
    2 memory modules of 256MB 400 manufactured by Samsung
    TharmalTake Volcano 11
    Triplex Xabre 400 PRO with 128MB
    Hercules Gamesurrround Fortissimo III 7.1
    Microcom InPorte Home modem 56k
    Leadtek winfast 2000 (TV/FM radio)
    Acard SCSI controller (Acard AEC-6710D) for my scanner
    WesternDigital WD800 GB
    WesternDigital  15.3gb
    Bios ver.7.4  
    Can anyone help me?

    Quote
    Originally posted by Roger Wilco
    Hmmmmm, I\'m also having a problem with the onboard lan of the K7N2 Delta.
    I have an ADSL connection, and have an Alcatel SpeedTouch Home modem.
    I pretty much get the same error as SiliconMan (The computer that was tried to connect did not respond...)
    I ended up giving up on it for the time being, just using my SMC NIC. Would be quite interested in finding out what the problem is though.
    Anyone else in the same boat?
    Hi,
        Your problem is not the same, SiliconMan is trying to connect with a dial-up modem not LAN. Your problem sounds like it may be configuration, do a search on this post, I'm sure you will find people with onboard LAN troubles. It's hard to troubleshoot though since you didn't provide any info about your computer. Good Luck  
    Rob

  • Cannot keep all of the devices in a "Managed" status in DCNM

    I have 24 devices in DCNM under DCNM Server Administration -> Devices and Credentials.  I have 16 7K VDCs (4 physical chassis) and 8 5K VDCs (8 physical chassis).  At one point, all of the devices were in a "Managed" status.  Now I'm having trouble keeping them that way.  The revert to "Unmanaged" for various reasons such as "Internet server error", "Error when executing database query" and my personal favorite "Discrepancy in accounting log messages".  For the last case, which is the only one I've tried to fix thus far, I followed the instructions under "Cisco DCNM for LAN" -> "Troubleshooting DCNM-LAN" -> "Trouble with Device Discovery or Device Status" section of the "Cisco DCNM Fundamentals Guide, Release 5.x" documentation.  The device will come back into a "Managed" status and the revert back to "Unmanaged".  Also, discovery seems to take a very long time.  I started discovery yesterday and when I came into work this morning it was still trying to discover devices.  Is anybody else having this issue?

    The answer is no and even when you select the TV safe area, this often happens to longer titles in iDvd (sorry).
    Might be less of an issue or at least more manageable within DVDSP (apple's pro apps).

  • Trouble with 3 ATV to connect to iTunes in one WiFi / LAN

    Hi community,
    I've trouble with my ATVs in my network. I have 1 3Gen. ATV connected via LAN to iTunes on iMac and 2 2Gen. ATVs via WiFi. The problem I am facing is, if I am connected with two of them to my iTunes Library the third can't even the others ( which have been conneted) are off. If I restart iTunes, I can connect again two of them and the third (doesn't matter which one) cannot. So I can circle arround which one gets connected but it is not very satisfying. 
    My network is setup on two Airport express and a TC 2Gen to cover the whole house. As I stated above, the ATV 3Gen is connected via Lan, and the other two via WLAN?
    Any idea what I've made wrong, or what to do to find the problem?
    Thanks in advance

    Until the MacBook Air was released and supported in 10.5, the Mac did not consider USB to be a valid Networking Protocol. So set the Mac with USB solutions aside.
    To connect computer-to-computer, you typically need to be using an Ethernet crossover cable. Assigning the same address to two Ethernet devices is never the solution -- it gives a Network Conflict, just as you said.
    If your Windows box has some mechanism for Sharing its WiFi connection over Ethernet, you would have to follow its rules. Whether that means Manually assigning an Ethernet Address in the same range or the PC will provide the Address, I do not know.
    Best success may be running an Ethernet cable to your Wired/Wireless Base Station, or using a "gaming adapter" (Ethernet-to-Wireless no drivers required) connected to the Mac's Ethernet port to give it WiFi access. What is your Base Station {Cable, DSL, FIOS, Other} ? Ethernet cables can be up to 100 meters (an American Football Field). Often the Base Station can be moved closer for more convenience.

  • Will multiple Lan cards cause problems using rmi?

    Will multiple Lan cards cause problems using rmi? If a host has two or more network cards (only one of which is Internet-enabled), how does RMI know which IP address to use? There seems to be a problem when such a client registers with an RMI service, and has a client-side callback method invoked by the server.

    You can tell RMI the address you want by defining java.rmi.server.hostname at the JVM which exports the remote object.

  • Trouble to invoke BPEL from Java Client following rmi example

    I still have troubles to invoke my BPEL process from Java Client by following tutorial sample of 102.InvokingProcesses/rmi .
    I created my Java class within NetBeans IDE. And the following line of code return null for url,
    java.net.URL url = ClassLoader.getSystemResource("context.properties");
    I think that I need to have SystemResource set up somewhere, how should I do that?

    if you using oc4j.. then please make a small change in oc4j_context.properties
    from
    java.naming.provider.url=[java.naming.provider.url]
    to
    java.naming.provider.url=ormi://hostname/orabpel
    And please make sure the context.properties file which gets copied to classes/context.properties has this above entry. For more details please refer to build.xml under rmi folder.
    Please do let me know if you face any issue.

  • Trouble in executing RMI from servlet

    hello everybody..
    I have trouble in invoking RMI from the servlet.. i get an exception saying connection refused to 192.168.16.65 (my RMI server is running on this system) .
    Later i tried running RMI on the same system and got the exception saying connection refused to 127.0.0.1 .
    pls help me to solve this trouble.
    thanks
    - abdel Olakara

    Plz send me code where you are using lookup() method bcoz without seeing code we cant undersatnd the error(pblm). plz also send the interface.

  • Trouble with RMI?

    We have during the last month started to get problems where the Vadis application
    stops working. We can't figure out the cause of this.
    Recent additions to the application is that we have started to use RMI for our
    client communication - currently we are both using CORBA (OrbixWeb 3.1c) and RMI
    - planning to get rid of CORBA. We have also some new features that increases
    the amount of tasks to perform.
    The system can hang both under heavy load and under off peak hours, when many
    clients are connected or when nobody is using it!?! Strange...
    This happens approximately once a week.
    Today we managed to get a JRockit dump (with Ctrl-Break) - see attached file.
    The main thread that should run all real tasks is Schemaläggare, but the stack
    trace indicates a really weird place to stop. When looking at the code we can't
    see how this could be either a deadlock or an infinite loop. Maybe you can make
    some more out of the printout?
    For example, we wonder what the timestamp row means. Almost all threads have a
    timestamp of around 2200. But one thread has 1 and the other 346. What does this
    mean?
    We are using the following version of JRockit:
    java version 1.3
    Java(TM) 2 Runtime Environment, Standard Edition (build "1.3.1_CROSIS_20011213-1316")
    JRockit Virtual Machine (build 3.0.1-CROSIS-2001213-1317)
    with nativeThreads activated.
    Do you know of any troubles with using RMI for this version. Or the combination
    of RMI and CORBA/OrbixWeb?
    Best regards,
    Tomas L
    [ProblemReport_JRockit.txt]

    Really don't know the answer to that question. I haven't analyzed the
    problem in detail. I know that a lot of issues has been fixed since
    3.0.1, and if the problem is with the VM it is likely to have been fixed.
    Regards,
    /Staffan
    TomasLiden wrote:
    Alright,
    However, before taking on the job of upgrading JRockit it would be nice to know
    whether the problem is likely to be solved. Or put in other words: Do you think
    the problem is in the JVM or in our application?
    All the best,
    /Tomas
    Staffan Larsen <[email protected]> wrote:
    Well, as you noted, NT4 isn't a supported platform for 7.0sp4, but we
    are not aware of anything that would not work. Then again, 3.0.1 isn't
    supported either...
    You have two choices the way I see it: 1) Use 7.0sp4 on NT4 and
    hopefully it solves your problem. 2) Upgrade to W2K (but I guess that
    is
    hard).
    Regards,
    /Staffan
    TomasLiden wrote:
    Hi,
    I guessed you would answer something like that ;-) However, our serveris running
    Windows NT4 (don't remember the service pack) and on your downloadsite it says
    W2K for 7.0sp4. Will that work?
    /T
    Staffan Larsen <[email protected]> wrote:
    Hi Tomas,
    JRockit 3.0.1 is pretty old at this time, so I would strongly suggest
    that you upgrade to JRockit 7.0sp4 (if you need 1.3.1 compatibility),
    or
    JRockit 1.4.2 (if you are ok with 1.4.2 compatibility). Both version
    are
    available for download at
    http://commerce.bea.com/showallversions.jsp?family=WLJR
    Regards,
    /Staffan
    TomasLiden wrote:
    We have during the last month started to get problems where the Vadisapplication
    stops working. We can't figure out the cause of this.
    Recent additions to the application is that we have started to useRMI for our
    client communication - currently we are both using CORBA (OrbixWeb3.1c) and RMI
    - planning to get rid of CORBA. We have also some new features thatincreases
    the amount of tasks to perform.
    The system can hang both under heavy load and under off peak hours,when many
    clients are connected or when nobody is using it!?! Strange...
    This happens approximately once a week.
    Today we managed to get a JRockit dump (with Ctrl-Break) - see attachedfile.
    The main thread that should run all real tasks is Schemaläggare, butthe stack
    trace indicates a really weird place to stop. When looking at the
    code
    we can't
    see how this could be either a deadlock or an infinite loop. Maybeyou can make
    some more out of the printout?
    For example, we wonder what the timestamp row means. Almost all threadshave a
    timestamp of around 2200. But one thread has 1 and the other 346.
    What
    does this
    mean?
    We are using the following version of JRockit:
    java version 1.3
    Java(TM) 2 Runtime Environment, Standard Edition (build "1.3.1_CROSIS_20011213-1316")
    JRockit Virtual Machine (build 3.0.1-CROSIS-2001213-1317)
    with nativeThreads activated.
    Do you know of any troubles with using RMI for this version. Or thecombination
    of RMI and CORBA/OrbixWeb?
    Best regards,
    Tomas L
    Problem report.
    Application hangs - deadlock or loop?
    We have during the last month started to get problems where the Vadisapplication stops working. We can't figure out the cause of this.
    Recent additions to the application is that we have started to useRMI for our client communication - currently we are both using CORBA
    (OrbixWeb 3.1c) and RMI - planning to get rid of CORBA. We have also
    some new features that increases the amount of tasks to perform.
    The system can hang both under heavy load and under off peak hours,when many clients are connected or when nobody is using it!?! Strange...
    This happens approximately once a week.
    Today we managed to get a JRockit dump (with Ctrl-Break) - see below.The main thread that should run all real tasks is Schemaläggare, but
    the stack trace indicates a really weird place to stop. When looking
    at the code we can't see how this could be either a deadlock or aninfinite
    loop. Maybe you can make some more out of the printout?
    For example, we wonder what the timestamp row means. Almost all threadshave a timestamp of around 2200. But one thread has 1 and the other
    346. What does this mean?
    We are using the following version of JRockit:
    java version 1.3
    Java(TM) 2 Runtime Environment, Standard Edition (build "1.3.1_CROSIS_20011213-1316")
    JRockit Virtual Machine (build 3.0.1-CROSIS-2001213-1317)
    with nativeThreads activated.
    Do you know of any troubles with using RMI for this version. Or thecombination of RMI and CORBA/OrbixWeb?
    Best regards,
    Tomas L
    ================== Ctrl-Break printout ====================
    ====== THREAD 00000080 == Noname
    State: ACTIVE, DAEMON, GCABLE
    Prio: 0 (5)
    Timestamp: 2232 before current stamp
    Stack: 0x00000000
    Code: 0x00000000
    LastJava: 0x7FF8FF08
    ThreadID: 0x00000E7B
    ### Stacktrace:
    --- End of stack trace
    ### End of stacktrace.
    =====================
    ====== THREAD 00000100 == RMI TCP Connection(2191)-10.40.105.193
    State: ACTIVE, DAEMON, GCABLE
    Prio: 0 (5)
    Timestamp: 1 before current stamp
    Stack: 0x00000000
    Code: 0x00000000
    LastJava: 0x7FF4FC44
    ThreadID: 0x000006F4
    ### Stacktrace:
    at se.sj.otm.tillampning.systemProvider.gen.RVadisClientProviderImpl.doT
    illgangligaVagnar(Compiled Code)@5f5f4fee
    at se.sj.otm.tillampning.systemProvider.gen.RVadisClientProviderImpl_Ske
    l.dispatch(Compiled Code)@5f5f5ad1
    at sun.rmi.server.UnicastServerRef.oldDispatch(Compiled Code)@5d32d44c
    at sun.rmi.server.UnicastServerRef.dispatch(Compiled Code)@5d32cfc8
    at sun.rmi.transport.Transport$1.run(Compiled Code)@5d32cb3f
    at java.security.AccessController.doPrivileged(Native Method)@5a091990
    at sun.rmi.transport.Transport.serviceCall(Compiled Code)@5d32b02d
    at sun.rmi.transport.tcp.TCPTransport.handleMessages(CompiledCode)@5d32
    a9c8
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(CompiledCod
    e)@5d3296db
    at java.lang.Thread.run(Compiled Code)@59e3328e
    at java.lang.Thread.startThreadFromVM(Compiled Code)@59e33134
    --- End of stack trace
    ### End of stacktrace.
    =====================
    ====== THREAD 00000180 == ObjyThread
    State: WAITING, NONDAEMON, GCABLE
    Prio: 0 (5)
    Timestamp: 2226 before current stamp
    Stack: 0x00000000
    Code: 0x00000000
    LastJava: 0x7FF3FED8
    ThreadID: 0x00000B2F
    ### Stacktrace:
    --- End of stack trace
    ### End of stacktrace.
    =====================
    ====== THREAD 00000200 == Finalizer
    State: WAITING, DAEMON, GCABLE
    Prio: 0 (5)
    Timestamp: 2231 before current stamp
    Stack: 0x00000000
    Code: 0x00000000
    LastJava: 0x7FF2FEB8
    ThreadID: 0x00000B7A
    ### Stacktrace:
    at java.lang.Object.wait0(Compiled Code)@59e35860
    at java.lang.ref.ReferenceQueue.remove(Optimized Code)@5f7742fe
    at java.lang.ref.Finalizer$FinalizerThread.run(Compiled Code)@59e35379
    at java.lang.Thread.startThreadFromVM(Compiled Code)@59e33134
    --- End of stack trace
    ### End of stacktrace.
    =====================
    ====== THREAD 00000280 == SignalHandler
    State: ACTIVE, DAEMON, GCABLE
    Prio: 0 (5)
    Timestamp: 2230 before current stamp
    Stack: 0x00000000
    Code: 0x00000000
    LastJava: 0x7FEFFEF0
    ThreadID: 0x00000B3C
    ### Stacktrace:
    at java.lang.Thread.run(Compiled Code)@59e3328e
    at java.lang.Thread.startThreadFromVM(Compiled Code)@59e33134
    --- End of stack trace
    ### End of stacktrace.
    =====================
    ====== THREAD 00000300 == Hotspot Detector
    State: ACTIVE, DAEMON, GCABLE
    Prio: 0 (5)
    Timestamp: 2229 before current stamp
    Stack: 0x00000000
    Code: 0x00000000
    LastJava: 0x7FEEFEE0
    ThreadID: 0x0000096C
    ### Stacktrace:
    --- End of stack trace
    ### End of stacktrace.
    =====================
    ====== THREAD 00000380 == Reference Handler
    State: WAITING, DAEMON, GCABLE
    Prio: 0 (5)
    Timestamp: 2228 before current stamp
    Stack: 0x00000000
    Code: 0x00000000
    LastJava: 0x7FEDFEE4
    ThreadID: 0x00000E30
    ### Stacktrace:
    at java.lang.ref.Reference$ReferenceHandler.run(Compiled Code)@5a090526
    at java.lang.Thread.startThreadFromVM(Compiled Code)@59e33134
    --- End of stack trace
    ### End of stacktrace.
    =====================
    ====== THREAD 00000400 == Thread-0
    State: ACTIVE, DAEMON, GCABLE
    Prio: 0 (5)
    Timestamp: 2232 before current stamp
    Stack: 0x00000000
    Code: 0x00000000
    LastJava: 0x00A5B1E0
    ThreadID: 0x00000D2A
    ### Stacktrace:
    --- End of stack trace
    ### End of stacktrace.
    =====================
    ====== THREAD 00000480 == RMI TCP Accept-1
    State: ACTIVE, DAEMON, GCABLE
    Prio: 0 (5)
    Timestamp: 2225 before current stamp
    Stack: 0x00000000
    Code: 0x00000000
    LastJava: 0x7FE8FEA4
    ThreadID: 0x00000EA0
    ### Stacktrace:
    at java.net.ServerSocket.implAccept(Compiled Code)@5a23b775
    at java.net.ServerSocket.accept(Compiled Code)@5a23b57c
    at sun.rmi.transport.tcp.TCPTransport.run(Compiled Code)@5a23a9f8
    at java.lang.Thread.run(Compiled Code)@59e3328e
    at java.lang.Thread.startThreadFromVM(Compiled Code)@59e33134
    --- End of stack trace
    ### End of stacktrace.
    =====================
    ====== THREAD 00000500 == OrbixWeb Server Listener thread
    State: ACTIVE, NONDAEMON, GCABLE
    Prio: 0 (5)
    Timestamp: 2224 before current stamp
    Stack: 0x00000000
    Code: 0x00000000
    LastJava: 0x7FE7FEA0
    ThreadID: 0x0000008E
    ### Stacktrace:
    at java.net.ServerSocket.implAccept(Compiled Code)@5a23b775
    at java.net.ServerSocket.accept(Compiled Code)@5a23b57c
    at IE.Iona.OrbixWeb.CORBA.Listener.acceptNewConnection(CompiledCode)@5a
    2f429e
    at IE.Iona.OrbixWeb.CORBA.Listener.run(Compiled Code)@5a2f3e37
    at java.lang.Thread.run(Compiled Code)@59e3328e
    at java.lang.Thread.startThreadFromVM(Compiled Code)@59e33134
    --- End of stack trace
    ### End of stacktrace.
    =====================
    ====== THREAD 00000580 == Request Processor
    State: WAITING, NONDAEMON, GCABLE
    Prio: 0 (5)
    Timestamp: 2223 before current stamp
    Stack: 0x00000000
    Code: 0x00000000
    LastJava: 0x7FE6FEA0
    ThreadID: 0x00000E0E
    ### Stacktrace:
    at IE.Iona.OrbixWeb.CORBA.EventHandler.nextRequest(CompiledCode)@5a2f78
    fc
    at IE.Iona.OrbixWeb.CORBA.BOAImpl.processOneEvent(CompiledCode)@5a2f763
    b
    at IE.Iona.OrbixWeb.CORBA.BOAImpl.processEvents(Compiled Code)@5a2f418b
    at IE.Iona.OrbixWeb.CORBA.EventHandler.run(Compiled Code)@5a2f3c8d
    at java.lang.Thread.run(Compiled Code)@59e3328e
    at java.lang.Thread.startThreadFromVM(Compiled Code)@59e33134
    --- End of stack trace
    ### End of stacktrace.
    =====================
    ====== THREAD 00000600 == RMI TCP Accept-2
    State: ACTIVE, DAEMON, GCABLE
    Prio: 0 (5)
    Timestamp: 2222 before current stamp
    Stack: 0x00000000
    Code: 0x00000000
    LastJava: 0x7FE5FEA4
    ThreadID: 0x00000680
    ### Stacktrace:
    at java.net.ServerSocket.implAccept(Compiled Code)@5a23b775
    at java.net.ServerSocket.accept(Compiled Code)@5a23b57c
    at sun.rmi.transport.tcp.TCPTransport.run(Compiled Code)@5a23a9f8
    at java.lang.Thread.run(Compiled Code)@59e3328e
    at java.lang.Thread.startThreadFromVM(Compiled Code)@59e33134
    --- End of stack trace
    ### End of stacktrace.
    =====================
    ====== THREAD 00000680 == RMI Reaper
    State: WAITING, NONDAEMON, GCABLE
    Prio: 0 (5)
    Timestamp: 2221 before current stamp
    Stack: 0x00000000
    Code: 0x00000000
    LastJava: 0x7FE4FEA0
    ThreadID: 0x000008FB
    ### Stacktrace:
    --- End of stack trace
    ### End of stacktrace.
    =====================
    ====== THREAD 00000700 == GC Daemon
    State: WAITING, DAEMON, GCABLE
    Prio: 0 (5)
    Timestamp: 2220 before current stamp
    Stack: 0x00000000
    Code: 0x00000000
    LastJava: 0x7FE3FEC4
    ThreadID: 0x00000927
    ### Stacktrace:
    --- End of stack trace
    ### End of stacktrace.
    =====================
    ====== THREAD 00000780 == Thread-11
    State: WAITING, NONDAEMON, GCABLE
    Prio: 0 (5)
    Timestamp: 2213 before current stamp
    Stack: 0x00000000
    Code: 0x00000000
    LastJava: 0x7FE2FEC8
    ThreadID: 0x00000CF1
    ### Stacktrace:
    --- End of stack trace
    ### End of stacktrace.
    =====================
    ====== THREAD 00000800 == Gtpl
    State: ACTIVE, NONDAEMON, GCABLE
    Prio: 0 (5)
    Timestamp: 2204 before current stamp
    Stack: 0x00000000
    Code: 0x00000000
    LastJava: 0x7FE1FDC8
    ThreadID: 0x00000B01
    ### Stacktrace:
    --- End of stack trace
    ### End of stacktrace.
    =====================
    ====== THREAD 00000880 == Pbok
    State: ACTIVE, NONDAEMON, GCABLE
    Prio: 0 (5)
    Timestamp: 2203 before current stamp
    Stack: 0x00000000
    Code: 0x00000000
    LastJava: 0x7FE0FDC8
    ThreadID: 0x00000A27
    ### Stacktrace:
    --- End of stack trace
    ### End of stacktrace.
    =====================
    ====== THREAD 00000900 == Beval
    State: ACTIVE, NONDAEMON, GCABLE
    Prio: 0 (5)
    Timestamp: 2202 before current stamp
    Stack: 0x00000000
    Code: 0x00000000
    LastJava: 0x7FDFFDC8
    ThreadID: 0x00000C27
    ### Stacktrace:
    at java.net.SocketInputStream.read0(Optimized Code)@5f776df9
    at java.net.SocketInputStream.read(Optimized Code)@5f776e42
    at java.io.DataInputStream.readInt(Optimized Code)@5f58a2df
    at com.ibm.mq.MQInternalCommunications.receive(Optimized Code)@5f762c43
    at com.ibm.mq.MQSESSIONClient.MQGET(Optimized Code)@5f74a056
    at com.ibm.mq.MQQueue.get(Optimized Code)@5f76e931
    at se.sj.otm.ramverk.hostConnection.communication.MQPoll.execute(Optimiz
    ed Code)@5f8fc96f
    at se.sj.otm.basobjekt.Poll.run(Compiled Code)@5a35db6f
    at java.lang.Thread.startThreadFromVM(Compiled Code)@59e33134
    --- End of stack trace
    ### End of stacktrace.
    =====================
    ====== THREAD 00000980 == Kal
    State: ACTIVE, NONDAEMON, GCABLE
    Prio: 0 (5)
    Timestamp: 2201 before current stamp
    Stack: 0x00000000
    Code: 0x00000000
    LastJava: 0x7FDEFDC8
    ThreadID: 0x0000064A
    ### Stacktrace:
    --- End of stack trace
    ### End of stacktrace.
    =====================
    ====== THREAD 00000a00 == OrbixWeb Connection Monitor thread
    State: WAITING, DAEMON, GCABLE
    Prio: 0 (5)
    Timestamp: 2218 before current stamp
    Stack: 0x00000000
    Code: 0x00000000
    LastJava: 0x7FDDFEC8
    ThreadID: 0x00000968
    ### Stacktrace:
    --- End of stack trace
    ### End of stacktrace.
    =====================
    ====== THREAD 00000a80 == Connection[IIOP, Socket[addr=nttmd51.sj.se/10.54.132.9
    5,port=1574,localport=1977], is_daemon]
    State: ACTIVE, DAEMON, GCABLE
    Prio: 0 (5)
    Timestamp: 2217 before current stamp
    Stack: 0x00000000
    Code: 0x00000000
    LastJava: 0x7FDCFEA4
    ThreadID: 0x000007AA
    ### Stacktrace:
    --- End of stack trace
    ### End of stacktrace.
    =====================
    ====== THREAD 00000b80 == Thread-9
    State: WAITING, NONDAEMON, GCABLE
    Prio: 0 (5)
    Timestamp: 2215 before current stamp
    Stack: 0x00000000
    Code: 0x00000000
    LastJava: 0x7FDAFEC8
    ThreadID: 0x00000F58
    ### Stacktrace:
    --- End of stack trace
    ### End of stacktrace.
    =====================
    ====== THREAD 00000c00 == Thread-10
    State: WAITING, NONDAEMON, GCABLE
    Prio: 0 (5)
    Timestamp: 2214 before current stamp
    Stack: 0x00000000
    Code: 0x00000000
    LastJava: 0x7FD9FEC8
    ThreadID: 0x00000302
    ### Stacktrace:
    --- End of stack trace
    ### End of stacktrace.
    =====================
    ====== THREAD 00000c80 == Thread-12
    State: WAITING, NONDAEMON, GCABLE
    Prio: 0 (5)
    Timestamp: 2212 before current stamp
    Stack: 0x00000000
    Code: 0x00000000
    LastJava: 0x7FD8FEC8
    ThreadID: 0x00000D52
    ### Stacktrace:
    --- End of stack trace
    ### End of stacktrace.
    =====================
    ====== THREAD 00000d00 == Thread-13
    State: WAITING, NONDAEMON, GCABLE
    Prio: 0 (5)
    Timestamp: 2211 before current stamp
    Stack: 0x00000000
    Code: 0x00000000
    LastJava: 0x7FD7FEC8
    ThreadID: 0x00000ABC
    ### Stacktrace:
    --- End of stack trace
    ### End of stacktrace.
    =====================
    ====== THREAD 00000d80 == Thread-14
    State: WAITING, NONDAEMON, GCABLE
    Prio: 0 (5)
    Timestamp: 2210 before current stamp
    Stack: 0x00000000
    Code: 0x00000000
    LastJava: 0x7FD6FEC8
    ThreadID: 0x000008F5
    ### Stacktrace:
    --- End of stack trace
    ### End of stacktrace.
    =====================
    ====== THREAD 00000e00 == Thread-15
    State: WAITING, NONDAEMON, GCABLE
    Prio: 0 (5)
    Timestamp: 2209 before current stamp
    Stack: 0x00000000
    Code: 0x00000000
    LastJava: 0x7FD5FEC8
    ThreadID: 0x000001C2
    ### Stacktrace:
    --- End of stack trace
    ### End of stacktrace.
    =====================
    ====== THREAD 00000e80 == Thread-16
    State: WAITING, NONDAEMON, GCABLE
    Prio: 0 (5)
    Timestamp: 2208 before current stamp
    Stack: 0x00000000
    Code: 0x00000000
    LastJava: 0x7FD4FEC8
    ThreadID: 0x0000078E
    ### Stacktrace:
    --- End of stack trace
    ### End of stacktrace.
    =====================
    ====== THREAD 00000f00 == Schemalõggare
    State: ACTIVE, NONDAEMON, GCABLE
    Prio: 0 (5)
    Timestamp: 2207 before current stamp
    Stack: 0x00000000
    Code: 0x00000000
    LastJava: 0x7FD3FA0C
    ThreadID: 0x00000AC0
    ### Stacktrace:
    at se.sj.otm.vagnstyrningsplanering.optimeringsmodell.AggregeradTomvagns
    fordelningsmodell.minskaReservationerUtanBehovspaverkan(Compiled Code)@5f5e6678
    at se.sj.otm.vagnstyrningsplanering.optimeringsmodell.AggregeradTomvagns
    fordelningsmodell.anpassaReservationerTillKapacitetsminskning(CompiledCode)@5f5
    e6945
    at se.sj.otm.vagnstyrningsplanering.tomvagnstyrning.impl.Godsvagnstyrnin
    gsplanImpl.forandradTillgangligKapacitetITaglagen(Compiled Code)@5d33750a
    at java.lang.reflect.Method.invoke(Native Method)@5a0c225e
    at se.sj.otm.verksamhetsobjekt.trafikoperator.impl.ArgumentFormedlareImp
    l.invokeMethod(Compiled Code)@5a5f545e
    at se.sj.otm.vagnstyrningsplanering.tomvagnstyrning.impl.Godsvagnstyrnin
    gsplanImpl.anropaVagnstyrningsplanerare(Optimized Code)@5f8fdba5
    at se.sj.otm.verksamhetsobjekt.fordon.impl.GodsvagnparkImpl.anropaVagnst
    yrningsplanerare(Compiled Code)@5a5f511f
    at se.sj.otm.verksamhetsobjekt.fordon.impl.GodsvagnparkImpl.forandradTil
    lgangligKapacitetITaglagen(Compiled Code)@5d337101
    at se.sj.otm.verksamhetsobjekt.fordon.impl.GodsvagnparkImpl.genomforRese
    rvationslistor(Optimized Code)@5f8fee98
    at se.sj.otm.verksamhetsobjekt.fordon.impl.GodsvagnparkImpl.genomforOnsk
    adeReservationer(Optimized Code)@5f7a4c4a
    at se.sj.otm.verksamhetsobjekt.fordon.impl.GodsvagnparkImpl.hanteraSvarF
    ranPlaneraren(Compiled Code)@5d330a01
    at se.sj.otm.verksamhetsobjekt.fordon.impl.GodsvagnparkImpl.forberedFixe
    raTomtransporter(Optimized Code)@5f799aab
    at se.sj.otm.verksamhetsobjekt.fordon.impl.GodsvagnparkImpl.fixeraTomtra
    nsporter(Compiled Code)@5f5c81d1
    at se.sj.otm.verksamhetsobjekt.tidtabell.impl.TidtabellImpl.utforFortida
    Fixering(Compiled Code)@5f74b166
    at java.lang.reflect.Method.invoke(Native Method)@5a0c225e
    at se.sj.otm.ramverk.scheduler.OTAssignment.perform(OptimizedCode)@5f76
    b227
    at se.sj.otm.ramverk.scheduler.OTScheduler.performNextAssignment(Optimiz
    ed Code)@5f900796
    at se.sj.otm.ramverk.scheduler.OTScheduler.execute(OptimizedCode)@5f904
    b9d
    at se.sj.otm.basobjekt.Poll.run(Compiled Code)@5a35db6f
    at java.lang.Thread.startThreadFromVM(Compiled Code)@59e33134
    --- End of stack trace
    ### End of stacktrace.
    =====================
    ====== THREAD 00000f80 == TidsstyrdUppdragsk÷
    State: WAITING, NONDAEMON, GCABLE
    Prio: 0 (5)
    Timestamp: 2206 before current stamp
    Stack: 0x00000000
    Code: 0x00000000
    LastJava: 0x7FD2FEC0
    ThreadID: 0x00000B34
    ### Stacktrace:
    --- End of stack trace
    ### End of stacktrace.
    =====================
    ====== THREAD 00001000 == TidsstyrdUppdragsk÷
    State: WAITING, NONDAEMON, GCABLE
    Prio: 0 (5)
    Timestamp: 2205 before current stamp
    Stack: 0x00000000
    Code: 0x00000000
    LastJava: 0x7FD1FEC0
    ThreadID: 0x00000AC2
    ### Stacktrace:
    --- End of stack trace
    ### End of stacktrace.
    =====================
    ====== THREAD 00001080 == AWT-EventQueue-0
    State: WAITING, NONDAEMON, GCABLE
    Prio: 0 (5)
    Timestamp: 2200 before current stamp
    Stack: 0x00000000
    Code: 0x00000000
    LastJava: 0x7FD0FEA0
    ThreadID: 0x000001B1
    ### Stacktrace:
    --- End of stack trace
    ### End of stacktrace.
    =====================
    ====== THREAD 00001100 == SunToolkit.PostEventQueue-0
    State: WAITING, NONDAEMON, GCABLE
    Prio: 0 (5)
    Timestamp: 2199 before current stamp
    Stack: 0x00000000
    Code: 0x00000000
    LastJava: 0x7FCFFED4
    ThreadID: 0x00000E2E
    ### Stacktrace:
    at sun.awt.PostEventQueue.run(Compiled Code)@5a3bde4e
    at java.lang.Thread.startThreadFromVM(Compiled Code)@59e33134
    --- End of stack trace
    ### End of stacktrace.
    =====================
    ====== THREAD 00001180 == Thread-20
    State: CREATED, DAEMON, GCABLE
    Prio: 0 (6)
    Timestamp: 2232 before current stamp
    Stack: 0x00000000
    Code: 0x00000000
    LastJava: 0x7FCEFF58
    ThreadID: 0x000000A2
    ### Stacktrace:
    No stack trace for unstarted threads.
    ### End of stacktrace.
    =====================
    ====== THREAD 00001200 == AWT-Windows
    State: ACTIVE, DAEMON, GCABLE
    Prio: 0 (6)
    Timestamp: 2197 before current stamp
    Stack: 0x00000000
    Code: 0x00000000
    LastJava: 0x7FCDFEBC
    ThreadID: 0x00000D0A
    ### Stacktrace:
    at COM.jrockit.awt.WToolkit.run(Compiled Code)@5a3bdfe9
    at java.lang.Thread.run(Compiled Code)@59e3328e
    at java.lang.Thread.startThreadFromVM(Compiled Code)@59e33134
    --- End of stack trace
    ### End of stacktrace.
    =====================
    ====== THREAD 00001280 == RMI LeaseChecker
    State: WAITING, DAEMON, GCABLE
    Prio: 0 (5)
    Timestamp: 346 before current stamp
    Stack: 0x00000000
    Code: 0x00000000
    LastJava: 0x7FCCFEBC
    ThreadID: 0x000007C0
    ### Stacktrace:
    --- End of stack trace
    ### End of stacktrace.
    =====================

  • Trouble with RMI codebase

    Hi, i've created a file transfer application via RMI, it work very well, i can transfer file longer than 1 GB without any problem.
    But when i copy my project with all classes to another directory, it doesn't work. I'm sure that the trouble is in the VM options :
    "-Djava.rmi.server.codebase=file:E:\RMIFileTransfer\classes\ -Djava.security.policy=file:E:\RMIFileTransfer\policy\RMI.policy ", that points to the old directory. I don't want to change "E:\RMIFileTransfer\" in the VM options each time i move my project!!!
    How can be java.rmi.server.codebase and java.security.policy properties setted by an user input, or in the main( String args[] ) method? (sorry for my bad english...)

    (a) use a JAR file, not a directory system
    (b) the codebase setting has to have the same meaning throughout the system, i.e. to the server, the registry, and the client. Obviously a file: URL is not likely to comply, because every host has its own file system. Have a look into providing the JAR file via an HTTP service and using an http: URL.

  • Trouble: java.rmi.ServerException:

    Hi all,
    I tried to execute the example given in Sun tutorial.
    I am getting the following error
    Trouble: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
    java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
    java.lang.ClassNotFoundException: CalculatorImpl_Stub
    Thanks

    Hi,
    This exception means the client attempted to download a stub from the server and couldn't find it.
    You can get this exception for a variety of reasons:
    1) The server-side doesn't have the stub. This is done by running the rmic tool against the implementation of a remote Interface
    2) The server doesn't store the stub where the client can find it. This may be due to setting the System property java.rmi.server.codebase incorrectly, or not at all.
    3) The server doesn't serve ("export") the stub. The server must have rmiregistry runnning on the server, and must make sure the rmiregistry CANNOT see the exportable object via its CLASSPATH.
    3) The client is looking in the wrong place for the stub.
    Anil.
    Developer Technical Support
    Sun Microsystem Inc,
    http://www.sun.com/developers/support

  • Hang of RMI call when LAN connection removed

    I have a client server application with comms using RMI across a TCP/IP LAN. We are in test at the moment and one of the tests is to ensure that when the LAN connection is removed, the client application handles it correctly.
    We have discovered that if we pull the LAN whilst an RMI call is in progress, the call never returns, even if we subsequently plug the LAN back in. Why should this be? I would have expected a RemoteException as soon as I pull the LAN out. How come the thread gets deadlocked?
    Note that we are running JRE 1.2 on the client (they are soon to be updated but it's 1400 remote, unattended sites so it's an expensive process to update to a recent JRE).
    Thanks
    Mat

    Thanks ejp - couple of dollars coming your way. Be a couple more if you (or anyone else) can help further.
    Firstly, how would I set this property in the code?
    Secondly, would it be set in the client or the factory (yes we do have one)? If it's in the factory, will that help me from the client side (that's where I need it to work). I looked up the responseTimeout property and it looks like this is more for the server to close incoming connections. The problem I have is on the client side - I need the client (i.e. that is making the RMI call via an exported remote object) to be able to kill off a call that has going too long (for instance because it can't detect the closed TCP connection).
    Maybe I've misunderstood the documentation I've found but that's how I read it.
    Thanks again!
    Mat

Maybe you are looking for

  • 1 week old iPhone4 stuck in Recovery mode loop

    Hi there today when I connected my ip4, iTunes asked me to download and install the latest iOS 4.0.2, after that it went into a recovery mode loop and I cant do muh more. I have so far tried to restore using 3 other pc´s, xp and Win7. Tried different

  • Asset Lease accounting -non Linear lease payment

    We are currently having a business scenario where an asset is acquired on capital lease basis. Different depreciation area is maintained for leasing to account for interest on leasing. The payments are made in monthly for lease payment. The lease pay

  • How to define branches of a bank in oracle hrms

    Hi Im new to oracle hrms and i have a question regarding on how to reflect the different branches of a bank in oracle hrms.Is it through defining an organization for each branch ?Please advice Thank you regards

  • Error while modifying icon and name in the subpalette

    Hi.... I have made three subVIs and want to distribute as LabVIEW library. I made a llb file and added all three sbVIs in that. And put it in user.lib. In all three dll there are Call Library Function means I have one dll. I have put this DLL in the

  • Working on Menu's in Encore CS4

    I have a couple of sessions I made up in Premiere Pro cs4 and imported them with 2 chapter marks at the beginning to Encore. Once they are there I need to build a menu for this....? According to some on-line video help I made an intro that I want to