Initial RMI call to the server very slow

I have an RMI client who is trying to connect to an RMI server.
The server is behind a physical firewall, i think its netscreen, during the first call of the client, it is registering itself to the remote object in the server, the call takes up aroung two-three minutes to complete, after that, the succeeding remote method calls are fast, why is this happening?
need help on this

the call takes up aroung two-three minutes to
completesorry, i meant the client takes two-three minutes before it was able to call the method, once called, the method proceeds normally, then the succeeding calls are not that slow anymore

Similar Messages

  • HT201263 An error has occured while updating software. Connecting to the server is slow and games etc only run for 60 seconds

    An error has occured while updating software. Connecting to the server is slow and games etc only run for 60 seconds

    Have you tried resetting your iPad? You may have to restore again if there was a problem.
    Try the reset first.
    Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.

  • How can I stop the program from going through all of the text previously put in.  It is making the process very slow.

    How can I stop the program from going through all of the text previously put in.  It is making the process very slow. 

    while True:
    and just indent everything else under it
    Ends when you press ^C.
    if you wish to have a way to break out of the loop, say, when you press enter at the VPC number without entering anything, add the following after your vpc input:
    if not vpc:
    break
    which will break out of the while loop and end your program.
    Last edited by buttons (2007-12-14 22:03:06)

  • How to clear the cache clanup operations as the CE Server very slow?

    Hi,
    I am using SAP CE 7.1 on a Core2 Duo system(2.00Ghz with 2 GB of RAM), the server was working fine for the last 3 months but for the last 1 week or so it has turned very slow and its consuming a lot of my systems resources making my system dead slow though earlier my system was working fine.
    Can some one please provide me the proces to clear the cache for the CE server as this might increase the performance, or any other process for improving the preformance of the CE srever?
    Please reply ASAP.
    Thanks in advance.
    Regards,
    Manish

    Hi Manish,
    Instead of guessing, the better option would be to run a profiler that would help you spotlight the issues which might be causing such a decrease in performance. There are plenty of tools available, also from SAP.
    HTH!
    \-- Vladimir
    P.S. Please read the SDN Forums [Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement], especially about using words like "ASAP" and cross-posting in multiple forums.

  • Remote Desktop To Windows Server Very Slow

    I have OS X 10.6 running on a MBP and a problem that seems to be growing worse over time. I am using Remote Desktop (both CoRD and Microsoft Remote Desktop) to gain access to remote servers. One is a Windows Server 2008, the others are Windows Server 2003. Initially all was fine, but over the last 2 months access to the W2K server has crawled to a halt. Now, when accessing the other servers I'm having the same issue. I have tried different clients for remote access, used different high speed Internet connections (FIOS, a private network) and the result is the same. Very, very slow connections.
    I have also tried using a different login on the laptop to no avail.
    I booted Windows on my MBP using Parralels Desktop and tried using Windows RDC to the same servers; that works fine. In fact, I can access the servers very quickly using my iPhone's Remote Access software using the same Internet connection (home WiFi) as my MacBook Pro.
    So I can only assume it's an issue with OS X 10.6, since different devices using the same Internet connection can make a much faster connection. But I can't find any similar posts on the issue.
    Any ideas are appreciated!

    Hi Jason,
    From the error message, it seems that take time to load the user configuration properly from the server and then the network connection was slow. Please refer to following article
    and check if help you to troubleshoot slow logon.
    Troubleshooting
    Slow Logons
    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft
    does not guarantee the accuracy of this information.
    Meanwhile, please refer to following thread and check if can help you.
    Remote
    Desktop Services has taken too long to load the user configuration from server Event ID 20499
    Hope this helps.
    Best regards,
    Justin Gu

  • WiFi card makes initiating a connection on other cards very slow.

    Hi All -
    Java 5
    Windows XP, 2000, and Adv. Server
    We do programming for multiple closed networks, so my development box has 4 NICs, each going to a different isolated network (each has its own subnet).
    All was well until recently we had some WiFi cards installed in our machines. Now initiating a socket connection on any NIC that is not on the same subnet as the default gateway takes a long time - about 30 seconds, but it can vary. Once the connection is made, its just as fast as ever, but creating the connection takes a lot of time.
    The strange part is this: it doesn't matter if the Wifi card is even in use at all during the transaction, merely having it enabled as a card causes the problem. I have tried modifying my routing tables so that the only option is the correct one just to see if that makes a different - and it doesn't.
    This problem is reproducible on Windows XP, 2000, 2003 server, on at least 5 completely different computers, and in Virtural PC. The only thing they all have in common is the same D-Link WiFi cards.
    Take this example:
    NIC 1: 192.168.1.x -> default gateway is a 192 address, this is the card that connects to the internet. All connections are fine using this card.
    NIC 2: 10.30.100.x -> Wifi card. This card is enabled but not being used for this transaction at all.
    NIC 3: 128.0.0.x -> Normal card, any attempt to open a socket with the Wifi card enabled takes a long time.
    NIC 4: 10.10.10.x -> Normal card, again, the Wifi card being enabled will slow down the opening of a socket.
    This configuration is merely an example, I have tried changing which card services which subnet, what cards are enabled or disabled, more cards, less cards, multiple IPs per card, single IPs per card - nothing makes any difference either way except for enabling the Wifi card slows it down and disabling it solves the problem.
    I've also disabled 'Wireless zero configuration' on advice from another network programmer - makes no difference either way. I've also tried binding to various specific local IPs, tried different servers to connect to (and different types of servers). and tried pretty much every constructor available for Socket. This did not change anything.
    Anyone else experience this? Any more information I could provide to help solve the problem?
    Thanks!
    Jason

    edex67,
    I'm new to wifi so the info you sent, i.e.; inSSIDer, is something I didn't know about. So thankX for that. Interference not part of the problem.  I did change channels from 11 to 5 as some of the neighbors are on 11 and 6.  That didn't help. 5 Ghz change doesn't help either.  Have reset to factory specs twice along with deleting my first network and beginning from scratch.  Still didn't speed things up.  ISP isn't a problem either.  Separate diagnostics shows download speeds great.  I've even restored my computer to a previous date when the Airport Express was screaming downloads. The slowdown happened yesterday as I was trying to set up my old computer; changed motherboards and can't access the internet, needed to find drivers on line and somehow in the process Airport slowed to a crawl.  Must have changed something and can't get back to the speed of yesterday morning.  Have been working on this since 8 AM. Did I mention that I hate Microsoft?
    So, even restoring factory specs and installing from scratch doesn't get me back to speed.

  • Re: BI Server very slow

    Hi All,
    Currently the BI server is very slow. Accessing the tcodes itself takes long time. Can anybody tell me the tcodes to monitor the server utilisation. How to improve the performance of BI system.
    Regards,
    Anand

    Poor performance could be caused by many things.
    Os level, check cpu utilization and memory usage with st06.  If you are cpu bound or paging excessively it will cause very poor response time.
    Look at sm51/sm50 to check for free dialogs.  Are you running several data loads with parallel processing that could be tying up all your dialogs.
    DB
    st04, db02, Check that you are running runstats, that you have good buffer hit ratiios.  Backups are at off-peak times
    db01 to check for lock waits/deadlocks

  • Portal Server very slow!!

    Hi
    What's the best java compiler to use? javac is very slow!
    thanks
    willie

    You can also precompile your JSPs, dig into the WLS docs to find out how.
    Yahoo!
    Brad
    "Cameron Purdy" <[email protected]> wrote:
    Try jikes. Search the EJB, Servlet and JSP newsgroups for "jikes" for
    more
    info.
    Peace,
    Cameron Purdy
    Tangosol Inc.
    << Tangosol Server: How Weblogic applications are customized >>
    << Download now from http://www.tangosol.com/download.jsp >>
    "leslie.mampe" <[email protected]> wrote in message
    news:[email protected]..
    Hi
    What's the best java compiler to use? javac is very slow!
    thanks
    willie

  • DI SERVER very slow

    I have an application WEB that uses DI SERVER, with 150 users, and when data enter the site is put very slow, or collapse, the version that I have of SBO is 200Ä (6.80.318) SP:01 PL:14, somebody can help me

    ok

  • JNI call seem to be very slow

    Hello,
    I have an optimized JPEG decoder written in C++, I have a JNI bridge to that codebase with this method:
    Java-side:
    public static native byte[] readJPEG(String name);C++ side:
    JNIEXPORT const jbyteArray JNICALL Java_IPPJPEGDecoder_readJPEG(JNIEnv *, jclass, jstring);I have this call in Java layer:
    long start = System.currentTimeMillis();
    byte[] data = IPPJPEGDecoder.readJPEG("C:\\D-102_red_ink_1.JPG");
    long end = System.currentTimeMillis();
    System.out.println("total time = " + (end - start));This is my method in C++ (rough/ugly code, don't judge me :) )
    JNIEXPORT const jbyteArray JNICALL Java_IPPJPEGDecoder_readJPEG (JNIEnv * env, jclass jobj, jstring jpeg_filename)
        //cout << "INVOKED IPPJPEGDecoder.readJPEG() SUCCESSFULL" << endl;
        //cout << "Started"<<endl;
        CIppImage m_image;
        CIppImage grayscale_image;
        CIppImage monochrome_image;
        CTimer timer;
        timer.Start();
        CStdFileInput in;
        const IppLibraryVersion* libver = ippGetLibVersion();
        cout << "LibraryVersion = (" << libver->Name <<": " << libver->Version << ")"<<endl;
        UIC::BaseStream::TStatus status;
        jboolean iscopy;
        const char * filename = env->GetStringUTFChars(jpeg_filename,&iscopy);
        status = in.Open(filename);
        GetImageFromJPEGJNI(in, m_image, timer);
        cout<<"m_image: (Precision: " << m_image.Precision() << ", NumChannels: " <<m_image.NChannels()<<", Width: " << m_image.Width() << ", Height: " << m_image.Height()<< ", Color: " << m_image.Color() <<", step: " << m_image.Step()<<endl;
        timer.Start();
        cout << "data array size of image : " <<(m_image.Step()*m_image.Height())<<endl;
        jbyteArray jb = env->NewByteArray(m_image.Step()*m_image.Height());
        env->SetByteArrayRegion(jb,0, m_image.Step()*m_image.Height(),(const jbyte*)m_image.DataPtr());
        timer.Stop();
        double mytime = timer.GetTime();
        cout << "JNI occurred in " << mytime << " ms"<<endl;
        return jb;
        //return NULL;
    }When I call this code, the C++ codeblock reports as running in 92.7793 ms
    My java code reports back: 572 ms
    is the Call to the JNI method THAT INSANELY slow !?!?! I MUST be doing something wrong... this is in Windows XP and I'm linking against my own dll that I compiled in Microsoft Visual C++ 2008.
    The jbyteArray that I'm passing back has a length of 33583500
    ... maybe it's the conversion from jbyteArray to Java's byte[] that is causing all the overhead.... are there any ways around that?
    Thanks!!
    Alessandro Ferrucci

    alessandro_ferrucci wrote:
    I need to process about *500 MILLION* images...this speed difference matters So at 1 second per image it will take 16 years. Or with 100 machines 2 months.
    JNI Code completes in 337 ms (still about 200 ms faster than ImageIO's libjpeg on my machine),So now you are down to 5 years. Or 20 days with 100 machines.
    Course all of the above is 24x7 dedicated processing.
    If it was me I would look into changing the requirements and the architecture.
    Probably cost effective to hire several senior level programmers with experience in image processing and/or performance optimization as well.

  • Server very slow

    i have a database wiht following configuration. My procedure is taking about 2 hours
    Shared Pool: 2000 MB
    Buffer Cache: 128 MB
    Large Pool : 0 MB
    Java Pool : 80 MB
    Total SGA: 2223.568 MB
    SGA Max Size : 4000 MB
    Aggregate PGA Target : 300 Mb
    Current PGA Allocated : 127726 KB
    Max PGA Allocated : 323950 KB
    Cache Hit Percentage : 96.71%
    What setting can be done in the server to increase the speed

    What settings? Set MAGIKS to TRUE and change TURBO_BOOST to a 100.
    And yes, this is intended to be sarcastic Michael as there is no such thing as a magic button, silver bullet, special setting that can fix performance.
    Nor can a performance problem be identified by the few lines of detail you have supplied.
    It is like posting a photo of your car and telling us your car does not start - and we have to diagnose the problem and tell you how to fix it.
    I can however see several major problems with these settings you have posted. Some which will cause performance problems for the entire database.
    Shared Pool. A shared pool should never be that size. It is suppose to contain a set of sharable SQL. Do you have almost 2GB's worth of distinct SQLs? No.
    What you likely have is no sharable SQLs. Which means each and every SQL that hits the database is unique. Needs to be hard parsed (expensive). Needs to be stored in the shared pool (expensive).
    Make the shared pool smaller. A lot smaller. If you get memory errors on the shared pool, make it even smaller and create a job that flushes it every 60 seconds.
    Use that freed Shared Pool memory to increase the Buffer Cache. This will reduce physical I/Os.
    The cache hit ratio of the small buffer cache is close to a 100%. This is bad. A cache hit ratio that high usually shows that there is something very wrong with the logic of the code being executed. Why? 'cause that code is hitting the same rows (in the buffer cache) again and again and again. This drives up the hit ratio.
    Why hit the same rows so many times? Process a row once and once only. Do not make multiple passes over the same row. And this is exactly what people not familiar with Oracle Concepts and Fundamentals do.
    They write row-by-row processing code in PL/SQL. They do not use PL/SQL correctly, never mind applying SQL as it should be applied. Result? Very poor performing code that makes multiple passes against the same data set.
    From the looks of it, you need someone on board to show you guys how to correctly use Oracle. It seems to me that Oracle is being badly abused from the little that you have posted. I shudder to think what it looks like when that database's hood is popped.

  • OBIEE BI Server very slow to restart

    Guys,
    any ideas why restarting the the BI server service can take up to 2 hours to restart, the DB and RPD are not very big and dont see any performace alerts or issues on CPU, rem , VM etc...
    thanks

    Oracle BI Server connects to all the physical databases you are using when you start the server.
    Are you using OBI Apps rpd by any chance? If yes, there are many init blocks which are having queries and BI Server will connect to each one of them.
    Check your NQServer.log which will contain the log messages that your rpd is trying to connect when you start the service.

  • Mavericks Caching Server very slow on gigabit Microsoft Network

    Specs.  OS X 10.9.5 / Mac mini / 8 GB Ram - Connected to Gigabit ethernet, 2 TB Hard Drives, 2.3 Ghz i7
    Only a few days old.  I have done all available updates that Apple released.
    I had some difficulty getting the Mavericks caching server to work in the first place on our Windows Server 2012 network. Caching would work for the Server itself but none of my iPads or other Windows machines would cache or pull from the cache.
    My work around was to manually create a DNS Host Name and PTR on the Windows Server so that we could actually nslookup and ping the Mavericks Server by hostname.domain.local  This immediately fixed the issue and all hosts can cache and pull from the cache.
    Speed is an issue.  I currently cannot get any transfer speeds over 2 MB/s
    Using the caching server to deploy an app (I verified that the internet connection was not being used and that it was coming from the caching server)
    Connecting to a file share on the Windows Server and manually Copy/Paste files.
    I verified the slowness using Activity Monitor on the Mavericks Server.
    I have researched and found many similar complaints for the SMB2 protocol.  I did not find a good enough Terminal Command to paste that I felt comfortable doing and at a later date undoing when Apple fixes the slowness issue.
    Any help is greatly appreciated.
    Does anybody know the protocol that Mavericks uses by default to send out the cached updates etc (SMB)?
    If you know the correct command to paste into Terminal to force Mavericks to use SMB1 and also the command to undo this change I am willing to try that as well.
    Thank you in advance,
    TechJeff

    I tweaked the DNS a little bit more...Under DHCP IPv4 Properties --> DNS Tab.  I selected  "Dynamically update DNS A and PTR records for DHCP clients that do not request updates".  This allowed our DNS to register the Macintosh server and ipads etc.  My SMB2 speed is up to 300 mbps from 16 mbps.
    My caching server transfers are still maxing out at 2.1 MBps.  I have switched out my wireless unit to a 150 mbps unit that the iPad is connected to.  My next troubleshooting step will be to download an app in iTunes on a computer that is plugged in to our gigabit ethernet on the same switch as the Mac Server to elliminate any potential bottlenecks or wireless issues.
    Still looking for ideas if anybody has troubleshooting ideas.

  • Doubts about going back to Leopard because lion made the computer very slow

    hi i bought a macbook  pro on 2009 it came with leopard operating system. When lion came into the market i installed it but since then the computer is very slow.
    I took it to an apple sotre and they told me that the memory was almost full so i bought an external hard drive where i have now all my music, photos and documents. But the computers is still very slow.
    So im thinking about going back to leopard but i have some questions. i hope someone here help me
    1. will i experience any problem synchronizing my iphone 5 or my ipad4?
    2. will i be able to update itunes to the last version?
    3. how shall make a backup of my computer
    4. What do i have to do to restore leopard into my computer
    thanks!

    How much RAM does it have..?
    To find out, go up on your menu bar to: Apple > About This Mac
    If you have no other problems and plenty of free HDD space? Then 2GB of RAM will feel real slow running multiple Apps in Lion or Mountian Lion and you should try upgrading the RAM 4GB or more before moving back to Snow Leopard.
    see > MacBook, MacBook Pro ‘Unibody’ DDR3 Memory + Free Installation Videos

  • The URL to run a Report stored in the Server-VERY URGENT

    Hi ,
    I wanna to know the url to run the report stored in 9iDS.
    e.g. in earlier version we need to use the CGI scripts to do the work e.g. http://hostname:port/srwcgi60/rwcgi.exe?report=test.rep ..somethin like this ..but in 9iDS i m not able to get the url..when i do http://hostname:port/reports/ the home page of reports come thats it ...but how to run it ...
    please its VERY URGENT..
    thanx a lot..
    Bhavna

    hello bhavana,
    how ru.
    web.show_document('http://servername:port/dev60cgi/rwcgi60.exe?report=reportname&userid=username/password@databasename&server=reportservername&destype=cache&desformat=HTML');
    put the above coding to a when-button-pressed trigger.
    it will work.
    http:\\servername:portname\dev60html\runrep.htm
    this will give u the reports home page.
    in that enter the report name and username and password.
    this also will work.
    looking forward to hear from u.
    bye. take care.
    natesh

Maybe you are looking for