Can a ear file contain two war files

I have I want to merge two webapplications into single.
is it possible?
and also I want to know that can one .ear file contain more than one .war file?

I don't see any problem about it... You might want to deploy to web sites into the same application server at once... I don�t think there are any kind of restrictions at this level.
MeTitus

Similar Messages

  • I have a created a directory structure ias\ias-samples\myapps\src\docroot.In docroot folder i have a single jsp.i created a war file having that jsp,and ear file having the war file

    I deployed the ear file.Now i try calling http://localhost/myapps/test.jsp ??
    i'm i doing the right thing ?

    Hi,
    This is right provided you have installed the webserver & app server
    on the same machine and the port number for the web server is 80 by
    default.
    Regards
    Raj
    Arif Khan wrote:
    I have a created a directory structure
    ias\ias-samples\myapps\src\docroot.In docroot folder i have a single
    jsp.i created a war file having that jsp,and ear file having the war
    file
    I deployed the ear file.Now i try calling
    http://localhost/myapps/test.jsp ??
    i'm i doing the right thing ?
    Try our New Web Based Forum at http://softwareforum.sun.com
    Includes Access to our Product Knowledge Base!

  • Merge two war files

    I have an ADF BC application using UIX consisting of two war files deployed on tomcat. How to combine both into a single war file.

    To merge war files, the web.xml deployment descriptor is required to be combined. Add the entries from one of the web.xml to the other and combine the files in the WEB-INF and WEB-INF/classes directory.

  • How to split a file into two small file

    Hi All,
              I want to raed a file from FTP server.Then i have to split a file into two small file.File format look like this.
             R01!service_order!item_guid!resource_guid!assignment_guid
             R02!Service_order!product_id!product_discription!quantity
             R02!Service_order!product_id!product_discription!quantity
             R02!Service_order!product_id!product_discription!quantity
    i want split file into 2 file,according to header and item details.one table containt header information (label R01) and second table containt (label R02).
    can anybody help me for this.how can i split into 2 file.
    Thanks
    Vishwas Sahu

    Create 2 internal tables. sat it_header, it_detail
    Check for 1st 3 characters and if it is R01 then send it into it_header and if it comes out to be R02 then send it to it_detail.
    Once done... You can either attach these tables into mail as two seperate files
    Or you can download each internal table using GUI_DOWNLOAD.
    Hope this helps!!
    Kanchan

  • Can a single form contain two regions?

    Can a single form contain two regions? One region would be unique to each application. The second region would be reused on several applications. Is it possible to put both regions in the same form?
    I tried it, but I am new to APEX. I would greatly appreciate you pointing me in the right direction. I am using APEX 3.2
    Thank you.

    You can't use Flex forms the usually way and achieve your
    goals?
    <Form>
    <FormItem>
    </FormItem>
    <FormItem>
    </FormItem>
    <FormItem>
    </FormItem>
    </Form>

  • Sharing static files across multiple WAR files in a single EAR

     

    Is there also a way to share the Session across multiple WARs in the
    same EAR ??
    TIA
    Nikhil.
    Vinod Mehra wrote:
    Yes, we have Virtual Directories for this in 7.0.
    http://edocs.bea.com/wls/docs70/webapp/weblogic_xml.html#1031951
    --Vinod.
    "Sam Smith" <[email protected]> wrote in message
    news:3d3f47cf$[email protected]..
    Hi,
    I have multiple web apps to be deployed to an intranet. I need to have acommon
    look and feel for these multiple webapps.
    I could place the webapps in a single ear file or deploy them without aear file.
    I wanted to know if there is any standard way to include static files likeimages,
    javascripts and css files (for a common look and feel) across multiple warfiles.
    Right now I am planning to keep a war file which just contains all thestatic
    files and point all the jsp pages in the other apps to the static files inthis
    common app. Is there a better way to go about this.
    Thanks,
    Sam

  • Can I open and view two different6 files at same time?

    Would like to be able to view two different files side-by-side for cutting and pasting purposes.  Is this possible?

    Have you turned off Window > Application Frame and
    Photoshop > Preferences > Interface > Open Documents as Tabs
    Photoshop > Preferences > Interface > Enable Floating Document Window Docking

  • Class file missing from war file deployment

    I have a web application that is being deployed to a war file. I have deployed several times successfully. Then with the latest changes, there is a class file that does not get included into the war file. It does get compiled and does exist in the project directory.
    The class file is in a seperate project from the project where the war file deployment profile is; however both projects are in the same workspace.
    There are several other classes in the project that contains the missing class file that does get included in the war file. I don't see anywhere in the profile where these files are selected individually.
    I'm at a loss as to how to fix this problem other than add the file after deployment.
    Appreciate any help or ideas...
    Keith...

    Hi Keith,
    You may want to follow this thread....
    class object missing from ear file
    Brigette

  • Do i have to pack all files into the war file/

    Hi,
    suppose a file (say bb.html, for example) within a war has a link to a document outside the war, say c:\aa.doc for example, after deploying the war into the j2ee application server, the linked file cant be found, simply because the file(aa.doc) isn't packed with bb.html. I am wondering if there is a way that I can establish the link, even they are placed in different location.
    to exend the question, in my understanding, the web container within the j2ee application server is a Tomcat run evironment, do I need to connection the applicaiton server to one of web servers like appache web server, IIS etc to get better preform? if yes, how?
    Can anyone give some explanation please?
    Thank you very much!
    Ken

    No they do not have to be packed into the same War file.
    The application server does have to know where they are so that it can handle requests for a given "html" file.
    For example: "bb.html" was found in the war file you deployed.
    it links to "aa.doc" - where is the directory or war file that contains "aa.doc"?
    It too needs to be "deployed" within the server in order to be found.
    I hope this helps.

  • Bank Transfer file: generate two outgoing files for one pmt method?

    Hello Experts,
    Two files (header and item) are expected from the hungarian bank for each payement.
    It's possible to generate two outgoing files for one pmt method using DMEE tree? If yes, can you tell me how?
    If not, there is an other solution? Use a classic program (copy and adaptation) for example?
    Thank you in advance.
    Amal

    Are you sure you need separate files file header and items.
    Usually both header and items are placed in the same file. Please reconfirm or get the formats from the Bank.

  • Single War file VS Separating WAR files suggestions

    Hi There
    We have big a debate whether to go with a single WAR file (JEE application) VS creating multiple WAR files.
    Here is the back ground: This is an IVR application.
    There are 4 types of callers Member, Provider, Dental, Vision. For each of them there is only JSP which will take care of all required Dialogues(Menus). At the end of the any call we collect MemberID regardless of the caller.
    There are 4 separate phone linse for the above 4 types of callers. However any caller can call into any of the lines. For example according to business requirements, Provider can call into Memebr line and hence Member(app) should be able to handle the logic. In other words Memebr & Provider are tied together.
    Arugents:
    I : I say create one single JEE project and have separate JSPs for the above 4 catagories so that teh application can share lot of common modules such as Logging, some Libs, configuraiton files, some JSFs, Some JSPs(We have some common JSPs that needed to be shared by 4 types of callers).
    Otherside argument: Each of the 4 call types should be created as a seperate WAR files so that change of one WAR does not affect the other.
    Even though that seems to be right given the nature of the business requirements change in one definitely affects other hence regression testing is needed on all of them anyway. In that case what benefits are we trying to reap except the extra maintainence.
    I would like some of your expert's opionions and thoughts on these approaches (Construction, vesioning, Maintenance perspective). I appreciate your inputs.

    This issue comes up repeatably. It's a real bug.
              I believe this problem was fixed in a 5.1 service pack, but I'm trying to
              find out the exact disposition of the issue. Noone seems to be complaining
              about this under 6.x, so a fix seems to have been made, the only question is
              whether or not it got back-ported to a 5.1 service pack.
              Gary
              david <[email protected]> wrote in message
              news:3ac4a39a$[email protected]..
              >
              > I work with WebLogic 5.1 and I'm trying to deploy a web application which
              gets
              > a properties file. If I deploy it as an expanded directory hierarchy (with
              the
              > properties files into WEB-INF/classes) I have no problems. While deploying
              it
              > by a .war file I get this message: "en_GB
              java.util.MissingResourceException:
              > Can't find resource for base name Agent, locale en " (the getBundle()
              method is
              > trying to get an english property file). What could I do? Is it really a
              weblogic
              > 5.1 bug?
              > Thanks,
              > David
              

  • Slideshow - How to insert music file between two existing files.

    I have a lengthy slideshow with different music files dropped into the background (that is, they display behind the images when in Slideshow Split View). I need to insert an audio file between two of these background music files, but Aperture is not allowing it. Removing all of the music files (1 hour slideshow) and re-adding them is not an appealing option.
    Certainly we should be able to rearrange (or insert) background music without have to remove all existing music and reapplying? Or, is this, in fact, not possible presently?

    IFF you legally own the tune, you may be able to do it, but using a computer and iTunes to sync the devices.

  • Upload files into a .war file

    Hi,
    I`m working in a webapp that upload a file from a client browser into a
    directory inside the structure of my aplication. This looks like :
    MyApp\targetdirectory
    I`m using getServlet().getServletContext().getRealPath("/") to get the real
    path of root of MyApp and then upload the file ...
    Everything work when I`m working with the "exploded" structure but it fails
    when I deploy it in weblogic as part of a .war file.
    Tomcat seems to handle this "exploding" the .war file at deploying time ...
    does weblogic has something similar ?
    regards,
    Hans Nemarich
    ORDEN
    www.orden.cl

    This has been discussed before if you search back ... generally, you should
    NOT be doing what you described.
    Peace,
    Cameron Purdy
    Tangosol Inc.
    Tangosol Coherence: Clustered Coherent Cache for J2EE
    Information at http://www.tangosol.com/
    "Hans Nemarich" <[email protected]> wrote in message
    news:[email protected]..
    Hi,
    I`m working in a webapp that upload a file from a client browser into a
    directory inside the structure of my aplication. This looks like :
    MyApp\targetdirectory
    I`m using getServlet().getServletContext().getRealPath("/") to get thereal
    path of root of MyApp and then upload the file ...
    Everything work when I`m working with the "exploded" structure but itfails
    when I deploy it in weblogic as part of a .war file.
    Tomcat seems to handle this "exploding" the .war file at deploying time...
    does weblogic has something similar ?
    regards,
    Hans Nemarich
    ORDEN
    www.orden.cl

  • Why this does not works??? (I use jsp: include. to contain two jsp files)

    I have a main.jsp, and in this main.jsp, I have two part, leftButton.jsp and view.jsp, I want to include the leftButton.jsp and view.jsp to main.jsp.
    The code of main.jsp is like follows:
    <%@ page language="java" contentType="text/html" %>
    <html>
    <head>
    <title>JSP include element test</title>
    </head>
    <body>
    <table>
    <tr>
    <td><jsp: include page="leftButton.jsp" flush="true"></jsp: include></td>
                             <td>     <jsp: include page="view.jsp" flush="true"></jsp: include></td>
                        </tr>
         </table>
    </body>
    </html>
    Why the include does not works? by the way, I embeded a flash.swf file in view.jsp.

    Hi Mellon,
    You might be better off using a JSPF segment for leftButton.jsp & view.jsp and the <%@ include file="relativeURL" %>.
    Be careful that the included file does not contain <html>, </html>, <body>, or </body> tags. Because the entire content of the included file is added to the including JSP page, these tags would conflict with the same tags in the including JSP page, causing an error.
    Note: It is conventional to put JSP segements under the WEB-INF/jspf/ folder so the file cannot be accessed directly by a URL
    Note: JSPF files end with .jspf, so your files would be leftButton.jspf and view.jspf.

  • Why can't insert more than two oam file at the same time in DW ?

    When I insert two oam at the same time, the page can't show any one!

    I found the problem, because I imported the width of two adaptive oam, then they can't show, here is the code, how do you look at me in the case of not cancel width adaptive to continue running
    =======================================================
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Home</title>
    <!--Adobe Edge Runtime-->
    <meta http-equiv="X-UA-Compatible" content="IE=Edge">
    <script>
      var custHtmlRoot="Untitled-1/Assets/";
      var script = document.createElement('script');
      script.type= "text/javascript";
    script.src = custHtmlRoot+"edge_includes/edge.5.0.1.min.js";
      var head = document.getElementsByTagName('head')[0], done=false;
      script.onload = script.onreadystatechange = function(){
      if (!done && (!this.readyState || this.readyState == 'loaded' || this.readyState == 'complete')) {
      done=true;
      var opts ={
        scaleToFit: "width",
        centerStage: "none",
        minW: "0",
        maxW: "undefined",
        width: "550px",
        height: "400px"
      opts.htmlRoot =custHtmlRoot;
      AdobeEdge.loadComposition('Untitled-1', 'EDGE-1177204', opts,
      {"dom":{}}, {"dom":{}});
      script.onload = script.onreadystatechange = null;
      head.removeChild(script);
      head.appendChild(script);
      </script>
    <style>
            .edgeLoad-EDGE-1177204 { visibility:hidden; }
        </style>
    <!--Adobe Edge Runtime End-->
    <!--Adobe Edge Runtime-->
    <meta http-equiv="X-UA-Compatible" content="IE=Edge">
    <script>
      var custHtmlRoot="Untitled-2/Assets/";
      var script = document.createElement('script');
      script.type= "text/javascript";
    script.src = custHtmlRoot+"edge_includes/edge.5.0.1.min.js";
      var head = document.getElementsByTagName('head')[0], done=false;
      script.onload = script.onreadystatechange = function(){
      if (!done && (!this.readyState || this.readyState == 'loaded' || this.readyState == 'complete')) {
      done=true;
      var opts ={
        scaleToFit: "width",
        centerStage: "none",
        minW: "0",
        maxW: "undefined",
        width: "550px",
        height: "400px"
      opts.htmlRoot =custHtmlRoot;
      AdobeEdge.loadComposition('Untitled-2', 'EDGE-1215759', opts,
      {"dom":{}}, {"dom":{}});
      script.onload = script.onreadystatechange = null;
      head.removeChild(script);
      head.appendChild(script);
      </script>
    <style>
            .edgeLoad-EDGE-1215759 { visibility:hidden; }
        </style>
    <!--Adobe Edge Runtime End-->
    </head>
    <body>
    <div id="Stage" class="EDGE-1177204"></div>
    <div id="Stage2" class="EDGE-1215759"></div>
    </body>
    </html>
    =======================================================

Maybe you are looking for

  • Upgraded from Adobe PhotoShop 2.0 to 3.0 version

    I recently upgraded to the 3.0 version of Adobe PhotoShop. I used to download my digital photos directly from the camera and they would appear as thumbnail photos. With the newer version, I can't seem to find where the photos are. I had to use a card

  • Template for organizational chart

    Does anyone have a readymade template for an organizational chart in any iwork program?

  • Transaction Recovery

    A user is connect from past 5 hours, and is inserting continuesly, without any idle time, till now user has inserted 2500 rows in a table, but does not commits. suddenly user expreinces client procees failure (i.e. client machine from where user was

  • IPhone 5 battery utilization

    My iphone 5 is practically unusable. My battery is lasting a maximum of two hours.I disabled everything I could and still discharging very fast. What did they do with this new iOS? Is horrible. I carry the phone in the morning and left for work at 7:

  • IMPOSSIBLE D'IMPRIMER AVEC PHOTOSHOP CC VERSION COMPLETE ?

    Bonjour, J'ai un abonnement Photoshop CC version complète mais les options IMPRIMER sont en grisé. Il est donc impossible d'effectuer toute impression. Quelqu'un aurait-il la solution. Vous en remerciant par avance.