3rd request for some wonderful persons help!

I'm trying to connect across a network with RMI and I get the error:
"Connection refused to host 138.79.115.36; nexted exception is: java.net.ConnectException: Connection refused: connect."
138.79.115.36 is the machine my client is on
138.79.115.30 is the server machine
I have one jar file which I've unzipped on both machines. It contains the following folder structures
../kye/db/
../kye/clientGUI
../examples/classServer
the db folder has all the files for running the RMI server
the clientGUI has all the client GUI files.
the examples/classServer is the webserver that it is suggested to download in the RMI tutorial
I tried to follow the sun tutorial but I only have one jar file so it's a bit modified. And I know somethings are unecesarily duplicated. Maybe this is part of the problem. Not sure.
Everything is unzipped in d:\public (which is shared) on the server and I use the following commands to start everything running.
Start the webserver
d:\public>start java examples.classServer.ClassFileServer 2222 /public
Start the server
start java -Djava.rmi.server.codebase=http://138.79.115.30:2222/ kye.db.DataServerGUI
Then on the client machine
java kye.clientGUI.ApplicationRunner
When the client opens it asks for the servers ip address, I enter it and when connecting get the above error. I have a policy file which is specified in both the client and the server. It contains this:
grant
permission java.security.AllPermission;
permission java.net.SocketPermission
"*:1024-65535", "connect, resolve";
What do I have to change or fix to get this running?
I'm happy to send out copies of the .jar file to anyone who needs more information.
I appreciate any help and I'm pretty desperate
Thanks
Kylie

