ABAP Shared Objects - External Reference

Hi,
I am using ABAP SHared Objects (SHMA and SHMM) as data persistence between 2 BSP Applications
I want to create a generic Root class with one attribute that is TYPE REF TO OBJECT. The idea is to store any class instance in this attribute of the Root class so as to AVOID creating a seperate Shared AREA for each Class...
WHen I try to put this generic Root Class in the shared area via detach_commit(), it gives a exception that there are External references in the Shared area which should be closed first
Does this mean u cannot have a instance variable as an attribute in your ROOT Class.
Thanks
SAP User

Hi,
Go through the below code, it's working fine....
*& Report  Z13708_ABAPOBJECTS_INHER
REPORT  Z13708_ABAPOBJECTS_INHER.
      CLASS C1 DEFINITION
CLASS C1 DEFINITION.
  PUBLIC SECTION.
    data: var1 type ref to object.
    METHODS: METH1.
ENDCLASS.                    "C1 DEFINITION
      CLASS C1 IMPLEMENTATION
CLASS C1 IMPLEMENTATION.
  METHOD METH1.
    WRITE: / 'This is a method one'.
  ENDMETHOD.                                                "METH1
ENDCLASS.                    "C1 IMPLEMENTATION
      CLASS C2 DEFINITION
CLASS C2 DEFINITION.
  PUBLIC SECTION.
    METHODS: METH2.
ENDCLASS.                    "C2 DEFINITION
      CLASS C2 IMPLEMENTATION
CLASS C2 IMPLEMENTATION.
  METHOD METH2.
    WRITE: / 'This is a method two'.
  ENDMETHOD.                                                "METH2
ENDCLASS.                    "C2 IMPLEMENTATION
START-OF-SELECTION.
  DATA REF1 TYPE REF TO C1.
  DATA REF2 TYPE REF TO C2.
  CREATE OBJECT REF2.
  ref1->var1 ?= ref2.
Regards,
Azaz Ali.

