Help required for setting up TOMCAT for a particular application?

Hello Everyone,
Can we have 2 ROOT directories in TOMCAT/webapps folder? For ex. ROOT and ROOT1.
Both the folder contains different set of jsp files but same web.xml file.
Can you suggest any other alternative.
Thank You.
With Regards,
Raghu

thankyou for your prompt replies.
i am actualy attempting to build a loading frame for applying loads to a very small specimen. since the applied loads are going to be very small, i wonder whether a feedback is essential or optional for me. i do believe, however, that since i will be using a stepper motor, i might just be able to afford neglecting the inclusion of encoders for feedback.
i would be glad if you could comment on the attached diagram and kindly advise as to how i might improve on the conections i have made. the idea i have in mind is to measure the load applied by the motor using the load cell and also determine the displacement using the LVDT....thereafter, i would want to record the data using an A to D in a computer. the spring has been included in order to control the process of loading the specimen...the whole arrangement is intended to perform similar to a Universal Testing Machine, albeit in a mucu smller scale....
from your response to my last message, i am guessing that the SCB-68 is not of much use to me.....i would also be glad if you could kindly tell me the difference between the "Digital I/O" and "Motion I/O" terminals on the FW7344... currently, i have connected the UMI 7764 to the Motion I/O terminal of the FW7344 and have not figured out how i might use the Digital I/O terminal at all....kindly do enlighten regading that matter too...
once again , i'd like to thank you all very much for your time, patience, help and support....
Attachments:
loading machine connections.jpg ‏39 KB

