Exploded Vs Archive form of EAR file

Hi
I have 3 JSPs named one.jsp, two.jsp, three.jsp.
one.jsp includes two.jsp in 4 places.
two.jsp includes three.jsp in 3 places.
All the three jsps uses JSTL to load the values from sql server database.
When I load the one.jsp file from an Archived ear file, it is taking 7 to 10 seconds to load the file. But, When I try to load it from an exploded ear file, it is loading within a second.
What is the difference between loading the same file in exploded and archived forms?
what are the adavantages and disadvantages of Exploded Vs Archive form of an web application?
Please, help to know this information.
Thanks,
JavaBuddy.

When I load the one.jsp file from an Archived ear
file, it is taking 7 to 10 seconds to load the file.
But, When I try to load it from an exploded ear file,
it is loading within a second.Could you clarify what do you mean by load the file? Do you mean redeploy the application?
And how did you deploy the web application? Through autodeploy, cli deploy or admin console, netbeans?
Do you have precompilejsp option set to same value for both archive and directory deployment (what you referred as the exploded)? This option is used to dermine whether we compile jsp files during deployment time or runtime when the jsp is invoked the first time..
>
What is the difference between loading the same file
in exploded and archived forms?
what are the adavantages and disadvantages of
Exploded Vs Archive form of an web application?Directory deployment has less overhead than archive deployment (no need to explode the archive etc) so it's usually faster.
Directory deployment is targeting developers who need to change the contents of their application often and redeploy. It is faster and also developer doesn't need to repackage the archive each time after modifying the contents.
Directory deployment has some limitations: currently it is not supported on EE platform (cluster). If you don't need to use the cluster feature and always use the PE version, there should be no problem just always doing directory deployment.