Similar Messages

  • ABAP Shared Objects & POWL

    Hello,
    I have created a POWL and in the get_objects I am fetching the objects from the ABAP shared memory. I have created a shared memory area 'zcl_shm_area_01'and a root class 'zcl_shm_area_root_01' for it, also i have implemented the method build of the interface if_shm_build_instance to enable auto-preload.
    Whenever I create a new query or refresh an exisiting query after a change i get an exception cx_shm_inconsistent.
    within the get_objects method i first try to read_from_memory by getting a handle to the root area and reading the attributes from it, only if the selection criteria of the query changes i do a update_from_memory to refresh my shared memory area with the latest data from the DB and show the same in the POWL.
    Can anyone please help me resolve this issue?
    Let me know if further inputs are required.
    Regards,
    Shweta

    Hi Shweta,
    The exception cx_shm_inconsistent is occuring due to that fact that the already existing shared memory instances root is being changed when the selection criteria gets changed.
    inorder to avoid this exception, what you can do, is to delete the already existing shared memory instance and create a new instance and store the new data in it.
    Hope this solves your problem.
    Regards
    Ajith V

  • ABAP Shared Objects

    Hi,
    I'm working on Shared Memory Objects.
    I would like to know if there's a way to create Shared Memory Areas (transaction: SHMA) by code.
    Till now, i didn't found a solution for this.
    Thanks,
    Fábio Ramalho.

    Hi,
    [Shared Objects - Implementation|http://help.sap.com/saphelp_nw2004s/helpdata/en/c5/85634e53d422409f0975aa9a551297/frameset.htm]
    [Check this one Ref link|Shared Objects/Memory (SHMA);
    For Text tables, "Reading" the Shared Objects would be easy, but "Updating" would not be that easy.
    To update the shared object, you need to open the ojbect for update from all the places from where the text table is being updated. E.g. MAKT from the Material Master (and somewhere else, I don't know).
    Shared Objects would be good when you are not dealing with the data which can be directly updated from Production. E.g. Configuration data.
    Regards,
    koolspy.

  • Large shared objects

    Hi,
    we think about using ABAP shared objects in parallel processing to avoid reading the same data from the DB for every parallel process.
    Currently we have 15MB shared memory configured according to SHMM.
    My Questions:
    1. How do we extend the shared memory? What is the limit?
    2. Does anyone have experience with large shared objects? (1-2GB)
    Thanks in advance
    regards
    Steffen

    Hi Steffen,
    the parameter is abap/shared_objects_size_MB, the limit is defined by your available memory.
    I have seen sizes with 8 GB in production so far.
    Regarding the big shared objects: Carefully think about who is reading and writing and when
    these actions happen. With versioning you can easily have a much higher memory consumption
    since update requests will create a new version while readers attached to the old version
    keep the old version alive. Besides that i haven't seen much trouble with shared objects so far,
    but maybe other people have other experiences.
    Please share your experients with us if you use the shared objects.
    Kind regards,
    Hermann

  • Add ABAP program: validating package - error accessing shared objects-area

    When adding a new program or browsing the packages in eclipse i get an "error accessing shared objects-area".
    I can edit, save and run existing ABAP reports, however.
    There was a similar problem here, regarding database procedure proxies but the solution doesn't apply to my problem, i guess. The solution was about creating the shared memory area CL_RIS_SHM_AREA. I can't access the memory area and start the constructor, as it doesn't show up on the monitor.
    ADT 2.28
    Eclipse 4.3
    Netweaver 7.31 SP4 -> is this really compatible with ADT 2.28?
    Thanks in advance for helpful hints,
    Julian

    HI Julian,
    if the area doesn't show up in the monitor, please try to start the constructor in transaction SHMM on your own by selecting the icon 'Start Constructor' as shown in the screenshot.
    Choose CL_RIS_SHM_AREA as area, select 'Default Instance' and 'Dialog' as execution mode. Then press 'Create'. Either this works or the system will tell you the issue with the instance creation (e.g. insufficient shared objects memory - see the other solution description).
    Best regards, Sebastian

  • Shared Objects "cx_shm_external_reference" exception

    Hi all,
    i need to store an external reference in a shared object. I have a method of the class A which has a reference as import parameter. Is it possible to store this reference in a stored object so that i have access to this reference from another class B?
    With the following code i get the "cx_shm_external_reference" exception, when calling detach_commit() method.
    DATA: lo_handle TYPE REF TO zcl_server_shared_obj,
            lo_root TYPE REF TO zcl_server_shared_obj_root.
      TRY.
          lo_handle = zcl_server_shared_obj=>attach_for_write( ).
          CREATE OBJECT lo_root AREA HANDLE lo_handle.
          lo_handle->set_root( lo_root ).
          lo_root->go_server = io_server.
          CALL METHOD lo_handle->detach_commit.
        CATCH cx_shm_exclusive_lock_active
          cx_shm_version_limit_exceeded
          cx_shm_change_lock_active
          cx_shm_parameter_error
          cx_shm_pending_lock_removed
          cx_shm_wrong_handle
          cx_shm_already_detached
          cx_shm_secondary_commit
          cx_shm_event_execution_failed
          cx_shm_external_reference
          cx_shm_completion_error
      ENDTRY.
    Thanks, Florian
    Edited by: Florian Halder on Jun 4, 2009 1:26 PM

    Shared objects have to be self-contained. You cannot have references that point outside the shared object.
    Cheers
    Graham Robbo

  • Parallel ABAP programming while using references

    Hi SCN,
    first of all the context of my problem, to get to its root:
    I have created a kind of Framework (object oriented), which later on will provide an easy way to set up Charts in a Dashboard.
    Put simply, the framework works like this:
    There is a interface for the source of the data and customizing to be shown in the chart, with the methods 'get_data' and 'get_customizing'.
    You can simply implement the specific interface in a class, which therefore is a 'source object' for the chart classes later on (getting the Chart Customizing and the Chart data using the defined methods mentioned above). The chart classes use the functionality of CL_GUI_CHART_ENGINE.
    This concept works fine so far.
    But I added a quite important feature - every chart should be refreshed after some time. Therefore I use the class CL_GUI_TIMER, which triggers the refreshing after some time. The problem is: if there are for instance two graphs shown and the first one is refreshing it's data (so the 'get_data' method of the source object is processed, which could mean there are some select statements implemented and therefore need some time). WHILE this is processing, the time may has come for the second graph to refresh (so CL_GUI_TIMER raises the 'finished' event) - so the event will be fired, but the handler method for the won't be executed, because the first chart is currently processing the GET_DATA method. This means, nothing happens when the second chart should be refreshed.
    Fine, I told myself, parallel programming could easily fix this (later on, I figured out I was horribly mistaken (comment: I had no experience in parallel programming in ABAP so far)).
    My intention was to give every chart object a separate 'thread', so they wouldn't be in each others ways (and thereby, as a side effect, the whole construct would gain some performance).
    Finally we got to the actual problem:
    There my problems started - the only way, to do some parallel programming in ABAP seems to be function modules using RFC (event though I always want to stay on the same application server). So the 'parallel thread' has to be a RFC function module - which means, there is no possibility for me to supply some object references to the function module (in my example, this would be the graph objects). So far I tried to do some workarounds like:
    - using serialization, whereby I give the serialized objects into the function module as a string and rebuild it in there, which would work fine, if there where no attributes of objects, that are not serialize-able, in the chart objects (like a instance of CL_GUI_TIMER and some more).
    - using shared objects, which gives me a way to access the object from the function module as well. But - there is no way to use event-handler methods in shared objects classes. So if I mark the 'Root class' of the chart classes as shared memory-enabled in SE24, I can't activate it, because it contains some event-handler methods (for example the one that reacts on the 'finished' event of CL_GUI_TIMER).
    Now I'm running out of ideas, how I could solve my problems and use parallel programming in ABAP actually using references and all the object oriented features I need (events, interfaces, inheriting and so on).
    Does someone of you out there have any idea how I could fix this - if there may is another way of parallel programming in ABAP, or another way to access objects using RFC function modules, or anything else?
    I really appreciate any hint you could give me.
    Let me know, if you need some more information.
    Thank you very very much for your help and best regards
    Sebastian

    As you said RFC Enabled function modules are the only way to enable parallel processing.
    Your event handler for the 'finished' event of your timer can call an RFC FM with another method on the class being performed when it's done:
    CALL FUNCTION func STARTING NEW TASK task
                  [DESTINATION {dest|{IN GROUP {group|DEFAULT}}}]
                  parameter list
                  CALLING meth ON END OF TASK].
    You can pass in what you need for the select and get back the results. Then the method you call 'on end of task' can perform the rest of the refresh. If you want to stick to mostly OO concepts then the RFC function module could just be a wrapper for a static method on your class which gathers data for your refresh...

  • Using Shared Object Libraries

    How (or what) do we set when using shared object libraries?
    We have Java Native Methods which are implemented using C++ and stored in shared object libraries. We can build our project, but when trying to execute the project, the shared object libraries are not found. We had tried to set the external execution settings to include the library paths, but nothing seems to take affect.
    What do we need to set to run with the shared object libraries?

    RK,
    I appreciate your responce, hopefully we'll get this worked out. I will try to give you as much information as I can so you will hopefully understand the problem.
    We have added a Library Reference to our project - which is a jar file - this jar file contains our Business Objects which are implemented in Java. Within this Library Reference, there is a Java class which has a Native method. The method is implemented in C++ The C++ implementation of this method is within a C++ shared object library (libname.so).
    How do we let Creator know that we need to link in this C++ Shared Object Library at run time?
    The Modifers Properties for the method in the library reference are correctly set - that is they are set to Native. For a method within a java element, selecting or un-selecting this modifier simply changes the method declaration. It does not tell Creator where the actual implementation is (shared object library in this case).
    As originally stated, we tried to include our shared object library in the Execution Property of the properties window for the Java Element. Here is what we have done so far - all unsuccessful....
    Under the External Execution Property - we added the environment variable LD_LIBRARY_PATH set to our shared object library path. We also selected the Append Environment Variable (set to true). We are not able to modify the Library Path of the External Execution Property - it will not allow changes - all buttons are disabled in the pop up window.
    There are no properties for the Internal Execution within the Executor Properties, so there is nothing we can set there.
    We have tried to set the Debugger Execution properties in the same manner as the External Execution properties to run the project in Debug mode - and have the same problem - while executing the project, we get the error message which indicates that our shared object library can not be found.
    There are no property settings available on the J2EE Server Execution Properties to set.
    What do we need to set so that this Shared Object Library will be located during execution of our project under SJSC?
    Thank you for any suggestions you may have.
    --Scott                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Exception handling is not working in GCC compile shared object

    Hello,
    I am facing very strange issue on Solaris x86_64 platform with C++ code compiled usging gcc.3.4.3.
    I have compiled shared object that load into web server process space while initialization. Whenever any exception generate in code base, it is not being caught by exception handler. Even though exception handlers are there. Same code is working fine since long time but on Solaris x86, Sparc arch, Linux platform
    With Dbx, I am getting following stack trace.
    Stack trace is
    dbx: internal error: reference through NULL pointer at line 973 in file symbol.cc
    [1] 0x11335(0x1, 0x1, 0x474e5543432b2b00, 0x59cb60, 0xfffffd7fffdff2b0, 0x11335), at 0x11335
    ---- hidden frames, use 'where -h' to see them all ----
    =>[4] __cxa_throw(obj = (nil), tinfo = (nil), dest = (nil), , line 75 in "eh_throw.cc"
    [5] OBWebGate_Authent(r = 0xfffffd7fff3fb300), line 86 in "apache.cpp"
    [6] ap_run_post_config(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0x444624
    [7] main(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0x42c39a
    I am using following link options.
    Compile option is
    /usr/sfw/bin/g++ -c -I/scratch/ashishas/view_storage/build/coreid1014/palantir/apache22/solaris-x86_64/include -m64 -fPIC -D_REENTRANT -Wall -g -o apache.o apache.cpp
    Link option is
    /usr/sfw/bin/g++ -shared -m64 -o apache.so apache.o -lsocket -lnsl -ldl -lpthread -lthread
    At line 86, we are just throwing simple exception which have catch handlers in place. Also we do have catch(...) handler as well.
    Surpursing things are..same issue didn't observe if we make it as executable.
    Issue only comes if this is shared object loaded on webserver. If this is plain shared object, opened by anyother exe, it works fine.
    Can someone help me out. This is completly blocking issue for us. Using Solaris Sun Studio compiler is no option as of now.

    shared object that load into web server process space
    ... same issue didn't observe if we make it as executable.When you "inject" your shared object into some other process a well-being of your exception handling depends on that other process.
    Mechanics of x64 stack traversing (unwind) performed when you throw the exception is quite complicated,
    particularly involving a "nearly-standartized" Unwind interface (say, Unwind_RaiseException).
    When we are talking about g++ on Solaris there are two implementations of unwind interface, one in libc and one in libgcc_s.so.
    When you g++-compile the executable you get it directly linked with libgcc_s.so and Unwind stuff resolves into libgccs.
    When g++-compiled shared object is loaded into non-g++-compiled executable's process _Unwind calls are most likely already resolved into Solaris libc.
    Thats why you might see the difference.
    Now, what exactly causes this difference can vary, I can only speculate.
    All that would not be a problem if _Unwind interface was completely standartized and properly implemented.
    However there are two issues currently:
    * gcc (libstdc++ in particular) happens to use additional non-standard _Unwind calls which are not present in Solaris libc
    naturally, implementation details of Unwind implementation in libc differs to that of libgccs, so when all the standard _Unwind
    routines are resolved into Solaris version and one non-standard _Unwind routine is resolved into gcc version you get a problem
    (most likely that is what happens with you)
    * libc Unwind sometimes is unable to decipher the code generated by gcc.
    However that is likely to happen with modern gcc (say, 4.4+) and not that likely with 3.4.3
    Btw, you can check your call frame to see where _Unwind calls come from:
    where -h -lIf you indeed stomped on "mixed _Unwind" problem then the only chance for you is to play with linker
    so it binds Unwind stuff from your library directly into libgccs.
    Not tried it myself though.
    regards,
    __Fedor.

  • External Reference number not copied in Service Confirmation

    Hi,
    We are on CRM 5.0 SP11. We have Mobile Service 5.0 SP11.
    In Mobile Service in the Service Order creation screen we have a window to input External reference number. When we create a Service Confirmation as a followup document of Service Order, SAP by default only allows to copy Reference Object,Subject and notes (both header and item level) to the Confirmation.
    Does anyone have idea how we can copy the External Reference number to Confirmation when we do followup to Service Orders on mobile.
    This functionality works fine on Enterprise.
    Thanks,
    Yatin

    Hello,
                 The external number won't be copied by standard as Wolhfard said they are different documents.
    You need to code this to make this copy from service order to Service confirmation.
    Open your Mobile Application Studio and make following changes.
    Open the BusinessObject "BOMSVHelper"  and view the code. Go to the Method "CopySrvTransHeader"  write the following code in it.
    Find the code
    UserName = _unwind(BusinessRootObject.UserDataDictionary.GetData("USERNAME"))
    and paste the following code below it.
            Dim servconfobj As BusinessObject = bocopysrvtrans.SalesInfo
            Dim servtransobj As BusinessObject = orderheaderobj.SalesInfo
            servconfobj.SetAttribute("PoNumberSold", servtransobj.GetAttribute("PoNumberSold"))
            servconfobj.SetAttribute("PoDateSold", servtransobj.GetAttribute("PoDateSold"))

  • How to make external reference field as mandatory in customised ZDCR

    Hi guys,
    I am working in CHARM implementation and we have defined customised transaction type for change request(ZDCR), now my client wants the external reference field as mandatory, and we are using CRMD_ORDER for creating a customised change request. Now my point is the external refernce field should be mandatory only to ZDCR transaction type and it should not effect to another transaction types who are using through CRMD_ORDER transaction code.
    Kindly give ur inputs it is very urgent as the Go-live it very near.
    Thanks&Regards
    Sitaramaraju.P

    Hi!
    Try to modify the Dynpro of TC: CRMD_ORDER:
    Start Transaction SE80.
    Display program SAPLCRM_SERVICE_UI
    Go to 'Screens' and select screen 7153
    Go to the element list of screen 7153
    Then select 'Special attr. '.
    Activate the change mode.
    Mark field Name: CRMT_7010_SERVICE_UI-PO_NUMBER_SOLD / Typ: I/O as required entry field.
    Activate your changes and start Transaction CRMD_ORDER
    Due to this modification you will need a SSCR Key for this object (see http://service.sap.com/sscr).
    Hope this will help!
    Best regards / Gerhard

  • Query Time Out and Shared Objects

    Hi,
    I have 2 questions.
    1) from st22 i can get the list of users and time out information. But how can I find related query which has been time out by that user ?? as of now i was getting query information from st22 by getting abap program name which starts with "G" and find related query for that from the table rsrrepdir. But recently it is happening that i get abap program which starts with "G" from st22 time out but its not giving me any query information in RSRREPDIR table or by t-code se38.
    can anyone guide me how can i get query info from st22 ? we have so many time out occuring in production have to trace that and improve the query performance.
    2) 2nd question is - how can i get list of queries which are having shared objects like variables, templates, key figures, structures etc...
    is there any specific table or t-code which provides that? we have to delete some queries in prod. but before that we want this list.
    A.H.P. I am counting on you extensively for help coz i have seen that you reply to everybody. and i have asked same question in another forum at SDN but no reply !!!
    waiting for help...

    Hi Bhanu,
    thank you for your prompt reply.
    well, we dont have woorkbooks atall. we got the inventory list of all queries needs to be deleted in production. we are deleting very very old queries which are not even in used now. i know the variables and str. etc...remains but still needs to know how to find out the queries with shared object. i want that information in hands before i delete anything in dev. system and transport it to prod. so, i will have proof that i didnt delete anything important. hope you understands what i mean and why i need to know this !
    i found few tables related to this but cannt relate them and get the info I need. RSRREPDIR, V_ELTDIR_TXT, RSZELTXREF,etc..
    where used list in BEx gives us the webtemplates names nothing else. i meant not the shared objects. and if it is giving shared objects info then i guess i am not aware of it coz few queries i tried to check didnt get that info in "where used" list.
    in metadata repository ?? i didnt get it!! how can i find queries with shared objects in metadata rep ?

  • ST22 Dumps: Shared Objects

    Hi SDN,
    in our SRM System, SRM Server 5.5, WAS700 ABAP, we get ST22 Short Dumps concerning "shared objects".
    This is the Dump Short Analysis:
    Runtime Errors         SYSTEM_NO_SHM_MEMORY                                    
    Date and Time          19.08.2008 12:20:50                                                                               
    Short text                                                                    
         No more memory for 2516576 bytes in the shared objects memory.                                                                               
    What happened?                                                                
         The shared objects memory is full or an area management specified         
         memory limit has be reached.                                              
    In heard, that "shared objects" is part of the new WAS 620, 640, 2004s, 700 ... releases
    What are exactly these shared objects. And how can we avoid the dumps?
    We have an instance profile parameter set:
    abap/shared_objects_size_MB                 100
    Apparently this is not enough... Are there any recommendations?
    thanx, matthias

    Take a look at [Note 972757 - Occurence of the SYSTEM_NO_SHM_MEMORY runtime error|https://service.sap.com/sap/support/notes/972757] for further information. You should investigate what is using the shared objects memory, it may be an error in a application. The note will help to determine this.
    Regards,
    Nelis

  • I get CDD-22400 but there is no external reference.

    Hi,
    This message is related to the one I posted last week "Check constraint or database trigger disappear + Dr Watson".
    I work with Designer 9i (9.0.2.5) under NT4 SP6 and with db 9.2.0.3.
    I have more details and I can reproduce the behaviour.
    Here is the scenario:
    1. I create a view without source tables and columns (I just put a name and click FINISH in the design editor wizard).
    2. I get the error CDD-22400: Attempt to view or modify an object outside of the current workarea.
    3. As suggested by the Action field, I use the External References utility, but it doesn't retrieve anything.
    4. A collateral very annoying effect: the view I just defined is createad but other objects (view, constraint, trigger) that I create after are lost when I leave the Design Editor and I come back.
    Did anyone face this problem?
    Thanks in advance,
    Jean-Jacques Porrovecchio

    Salut Jean-Jacques,
    error CDD-22400 normaly occurs when one of your objects refers to an object outside your workarea.
    This is rather weird in your case as you created a view without specifying any source table/column.
    The only thing I'm thinking of could be that SYSTEM FOLDER is missing from your Workarea.
    Regards,
    Didier.

  • Confusion about shared objects...

    Hi...
    I'm building an application using JSP/Servlet technology and I've ecountered some behavior that is not that unexpected, but is something I can't seem to figure out how to get around.
    I've been using two reference manuals over the last year, to learn JSP/Servlet development and I'm not sure that either one of them, do a very good job of explaining how to avoid the problem I'm seeing. (Or maybe they do, but I'm just too dense to figure it out.)
    Both are O'Reilly manuals:
    Java Servlet Programming - Jason Humber with William Crawford
    Java Server Pages - Hans Bergsten
    Anyway, I've tried to model my application using a MVC approach.
    My controller servlet UserCtl.java is small and routes requests as a controller should.
    My business logic is in a bean. UserBean.java This object has properties that represent the fields from my UserMaster table and corresponding setter/gettter methods. It also has methods to retrieve an individual user record, insert a record, update a record, delete a record and retrieve a list of records.
    The scenario I'm experiencing is as follows:
    I bring up my application in the browser on two different PC's.
    I display the user list on each PC.
    Now...
    On each PC, I simultaneously click the Update User, selecting user 1 on pc 1 and user 2 on pc 2.
    My application then, creates a record in a lock file, for each user record. This seems to work properly, even during the simultaneous click.
    However...
    When the update form is subseqently displayed, I have a situation where the form on each of the 2 pc's contains the same data.
    I can verify that 2 different lock records were created, indicating that I did not click the same user by accident, however, the data in the form is clearly for only one of the users.
    I've read the sections over and over and I feel like I understand their comments on concurrency and how the condition I'm seeing could occur, however, I've tried many things to overcome this and nothing seems to work.
    Originally, I opened my JDBC database connection at the servlet level. I've subsequently tried doing it when I create the bean in the controller and subsequent to that, creating the connection object within the method that retrieves the user data inside the bean.
    I've tried moving all my code into functions, so that any bean variables would be localized.
    I've creating a bean from the JSP session bean object and then retrieving the record, and putting the bean back into the session object before moving to the update page.
    Note... I've also enclosed my record retrieval code within a synchronize block.
    I'm at a complete loss here. Nothing I do seems to work and I can consistently recreate this condition. Obviously, I can't move forward until I find out how to do this properly.
    I'm disappointed in the Java Server Pages book, because the author encapsulated/wrapped all of his database i/o into his own database management routines.
    This is a terrible practice for an author to perform. I understand the concept of why you would do that, however, it complicates learning the fundamentals first. I say show us how to do it the long way first, then show us how to improve on the implementation. Don't confuse an already complicated process with your own home-grown methodology.
    Anyway... I digress. Can anybody give me any pointers or recommend a good book or web based example, that can show me how to overcome the issue I am encountering? My implementation is a straightforward, simple, approach. I am trying to grasp how this stuff works, without adding in all the extra stuff like tag libraries and XSLT, etc.
    I just need to understand how to write a simple thread-safe application. I'll tackle the other stuff later. Oh... by the way... I have built the simple samples that overcome servlet class level counters that show the result differences between global variables at the servlet instance level versus reporting back localized variable values. I think that JDBC database access and/or bean creation, is more complex than that and that's where my problem is.
    Any comments, pointers, references to simple samples, will be greatly appreciated.
    Thanks,
    Brett

              You do not need a shared files system - that is just for
              convenience. You do need to have identical directory stuctures
              for all instances in the cluster.
              Mike.
              "Tomato Bug" <[email protected]> wrote:
              >
              >hi all,
              > I have a confusion with shared objects in cluster.
              > A cluster needs a shared file system to store
              > configuration
              >files and shared objects. Can I only put the shared things
              >in the
              >shared file system but not put them on the servers in
              >the cluster.
              > Thanks.
              >
              > Tomato.
              

Maybe you are looking for

  • I created a new administrator USER account. I deleted the original one but the process never ends. It's been 3 days now.

    I created a new administrator USER account. I deleted the original one but the process never ends. It's been 3 days now. And I can't close preferences window or turn off the computer. It's stays in the "deleting" but I can't cancel it or close the wi

  • Lightroom 1.1 - Adobe Camera RAW 4.1 (Bridge, Photoshop CS3) problem

    Dear all, I am having some problems with the appearance of files developed in adobe lightroom 1.1 or in adobe camera raw 4.1 from e.g. bridge or photoshop cs3. When developing in lightroom the images look great, however when using acr 4.1 and the sam

  • Dynamic parameter selection

    Hello All, Is there any way to choose selection parameters dynamically (not a whole structure as with FM FREE_SELECTIONS_DIALOG), I'd want to represent the input parameters of a Function Module without either to know the FM at design time nor regener

  • Error in copied include program

    Hi friends, i copied z program into y program the z program contains includes also i copied all.but in the copied program ( y program) in the includes the following error is coming   REPORT/PROGRAM statement missing, or program type is I (INCLUDE).  

  • Bookmark refresh

    Hello, We have a query which uses the current date. The users in our company save bookmarks but the data that the query uses is the date which the bookmark was saved. Is it possible to refresh the date? Thank You, David