Thanks John,
It does seem a strange message. But the ip addressses are definitely correct that I'm entering. I wondered why the client would say that the client refused connection.
Here is the code for making the client connection:
public ServerClient(String ipAddress)throws DatabaseException{
try{
System.setProperty("java.security.policy", "access.policy");
if (System.getSecurityManager() == null) {
System.setSecurityManager(new RMISecurityManager());
db = (DataClient)Naming.lookup(ipAddress + "/kyeData");
}catch(RemoteException re){
throw new DatabaseException(re.getMessage());
}catch(Exception e){
throw new DatabaseException(e.getMessage());
Here is the code that registers the RemoteServer:
try{
System.setProperty("java.security.policy", "access.policy");
if (System.getSecurityManager() == null) {
System.setSecurityManager(new RMISecurityManager());
//ClassFileServer cfs = new ClassFileServer(2222, "suncertify.jar");
server = new DataRemoteImpl(databaseName.getText());
output.append(InetAddress.getLocalHost().toString() + "\n\n");
//start up the registry and add our object
java.rmi.registry.LocateRegistry.createRegistry(1099);
Naming.rebind("rmi://" + InetAddress.getLocalHost().toString() + "/kyeData", server);
//check to make sure it is bound????
String bindings[] = Naming.list("");
for(int a=0; a<bindings.length; a++)
output.append(bindings[a] + "\n");
Is there anything you can see that's wrong or in the wrong order? I start the registry from within the RemoteServer. I've commented out the webserver that I was trying to use to locate files. I'm not sure if that was working.
Any more ideas? I've tried it on different networks in the office, to make sure that none of our security systems were interfering and the same things occurred on all the different machines.
ta
Kylie

Similar Messages

  • Request for some Visual Basic code?

    Hello not sure if I'm posting in the correct area but I have a request for some Visual Basic Code.
    I use a particular document in word quite often to fill out forms for my job. However I would like something that allows me to open a new instance of the same document while closing the current AFTER I print it without any extra mouse clicks, or if after
    I print the document the forms are cleared and I can start over.
    P.S. I would take the time to learn how to do it myself but I currently reside in South Korea and work for the USAF so I don't have much time.

    Hi,
    I suggest you post the request to Word for Developers forum since it needs support for coding:
    http://social.msdn.microsoft.com/Forums/office/en-US/home?forum=worddev
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
    Regards,
    Melon Chen
    TechNet Community Support

  • Looking for some additional button help.....

    this.createEmptyMovieClip("containerLogoL",this.getNextHighestDepth());
    containerLogoL.attachMovie("logoLarge","logoLarge_mc",containerLogoL.getNextHighestDepth() );
    containerLogoL.logoLarge_mc._x = 770;
    containerLogoL.logoLarge_mc._y = 770;
    The above code places a logo on the stage. When I release a button I need that logo to unload. I have tried:
    on (release) {
    clearInterval(_global.myInterval);
    _root.containerProj.unloadMovie("main.swf");
    this.removeMovieClip("containerLogoL");
    _root.gotoAndStop(5);
    I am also having issues with the logo loading a second time when I click a separate button that takes me back to frame 1 with the code that creates the empty movie clip.
    Any help would be appreciated.

    Ned,
    On my way but still having a problem with the button issue.
    //////This was the solution for the duplicating movie clips:
    stop();
    clearInterval(_global.myInterval);
    var prohibit;
    this.createEmptyMovieClip("containerProj",this.getNextHighestDepth());
    containerProj.loadMovie("main.swf")
    if(!prohibit){
    this.createEmptyMovieClip("containerBtn",this.getNextHighestDepth());
    this.createEmptyMovieClip("containerLogoL",this.getNextHighestDepth());
    this.createEmptyMovieClip("containerLogoS",this.getNextHighestDepth());
    containerBtn.attachMovie("mainBtns","mainBtns_mc",containerBtn.getNextHighestDepth());
    containerBtn.mainBtns_mc._x = 10;
    containerBtn.mainBtns_mc._y = 110;
    containerLogoL.attachMovie("logoLarge","logoLarge_mc",containerLogoL.getNextHighestDepth() );
    containerLogoL.logoLarge_mc._x = 770;
    containerLogoL.logoLarge_mc._y = 770;
    containerLogoS.attachMovie("logoSmall","logoSmall_mc",containerLogoS.getNextHighestDepth() );
    containerLogoS.logoSmall_mc._x = 10;
    containerLogoS.logoSmall_mc._y = 72;
    prohibit=true;
    /////////This button should unload the movie clip:
    on (release) {
    clearInterval(_global.myInterval);
    _root.containerProj.unloadMovie("main.swf");
    containerLogoL.removeMovieClip("logoLarge_mc");
    _root.gotoAndStop(5);
    //////And this should take me full circle to the first group of code that verifies what has been loaded.
    on(release){
    _root.gotoAndStop(1);
    ///////For some reason the logoLarge_mc will not unload with:
    on (release) {
    clearInterval(_global.myInterval);
    _root.containerProj.unloadMovie("main.swf");
    removeMovieClip(containerLogoL);
    _root.gotoAndStop(5);
    /////But it will with:
    on (release) {
    clearInterval(_global.myInterval);
    _root.containerProj.unloadMovie("main.swf");
    _root.containerLogoL.removeMovieClip("logoLarge_mc");
    _root.gotoAndStop(5);
    /////Is with the code directly above is that the logo will not reload when returning to frame 1. I tried to add an else statement to the if but that just resulted in duplicate movieclips once again.
    Thanks much for the input.

  • Hi i need help one of my key on the keyboard dosen't work for some reason please help

    hi i need help one of my key on the keyboard dosen't work for some reason please help

    try smc reset
    http://support.apple.com/kb/ht3964
    and Pram reset
    http://support.apple.com/kb/ht1379
    (Try pram a few times to get correct sequence)
    Check what you have selected in
    system preferences/system/accessibility/keyboard
    and system preferences/hardware/keyboard  (keyboard and keyboard short cuts tabs)

  • Safari can't open del.icio.us, for some reason. Help!

    This is probably something quite obvious, but I'm all out of ideas, so hopefully you can help! I also hope it hasn't been asked before, though I've searched previous topics...
    For some reason, Safari displays the 'Failed to open' page whenever I visit http://del.icio.us. "The server unexpectedly dropped the connection, which sometimes occurs when the server is busy," it says. "You might be able to open the page later."
    I've tried later, I've cleared my cache, I've tried it on another browser and even on a Windows machine. Might there be something with my network, perhaps my IP address or - and I'm getting into areas I don't know much about - something about my DNS settings that are preventing me from seeing this particularly website?
    I really hope someone can help - all my bookmarks are stored at del.icio.us!
    Many, many thanks, in advance,
    San

    Hello my friend!!!
    Well i don't know yet. I read in some other posts that safari has problems in some specific web links. Till now safari is running tranquil and "cozy" i can say but let's hope that it was a myspace problem, cause i own a music booking agency company and the internet is my most important tool for my work and promotion.
    If the safari is making that problems then i suggest to Apple that they should try the application's reliability first before giving them for public usage.
    Hope that the updates in the future will fix some "small" problems of the OS X Snow Leopard.
    With respect,
    Panos

  • A weird request for some help in mainboard OS X

    I was thinking about getting MSI P35 NEO but before buying it need find some users that have some experience with installing OS X (osx86). And maybe a better MSI board would be recommended.
    Want to know if this board and chip set is fairly compatible for for OS X install.  I've used the 975x PPUE and it seems ok with a few minor issues.  But need something better. 

    I think you should also try asking in our OS section.

  • Request for some assistance

    Hello,
    I was just sent a Droid Charge and has only had it for about a week and half now in replacement of the Thunderbolt which I had at least 5 replacements of due to problems. I'm very ****** right now because I was sent the Droid Charge where I had to order my own battery and charger. I pay insurance every month and my bill also and to have issues with these phone is really making me want to leave Verizon when I have been a loyal customer since they were Bell Atlantic mobile. and all  I was sent was another phone with problems. With the charge I have been having issues of where I am talking to people and then the phone goes out where I can hear them talking, but they cant hear me and this happens on almost every call. I am also having issues of where I can dial a number and text and the screen will blank in and out. I really need some assistance on these issues. Very ****** Customer at the Moment................

        I want you to love your device Wesmith353! I would also be frustrated if my device wasn't reliable! The performance you have described isn't typical for the amazing Droid Charge! I recommend running the device in safe mode for a full day to rule out third party app conflict for starters. Here's a helpful link for your reference.
    http://tiny.cc/joawkw
    Sincerely,
    JonathanK_VZW
    VZW Support
    Follow Us on Twitter@VZWSupport

  • Request for some sample resumes on XI

    Hi,
    I request anyone to send some sample resumes on SAP XI and WebDynPro.
    regards,
    Ram Mohan

    ... and there is a perfectly good forum for that product,
    just waiting for you to bother to look for it.
    Enterprise Manager

  • Premiere newbie would appreciate and be very happy for some "get-started" help

    Hi
    QUESTION 1
    I´m a complete newbie to premiere elements. I have imported some .mts files and some .avi files from my digital HD camera....when I create a project all available move clips appear in my project to become possible to drag into my project timeline ..BUT it´s only the .avi´s that are being presented with a "snapshot image" of the clip, all .mts movies are just presented with a blue-ish standard icon and this gives me a hard time knowing exactelly which clip I should pick without having to open the movie.
    I hope this is just a setting or can someone tell me why i cant spot an "image" representation from the .mts file to makes it easier to spot what the content of the file/s are ?
    QUESTION 2
    Can someone give me some words about how to best structure moveies and images on the file system and also "inside" elements. I have two physical disks, one large 1TB disk and one smaller 80 GB SSD disk. How should I think here...all media on the "slower" disk and only the premiere software on teh faster SSd disk ?
    QUESTION 3
    In the end, after editing movies, of course I would be able to present the material in the best format possible which I guess is blue-ray...but to be able to create a project that will make it possible to output a blue ray format, I have understood that I need to apply some sort of add on to my premiere installation, is that correct and if so - how can I do this and also from where do I get this add-on/plugin ?
    Based upon my camera files (.mts), I would like to use my PS3 to present the finished material, can you give me some sort of step by step guidance to how to setup the project. SHould I use the .mts files and edit these, or should I perhaps convert them to something else and then make my movie ?? As you can hear I´m pretty confused about all these formats and what to do to make the end result as good as it can get
    I´m not really sure about my initial recording either..I have a Canon HF10 recorder, and as far as I know to be able to get teh best quality for my "raw" material I need to use a format selection called "FXP" on the camera ? Does someone know if this is the best to use (perhaps a stupid question since i guess this will differ a lot between camera models perhaps) ?
    REALLY would appreciate help on these above questions to be able to know the starting point....
    Hope to get some answers that will help me up & running in a while...
    Thanks
    Helmut

    Hunt, thanks again for your answer, I will try to look into the organizer issue
    in other ways, thinking about looking into the books suggested by Steve..
    Something else I guess you can guide me through though is the different formats...jsut to mention, I basically dont know a thing about different movie formats, the only thing I know is that I have a HDdigital video recorder (Canon HF10) and that the files I copy across to my machine is of this .mts format...
    should I make another setting on my video camera to get another format of the files I record and the files I then transfer to my computer..remember I´m a total newbie so when you mention that you should have converted to HDV - this does not say me anything unfortunatelly....could you in any easy watell me the basic things I should know....when I created my project in premiere I was asked to select what kind of project settings I wanted to have...for this selection a number of different formats was possible and I jsut picked one of them basically wthout knowing what I was doing.....kind of frustrating since I want to make the best qualty output from my movies and also the edited output from premiere...
    Is it possible to give some easily understood intro and what small things I should always do......like when selecting the project "media" or what specific setting to check that are important on the video camera itself.....what is the best/highest quality format to work with/edit to get the best output from my finished medias etc
    Apprecite your help a lot
    Thanks
    Helmut

  • Hey All ... Request for some suggestions .....

    Well I would like to know if there is any pre-requisite to learn XMII also is there anyone who is teaching the same in bangalore.
    Awaiting responses ......
    Thanks,
    Regards,
    Sunil.

    Hi Sunil,
    As all pre-requisite for XMII  has addressed by Chris Johnstone and for learning purpose technically you can pick up xMII if you have knowledge of core Java and some database.
    Java needed to create dashboard (HTML JavaScriptApplet) and database knowledge for query purpose (SQL, ORACLE).
    At MES and plant side you need functional knowledge.
    Well , you can put your all doubt over here and will help you out from situation
    Brst Regards
    Ramshanker

  • Looking for some information and help

    To all,
    Can run run the Oracle e-business suite on the Oracle Database Express Edition 11g? Is it hard ti install for a non-db?
    Thank You

    You cannot run EBS on 11g Express Edition as EBS requires many features not available on Express Edition, let alone the fact that an "empty" EBS install takes up several hundred Gigs of disk (Express is limited to 11G database size). The EBS install media includes an Enterprise Edition of the database.
    http://docs.oracle.com/cd/E18727_01/doc.121/e12842/T422699i4773.htm#3708195
    http://docs.oracle.com/cd/E18727_01/doc.121/e12842/T422699g637113.htm#i634631
    Is this install for personal learning ? If so, you wil need a pretty beefy server to get acceptable performance - multiple CPUs (or at least 6 or 8 core CPU), with at least 8G of RAM, and 1TB of disk. It would be easiest to install a VM on this server (like Virtualbox), then create a Linux VM, install Oracle Enterprise Linux 5.x in the VM and then install EBS 12.1.1
    HTH
    Srini

  • Drop zone content fills entire screen for some reason.  Help!

    Hi, everyone. I've used iDVD for years, but have not had this problem before. I'm trying to use the 4:3 template called "Projector". There is only one drop zone, which should show what the projector is playing. However, when I right click the area and "Fill with Content" (I want video playing there), it doesn't just fill the small square where it's supposed to. Instead, it just takes up the entire screen of the project, completely overlapping the template. In other words, I can't even see the Projector template anymore.
    Has anyone else had this experience, or even better, have a solution to it?
    Thanks!

    Actually, that's a perfectly acceptable way to add content to that drop zone. I've been doing it for years. With a single click on the video box (once "fill with content" is selected), you're even able to adjust where the video starts and ends. If you're just looking to load on general video from your iMovie project, it's a great shortcut to use.
    I know the other method of loading content into the drop zone. But that didn't really answer my question as to why the entire screen was filling up with content. I've re-installed the software twice, which fixes it, but I'm just wondering why that problem keeps occurring over time.

  • Request for some information on OEM(grind Controler)

    Hi
    Just thought of checking with you guys on some information on OEM(grind Controler)
    Is there any option/TAB to check whether all the data gard/standby database are ready to use or all are in sync with the primary database in OEM/Grid Controller
    Any suggestion is highly appreciated
    Thanks in advance

    ... and there is a perfectly good forum for that product,
    just waiting for you to bother to look for it.
    Enterprise Manager

  • Urgent request for Flash 8 DataGrid Help

    I truly need help with this one =- so I hope someone can help
    me.
    I have tried the Flash help files but to NO avail. I have
    been working on this for 6 weeks and to be honest want to throw
    Flash out the window right now(and would too if my computer
    woudln't take up such a banging in the process:)
    I have to populate a DataGrid from XML data. The data is
    generated from C# code. Its dynamic, so there are no specified URLs
    to place within the code. I have placed below, the ActionScript
    code as well as the XML that is being fed in.
    I hope someone can help me as it needs to be completed by
    tomorrow and I am freaking out!

    So many people having the same problem, myself included, surely we can't all have a fault inside our premises? It has to be something at your end BT.
    I am told I might be billed £130 for an engineer to call at my home? I think not, as I said so many people having the same problem, the fault lies with BT  

  • MSS 'Request for transfer' PCR / Search-help

    Does anyone know how to implement a Search Help in an Interactive Adobe Form? I have a requirement to fill a field with a manager and I have 17500 of them to choose from! Tried a Dropdown list, but it is not really appropriate, unless theres a way of entering a wildcard in the input field and using it to limit the dropdown list.
    I am implementing the Transfer Request PCR SPTR in MSS 60.1, this PCR Adobe form is not delivered by SAP and I need to develop it.
    Many thanks ... Andy

    Hi Andy,
    this is possible with mySAP ERP 2005 (probably SPS 6). Such complex search help will be implemented with the platform-independent integration of the Adobe technology in Web Dynpro, which is only available with SAP NetWeaver 2004s, i.e. not in mySAP ERP 2004.
    Best regards,
    Markus Meisl
    SAP NetWeaver Product Management

Maybe you are looking for

  • JDev 11g TP4: App running in embedded OC4J fails in Integrated OC4J

    I have a simple application containing a bunch of JSP pages. When I run it on the embedded OC4J everything works fine. When I try to run it on the Integrated OC4J I get the following "missing class error": Binding web application(s) to site default-w

  • How can i see other accounts under my email

    I know I have purchased songs under an old itunes account, but I can't remember the passwords. The email has to be the same as I have never changed it. How can I find out the password to my old account so i can get all my old songs into my library. T

  • IPod won't sync TV shows!!!!

    Ok, so I bought 3 NCIS episodes. When I tried to sync them, nothing happened. THe songs I purchased after them didn't sync either. I had to move the NCIS down to the bottem of the list to get the rest of the rest of the music to sync. Am I stupid or

  • Quicktime movies in iWeb??

    I want to include a lot of movies in my site I have presently 8 of them but when you go to the page they all have to load. Is their a way to create a button or link to a file that will open the movie in a specific section of the page and when another

  • BP - CUMULATIVE BALANCE

    In my opinion the Cumulative Balance should display the sum of the "Balance Due" from each transaction. In Version 2007 A ..."the Cumulative Balance field sums up the total transaction (invoice/payment) amounts. This field takes the amounts from the