Re: [SunONE-JATO] Frame Loading

Divakar,
A very challenging scenario for all app servers, especially J2EE web
containers, is concurrent access to session. The HttpSession API does
not provide an interface for either the container vendor or the
developer to manage concurrency issues or events discretely; therefore,
there is little JATO or any framework can do to help you with
concurrency issues AND not add container behavior. The container
vendors have to rely upon implementation details to manage these complex
scenarios. Be that as it may (which is mostly my opinion anyways), the
iAS engineers have worked long and hard the last year from iAS 6.0 sp2
thru 6.5 to deal with issues around session concurrency; the discussion
of which can be fairly verbose. What is important and in some ways
unfortunate, is that the handling on these concurrency scenarios is
different between releases. I believe that there is no blocking/locking
in sp2 and earlier (resembling NetDynamics 3.x behavior). In sp3 (your
case) concurrent access was serialized (resembling in some ways
NetDynamics 4.x and 5.x) In sp4 it was changed again and finally in 6.5
it was improved to ensure data coherency and stability with locking
while eliminating locks within the same JVM. If you would like details
email me offline at [matthew.stevens@s...] and I will see what I can do.
No matter what version of iAS you are using, please ensure that your
application is deployed with Sticky load-balancing such that request
process is handled by the same JVM per session. In this way, you avoid
the 'distributed' computing problem of locking across processes and
machines. In other words, you have far less chance of hung request
threads if you use sticky load-balancing.
You need to establish some debug techniques in your development
environment for J2EE to assess hangs or latencies (there are plenty of
synchronous APIs in any J2EE container so this is not just an iAS thing
or Session concurrency thing). If you are on Solaris you may issue a
kill -3 PID
of the JVM running the web container. Sending this SIGQUIT signal to
the JVM will trap the JVM and result in a full thread dump to the
STDERR. For instance, for iAS you would find the JVM (.kjs) spawned by
the kjs script and send it a SIGQUIT. You should very easily see in the
stack traces of the threads, your own thread which is above the dispatch
to your module servlet [ie. you will see the
<ApplicationServletBase.processRequest()] stack frame in the stack trace.
If you are on Win32 you can run the iAS engines in the foreground by
invoking iAS from the command line [kas -debug] in which case the KJS
will appear in its own console window which you can CTRLBREAK to see the
stack trace.
In this way, you can see what your web container is doing while it is
latent or hung.
In your case, you will probably see your request thread blocked in calls
to PlatformNASSession or PlatformLITESession. These two classes are the
HttpSession implementations for iAS. The 'NAS' session uses the HA
Dsync sub-system for replicated attribute backing store and the 'LITE'
session uses an regular HashTable for the backing store.
Again, concurrency issues are FAR MORE complex with the distributed
implementation. Therefore, as an isolation technique, you may want to
confirm that you are using session-impl=lite in your iAS deployment
descriptor so as to avoid the Dsync implementation. Using Session LITE
should eliminate the hangs during concurrent frame loads.
Is it possible for you to upgrade to iAS 6.5? What about iAS 6.0 sp4?
Please remember to leverage the JATO front controller events, even if it
is for debug. You have the onBeforeRequest event where you could
intercept the front controller before it has bothered with the
HttpSession APIs. For isolation purposes, you could enter a critical
section from your derived onBeforeRequest event to see whether
concurrency is an issue in your case.
I hope this "frames" the problem space for you 8-) Please post any
questions or results from your testing and we can try to help further.
The best information we can use to help you is the stack trace for the
hang condition.
thanks,
matt
padiyar wrote:
I am facing problems with FrameSet loading.
I have a frameset having two frames and src defined
for both. Sometimes one of the frames doesnt get loaded.
I am using iAS 6.0 with SP3 and JATO 1.2
<FRAMESET COLS="200,*" BORDER=0 FRAMEBORDER=no>
<FRAME NAME="Frame1" SRC="../AppName/pgMenu" MARGINHEIGHT=0
MARGINWIDTH=10 SCROLLING=auto NORESIZE >
<FRAME NAME="Frame2" SRC="../AppName/pgDetail" MARGINHEIGHT=6
MARGINWIDTH=12 SCROLLING=auto RESIZE >
</FRAMESET>
From the kjs logs i noticed that onAfterRequest is not getting called
while first frame's viewbean is being executed and kjs just hangs.
If I set the SRC for one of the frames as viewbean and the other one
a blank.html and trigger the loading of second frame using javascript
on load of the first frame it works fine. But i dont
want to go for this approach.
Did anybody faced this problem and know how to fix this without using
javascripts?
Thanks,
Divakar
To download the latest version of JATO, please visit:
http://www.sun.com/software/download/developer/5102.html
For more information about JATO, please visit:
http://developer.iplanet.com/tech/appserver/framework/index.jsp

test