Similar Messages

  • Error when deploying a new forms .ear file

    Hi all
    I get the following eror when trying to start forms:
    Starting OPMN managed FORMS OC4J instance ...
    Calling txkChkFormsDeployment.pl to check whether latest FORMSAPP.EAR is deployed...
    Program : /u01/apps/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkChkFormsDeployment.pl started @ Tue Nov 16 11:16:23 2010
    *** Log File = /u01/apps/inst/apps/DEV_ikhsmappdev1/logs/appl/rgf/TXK/txkChkFormsDeployment_Tue_Nov_16_11_16_23_2010/txkChkFormsDeployment_Tue_Nov_16_11_16_23_2010.log
    File "/u01/apps/apps/tech_st/10.1.3/j2ee/forms/applications/forms/formsweb/WEB-INF/lib/frmsrv.jar" exists. Proceeding to check the size...
    =================================================
    *** Latest formsapp.ear has NOT been deployed ***
    Deploying the latest EAR file...
    =================================================
    Program : /u01/apps/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkChkFormsDeployment.pl completed @ Tue Nov 16 11:16:30 2010
    * W A R N I N G *
    Error while executing the perl script txkChkFormsDeployment.pl
    We have determined that you need to redeploy Forms (using txkChkFormsDeployment.pl).
    But could not do it automatically for you, due to some issues.
    For details refer the log files.
    Follow Note: 397174.1 to redeploy Forms manually.
    I then try and deploy a new Forms EAR file as per doc 397174.1 and run into errors as follows:
    Errors encountered running /u01/apps/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkCfgOC4JApp.pl
    *******FATAL ERROR*******
    PROGRAM : /u01/apps/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkCfgOC4JApp.pl(/u01/apps/apps/apps_st/appl/fnd/12.0.0/bin/txkrun.pl)
    TIME : Tue Nov 16 16:33:03 2010
    FUNCTION: (eval) [ Level 1 ]
    ERRORMSG: Invalid 10.1.3 Oracle Home: /u01/apps/apps/tech_st/10.1.3
    How do I fix this?

    Still the same issue, yes.
    I have already logged an SR for this, but all is very quiet on that front.
    One funny, is that this HOME was never attached to the orainst.loc, so I did it manually.
    When I try and run opatch with lsinventory parm, it does not list any patches, although there are patches installed, if you look at $OH/.patch_storage.
    Any idea of how I should attach this home correctly?

  • Deploying a New Forms .ear File in Oracle Applications Release 12-FATAL ERR

    Hello everyone, I am applying a scurity patch 7605070 to our R12 applications. As part of the post-install step, I need to follow Metalink Note 397174.1 to deploy a new forms .ear file.
    However, I am getting following FATAL ERROR:
    :->$FND_TOP/bin/txkrun.pl -script=CfgOC4JApp
    *** ALL THE FOLLOWING FILES ARE REQUIRED FOR RESOLVING RUNTIME ERRORS
    *** Log File = /apps/ecrmR12apps9/apps/crmcrm9_lnxcde21/logs/appl/rgf/TXK/txkCfgOC4JApp_Fri_May_29_11_54_43_2009.log
    Program : /apps/ecrmR12apps9/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkCfgOC4JApp.pl started @ Fri May 29 11:54:43 2009
    *** Log File = /apps/ecrmR12apps9/apps/crmcrm9_lnxcde21/logs/appl/rgf/TXK/txkCfgOC4JApp_Fri_May_29_11_54_43_2009.log
    Enter Application name for re-deployment ? forms
    Enter Oc4j Instance password for re-deployment ? welcome
    Run Autoconfig <Yes/No> ? no
    Required values for starting OC4J instance "forms":
    ====================================================
    s_formsstatus = enabled
    s_forms_nprocs = 1 (value should be greater than 0)
    Existing values from the context file:
    ======================================
    s_formsstatus = enabled
    s_forms_nprocs = 1
    *** Values for context variables are VALID ***
    Stopping all OPMN processes.
    OPMN stopped.
    Errors encountered running /apps/ecrmR12apps9/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkCfgOC4JApp.pl
    *******FATAL ERROR*******
    PROGRAM : /apps/ecrmR12apps9/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkCfgOC4JApp.pl(/apps/ecrmR12apps9/apps/apps_st/appl/fnd/12.0.0/bin/txkrun.pl)
    TIME : Fri May 29 11:55:09 2009
    FUNCTION: TXK::Process::run [ Level 3 ]
    MESSAGES:
    Command error: <rc> = 32512, <command> = /apps/ecrmR12apps9/apps/tech_st/10.1.3/opmn/bin/opmnctl start
    STACK TRACE
    TXK::Error::abort('TXK::Error','HASH(0x99e2a24)') called at /apps/ecrmR12apps9/apps/apps_st/appl/au/12.0.0/perl/TXK/Common.pm line 299
    TXK::Common::doError('TXK::Process=HASH(0xa662688)','Command error: <rc> = 32512, <command> = /apps/ecrmR12apps9/a...','undef') called at /apps/ecrmR12apps9/apps/apps_st/appl/au/12.0.0/perl/TXK/Common.pm line 314
    TXK::Common::setError('TXK::Process=HASH(0xa662688)','Command error: <rc> = 32512, <command> = /apps/ecrmR12apps9/a...') called at /apps/ecrmR12apps9/apps/apps_st/appl/au/12.0.0/perl/TXK/Process.pm line 449
    TXK::Process::run('TXK::Process=HASH(0xa662688)','HASH(0xa295488)') called at /apps/ecrmR12apps9/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkCfgOC4JApp.pl line 1469
    TXK::RunScript::execOPMNControl('HASH(0xa4f977c)') called at /apps/ecrmR12apps9/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkCfgOC4JApp.pl line 532
    require /apps/ecrmR12apps9/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkCfgOC4JApp.pl called at /apps/ecrmR12apps9/apps/apps_st/appl/au/12.0.0/perl/TXK/RunScript.pm line 105
    TXK::RunScript::require('TXK::RunScript','/apps/ecrmR12apps9/apps/apps_st/appl/fnd/12.0.0/patch/115/bin...') called at /apps/ecrmR12apps9/apps/apps_st/appl/au/12.0.0/perl/TXK/Script.pm line 177
    eval {...} called at /apps/ecrmR12apps9/apps/apps_st/appl/au/12.0.0/perl/TXK/Script.pm line 177
    TXK::Script::run('TXK::Script=HASH(0x9d974d4)','/apps/ecrmR12apps9/apps/crmcrm9_lnxcde21/logs/appl/rgf/TXK','/apps/ecrmR12apps9/apps/apps_st/appl/fnd/12.0.0/patch/115/bin...') called at /apps/ecrmR12apps9/apps/apps_st/appl/fnd/12.0.0/bin/txkrun.pl line 150
    (lnxcde21-ecrmapps9) /apps/ecrmR12apps9/apps/apps_st/appl/fnd/12.0.0/bin
    :->
    What should I do? Please advice...

    Issue appears to be resolved :)
    Here are the steps:
    vi /apps/ecrmR12apps9/apps/tech_st/10.1.3/opmn/bin/opmnctl and updated following variable to the correct path. (I am not sure why these path's were still pointing to production environment. I cross checked another cloned instance and it is also pointing to production path)
    ORACLE_HOME=/apps/ecrmR12apps9/apps/tech_st/10.1.3; export ORACLE_HOME
    TNS_ADMIN=${TNS_ADMIN="/apps/ecrmR12apps9/apps/tech_st/10.1.3/network/admin"}; export TNS_ADMIN
    Then, the issue got resolved:
    :->$FND_TOP/bin/txkrun.pl -script=CfgOC4JApp
    *** ALL THE FOLLOWING FILES ARE REQUIRED FOR RESOLVING RUNTIME ERRORS
    *** Log File = /apps/ecrmR12apps9/apps/crmcrm9_lnxcde21/logs/appl/rgf/TXK/txkCfgOC4JApp_Fri_May_29_14_53_22_2009.log
    Program : /apps/ecrmR12apps9/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkCfgOC4JApp.pl started @ Fri May 29 14:53:22 2009
    *** Log File = /apps/ecrmR12apps9/apps/crmcrm9_lnxcde21/logs/appl/rgf/TXK/txkCfgOC4JApp_Fri_May_29_14_53_22_2009.log
    Enter Application name for re-deployment ? forms
    Enter Oc4j Instance password for re-deployment ? welcome
    Run Autoconfig <Yes/No> ? no
    Required values for starting OC4J instance "forms":
    ====================================================
    s_formsstatus = enabled
    s_forms_nprocs = 1 (value should be greater than 0)
    Existing values from the context file:
    ======================================
    s_formsstatus = enabled
    s_forms_nprocs = 1
    *** Values for context variables are VALID ***
    Stopping all OPMN processes.
    OPMN stopped.
    OPMN started.
    Deplolying Application : "forms" onto OC4J instance: "forms"
    Application deployed successfully.
    Stopping and starting OC4J instances.
    Started OC4J instances.
    Binding webApp : "forms" with webmodule : "formsweb" for OC4J instance: "forms"
    Web application bound successfully.
    Stopping OPMN.
    OPMN stopped.
    Program : /apps/ecrmR12apps9/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkCfgOC4JApp.pl completed @ Fri May 29 14:54:13 2009
    End of /apps/ecrmR12apps9/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkCfgOC4JApp.pl : No Errors encountered
    Now I am not sure if the changes I made to opmnctl file is correct or not. I mean can I vi this file and update the value in this file as I wish, or should I be following some procedure to update the correct path.

  • 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.)

  • How to deploy EAR file in Tomcat?

    Is we can deploy ear file in tomcat?
    Normally we can deploy WAR file in tomcat webapps folder. When we run the tomat it will automatically extract the war file.
    But samethink I have tried EAR file. But it is not working.
    Is we can deploy EAR file or not?
    If not plz give reason.

    Hi
    Normally we can deploy the war file thats routene stuff ofcourse ..........but when u deploy ear file it will give problmes as ear structure and war structure are differeant
    The Tomcat Servlet/JSP Container      
    The Apache Tomcat 5.5 Servlet/JSP Container
         Apache Logo
    Links
    * Docs Home
    Contents
    * Contents
    * Introduction
    * Installation
    * Deployment
    * Source Code
    * Processes
    * Example App
    Application Developer's Guide
    Deployment
         Printer Friendly Version
    print-friendly
    version
    Background
    Before describing how to organize your source code directories, it is useful to examine the runtime organization of a web application. Prior to the Servlet API Specification, version 2.2, there was little consistency between server platforms. However, servers that conform to the 2.2 (or later) specification are required to accept a Web Application Archive in a standard format, which is discussed further below.
    A web application is defined as a hierarchy of directories and files in a standard layout. Such a hierarchy can be accessed in its "unpacked" form, where each directory and file exists in the filesystem separately, or in a "packed" form known as a Web ARchive, or WAR file. The former format is more useful during development, while the latter is used when you distribute your application to be installed.
    The top-level directory of your web application hierarchy is also the document root of your application. Here, you will place the HTML files and JSP pages that comprise your application's user interface. When the system administrator deploys your application into a particular server, he or she assigns a context path to your application (a later section of this manual describes deployment on Tomcat). Thus, if the system administrator assigns your application to the context path /catalog, then a request URI referring to /catalog/index.html will retrieve the index.html file from your document root.
    Standard Directory Layout
    To facilitate creation of a Web Application Archive file in the required format, it is convenient to arrange the "executable" files of your web application (that is, the files that Tomcat actually uses when executing your app) in the same organization as required by the WAR format itself. To do this, you will end up with the following contents in your application's "document root" directory:
    * *.html, *.jsp, etc. - The HTML and JSP pages, along with other files that must be visible to the client browser (such as JavaScript, stylesheet files, and images) for your application. In larger applications you may choose to divide these files into a subdirectory hierarchy, but for smaller apps, it is generally much simpler to maintain only a single directory for these files.
    * /WEB-INF/web.xml - The Web Application Deployment Descriptor for your application. This is an XML file describing the servlets and other components that make up your application, along with any initialization parameters and container-managed security constraints that you want the server to enforce for you. This file is discussed in more detail in the following subsection.
    * /WEB-INF/classes/ - This directory contains any Java class files (and associated resources) required for your application, including both servlet and non-servlet classes, that are not combined into JAR files. If your classes are organized into Java packages, you must reflect this in the directory hierarchy under /WEB-INF/classes/. For example, a Java class named com.mycompany.mypackage.MyServlet would need to be stored in a file named /WEB-INF/classes/com/mycompany/mypackage/MyServlet.class.
    * /WEB-INF/lib/ - This directory contains JAR files that contain Java class files (and associated resources) required for your application, such as third party class libraries or JDBC drivers.
    When you install an application into Tomcat (or any other 2.2/2.3-compatible server), the classes in the WEB-INF/classes/ directory, as well as all classes in JAR files found in the WEB-INF/lib/ directory, are made visible to other classes within your particular web application. Thus, if you include all of the required library classes in one of these places (be sure to check licenses for redistribution rights for any third party libraries you utilize), you will simplify the installation of your web application -- no adjustment to the system class path (or installation of global library files in your server) will be necessary.
    Much of this information was extracted from Chapter 9 of the Servlet API Specification, version 2.3, which you should consult for more details.
    Shared Library Files
    Like most servlet containers, Tomcat 5 also supports mechanisms to install library JAR files (or unpacked classes) once, and make them visible to all installed web applications (without having to be included inside the web application itself. The details of how Tomcat locates and shares such classes are described in the Class Loader HOW-TO documentation. For the purposes of our discussion, there are two locations that are commonly used within a Tomcat 5 installation for shared code:
    * $CATALINA_HOME/common/lib - JAR files placed here are visible both to web applications and internal Tomcat code. This is a good place to put JDBC drivers that are required for both your application and internal Tomcat use (such as for a JDBCRealm).
    * $CATALINA_BASE/shared/lib - JAR files placed here are visible to all web applications, but not to internal Tomcat code. This is the right place for shared libraries that are specific to your application.
    Out of the box, a standard Tomcat 5 installation includes a variety of pre-installed shared library files, including:
    * The Servlet 2.4 and JSP 2.0 APIs that are fundamental to writing servlets and JavaServer Pages.
    * An XML Parser compliant with the JAXP (version 1.2) APIs, so your application can perform DOM-based or SAX-based processing of XML documents.
    Web Application Deployment Descriptor
    The description below uses the variable name $CATALINA_HOME to refer to the directory into which you have installed Tomcat 5, and is the base directory against which most relative paths are resolved. However, if you have configured Tomcat 5 for multiple instances by setting a CATALINA_BASE directory, you should use $CATALINA_BASE instead of $CATALINA_HOME for each of these references.
    As mentioned above, the /WEB-INF/web.xml file contains the Web Application Deployment Descriptor for your application. As the filename extension implies, this file is an XML document, and defines everything about your application that a server needs to know (except the context path, which is assigned by the system administrator when the application is deployed).
    The complete syntax and semantics for the deployment descriptor is defined in Chapter 13 of the Servlet API Specification, version 2.3. Over time, it is expected that development tools will be provided that create and edit the deployment descriptor for you. In the meantime, to provide a starting point, a basic web.xml file is provided. This file includes comments that describe the purpose of each included element.
    NOTE - The Servlet Specification includes a Document Type Descriptor (DTD) for the web application deployment descriptor, and Tomcat 5 enforces the rules defined here when processing your application's /WEB-INF/web.xml file. In particular, you must enter your descriptor elements (such as <filter>, <servlet>, and <servlet-mapping> in the order defined by the DTD (see Section 13.3).
    Tomcat Context Descriptor
    The description below uses the variable name $CATALINA_HOME to refer to the directory into which you have installed Tomcat 5, and is the base directory against which most relative paths are resolved. However, if you have configured Tomcat 5 for multiple instances by setting a CATALINA_BASE directory, you should use $CATALINA_BASE instead of $CATALINA_HOME for each of these references.
    A /META-INF/context.xml file can be used to define Tomcat specific configuration options, such as loggers, data sources, session manager configuration and more. This XML file must contain one Context element, which will be considered as if it was the child of the Host element corresponding to the Host to which the The Tomcat configuration documentation contains information on the Context element.
    Deployment With Tomcat 5
    In order to be executed, a web application must be deployed on a servlet container. This is true even during development. We will describe using Tomcat 5 to provide the execution environment. A web application can be deployed in Tomcat by one of the following approaches:
    * Copy unpacked directory hierarchy into a subdirectory in directory $CATALINA_HOME/webapps/. Tomcat will assign a context path to your application based on the subdirectory name you choose. We will use this technique in the build.xml file that we construct, because it is the quickest and easiest approach during development. Be sure to restart Tomcat after installing or updating your application.
    * Copy the web application archive file into directory $CATALINA_HOME/webapps/. When Tomcat is started, it will automatically expand the web application archive file into its unpacked form, and execute the application that way. This approach would typically be used to install an additional application, provided by a third party vendor or by your internal development staff, into an existing Tomcat installation. NOTE - If you use this approach, and wish to update your application later, you must both replace the web application archive file AND delete the expanded directory that Tomcat created, and then restart Tomcat, in order to reflect your changes.
    * Use the Tomcat 5 "Manager" web application to deploy and undeploy web applications. Tomcat 5 includes a web application, deployed by default on context path /manager, that allows you to deploy and undeploy applications on a running Tomcat server without restarting it. See the administrator documentation (TODO: hyperlink) for more information on using the Manager web application.
    * Use "Manager" Ant Tasks In Your Build Script. Tomcat 5 includes a set of custom task definitions for the Ant build tool that allow you to automate the execution of commands to the "Manager" web application. These tasks are used in the Tomcat deployer.
    * Use the Tomcat Deployer. Tomcat 5 includes a packaged tool bundling the Ant tasks, and can be used to automatically precompile JSPs which are part of the web application before deployment to the server.
    Deploying your app on other servlet containers will be specific to each container, but all containers compatible with the Servlet API Specification (version 2.2 or later) are required to accept a web application archive file. Note that other containers are NOT required to accept an unpacked directory structure (as Tomcat does), or to provide mechanisms for shared library files, but these features are commonly available.
    Copyright © 1999-2006, Apache Software Foundation

  • Error while deploying ear-file to J2EE via NWDS/SDM

    Hi everybody,
    i have a problem deploying an ear-file. I was looking for similar cases in forums, but didn't find anything. My application is developed by jsp/servlets. The deployment aborts with following error-massage:
    Caught exception during application deployment from SAP J2EE Engine's deploy API:
    com.sap.engine.deploy.manager.DeployManagerException: com.sap.engine.services.deploy.container.DeploymentException: Cannot update archive file Docsndownloads.warcom.sap.engine.services.deploy.ear.exceptions.BaseIOException: Error during replacement of substitution values. Reason: java.io.IOException: Stream closed
    I don't know what the reason could be. The application is running on tomcat. And I can deploy other applications to j2ee with nwds/sdm.
    Maybe somebody had or has the same problem. Or somebody knows the answer for the problem. Please help, points will be regarded. Thanks in advance.
    best regards
    Lu

    Hi,
    I checked the log-files, but there are no helpful informations, but:
    07/04/23 12:08:04 -  Start updating EAR file...
    07/04/23 12:08:04 -  start-up mode is lazy
    07/04/23 12:08:20 -  com.sap.engine.deploy.manager.DeployManagerException: com.sap.engine.services.deploy.container.DeploymentException: Cannot update archive file Docsndownloads.war
                         com.sap.engine.services.deploy.ear.exceptions.BaseIOException: Error during replacement of substitution values. Reason:
                          java.io.IOException: Stream closed
    and
    Apr 23, 2007 12:08:20... Error: Aborted: development component 'Dokusunddownloads'/'sap.com'/'localhost'/'2007.04.23.12.07.47'/'0':
    Caught exception during application deployment from SAP J2EE Engine's deploy API:
    com.sap.engine.deploy.manager.DeployManagerException: com.sap.engine.services.deploy.container.DeploymentException: Cannot update archive file Docsndownloads.war
    com.sap.engine.services.deploy.ear.exceptions.BaseIOException: Error during replacement of substitution values. Reason:
    java.io.IOException: Stream closed
    thanks,
    Lu

  • Error while deploying ear file generated from weblogic to ocj4

    Hi All,
    I have an .ear file which has been generated from weblogic server.I tried to deploy it on ocj4 aby created a new project in eclipse and deploying it on ocj4.
    When I try to run my project it gives me an error:
    2008-12-15 19:13:54.811 NOTIFICATION J2EE JSP-0008 Unable to dispatch JSP Page : Exception:oracle.classloader.util.AnnotatedLinkageError: duplicate class definition: javax/xml/rpc/Service
         Invalid class: javax.xml.rpc.Service
         Loader: Test.web.TSOptyQGateWeb:0.0.0
         Code-Source: /C:/OC4J_10.1.3.4/j2ee/home/applications/Test/TSOptyQGateWeb/WEB-INF/lib/jaxrpc.jar
         Configuration: WEB-INF/lib/ directory in C:\OC4J_10.1.3.4\j2ee\home\applications\Test\TSOptyQGateWeb\WEB-INF\lib
         Dependent class: oracle.jsp.runtimev2.JspPageInstFacade$DeclaredAction
         Loader: oc4j:10.1.3
         Code-Source: /C:/OC4J_10.1.3.4/j2ee/home/lib/ojsp.jar
         Configuration: <code-source> in META-INF/boot.xml in C:\OC4J_10.1.3.4\j2ee\home\oc4j.jar
         The original class instance was defined in the shared-library oracle.ws.jaxrpc:1.1, and oc4j:10.1.3 does import that loader. This may be a search-order problem.
    Can anyone help??

    Hi,
    I checked the log-files, but there are no helpful informations, but:
    07/04/23 12:08:04 -  Start updating EAR file...
    07/04/23 12:08:04 -  start-up mode is lazy
    07/04/23 12:08:20 -  com.sap.engine.deploy.manager.DeployManagerException: com.sap.engine.services.deploy.container.DeploymentException: Cannot update archive file Docsndownloads.war
                         com.sap.engine.services.deploy.ear.exceptions.BaseIOException: Error during replacement of substitution values. Reason:
                          java.io.IOException: Stream closed
    and
    Apr 23, 2007 12:08:20... Error: Aborted: development component 'Dokusunddownloads'/'sap.com'/'localhost'/'2007.04.23.12.07.47'/'0':
    Caught exception during application deployment from SAP J2EE Engine's deploy API:
    com.sap.engine.deploy.manager.DeployManagerException: com.sap.engine.services.deploy.container.DeploymentException: Cannot update archive file Docsndownloads.war
    com.sap.engine.services.deploy.ear.exceptions.BaseIOException: Error during replacement of substitution values. Reason:
    java.io.IOException: Stream closed
    thanks,
    Lu

  • Error while deploying EAR file through SDM

    Hi All,
    I am deploying EAR file through SDM. Its taking too much time to deploy in the 3rd stage (its just a simple hello file for testing purpose and its still in that stage for 2 hours).
    When I see the log, I can see some fata error. Please suggest me what should I do. 
    ==
    Oct 15, 2008 4:31:44 PM  Info: SDM started successfully.
    Oct 15, 2008 4:33:21 PM  Info: Opened client connection to sapretail (IP address
    sapretail/172.20.177.203, remote port 58645)
    Oct 15, 2008 4:33:23 PM  Info: Request for Logon as admin accepted
    Oct 15, 2008 4:39:07 PM  Info: Loading archive '/usr/sap/trans/EPS/sap.comwdtu
    torial~ex1.ear'
    Oct 15, 2008 4:40:50 PM  Info: Actions per selected component:
    Oct 15, 2008 4:40:50 PM  Info: Initial deployment: Selected development componen
    t 'wd/tutorial/ex1'/'sap.com'/'LOKAL'/'0.2008.10.14.12.51.57' will be deployed.
    Oct 15, 2008 4:44:41 PM  Info: Saved current Engine state.
    Oct 15, 2008 4:44:48 PM  Fatal: State BeforeNextDeployment can't process event I
    nitiateDeployment
    The reason I am doing through SDM because while deploying through NWDS its throwing an error
    Oct 13, 2008 12:44:41 PM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
    [001]Deployment aborted
    Settings
    SDM host : sapretail
    SDM port : 50118
    URL to deploy : file:/C:/DOCUME1/231477/LOCALS1/Temp/temp41002sap.comwdtutorial~ex1.ear
    Deployment exception : Server sapretail did not accept login request as admin on port 50118. Details: ERROR: Could not establish connection to server sapretail at port 50118: sapretail
    Inner exception was :
    Server sapretail did not accept login request as admin on port 50118. Details: ERROR: Could not establish connection to server sapretail at port 50118: sapretail
    Please suggest a solution.
    Regards,
    Jitender

    Now, when I deploy through NWDS, I get the following error.
    Result
    => deployment aborted : file:/C:/DOCUME1/231477/LOCALS1/Temp/temp51346sap.comwdtutorial~ex1.ear
    Aborted: development component 'wd/tutorial/ex1'/'sap.com'/'LOKAL'/'0.2008.10.15.21.04.16':Caught exception while checking the login credentials for SAP J2EE Engine. Check whether the SAP J2EE Engine is up and running.com.sap.engine.deploy.manager.DeployManagerException: ERROR: Cannot connect to Host: [sapretail] with user name: [J2EE_ADMIN]                     Check your login information.                     Exception is: com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception while trying to get InitialContext. [Root exception is com.sap.engine.services.security.exceptions.BaseLoginException: Cannot authenticate the user.] (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.checkLoginCredentials.DMEXC)
    Deployment exception : The deployment of at least one item aborted

  • Reading Java files from a EAR file

    I want to read all Java files from a EAR file and from inner (inside EAR) EAR or WAR file with out unpacking.
    suppose "Demo.ear" contaions the following files:
    abc.java
    programs / a.java
    programs / b.java
    src / index.java
    src / com / myFolder / main.java
    src.war
    and suppose "src.war" again contains some java files inside differenet folders.
    The main problem is that i can read all java files from "Demo.ear" but unable to reading from "src.war" b'coz my program is using JarFile class constructor which needs a archive file path, So only top level archive having the path but not the inner archives.
    So, pls help me out to this problems
    Thanks in advance

    Maybe you can use java.util.zip.ZipInputStream to
    open the Ear and recursively to open the files in
    it; I'm not sure whether this will result in a full
    unpacking of the file in some temporary directory,
    though.
    Please let me know if it worked the way you wanted,
    I'm curious about it.This jerk just created the third thread about the same topic, because he didn't understand your suggestion, which I already provided earlier.
    http://forum.java.sun.com/thread.jspa?threadID=790015

  • How do I convert an war file to ear file, deploying weblogic apps

    Problem Description: I have a war file from a legacy application that needs to be migrated to weblogic. To migrate this application to weblogic, we need a ear file. Reading weblogic doc. it says we needs to use ant utility on an exploded web content application folder/ directory to create the ear file. I need to covert the existing war file to ear file , if it is doable or create one from the scratch. I need to know how to do that in weblogic. Please let me know if you have any hints .
    Thanks

    HI,
    Please try the following to convert your WAR file into an EAR exploded archieve:
    *1).* Create a Directory in your file system.
    Example:
    /home/apps/MyFirstEAR
    *2).* Place the WAR file inside the above Directory. (Suppose your WAR file name is test.war)
    Example:
    /home/apps/MyFirstEAR/test.war
    *3).* Now create a "META-INF" directory inside "/home/apps/MyFirstEAR" directory
    *4).* Now create an "application.xml" file like following inside "/home/apps/MyFirstEAR/META-INF" directory:
    <?xml version="1.0" encoding="UTF-8"?>
    <application xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.4">
    <description>Test EAR Example</description>
    <display-name>TestEAR Example</display-name>
    <module>
    <web>
    <web-uri>test.war</web-uri>
    <context-root>test</context-root>
    </web>
    </module>
    </application>
    *5).* Your EAR is ready now you can deploy the "MyFirstEAR" directory in the WebLogic Server.
    NOTE: if you want to place the "test.war" file also as an exploaded format content inside the EAR then you need to extract the test.war file and then in place of the test.war you can have "test" directory at the same place.
    You need to change the "application.xml" file like below in that case:
    <?xml version="1.0" encoding="UTF-8"?>
    <application xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.4">
    <description>Test EAR Example</description>
    <display-name>TestEAR Example</display-name>
    <module>
    <web>
    <font color=red> <web-uri>test</web-uri> </font><br>
    <context-root>test</context-root>
    </web>
    </module>
    </application>
    For more information on an EAR application structure you can refer to : http://middlewaremagic.com/weblogic/?p=1952
    Thanks
    Jay SenSharma
    http://middlewaremagic.com/weblogic (Middleware Magic Is Here)

  • Error while loading velocity template using ear file (weblogic 8.1,SP5)

    Hi,
    In one of our j2ee applications we have a web application and an EJB application.
    Web application uses velocity(1.2).
    Application server is weblogic 8.1 with sp5.
    If web app and ejb app are deployed separately, web app is able to load templates properly but if we make an ear file bundling web app and ejb app, we get following error at the time when application tries to load even the first velocity template.
    org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource 'login.vt'
         at org.apache.velocity.runtime.resource.ResourceManager.getResource(ResourceManager.java:438)
         at org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:736)
         at org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:718)
         at org.apache.velocity.runtime.RuntimeSingleton.getTemplate(RuntimeSingleton.java:337)
         at org.apache.velocity.servlet.VelocityServlet.getTemplate(VelocityServlet.java:499)
         at com.nfsmith.servlet.Controller.handleRequest(Controller.java:377)
         at org.apache.velocity.servlet.VelocityServlet.doRequest(VelocityServlet.java:331)
         at org.apache.velocity.servlet.VelocityServlet.doGet(VelocityServlet.java:292)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1072)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6981)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3892)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2766)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
    We have tried to configure and use all the resource loader for velocity engine(FileResourceLoader, ClasspathResourceLoader , JarResourceLoader etc.) but noting is working.
    I have tried keeping all the templates under WEB-INF\classes dir. This does not work.
    I have even tried keeping all the templates in a separate jar file and kept the same under APP-INF/lib and bundled the same in ear file, even this does'nt work either.
    Should I create a rar file archive or is there any other way to achieve this?
    Appreciate your responses.
    Jaspal

    Please repost this in the WebLogic Portal forum:
    WebLogic Portal

  • Error while deploying an ear file in the Oracle Application Server

    Hi,
    There was an existing ear deployed in the the oracle application server - 10g. We had to include some customizations so we rebuild the ear file with the new changes and tried redeploying the ear using the EM console. Getting the below error while deploying the same. Any pointers to the same would be helpful.
    Error
    An error occurred when processing the data submitted. Find the appropriate field and enter the correct information as noted next to each field.
    Archive Location - Failed in uploading archive. Invalid archive file: Jar file resourceadapter-rar.rar is missing a standard deployment located at META-INF/ra.xml
    We have not modified anything in the ra.xml nor have touched the resourceadapter-rar.rar

    Hello
    did you configure the startweblogic file as mentioned in the admin guide ?

  • 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).

Maybe you are looking for

  • Which role that Take a iview use SAP GUI for HTML need ?

    hi all     i made a transaction iview use the  sap gui for html,and this ivew add a role,the role add a user.and the user had only this role.when i use the user logon the portal,it will give me a error message:   portal runtime error....    whether i

  • Dynamic Menu in JSP

    Hi, I have to make a menu just like www.staple.com in my JSP. The main product category and sub-category are read from the database. I have classes written which retrieve the product and sub categories but dont know hot to proceed with building of dy

  • I need a 2nd DVD drive, wich one?

    I have an HP DVD writer from my old PC. i tried hooking it up on my MacPro but when i try to open it up, it doesnt open because the faceplate is too big, it wont let the drive open completely. I also have an LG DVD Drive, but the same issue, the face

  • Will an song I recorded in an older GarageBand be readable in a newer version of GarageBand?

    I've recorded my songs on an older version of GarageBand while at college.  I don't have GarageBand on my MacBook pro but I plan on downloading it.  Will the songs I've recorded be compatible with the newer version?

  • URGENT...Help on User Level export and import

    User level export and import - In my db there are more than 20 users, i would like export only 2 users and they have constraints to other user tables in db. what are the precautions I need to take before exporting ??? 1. Disabling all constraints etc