THE 'FIRST TIME' MESS

HI ALL,
I HAVE BEEN WRITING CODE FOR A TEST RMI 'GRAPHICSERVER'. THIS IS A KIND OF A SERVER THAT PROVIDES CLIENTS WITH A FRAME. ON WHICH IT DRAWS DIFFERENT SORT OF SHAPES ON CLIENT REQUEST e.g. CLIENT CAN REQUEST FOR A LINE OR AN OVAL etc. INITIALLY FOR THE TEST PURPOSES I HARD CODED THE CLIENT REQUESTS IN THE CODE FOR CLIENT SIDE APPLICATION. IT WAS SENDING A REQUEST FOR THE TWO STATED ABOVE i.e A LINE AND AN OVAL WITH PARAMETERS. WHEN I EXECUTE THE CLIENT SOFTWARE (AFTER SETTING UP THE SERVER), IT DISPLAYS NOTHING BUT JUST AN EMPTY FRAME. BUT IF I CLOSE THE CLIENT SOFTWARE AND EXECUTE IT AGAIN IT WORKS WELL AND SHOWS THE LINE AND OVAL. THE DEBUGGING SHOW THAT THE FUNCTION (ON SERVER SIDE) TO ENTERTAIN THE REQUEST FOR A LINE AND OVAL EXECUTES EVEN THE FIRST TIME CLIENT SENDS THE REQUEST, BUT IT DISPLAYS NOTHING(THOUGH ALL THE PARAMETERS AND VALUES ARE RIGHT THE VERY FIRST TIME). APPARENTLY (AS DEBUGGING SHOWS) SERVER EXECUTES THE SAME WAY THE SECOND TIME AS IT DOES THE VERY FIRST TIME. THERE IS NO PROBLEM WITH THE CLIENT AS I HAVE CHECKED FOR THE PARAMETERS THAT SERVER RECIEVES EACH TIME. THERE IS NO PROBLEM WTH THEM. SECONDLY CLIENT IS EXECUTED A NEW EACH TIME. THEN WHAT CAN BE THE PROBLEM WITH THE SERVER. I'LL BE HOPEFULLY WAITING FOR, AND WILL BE REALLY GRATEFUL IF SOMEONE COMES UP WITH THE SOLUTION. IF ANYONE NEEDS, I CAN SEND THE CODE (it is no more than 10 KB). WAITING FOR YOUR KIND CONSIDERATION ....
SHADOW

hi ,
i like to see u'r code,if u don't mind to send the code to [email protected],i like to check and then guide u about the proceedings....