Similar Messages

  • Re: [SunONE-JATO] JatoTutorial

    Fr?d?ric--
    In the case of a GET, all the information required to reconstruct the target
    page is available in the address bar, and thus bookmarks work fine. When
    the user does a POST, the same information does not appear in the address
    bar and bookmarking the page will bookmark the previous page. But this is
    nothing new. Any server code that dynamically decides which page to show
    while processing a POST will have the same or a similar issue, unless it is
    using a type I architecture. Because there are multiple buttons per form,
    and for each button the JATO developer has the freedom to dynamically decide
    which page to show next, there is no way to determine at page rendering time
    the URL that should appear in the form tag.
    One workaround is to change the "method" attribute on the form tag to GET.
    However, there are drawbacks to this approach. First, you cannot send
    nearly as much data with a GET as you can a POST (especially keep this in
    mind when using JATO's page session feature). Second, is it always correct
    for the user to be able to bookmark a page resulting from a POST? For
    example, in the case of the login scenario you mention, or say a credit card
    transaction, possibly not.
    There have always been all sorts of issues with users bookmarking dynamic
    pages (session, data consistency, etc.); this is just one of them.
    As for the jsessionid question, I misunderstood your question. You are
    seeing this because JATO unilaterally uses the encodeURL() method on all
    URLs, including the one in the form tag. This is why you see it on the
    first GET or POST, and it is necessary to make sure the user does not
    bypass the container's session tracking. If you find that it's a problem,
    you can turn off session tracking via URL rewriting, but this of course has
    the consequence of only permitting users using cookies to access the
    application.
    Todd
    ----- Original Message -----
    From: "Fr?d?ric Miserey" <frederic@n...>
    Sent: Sunday, September 15, 2002 12:02 AM
    Subject: Re: [SunONE-JATO] JatoTutorial
    Todd,
    It is "just" an issue because if the user bookmarks the page at that
    point (emails the address, ...), it will go back to the login page, not
    the customer page. If I even encounter such a web-site, I don't come
    back. Bring this issue to Jakob (www.useit.com) and see what he has to
    say ;)
    If .forwardTo has always the same side-effect, this becomes an issue as
    the address bar should reflect the user's location on the site. I've
    never seen this problem while browsing nor while developing apps with
    NAS (99: version2 ?) Of course, a 302 is NOT a solution. Is there a
    work-around ?
    Regarding jsessionid, I knew what it was ;-) but I was wondering why it
    was appearing after "Submit" and going away for good after "Update" (at
    least on IE). Is this another "byproduct" of .forwardTo ?
    Thanx
    Fr?d?ric
    On dimanche, sep 15, 2002, at 04:33 Europe/Paris, Todd Fast wrote:
    Fr?d?ric--
    The behavior you notice is normal for a JATO app, and is a byproduct
    of the
    fact that JATO requests go back to the same object. Any framework or
    architecture that uses this technique will be the same. It is not
    something
    that should cause any issues if that's what you're worried about.
    Note that
    if for some reason you really need to show a particular address in the
    address bar, you can issue a 302 redirect to the client to have it
    load the
    URL of your choice. Note also that you wouldn't want to do that on a
    regular basis since it multiplies the number of requests to the server
    (one
    for the original request and one for the redirected request).
    The jsessionid is the standard session key for J2EE containers. You
    will
    normally always see this on the first URL you get back from the server,
    since the server doesn't know if the client supports cookie-based
    session
    tracking yet. Once the server determines that cookies are supported,
    it
    omits the session key from subsequent URLs. However, if the client
    doesn't
    support cookies, the session key will be added to the URL, a technique
    called "URL rewriting". This was the standard technique for tracking
    session in web apps before cookies were invented or in widespread use.
    Todd
    ----- Original Message -----
    From: "Fr?d?ric Miserey" <frederic@n...>
    Sent: Saturday, September 14, 2002 10:12 AM
    Subject: [SunONE-JATO] JatoTutorial
    I'm ramping up on Jato. Being a good soldier, I followed the tutorial ;
    I noticed a strange thing:
    1 I type in the browser "address zone": (appserver
    root)/JatoTutorial/module1/Login
    2 I enter one of the three valid logins
    3 I hit "Submit"
    4 The Customer jsp is displayed
    BUT the browser "address zone" still shows /Login, not Customer
    5 I hit "Update"
    6 "address zone" now correctly shows /Customer
    Can this (4 BUT) be fixed ?
    Also, on some browsers, in step (4), some browsers (OmniWeb/IE 5.2 -
    not Mozilla 1.2a) ";jsessionid=xyz..." is appended to /Login. Is this a
    feature of Jato, of the appserver I'm using ? (Oracle OC4J 903b)
    I'll try to raise the bar of my questions as time passes ;?)
    Thanx,
    Fr?d?ric
    ps: if you wonder, I'm running all this on a MacOSX notebook ! (I have
    yet to install SunApp 7.0b2 on one of my Solaris boxes ;)
    To download the latest version of JATO, please visit:
    http://www.sun.com/software/download/developer/5102.html
    For more information about JATO, please visit:
    http://developer.iplanet.com/tech/appserver/framework/index.jsp
    <image.tiff>
    >
    >
    To download the latest version of JATO, please visit:
    http://www.sun.com/software/download/developer/5102.html
    For more information about JATO, please visit:
    http://developer.iplanet.com/tech/appserver/framework/index.jsp
    [Non-text portions of this message have been removed]
    To download the latest version of JATO, please visit:
    http://www.sun.com/software/download/developer/5102.html
    For more information about JATO, please visit:
    http://developer.iplanet.com/tech/appserver/framework/index.jsp

    test

  • Re: [SunONE-JATO] Re: How to use a tiled view without a model

    I'm not sure what is different for you now. You still parse the string
    and put it into a data structure. Before the data structure was a
    vector, in JATO its just a model with a "hidden" data structure (a hash
    map).
    MVC only really comes into play when you talk about where your write
    this code, and where the data structure is being stored. So really, JATO
    takes care of half of the MVC'ness of it all (where the data is store).
    You just decide where to be the code to populate the model.
    Make sense?
    Is there something different required of you in JATO in this scenario
    that I am not grasping?
    c
    Hoskins, John D. wrote:
    Thanks for the feedback.
    The problem I was solving involved a single string, which contained
    delimited subsets of information.
    The string looked like
    this:"time|analyst|description|time|analyst|description|..."
    In ND, I parsed it apart into it's components (time vector, analyst vector,
    description vector), populated the repeated.
    With JATO, how would I make a model for something that doesn't have a
    database component like this?
    I'm pretty new to this MVC thing, so bear with me.
    John D. Hoskins
    Telephone & Data Systems
    Application Development & Support
    Voice: 608.664.8263
    Fax: 608.664.8288
    Email: john.hoskins@t...
    -----Original Message-----
    From: Craig V. Conover [mailto:<a href="/group/SunONE-JATO/post?protectID=219212113009229091025149066024064239039098031198039130252055210">craig.conover@s...</a>]
    Sent: 6/26/2002 3.22 PM
    Subject: Re: [SunONE-JATO] Re: How to use a tiled view without a model
    I guess the only thing "weird" (for lack of a better term) about what
    you are doing is that your are populating the model on the "display
    cycle". Typically, the cycle goes like this:
    Request -> populate model -> update data store -> retrieve data to
    populate model -> display data
    some of the above steps are optional but hopefully you get the point I
    am making.
    So what you are doing is:
    Request -> populate model/display data
    If it works for you, then it's not necessarilly wrong. But I would
    probably have my model populated before I forwarded to the target
    (displaying view bean) or at a minimum, in the begin display event of
    the view bean or the tiled view, but not during the iteration of the
    tiled view.
    c
    jhoskins wrote:
    Craig,
    Thanks for the pointers. I ended up doing something else. I set the
    models setSize() method to set the max size, and as the tiles fields
    iterated, populated the value from some vectors I had the data in
    already. Is this solution fraught with peril and will ultimately fail,
    or should I try your way?
    John
    --- Craig V. Conover wrote:
    John,
    Check out the docs for DefaultModel. There is an appendRow() method.
    So get your tiledview's primary model (the tiledview's primary model
    should be set to use an instance of DefaultModel), model.appendRow(),
    then model.setValue("fieldname", value) for each value.
    Rinse, repeat as needed.
    c
    jhoskins wrote:
    I would like to use a tiled view, but populate the fields manually.
    Any pointers about where I can set the size of the tiled view? I tried
    setMaxDisplayTiles() in the beginDisplay, but it won't get down and
    generate the rows.
    John Hoskins
    To download the latest version of JATO, please visit:
    http://www.sun.com/software/download/developer/5102.html
    For more information about JATO, please visit:
    http://developer.iplanet.com/tech/appserver/framework/index.jsp
    To download the latest version of JATO, please visit:
    http://www.sun.com/software/download/developer/5102.html
    For more information about JATO, please visit:
    http://developer.iplanet.com/tech/appserver/framework/index.jsp
    To download the latest version of JATO, please visit:
    http://www.sun.com/software/download/developer/5102.html
    For more information about JATO, please visit:
    http://developer.iplanet.com/tech/appserver/framework/index.jsp
    To download the latest version of JATO, please visit:
    http://www.sun.com/software/download/developer/5102.html
    For more information about JATO, please visit:
    http://developer.iplanet.com/tech/appserver/framework/index.jsp

    Craig,
    Thanks for the pointers. I ended up doing something else. I set the
    models setSize() method to set the max size, and as the tiles fields
    iterated, populated the value from some vectors I had the data in
    already. Is this solution fraught with peril and will ultimately fail,
    or should I try your way?
    John
    --- "Craig V. Conover" wrote:
    John,
    Check out the docs for DefaultModel. There is an appendRow() method.
    So get your tiledview's primary model (the tiledview's primary model
    should be set to use an instance of DefaultModel), model.appendRow(),
    then model.setValue("fieldname", value) for each value.
    Rinse, repeat as needed.
    c
    jhoskins wrote:
    I would like to use a tiled view, but populate the fields manually.
    Any pointers about where I can set the size of the tiled view? I tried
    setMaxDisplayTiles() in the beginDisplay, but it won't get down and
    generate the rows.
    John Hoskins
    To download the latest version of JATO, please visit:
    http://www.sun.com/software/download/developer/5102.html
    For more information about JATO, please visit:
    http://developer.iplanet.com/tech/appserver/framework/index.jsp

  • Re: [SunONE-JATO] Re: Using an object to store and display data

    Personally, I think there is little or no value to creating a "domain"
    object that itself relies on a JATO QueryModel internally, but hides that
    fact and requires use of BeanAdapterModel.
    It would be more appropriate (and much less work, and more scalable) to just
    derive a QueryModel subclass and add the domain-specific behavior to the
    model. In other words, what's the point of creating an object that hides
    JATO inside it when you're running in JATO to begin with? Now if the domain
    object were doing plain JDBC, and thus trying to be JATO independent, that
    would be different. However, you could still implement the Model interface
    on the object (or use BeanAdapterModel) to integrate it seamlessly with the
    View tier.
    Todd
    ----- Original Message -----
    From: "grschroeder" <grschroeder@y...>
    Sent: Wednesday, July 31, 2002 12:00 PM
    Subject: [SunONE-JATO] Re: Using an object to store and display data
    Craig,
    I think it all finally makes sense. First, your assumption is
    correct regarding the process flow. The ViewBean will interact with
    a custom Javabean which will then in turn interact with a SQL Model
    to access the database. So now let me make sure I understand what I
    need to do. Basically the custom Javabean will have a method to get
    the SQLModel. I would then invoke the setValue method on the
    SQLModel and call the appropriate execute method( e.g.,
    executeUpdate, etc. ) just like I would do from a ViewBean. Does
    this sound correct?
    Thanks,
    Greg
    --- In SunONE-JATO@y..., "Craig V. Conover" <craig.conover@s...>
    wrote:
    Greg,
    see below...
    grschroeder wrote:
    Thanks for the help Craig. I looked at the sample code that makes
    use of the BeanAdapterModel. Basically it looks like it allows a
    view to interact with a bean the same way it would interact with
    any
    other model. That part I think I understand.
    This is correct.
    The part I'm a little
    unclear on still is how to interface this BeanAdapterModel( which
    is
    a very basic model ) that I now have with a query model toactually
    interact with the database.
    Not sure what you mean by "interface this BeanAdapterModel ... witha
    query model". Does this mean that you have a ViewBean the interactswith
    a custom JavaBean via the BeanAdpterModel wrapper, and from the
    JavaBean you are interacting with the SQL Model?
    So it looks like this: ViewBean > BeanAdapterModel(Custom JavaBean)
    SQL Model > RDBMS
    That's what I am reading anyway. Please explain this to me.
    Would I need to make direct JDBC calls
    from my custom model instead of letting JATO dynamically create
    the
    calls for me?
    If my assumptions above are correct, then the custom JavaBean cansimply
    use the SQL Model in exactly the same manner as the ViewBean,otherwise,
    if no SQL Model is involved, then yes, you need to handle JDBCdirectly,
    which is fine, if you do it "right" (connection pooling, result set
    handling, etc.).
    Thanks,
    Greg
    --- In SunONE-JATO@y..., "Craig V. Conover" <craig.conover@s...>
    wrote:
    I think the best approach would be to treat your Domain Objects
    (DO) as
    the Database (the enterprise tier) from JATO's perspective. You
    could
    create custom models that interface with our DO's and then the
    JATO
    Views could easily bind to the custom DO models just like anyother
    model. This should eliminate the need for pushing data/objectsfrom
    >
    view
    to model to database.
    There is a JATO class called BeanAdapterModel that might be just
    what
    you need, however, I am not experienced with using it. Maybe
    someone
    else on my team or in the community could better explain how to
    use
    >
    this
    class.
    craig
    grschroeder wrote:
    Venki,
    Thanks for the response. Actually, I'm not sure if I can answer
    all
    of your questions because those are some of the same questions
    that
    we're trying to answer ourselves. Basically, what we're trying
    to
    >do
    is incorporate our domain object model into the JATO framework.
    My
    thinking was that one way we could accomplish this was by
    storing
    >a
    Javabean object in the HTTPSession to represent an object in the
    domain model, and that the Viewbean and JATO Model could get and
    set
    data from there. If you have a better suggestion of how to
    accomplish this, I'm definitely open to hearing it.
    Thanks,
    Greg
    --- In SunONE-JATO@y..., Venki <heyvenki@y...> wrote:
    OK grschroeder , first let me get this straight:
    0. Are you going to pass this object to the model, or are u
    going
    >
    to pass the session object to the model?
    1. Is there any specific reason for this approach you are
    taking?
    2. Will there be a notification from the object u havementioned
    >to
    have the model persist the data?
    3. What about the reverse case, when the model refreshes the
    data,
    how are you going to refresh you object?
    4. The JavaBean Object that u are talking about, is it your own
    object or is it implementation of an existing JATO interface?
    ~Venki
    grschroeder wrote:I'm fairly new to JATO, but I think I now
    have
    >a
    basic understanding
    of how Viewbeans and Models interact. However, I want to
    incorporate
    the use of a Javabean object that will be stored in the HTTP
    session
    and will act as the connection between the Viewbean and Model
    instead
    of having the Viewbean and Model interact directly with each
    other.
    Basically I would like to have the Model set data in the object
    stored in the session so that the Viewbean can pull it out to
    display
    it. And vice versa, once the user modifies the data and is
    ready
    >
    to
    persist it, I would like to have the Viewbean set data in the
    object
    stored in the session so that the Model can pull it out to
    store
    >it
    in the database. I'm not sure what the best approach would be
    to
    accomplish this. Any help you could give would be greatly
    appreciated.
    Thanks,
    Greg
    To download the latest version of JATO, please visit:
    http://www.sun.com/software/download/developer/5102.html
    For more information about JATO, please visit:
    http://developer.iplanet.com/tech/appserver/framework/index.jsp
    Service.
    Venki
    IT Solutions
    #6, Pycrofts Garden Road, Nugambakkam, Chennai - 600 006
    91-44-4925740(Home) 91-44-8212877(Work)
    * Luck is what happens when Preparation meets Opportunity.
    To download the latest version of JATO, please visit:
    http://www.sun.com/software/download/developer/5102.html
    For more information about JATO, please visit:
    http://developer.iplanet.com/tech/appserver/framework/index.jsp
    >To download the latest version of JATO, please visit:
    http://www.sun.com/software/download/developer/5102.html
    For more information about JATO, please visit:
    http://developer.iplanet.com/tech/appserver/framework/index.jsp
    To download the latest version of JATO, please visit:
    http://www.sun.com/software/download/developer/5102.html
    For more information about JATO, please visit:
    http://developer.iplanet.com/tech/appserver/framework/index.jsp

    Personally, I think there is little or no value to creating a "domain"
    object that itself relies on a JATO QueryModel internally, but hides that
    fact and requires use of BeanAdapterModel.
    It would be more appropriate (and much less work, and more scalable) to just
    derive a QueryModel subclass and add the domain-specific behavior to the
    model. In other words, what's the point of creating an object that hides
    JATO inside it when you're running in JATO to begin with? Now if the domain
    object were doing plain JDBC, and thus trying to be JATO independent, that
    would be different. However, you could still implement the Model interface
    on the object (or use BeanAdapterModel) to integrate it seamlessly with the
    View tier.
    Todd
    ----- Original Message -----
    From: "grschroeder" <grschroeder@y...>
    Sent: Wednesday, July 31, 2002 12:00 PM
    Subject: [SunONE-JATO] Re: Using an object to store and display data
    Craig,
    I think it all finally makes sense. First, your assumption is
    correct regarding the process flow. The ViewBean will interact with
    a custom Javabean which will then in turn interact with a SQL Model
    to access the database. So now let me make sure I understand what I
    need to do. Basically the custom Javabean will have a method to get
    the SQLModel. I would then invoke the setValue method on the
    SQLModel and call the appropriate execute method( e.g.,
    executeUpdate, etc. ) just like I would do from a ViewBean. Does
    this sound correct?
    Thanks,
    Greg
    --- In SunONE-JATO@y..., "Craig V. Conover" <craig.conover@s...>
    wrote:
    Greg,
    see below...
    grschroeder wrote:
    Thanks for the help Craig. I looked at the sample code that makes
    use of the BeanAdapterModel. Basically it looks like it allows a
    view to interact with a bean the same way it would interact with
    any
    other model. That part I think I understand.
    This is correct.
    The part I'm a little
    unclear on still is how to interface this BeanAdapterModel( which
    is
    a very basic model ) that I now have with a query model toactually
    interact with the database.
    Not sure what you mean by "interface this BeanAdapterModel ... witha
    query model". Does this mean that you have a ViewBean the interactswith
    a custom JavaBean via the BeanAdpterModel wrapper, and from the
    JavaBean you are interacting with the SQL Model?
    So it looks like this: ViewBean > BeanAdapterModel(Custom JavaBean)
    SQL Model > RDBMS
    That's what I am reading anyway. Please explain this to me.
    Would I need to make direct JDBC calls
    from my custom model instead of letting JATO dynamically create
    the
    calls for me?
    If my assumptions above are correct, then the custom JavaBean cansimply
    use the SQL Model in exactly the same manner as the ViewBean,otherwise,
    if no SQL Model is involved, then yes, you need to handle JDBCdirectly,
    which is fine, if you do it "right" (connection pooling, result set
    handling, etc.).
    Thanks,
    Greg
    --- In SunONE-JATO@y..., "Craig V. Conover" <craig.conover@s...>
    wrote:
    I think the best approach would be to treat your Domain Objects
    (DO) as
    the Database (the enterprise tier) from JATO's perspective. You
    could
    create custom models that interface with our DO's and then the
    JATO
    Views could easily bind to the custom DO models just like anyother
    model. This should eliminate the need for pushing data/objectsfrom
    >
    view
    to model to database.
    There is a JATO class called BeanAdapterModel that might be just
    what
    you need, however, I am not experienced with using it. Maybe
    someone
    else on my team or in the community could better explain how to
    use
    >
    this
    class.
    craig
    grschroeder wrote:
    Venki,
    Thanks for the response. Actually, I'm not sure if I can answer
    all
    of your questions because those are some of the same questions
    that
    we're trying to answer ourselves. Basically, what we're trying
    to
    >do
    is incorporate our domain object model into the JATO framework.
    My
    thinking was that one way we could accomplish this was by
    storing
    >a
    Javabean object in the HTTPSession to represent an object in the
    domain model, and that the Viewbean and JATO Model could get and
    set
    data from there. If you have a better suggestion of how to
    accomplish this, I'm definitely open to hearing it.
    Thanks,
    Greg
    --- In SunONE-JATO@y..., Venki <heyvenki@y...> wrote:
    OK grschroeder , first let me get this straight:
    0. Are you going to pass this object to the model, or are u
    going
    >
    to pass the session object to the model?
    1. Is there any specific reason for this approach you are
    taking?
    2. Will there be a notification from the object u havementioned
    >to
    have the model persist the data?
    3. What about the reverse case, when the model refreshes the
    data,
    how are you going to refresh you object?
    4. The JavaBean Object that u are talking about, is it your own
    object or is it implementation of an existing JATO interface?
    ~Venki
    grschroeder wrote:I'm fairly new to JATO, but I think I now
    have
    >a
    basic understanding
    of how Viewbeans and Models interact. However, I want to
    incorporate
    the use of a Javabean object that will be stored in the HTTP
    session
    and will act as the connection between the Viewbean and Model
    instead
    of having the Viewbean and Model interact directly with each
    other.
    Basically I would like to have the Model set data in the object
    stored in the session so that the Viewbean can pull it out to
    display
    it. And vice versa, once the user modifies the data and is
    ready
    >
    to
    persist it, I would like to have the Viewbean set data in the
    object
    stored in the session so that the Model can pull it out to
    store
    >it
    in the database. I'm not sure what the best approach would be
    to
    accomplish this. Any help you could give would be greatly
    appreciated.
    Thanks,
    Greg
    To download the latest version of JATO, please visit:
    http://www.sun.com/software/download/developer/5102.html
    For more information about JATO, please visit:
    http://developer.iplanet.com/tech/appserver/framework/index.jsp
    Service.
    Venki
    IT Solutions
    #6, Pycrofts Garden Road, Nugambakkam, Chennai - 600 006
    91-44-4925740(Home) 91-44-8212877(Work)
    * Luck is what happens when Preparation meets Opportunity.
    To download the latest version of JATO, please visit:
    http://www.sun.com/software/download/developer/5102.html
    For more information about JATO, please visit:
    http://developer.iplanet.com/tech/appserver/framework/index.jsp
    >To download the latest version of JATO, please visit:
    http://www.sun.com/software/download/developer/5102.html
    For more information about JATO, please visit:
    http://developer.iplanet.com/tech/appserver/framework/index.jsp
    To download the latest version of JATO, please visit:
    http://www.sun.com/software/download/developer/5102.html
    For more information about JATO, please visit:
    http://developer.iplanet.com/tech/appserver/framework/index.jsp

  • TS1702 ?Some of my applications have been saying I need the latest version of Adoebe Flash Player.  When I try to download it I get the following error message:  'Frame Load interrupted' and the installation stops.  Any suggestions

    Some of my applications have been saying I need the latest version of Adoebe Flash Player.  When I try to download it I get the following error message:  'Frame Load interrupted' and the installation stops.  Any suggestions?

    You can only use apps downloaded from the App store, not via a browser. There is no Flash for any iOS device including the iPod.

  • Failed to load resource: Frame load interrupted error on ICS file link

    When clicking a link to an ICS iCal file on a webpage the error console shows a "Failed to load resource: Frame load interrupted" error. Can someone independently confirm this?
    The file is downloaded, however, but it does not automatically open in iCal like it should. The console error is fairly new, perhaps in the latest update? We've been trying to get Safari to automatically attempt to open ICS files in Calendar for several months, with various headers and such, without seeing that error. Now we've got two problems.
    I read a post somewhere that this error is related to downloading files with "fake" URLs. We have been trying to deliver an ICS file straight from a PHP script, but I have also tested a link directly to an actual ICS file and get the same error.
    Fritz

    You can't download any file from any web page?

  • Failed to load resource: Frame load interrupted error

    Whenever I click on a link to download a browser extension or anything in Safari it looks like the item is downloading but then it quits.  There is a 'Failed to load resource: Frame load interrupted' error in the web developer console.  In regards to the Safari browser extension, the header is set to 'application/octet-stream'.  Has anyone seen this?  It is happening in Safari 6.0 and 6.1.

    You can't download any file from any web page?

  • Failed to load resource: Frame load interrupted

    OSX 10.6.4
    Safari 5.0.1
    Clicking on a link to download a file in many different pages gives the error message: "Failed to load resource: Frame load interrupted" in the error console from the developers menu. This happens on many different pages. I reset Safari, repaired permissions, etc. Thanks!

    Sorry for the late reply. I was searching for this error message myself and wound up back here, on work time no less!
    This appears to be a bug/feature of Safari or one of the recent security updates. I am working on a web site where users download files and Safari is giving me this error. My production site also gives me this error and I would have noticed that earlier. It must be from the recent security update.
    The cause is when a web site broadcasts a "fake" link to a file. You click on the link and a script, behind the scenes, generates the appropriate HTTP headers for the file you can and sends said file back to the user. I guess technically the frame load is being interrupted. I will have to investigate further, but there does not appear to be any error or problem. If I can't find anything I've done wrong or could do better, I will file a bug report on it.

  • "Frame Load Interrupted" error when attempting to add to Passbook

    I just got a postcard from Ford Motor Co. announcing the new Mobile Member Card.  To start, I had to read the QR code printed on the postcard using my iPhone. I was then taken to a page and directed to fill in my member number (on the postcard), e-mail and last name. I then clicked "Submit," and was taken to another page instructing me to click on the "Passbook" icon in order to add my new Mobile Member Card to my phone's Passbook. I clicked it, and got an error box: "Frame Load Interrupted." This happened to me three more times, even after I reset my Safari prefs. to "always" accept cookies.  Is there a glitch in Passbook? Is it my iPhone? Have yet to upgrade to iOS7 for fear of losing functionality of many if not most of my apps--same reason I'm not giving up my iPhone 4S for a 5S.  I am currently running the most recent update of iOS 6.1.
    Please advise.

    You are using VMM 2012 R2. What version is the cluster you try to add?
    I have seen odd behavior when VMM 2012 R2 is running on Windows Server 2012, and not Windows Server 2012 R2.
    What's happening then, is that when VMM is using Windows native powershell modules, it is using 2012 versions instead of 2012 R2, which doesn't goes too well with your cluster if that is 2012 R2.
    Can you confirm whether this is true or not in your environment?
    Also, you should investigate in the logs on VMM and the cluster to see if anything is not working as expected.
    -kn
    Kristian (Virtualization and some coffee: http://kristiannese.blogspot.com )

  • RE: [SunONE-JATO] handle...Request() - in different TiledView?

    I need probably to reorder Parent-Child relationships,
    I have now
    - ViewBean
    ---MenuItemsTiledView.class
    ---OrderCacheTiledView.class
    ---Button.class (append)
    I will try to have
    - ViewBean
    ---MenuItemsTiledView.class
    ------OrderCacheTiledView.class
    ---------Button.class (append)
    And I will have to change:
    <jato:tiledView name="MenuItems"
    <jato:tiledView name="OrderCache"
    <go method="post" href="<%=response.encodeURL
    ("../member/MenuItems") %>">
    <postfield name="MenuItems.append" value=""/>
    <postfield name="MenuItems.menuItemId"
    value="<jato:getDisplayFieldValue
    name='MenuItemId'/>" />
    </go>
    I think it is strict rule to have the same parent-child relationships in
    JSP like as in classes
    May I have more freedom like as with <jato:text name="...">, where name
    could be relative (to parent, to container), absolute?
    Fuad
    -----Original Message-----
    From: Fuad Efendi [mailto:<a href="/group/SunONE-JATO/post?protectID=230075113150035198105038066208231165163158211254234113172006048205015246">fuad.efendi@s...</a>]
    Sent: Friday, May 17, 2002 12:02 PM
    Subject: [SunONE-JATO] handle...Request() - in different TiledView?
    Hello,
    I use ViewBean, and two child TiledViews (WML sample).
    <jato:tiledView name="TiledView1"
    type="mobiledb.member.MenuItemsTiledView">
    <go method="post" href="<%=
    response.encodeURL("../member/MenuItems") %>">
    <postfield name="MenuItems.append" value=""/>
    <postfield name="MenuItems.menuItemId"
    value="<jato:getDisplayFieldValue name='MenuItemId'/>" />
    </go>
    I think, "handleAppendRequest()" will work within TiledView1 (I didn't
    try yet, I have this handler in ViewBean).
    But, logically, better place for it is TiledView2 which contains cached
    appended records...
    I can have handler in ViewBean redirecting into TiledView2 of course,
    What is the best way?
    Thanks,
    Fuad
    To download the latest version of JATO, please visit:
    http://www.sun.com/software/download/developer/5102.html
    For more information about JATO, please visit:
    http://developer.iplanet.com/tech/appserver/framework/index.jsp
    [Non-text portions of this message have been removed]

    Sorry for mistake with index,
    <postfield name="MyJspPage.MyTiledView[2].Append" value=""/>
    -----Original Message-----
    From: Fuad Efendi [mailto:<a href="/group/SunONE-JATO/post?protectID=230075113150035198105038066208231165163158211254234113172006048205015246">fuad.efendi@s...</a>]
    Sent: Saturday, May 18, 2002 12:42 PM
    Subject: RE: [SunONE-JATO] handle...Request() - in different TiledView?
    OK, I solved it (for WML),
    If I use "virtual buttons" on JSP page (within <jato:tiledView.../>
    tag), and this buttons are child of MyTiledView class (which is child of
    MyViewBean), I can use
    <postfield name="MyJspPage.MyTiledView.Append[2]" value=""/>
    for emulation of button.
    I don't use MyViewBean.MyTiledView.Append[2]!
    Next step: I have to understand what to do with index in
    MyTiledView.handleAppendRequest... Code seems harder than putting Button
    and Handler in main MyViewBean...
    [Non-text portions of this message have been removed]

  • Sorting JTable on Frame Load

    Hi All,
    I have a column in JTable that have Fault column.It contains mixed value like Critical fault,Normal Fault and
    Info fault.I want to sort table on frame load as per visibility of user set by admin.For example if Admin set its
    visibility for critical fault and normal fault then he must be able to see both these rest fault will not be visible.
    If admin allows only normal and info fault then he will be able to view only these.I am trying to do it on constructor.
    Can anybody suggest me how it can be done.I want do do it without hitting any event.It should be done on
    constructor load.
    With Regards
    Prabhash Mishra

    See the tutorial: http://docs.oracle.com/javase/tutorial/uiswing/components/table.html#sorting

  • Getting error "Frame Load interrupted"

    I was wondering if anyone could help me, I am unable to download alot of things from the internet. I can't download firefox or any quicktime update or add-on. every time i try to the page stops and i get the message there is one error on the page. when i check the activity it says "Frame Load Interrupted"

    Ok..
    Since this started after the update, perhaps you have a third party Safari add on installed that was compatible with the prior version of Safari but not 5.1
    Safari: Unsupported third-party add-ons may cause Safari to unexpectedly quit or have performance issues
    And try turning off extensions. Safari / Preferences - Extensions.

  • Frame Load Interrupted

    What does this mean when it comes up in my activities folder? How can I fix this because it is preventing me from downloading any programs.
    12" PowerBook G4   Mac OS X (10.4.7)  

    Might be an issue with the MIME type.  I got a similar error when trying to download a CSV file with a wonky mime type: it would download fine in IE but Safari would give me a 'Frame load interrupted' error (although I did get my file).  You probably want to make sure the MIME type (or Content Type) for the page is text/html.  Something like application/html may make Safari decide to download it.

  • 'Frame Load Interruped'

    I get an error message that says 'Frame Load Interruped' when I try to download an ebook that is hosted at a url as an ePub. Has anyone had experience with this error?

    Hi again Suresh
    Happy to help if I can.
    For what it's worth, I would interpret someone saying to
    provide a Flash Self running file as meaning .EXE output.
    No, MenuBuilder won't aid in combining two or more .EXE files
    into a single .EXE file. What MenuBuilder does is to simply provide
    a front end menu that can be used to launch different Captivate
    movies. In much the same manner as a single web page may be used to
    link to different pages.
    Cheers... Rick

  • [SunONE-JATO] ModelTypeMapInfo

    Rajiv,
    (I renamed the subject to make it easier to follow)
    The ModelTypeMapImpl is for mapping model interfaces to the model's
    implementation so that you can get a reference to the model impl by
    using is interface name.
    This is from the javadocs for ModelTypeMap (an interface that
    ModelTypeMapBase implements which is the super class for ModelTypeMapImpl):
    * Allows for the mapping of a <code>Model</code> interface to a class that
    * implements that interface. This class is used by the
    <code>ModelManager</code>.
    * Each JATO application should have a single implementation of this
    interface.
    Now this class was used predominately in JATO 1.2 and prior. In JATO
    2.0, its use is no longer "pushed" but can still serve a purpose for
    those who wish to use it. The reason it is not used in JATO 2.0 so much,
    is that the IDE tools only generate one Model file (the implementation
    which no longr carries the Impl suffix), and therefore, a mapping is not
    necessary. It was not actually necessary in pre 2.0 apps either, we were
    just encouraging its use for better decoupling of the Views from the Models.
    Hope that helps.
    I will answer the ListBox question in a separate thread.
    craig
    rajiv menon wrote:
    I am new to JATO
    can u pls tell me the usage of this file...
    ModelTypeMapImpl.java
    and can u tell me which method to call to populate a
    listbox with some data recieved from the database.
    To download the latest version of S1AF (JATO), please visit one of the
    following locations:
    Framework + IDE plugin for Sun ONE Studio 4 Update 1, Community Edition:
    http://wwws.sun.com/software/download/products/Appl_Frmwk_2.0_CE.html
    Framework + IDE pluign for Sun ONE Studio 4 Update 1, Enterprise Edition:
    http://wwws.sun.com/software/download/products/Appl_Frmwk_2.0_EE.html
    Previous versions of JATO:
    http://www.sun.com/software/download/developer/5102.html

    Hi Todd,
    I'm not sure I fully understand what the scope of a request is.....
    But I can tell you that if I allow getDisplayFieldValue() to return a
    string the string it prints is the string equivalent of the Node
    Object I originally passed in. It is definately saving and
    retrieving the correct data it is just converting it to a string
    somewhere along the way.
    Thanks,
    Lucy
    --- In SunONE-JATO@y..., Todd Fast <Todd.Fast@S...> wrote:
    When are you calling getDisplayFieldValue()? Is it within the same request?
    >
    Todd
    ----- Original Message -----
    From: "lucymbrophy" <lucy.brophy@s...>
    Sent: Friday, May 24, 2002 3:32 AM
    Subject: [SunONE-JATO] getDisplayFieldValue()
    Hi all,
    I am using setDisplayFieldValue() and am passing in a String and
    an
    Object. The object is of type class=Node
    However, when I call getDisplayFieldValue() on the same display field
    the Object that is returned to me is of type class=String. This
    means that I can't cast it back to a Node.
    Anybody have any ideas where I'm going wrong? Is this the expected
    behaviour?
    Thanks,
    Lucy Brophy
    To download the latest version of JATO, please visit:
    http://www.sun.com/software/download/developer/5102.html
    For more information about JATO, please visit:
    http://developer.iplanet.com/tech/appserver/framework/index.jsp

Maybe you are looking for

  • Pdf viewing problem

    Grey screen when trying to open PDF, get error 103:103, tried all solutions on forum but no joy. When try and open Adobe Reader x on desktop only get error message asking me to report this to microsoft. Tried, uninstalling etc, updating, tried in bot

  • Formatting HTML

    Why are the HTML Table Cell Attributes limited to bgcolor? I tried cellpadding=10 and border=1 and they had no effect. Doesn't seem like coding would be too complicated for this.

  • Firefox does not remember history-why?

    Hi guys! My firefox does not remember any history at all. Of course the privacy settings say: " remember history". Everything else (bookmarks and such work fine. I have done a "reset firefox" twice; no change. There is an article from someone with si

  • SDM Debug mode

    Hello , I have started Debug mode ON for SDM and after that SDM is not starting ... Does anyone know how to make Debug mode OFF for SDM ?? Thanks! Amit

  • Iphone 4 with 10.4.1

    Is there any way to use itunes to access an iphone 4 when my os is 10.4.11?