Re: More specific to two questions

 

Hi everybody,
I have been watching this debate with interest. I encountered similar
situation and realised that even after calling the method
ReleaseDistReference on DistObjectMgr, the object is live ( Probably
some time before garbage collection kicks in) and can be binded using
ObjectLocationManager.BindObject() method. This caused some problems to
us. This object is not invalidated for further use. Can somebody from
Forte answer this ?
Pradnesh Dange
Indus Consultancy Services
140, E.Ridgewood Ave.
Paramus, NJ 07652
Ph: 201-261-3100 (x-234)
Fax: 201-261-1399
From: Shi-Long Yin[SMTP:[email protected]]
Reply To: Shi-Long Yin
Sent: Tuesday, December 22, 1998 12:19 PM
To: Boris Berezetsky; 'Forte Users Mailing list'
Subject: Re: More specific to two questions
Hi, Boris
Your helps are really appreciated!
I've already read this part and other relevant materials of Forte
document.
So far, what I understand is if an object is anchored, the garbage
collector
will be not automatically applied to it. You must explicitly add it
to the
list of the garbage collection.
Also, many thanks to all who have helped me in this topic.
Merry Christmas!
Shi-Long
Boris Berezetsky wrote:
Hi, Shi-Long
I'm not sure if this has been mentioned already, but just in case...
Take a look at ReleaseDistReference method of DistObjectMgr class.
The following is an excert from Forte Help on the topic:
"This method is needed because the distributed object manager keepsa
list of all anchored objects that have been handed out asdistributed
references, or are anchored objects that are being used asdistributed
references in other partitions. Invoking the ReleaseDistReferencemethod
lets the distributed object manager remove the object from itsinternal
list, which can then allow memory management to occur on theobject."
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive
<URL:http://pinehurst.sageit.com/listarchive/>
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