Similar Messages

  • This morning I ask about the requirement to download the adobe Cs6 before i buy the product and the salesperson told me that i met the requirement for that particular software, so my surprise now when i open the file it says an error because my computer d

    this morning I ask to a sales person about the requirement to download the adobe Creative Cs6 before i buy the product and the salesperson told me that my computer met the requirement for that particular software, so my surprise now when i open the file it says an error because my computer doesn't meet this requirement,  my computer is a OS X 10.5.8 and the requirement  is OS X v10.6.8 or v10.7 what can i do?

    The requirements are online. For the Master Collection the requirements on Macs are:
    Mac OS
    Multicore Intel processor with 64-bit support
    Mac OS X v10.6.8 or v10.7
    4GB of RAM (8GB recommended)
    15.5GB of available hard-disk space for installation; additional free space required during installation (cannot install on a volume that uses a case-sensitive file system or on removable flash-based storage devices)
    Additional disk space required for disk cache, preview files, and other working files; 10GB recommended
    1280×900 display with 16-bit color and 512MB of VRAM; 1680×1050 display required and second professionally calibrated viewing display recommended for Speedgrade
    OpenGL 2.0-capable system
    DVD-ROM drive compatible with dual-layer DVDs (SuperDrive for burning DVDs; Blu-ray burner for creating Blu-ray Disc media)
    Java™ Runtime Environment 1.6
    Eclipse™ 3.7 Cocoa version (for plug-in installation of Flash Builder); the following distributions are supported: Eclipse IDE for Java EE and Java Developers, Eclipse Classic, Eclipse for PHP Developers
    QuickTime 7.6.6 software required for QuickTime features, multimedia, and HTML5 media playbackOptional: Adobe-certified GPU card for GPU-accelerated performance in Premiere Pro; see the latest list of supported cards
    Optional: Adobe-certified GPU card for GPU-accelerated ray-traced 3D renderer in After Effects; see the latest list of supported cards
    Optional: Tangent CP200 family or Tangent Wave control surface for Speedgrade
    Optional: 7200 RPM or faster hard drive (multiple fast disk drives, preferably RAID 0 configured, recommended) for video products
    Broadband Internet connection and registration are required for software activation, validation of subscriptions, and access to online services.* Phone activation is not available.
    You should have been given the correct information. Adobe offers 30-day money back guarantee.
    You can find return information here:
    Return, cancel, or exchange an Adobe order

  • Dll files required for developing BAPI application!

    Hi,
    Can anybody send me the following dll files which are required for developing BAPI application.
    librfc32.dll (at least 46D, build 263)
    jRFC11.dll (JDK 1.1)
    jRFC12.dll (JDK 1.2 and 1.3)
    Regards,
    Bala Raja

    Hi Deepak,
    Can you tell me which JAR files you added to resolve build time errors.
    I am facing the following errors after importing Std masthead from portal7.3.
    Can not find the tag library descriptor for "prt:taglib:tlframework"
    Can not find the tag library descriptor for "prt:taglib:tlhtmlb"
    componentRequest cannot be resolved
    ILocalesListService cannot be resolved
    ILocalesListService cannot be resolved to a type
    noBtn cannot be resolved
    Syntax error on token "}", delete this token
    Syntax error, insert "}" to complete Statement
    The import com.sap.portal.core cannot be resolved
    The method enableCloseAll() is undefined for the type NavigationEventsHelperService
    The method getDynamic(String, null) is undefined for the type IUMParameters
    The method getDynamic(String, String) is undefined for the type IUMParameters
    yesBtn cannot be resolved
    Please give your mail Id if possible.
    Regards,
    Sumangala

  • Making a flexfield segment 'required' for a particular function

    Hi
    How do we make a flexfield segment 'required' for a particular function.
    I don't want to make this field required from core applications(System administrator), but only for a function.
    kindly give Suggestions..

    I understand that this is a issue, as a workaround you can do this for your page alone.
    1. Get the handle to the flex bean segment in your page
    2. make it required.
    This is what the devguide says
    1. Find the flex bean by attribute name and call processFlex() on the flex bean.
    2. Call getIndexedChild(int) to extract the TextBeans from the flex bean and do whatever you want.
    code shld be something like this
    OAPageLayoutBean page = oapagecontext.getPageLayoutBean();
    OAMessageTextInputBean segmentBonus=(OAMessageTextInputBean)page.findChildRecursive("OfferDetailsFlex0");
    if (segmentBonus!=null) {           
    segmentBonus.setRequired(true);
    Thanks
    Tapash

  • Minimum system requirements for installing Oracle Application Testing Suite

    Hi,
    Can anyone tell me what are the minimum system requirements for intalling Oracle Application Testing Suite?
    Thanks in Advance

    From the release notes (12.1.0.2).
    System Requirements
    Oracle Application Testing Suite has the following system requirements:
    4
    3.1 Oracle Functional Testing/OpenScript
    Oracle Functional Testing’s OpenScript scripting platform has the following system
    requirements:
    ■ Operating System (32-bit and 64-bit versions): Windows XP, Windows Vista,
    Windows 2003, Windows 7, Windows 2008
    ■ Memory: Minimum 1 GB
    ■ System: x86, 32-bit or 64-bit processor, 2.6 GHz or faster
    ■ Disk Space: 4 GB minimum
    ■ Browser: Internet Explorer 7.x, 8.x., 9.x and Firefox 3.5/3.6, 6.x
    3.2 Oracle Load Testing
    Oracle Load Testing has the following system requirements:
    ■ Operating System (32-bit and 64-bit versions): Windows XP, Windows Vista,
    Windows 2003, Windows 7, Windows 2008, Windows 2008 R2. Oracle Enterprise
    Linux 5.1, 5.2 64, 4u8.
    ■ Memory: Minimum 2 GB.
    ■ System: x86, 32-bit or 64-bit processor, 2.6 GHz or faster
    ■ Disk Space: 10 GB minimum free (at least 3 GB free on the system drive)
    ■ Browser: Internet Explorer 7.x, 8.x, 9.x, Firefox 3.5/3.6, 6.x
    ■ Database: Oracle EE 10g or 11g, XE 10g
    ■ Application Server: Oracle WebLogic 11g (10.3.5.0). Oracle Application Testing
    Suite requires the standard WebLogic Server installation (which includes jrocket
    jdk.). It does not support generic versions of WebLogic Server installation (such as
    those that use wls1035_generic.jar).
    ■ Oracle Load Testing Agent also supported on Linux 32-bit & 64-bit, in addition to
    Windows 32-bit and 64-bit operating systems listed above
    Note: These are minimum requirements only and actual
    requirements for the Oracle Load Testing Server will vary depending
    on the size and configuration of your load test. If you are running
    larger load tests, of greater than 1000 Virtual Users, you should
    consider deploying Oracle Load Testing on a faster server class
    machine with additional RAM recommended.
    Note: Oracle recommends running the Oracle Load Testing Server
    and Agents on separate systems for production load testing. The
    amount of memory required on the Oracle Load Testing Agent
    systems may increase based on the number of Virtual Users that will
    be assigned to run on each Agent. For more information, visit the
    QA/Testing Technology Center on Oracle Technology Network or
    contact your Oracle representative.
    5
    3.3 Oracle Test Manager
    Oracle Test Manager has the following system requirements:
    ■ Operating System (32-bit and 64-bit versions): Windows XP, Windows Vista,
    Windows 2003, Windows 7, Windows 2008, Windows 2008 R2. Oracle Enterprise
    Linux 5.1, 5.2, 4u8.
    ■ Memory: Minimum 2 GB.
    ■ System: x86, 32-bit or 64-bit processor, 2.6 GHz or faster
    ■ Disk Space: 10 GB minimum free (at least 3 GB free on the system drive)
    ■ Browser: Internet Explorer 7.x, 8.x, 9.x, Firefox 3.5/3.6, 6.x
    ■ Database: Oracle EE 10g or 11g, XE 10g
    ■ Application Server: Oracle WebLogic 11g (10.3.5.0). Oracle Application Testing
    Suite requires the standard WebLogic Server installation (which includes jrocket
    jdk.). It does not support generic versions of WebLogic Server installation (such as
    those that use wls1035_generic.jar).
    3.4 Additional Notes
    The following are additional notes about system requirements:
    ■ The ATS installer can automatically install and configure an Oracle 10g Express
    Edition (XE) database for use with Oracle Load Testing and Oracle Test Manager.
    Although this is useful for demos, for production usage switching to Oracle's 11g
    Enterprise Edition database is highly recommended. Oracle 11g Standard Edition
    and Oracle 10g EE or SE are also supported.
    ■ System memory requirements do not take into account other processes that may
    be running and using memory on your system, reducing free uncommitted
    memory available.
    ■ When installed on the same machine, Oracle Load Testing and Oracle Test
    Manager will run on the same server and use shared system resources. Oracle
    Functional Test/OpenScript is a separate application that have its own memory
    and CPU requirements.
    ■ The ATS products will run in 32-bit compatibility mode when installed on 64-bit
    operating systems. It is possible for Oracle Application Testing Suite to be installed
    on an existing WebLogic server. However, if the pre-installed WebLogic server is
    JRockit plus WebLogic (64-bit) environment, some functions in Oracle Application
    Testing Suite will not work properly. Oracle Application Testing Suite can be
    installed on a 32-bit WebLogic, but not a 64-bit.
    ■ The legacy Oracle Functional Testing, VB-based scripting platform and associated
    components (such as Job Scheduler) are no longer included with the ATS installer
    Note: These are minimum requirements only and actual
    requirements for Oracle Test Manager will vary depending on the
    quantity of test assets stored and number of concurrent users
    accessing the application. If you have a large quantity of test cases,
    requirements or issues stored and/or are deploying Oracle Test
    Manager for a team greater than 10 users, you should consider
    deploying Oracle Test Manager on a faster server class machine with
    additional RAM recommended.
    6
    starting with version 9.2. Customers that still require this product should

  • Help required in Weblogic 6 - Creation & Configuration of Web Application

    Forum Home > Enterprise JavaBeans[tm]
    Topic: Help required in Weblogic 6 - Creation & Configuration of Web Application
    Duke Dollars
    2 Duke Dollars assigned to this topic. Reward the best responses to your question
    using the icons below, or transfer additional Duke Dollars to this topic.
    Welcome moinshariff!
    Watching this topic.
    Previous Topic Next Topic
    This topic has 1 reply on 1 page (Most recent message: Jan 23, 2002 1:05 AM)
    Author: moinshariff Jan 22, 2002 4:55 AM
    Hi,
    I am using Weblogic 6. I have created a new Web
    Application called Web (I have not used the DefaultWebApp_myserver).
    And I have the following settings:
    Name : Web
    URI : Web
    and Path : C:\Web
    and placed my JSP files under c:\Web\
    I am able to access the first page, but after that I am not able to access the
    second page.
    I get "Error 404--Not Found" on the browser. Basically the class file is not getting
    created under /Web-inf/_tmp_war_myserver_myserver_Web/jsp_servlet/ folder .
    I tried a work around for this. I copied all my files under one more folder called
    web and placed this under C:\Web
    The it works. Now I have 2 copied off all the files, 1 copy under c:\web and another
    copy under c:\web\web\.
    If I have the files under DefaultWebApp_myserver and have the setting as
    Name: DefaultWebApp_myserver
    URI: DefaultWebApp_myserver
    Path: .\config\mydomain\applications
    everything works fine.
    Can any one please let me know if there is any configuration which has to be done
    so that I do not duplicate the code in 2 directories
    Thanks in advance.
    Regards,
    Moin

    Forum Home > Enterprise JavaBeans[tm]
    Topic: Help required in Weblogic 6 - Creation & Configuration of Web Application
    Duke Dollars
    2 Duke Dollars assigned to this topic. Reward the best responses to your question
    using the icons below, or transfer additional Duke Dollars to this topic.
    Welcome moinshariff!
    Watching this topic.
    Previous Topic Next Topic
    This topic has 1 reply on 1 page (Most recent message: Jan 23, 2002 1:05 AM)
    Author: moinshariff Jan 22, 2002 4:55 AM
    Hi,
    I am using Weblogic 6. I have created a new Web
    Application called Web (I have not used the DefaultWebApp_myserver).
    And I have the following settings:
    Name : Web
    URI : Web
    and Path : C:\Web
    and placed my JSP files under c:\Web\
    I am able to access the first page, but after that I am not able to access the
    second page.
    I get "Error 404--Not Found" on the browser. Basically the class file is not getting
    created under /Web-inf/_tmp_war_myserver_myserver_Web/jsp_servlet/ folder .
    I tried a work around for this. I copied all my files under one more folder called
    web and placed this under C:\Web
    The it works. Now I have 2 copied off all the files, 1 copy under c:\web and another
    copy under c:\web\web\.
    If I have the files under DefaultWebApp_myserver and have the setting as
    Name: DefaultWebApp_myserver
    URI: DefaultWebApp_myserver
    Path: .\config\mydomain\applications
    everything works fine.
    Can any one please let me know if there is any configuration which has to be done
    so that I do not duplicate the code in 2 directories
    Thanks in advance.
    Regards,
    Moin

  • No data in Application failure Analysis report for a particular application alone.

    Dear All, 
    We are not able to get the data in Application Failure Analysis report from Appadvisor for a particular application(say ABC) alone, whereas it works fine for different application. Also,we could get the data from other reports(such
    as Application status,Problem distribution analysis,etc) for the same application(ABC). PFB snapshot for your reference.
    Thanks in Advance.
    Regards,
    Rajesh Kumar C

    Hi,
    Is there any error message when you run Application Failure Analysis report for the specific application?
    Does this application have any failure alerts?
    You may also look into operation manager even logs to check is there any errors or warnings.
    Regards,
    Yan Li
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • How to check the usage of ram and cpu Performance for the particular application like sqlserver ,ms word

    how to check the usage of ram and cpu  Performance for the particular application like sqlserver ,ms word
    ranki

    Hi,
    You can use Performance Monitor and add the required counters.
    Check the below Technet article on Performance Monitor.
    http://technet.microsoft.com/en-us/library/cc749249.aspx
    Below are the steps to monitor the process in Performance Monitor.
    - Go to the Performance Monitor. 
    - Right-click on the graph and select "Add Counters".
    - In the "Available counters" list, open the "Process" section by clicking on the down arrow next to it. Select "% Processor Time" (and any other counter you want).
    - In the "Instances of selected object" list, select the process you want to track. Then click on "Add >>" button. Click on OK.
    Regards,
    Jack
    www.jijitechnologies.com

  • Change the status of the notification center in iPhone programmatically or atleast read what the status is  for a particular application

    Is it possible to control and change the status of the notification center in iPhone for a particular application.
    1)      In the application push notification is implemented.
    2)      Once this application is installed we can see the app in the notification center.
    3)      There is an option to ON or OFF
    4)      In the application we need an option to check if the above option is ON or OFF.
    5)      If the option is OFF we need to provide the user an alert stating that  in the notification center has it option off and here we have to provide an option to user to switch ON the option at the notification center.

    Well, I could find a fix for that.
    My mistake was that 1: I wasn't getting the correct ntype code for my value list type. And 2: I wasn't giving the Id name.
    The new result came as this:
    statusObjRef = doc.getStatusRef();
    statusHome = IBeanHomeLocator.lookup(session,statusObjRef);
    status = statusHome.findUniqueByNameType("Drafting Agreement", 1);
    doc.setStatusRef(status.getObjectReference());
    In case anyone has this problem, you should check the collection of values internal id, that's the actual ntype code (the number you send on the second parameter).
    But I could still use help having some advice on the Master Agreement elements handling (getting data from the master agreement or the data thas is being edited at the moment before saving).
    If anyone could give some advice, they would be very welcome

  • What are events in LBWE for a particular application  area

    hi ,
    I would like to know what are events in LBWE for a particular application area extract structures.
    What impact and how does it relate to BW/BI

    Hi
    There are lot of discusions on EVENT in SDN you can search and kindly look below links:
    Events in LO cockpit
    LBWE events
    events
    and so many other discussions
    http://forumsa.sdn.sap.com/search.jspa?threadID=&q=LBWE+EVENTS&objID=c4&dateRange=all&numResults=15
    Ravi

  • Help required for Excel Pivot.

    Given below my data table with sample data.  
    I have a requirement to create a pivot template as shown below. Data should be displayed group by Year and Allowance name. For each year, I have to get the sum of points earned by each allowance and the balance points exists for that particular year.
    How can I achieve this using Pivot in Excel? Please help me on this.

    Hi,
    In BOM, there is onr item category "R", variable size item is there. Using this you can achieve this. By exploring the Variable size item you can get some idea.
    Regards,
    V. Suresh

  • Help required for unicode compatibilty

    Dear All,
    We are in a process of analyzing the impact of unicode compatibility for our environment.
    Following is our scenario:
    - ECC6.0 is non unicode systsem
    - Need to buid unicode CRM 7, SCM 7, PI 7.1 and BI7
    - Need to integrate the above systems to non unicode ECC system.
    Our questions are :
    1. Is there any performance consideration when using communication between an Unicode and non-Unicode system?
       Is Unicode - Unicode faster than Unicode - non-Unicode communication performance wise?
    2. Do we face any  technical or functinal problems while trying to integrate
       unicode BI/ NW Java Stack  to non unicode systems.
    3. Do we need to review our sizing estimations due to unicode implemenation?
    5. what will be the storage consumption increase for unicode systems compared to non unicode?
    It would be greatly helpful for me if you can clarify these doubts.
    Thanks and Regards

    Hi,
    1. I think no one has really measured this. I expect a slightly higher requirement for Unicode <--> Non-Unicode interfaces.
    2. Please have a look at SAP Notes 838402, 73606, 975768 and 1358929 for restrictions in Non-Unicode systems. SAP highly recommends to go for Unicode in the whole landscape.
    3. and 5.  If you use the SAP quicksizer (http://service.sap.com/quicksizing), then Unicode is integrated.
    " Please note that the Quick Sizer results include Unicode requirements. For more
    information on additional requirements caused by Unicode, see
    http://service.sap.com/unicode -> Unicode Media Library -> Unicode information on
    specific topics: SAP Business Suite Unicode Hardware Requirements"
    Best regards,
    Nils Buerckel
    SAP AG

  • Seeburger help required for 810 and Dispatch Advice (IDOC type DESADV).

    Hi All,
    1. Please let me know blogs which clearly shows settings for Seeburger components for 850 (Purchase Order) to IDOC Scenario
    --- Seeburger Workbench
    --- Seeburger Mapping Designer (BIC)
    --- Seeburger Counter and Varaibles
    --- Seeburger AS2 Spoke
    --- Any other Seeburger Component setting required
    I have understand blog for 850 -- /people/rajeshkumar.pasupula/blog/2009/08/05/wanna-implement-seeburger-for-edi-find-the-booster
    2. Anybody has blog for 810 or Dispatch Advice (IDOC type DESADV).
    3. Can anybody provide me Mapping Logic (at field level) done in XI/PI for 850, 810 , Dispatch Advice (IDOC type DESADV) .
    Regards

    Hi Rickkk,
    1. Please let me know blogs which clearly shows settings for Seeburger components for 850 (Purchase Order) to IDOC Scenario
    --- Seeburger Workbench
    --- Seeburger Mapping Designer (BIC)
    --- Seeburger Counter and Varaibles
    --- Seeburger AS2 Spoke
    --- Any other Seeburger Component setting required
    For SEEBURGER workbench please go through this blog and navigate the enbebbed links furthur to know about Seeburger workbench too.
    /people/prateek.srivastava3/blog/2009/08/01/seeburger--part-1--the-basics
    2
    2. Anybody has blog for 810 or Dispatch Advice (IDOC type DESADV).
    For 810 i think the procedure would be the same but themseeburger mapping program that validates the ANSX 810 would be different.As far as 997is concerned 997 is a functional acknowledgement.Its a genric format that is used to send acknowledgement for any EDI transaction set that has been sent.
    3. Can anybody provide me Mapping Logic (at field level) done in XI/PI for 850, 810 , Dispatch Advice (IDOC type DESADV) .
      The logic will be based on the trading partner guidelines which will contain the description of all the semantic and syntactiic description about the segments ,its feilds.we need to consider the guidelines and target side specifications too while mapping.
    Thanks,
    Ram.

  • CAT2 - Help required for changing data

    The requirement I have is, if the data is entered for a particular activity type in CAT2, and if it exceeds the default hours alloted for that week, the extra hours need to be split into different activity types.
    Say, this is the data entered: (Max of 35 Hrs per week as per IT0007) (Click on the link below to see sample data!)
    [http://img32.picoodle.com/img/img32/5/12/21/f_datam_9dfadb2.jpg]
    (The value for Thu is 5 and not 6 in the initial entry.)
    The data has to remain exact until it reaches 35 hours and then the extra hours need to be split and entered in a different activity type. (BU is also counted as regular working hours and value for BU is to remain same)
    I tried using the user-exit CATS0002 but since the user exit gets only the value of a single cell at a time, I am not able to process the data for my requirement. and this user exit is triggered only for the cells where the value is changed... if the data is already entered and the user changes some cell, I don't get the whole data entered and hence, I can't modify the already existing data on the timesheet.
    Has anyone coded for a similar scenario? Your help will be really appreciated.
    P.S: I am working on ECC 6.0

    Hi Nazim,
    There is an user-exit for validating the whole time sheet (I think it is  nr. 6, but I am not sure), in this one you could check all the hours, but I am not sure if it will suffice for your requirement.
    Regards,
    Martin

  • Help Required For DropDownByIndex and Table

    Hi All,
       Could anybody help me to solve my problem?
       Actualy I am working with one DropDownByIndex and two
       Tables.Where within one viewset DropDown
       box and one Table(say Table1) are in one view and 
       another one table(say Table2) is in other view.
       DropDown box is  maped with one attribute suppose
       countryName and and Table1 is maped with collageName
       and locationName. So, when I will select the DropDown
       with one countryName then the table1 will show all the
       available collageName and locationName with multiple
       row.
       In other view I mean the Table2 is bind with
       availableCourse and courseDuration this two
       attributes. So whin I will click one row of Table1
       that means one collegeName is selected then the
       Table2 will show the availableCourse and
       courseDuration for that particular college. When I
       will select next row of Table1 then the value of
       Table2 will be different.
       Could anybody help me by sending the code and
       details?
       With Thanks and Regards
       Sudip

    One way is to get lead selected of drop down index , then get lead selected of table1 and pass it via a method to wdDoInit in the 3rd view so that you know what has been clicked in table1 and then accordingly get the data in table2.
    Another way you can do this is to map the tables and drop down index to value nodes and create them in the component controller and then map these value nodes to the respective views. Now when your table2 view is triggered you get the lead selected in the value node of the table1 and accordingly generate the table2.

  • Help Required for date display & mutating trigger

    Hai all..
    I need clarification for 2 problems.
    Problem 1
    Is there a possibility to display the values with a date range.
    I mean if there is no data for a particular date within the given range. it should display some null value.
    Eg.
    table name : sample
    Sno Date1 Name desgn
    1 1-may-2004 xyz engr
    1 3-may-2004 xyz engr-1
    1 4-may-2004 xyz engr-2
    The query is
    select * from sample where date1 between '01-may-2004' and '04-may-2004'.
    The result of query will be
    Sno Date1 Name desgn
    1 1-may-2004 xyz engr
    1 3-may-2004 xyz engr-1
    1 4-may-2004 xyz engr-2
    But i need the result to be displayed as
    Sno Date1 Name desgn
    1 1-may-2004 xyz engr
    nil 2-may-2004 nil nil
    1 3-may-2004 xyz engr-1
    1 4-may-2004 xyz engr-2
    Pls let me know how to achieve this.
    Problem 2:
    While i am updating a value using a trigger.
    I am getting "mutating" error.
    Is there a possibility to avoid the mutation.
    The two triggers i am using is
    Trigger 1
    CREATE OR REPLACE TRIGGER TRIG_DURATION_UPDATED
    AFTER UPDATE ON
    TIMESHEET_DATA
    FOR EACH ROW
    DECLARE
    ID_COUNT DATE;
    A date;
    NN NUMBER;
    AA NUMBER;
    NN1 NUMBER;
    BEGIN
    b_dur :=0;
    IF UPDATING('PROGRESS') THEN
    SELECT COUNT(1) INTO AA FROM TIMESHEET_DATA_PAUSE WHERE DATA_sNO = :OLD.DATA_SNO AND EMP_ID = :OLD.EMP_ID AND
    ACNUM = :OLD.ACNUM AND DURATION IS NULL;
    IF AA > 0 THEN
    SELECT to_date(START_TIME,'DD-MON-YYYY HH:MI AM') into a FROM TIMESHEET_dATA_PAUSE WHERE
    EMP_ID = :NEW.EMP_ID AND ACNUM = :new.acnum AND DATA_SNO = :new.data_sno AND pause_TIME IS NULL
    AND DURATION IS NULL;
    select to_date(sysdate,'DD-MON-YYYY HH:MI AM') into id_count from dual;
    SELECT A - ID_COUNT INTO NN FROM DUAL;
    SELECT round(TRUNC(NN*24),2) INTO NN1 FROM DUAL;
    UPDATE TIMESHEET_dATA_PAUSE SET DURATION = NN1,PAUSE_TIME = SYSDATE WHERE
    EMP_ID = :NEW.EMP_ID AND ACNUM = :new.acnum
    AND DATA_SNO = :new.data_sno AND pause_TIME IS NULL AND DURATION IS NULL;
    END IF;
    END IF;
    END;
    Trigger 2
    CREATE OR REPLACE TRIGGER TRIG_DURATION_UPDATED_PAUSE
    AFTER UPDATE ON
    TIMESHEET_DATA_PAUSE
    FOR EACH ROW
    DECLARE
    ID_COUNT DATE;
    A_COUNT NUMBER(10);
    A date;
    NN NUMBER;
    AA NUMBER;
    NN1 NUMBER(10,2);
    BEGIN
    IF UPDATING('DURATION') THEN
    SELECT COUNT(1) INTO A_COUNT FROM TIMESHEET_DATA WHERE DATA_sNO = :new.data_sno AND EMP_ID =:new.EMP_ID
    AND ACNUM = 'ACNUM' AND DURATION IS NULL;
    IF A_COUNT >0 THEN
    SELECT NVL(SUM(DURATION),0) INTO NN1 FROM TIMESHEET_DATA_PAUSE WHERE DATA_sNO = :new.data_sno AND EMP_ID =:new.EMP_ID AND ACNUM = :NEW.ACNUM;
    UPDATE TIMESHEET_DATA SET DURATION = NN1 WHERE DATA_sNO = :new.data_sno AND EMP_ID =:new.EMP_ID AND ACNUM = :NEW.ACNUM AND DURATION IS NULL;
    END IF;
    END IF;
    EXCEPTION WHEN DUP_VAL_ON_INDEX THEN
    DBMS_OUTPUT.PUT_LINE ('CANNOT INSERT');
    END;
    Pls let me know the solutions for the two..
    Thanks in Advance
    Gaya3

    In future please start two threads when you have two questions to ask. Othewise it makes things difficult to follow and may well lead to some of your questions not getting an answer. Unlike some other sites there is no limit to the number of posts we can have :)
    To answer your first question:
    If you have Oracle9i you can do this using a PIPELINED function to act as a pivot table (in earlier versions you will have to have a table of some description - ALL_OBJECTS will do in a pinch).
    CREATE OR REPLACE TYPE t_dates AS TABLE OF DATE
    CREATE OR REPLACE FUNCTION f_dates
      (st IN DATE, cnt IN INTEGER) RETURN t_dates
      PIPELINED
    AS
      dd date;
    BEGIN
      FOR a IN 1..cnt LOOP
        SELECT  st + (a-1)
          INTO  dd
          FROM  dual;
        PIPE ROW (dd);
      END LOOP;
      RETURN;
    END f_dates;
    /So, given this data...
    SQL> select * from t57
      2  /
          COL1 COL2
             3 05-MAY-04
             4 06-MAY-04
             5 07-MAY-04
             6 12-MAY-04
             8 15-MAY-04
    5 rows selected.
    SQL>...we can run this query...
    SQL> SELECT nvl(to_char(t.col1), 'Nil'), dd.ndate
      2  FROM   t57 t
      3         , ( select column_value AS ndate from table(cast(f_dates(trunc(SYSDATE), 11) AS t_dates))) dd
      4  WHERE trunc(dd.ndate) = trunc(t.col2(+))
      5  /
    NVL(TO_CHAR(T.COL1),'NIL')               NDATE
    3                                        05-MAY-04
    4                                        06-MAY-04
    5                                        07-MAY-04
    Nil                                      08-MAY-04
    Nil                                      09-MAY-04
    Nil                                      10-MAY-04
    Nil                                      11-MAY-04
    6                                        12-MAY-04
    Nil                                      13-MAY-04
    Nil                                      14-MAY-04
    8                                        15-MAY-04
    11 rows selected.
    SQL> Obviously, you will want to tidy up the function to suit your needs.
    Cheers, APC

Maybe you are looking for

  • How to convert string to 16 characters.

    My external unique id is too long, more then 30 characters. How to convert it to 30 characters using sql?

  • MEMORY MODULES EMPTY !!

    After mega-research I replaced my damaged hard drive myself, (the original had had a 512mb memory upgrade & was running Tiger fine) However, now System Profiler shows the module as empty, I bought another which has done the same. Naturally, with only

  • Receiving a continuous status error with the FP1600 module.

    I have 3 banks of terminals. All three banks use a FP-1600 module as the network interface. All three banks operate when I power the modules. However, after roughly 15min to a half hour, bank number 1 experiences a continuous red blinking status erro

  • Gdr2 for lumia 520

    any idea when the gdr2 update(coupled with amber) is gonna be available for Lumia 520. Also what changes does it include?

  • SAP HR INDIAN PAYROLL- FULL AND FINAL SETTLEMENT GUIDE

    Hi, We are implementing SAP HR for Indian Payroll and now trying to configure Full and Final Settlement . We have not integrated our system with FI yet completely. Can anybody please provide me with some link or documentation guide so that i can set