Please help, how to guide the user to deploy a web application easily.

hello,
i have created an application which creates a new web application every time it is run. now i am writing the documentation of it and dont know which web server the client may have so i have to write / show to the user general steps that he should follow to deploy the web application after it has been created.
i have written that the user should deploy the web app by making the following entry into the server.xml file (for tomcat)
<Context path="/webappname" docBase="webapppath"></Context>
it is not compulsary that the user should place the web application in the webapps directory of the server hence the above webapppath is used.
now i want to indicate to him where and before / after which tag and under which host name etc the above line should be added in a manner that he is able to do it properly.
please anyone can help me how to do it.

i would like to know if there is any way without Java web start.
it has to be set manually.
i.e every user should make this entry in the server.xml so that the context is set.

Similar Messages

  • How to find the root document of my web application, if it is in WAR file ?

    Hi,
    I want the root document of my web application. I my EAR file, i have only one WAR file. In my WAR file the following are the folders:-
    enterprise/..
    properties/sql/..
    locale/..
    WEB-INF/..
    Once i get the 'real path' or 'root document', I will use that in my application in no.of times. Path(root document) is used in the following way in my application:-
    File emailTemplatesFolder = new File( path + "/enterprise/"+ enterpriseCode+"/EmailTemplates");
    If i use getRealPath() method, it works fine, in use Oracle9ias, because, EAR file will be extracted. Where as in Weblogic 6.1, EAR file willn't be extracted, so that getRealPath() is giving 'null', that is reason why i am seeking for alternative.
    Thanks in Advance
    Srinivas

    Yes, that is the corrected behaviour.
    What you need to do is to get the ServletContext, and then load the files as resources.
    Here is how to load a properties file in the init() servlet method, which has access to the ServletConfig object that can give u the ServletContext.
    String classesDir = "/WEB-INF/classes";
    ServletContext sc = config.getServletContext();
    InputStram is = sc.getResourceAsStream(classesDir+"default.properties");
    props.load(is);
    Hope it helps,
    Liviu

  • Please help how to pass the dynamic value to VO -- Urgent.

    Hi,
    I have an Oracle Standard VO( SQL Query). As per my requriemnt i extended standard VO with one new feild.Now i want to query the new VO dynamically.
    How to pass the dynamic values to new query?
    for refence i am giving my old query.
    select
    secondary_inventory_name as SubInventoryName,
    description as Description,
    from mtl_secondary_inventories
    my new Query is like this:
    select
    secondary_inventory_name,
    description,
    Item
    from mtl_secondary_inventories
    where item='123456'
    I want to pass this "where item="123456" as dynamically. please help where i will do the change's.
    Thanks,
    Sekhar.

    Hi,
    thanks pratap for quick response...but i am extending VO from Standard VO.
    I have a Standard VO which contains a bind variable suppose :1.
    I have extended this above standard VO and i want to add another bind variable say :2 to the custom VO.
    Please tell me how will i pass bind parameter value to the bind variable in runtime ?
    what are files i want to change?
    Thanks,
    Sekhar.

  • Please help how to undo the post in general ledger?

    dear all,,
    please help me ?
    we have R12 Orcale.
    I made a post in general ledger for closing purpose ??
    now I want to undo post whatever I posted should return back as it is ??
    how I can do it ??
    for more clarification
    for closing the account period we went to the general ledger than post journal after that we select the period name than we select find ?
    after find I made tick to all the transactions there than I posted ?
    my question How I can cancel the post or undo and keep it as it is ??
    please help

    A posted journal batch can not be deleted, You can reverse it to nullify the accounting effects of the posted journal batch.
    refer MOS note:
    Can a Posted General Ledger Journal Entry be Deleted? [ID 135532.1]
    regards,

  • Please help : How to make the anomalistic table just like below?

    Hi all,
    How to make the anomalistic table just like below? Anyone can give the way detail or thoughtway ?
    http://61.132.17.188/webber/table.gif

    This is just a suggestion.
    If you put your "JTable" in a "JScrollPane", then you can add any "java.awt.Component" to the corner of the "JScrollPane" -- using the "setCorner()" method (of "JScrollPane").
    I would suggest making a custon "JPanel" and overriding its "paintComponent()" method to draw a diagonal line (and the required text) on it.
    You can find out more about how to do this from the links I provided in my first reply.
    Hope this helps.
    Good Luck,
    Avi.

  • PLEASE HELP How to Activate the Correlation with the workflow ?

    Hi everyone,
    I am trying to retrigger a workflow with object (QMSM) using another Object event (BUS2007  event TECCOMPLETED )
    The objects are QMSM(complete task) and BUS2007(Plant Maintenance order) .
    I tried to do that using correlation but I am stuck in the following step because there is no name of the event there to choose from.
         *3.      Select the event for which the correlation is to be activated and the correlation to be activated*
    The procedure I used was from this link:
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/26/0b8b3f81fef93de10000000a114084/frameset.htm
    Things done so far:
    Defining a Correlation
    Defining a Wait Step: Wait for Event with Correlation
    Not done:  Activating a Correlation
    Please help everyone.
    Edited by: SAMI JAPR on Apr 29, 2008 6:34 PM

    You need to add events under WF header, version-dependent---> events.
    Regards, IA

  • Please Help - How to Fetch the Data from a Cube

    Dear All,
    We created a cube containing dimensions
    Customer, Product, Branch, Activity, Time dimensions
    using Oracle Analytical WorkSpace Manager.
    Once Cube is created,
    How can I see the Data existing in the Cube using normal SQL Queries ??? Through Analytical Workspace Manager Toll we r able to see the data. But our requirement is to see the data from the Cube using SQL Queries.
    Regards,
    S.Vamsi Krishna

    You appear to have the wrong forum. This forum is for the Oracle Workspaces application, which is a component of Oracle Collaboration Suite.
    Perhaps one of the forums in the database section will be more relevant:
    http://forums.oracle.com/forums/category.jspa?categoryID=18
    regards,
    -Neil.

  • Please help : how to know the caller ?

    Hi,
    suppose servlet 'C' can be called by servlet 'A' and servlet 'B'.
    How can servlet 'C' know by which servlet it has been called ? Is there something foreseen in HttpServletRequest ?
    Thanks,
    Javamad.

    If it needs to know that -- and in a good design it should not need to know that -- you could store something in the session object to indicate it.

  • Urgent: Please help. how to solve the time delay during buffer read and write using vc++

    I need to continuously acquire data from daqmx card, write into a file and at the same time corelate (in terms of time) the data with signals from other instruments. The current problem is that there is time delay during read and write data into buffer,thus causing misalignment of the data from multiple instruments. Is there a way to solve  the delay? or Is there a way to mark the time of the data acquisition in the buffer?  If I know the starting time (e.g. 0) of data acquisition and sampling rate (e.g. 1kHz), can I simply add 1ms to each data sample in the buffer? The current code is shown below.
    void DataCollectionWin::ConnectDAQ()
    DAQmxErrChk(DAQmxCreateTask ("", &taskHandle));
        DAQmxErrChk(DAQmxCreateAIVoltageChan(taskHandle,"Dev1/ai0,Dev1/ai1,Dev1/ai2,Dev1/ai3,Dev1/ai4,Dev1/ai5,Dev1/ai16,Dev1/ai17,Dev1/ai18,Dev1/ai19,Dev1/ai20,Dev1/ai21,Dev1/ai6,Dev1/ai7,Dev1/ai22","",DAQmx_Val_Cfg_Default,-10.0,10.0,DAQmx_Val_Volts,NULL));
      DAQmxErrChk(DAQmxCfgSampClkTiming(taskHandle,"",1000.0,DAQmx_Val_Rising,DAQmx_Val_ContSamps,60000));
      DAQmxErrChk (DAQmxRegisterEveryNSamplesEvent(taskHandle,DAQmx_Val_Acquired_Into_Buffer,50,0,EveryNCallback,NULL));// Every 50 samples the EveryNSamplesEvent will be trigured, to reduce time delay.
      DAQmxErrChk (DAQmxRegisterDoneEvent(taskHandle,0,DoneCallback,NULL));
      DAQmxErrChk (DAQmxStartTask(taskHandle));
    int32 CVICALLBACK EveryNCallback(TaskHandle taskHandle, int32 everyNsamplesEventType, uInt32 nSamples, void *callbackData)
     DAQmxErrChk (DAQmxReadAnalogF64(taskHandle,50,10.0,DAQmx_Val_GroupByScanNumber,data,50*15,&read,NULL));
       //memcpy(l_data,data,6000);
      SetEvent(hEvent);
    l_usstatus_e[0]=g_usstatus[0];// signals from other instruments that need to be corelated with the data from daq cards.
     l_optstatus_e[0]=g_optstatus[0];
     if( read>0 ) // write data into file
       //indicator=1;
     for (i=0;i<read;i++)
     {  //fprintf(datafile,"%d\t",i);
      fprintf(datafile,"%c\t",l_usstatus_s[0]);
      fprintf(datafile,"%c\t",l_usstatus_e[0]);
            fprintf(datafile,"%c\t",l_optstatus_s[0]);
      fprintf(datafile,"%c\t",l_optstatus_e[0]);
              fprintf(datafile,"%.2f\t",data[15*i]);
     //   sprintf( pszTemp, "%f", data[6*i]);
     // pListCtrl->SetItemText(0, 2, pszTemp);
        //pWnd->m_trackinglist.SetItemText(0, 2, pszTemp);
         fprintf(datafile,"%.2f\t",data[15*i+1]);
         fprintf(datafile,"%.2f\t",data[15*i+2]);

    Hello kgy,
    It is a bit of a judgment call. You should just choose the board that you think has the most to do with your issue. For example, this issue was much more focused on setting up your data acquisition task than the Measurement Studio environment/tools, so the MultifunctionDAQ board would have been the best place for it. As for moving your post to another board, I do not believe that is possible.
    Regards,
    Dan King

  • Please help me to decide the best deign for my web app

    I'm quite new to j2EE developement.
    Currently im working on a web based user management application ( a small scale one ).
    For that im hoping to use JSP s for presentaion tier and EJBs for business logic. This business logic seems to be having more on database accessing. Im not using Entity Beans for data access , but hope to use Session Beans.
    Is it ok if i develop according to this model , or is it better to use Entity Beans for data acccess ?
    Is it a bad design to use Session Beans for data accessing ?
    Or else , what if i avoid EJB s completely and database access is done via JSP itself ?
    Or i have another option , that is , using JSP for the presentation layer and Servlets for database accessing.
    what is the preferred way ? How i can decide a better way ?
    I very much appreciate your kind support on this.
    Thanks and Regards
    Saj

    saj123 wrote:
    I'm quite new to j2EE developement.
    Currently im working on a web based user management application ( a small scale one ).
    For that im hoping to use JSP s for presentaion tier and EJBs for business logic. This business logic seems to be having more on database accessing. Im not using Entity Beans for data access , but hope to use Session Beans.Why EJBs? POJOs will work just fine.
    >
    Is it ok if i develop according to this model , or is it better to use Entity Beans for data acccess ?Neither. Use POJOs. What are EJBs buying you?
    Is it a bad design to use Session Beans for data accessing ?Why?
    Or else , what if i avoid EJB s completely and database access is done via JSP itself ?Ouch, no. JSPs are for presentation only.
    Or i have another option , that is , using JSP for the presentation layer and Servlets for database accessing.Wrong again.
    what is the preferred way ? How i can decide a better way ?Learn how to layer an app properly. Learn Spring. http://www.springframework.org
    %

  • Please help me to embed the Flash control in a Windows application (using Visual Studio)

    How to create and control Datagrid Using XML in Flash 8.0?
    Is it possible to create the dynamic row/columns in flash
    using XML?
    How can I insert the picutes and text fileds in flash
    datagrid usig XML?
    Please provide me articles or examples (.fla) related to my
    queries.

    Hi,
    Here is step-by-step guidance on installing and running an Oracle 9i database on Windows:
    http://download-east.oracle.com/docs/html/A95493_01/toc.htm
    HTH,
    Jim

  • How to pass the user & pass  dynamically for  web services in composite.xml

    My project calling external secure web services.now i hardcode the username and password in composite.xml. i need to pass dynamically.Anyone can help me?

    OK, got it. Need to set the variable in the correct component in opmn.xml file.

  • Please help! What is the latest vesrion of Apache web server for

    Oracle Forms 10G.
    Regards,
    Evgeny

    that means Apache 1.33.2?
    Or simply Apache 2?
    thing is that I have a stand alone installation of FORMs 10G and Apache is a piece of that as I understand, so in need to upgrade apache from 1.33.2 to the latest version of apache, so it will be apache 2? or there is no upgrade further?
    Regards,
    Evgeny

  • How to include the OBI reports in other web applications such as flex.

    I am currently working in Flex and java. I learnt the basics of OBI and constructed some reports. Now i want to include these reports in my Flex application as a part of dashboard. I want to know the way of doing it....

    Post Author: Argan
    CA Forum: .NET
    http://support.businessobjects.com/communityCS/FilesAndUpdates/vbnet_web_samples.exe.asp

  • How to get the user exits Enhancement no.

    Hi All,
    How to get the following userexit  Enhancement no in SMOD transaction code.
    User Exit: J_1i7_userexit_exinv_addl_data
    Please help.

    Hi,
    These are the user exits not for the code implemention . These are called by the values given in the configuration. so u don't see any enhancement number for them .
    For more details refer this doc by clicking on find and give ur exit name.
    [Reference|http://allsapsdonline.blogspot.com/2008_10_01_archive.html]
    Rhea.

Maybe you are looking for