Similar Messages

  • Transitions is messed up the first time it runs

    In the following code when the need to register button is pressed the transitions is messed up the first time it runs
    <?xml version="1.0" ?>
    <!-- transitions\LoginFormTransition.mxml -->
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:mx="library://ns.adobe.com/flex/mx"
                   xmlns:s="library://ns.adobe.com/flex/spark">
        <!-- The Application class states property defines the view states.-->
        <s:states>
            <s:State name="default"/>   
            <s:State name="Register"/>
        </s:states>
        <!-- Define the transition to animate the change of view state. -->
        <s:transitions>
            <s:Transition fromState="default">
                <s:Parallel>
                    <mx:Resize target="{loginPanel}" duration="500"/>
                    <s:Wipe direction="right" target="{confirm}"/>
                </s:Parallel>
            </s:Transition>
            <s:Transition fromState="Register">
                <s:Sequence>
                    <mx:Resize target="{loginPanel}" duration="100"/>
                </s:Sequence>
            </s:Transition>
        </s:transitions>
        <!-- Set title of the Panel container based on the view state.-->
        <s:Panel id="loginPanel"
                 title="Login" title.Register="Register">
            <s:layout>
                <s:VerticalLayout/>
            </s:layout>       
            <mx:Form id="loginForm">
                <mx:FormItem label="Username:">
                    <s:TextInput/>
                </mx:FormItem>
                <mx:FormItem label="Password:">
                    <s:TextInput/>
                </mx:FormItem>
                <!-- Add a TextInput control to the form for the Register view state. -->
                <mx:FormItem id="confirm" label="Confirm:" includeIn="Register">
                    <s:TextInput id="myTI"/>
                </mx:FormItem>           
                <mx:FormItem direction="horizontal" >
                    <!-- Use the LinkButton to change to the Register view state.-->
                    <!-- Exclude the LinkButton from the Register view state.-->   
                    <!-- Add a LinkButton to the form for the Register view state. -->
                    <mx:LinkButton label="Return to Login"
                                   includeIn="Register"
                                   click="currentState=''"/>
                    <mx:Spacer width="100%" id="spacer1"/>
                    <!-- Set label of the control based on the view state.-->
                    <mx:LinkButton id="registerLink"
                                   includeIn="default"
                                   label="Need to Register?"
                                   click="currentState='Register'"/>
                    <s:Button id="loginButton"
                              label="Login" label.Register="Register"/>
                </mx:FormItem>           
            </mx:Form>
        </s:Panel>
    </s:Application>

    Looks like this might be the bug: http://bugs.adobe.com/jira/browse/SDK-28787

  • IPhoto nightmare. Tried to import photos using Nikon software for the first time and all my photos disappeared from iPhoto 8.1.2 (and everything from itunes too). Newly reinstalled iPhoto crashes as soon as I import anything now.

    Macbook OSX 10.5.8, iPhoto 8.1.2. I just tried to import some photos using Nikon software (View NX2) for the first time. When I next looked into iPhoto it was empty (so was iTunes but that's another story). I had backed up photos fairly recently but don't use time machine. Searched in vain everywhere and must have done something wrong because iPhoto wouldn't then open at all, saying it was unreadable. After a lot more attempts to recover I uninstalled iPhoto and the receipts and reinstalled from my original disc. It seemed to be ok and imported some photos from my iphone but as soon as the import is complete iPhoto crashes and when opened again it is empty. Have tried this several times and have shut down and have tried rebuilding with the alt and cmd buttons but nothing seems to help. Any ideas?

    not a reply but not sure how to add something to my own thread! It seems that Desktop was damaged too as when I try to open it a screen says there is no application selected to open Desktop with. No idea what I should choose! Any help appreciated, have really made a mess of my MacBook this time.

  • I cannot view PDF in Firefox at the first time but once I manually open the PDF file from my local computer, I can view other PDF files via Firefox webbrowser

    I install Adobe Acrobat 9 in my laptop which runs on windows 7. I use Firefox 3.6.8 and have the problem with the PDF file. The problem is I cannot open the PDF file in Firefox web browser at the first time I launch firefox. It shows a warning box without any message. Only OK button is shown so I can close it. However, if I manage to open the PDF file from my local computer by just using adobe acrobat itself then the PDF can be opened in the Firefox web browser. I followed the instruction on the mozilla help but nothing works for me. The problem still exists. I wonder if anyone have the same problem like me and know how to solve this. Thank you so much

    Hi there!
    I cannot help you, but I think we have a common problem: We got a system here running Vista SP1 with Acrobat 9 standard on it. When we open a pdf file it works normally, but when we open another pdf file, we see the first one in that second window.
    Think that missing option to watch several files within a single window-thing messed up more than meets the eye ... but as we just purchased the 15 licenses, we have to use version 9.
    I didn't find any clues on this problem, but I will post any new hints I get.

  • [SOLVED] Trying out scripting for the first time... confused...

    ok so here is the script that I have started
    echo 'This is a custom updater app written by Daniel Schneider'
    echo "Check for updates now? (y/n)"
    read answer
    if [ "$answer" = "y" ]; then
    sudo pacman -Syy
    sudo pacman -Syu
    read
    fi
    if [ "$answer" = "n" ]; then
    exit
    fi
    but when ran, pacman reports another package manager running when that is not true.  Here is the output exactly..
    :: Synchronizing package databases...
    error: failed to init transaction (unable to lock database)
    if you're sure a package manager is not already
    running, you can remove /var/lib/pacman/db.lck
    :: Synchronizing package databases...
    error: failed to init transaction (unable to lock database)
    if you're sure a package manager is not already
    running, you can remove /var/lib/pacman/db.lck
    So how do I fix this bug in my script?
    ps. I know this script is kinda silly just messing around with "coding" for the first time
    Last edited by Dans564 (2011-03-22 20:11:31)

    Not sure if this is true
    but instead of
    sudo pacman -Syy
    sudo pacman -Syu
    try
    sudo pacman -Syy && sudo pacman -Syu
    If I'm not mistaken the reason why is giving that error is because you are trying to do sudo pacman -Syy and sudo pacman -Syu at same time which is impossible . I think with a && first will do the first comand and only when this is over will run the second.

  • CS5 won't select brushes the first time I click on them

    Hi,
    I'm having some trouble with picking brushes to use in CS5. The first issue is that when I scroll through the different brushes available, if I hover over one for too long (in order to make the alt text with the brush's name show up), the brush selection will jump back to whatever I had selected previously, and I have to scroll through again to get back where I was. The second issue is that when I click a new brush I want to use, then move my cursor to the canvas, the brush resets itself to whatever I had selected previously, and I have to go back and reselect the new brush. (Sometimes more than once.) It's really messing up my work flow...
    Does anybody have any idea how to make Photoshop actually select the brush I click on the first time I click it?
    I tried reseting the brushes to the default, so that there weren't so many (I've downloaded quite a few) but this didn't help. I also tried restarting Photoshop. The problems are still happening.
    For the record, I am using Photoshop CS5 on a Mac running OS 10.6.8. I'm using a Wacom tablet but also the computer's touchpad. The problem seems to happen whether I control the cursor with the touchpad or the tablet.
    Thanks for your tme!

    Unfortunately I'm still having the brush selection issue even after doing this. (Though it did fix some other things that had been frustrating me, so thank you!)

  • I have a 3g. Recently I synched for the first time. I also upgraded the software to 4.2.1 The sync took my photos and music off my phone. The photos worked fine. The music has disappeared. It looks like my iphone itunes isn't functioning at all

    I have a 3g. I synched my phone and computer itunes for the first time this week ( I also upgraded my phone itunes software to 4.1.2 ). Now I have no music on my phone, and my computer has seemed to lose the music that was uploaded (It was there for a bit, now gone). I think I should undo the software upgrade. How do I do that?

    not a reply but not sure how to add something to my own thread! It seems that Desktop was damaged too as when I try to open it a screen says there is no application selected to open Desktop with. No idea what I should choose! Any help appreciated, have really made a mess of my MacBook this time.

  • Advanced edit hyperlink-properties grayed out the first time

    advanced edit hyperlink-properties grayed out the first time
    Sub Problem:
    When using the advanced edit cursor, right click Is used to select a hyperlink-properties the first time the dialog box pops up it does not have “focus” (not sure that is the right term, but the box is grayed out and will not respond to the keyboard.). It must be mouse clicked to get focus. The second time a link is right clicked to properties the popup responds to the key board and will move to the action tab with ctrl-tab
    It’s not clear to me where the acrobat program is at that point.
    Is that a known action or problem with acrobat pro 9.4.4?
    Is there a key or keys from the keyboard that can force focus to the box?
    The problem is each file I open I have to manually find a link and right click it to get the box then click in the box to get “focus”. After the first one the box pops up with focus.
    John
    Main Problem:
    I have been working on converting a set of pdf files with 1000’s of hyperlinks like www.site.com\folder1\file1.pdf#page=10
    To jump to a local copy of the files with a relative type link
    ../folder1/file1.pdf and then go to the proper page.
    I have found that it can be done manually by changing the hyperlink to a javascript
    var otherDoc = app.openDoc('../folder1/file1.pdf', this);otherDoc.pageNum = 10 - 1;
    and setting each destination file with a disclose()=true;
    Based on the help so far that java script cannot access the hyperlink value in a link
    See: http://forums.adobe.com/thread/1039908?tstart=60
    I have resorted to the following plan using acrobat javascript, an external keyboard macro recorder and excel in combination to get around the problem
    Four folder level acrobat javascripts with “buttons”
    One to get all the link quads in an array, in the pdf and report the total number
    The second creates a form field in the far corner of the first page and moves there.
    The third jumps to each link found by creating a form field just to the left of the link and zooms in so it can be selected by a “mouse click” from the keyboard macro recorder 
    The forth deletes the form field
    The keyboard macro recorder runs javascript 2 and then 3 then clicks on the link just to the right of the middle of the screen and uses keys to get to the advanced editing to get to edit the hyperlink .
    The hyperlink is then copied to excel where it is converted using string functions to the needed javascript text to be copied back.
    To the acrobat file into a java script (after deleting the hyperlink)
    Rinse/lather/repeat
    I have been able to convert about 150 links an hour.
    Better then hand typing, but not like having java access to the links.
    I am looking to improve the solution

    Rick,
    I didn't intend to say you must close the X box after each
    apply. It's OK to apply one change and go to another item before
    closing the dialogue. It's the OK button that messes up sometimes.
    Even when you hit the Apply button for a very large selection
    of topics, the OK button sometimes will undo the apply, not
    necessarily for all selected topics. Even when you've made just one
    batch change.
    I think it's because OK tries to re-set all settings (that's
    why it takes forever), but does not correctly pick up the mass
    changes previously applied. Or maybe it takes forever because it
    can't find the new info and defaults to the existing settings.
    A pain in the butt when you're trying to apply a stylesheet
    to a very large number of topics. Please don't ask me to define "a
    large number."
    Maybe it's a space limit in RH, similar to the space limit
    for the number of characters in a batch of file names you want to
    import. Or maybe the OK button doesn't look in the right places.
    Harvey

  • Weird itunes behaviour (for the first time)

    hi there,
    may be someone knows a solution to this.
    my library won't show up in itunes, screen stays blank (white), or nothing happens when i click on music. same with my connected ipod.
    weird on top: i can surf the itunes store, but i cant listen to the previews, they just don't show up.
    trashed the preferences. no helpy...
    anyone?
    thanx in advance
    oli

    I have a small program that starts a configurable
    number of threads (say, 10 000). The issue is that,
    the first time I run the program, it grows a lot in
    memory, and I get:
    For some reason, from the second time on, it runs with
    no problems at all, and memory usage doens't grow
    larger than 10MB...
    What do you mean "the first time". If this only ever occurred once, the very first time, then the problem was with your code. After that there is no very first time.
    If however, it repeats, then that means something changes. For instance do you mean that every other time it fails. So the 1-fails, 2-works, 3-fails, 4-works, etc. If so try turning off any active applications such as virus checkers, MDI apps, active messaging, etc and see if it changes the behavior.
    Or perhaps every time you recompile the code and then run it it fails? So the test then becomes to recompile the code without any changes at all and see if it reliably fails each time. If it does then try compiling just a hello world app and then run. If it fails then then it means there is some configuration problem on your computer which causes a jvm bug (try turning off your virus checker and other active applications.) If not then it means that some oddity in your code is causing the JVM to mess up the OS.

  • Installing GroupWise 2012 for the first time

    Hello,
    I am looking for some help on installing GroupWise 2012 for the first time, and onto a brand new Windows 2008 Server. I have looked at some of the documentation for this, but I do not fully understand what I need to do. For example, I need to have eDirectory installed so I installed eDirectory on the Windows sever. I don't know what settings I need to use for eDirectory or if I even need a Netware server, too. I would appreciate it if someone could walk me through this step by step and provide me with values for a basic system I would appreciate it. My first goal is to learn how to install GroupWise 2012 on a Windows 2008 server. Once I understand this, then I can redo it and go from there.
    Thank you for your help.
    John

    Hi John,
    Let me see if I can be of some sort of assistance.... you don't need a NetWare server - besides they are obsolete.
    I created the following set of instructions for somebody doing a first time install on Linux - perhaps just read around it and see if it works for you in a windows environment:
    "on the server run the GroupWise install: ./install from the directory where you have the software
    select "Create or Update a GroupWise System"
    accept the license agreement
    create the software distribution directory (default should be fine)
    From the Select Software dialog select the Select All button
    when the copying is complet select Creating a new GroupWise System
    to start ConsoleOne select Run
    when prompted with the Linux Mount Directory select OK
    when prompted, take note of the steps yout ake to create a new system, then select OK
    login to consoleone with your admin credentials
    in the left pane select GroupWise System the select Tools | GroupWise Utilities | New System
    select next
    confirm that your tree is correct
    select Extend eDirectory Schema check box and then select next
    When prompted for a system name enter something simple like GWise
    When prompted for a primary domain name enter a domain like gwdom1 (I'm keeping it generic in this scenario)
    when prompted for a domain directory enter a path ie /opt/novell/groupwise/dbs/gwdom1
    select next
    Next to the domain context fields select the browse icon
    browse to and select the container that will hold the domain (you might want to create an organisational unit called groupwise in your tree for this purpose)
    next slect your language and time zone
    when prompted for a post office name enter a poa name like gwpoa1 (again, generic in this example)
    when prompted for a post office directory enter a path eg /opt/novell/groupwise/dbs/gwpoa1
    the context for the post office is assumed to be the same as the domain
    select the language and time zone for the post office
    in the post office link dialog confirm that tcp/ip is selected
    enter your ip address of your server
    leave the ports at default - don't mess with these unless you know what you are doing!
    in the IP address of the MTA (that would be your domain) enter the IP of your server
    leave the ports at default
    browse and add existing edirectory users to your GroupWise system
    to create the GroupWise system select next
    view the installation summary then select next
    the final step is to install the agent software - select next
    from the GroupWise agents configuration dialog select next
    confirm that the check box for Launch GroupWise AGents on system startup is selected then select exit
    exit the GroupWise installation program
    from the terminal winodws enter rcgrpwise start to load the groupwise agents"
    Good luck
    Cheers,

  • Installed Firefox 3.6.8 for the first time and it keeps crashing

    I just installed Firefox for the first time and when it is finished installing I tell it to start. It tries and as soon as it does I get a crash report. Every time I click Restrt Firefox it comes up with the same crash error, which is the following:
    Add-ons: {C1CA7765-44E4-452e-9D00-A04F3D434281}:1.0,{972ce4c6-7e08-4474-a285-3208198ce6fd}:3.6.8
    BuildID: 20100722155716
    CrashTime: 1283492259
    EMCheckCompatibility: true
    FramePoisonBase: 00000000f0de0000
    FramePoisonSize: 65536
    InstallTime: 1283492203
    ProductName: Firefox
    ReleaseChannel: release
    SecondsSinceLastCrash: 2
    StartupTime: 1283492258
    Theme: classic/1.0
    Throttleable: 1
    URL: http://my.yahoo.com/
    Vendor: Mozilla
    Version: 3.6.8
    This report also contains technical information about the state of the application when it crashed.
    I am running this on a Duo Core processor, Intel, Laptop, Windows 7 with 4-gigs of ram. I have never had a problem with other programs crashing like this before.
    Any ideas? I have never used Firefox and after 20 years have decided to try something new.
    Thanks for any help.

    You mean out of this whole community no one knows how to fix this ... I wanted to give Firefox a try, but honestly, I am starting to see why I have not switched from IE, it is stable and I get answers when I post to the Microsoft boards as well as the answer to everything I have ever had an issue with is out there ... what is worse is that I am not the only one with this problem and no one can still help because I am sure us five are not the only ones that have run into this.

  • I am trying to run my registered CS6 Design Standard programs for the first time after install. InDesign runs OK, but Illustrator and Photoshop will only run in trail mode. How do I activate those two?

    I can't get my registered versions of CS6 Photoshop and Illustrator to run in full mode. I installed CS6 Design Standard online end of June (an upgrade from CS5.5), on my old MacBook Pro. I didn't run the programs then as I was waiting on arrival of new MacBook Pro. I migrated the programs from my old MacBook to the new, and today tried to run those programs for the first time. InDesign work OK (after an initial hiccup) but Illustrator and Photoshop will only run in trial mode, and won't let me save files. My CS6 Design Standard shows with it's registration in my Adobe Account. All seems in order, but Illustrator and Photoshop won't run in registered mode. Can you please help?

    Demons1 in the future please only migrate your documents and settings.
    Please use the uninstallers to remove your current installation.  They are located in the Applications/Utilities/Adobe Installers folder.  Once the uninstall is complete you will also want to run the CC Cleaner Tool.  You can find more details at Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6 - http://helpx.adobe.com/creative-suite/kb/cs5-cleaner-tool-installation-problems.html.
    If you need to download a fresh copy of the installation files for Creative Suite 6 you can do so at Download CS6 products.

  • Time machine would back up only the first time after I shut off my imac and started it up again.  Then it would fail or claim it could not locate my external Hard Drive even though it's icon was showing in the time machine dialog window.

    Time machine only ever backed up the first time it runs immediately after I start up my computer after it has been shut off.  All other back up attemps fail.  Recently it stopped recognizing the icon for my external hard drive in the time machine dialog window where you select the hard drive to back up to, and turn on and off the time machine function.  Now the external HD icon only shows up on the desk top but no longer in the dialog box. I just tried shutting the computer off and turning it on again and now the light is on, on the external hard drive but the icon does not even appear on the desk top.
    The external hard drive is a 1TB Seagate. The drive still has plenty of unused capacity.  I ran a diagnostic test on it. It said the disk needed repair but the repair function would not work. The message stated that it could not be unmounted and repair is not available because the disk can't be written to. The Mac OX utility said the disk can still be opened but can't be changed nor repaired.  The external HD is not S.M.A.R.T. supported.
    I haven't tried replacing the cable yet. Is that the next thing I should try?

    What Mac OSX version are your running ("iOS" as shown in your profile cannot run on a Mac computer)?

  • Trying to install creative cloud for the first time and getting error code:1

    im trying to install creative cloud for the first time but im getting a error code:1
    what can I do?

    Creative Cloud Error Codes (WIP) | Mylenium's Error Code Database
    Mylenium

  • TS3772 Hi Team, I fairly new at this & I'm trying for the first time to download a movie, however its not allowing me to play as it says I need to download quicktime which I have tried to do, I have this application now but its still not allowing me to vi

    Hi Team, I am fairly new at this & I'm trying for the first time to download a movie, however its not allowing me to play as it says I need to download quicktime which I have tried to do, I have this application now but its still not allowing me to play movie, any help please for someone who hasnt got a clue

    where did you download the movie from?
    what is it doing when it wont allow you to play the movie?
    since you downloaded quicktime is it still asking you to download quicktime?

Maybe you are looking for