Similar Messages

  • More specific to two questions

    Hi,
    First of all, many thanks to Rottier, Daniel, Geoff. Your ideas are
    definitely useful.
    Regarding two questions I posted yesterday, I&rsquo;d like to give you more
    background information so that it will make questions more specific.
    Now we have a lot of applications (programs) written in either C, C++,
    Java codes or Forte (maybe other language like VB). Our purpose is to
    integrate all the codes written for the different platforms such as
    Windows NT and UNIX together seamlessly through CORBA or CORBA-IIOP
    (Internet Inter-Object Request Broker Protocol). The most difficulties
    I have met so far are to pass an object by its value. As you know,
    CORBA specifications, version 2, don&rsquo;t support the concept &ldquo;pass object
    by value&rdquo;. But currently, some of CORBA vendors such as Forte and Iona
    (OrbixWeb) do extend the concept &ldquo;pass by reference&rdquo; and support the
    concept &ldquo;pass object by value&rdquo; for Java Mode not for IDL (Interface
    Definition Language) Mode. If we want to integrate all codes together
    without the support of &ldquo;pass object by value&rdquo;, the following question I
    need to answer is the garbage collection in the Forte server side. In
    CORBA IDL mode, I have to set all IsAnchored attributes of all objects
    to TRUE. Can these objects be garbage collected? If yes, how does the
    garbage collection work?
    Please note that the client (C, C++, Java or other language) and the
    server (Forte) are written using different languages (not limited to
    Forte)! The question I posted can be much complicated if the client and
    server are written in the different languages and for the different
    platforms (NT and UNIX) as well as applied to the distributed and
    multithreaded environment.
    To be exact, if one of the multiple remote C++ clients decides not to
    access the objects (not limited to service objects) in the Forte server,
    how does Forte garbage collection know what the client has done
    automatically and garbage collect the object? It is known that CORBA
    does not support garbage collection. Is there any functionality
    provided by Forte to let itself be automatically notified? As we know,
    COM and DCOM do have such kind of functionality. When you integrate
    DCOM with your applications, at both sides (client and server), it is
    DCOM who internally poll the object references periodically. How about
    CORBA and Forte? Forte has integrated IIOP as its own built-in
    component and supported VisiBroker and IONA CORBA products. My guess is
    because Forte has IIOP built in itself (both sides have to run ORB), so
    Forte has the full control over the whole running environment, and can
    monitor the references to the objects, and apply the garbage collection
    to the objects automatically. Is this true? Here are the key words:
    multiple, remote (distributed), different platforms and languages,
    CORBA-IIOP. We should take all of these things into our consideration.
    I did find that there is a big difference between IsAnchored set to TRUE
    and FALSE when I tried to integrate C++ client, Forte server and Java
    client, Forte server. For the C++ client, you have to set IsAnchored
    attributes of all kinds of objects to TRUE. Note that In Forte, the
    service objects and the ordinary objects are treated differently. The
    service objects are created by Compiler or Interpreter. It is
    transparent to the users. The ordinary objects are created at run time,
    garbage collection can be applied to. For Java client, you can either
    set IsAnchored attribute to TRUE or FALSE depending on what you want
    (access the services provided by Forte server side by value or
    reference). This really answers the question: IsAnchored can control
    pass object by value or reference, and really matches what you guys
    talked about in your e-mail. My thoughts are that IsAnchored has
    nothing to do with the garbage collection, otherwise this will disable
    the garbage collection at all! Because I have to set all IsAnchored
    attributes to TRUE at Forte server side for my C++ client, if the
    garbage collection is really based on the IsAnchored attribute, this
    means that the garbage collection is totally disabled for all those
    objects with their IsAnchored attributes set to TRUE! Can anyone
    confirm that? Don&rsquo;t forget that this issue is raised in such
    complicated environment! What I want to clarify is whether Forte does
    provide such a garbage collection mechanism so nice, so smart to
    automatically maintain a persistent object reference table or whatever
    and deal with the garbage collection issue in such complicated
    environment!
    Believe this can make my questions much specific and clear. I&rsquo;d like to
    discuss more details about it.
    Thank you again for your informative ideas.
    Shi-Long, Yin
    US West in Denver
    Tel: 303-624-1305
    e-mail: [email protected]
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    Hi,
    First of all, many thanks to Rottier, Daniel, Geoff. Your ideas are
    definitely useful.
    Regarding two questions I posted yesterday, I&rsquo;d like to give you more
    background information so that it will make questions more specific.
    Now we have a lot of applications (programs) written in either C, C++,
    Java codes or Forte (maybe other language like VB). Our purpose is to
    integrate all the codes written for the different platforms such as
    Windows NT and UNIX together seamlessly through CORBA or CORBA-IIOP
    (Internet Inter-Object Request Broker Protocol). The most difficulties
    I have met so far are to pass an object by its value. As you know,
    CORBA specifications, version 2, don&rsquo;t support the concept &ldquo;pass object
    by value&rdquo;. But currently, some of CORBA vendors such as Forte and Iona
    (OrbixWeb) do extend the concept &ldquo;pass by reference&rdquo; and support the
    concept &ldquo;pass object by value&rdquo; for Java Mode not for IDL (Interface
    Definition Language) Mode. If we want to integrate all codes together
    without the support of &ldquo;pass object by value&rdquo;, the following question I
    need to answer is the garbage collection in the Forte server side. In
    CORBA IDL mode, I have to set all IsAnchored attributes of all objects
    to TRUE. Can these objects be garbage collected? If yes, how does the
    garbage collection work?
    Please note that the client (C, C++, Java or other language) and the
    server (Forte) are written using different languages (not limited to
    Forte)! The question I posted can be much complicated if the client and
    server are written in the different languages and for the different
    platforms (NT and UNIX) as well as applied to the distributed and
    multithreaded environment.
    To be exact, if one of the multiple remote C++ clients decides not to
    access the objects (not limited to service objects) in the Forte server,
    how does Forte garbage collection know what the client has done
    automatically and garbage collect the object? It is known that CORBA
    does not support garbage collection. Is there any functionality
    provided by Forte to let itself be automatically notified? As we know,
    COM and DCOM do have such kind of functionality. When you integrate
    DCOM with your applications, at both sides (client and server), it is
    DCOM who internally poll the object references periodically. How about
    CORBA and Forte? Forte has integrated IIOP as its own built-in
    component and supported VisiBroker and IONA CORBA products. My guess is
    because Forte has IIOP built in itself (both sides have to run ORB), so
    Forte has the full control over the whole running environment, and can
    monitor the references to the objects, and apply the garbage collection
    to the objects automatically. Is this true? Here are the key words:
    multiple, remote (distributed), different platforms and languages,
    CORBA-IIOP. We should take all of these things into our consideration.
    I did find that there is a big difference between IsAnchored set to TRUE
    and FALSE when I tried to integrate C++ client, Forte server and Java
    client, Forte server. For the C++ client, you have to set IsAnchored
    attributes of all kinds of objects to TRUE. Note that In Forte, the
    service objects and the ordinary objects are treated differently. The
    service objects are created by Compiler or Interpreter. It is
    transparent to the users. The ordinary objects are created at run time,
    garbage collection can be applied to. For Java client, you can either
    set IsAnchored attribute to TRUE or FALSE depending on what you want
    (access the services provided by Forte server side by value or
    reference). This really answers the question: IsAnchored can control
    pass object by value or reference, and really matches what you guys
    talked about in your e-mail. My thoughts are that IsAnchored has
    nothing to do with the garbage collection, otherwise this will disable
    the garbage collection at all! Because I have to set all IsAnchored
    attributes to TRUE at Forte server side for my C++ client, if the
    garbage collection is really based on the IsAnchored attribute, this
    means that the garbage collection is totally disabled for all those
    objects with their IsAnchored attributes set to TRUE! Can anyone
    confirm that? Don&rsquo;t forget that this issue is raised in such
    complicated environment! What I want to clarify is whether Forte does
    provide such a garbage collection mechanism so nice, so smart to
    automatically maintain a persistent object reference table or whatever
    and deal with the garbage collection issue in such complicated
    environment!
    Believe this can make my questions much specific and clear. I&rsquo;d like to
    discuss more details about it.
    Thank you again for your informative ideas.
    Shi-Long, Yin
    US West in Denver
    Tel: 303-624-1305
    e-mail: [email protected]
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

  • Hi All, I have two questions. First of all my CS3 is saying that it is installed on more than one machine, is there a way of seeing what machines my serial number is registered to? If i want to buy another CS3 serial number how do i go about it? I cannot

    Hi All, I have two questions. First of all my CS3 is saying that it is installed on more than one machine, is there a way of seeing what machines my serial number is registered to? If i want to buy another CS3 serial number how do i go about it? I cannot afford to move to the creative cloud.....

    there's no way for you to identify which machines have or had cs3 activated, and you can no longer purchase a cs3 license from adobe.
    you can request an activation count reset (Contact Customer Care) and deactivate your cs3 on all your computers.  you can then install and activate on up to two computers.

  • Two questions: Why is it made so difficult to simply download a library book and read it? More immediately important, I have DeepShadow 9781101181188 on my computer and cannot get Adobe Digital Editions to recognize or allow me to read it.

    Two questions: Why is it made so difficult to simply download a library book and read it? More immediately important, I have DeepShadow 9781101181188 on my computer and cannot get Adobe Digital Editions to recognize or allow me to read it.

    What is the error code ?

  • Printing, Soft Proofing & Color Management in LR 1.2: Two Questions

    Printing, Soft Proofing, and Color Management in LR 1.2: Two Questions
    There are 2 common ways to set color management in Adobe CS2:
    1. use managed by printer setting or,
    2. use managed by Adobe CS2 program.
    I want to ask how Color Management for Adobe LR 1.2 differs from that in CS2?
    As is well known, Color Management by printer requires accurate printer profiles including specific model printer, types of ink and specific paper. It is clear that this seems to work well for LR 1.2 when using the Printer module.
    Now lets consider what happens one tries to use Color Management by Adobe LR 1.2. Again, as is well known, Color Management by printer must be turned off so that only one Color Management system is used. It has been my experience that LR 1.2 cant Color Manage my images correctly. Perhaps someone with more experience can state whether this is true or what I might be doing to invalidate LR 1.2 Color Management.
    Specifically, I cant use Soft Proofing to see how my images are changed on my monitor when I try to use the edit functions in LR 1.2. Martin Evening states in his text, The Adobe Photoshop Lightroom Book that it is not possible to display the results of the rendered choices (Perceptual or Relative) on the display monitor. While it is not clear in Evenings text if this applies to LR 1.2, my experience would suggest that it still applies to the 1.2 update even though the publication date of his book preceded this update.
    Can someone with specific knowledge of Adobe LR 1.2 confirm that Color Management and Soft Proofing with LR 1.2 hasnt been implemented at the present.
    The writer is a retired physicist with experience in laser physics and quantum optics.
    Thanks,
    Hersch Pilloff

    Hersch,
    since just like me, you're a physicist (I am just a little further from retirement ;) ) I'll explain a little further. computer screens (whether they are CRT or LCD) are based on emission (or transmission) of three colors of light in specific (but different for every screen) shades of red, green, and blue. This light stimulates the receptors in your eye which are sensitive to certain but different bands of red, green and blue as the display emits, making your brain think it sees a certain color instead of a mix of red green and blue. Printers however, produce color by modifying the reflection of the paper by absorbing light. Their color mixing operates completely differently than displays. When you throw all colors of ink on the paper, you get black (the mixing is said to be subtractive) instead of white as you get in displays (the mixing there is additive). The consequence of this is that in the absence of an infinite number of inks you cannot produce all the colors you can display on a monitor using a printer and vice versa. This can be easily seen if you compare a display's profile to a printer profile in a program such as Colorsync utility (on every mac) or
    Gamut vision. Typically printers cannot reproduce a very large region in the blue but most displays on the other hand cannot make saturated yellows and cyans.
    Here is a flattened XY diagram of a few color spaces and a typical printer profile to illustrate this. Most displays are close to sRGB, but some expensive ones are close to adobeRGB, making the possible difference between print and screen even worse.
    So, when the conversion to the printer's profile is made from your source file (which in Lightroom is in a variant of prophotoRGB), for a lot of colors, the color management routine in the computer software has to make an approximation (the choice of perceptual and relative colorimetric determine what sort of approximation is made). Soft proofing allows you to see the result of this approximation and to correct specific problems with it.

  • Two questions, maybe stupid ones

    Hi
    Two iPhoto questions if that is OK.
    The first one may be irrelevant depending on the answer to the second.
    By way of background,I organised my digital photos on previous computers into a directory by year, this has been on PCs until now.
    Then I name a subdirectory with the name of the event, then if I modify any of the images I put those in a further subdirectory and so on.
    So for example I may have, on my PC:
    C:\photos\2008\Paul's wedding\worked images\printed images\weddingprint1.jpg
    And I have photos from about 2003 to 2009 and each year has between 5 and 20 events and all have a folder with "worked" images.
    This system is obviously a bit clunky but has worked for me.
    So now I am on a MacBook Pro and have copied everything over which as gone without a hitch. I have imported the images into iPhoto and left the original copies on the MacBook Pro HD.
    I like the directory structure that I use and want to keep it because it fits with previous backups, I can navigate if I share the drive over a network and so on.
    However iPhoto copies the photos into its own structure, it organises everything by year as I do, but then if you look in terminal there is only one level of subdirectory. So I have, for example
    my-macbook-pro:2009:worked_1
    my-macbook-pro:2009:worked_2
    my-macbook-pro:2009:worked_3
    With no idea which each refers to unless I go into iPhoto.
    This is a pain in the neck for wanting to move the photos at a later date.
    So I am currently keeping all the photos in my original structure and letting iPhoto keep its own. This doubles the amount of disk space needed.
    So, that was a bit of a long story.
    Here are the two questions.
    1. Is there a way to get iPhoto to work with my directory structure?
    2. Is there any way to get iPhoto to "watch" a directory, day one called "digital photos" and all its subdirectories and add any new photos to the iPhoto library. Picassa on the PC does this. It means that all I have to do is copy photos from my camera and iPhoto will automatically update.

    Terence Devlin wrote:
    However, there are a number of potential pitfalls using this system.
    1. Import and deleting pics are more complex procedures
    I am not sure how it is more complex. Granted, importing from your camera to iPhoto directly is a "one step" process, but dragging and dropping your photos from your desktop (or a folder) into iPhoto after importing them from the camera is not what I would call complex.
    Deleting seems straight forward as well. Pick the photo in iPhoto and delete it. However, my situation is probably different than most people. Since I don't use iPhoto as my main organization and storage for my photos, anything I add to iPhoto are what is left after I have already sorted and erased the bad ones out of my camera. I don't usually have a need to remove much from iPhoto.
    Terence Devlin wrote:
    2. You cannot move or rename the files on your system or iPhoto will lose track of them on systems prior to 10.5 and iPhoto 08. Even with the later versions issues can still arise if you move the referenced files to new volumes or between volumes.
    I never used iPhoto much on previous versions because I hated the way it organized stuff and didn't like that you HAD to copy your stuff to the iPhoto library files. I recently upgraded to my OS 10.5 iMac from my old OS 10.4 eMac and decided to play with iPhoto again. When I discovered I could use it with my EXISTING library folder structure without having to copy everything into iPhoto, I have been using it more these past couple weeks that I had the past five years of having a version of iPhoto available to me.
    Terence Devlin wrote:
    3. Most importantly, migrating to a new disk or computer can be much more complex.
    Perhaps.
    Terence Devlin wrote:
    Always allowing for personal preference, I've yet to see a good reason to run iPhoto in referenced mode unless you're using two photo organisers.
    Well I think there is the big difference between us. It sounds like you use iPhoto as your primary photo tool for importing and organizing your library. I do mine manually and use iPhoto as an accessory for other secondary stuff so I don't depend on iPhoto to be able to find stuff or when moving from one system (new computer, new hard drive, new operating system, etc.) to another.
    Terence Devlin wrote:
    Remember that it you edit the pics via iPhoto (either with iPhoto itself or with another editor) it will store the edited version within the Library Package. And if you edit the pics via any other method the edits will not be available in iPhoto.
    Yep, that I am aware of. My personal preference is to NEVER alter the original files from my cameras at all. Always work on copies. So I do find iPhoto fun to make quick edits to photos I add to it like cropping knowing that I am not actually altering the original in any way.
    Likewise, if I do any editing outside of iPhoto it will again be on a copy for a specific reason, so I won't need those edits to be back flushed into iPhoto. If I do I will just add the new edited version back to iPhoto.
    Of course shouldn't we really be more concerned with the secret government agencies tracking our photos via the face identification feature of iPhoto? {reference to another user's post in a different thread Terence and I both commented on}
    Cheers,
    Patrick

  • Two questions: editing info and capacity info

    I have two questions:
    1) I edited some artist/album info, but after synching it with my classic (80gb) the info hadn't changed on the Ipod. It did on Itunes, but not the Ipod. Any thoughts?
    2) As I put more music on my Ipod it increased the number of songs and the approximate # of days that this represented at the bottom of the Itunes screen. But then the days changed dramatically (and inaccurately) and now I have about 2500 songs, but it says that represents 250 days of music, which clearly isn't right. Any ideas on fixing this?
    Thanks

    Thank you for answering the first question - it worked!!!
    As far as the other question,
    When I create a playlist, for example, Jazz Tunes...and then I create another playlist titled Sarah McLachlan, etc., etc.,
    I will eventually have a list of playlists that are titled either as a specific artist or genre. And so, when I look to do a search on genres...I have to also look over the artists, making it confusing... Is there a way to seperate the two? Still not making sense? : /

  • Two questions on SP1 and Vista booting

    Hi all,
    two questions:
    1) did I understand correctly that if I want SP1 on my machine I have to install it manually, as it is not included in the automatic update routines?
    2) my machine failed yesterday, I got a message "Windows failed to start. A recent hardware of software change might be the cause." The only thing I can think of is that before switching it off the previous time, I had inserted a USB hard-drive to copy some files on it. But I had continued working on the machine normally. The other unusual event is that the day before it was very slow booting up, so afer it finished booting up, I restarted it.
    When the system failed to start, I tried the automatic procedures several times, which always ended up with "windows cannot solve the problem automatcally,
    contact your vendor". In the penultimate attempt, I also clicked on an "advanced option tab" and restored the system, but that also did not solve the problem. Then, this morning I switched the machine on again to write down the exact error message I got, and instead, unexpectedly (and rather gladly), the machine started up normally. So, what might have happened? Should I get my machine (which is less than a month old) checked?
    thanks!
    paola

    Yes, theres a chance to have a complete image from the actual state of your operating system including all programs etc....
    There are several solutions:
    1. The Commercial One: http://en.wikipedia.org/wiki/Ghost_(software)
    2. Another commercial one: http://www.acronis.com/homecomputing/products/trueimage/features-cloning.html
    3. The Free one: http://www.ubcd4win.com/
    (but more complicated and you need in all cases a external data storage, there are some tools on this ToolsCD which are free and do almost the same like acronis or ghostimage)
    I guess there are still thousands of cloning programs but I tried to give you the most important and most reliable tools.
    If I were you, I would check the UBCD4Win, burn it to a CD, buy an external HDD, start the UBCD4WIn and clone your drive to the external one. So you can perform incremental backups of your HDD and if something happens, you must only do the whole process like you perform the backup just reverse.
    Hope I could help you..
    Cheers

  • Two questions about SG300 DHCP server

    Hi,
    I have two questions about the DHCP server on the SG300:
    On the Address Binding page, what does the "Declined" state mean? I have a NAS device that won't pull an address, and I think that the entry with a state of "Declined" corresponds to this device. It was previously pulling an address from a RV180, so the only difference is that it is now connected to the SG300. I worked around this by manually setting the address on the NAS device, but this won't scale if I run into a lot of other devices that can't pull an address.
    I configured a static address binding for a WAP321 and found that instead of pulling the configured address that it pulled a dynamic address. I checked the Address Binding page and see that the dynamic entry that corresponds with the WAP321 has a Client Identifier rather than a MAC address. I changed the static entry for the WAP321 to use the client identifier displayed in the dynamic entry, and now the WAP321 pulls the configured static address. Is this expected behavior?
    Thanks,
    Bob

    With the SX300/500 it is required the client identifier, it doesn't automatically insert it. If static DHCP is made on the switch and you didn't need client identifier, that is more or less fortunate behavior for you
    So to answer this question, the expected behavior is to configure client identifier for static DHCP entry.
    -Tom
    Please mark answered for helpful posts
    http://blogs.cisco.com/smallbusiness/

  • Two questions: Scanner and exception handlers

    Extreme Newbie Alert: I took a single college semester involving Java, almost five years ago, and haven't really touched it since until recently when I decided to try to get back into it. I am now working on building a program while reading the Java 5.0 Tutorial downloadable from Sun.
    Okay, now that the faint of heart have left us, here are the two questions I want to ask:
    1) I am trying to use the Scanner tool ( http://java.sun.com/j2se/1.5.0/docs/api/java/util/Scanner.html ) on a FileReader wrapped in a BufferedReader. I have installed JDK 5.0 and I am importing java.util.*, but when I try to compile I get this error:
    Wishlist.java:71: cannot resolve symbol
    symbol : class Scanner
    location: class Wishlist
    Scanner readFromMe = new Scanner(new BufferedReader(new FileReader("wishlist.txt")));
    ^
    ...and then another one pointing to the other appearance of "Scanner" in the same line, followed by six more in places where I use the readFromMe variable that line was supposed to declare and initialize. Any idea why the compiler doesn't recognize Scanner even though I'm importing its package?
    2) Is there anything preventing you from nesting exception handlers? As you've seen, in this program I open a file...if that attempt produces a FileNotFoundException, I want the error handling to create a new, empty file to use in place of the one that should have been there. Since this could throw an IOException of its own, I would need to put a try | catch block into the other catch block. Is the compiler going to stand for that? Alternatively, is there any input stream that creates a file with the specified filename if there is none already? Probably not, since a newly created file will be empty and there's no point in having an input stream on it...

    1) Are you sure you installed and are invoking jdk
    1.5? Maybe you have an earlier version ahead of it
    on your path.Hm. I did use 1.3 back in college...I checked the contents of PATH and the User Variables version of it was set correctly but the System Variables version of it was set to 1.3. I corrected the System Variables version of it and now the compiler doesn't complain about Scanner...but I'm still getting errors that it doesn't recognize readFromMe even after I initialized it. Odd...
    2) yeah you can nest try/catch blocks like that.
    However, in this case, exceptions sound like the
    wrong way to go. A missing file sounds like a real,
    regular possibility -- it's not that exceptional as
    you describe it. A better thing would be to create
    a File object, see if the file exists, and then if
    it doesn't go ahead and immediately handle that
    case. Don't even try to open the file that may not
    exist.Okay, I'll try rewriting the file read like that, and hopefully the readFromMe errors will go away. If they don't I'll make a new post...probably with the entirety of the code because I can't even guess at what part of the code is causing that. Thanks for the help!

  • Jump link works in IE not Firefox - more specific

    To be more specific than in my previous question:
    I am using Dreamweaver CS4. I have a spry collapsible panel on the page; each panel is labeled with the name of a paper. At the top of the page, I provide some context for the papers (papers are in the spry drop-down content). I created links from the names of the papers at the top of the page to the names of the papers in the spry labels. When I preview the page, the links work in IE but not in Firefox, version 3.5.2. When I right click on the link in Firfox and choose "open in a new window," a new window opens; jump doesn't work. If I choose "open link in new tab" a new tab is created; duplicate page; no jump.
    Please someone help me to understand why the jump link doesn't work in Firefox. Could it be because the links are to tabs on the collapsible panel? Is there another way to create the jump from the top of the page to a particular panel?
    Thanks.

    Please post a URL to your test page.  There's no way to help you without seeing your page & code.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • Two questions about of usage of LDAP  in SAP XI-context

    Hello!
    I would like to know whether an LDAP adapter is existing for SAP XI or not?
    It is important for the answer of the following two questions:
    <b>a) Does the solution have Active Directory integration for accessing employee information?      (Yes/No) 
    b)Does the solution have Active Directory integration for accessing employee hierarchy? (Yes/No)      </b>
    Can someone help me by answering the questions above.
    Thank you!
    Regards

    I do not think that there is a LDAP Adapter for XI.
    However, SAP NW has its own LDAP database. There are tools available integrating this LDAP with an external LDAP databse. For example, program RSLDAPSYNC_USER enables synchronizing the User information with the LDAP server.
    Transaction LDAP allows you to define which specific user information is to be integrated.
    I am not sure if there is an option to integrate employee hierarchy. You can check with the transaction LDAP.
    Note that none of this has anything specific to XI. It is available with the NetWeaver itself.
    Good Luck,
    Bhanu

  • Two questions to WLC4402

    Hi,
    I've two questions to the WLC4202.
    First: Does the WLC have an internal radius server like the autonomous APs or do I need to use an external radius server for authentication?
    Second: When a guest access is used, does this WLAN can have an encryption like WPA/WPA2?
    Greetings,
    Rouven

    Yes, it does have a local radius on the controller but not very robust and is used more for small SOHO deployments.
    You can set up the GUEST ssid with security or not.

  • Two questions. 1st question: Will joining Cloud give me access to QuarkXpress.

    two questions. 1st question: Will joining Cloud give me access to QuarkXpress.

    QuarkXpress is not an Adobe product. The QuarkXpress product page is here http://www.quark.com/Products/QuarkXPress/.
    To see which products are included with the Adobe Creative Cloud go to this page https://creative.adobe.com/apps. There are Learn More links for each of the products and services included.

  • Why is the static method in the superclass more specific?

    Why is the static method in the superclass more specific than the static method in the subclass? After all, int is a subtype of long, but Base is not a subtype of Sub.
    class Base {
        static void m(int i){ System.out.println("Base"); }
    class Sub extends Base {
        static void m(long l){ System.out.println("Sub"); }
    class Test {
        public static void main(String[] args) {
            int i = 10;
            Sub sub = new Sub();
            sub.m(i);
    }The first example compiles without error.
    Output: Base
    class Base {
        void m(int i){ System.out.println("Base"); }
    class Sub extends Base {
        void m(long l){ System.out.println("Sub"); }
    class Test {
        public static void main(String[] args) {
            int i = 10;
            Sub sub = new Sub();
            sub.m(i);
    }In the second example, both instance methods are applicable and accessible (JLS 15.12.2.1), but neither is more specific (JLS 12.2.2), so we get a compiler error as expected.
    : reference to m is ambiguous,
    both method m(int) in Base and method m(long) in Sub match
    sub.m(i);
    ^
    1 error
    Why don�t we get a compiler error for the static methods?

    Thank you for your ideas.
    ====
    OUNOS:
    I don't get Sylvia's response. This is about static methods, what are instances are needed for??Yes, the question is about static methods. I included the example with non-static methods for a comparison. According to JLS 15.12.2, both examples should cause a compiler error.
    And why you create a Sub object to call the method, and dont just call "Sub.m(..)"Yes, it would make more sense to call Sub.m(i). Let�s change it. Now, I ask the same question. Why is there no compiler error?
    ====
    DANPERKINS:
    The error in your logic stems from calling static methods on instances, as ounos pointed out. Solution: don't. You won't see any more ambiguities.A static member of a class may also be accessed via a reference to an object of that class. It is not an error. (The value of the reference can even be null.)
    Originally I was looking only at the case with non-static methods. Therefore, I used sub.m(i). Once I understood that case, I added the static modifiers. When posting my question, I wish I had also changed sub.m to Sub.m. Either way, according to JLS 15.12.2, a compiler error should occur due to ambiguous method invocation.
    ====
    SILVIAE:
    The question was not about finding an alternative approach that doesn't throw up an ambiguity. The question related to why, in the particular situations described, the ambiguity arises in only one of them.
    Yes.
    Proposing an alternative approach doesn't address the question.
    Yes.
    ====
    If anyone is really interested, here is some background to the question. Some people studying for a Sun Java certificate were investigating some subtleties of method invocations:
    http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=24&t=019182
    I remember seeing the non-static case discussed in this forum once before in a more practical context. jschell probably knows the link.

Maybe you are looking for

  • Macbook Internet Connection Problem.

    I am having problems connecting my Macbbok to the Internet. I was able to do it when I was in college using Airport and when I would vist home I could get online using a eithernet cord. But now I am unable to connect anywhere in my house. My Macbook

  • ISE NFR Allowed protocols

    Hi all, I am trying to configure ISE NFR (installed on vmWare) - I had to start from the only available NFR version 1.0 - so I first made upgrade to version 1.1.1(acording to release notes there should be no problem with stright upgrade) then applyed

  • Question about java thread implementation

    Hi All, I am comparing the performance of the Dining philosopher's problem implemented in Java, Ada, C/Pthread, and the experimental language I have been working on. The algorithm is very simple: let a butler to restrict entry to the eating table, so

  • Remember last view not working properly

    I am using Adobe Acrobat 9 Pro. Recently, the remember last view or whatever it is called is not functioning properly. Some images that I scan, unfortunately, are scanned unside down. I will rotate it to the proper angle and assume that acrobat will

  • Flash not working properly in FF

    I'm using Firefox 2.0.0.1 but it aso happened with 2.0. The same goes for the flash version, i'm using the last version but had the same problem with previous version. Flash loads well but when clicking on it nothing happens. It's annoying because i