Exploded EAR and REDPLOY file

WLS 6.1 ( SP2) , NT 5.0
I have an exploded EAR outside the weblogic home as mentioned in the
tutorial. I can deploy
the app fine, when I start the server. However when I change a servlet or
EJB bean and touch
the REDPLOY file within the META-INF folder, the application does not seem
to pick up
the changes. I am running the server as an administrative server.
I have to restart the server for the changes to take effect. Please advise.

All the archive files used in Java apps are basically ZIP files with the extension changed.
JARs are used to package classes.
WARs are used to package web applications ( the complete directory structure are mandated by J2EE specs ) and may contain JARs
EARs are used to package a J2EE application ( think web app + EJBs in general ) and may consist of many web modules packaged as WARs.
Take a look at this too: http://searchwebservices.techtarget.com/expert/KnowledgebaseAnswer/0,289625,sid26_gci837938,00.html
People on the forum help others voluntarily, it's not their job.
Help them help you.
Learn how to ask questions first: http://faq.javaranch.com/java/HowToAskQuestionsOnJavaRanch
(Yes I know it's on JavaRanch but I think it applies everywhere)
----------------------------------------------------------------

Similar Messages

  • How to make ear and war file

    hi ,
    can anyone tell me how to make the ear and war file ??/
    Regards,
    Shruti.

    hello shruti
    to make war file enter the following command through command prompt
    jar -cvf filename.war give one space then .(dot)
    bye

  • Explain about JAR,EAR and WAR files

    Explain :what is JAR,EAR and WAR files and how is useful in creating archive files in java with more example?

    Please look up this type of information on your own.
    http://java.sun.com/reference/glossary/index.html

  • EAR and WAR file deployment

    hi,
    Does anyone have information on how to use the EARASSEMBLER
    tool for creating ear files and war files?????
    thanks

    Hi Cheenai,
    EARASSEMBLER is an Orion tool and it is not supported in the
    current release of Oracle9iAS Containers for J2EE (even though
    it's bundled with the installation).
    You may download Oracle9i JDeveloper Release Candidate as the
    integrated development tool to build, assemble, package and
    deploy any J2EE applications (EJB-JAR, WAR, EAR files etc.):
    http://otn.oracle.com/software/products/jdev/content.html
    You may also download the "ant" command line tool to build and
    package J2EE files:
    http://jakarta.apache.org/ant/

  • Ear and War file difference

    I have created and loaded WAR files for Web Applications on my Tomcat 4.1.27 web container.
    I have also heard about EAR files and was wondering if I have the correct definition. On one of my Google searches it says: EAR files contain JAR files and WAR files.
    I assume an EAR file can contain many JAR and WAR files wrapped into one file (EAR)? Another way of looking at it is if I have for example 3 WAR files, I can put all 3 in an EAR file?

    All the archive files used in Java apps are basically ZIP files with the extension changed.
    JARs are used to package classes.
    WARs are used to package web applications ( the complete directory structure are mandated by J2EE specs ) and may contain JARs
    EARs are used to package a J2EE application ( think web app + EJBs in general ) and may consist of many web modules packaged as WARs.
    Take a look at this too: http://searchwebservices.techtarget.com/expert/KnowledgebaseAnswer/0,289625,sid26_gci837938,00.html
    People on the forum help others voluntarily, it's not their job.
    Help them help you.
    Learn how to ask questions first: http://faq.javaranch.com/java/HowToAskQuestionsOnJavaRanch
    (Yes I know it's on JavaRanch but I think it applies everywhere)
    ----------------------------------------------------------------

  • Creating ear and war file from deploy file programatically

    Hi All,
    Is there any API available in oc4j to create an ear or war file from a .deploy file...........??
    Thanx in advance.

    There isn't a public API that let's you hook up to the deploy file in JDeveloper.
    You might be able to achieve this with the JDeveloper Ant task:
    http://www.oracle.com/technology/products/jdev/htdocs/partners/addins/exchange/anttasks/index.html

  • Versioning JAR/WAR/EAR and CLASS files

    Does anyone know of a standard, defined and recommended way of versioning JAR/WAR/EAR files?
    I guess I can put version information in the Manifest.mf file, but is there a recommended way?
    Another related question is how do I go about versioning individual class files?

    There's not only a recommended way, but a standard way. See http://java.sun.com/products/jdk/1.2/docs/guide/versioning/spec/VersioningSpecification.html#PackageVersioning).
    However, I've found that this practice is unfortunately not as widespread as one would like. sigh
    What do you mean by "versioning" individual class files (in a JAR, I assume you mean)? In general that's a bad idea. But perhaps I misunderstand what you mean.

  • Description of EAR and WAR files

    Does anybody know or has a link with the description of the files/directory's that are standard in EAR/WAR files.
    Example: what is the functionality of the web.xml.
    Thnx.

    http://java.sun.com/webservices/docs/ea2/tutorial/doc/WebApp3.html
    http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/WCC3.html#64295
    http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/deployment.html
    http://www-3.ibm.com/software/webservers/appserv/doc/v40/ae/infocenter/was/000101.html
    http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/Tools8.html#63061

  • How to deploy .WAR or .EAR  or .SDA file

    dear friends,
    I created a dictionary file and an ear file.
    From Netweaver studio i configured SAP J2EE Engine with the IP address and the port number as 3601 ( even i tried 3601, 50000)
    But after selecting file and click on deploy, it is giving
    Deployment aborted message.
    But i can deploy .par file from netweaver with out any problem.
    Can anybody tell me how to deploy .ear and .sda files
    What are other ways i can deploy
    early reply appreciatd
    kantha

    Hi Kantha,
    you can try to deploy via SDM (Software Deployment Manager)! Check this link for more info: http://help.sap.com/saphelp_webas630/helpdata/en/05/4fac3e00c8b014e10000000a114084/content.htm
    Hope this helps,
    Robert

  • Deploying exploded ear file

    Hi,
    I have exploded an ear file, and I am trying to deploy it in weblogic 7.0.
    This ear has several jars and war files.
    However, when I deploy it
    (Access is denied) at java.io.FileInputStream.open(Native Method) -- while trying
    to open the war file.
    I have followed the same steps as mentioned in the bea docs , by exploding all
    the individual wars, jars, inside the ear ..
    Any help is appreciated..
    Thanks in advance.

    I believe manifest class-paths should work fine for exploded EARs as
    well. Don't you want 'common' rather than '../common' in your
    class-path entry?
    -- Rob
    Eric Ma wrote:
    Rob:
    Yes, I was talking about the MANIFEST.MF Class-Path entries. My exploded ear
    looks like (under mydomain/applications)
    app
    --META-INF
    ----application.xml
    --ejb
    ----com
    ------abc.class
    ----META-INF
    ------MANIFEST.MF
    ------ejb-jar.xml
    --common
    ----com
    ------xyz.class
    --web
    ----jsp
    ----WEB-INF
    ------web.xml
    ------lib
    --------struts.jar
    The MANIFEST.MF file has
    Class-Path: ../common/
    I read at http://e-docs.bea.com/wls/docs61/ejb/EJB_deployover.html#1074087 that
    Class-Path is only supported in the .ear format. Is it true?
    Rob Woollen <[email protected]> wrote:
    Are you talking about manifest class-path entries? If so, can you show
    me what your exploded EAR looks like? (ie its layout and your
    class-path entries.)

  • Are JDev autogenerated paths needed to create ear, war and jar files ?

    Hi
    We want to create ear, war and jar files from Ant build script generated from JDeveloper 11.1.1.7.
    We also like to use ojdeploy with it.
    In the process of creating build.xml files from projects, we see these paths.
    We also have standalone Weblogic installed with ADF runtime 11.1.1.7
    Questions:
    1- Do we need these path ids to generate ear, jar, war files properly and then deploy the ear to our standalone Weblogic so that our webapp can run ok ?
    2- Why are they generated, if they are not needed
    From research, it appears that we don't need these paths except to keep ant targets of init, compile, exec etc with ojdeploy.
    3- Is that true ?
    We are afraid that because no paths are listed in the build.xml, then when we deploy the ear app, it cant use the ADF runtime on the standalone WLS.
    Thanks in advance for answering.
    Sincerely
    eg of paths generated below:
      <path id="library.SOA.Designtime"/>
      <path id="library.SOA.Runtime"/>
      <path id="library.BPEL.Runtime"/>
      <path id="library.Mediator.Runtime"/>
      <path id="library.MDS.Runtime">
        <pathelement location="{oracle.middleware}/oracle_common/modules/oracle.mds_11.1.1/mdsrt.jar"/>
      </path>
      <path id="library.BC4J.Service.Runtime">
        <pathelement location="{oracle.middleware}/oracle_common/modules/oracle.adf.model_11.1.1/adfbcsvc.jar"/>
        <pathelement location="{oracle.middleware}/oracle_common/modules/oracle.adf.model_11.1.1/adfbcsvc-share.jar"/>
        <pathelement location="{oracle.middleware}/oracle_common/modules/commonj.sdo_2.1.0.jar"/>
        <pathelement location="{oracle.middleware}/modules/org.eclipse.persistence_1.1.0.0_2-1.jar"/>
        <pathelement location="{oracle.middleware}/oracle_common/modules/oracle.webservices_11.1.1/wsclient.jar"/>
        <pathelement location="{oracle.middleware}/oracle_common/modules/oracle.web-common_11.1.1.jar"/>
      </path>
      <path id="library.TopLink">
        <pathelement location="{oracle.middleware}/modules/com.oracle.toplink_1.0.0.0_11-1-1-5-0.jar"/>
        <pathelement location="{oracle.middleware}/modules/org.eclipse.persistence_1.1.0.0_2-1.jar"/>
        <pathelement location="{oracle.middleware}/modules/com.bea.core.antlr.runtime_2.7.7.jar"/>
        <pathelement location="{oracle.middleware}/modules/javax.persistence_1.0.0.0_2-0-0.jar"/>
      </path>
      <path id="library.Oracle.Rules"/>
      <path id="classpath">
        <path refid="library.SOA.Designtime"/>
        <path refid="library.SOA.Runtime"/>
        <path refid="library.BPEL.Runtime"/>
        <path refid="library.Mediator.Runtime"/>
        <path refid="library.MDS.Runtime"/>
        <path refid="library.BC4J.Service.Runtime"/>
        <path refid="library.TopLink"/>
        <path refid="library.Oracle.Rules"/>
      </path>

    There are two different things here. Using ant to build the class files and then building an ear from the class files and other resources.
    The building part needs the libraries if you use javac as compiler. Building an ear file only needs the path to the jar files which are packed into the ear.
    In this sense you need the pages you see in the build.xml.
    Then Jdev offers another way: ojdeploy. This tool is a Jdev without a gui.
    You can use this tool and build the classes for each project of a workspace and to build build war and ear file. This is just like you click the rebuild button for each project and then the deploy the projects and application. If you use this approach you don't need the generated path ids as the whole build process is done inside Jdev as it's done on your developer pc.
    Timo

  • How to deploy ear file with jar file and war file with different names

    Hi,
    As part of weblogic migration from WL 6.1 sp3 to WL 10, Iam facing some problem.
    Problem:
    I have one ear file(abc.ear) to deploy which contains one jar file(xyz.jar) and one war file(pqr.war).
    In config.xml file of WL 6.1, it was mentioned as :
    <Application Deployed="true" Name="abc" Path="./config/mydomain/applications/abc.ear">
    <EJBComponent Name="xyz" Targets="myserver" URI="xyz.jar"/>
    <WebAppComponent Name="pqr" Targets="myserver" URI="pqr.war"/>
    </Application>.
    The above is working fine.
    But in config.xml file WL10,I cannot mention the same.
    I need to have different application anmes for ear,jar and war.If I deploy as a ear file,the jar and war files are deployed with the same ear file name.
    I tried the following options:
    1) Deploying as a ear file by adding <sub-deployments>
    2) Deploying both war and jar seperately which is not recommended in my application.
    Please provide the content I should place in the config.xml so that everything works fine correctly.
    Any help is appreciated.

    Hi,
    As part of weblogic migration from WL 6.1 sp3 to WL 10, Iam facing some problem.
    Problem:
    I have one ear file(abc.ear) to deploy which contains one jar file(xyz.jar) and one war file(pqr.war).
    In config.xml file of WL 6.1, it was mentioned as :
    <Application Deployed="true" Name="abc" Path="./config/mydomain/applications/abc.ear">
    <EJBComponent Name="xyz" Targets="myserver" URI="xyz.jar"/>
    <WebAppComponent Name="pqr" Targets="myserver" URI="pqr.war"/>
    </Application>.
    The above is working fine.
    But in config.xml file WL10,I cannot mention the same.
    I need to have different application anmes for ear,jar and war.If I deploy as a ear file,the jar and war files are deployed with the same ear file name.
    I tried the following options:
    1) Deploying as a ear file by adding <sub-deployments>
    2) Deploying both war and jar seperately which is not recommended in my application.
    Please provide the content I should place in the config.xml so that everything works fine correctly.
    Any help is appreciated.

  • Difference between SAP Ear and EAR file in Netweaver 7.3

    Hi all,
    when exporting a EAR file created in nwds 7.3 i get two options to export SAP EAR and EAR . What's the difference between two.and also Target runtime drop down showing sap runtime . What does that signify?
    Please specify.
    Regards
    Prasad

    Hi all,
    when exporting a EAR file created in nwds 7.3 i get two options to export SAP EAR and EAR . What's the difference between two.and also Target runtime drop down showing sap runtime . What does that signify?
    Please specify.
    Regards
    Prasad

  • Exploded EAR welcome-file problem

    I setup an Exploded Ear application in WLS6.1 sp1 on NT.
    It works fine except the welcome page.
    when I try http://localhost:7001/MyApp it gives the attached
    error message. It works fine if I type .../MyApp/index.jsp.
    even I tried with exploded banking example. It doesn't work either.
    Error message on browser
    Error 403--Forbidden
    10.4.4 403 Forbidden
    The server understood the request, but is refusing to fulfill it. Authorization
    will not help and the request SHOULD NOT be repeated. If the request method was
    not HEAD and the server wishes to make public why the request has not been fulfilled,
    it SHOULD describe the reason for the refusal in the entity. This status code
    is commonly used when the server does not wish to reveal exactly why the request
    has been refused, or when no other response is applicable.
    Please can anybody help me.
    Thanx
    Sankar venkat.

    [att1.html]

  • Exploded EAR in Weblogic 7.0.2

    I'm trying to deploy an exploded EAR file but I must be missing something since WLS doesn't deploy my application.
    I've read the documentation from http://e-docs.bea.com/wls/docs70/programming/deploying.html.
    Beneath the structure in my 'applications' directory as describes in http://e-docs.bea.com/wls/docs70/programming/deploying.html#1125125. I've put application.xml in the MyApp directory - is it the right place and is the file correct?
    MyApp\
    \MyApp.war
    WEB-INF\
    web.xml
    classes\
    dk\
    ...(JSP etc.)
    \MyApp-ejb.jar
    META-INF\
    application.xml
    ejb-jar.xml
    REDEPLOY
    weblogic-cmp-rdbms-jar.xml
    weblogic-ejb-jar.xml
    dk\
    ...(class files)
    application.xml looks like:
    <application>
    <display-name>MyApp</display-name>
    <module>
    <ejb>MyApp-ejb.jar</ejb>
    </module>
    <module>
         <web>
         <web-uri>MyApp.war</web-uri>
         <context-root>myapp</context-root>
         </web>
    </module>
    </application>
    Thanks
    Thomas Aagaard Jensen
    UNI-C, Uddannelse - IT-undervisningsmidler
    WWW : http://www.uni-c.dk/
    Tlf. : +45 8937 6673
    E-mail : [email protected]

    Hie,
              We are facing the same problem; i.e. we are getting the same error message when we are trying to run our struts application on Weblogic 7.0.5 using JDK 1.3.1. This problem occured particularly when we tried to do a load testing using approx 20 concurrent users (a lesser load was supported though). Can you please let us know how this problem was sorted out on your end?
              thanks,
              Debanjan

Maybe you are looking for

  • "open in new window"- from favorites panel - bridge

    Hi Bridge, I love your way of working However 2 things make my hair rise - I can't "open in new window" from a favorited location. only in the "content" panel... which is rather "weird" - I have to "reveal in finder" to be able to zip/rar files. Plea

  • PC Suite installation problems

    Several weeks ago I posted a problem regarding the installation of v6.7 over the 6.6 version I was using quite happily. When trying to install 6.7 my pc (running XP) would just freeze, requiring a reboot. A suggestion was made to uninstall 6.6 first,

  • How to create parameter with multiple selection in a query (SQ02) ?

    Hi Exports Do you know how to create parameter with multiple selection in a query (transaction SQ02)? thanks.

  • ADFS 2.0 service does not automatically start after reboot

    Hello, We have two ADFS 2.0 servers in a farm.  Any time these servers reboot, the ADFS service does not automatically start, even though the service is set to auto start.  If I manually start the service it starts within 10 seconds. The error in the

  • Use iMessage with iCloud email alias?

    I set up iCloud with my old .mac / mobileMe account. So far no trouble. But I've been using some email aliases that I use for actually emailing and kept the "core" email address (the iCloud log in) a "secret". (Just because I'm afraid of spam. An ali