How to handle and manage a multi Database access in runtime with LCDS?

Hello there
I got several customer working with the same application and I wonder how,  with LCDS,  to manage  in a runtime a multi dataBase access; without creating a configuration "mxl" file in
the folder catalina for each database.
Indeed, each customer have their own dataBase, and so far, I did not find out how to avoid creating a config xml file in catalina for every single database; which force me to create as well for each customer a  folder application, since the name of the config file in catalina require a folder application to be ran under tomcat....
Thus, my question is :
Is there anyway to create only one configuration mxl file in catalina (in the server side) and then from the client side (application) let the user select its environment (meaning its database) to run the application.... this technic can be also used for multi database environment such as : Dev / Test / Prod   environment (or database) where the same application can access to.
Please if any one have an idea or already delt with; just let me know, because I'm entering in a bootle neck and the situation is getting serioulsy critical....
Regards

Hello Ulrich,
with compact and repair I mean the MSAccess function "Compact and Repair".
Please follow the link below for more details:
http://office.microsoft.com/en-us/access-help/compact-and-repair-an-access-file-HP005187449.aspx
Normally you can execute this function directly in Access or with the Windows ODBC Data Sources Administrator  => "Control Panel" => "Administrative Tools" => "Data Sources (ODBC)"...
 I want to execute this function via cvi code and not by hand ;-).
Thank you for your support.
Frank

