Process for deploying different from redeploying?

In the OC4J "Containers for J2EE" manual, in chapter 3, section "What Happens when you Deploy?", there is a "Note" that mentions if you deploy an EAR that is already deployed, then:
"the new deployment renames the EAR file prepended with an underscore. It does not copy over the EAR file. Instead, you can copy over the EAR file. OC4J notices the change in the timestamp and redeploys."
So does this mean that if you just want to deploy a new version of the application, you always have to undeploy beforehand? Do you have to check whether it is already deployed before you undeploy, or is it harmless to undeploy an application which is not deployed?

Hi David,
I can tell you how I deploy new versions of my applications. I'm not
saying it's the only way (and possibly not the best way), but it works
for me, and I'm satisfied with it (so far :-).
I am running stand-alone version 9.0.2.0.0 of OC4J on a SUN computer
with Solaris 7, and JDK 1.3.1
I always "undeploy" an application before deploying a new version of
that application. Undeploying involves the following steps:
(Note: Assume that the "name" of the application is "myApp" and I have
created a deployment file called "myApp.ear".)
1. Delete the "myApp.ear" file from directory
$OC4J_HOME/applications
where "$OC4J_HOME" is the root installation directory. On my SUN
computer, for example, this is
/home/aabrami/OC4J/j2ee/home
2. Delete the entire application subdirectory. Using my example,
the application subdirectory is:
$OC4J_HOME/applications/myApp
3. Delete the entire application subdirectory from the "application-deployments"
subdirectory. Again, using the above example, this is:
$OC4J_HOME/application-deployments/myApp
4. Remove the appropriate "application" element from the "server.xml"
file. That file is located in directory:
$OC4J_HOME/config
and the appropriate entry would look something like:
<application name="myApp" path="../applications/myApp.ear" auto-start="true" />
And that's it! Of-course, I have written a UNIX shell script that
does all this for me. The script file name is "clean". So basically,
in order to undeploy my application, I simply type the command:
clean
Again, I don't know how relevant the above is for your situation
(which you haven't told us much about ;-) but, hopefully, you will
get some use from it.
Good Luck,
Avi.

Similar Messages

  • Multi gesture for browsers different from safari

    Multi gesture for browsers different from safari, for example right to left scroll to previous page. How to set it like in Snow Leopard?

    THe only gesture to change tabs is to tap the tab in the address bar. You can go back a page in a website by holding one finger on the left side of the screen and swiping right. You can go back to a previous app by placing four fingers on the right side of the screen and swiping left.

  • Is there a process for moving costs from maintenance work orders to capital

    Is there a process for moving costs from maintenance work orders to capital projects?
    We have reversed the settlements on the work orders, and then trying to put the relevant NWA in , then receive error message :
    Rule for allocation of PM order to PS network is not maintained.

    hi
    check the allocation structure and the settlement related customization settings.

  • Using MDT 2013 for deploying Software from MDT Server to PC Client automatically and silently ?

    I have a trouble about deploying software from MDT 2013 server to PC Client , Can we using MDT 2013 for deploying software automatically and silently , that Users/Clients don't have to click "next,next" to install software ?
    If you have a solutions to deploying it , please share me about that solutions ?
    Thanks.
     

    you can make software silently with boot opción:
    with chocolatey opensource.
    or make software with switches
    here link to help you:
    http://blogs.itpro.es/octaviordz/2014/05/29/instalando-aplicaciones-con-chocolatey
    http://blogs.itpro.es/octaviordz/2014/06/05/integrando-chocolatey-a-mdt-2013-e-instalando-aplicaciones-de-forma-desatendida-en-windows-8-1/
    http://blogs.itpro.es/octaviordz/2014/10/31/probando-chocolatey-en-windows-10
    http://blogs.itpro.es/octaviordz/2012/07/10/aplicaciones-desatendidas
    MVP Jesús Octavio Rdz http://blogs.itpro.es/octaviordz

  • Page having PL/SQL process and Automatic Row Process for 2 different tables

    Hi,
    I have a page containing 2 regions A & B.
    Region-A content would be updated to table T1(PK : Ticket#).
    Region-B content would be inserted into table T2(PK: Attachment# ; FK: Ticket#).
    Region-B is used for uploading a file content into T2.
    Since I cannot use 2 DML processes on the page for 2 different tables with a common column, so I have a PL/SQL process to update the record into T1 and an Automatic Row Process(DML) for inserting into T2.
    Now the issue is in Region-B when I select a file using 'Browse' button and click on Upload button to fire the Automatic Row Process, the success message is displayed but the file is not uploaded into the table. But when I moved the entire Region-B and the Automatic Row Process to a different page and clicking Upload is working fine and inserting the record into the table along with the file content.
    An item P10_TICKET_NUMBER with source type as Database column with source value as TICKET_NUMBER is used in Region-A.
    I have gone through the forums and found some of the threads below
    Re: 2 Automated Row Processes for one page?
    Re: Error when trying to create 2 Forms on same page on 2 tables with ID as
    where people facing similar issues but here I have followed the solution provided(with one PL/SQL process and other Automatic process) in the threads but still issue persists.
    Can anyone throw some light on this please.
    Thanks,
    Raj.

    Hi Teku,
    You just have a look at this thread, where u can find a solution for your problem.
    INSERTING Records into Second table based on First table Primary Key
    hope this helps.
    Bye,
    Srikavi

  • Automatic payment process for a vendor from different company code

    Dear Friends,
    We have a situation here  to process automatic payment for a vendor which belongs to our subsidiary.
    The scenario is explained below.
    Our main company code A pays for a particular vendor (Eg. V1) from company code B.
    When processing automatic payment for company code A, the vendor V1 from comapny code B need to be selected for payment and the DME file generated should include the payment for V1 aswell.
    I know that we can set up a company code as paying company code for others but the situation here is only to process payment for one particular vendor (not all) from the other ccode.
    I would appreciate your advise in this matter.
    Regards,
    AJ.

    Dear all,
    Our situation is when we run the payment run for company code A it should also select the vendor V1 from company code B because the payment for vendor V1 has to be paid from the house bank of Ccde A. Cocde B is in different country and uses different house bank.
    Is there any way to make the house bank of ccde A to pay for the vendor V1?
    Regards,
    AJ.

  • Urgent help with simple BPEL process for reading data from database

    Hello there,
    I need help with BPEL project.
    i have created a table Employee in Database.
    I did create application, BPEL project and connection to the database properly using Database Adapter.
    I need to read the records from the database and convert into xml fomat and it should to go approval for BPM worklist.
    Can someone please describe me step by step what i need to do.
    Thx,
    Dps

    I have created a table in Database with data like Empno,name,salary,comments.
    I created Database Connection in jsp page and connecting to BPEL process.
    It initiates the process and it goes automatically for approval.
    Please refer the code once which i created.
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@page import="java.util.Map" %>
    <%@page import="com.oracle.bpel.client.Locator" %>
    <%@page import="com.oracle.bpel.client.NormalizedMessage" %>
    <%@page import="com.oracle.bpel.client.delivery.IDeliveryService" %>
    <%@page import="javax.naming.Context" %>
    <%@page import="java.util.Hashtable" %>
    <%@page import="java.util.HashMap" %>
    <%@ page import="java.sql.*"%>
    <%@ page import= "jspprj.DBCon"%>
    <html>
    <head>
    <title>Invoke CreditRatingService</title>
    </head>
    <body>
    <%
    DBCon dbcon=new DBCon();
    Connection conn=dbcon.createConnection();
    Statement st=null;
    PreparedStatement pstmt=null;
    Hashtable env= new Hashtable();
    ResultSet rs = null;
    Map payload =null;
    try
    env.put(Context.INITIAL_CONTEXT_FACTORY, "com.evermind.server.rmi.RMIInitialContextFactory");
    env.put(Context.PROVIDER_URL, "opmn:ormi://localhost:port:home/orabpel");//bpel server
    env.put("java.naming.security.principal", "username");
    env.put("java.naming.security.credentials", "password");//bpel console
    Locator locator = new Locator("default","password",env);
    IDeliveryService deliveryService =
    (IDeliveryService)locator.lookupService(IDeliveryService.SERVICE_NAME );
    // construct the normalized message and send to Oracle BPEL Process Manager
    NormalizedMessage nm = new NormalizedMessage();
    java.util.HashMap map = new HashMap();
    st=conn.createStatement();
    out.println("connected");
    String query1="Select * from EMPLOYEE";
    rs=st.executeQuery(query1);
    /*reading Data From Database and converting into XML format
    so that no need of going to BPEL console and entering the details.
    while (rs.next()){
    String xml1 = "<AsynchBPELProcess1ProcessRequest xmlns='http://xmlns.oracle.com/AsynchBPELProcess1'>"+
    "<Empno>"+rs.getString(1)+"</Empno>"+
    "<EmpName>"+rs.getString(2)+"</EmpName>"+
    "<Salary>"+rs.getString(3)+"</Salary>"+
    "<Comments>"+rs.getString(4)+"</Comments>"+
    "</AsynchBPELProcess1ProcessRequest>";
    out.println(xml1);
    nm.addPart("payload", xml1 );
    // EmployeeApprovalProcess is the BPEL process in which human task is implemented
    deliveryService.post("EmployeeApprovalProcess", "initiate", nm);
    // payload = res.getPayload();
    out.println( "BPELProcess CreditRatingService executed!<br>" );
    // out.println( "Credit Rating is " + payload.get("payload") );
    //Incase there is an exception while invoking the first server invoke the second server i.e lsgpas13.
    catch(Exception ee) {
    //("BPEL Server lsgpas14 invoking error.\n"+ee.toString());
    %>
    </body>
    </html>
    Its working fine.And i want it for Bulk approvals.please help me step by step procedure if any other way to implement this.

  • Process for migrating CMSDK from one server to another

    All:
    We are in the process of migrating our CMSDK installation and database from one server to another. In doing so, we would like to retain our documents and folders and other custom objects that have been created till date. If there is a recommended migration process that you could point us to, it would be greatly appreciated.
    Our initial thought is to:
    1. Install the CMSDK server on the target server machine
    2. Export source CMSDK schema from source database server
    3. Import source CMSDK schema into target database server
    Are we on the right track? If so, are there any pitfalls and issues we can expect to encounter. Any information will be very helpful.
    Thanks

    The utility should help you a lot. The best documentation on how to use the utility is in the 9iFS Setup and Administrators guide (doc number A95995-01) Chapter 8. It pretty much works the same way then as it does now. These are two metalink notes on doing the export/import silently (29928.1 - 177816.1). Doing it silently is very tedious since you having to create numerous .def files and other scripts to run them.
    I will look around for any other stuff I have, but the 9iFS document is very good as a reference no matter what version of CMSDK. If you have problems finding it, I can try to send it to you, but it is around 5.6M.

  • Subcontracting Process for providing materail from other supplier

    Hi,
      I want to know the detail process of subcontracting with senario as
    We want to procure material   A  from vendor   X  for this  vendor Y will provide  the material  B   to vendor X  and we will get the final material A from  Vendor X   so how to handle this scenarion   can you give the detail  steps for this  with all detail along with accounting data..
    regards,
        zafar

    Dear Zafar.
    As per your scenario.
    Material - A - Finished Material
    Material - B - -Row Material to created material A
    Vendor  X - Subcontractor
    Vendor Y - Vendor for component B.
    Now first create purchase order of material A with vendor X as per Jobwork price of finished Materail A. (PO no - 1)
    Then Create purchase order ME21N for component B with reference to vendor Y as per rate confirmed with vendor Y
    At the time of po creation with vendor Y with item B select this item B , Go to Item Details - >Select delivery address TAB
    -> Right bottom you will find field Vendor -> enter the vendor code of X (your subcontractor vendor for material A) in this filed
    -> Tick mark the Check box the SC vend beside this field. (purchase order no - 2)
    Now inform the vendor Y to send the components B to subcontractor X.
    When X will confirm you that the components are (material B) arrived at his place take the GRN for purchase order no 2.
    This will directly t/f the stock of material (B) provided to vendor X instead of your company/storage location.
    You are liable for component B to vendor Y  as now the stock is your but at subcontractor place.
    To payment for B of vendor Y do normai MIRO as you are doing regular.
    Vendor X will generate the material A and send it to you.
    This will consume the components B and you have to pay to vendor A as per jobwork price mention in PO no -1.
    This is regular subcontracting.
    Hope all the steps are very clear with accounting data.
    Regards
    Rajan

  • Standard process for PO creation from Bid Invitation or Bid

    Hi everybody,
    I would like to know what is the standard process to create local Purchase Order (i mean in a extended classic scenario) from Bid Invitation or Quotation.
    In the current process, Bid Invitation are created form Shopping Cart using Sourcing Cockpit. Then, Purchaser will send its Bid to supplier (by publishing Bid Invitation) using BBP_BID_INV transaction.
    Then, supplier will submit its Bid.
    At this step, what it is the standard process (does it exist ?) to create a Purchase Order linked to this Bid ?
    The need is to have a PO as follow-on document to Bid.
    Thank you to clarify this point.
    Regards.
    Laurent Burtaire.

    Hi,
    After the bids are submitted and when the bid invitation opening date arrives, there will be a map for you to compare the bids received.
    To see this map, go to BBP_BID_INV transaction and the map will be there when you search your document.
    When you click on this map, you will find one column for each of the companies that sent quotations.
    You can click on the company's name and then you need to click on button 'Accept', in order to accept the company's quotation.
    Then you click on 'Refresh'.
    Then you click on 'Create Purchase Order' or 'Create Contract'.
    In order for that to happen, you must have defined number ranges and document types for bid invitation, quotation and purchase order.
    Let me know if it helped.
    Regards,
    Henrique

  • Process for material returns from Customer, mapped in CIN

    Hi Gurus,
    I have some queries (below) pertaining to CIN.
    1. How is the Customer Materials returns is handled in CIN? What is the process flow (transactions)? Since, the goods are returned we can avail the excise duty paid earlier? So, is the RG23A Part 2 and RG1 register updated? How?
    2. Due to incorrect excise values, if cancel the excise invoice, then is the RG23A Part 2 updated? What about RG1 updation? After cancellation of the existing excise invoice, if we create a new excise invoice is the RG1 updated with new Excise duty values?
    Please share your inputs.
    Appreciate a process flow document for above, if anybody has. Please mail at [email protected]
    Thanks,
    Amit

    Hi amith,
    for return process you have to follow RE document type and LR for pgr
    while coming to excise you should have to do J1IEX without purchase order the the values of excise will be reversed .
    it should resolve your issue
    bvdv

  • Is the numbers for laptop different from the numbers app?

    Am I right in thinking that Numbers I have for my MacBook cannot be transferred to my iPad? Do I need to buy the app? Is it any good?

    You are correct.  There are different versions for Mac OS and iOS.  You 'need' to buy it on your iPad if you have a requirement to open Numbers format files which you obviously do.

  • Eligible phone for discount differs from phone number want to use

    Can I buy a phone using the number that gives the best discount but activate the new phone under a different phone number that isn't eligible for as good a discount - eg:  using husband's phone that is eligible for extra discount but putting my son's phone number on the new phone?

    Yes, this is called an alternate upgrade. The contract on your husband's line will be extended, you can use the phone on your son's number (just tell the rep what you want to do when you make the purchase).

  • Art for album different from songs art

    Windows 7, iTunes 11.4. I'm looking at the "show album art" view. It's showing the wrong album art for an album, but when I right click on a song and click "get info", that window shows the right art. Hitting next for each next song shows the right art. The album as a whole has the wrong art. How do I fix this?

    Can anyone please answer my question?

  • Maximum number of dialog processes for sending data

    Hello All,
    How to change the Maximum number of dialog processes for sending data from default value ?
    I see this infopackage->Scheduler->Settings for Sending Data--
    >Maximum size of a data packet  as 3 .....Can we increase this setting  to 5 for faster extraction?
    if yes,,,please let me know how & where we can change this...
    Thanks,

    Hi,
    in the source system table:table ROIDOCPRMS
    change these:
    MAXSIZE
    MAXPROCS
    STATFRQU
    thnks.

Maybe you are looking for

  • Can I get replacement for my apple ipod

    My ipod was misplaced for .years.now I got it and I want to replace it.  Can you help me. I dondon't know it's model

  • Group by clause using query builder

    Hi, I have some event pages (pages created using a template called event) which are tagged with event types and I have 5 event types in total. In the event listing page, i want to show the events grouped by event types. Is there a facility in query b

  • What are all Built-in-Templets available in ODI?

    What is the use of Built-in-Templets? What are all Built-in-Templets available in ODI?

  • How to do Setup and Security implementation in ODI

    HI Friends, I have few question regarding ODI installations.I am using Oracle DB version is Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production ODI is ODI 11.1.1.5 version. While installing can we go for One Master repository

  • Date Picker Alingment is not proper when we open Date in new Tab

    We are facing Date Picker Alignment issue with Safari 5 browser on MAC 10.7.3. Our application is developed in Seam framwork ( which includs JSF and EJB). The issue which we are observing as follows- There are some links on our application JSF page w