Question on EAR file Limitations

To Whom it may concern,
We are utilizing Weblogic 9.2 R3 in a 32-Bit Windows Server environment and I am having trouble deploying a ear file. The EAR file contains the help files for our IBM application but it seems to not want to show many of the files when you look at the help for the applicatons. I believe it has to do with the fact that the number of files in the EAR file have exceeded 65535. The # is around 69000 files.
I removed several application help folders to bring the build down to 65100. I redeployed he ear and the help files seem to appear.
Is there a way to enable Weblogic to deploy the EAR file if the number of files in the ear is past 65535? Also is there a technote for the limitations of Weblogic 9.2 32 bit EAR files?
Thanks in Advance!
Edited by: user2237078 on Jul 26, 2011 4:59 PM

An EAR should have an "application.xml" in the META-INF directory within the JAR. You might take a look at it. I suspect there is an EJB module specified by that name.

Similar Messages

  • Question about ear file and jar file

    I have an ear file that I built using ant. Say my project name is test. So my ear file name is test.ear. Everytime I try to deploy the ear file, weblogic complains about not finding the test-ejb.jar. I'm confused as to why weblogic expects a test-ejb.jar in the ear because I didn't intend to put one in. My question is whats inside the ear file that weblogic thinks it needs the test-ejb.jar? I went through the file, but couldn't find anything that should tell weblogic that it should find a test-ejb.jar. In addition, I don't have either weblogic-ejb-jar.xml or ejb-jar.xml in the ear file. Any help would be appreciated.
    Thanks in advance.

    An EAR should have an "application.xml" in the META-INF directory within the JAR. You might take a look at it. I suspect there is an EJB module specified by that name.

  • A general question concerning .EAR files?

    Hi All,
    My question is, what should be the file extension of the utility class that
    I will include in my ".ear" file? Should it be filename.jar or
    filename.war? The team that I am on has successfully been able to deploy a
    .ear file that only contains our entity and session beans. We would also
    like to "JAR" up our utility class, so that we may be to use the hot
    deployment feature of the application server and the removal of the
    enviroment variable where the utility classes are located.
    We are currently using the Ant utility to help us build our .ear file.
    When I give the utility file name a ".war" extension and then deploy the
    ".ear" file; the application server boots up successfully without throwing
    any exceptions. When I give the utility file name a ".jar" extension and
    then deploy the ".ear" file, the application server boots up successfully
    with exceptions concerning unable to locate one to several utility classes.
    Thank you in advance,
    Charles
    Charles Jean-Baptiste
    [email protected]

    It sounds like you are having a ClassLoader problem.
    The main advantage of deploying EJBs and WebApps in an ear file is that the
    ClassLoader for the webapp inherrits from the ClassLoader for the EJBs.
    This basicly means that the webapp can see the EJBs...when you put another
    util.jar file in the EAR file this will be in a different ClassLoader and
    not accesible by either the EJBs or the WebApp
    (and visa-versa)....to make this accesible you need to add the entry
    Class-Path: util.jar to the manifest file for the EJB.
    1)Create a text file newmanifest.txt with a one line entry of
    Class-Path: util.jar
    2) When you build the original EJB jar file do like this:
    jar cmf newmanifest.txt MyEJB.jar com META-INF
    -this will create the jar file MyEJB.jar adding directories com and META-INF
    and including the contents of newmanifest.txt in the manifest for the jar
    file.
    3) Build this all into the ear file.
    The EJB will now be able to see the util.jar and because the WebApp can see
    the same as the EJB it will also be able to see the util.jar.
    Gareth
    "Charles Jean-Baptiste" <[email protected]> wrote in message
    news:[email protected]...
    Hi All,
    My question is, what should be the file extension of the utility classthat
    I will include in my ".ear" file? Should it be filename.jar or
    filename.war? The team that I am on has successfully been able to deploya
    .ear file that only contains our entity and session beans. We would also
    like to "JAR" up our utility class, so that we may be to use the hot
    deployment feature of the application server and the removal of the
    enviroment variable where the utility classes are located.
    We are currently using the Ant utility to help us build our .ear file.
    When I give the utility file name a ".war" extension and then deploy the
    ".ear" file; the application server boots up successfully without throwing
    any exceptions. When I give the utility file name a ".jar" extension and
    then deploy the ".ear" file, the application server boots up successfully
    with exceptions concerning unable to locate one to several utilityclasses.
    >
    Thank you in advance,
    Charles
    Charles Jean-Baptiste
    [email protected]

  • Packaging question ear file

    We have common classes that are used in all
    modules. These are available in several jars. The way we have packaged is that these jars are put in the ear file and the Manifest.mf of the web application wars reference these jar files. This does not seem to work. I have also tried the classloader configuration in sub-web.xml and that also does not seem to work as documented. It throws a NoClassDefFoundError for a
    class defined in log4j.jar.
    Here is the ear structure I use
    MyApp.ear
    - services.jar
    - log4j.jar
    - server.war
    - META-INF/Manifest.mf (Contains the Class-Path entry for services.jar, log4j.jar etc)
    - WEB-INF/sub-web.xml (Contains classloader extra-class-path attribute for services.jar log4j.jar etc)
    This is on Sun One App server 7.
    Any ideas what is wrong? Thanks

    In your MANIFEST.MF (note the case!), make sure that your Class-Path: has the two .jar files are separated by a space and that there is at least one blank line after the last line of text. Put two, just to make sure.

  • Deployment and .ear files

    I have two questions; one may relate to the other.
    First, I would like to know the best way to deploy Session beans which have dependencies on other EJBs, be they Entity Beans or other Session Beans. The dependency is limited to the implementation class, not the interfaces. I have tried just putting all my EJBs in the classpath in startWebLogic.sh, but I get the "bean cannot be redeployed while the server is running" warning. Is there another way?
    Second, I have read of .ear files, which seem to be a good way of dealing with many EJBs/JSPs en masse(I'm working with ~100 EJBs and ~2000 JSPs). However, I haven't found anything on exactly what they are, how to use them, or how to generate them.
    If anyone has these answers, or can point me to a good site on the matter, I'd appreciate it.
    Thanks, --Tom Seufert

    Hi Tom,
    The "best" way to generate EAR files is to use an IDE that has built-in
    tools to do it -OR- to use ANT (kind of an xml-based gnu-make-like utility
    for Java).
    Most dev groups that I've seen start by using .sh/.cmd (i.e. batch) files to
    generate the JAR/WAR/EAR files. ANT allows you to do things like
    dependency-based builds, to avoid re-generating parts that are not
    necessary. That was very handy with WL 5.1 when EJBC could take several
    minutes (even running locally with a fast compiler like JIKES). (I have
    only used ANT a tiny bit, but Jesse Tilly who frequents this newsgroup is an
    expert with it.)
    The EAR is just a means to bundle different parts of your application
    together. For example, your EJBs will be bundled into a JAR, and your JSPs
    will be bundled into a WAR, and you can put both into an EAR. WL6.0 will
    accept an EAR file for deployment, will auto-deploy, and will even re-deploy
    it if the EAR changes!
    The easiest way to build a JAR or WAR or EAR file within a batch or build
    file is to use the JAR command. If you have a directory structure that is
    exactly how the JAR file will be layed out, then I believe the command is
    "jar -cfm0 my.jar *" or "jar -cfm0 my.jar .".
    Peace,
    Cameron Purdy
    Tangosol, Inc.
    http://www.tangosol.com
    +1.617.623.5782
    WebLogic Consulting Available
    "Tom Seufert" <[email protected]> wrote in message
    news:[email protected]...
    >
    >
    I have two questions; one may relate to the other.
    First, I would like to know the best way to deploy Session beans whichhave dependencies on other EJBs, be they Entity Beans or other Session
    Beans. The dependency is limited to the implementation class, not the
    interfaces. I have tried just putting all my EJBs in the classpath in
    startWebLogic.sh, but I get the "bean cannot be redeployed while the server
    is running" warning. Is there another way?
    >
    Second, I have read of .ear files, which seem to be a good way of dealingwith many EJBs/JSPs en masse(I'm working with ~100 EJBs and ~2000 JSPs).
    However, I haven't found anything on exactly what they are, how to use them,
    or how to generate them.
    >
    If anyone has these answers, or can point me to a good site on the matter,I'd appreciate it.
    >
    Thanks, --Tom Seufert

  • Remote creation of MBean deployed in EAR file : loader's ObjectName ??

    I am trying to implement a client which connects to the MBean server
    running in weblogic and then creates an instance of an MBean deployed
    inside an ear file. However, since the class files of the MBean are
    inside the ear file (and NOT in the "serverclasses" directory), it
    looks as if I needed to specify a non-default classloader when calling
    RemoteMBeanServer.createMBean(...).
    --> How can I determine the ObjectName of the correct loader (on
    runtime) ?
    (I am running weblogic 6.1 SP2 on Win2K)
    import javax.naming.Context;
    import javax.management.*;
    import weblogic.jndi.*;
    import weblogic.management.*;
    public class TestClient {
    public static void main(String[] args) {
    String host = "localhost";
    int port = 7001;
    String username = "system";
    String password = "password";
    String serverName = "examplesServer";
    try {
    // get the remote MBean server
    Environment env = new Environment();
    env.setProviderUrl("t3://" + host + ":" + port);
    env.setSecurityPrincipal(username);
    env.setSecurityCredentials(password);
    Context ctx = env.getInitialContext();
    MBeanHome home = (MBeanHome)ctx.lookup(MBeanHome.JNDI_NAME
    + "." + serverName);
    ctx.close();
    RemoteMBeanServer remoteServer =
    (RemoteMBeanServer)home.getMBeanServer();
    // remotely create a new instance of our MBean, deployed
    in an ear file (NOT the "serverclasses" directory !!)
    String domain = "examples";
    String mBeanClassName = "basic.SimpleStandard";
    String mBeanName = mBeanClassName + "_" +
    System.currentTimeMillis();
    ObjectName mBeanObjectName = new ObjectName(domain +
    ":Name=" + mBeanName + ",Type=" + mBeanClassName);
    //ObjectName loaderObjectName = ?? that's my question ??;
    //ObjectInstance mBeanInstance =
    remoteServer.createMBean(mBeanClassName, mBeanObjectName,
    loaderObjectName);
    ObjectInstance mBeanInstance =
    remoteServer.createMBean(mBeanClassName, mBeanObjectName);     // this
    throws "javax.management.ReflectionException: The MBean class could
    not be loaded by the default loader repository"
    } catch (Exception e) {
    e.printStackTrace();

    Atlast it worked. The problem was that in my ejb-jar.xml I was referring to 2_0.dtd. I have changed that to 2.1 and it worked.
    Older ejb-jar.xml had:
    <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "C:/jboss-4.0.1sp1/docs/dtd/ejb-jar_2_0.dtd">
    I changed that to:
    <ejb-jar xmlns="http://java.sun.com/xml/ns/j2ee" version="2.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd">
    And it worked.
    -Sathish

  • How to create a custom ear file and deploy it onto a freshly created oc4j

    Hi,
    Wanted to know that how should i go about creating a custom EAR file or for that matter any application and deploy it onto a test oc4j instance created within the 10.1.3 Home of Oracle Apps R12.
    I believe in a standalone Application server installation it is quite simple to deploy an application by creating an oc4j instance using the AS console ,but not very sure about how to go about it in Oracle Apps .
    N.B:I have been able to create a test oc4j instance by the name of Test and able to start and stop it using the opmn of 10.1.3 oracle home.
    Any help in this regard will be appreciated.

    Hi,
    can you please post this question to one of the Apps forums if your main concern is to deploy applications in the context of Oracle Apps?
    It seems that you don't have a problem in creating the EAR file in JDev.
    Frank

  • How to access a jar file in EAR file?

    I have a EAR file which contains EJB.jar file and util.jar file. Outside of EAR, I mean in client side, I need to reference util.jar file. How can I access it?
    EAR structure is
    |--+META-INF/
    |--|---application.xml
    |--|---manifest.mf
    |--EJB.jar
    |--|---+MEAT-INF/
    |--|---|--- deployment descriptors...
    |--|---|--- manifest.mf
    |--|--- EJB classes
    |--Util.jar
    Util.jar must be executed in server side. If I just add Util.jar in client program's classpath, when client program is executed, serverside Util.jar is executed? Or what else I should do in the client program to reference server-side Util.jar?

    Excellent question. I don't see any client-jar in your EAR file structure. So I am assuming you are writing a separate client application which will talk to the ejbs deployed as part of this EAR. You need to do the following:
    Write another EAR file with the following structure:
    ear:
    META-INF/application.xml
    util.jar
    client.jar
    client.jar should have a META-INF/MANIFEST.MF and that should contain Class-Path:util.jar and value for Main-Class attribute.
    Now deploy this new ear to your application server and execute it using Application Client Container that comes with your app server.
    If you don't want to write another EAR file, then bundle th client.jar in your original EAR file.
    Points to note are:
    you have to repackage util.jar again inside this ear file.
    For portability reason, you should use Class-Path manifest entry in client.jar. Refer to http://java.sun.com/j2ee/verified/packaging.html and J2EE platform spec section #8.2.
    Hope this helps,
    Sahoo

  • Fail to deploy ear file to AS10g

    Hi friends,
    I use Jdev10g to generate ear file and dcmctl to deploy to AS10g. Something must have been wrong but I couldn't work it out. Really need your help.
    --info: Project:"Master Detail page using ADF"
    http://www.oracle.com/technology/sample_code/products/jdev/10g/ADF_ComplexMasterDetail.zip
    --Here are my WAR and EAR file
    unzip -l ../ias904/mywork/ADF_ComplexMasterDetail.ear
    Archive: /raid1/oracle/ias904/mywork/ADF_ComplexMasterDetail.ear
    Length Date Time Name
    104 09-21-04 13:28 META-INF/MANIFEST.MF
    4730626 09-21-04 13:28 ADF_ComplexMasterDetail.war
    439 09-21-04 10:39 META-INF/application.xml
    285 09-21-04 10:36 META-INF/orion-application.xml
    4731454 4 files
    unzip -l ../ias904/mywork/ADF_ComplexMasterDetail.war
    Archive: /raid1/oracle/ias904/mywork/ADF_ComplexMasterDetail.war
    Length Date Time Name
    104 09-21-04 13:28 META-INF/MANIFEST.MF
    3175 09-21-04 13:28 WEB-INF/classes/DataBindings.cpx
    439 09-21-04 11:17 WEB-INF/classes/META-INF/application.xml
    575 09-21-04 13:26 WEB-INF/classes/META-INF/data-sources.xml
    285 09-21-04 11:17 WEB-INF/classes/META-INF/orion-application.xml
    613 09-21-04 13:26 WEB-INF/classes/Model.jpx
    881 09-21-04 13:28 WEB-INF/classes/connections.xml
    1844 09-21-04 13:26 WEB-INF/classes/model/DepartmentManagersView.xml
    4004 09-21-04 13:26 WEB-INF/classes/model/Departments.xml
    3849 09-21-04 13:26 WEB-INF/classes/model/DepartmentsImpl.class
    1975 09-21-04 13:26 WEB-INF/classes/model/DepartmentsView.xml
    364 09-21-04 13:26 WEB-INF/classes/model/DepartmentsViewImpl.class
    1329 09-21-04 13:26 WEB-INF/classes/model/DeptMgrFkAssoc.xml
    1091 09-21-04 13:26 WEB-INF/classes/model/DeptMgrFkLink.xml
    1336 09-21-04 13:26 WEB-INF/classes/model/EmpDeptFkAssoc.xml
    1095 09-21-04 13:26 WEB-INF/classes/model/EmpDeptFkLink.xml
    1332 09-21-04 13:26 WEB-INF/classes/model/EmpJobFkAssoc.xml
    1343 09-21-04 13:26 WEB-INF/classes/model/EmpManagerFkAssoc.xml
    1098 09-21-04 13:26 WEB-INF/classes/model/EmpManagerFkLink.xml
    9312 09-21-04 13:26 WEB-INF/classes/model/Employees.xml
    7121 09-21-04 13:26 WEB-INF/classes/model/EmployeesImpl.class
    3836 09-21-04 13:26 WEB-INF/classes/model/EmployeesView.xml
    1135 09-21-04 13:26 WEB-INF/classes/model/EmployeesViewImpl.class
    2842 09-21-04 13:26 WEB-INF/classes/model/Jobs.xml
    3368 09-21-04 13:26 WEB-INF/classes/model/JobsImpl.class
    997 09-21-04 13:26 WEB-INF/classes/model/client/EmployeesViewClient.class
    239 09-21-04 13:26 WEB-INF/classes/model/common/EmployeesView.class
    1210 09-21-04 13:26 WEB-INF/classes/model/common/bc4j.xcfg
    1273 09-21-04 13:26 WEB-INF/classes/model/hrService.xml
    1717 09-21-04 13:26 WEB-INF/classes/model/hrServiceImpl.class
    2152 09-21-04 13:26 WEB-INF/classes/model/model.xml
    3591 09-21-04 11:17 WEB-INF/classes/view/BrowseAllEmployeesAction.class
    1122 09-21-04 11:17 WEB-INF/classes/view/BrowseEmployeesInDeptAction.class
    1179 09-21-04 11:17 WEB-INF/classes/view/QueryEmployeesAction.class
    4529 09-21-04 11:17 WEB-INF/classes/view/UIModels/browseAllDepartmentsUIModel.xml
    5104 09-21-04 11:17 WEB-INF/classes/view/UIModels/browseAllEmployeesUIModel.xml
    6195 09-21-04 11:17 WEB-INF/classes/view/UIModels/browseEmployeesInDeptUIModel.xml
    4436 09-21-04 11:17 WEB-INF/classes/view/UIModels/editEmployeeInDeptUIModel.xml
    4300 09-21-04 11:17 WEB-INF/classes/view/UIModels/editEmployeeUIModel.xml
    3742 09-21-04 11:17 WEB-INF/classes/view/UIModels/masterDetailUIModel.xml
    3631 09-21-04 11:17 WEB-INF/classes/view/UIModels/queryAllDepartmentsUIModel.xml
    6130 09-21-04 11:17 WEB-INF/classes/view/UIModels/queryEmployeesInDeptUIModel.xml
    2174 09-21-04 11:17 WEB-INF/classes/view/UIModels/queryEmployeesUIModel.xml
    1010 09-21-04 13:28 WEB-INF/classes/view/resources/AppSampleResources.properties
    3581 09-21-04 13:28 WEB-INF/classes/view/resources/ApplicationResources.properties
    1810 09-21-04 11:17 WEB-INF/classes/view/util/HelpDispatcherAction.class
    49438 05-14-04 19:28 WEB-INF/lib/adf-controller.jar
    163279 05-14-04 19:28 WEB-INF/lib/bc4jhtml.jar
    42730 05-14-04 19:29 WEB-INF/lib/bc4juixtags.jar
    118726 06-30-03 11:50 WEB-INF/lib/commons-beanutils.jar
    165119 06-30-03 11:50 WEB-INF/lib/commons-collections.jar
    109096 06-30-03 11:50 WEB-INF/lib/commons-digester.jar
    112307 05-11-04 17:17 WEB-INF/lib/commons-el.jar
    22379 06-30-03 11:50 WEB-INF/lib/commons-fileupload.jar
    63980 06-30-03 11:50 WEB-INF/lib/commons-lang.jar
    31605 06-30-03 11:50 WEB-INF/lib/commons-logging.jar
    46865 06-30-03 11:50 WEB-INF/lib/commons-validator.jar
    140889 05-14-04 19:29 WEB-INF/lib/datatags.jar
    17747 05-14-04 19:29 WEB-INF/lib/graphtags.jar
    65368 06-30-03 11:50 WEB-INF/lib/jakarta-oro.jar
    191881 01-28-04 03:32 WEB-INF/lib/jaxen-full.jar
    3086 05-11-04 17:17 WEB-INF/lib/jsp-el-api.jar
    21128 01-28-04 03:32 WEB-INF/lib/jstl.jar
    3503 05-11-04 17:17 WEB-INF/lib/oracle-el.jar
    23563 01-28-04 03:32 WEB-INF/lib/saxpath.jar
    515490 01-28-04 03:32 WEB-INF/lib/standard.jar
    498051 06-30-03 11:50 WEB-INF/lib/struts.jar
    1271111 01-28-04 03:32 WEB-INF/lib/xalan.jar
    2529 03-01-04 04:34 appsample_files/10gwelcome.gif
    37314 03-03-04 00:26 appsample_files/blaf-en-ie-6.css
    62 04-04-03 06:32 appsample_files/c-ghb.gif
    61 04-04-03 06:32 appsample_files/c-ghbr.gif
    66 04-04-03 06:32 appsample_files/c-ghcb.gif
    145 04-04-03 06:32 appsample_files/c-ghct.gif
    49 04-04-03 06:32 appsample_files/c-ght.gif
    68 04-04-03 06:32 appsample_files/c-ghtl.gif
    68 04-04-03 06:32 appsample_files/c-ghtr.gif
    5395 03-03-04 00:26 appsample_files/mod_jdeveloper.css
    661 01-29-04 08:35 appsample_files/return.gif
    1870 03-02-04 20:23 appsample_files/sample_footer.jsp
    7957 03-02-04 08:04 appsample_files/sample_header.jsp
    1544 03-02-04 20:20 appsample_files/sample_help_footer.jsp
    1490 03-02-04 20:19 appsample_files/sample_help_header.jsp
    747 03-26-04 17:08 appsample_files/sample_sidebar.jsp
    2105 04-04-03 06:47 appsample_files/samples.gif
    272 04-04-03 07:19 appsample_files/wwv_help.gif
    4974 03-05-04 21:35 browseAllDepartments.jsp
    5730 03-08-04 23:31 browseAllEmployees.jsp
    5213 03-08-04 15:01 browseEmployeesInDept.jsp
    2594 03-03-04 00:22 css/jdeveloper.css
    3485 03-03-04 21:37 editDepartment.jsp
    5063 03-08-04 23:27 editEmployee.jsp
    2686 02-12-04 10:18 editEmployeeInDept.jsp
    3279 03-08-04 14:50 help/MasterDetailJSPKey.jsp
    14710 03-06-04 14:03 help/helpSection1.jsp
    15223 03-08-04 23:47 help/helpSection2.jsp
    16556 03-08-04 23:09 help/helpSection3.jsp
    2191 03-03-04 20:37 help/helpSection4.jsp
    36555 03-08-04 13:37 help/images/StrutsPageFlow.jpg
    19352 03-03-04 22:13 help/images/section1_flow.gif
    8532 03-08-04 13:41 help/images/section2_flow.gif
    5454 03-08-04 19:08 help/images/section3_flow.gif
    247 02-09-04 14:58 images/ViewObject.gif
    806 02-11-04 09:33 images/sideMenuBottom.gif
    833 02-11-04 09:31 images/sideMenuBottomC.gif
    806 02-11-04 09:29 images/sideMenuRight.gif
    806 02-11-04 09:33 images/sideMenuTop.gif
    831 02-11-04 09:31 images/sideMenuTopC.gif
    1739 04-05-04 16:59 index.jsp
    5272 03-03-04 20:53 masterDetail.jsp
    6132 03-26-04 17:06 queryAllDepartments.jsp
    5104 03-08-04 23:34 queryEmployees.jsp
    9543 03-08-04 23:33 queryEmployeesInDept.jsp
    5468 02-18-04 10:11 sideMenu.jsp
    517075 02-09-04 15:07 web-inf/lib/standard.jar
    227 09-21-04 11:15 web-inf/orion-web.xml
    8868 02-09-04 14:54 web-inf/struts-bean.tld
    10175 09-20-04 14:42 web-inf/struts-config.xml
    65029 02-12-04 10:52 web-inf/struts-html-el.tld
    66192 02-10-04 12:03 web-inf/struts-html.tld
    2513 02-12-04 10:53 web-inf/web.xml
    4713475 121 files
    --when I deployed on AS10g using:
    "dcmctl
    deployApplication -file ../ias904/mywork/ADF_ComplexMasterDetail.ear -a jdev9051samples/JSPMasterDetail"
    I got following error:
    ADMN-300158
    Jar file: /var/tmp/jar64914.tmp is missing its standard xml descriptor located at WEB-INF/web.xml
    oracle.ias.sysmgmt.deployment.j2ee.exception.J2eeDeploymentException: Jar file: /var/tmp/jar64914.tmp is missing its standard xml descriptor located at WEB-INF/web.xml
    Resolution:
    at oracle.ias.sysmgmt.deployment.j2ee.file.WarFile.<init>(Unknown Source)
    at oracle.ias.sysmgmt.deployment.j2ee.file.EarFile.init(Unknown Source)
    at oracle.ias.sysmgmt.deployment.j2ee.file.EarFile.<init>(Unknown Source)
    at oracle.ias.sysmgmt.deployment.j2ee.file.EarFile.<init>(Unknown Source)
    at oracle.ias.sysmgmt.deployment.j2ee.console.EarDeployerImpl.<init>(Unknown Source)
    at oracle.ias.sysmgmt.deployment.j2ee.console.J2eeDeploymentImpl.getEarDeployer(Unknown Source)
    at oracle.ias.sysmgmt.deployment.j2ee.console.J2eeDeploymentImpl.getEarDeployer(Unknown Source)
    at oracle.ias.sysmgmt.cmdline.DcmCmdLine.deployApp(Unknown Source)
    at oracle.ias.sysmgmt.cmdline.DcmCmdLine.execute(Unknown Source)
    at oracle.ias.sysmgmt.cmdline.DcmCmdLine.main(Unknown Source)
    Thanks in advance.

    I wish there is a forum for JDev like asktom.oracle.com for DBA.
    I posted several questions but receive no feedback.
    future never wait :-(

  • Error in deploying .ear file in weblogic 6.1

    Hi
    i had deployed an ear file named ProjectBroker.ear using hte weblogic console
    and it was working fine .i had made changes to the ejb bean file and hence tried
    redeploy it,though on the console it shows that it is deployed it , i'm not able
    to access the ejb methods ,also when i start the server it gives me the following
    error ---
    <Mar 11, 2002 11:22:32 AM IST> <Error> <J2EE> <Error deploying application web-s
    ervices: Cannot deploy WebAppServletContext(5197502,web-services,/ProjectBroker)
    on myserver because WebAppServletContext(5450599,web-services,/ProjectBroker)
    i
    s already registered for path /ProjectBroker>
    java.lang.reflect.UndeclaredThrowableException: weblogic.j2ee.DeploymentExceptio
    n: Cannot deploy WebAppServletContext(5197502,web-services,/ProjectBroker) on
    my
    server because WebAppServletContext(5450599,web-services,/ProjectBroker) is alre
    ady registered for path /ProjectBroker
    could any one help me out on this issue
    Rgds
    ravi

    Hi Ivaylo,
    to answer your first question, the EAR that I am trying
    to deploy gets created as part of the publish step. When
    I look in the application.xml file of this EAR I see a
    version attribute with value of 1.4 in the application
    tag, can we assume that this implies J2EE 1.4 compliancy?
    One thing about this generated EAR is that it does not
    include any java code (VM or otherwise). When I generate
    the EAR by hand (by exporting the EJB project as an EAR
    file there is a JAR for the actual java code put in
    there, but when generating the EAR via publish there is
    only some xml and manifest stuff put in the EAR, with the
    result that it's only 2KB or so in size. I have specified
    a J2EE module dependency from the Enterprise Application
    project to the EJB project, but is there something else I
    need to do to ensure that the java code (jar) gets
    included in the EAR of the Enterprise Application when
    attempting to deploy via publish?
    Thanks for the other suggest, "Import J2EE Archive".
    However, I am having difficulty locating this button.
    When I look at the "Deploy View" window I see on the left
    the Workspace and External Deployable Archives trees,
    and on the right there are "Setting for Updating
    SCAs/SDAs" radio buttons, as well as "Error Strategy"
    radio buttons, but no "Import J2EE Archive" button.
    Thanks for the info about SDM by the way, I was wondering
    why I was not able to launch it (there is still a remote
    gui shortcut, which should probably go away).

  • Error in deploying, EAR file does not contain SAP_MANIFEST.MF

    I just upgraded to SAP Netweaver Developer Studio 7.1 from 7.0, and the process of creating and deploying an EJB archive seems to be quite different. Here are the steps I am following:
    (1) I create and build an EJB Project called foo.
    (2) Export the EJB Project foo as an EJB JAR (not sure if this is necessary)
    (3) Create an Enterprise Applications project called fooEAR, with target runtime set to SAP server. When I am prompted for J2EE Modules to add, I select foo (created in step (1)).
    (4) Export the EAR project fooEAR as an EAR file. When I am prompted for which EAR application I choose fooEAR.
    (5) Try to deploy the EAR created in (4) using Deploy View -> External Deployable Archives -> Add, then choose the fooEAR.ear as the target. But I get an error message:
    Wrong SDA/SCA archive
    Error while loading archive ...
    Archive has no entry META-INF/SAP_MANIFEST.MF
    I looked inside fooEAR.ear, and there is no SAP_MANIFEST.MF file. How can I create an EAR that has such a file ?

    Hi Ivaylo,
    to answer your first question, the EAR that I am trying
    to deploy gets created as part of the publish step. When
    I look in the application.xml file of this EAR I see a
    version attribute with value of 1.4 in the application
    tag, can we assume that this implies J2EE 1.4 compliancy?
    One thing about this generated EAR is that it does not
    include any java code (VM or otherwise). When I generate
    the EAR by hand (by exporting the EJB project as an EAR
    file there is a JAR for the actual java code put in
    there, but when generating the EAR via publish there is
    only some xml and manifest stuff put in the EAR, with the
    result that it's only 2KB or so in size. I have specified
    a J2EE module dependency from the Enterprise Application
    project to the EJB project, but is there something else I
    need to do to ensure that the java code (jar) gets
    included in the EAR of the Enterprise Application when
    attempting to deploy via publish?
    Thanks for the other suggest, "Import J2EE Archive".
    However, I am having difficulty locating this button.
    When I look at the "Deploy View" window I see on the left
    the Workspace and External Deployable Archives trees,
    and on the right there are "Setting for Updating
    SCAs/SDAs" radio buttons, as well as "Error Strategy"
    radio buttons, but no "Import J2EE Archive" button.
    Thanks for the info about SDM by the way, I was wondering
    why I was not able to launch it (there is still a remote
    gui shortcut, which should probably go away).

  • Problems deploying ear file created with ant build script

    Hi All,
    I'm using Jdeveloper 11G and Weblogic 10.3. When I build my application and run it within Jdeveloper, it works fine. However, we have a requirement to run ANT build script and create a deployable .ear file that can be manually deployed to any Weblogic Server.
    I created my ant build script and it compiles/builds fine - the .ear file looks good. However, when I attempt to deploy it, it fails with
    javax.faces.webapp.FacesServlet for servlet Faces Servlet could not be loaded because the requested class was not found in the classpath .
    java.lang.ClassNotFoundException: javax.faces.webapp.FacesServlet.
         at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:551)
         at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1985)
         at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1959)
         at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1878)
         at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3153)
         Truncated. see log file for complete stacktrace
    >
    <Nov 2, 2011 2:43:43 PM MDT> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1320266599219' for task '3'. Error is: 'weblogic.application.ModuleException: [HTTP:101216]Servlet: "Faces Servlet" failed to preload on startup in Web application: "###"
    I am not sure how to tell weblogic where to find the classes needed. I have a pretty huge classpath used when compiling - should I be putting the classpath in the manifest (?) - I don't think I should need to include the .jar files manually in the .ear file - since all the libraries should already be available in weblogic - or is that a misconception?
    Please help!!

    I answered my own question -
    I had to manually add the following to the WEB-INF/lib to get the error to go away:
    ${ORACLE_HOME}/modules/javax.jsf_1.1.0.0_1-2.jar and
    ${ORACLE_HOME}/oracle_common/modules/oracle.jsf_1.2.9/glassfish.jsf_1.0.0.0_1-2-15.jar and
    ${ORACLE_HOME}/oracle_common/modules/oracle.jsf_1.2.9/glassfish.jstl_1.2.0.1.jar
    that solved my problem. However, I think it'd be great if I could somehow just specify (in the weblogic-application.xml maybe?) that my application is using the above modules without having to copy the jar files into my WEB-INF/lib - any suggestions?
    Thanks

  • Class not found in web-inf/classes folder of war file within ear file

    Hi all,
              I am using Weblogic 8.1 sp4. I have a war file within an ear file. I am trying to deploy the war file with a few classes within its web-inf/classes folder, however when the classes are in that folder I consistently get a class not found exception when trying to instantiate them. If I package the classes in a jar file and then put that jar file within the web-inf/lib folder of the war, the classes are also not found.
              If I put these two classes in the app-inf/classes folder of the ear file, everything works as expected and the classes are found.
              Any ideas of why this is happening. This seems to be a very simple thing that should work, but appears to not be working at all.
              thanks in advance for any suggestions or ideas.

    Hi,
              This is a known limitation/issue with WL. There is also no way around this.
              Regards,
              LG

  • How to build project in NWDS from ear file?

    I do know that it maynot be possible to build a project from a .ear file but I am sure there must be a way out. I am sure someone else would have faced the same problem that I am facing.
    This is what happened. We had a consultant working on our ESS/MSS appplications in the studio. He made changes to a few ESS/MSS applications. However, while deploying, he did not use NWDI even though we do have NWDI available. He simply imported the .ear files in all the development, quality and production portals. Because of this, the changed source code is not available on NWDI and when I import the configuration from NWDI, I only get the old source code.
    I do have al the .ear files he deployed. So, my question is, is there anyway for me to build the project from the .ear file? I do know how to decompile the CLASS files on the ear file and look at the code but I was hoping for a way to build the entire project with the changed source code in NWDS. Or Is there anyway to synchronize the NWDI source code with the deployed source code. Please respond ONLY if you have actually managed to resolve this problem.

    Hi Santosh,
    This is hardly possible even if you have Java decompiler -- WD has a lot compile(design)-time only artifcats that are not exist in generated EAR.
    Regards,
    Vipin.

  • What will happen if I open an .ear file on the OAS OC4J_Portal/applications

    Hi,
    Is it possible to open an .ear file in another directory of OC4J_Portal instance with UNIX as the flavour. If so what would happen?

    Hi Vijayendra,
    I am not able to understand your question clearly, but I think you are looking to deploy the single EAR file twice in the same OC4J. It's possible only if you give a different name for the EAR File & the Application.
    Regards,
    Sandeep

Maybe you are looking for