Similar Messages

  • How to handle and Manage Multi DataBase access with LCDS in runtime ?

    Hello there
    I got several customer working with the same application and I wonder how,  with LCDS,  to manage  in a runtime a multi dataBase access; without creating a configuration "mxl" file in
    the folder catalina for each database.
    Indeed, each customer have their own dataBase, and so far, I did not find out how to avoid creating a config xml file in catalina for every single database; which force me to create as well for each customer a  folder application, since the name of the config file in catalina require a folder application to be ran under tomcat....
    Thus, my question is :
    Is there anyway to create only one configuration mxl file in catalina (in the server side) and then from the client side (application) let the user select its environment (meaning its database) to run the application.... this technic can be also used for multi database environment such as : Dev / Test / Prod   environment (or database) where the same application can access to.
    Please if any one have an idea or already delt with; just let me know, because I'm entering in a bootle neck and the situation is getting serioulsy critical....
    Regards

    Hello Ulrich,
    with compact and repair I mean the MSAccess function "Compact and Repair".
    Please follow the link below for more details:
    http://office.microsoft.com/en-us/access-help/compact-and-repair-an-access-file-HP005187449.aspx
    Normally you can execute this function directly in Access or with the Windows ODBC Data Sources Administrator  => "Control Panel" => "Administrative Tools" => "Data Sources (ODBC)"...
     I want to execute this function via cvi code and not by hand ;-).
    Thank you for your support.
    Frank

  • Question on "How to Handle Inv management Scenarios in BW" docuemnt.

    Hi all,
    I read the document "How to Handle inventory management scenarios in BW" and I did not understood what a snapshot scenario is?  Can anyone tell me what is the difference between snapshop and non-cumulative scenario's.
    thanks,
    Sabrina.

    In a non-cumulative scenario the current stock of any day (or month) is not stored physically in the cube. Instead the stock values over time is calculated dynamically at query runtime by the BW OLAP engine, which basically derives the stock by summing up the periodic value changes (cumulative inflow and outflow of the non-cumulative key figure), which are stored in the cube (together with a so called stock marker used as the basis of the calclation).
    In the snapshot scenario the current stock of any month is calculated in a snapshot ODS and then loaded to a cube. This means that the the stock value is physically stored in the cube in an ordinary cumulative key figure.
    Since a non-cumulative cube store value changes and not the actual stock this means that performance might be bad if there are many value changes for each characteristic combination in a month (since the stock is calculated at runtime and many records must be processed to derive the stock). So in this case the snapshot scenario is better since no runtime calculations of the stock need to occur  and since only one record, containing the actual stock value will be stored in each month for each characteristic combination having a stock value.
    I think you would be better of with an example, but with this explanation in mind looking at the scenarios in the How to again might clarify things...
    Regards,
    Christian
    / Christian
    Message was edited by: Christian

  • How to handle inventory management scenario

    Hi All,
    In How to handle inventory management scenario whitepaper, I fail to understand the basic difference between 'Inventory Management with non-cumulative Key Figures' and 'Inventory Management with Snapshots'. Can anyone please explain me the basic difference.
    Thanks
    PB

    Hi Loic
    Can u please see if all the steps listed below are OK.
    While setting up  the IM Scenario
    I have jotted down the steps with valuable inputs from you  and paper 'How to Hanlde IM scenarios'
    Please find the steps below. Kindly review them and let me know in case I have got anything wrong or missed out on anything.
    1. Transfer Business Content Datasources 2LIS_03_BX , 2LIS_03_BF, AND 2LIS_03_UM in RSA5.
    2. Go to Transaction LBWE, Activate Datasources 2LIS_03_BF, AND 2LIS_03_UM.
    3. Go to Transaction MCB_ select SAP BW usage 'Standard' Radio button.
    4. Save it.
    5. Go to Transaction MCNB, enter name of run ‘Stock_init’. Enter Termination date in future. Enter Datasource as 2LIS_03_BX.
    6. Execute the initialisation.
    7. Entries can be found in SETUP Table MC03BFSETUP & MC03BFSETUP.
    8. Run SETUP for 2LIS_03_BF, AND 2LIS_03_UM using TCodes OLI1BW and OLIZBW respectively.
    9. Run the extraction for 2LIS_03_BX in BW.
    10. Compress the request with ‘No Marker Update’ NOT SET i.e. unticked or unchecked.
    11. Run the extraction for 2LIS_03_BF in BW.
    12. Compress the request with ‘No Marker Update’ SET i.e. ticked or checked.
    13. Run the extraction for 2LIS_03_UM in BW.
    14. Compress the request with ‘No Marker Update’ SET i.e. ticked or checked.
    Steps 1 and 2 shall be executed in Development and transported to production and step 3 onward should be carried out in Production itself with Posting Block.
    Thanks in advance.
    Regards
    PB

  • How to handle power managment features of Windows Vista

    Hi guys
    I searched a little bit in the Toshiba Technical Knowledge Base and found very interesting article about the power management features of Windows Vista.
    *[How to handle power management features of Windows Vista|http://aps2.toshiba-tro.de/kb0/HTD84026Q0000R01.htm]*
    The point is that you will not find a same Toshiba Power Saver tool on Vista like on the Windows XP notebooks and the power saver settings are a little bit hidden in the Vista Power Saver settings.
    But you can also control the certain options like Cooling Method or Power Saving Mode.
    I think this document could be interesting for some here in the forum!
    Greetings to all!

    Hi Jayjay
    Thanks for posting this here in the forum.
    Several days ago I searched for such further power option in Vista.
    This document was really, really helpful for me.
    Thanks again

  • How to create and manage the log file

    Hi,
    I want to trace and debug the program process.
    I write the code for creating log file and debugging the process.
    But i am not able get the result.
    please help me how to create and manage the log file.
    Here i post sample program
    package Src;
    import java.io.*;
    import org.apache.log4j.*;
    import java.util.logging.FileHandler;
    public class Mylog
         private static final Logger log = Logger.getLogger("Mylog.class");
         public static void main(String[] args) throws Exception {
         try {
           // Create an appending file handler
            boolean append = true;
            FileHandler handler = new FileHandler("debug.log", append);
            // Add to the desired logger
            Logger logger = Logger.getLogger("com.mycompany");
            System.out.println("after creating log file");     
              catch (IOException e)
                   System.out.println("Sys Err");
            }Please give the your valuable suggesstion... !
    Thanks
    MerlinRoshina

    Just i need to write a single line in log file.

  • Accessing and Managing RAC 10g database with 9i OEM

    can i Access and Manage RAC 10g database with 9i OEM? If yes How?

    9i EM can 'see' a 10g database and perform some basic functions (rsp. all what is known to 9i). But it cannot manage any 10g functionality , because it doesn't know it. So such a constellation doesn't make really sense. On the other hand 10g EM can manage 8i,9i and 10g databases.
    Werner

  • How to upload and store pic in database through Servlet

    Hi
    I am new to servlet programming. I need some help i am developing shopping cart of pictures
    I have problem in admin module
    When admin upload new picture and description of picture
    i want to store information of uploaded picture in database so that user can view new photographs for shopping
    Now problem is that how to upload and store picture in database and how to retrive picture from datebase and disply on user end
    I am in great difficulty
    I need some sample code
    Can some one help me
    I shall be very thankful

    Use BLOBS to upload and download image files into the database....
    Here is a sample code for doing it from one of my earlier posts....
    http://forum.java.sun.com/thread.jsp?forum=31&thread=143837
    Once you get the file from the database, use the image tag in HTML to display your picture....
    Let me know if you have any further questions....

  • How to Handle and show multiple pushpin imgaes on the map based on the requirement at different coordintes?

    How to Handle and show multiple pushpin imgaes on the map based on the requirement at different coordintes?
    I have multiple images in  my App folder. I want to use and show those images dynamically  in windows phone 8 map application

    There are a lot of different ways to do this. One simple method is to use a switch statement when creating your pushpins and based on some property in your data, select the icon you want to use and create your pushpin accordingly.
    http://rbrundritt.wordpress.com

  • How to view and manage hidden files in folders.

    Hi all, my question is: How to view and manage hidden files in folders?. I see hidden files in other computer but no in my Mac.
    Some of you can help me?
    Thanks..

    Most hidden files are hidden for a reason.   Tampering with them can seriously affect the stability of the system.
    The software Tinkertool can
    http://www.bresink.com/osx/TinkerTool.html
    Can manage the invisibility, which I would only do after backing up your system.

  • How to use taglibs in JSP for Database access

    Hi
    Could any one please tell me how to use taglibs in JSP for Database access
    with regrds
    Jojo

    This is a sample how to connect to a MySQL database with JSTL 1.0:
    <%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" errorPage="" %>
    <%@ taglib uri="http://java.sun.com/jstl/sql" prefix="sql" %>
    <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>JSTL MySQL</title>
    <link href="styles.css" rel="stylesheet" type="text/css" />
    </head>
    <body>
    <c:catch var="e">
    <sql:setDataSource var="datasource" url="jdbc:mysql://Your_Server_Name_Here/You_Schema_Here"
                           user="Your_Username_Here" password="Your_Password_Here"
                           driver="com.mysql.jdbc.Driver"/>
    <c:out value="datasource= ${datasource},  Class = ${driver.class}"/>
    <br />
    <br />
    <sql:query var="deejays" dataSource="${datasource}">SELECT * FROM Your_Table_Name_Here</sql:query>
    <table>
    <%-- Get the column names for the header of the table --%>
    <c:forEach var="columnName" items="${deejays.columnNames}"><th><c:out value="${columnName}"/></th></c:forEach>
    <tbody>
    <%-- Get the value of each column while iterating over rows --%>
    <c:forEach var="row" items="${deejays.rows}">
      <tr><c:forEach var="column" items="${row}">
            <td><c:out value="${column.value}"/></td>
          </c:forEach>
      </tr>
    </c:forEach>
    </tbody>
    </table>
    </c:catch>
    <br />
    <br />
    <c:if test="${e!=null}"><span class="error">Error</span>�
      <c:out value="${e}" />
    </c:if>
    </body>
    </html>And this thread might help you:
    http://forum.java.sun.com/thread.jspa?threadID=639471&tstart=44

  • How do I manually manage the music on my iphone 5 with itunes 11?

    How do I manually manage the music on my iphone 5 with itunes 11? I have managed to get some music on my iphone 5 but can't repeat the process. The add music button in the upper right allows me to edit play lists .

    iTunes 11 for Windows: Set up syncing for iPod, iPhone, or iPad
    Read the section titled
    Sync your device manually

  • How To Generate And Print Reports In PDF Format From EBS With The UTF8 Char

    Hi,
    I want to know How To Generate And Print Reports In PDF Format From EBS With The UTF8 Character Set in R12.0.4.
    Regards

    Refer to Note: 239196.1 - PASTA 3.0 Release Information
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=239196.1
    Or, you can use XML Publisher.
    Note: 551591.1 - Need Latest XML Publisher / BI Publisher Patches For R12
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=551591.1

  • How to handle Keys (Sequences) generated in Database

    Need some pointers about how to achieve following:
    I am building a cache for TRADES and have a CacheStore supporting LOAD/STORE/REMOVE methods.
    The TRADES cache is associated with TRADE table on the database. I have most of my business logic related to adding a trade in a Database Package.
    If a new trade is being added to the table, Stored Procedure in my package will use a sequence number to assign it a UNIQUE KEY and will return the key with the call
    Now, my cache is using TRADE KEY as a key for the trade objects. If my application is putting a new trade to the cache, then how should this be designed?
    I do not really want to have sequences put in the cache as my stored procedure does it for me and there are few other applications which are using same SP.
    Has anyone implemented something like this where the key is now known until the object is entered in the database?
    I can have a TEMPORARY KEY assigned to the object and can replace the record once the trade has been successfully added to the table. As I can not do replace/update cache records in CacheStore, is there any way to achieve this?
    Following is my cache-config:
    <distributed-scheme>
         <scheme-name>PartitionedTradePOFScheme</scheme-name>
         <service-name>SweetTradeSvc</service-name>
         <serializer>
              <class-name>com.tangosol.io.pof.ConfigurablePofContext</class-name>
              <init-params>
                   <init-param>
                        <param-type>String</param-type>
                        <param-value>position-pof-config.xml</param-value>
                   </init-param>
              </init-params>
         </serializer>
         <backing-map-scheme>
              <read-write-backing-map-scheme>
                   <internal-cache-scheme>
                        <local-scheme></local-scheme>
                   </internal-cache-scheme>
                        <cachestore-scheme>
                        <class-scheme>
                             <class-name>com.db.spg.sweet.coherenceutil.DBCacheStoreTrade</class-name>
                             <init-params>
                                  <init-param>
                                       <param-type>java.lang.String</param-type>
                                       <param-value>{cache-name}</param-value>
                                  </init-param>
                             </init-params>
                        </class-scheme>
                   </cachestore-scheme>
              </read-write-backing-map-scheme>
         </backing-map-scheme>
         <autostart>true</autostart>
    </distributed-scheme>I am trying to be as clear as possible. If anything here is confusing, let me know.
    Thanks

    Jonathan.Knight wrote:
    <li>The AQ messaging is asynchronous so there will be a time-lag between the original put of the trade and it being updated with the version from the DB.
    <li>How does the AQ listener know what the key is of the temporary trade is that it needs to remove, presumably you write this to the DB then send it back in the AQ message?Agreed. From my CacheStore, I call Stored Procedure inside Database Package. I can pass this TEMP key to this SP as 1 extra parameter. So, I do not necessarily need to store it in the database, but just use merely as an extra parameter to be sent back to AQ. Also, when the client puts a new trade, the business logic for most of the trade processing is in our stored procedures. There, it will enrich that trade with additional information from other tables, it will also adjust the trader position and then will return with the new trade key to the client. GUI/Client Applications will provide the data required to create a trade. But SP will use this data and using other local stored procedures, it will obtain extra information for the trade, enrich all the information in a single trade record and then will create that new record.
    <li>If the code the listens to the AQ messages removes the original version of the trade from the cache before putting the new version into the cache you will have a short period of time where there is that trade does not exist in the cache
    <li>Alternatively if your AQ listener works the other way round and puts the new version into the cache before removing the original version you will have a short period where there are two copies of the same trade in the cache.
    <li>Depending on what you use-cases for reading these trades back out of the cache you could have issues with the above times when there may be one, zero or two copies of the trade.Yes. I have been thinking about that as well. But I think, as the trade entered from GUI is merely an indicator for the background/database processing. If and only if the database processing is successful, that is considered a valid trade. So as far as I know, the duplicate/old copy of the trade would still be considered as in "waiting database update" state. I am designing my GUI accordingly. I will probably check with the users about this requirement once again though. You have a valid point.
    <li>I assume your use-cases for accessing trades from the cache are not using the keys as they could not rely on having obtained the correct key for a trade as it might change. At this point, I am using these TRADE keys as my cache keys. Because, it is really easier for us to manage TRADES in the cache, especially when there are lot of lookups involved from our users
    One more thing someone I had worked with long time back suggested that, having a staging/metadata cache for all these trades to be processed from the client. Add these trades in the database and then in QueueListener, add a new trade in Trade-Cache and remove the corresponding old trade from staging/metadata cache. This also seems good, though I need to see if that is going to complicate matters in terms of processing.
    Thanks a lot JK for your suggestions. Let me know if the logic I explained makes sence.

  • Posting block Question in How to handle inventory management scenarios

    Hi all - I have a question in document
    <b>"How to...Handle Inventory Management Scenarios in BW"</b>
    can anyone please tell me what a posting block is in this document...
    also I did not understood what a Validity table is?
    thanks,
    Sabrina.

    Hi Sabrina!
    A 'posting block' period is something that now you are facing in inventory management, but you have to consider it in ALL logistic cockpit flows (what you can see in LBWE).
    This requirement can be easily explained in this way: as you know, to fill a setup table you have to activate the extract structure of the datasource for which you want to run the setup job (otherwise the system says that no active extract structure exists, do you remember ?); but, by doing so with the posting operations open (in other words, users can create new document or change the existing ones), you run the risk that these records are automatically included in the extraction queue (or in SM13 if you are using unserialized method) AND also collected in setup table ! And you will have the same records with the initial load (from setup table) and then the same from delta load (from the queue): a nice data duplication.
    To avoid this situation, a "posting block" (or a "free-posting period" or a "downtime") is requested. No one can post new document during your setup job...
    Hope now is clearer...
    Bye,
    Roberto

Maybe you are looking for

  • Getting authorization from a computer that is not online...

    We download music from the music store for my daughter then burn it to a disk to download it to my daughter's computer. When we try to transfer the songs it says we need to an authorization for that song. Since her computer is not online how can we g

  • What's the difference between DAQmxCreateCIFreqChan and DAQmxCreateCIPulseChanFreq

    What's the difference between DAQmxCreateCIFreqChan and DAQmxCreateCIPulseChanFreq? Thanks!

  • ALV object model - List download

    H Experts, I have used ALV object model to list display. Also i have used class CL_ALV_COLUMNS_TABLE and its method set_long_text to set the column heading. Now if i execute this report, long text is displayed properly in column heading. But when i d

  • STORAGE_PARAMETERS_WRONG_SET Dump on BW

    Hello experts, We are receiving several DUMPS with the following error in our BW  system: STORAGE_PARAMETERS_WRONG_SET ShrtText   &INCLUDE INCL_INSTALLATION_ERROR When the program was running, it was established that more                    memory wa

  • Uploading your photos to a computer

    Uploading your photos to a computer      Before you upload  Create a new folder on your computer where you can store your images. You may wish to create a folder with your name on it under “My Pictures” or directly on your desktop. A separate folder