Deploy ear

Hi,
I'm using SAP WAS 6.20, I've two servers in one cluster.
How to deploy ear application on all servers(it is correct that when I deploy application on first server, this application is available to the others servers ?)
Thanks for reply.
Best Regards
Jakub Krecicki

Hello Jakub,
The connections pools and the references of the applications are also synchronized.
You can take a look at the adminmanual.pdf in <j2ee engine>/doc directory and especially the section about Administration of SAP J2EE Engine 6.20 Cluster -> Synchronization of Libraries and Applications Within the
Cluster
Kind Regards
Vyara

Similar Messages

  • 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

  • While deploying ear in home instance ORACLE10G EM console Base Exception

    while deploying ear in home instance through ORACLE10G EM console.
    i am getting this exception
    Deployment failed: Nested exception
    Resolution:
    Base Exception:
    com.evermind.server.rmi.OrionRemoteException
    Disconnected: Connection reset. Disconnected: Connection reset

    Have you tried to logout and login to EM?
    EM has known bugs that I also faced during application deployment.
    Have you tried to deploy from JDeveloper?

  • Error when deploying EAR in OC4J 10.1.3.0.0 with a deployment plan

    Hello!
    I try to deploy an ear file specifying a deployment plan generated from web interface using command line utilities. I try to use both admin_client.jar and oracle ant task and still get the same error. When i remove deployment plan argument, the application is successfully deployed.... Any Idea?
    My server:
    OC4J 10.1.3.0.0 on an AIX server
    The error raised during deployment:
    [MyServer] 08/04/07 12:46:56 Notification ==>Application Deployer for MyApp STARTS.
    [MyServer] 08/04/07 12:46:56 Notification ==>Copy the archive to /oracle/product/j2ee/home/applications/MyApp.ear
    [MyServer] 08/04/07 12:46:56 Notification ==>Initialize /oracle/product/j2ee/home/applications/MyApp.ear begins...
    [MyServer] 08/04/07 12:46:56 Notification ==>Unpacking MyApp.ear
    [MyServer] 08/04/07 12:46:57 Notification ==>Done unpacking MyApp.ear
    [MyServer] 08/04/07 12:46:57 Notification ==>Unpacking ic.war
    [MyServer] 08/04/07 12:46:59 Notification ==>Done unpacking ic.war
    [MyServer] 08/04/07 12:46:59 Notification ==>Initialize /oracle/product/j2ee/home/applications/MyApp.ear end
    s...
    [MyServer] 08/04/07 12:46:59 Notification ==>Starting application : MyApp
    [MyServer] 08/04/07 12:46:59 Notification ==>Initializing ClassLoader(s)
    [MyServer] 08/04/07 12:46:59 Notification ==>Initializing EJB container
    [MyServer] 08/04/07 12:46:59 Notification ==>Loading connector(s)
    [MyServer] 08/04/07 12:47:00 Notification ==>Starting up resource adapters
    [MyServer] 08/04/07 12:47:00 Notification ==>Initializing EJB sessions
    [MyServer] 08/04/07 12:47:00 Notification ==>Committing ClassLoader(s)
    [MyServer] 08/04/07 12:47:00 Notification ==>Initialize ic begins...
    [MyServer] 08/04/07 12:47:00 Notification ==>Initialize ic ends...
    [MyServer] 08/04/07 12:47:00 Notification ==>Started application : MyApp
    [MyServer] 08/04/07 12:47:00 Notification ==>Binding web application(s) to site default-web-site begins...
    [MyServer] 08/04/07 12:47:00 Notification ==>Binding ic web-module for application MyApp to site default-web-site under context root ic
    [MyServer] 70/01/01 00:00:00 Notification ==>Error deserializing return-value: unexpected reset; nested exception is:
    java.io.StreamCorruptedException: unexpected reset
    [Summary] There are total 1 instances in the operation.
    [Summary] Operation failed on MyServer
    [Summary] Operation on cluster FAILED since 1 instanced failed!
    Here my deployment plan generated by the Application Server Control Console
    moduleType=ear
    applicationID=MyApp
    bindWebApp=default-web-site
    parent=default
    moduleID=.
    doctype=orion-application
    <?xml version="1.0" encoding="UTF-8"?>
    <orion-application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/sch
    ema/orion-application-10_0.xsd">
    </orion-application>
    moduleID=myapp.war
    doctype=orion-web-app
    <?xml version="1.0" encoding="UTF-8"?>
    <orion-web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/
    orion-web-10_0.xsd" context-root="myapp">
    <resource-ref-mapping name="jdbc/ds" location="jdbc/myapp/ds">
    </resource-ref-mapping>
    <web-app-class-loader>
    </web-app-class-loader>
    </orion-web-app>
    My Command line to deploy the application
    java -jar admin_client.jar deployer:cluster:opmn://MyServer/home oc4jadmin XXXXX -deploy -file ~/MyApp.ear -deploymentName MyApp -deploymentPlan ~/myapp_plan.dat
    Ant file used to deploy
    <project name="Deploy EAR in OC4J" default="deploy-ear" basedir="." xmlns:oracle="antlib:oracle">
    <property name="server.host" value="MyServer"/>
    <property name="server.user" value="oc4jadmin"/>
    <property name="server.password" value="XXXXXX"/>
    <property name="deploy.filepath" value="/home/myhome/MyApp.ear"/>
    <property name="deploy.deployname" value="MyApp"/>
    <property name="deploy.logpath" value="${basedir}/deploy-ear.log"/>
    <property name="deploy.planpath" value="/home/myhome/myapp_plan.dat"/>
    <property name="deploy.uri" value="deployer:cluster:opmn://${server.host}/home"/>
    <target name="deploy-ear">
    <oracle:deploy
    deployerUri="${deploy.uri}"
    userId="${server.user}"
    password="${server.password}"
    file="${deploy.filepath}"
    deploymentName="${deploy.deployname}"
    bindAllWebApps="default-web-site"
    deploymentPlan="${deploy.planpath}"
    logFile="${deploy.logpath}"/>
    </target>
    </project>
    Thanks
    Message was edited by:
    Olivier MARTIN

    If you're using OC4J standalone, use the latest available OC4J, 10.1.3.3.
    If you're using a manage OC4J, ie. Application Server, upgrade to the latest available version and upgrade your JDK. The provided JDK might be outdated.
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Error while deploying EAR file on OC4J 10.1.3.3

    Hi all,
    I am facing following error on OC4J while deploying EAR file
    Error occurred during initialization of VM
    Could not reserve enough space for object heap
    07/12/31 17:47:21 oracle.oc4j.admin.internal.DeployerException: Error compiling :C:\exp\warid1link\oc4j\j2ee\home\applications\CustomerServ
    ices SMS API\customerservicesapi: Syntax error in source or compilation failed in: C:\exp\warid1link\oc4j\j2ee\home\application-deployments\
    CustomerServices SMS API\customerservicesapi\com\warid\sms\runtime\CSSMSAPI_Service_SerializerRegistry.java
    07/12/31 17:47:21 at com.evermind.server.http.WrapperClassGenerator.generateWebServiceArts(WrapperClassGenerator.java:104)
    07/12/31 17:47:21 at com.evermind.server.http.HttpApplication.generateWebServiceArtifacts(HttpApplication.java:8469)
    07/12/31 17:47:21 at com.evermind.server.http.HttpApplication.populateLoaderWithWebServicesDeploymentCache(HttpApplication.java:5701)
    07/12/31 17:47:21 at com.evermind.server.http.HttpApplication.populateLoader(HttpApplication.java:5629)
    07/12/31 17:47:21 at com.evermind.server.http.HttpApplication.initClassLoader(HttpApplication.java:5568)
    07/12/31 17:47:21 at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:731)
    07/12/31 17:47:21 at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:414)
    07/12/31 17:47:21 at com.evermind.server.Application.getHttpApplication(Application.java:570)
    07/12/31 17:47:21 at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.jav
    a:1987)
    07/12/31 17:47:21 at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:1906)
    07/12/31 17:47:21 at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1603)
    07/12/31 17:47:21 at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:238)
    07/12/31 17:47:21 at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:99)
    07/12/31 17:47:21 at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:547)
    07/12/31 17:47:21 at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:202)
    07/12/31 17:47:21 at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
    07/12/31 17:47:21 at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
    07/12/31 17:47:21 at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
    07/12/31 17:47:21 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
    07/12/31 17:47:21 at java.lang.Thread.run(Thread.java:534)
    2007-12-31 17:47:21.625 NOTIFICATION Application Deployer for CustomerServices SMS API FAILED.
    2007-12-31 17:47:21.625 NOTIFICATION Application UnDeployer for CustomerServices SMS API STARTS.
    2007-12-31 17:47:21.640 NOTIFICATION Removing all web binding(s) for application CustomerServices SMS API from all web site(s)
    07/12/31 17:47:21 SEVERE: ProgressObjectImpl.reportError Error compiling :C:\exp\warid1link\oc4j\j2ee\home\applications\CustomerServices SM
    S API\customerservicesapi: Syntax error in source or compilation failed in: C:\exp\warid1link\oc4j\j2ee\home\application-deployments\Custome
    rServices SMS API\customerservicesapi\com\warid\sms\runtime\CSSMSAPI_Service_SerializerRegistry.java
    oracle.oc4j.admin.jmx.shared.exceptions.InternalException: Error compiling :C:\exp\warid1link\oc4j\j2ee\home\applications\CustomerServices
    SMS API\customerservicesapi: Syntax error in source or compilation failed in: C:\exp\warid1link\oc4j\j2ee\home\application-deployments\Custo
    merServices SMS API\customerservicesapi\com\warid\sms\runtime\CSSMSAPI_Service_SerializerRegistry.java
    at oracle.oc4j.admin.jmx.shared.deploy.NotificationUserData.<init>(NotificationUserData.java:107)
    at oracle.oc4j.admin.internal.Notifier.reportError(Notifier.java:429)
    at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:123)
    at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
    at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
    at java.lang.Thread.run(Thread.java:534)
    Caused by: oracle.oc4j.admin.internal.DeployerException: Error compiling :C:\exp\warid1link\oc4j\j2ee\home\applications\CustomerServices SM
    S API\customerservicesapi: Syntax error in source or compilation failed in: C:\exp\warid1link\oc4j\j2ee\home\application-deployments\Custome
    rServices SMS API\customerservicesapi\com\warid\sms\runtime\CSSMSAPI_Service_SerializerRegistry.java
    at com.evermind.server.http.WrapperClassGenerator.generateWebServiceArts(WrapperClassGenerator.java:104)
    at com.evermind.server.http.HttpApplication.generateWebServiceArtifacts(HttpApplication.java:8469)
    at com.evermind.server.http.HttpApplication.populateLoaderWithWebServicesDeploymentCache(HttpApplication.java:5701)
    at com.evermind.server.http.HttpApplication.populateLoader(HttpApplication.java:5629)
    at com.evermind.server.http.HttpApplication.initClassLoader(HttpApplication.java:5568)
    at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:731)
    at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:414)
    at com.evermind.server.Application.getHttpApplication(Application.java:570)
    at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1987)
    at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:1906)
    at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1603)
    at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:238)
    at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:99)
    at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:547)
    at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:202)
    at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
    ... 4 more
    2007-12-31 17:47:28.109 NOTIFICATION Application UnDeployer for CustomerServices SMS API COMPLETES.
    07/12/31 17:47:28 WARNING: DeployerRunnable.run Error compiling :C:\exp\warid1link\oc4j\j2ee\home\applications\CustomerServices SMS API\cus
    tomerservicesapi: Syntax error in source or compilation failed in: C:\exp\warid1link\oc4j\j2ee\home\application-deployments\CustomerServices
    SMS API\customerservicesapi\com\warid\sms\runtime\CSSMSAPI_Service_SerializerRegistry.java
    oracle.oc4j.admin.internal.DeployerException: Error compiling :C:\exp\warid1link\oc4j\j2ee\home\applications\CustomerServices SMS API\custo
    merservicesapi: Syntax error in source or compilation failed in: C:\exp\warid1link\oc4j\j2ee\home\application-deployments\CustomerServices S
    MS API\customerservicesapi\com\warid\sms\runtime\CSSMSAPI_Service_SerializerRegistry.java
    at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:126)
    at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
    at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
    at java.lang.Thread.run(Thread.java:534)
    2007-12-31 18:21:46.234 WARNING Caught exception: java.lang.reflect.InvocationTargetException.
    Regards,
    Imran Raza Khan

    Looks strange, but do you have blanks in your path names? Don't do that. Cause pain only.
    --olaf                                                                                                                                                                                                   

  • Error while deploying ear using Oracle weblogic 11g in local machine

    Hi,
    Initially I installed Jdeveloper along with Weblogic and got the below error while deploying. Later I uninstalled Jdeveloper and weblogic, etc and installed a new weblogic on my local machine and tried to deploy ear. But still got the same error. With the same installable file and same ear, we could deploy successfully on my colleagues' machine. Any idea?.
    Satus: deploy Failed
    Description: [Deployer:149026]deploy application part on AdminServer.
    Begin Time: Thu Feb 03 13:45:01 EST 2011
    End Time: Thu Feb 03 13:45:11 EST 2011
    Exception: [J2EE:160149]Error while processing library references. Unresolved Webapp Library references for "ServletContext@22411886[app:part module:part path:/part spec-version:2.5]", defined in weblogic.xml [Extension-Name: jstl, Specification-Version: 1.2, exact-match: false].
    Regards,
    Rama

    and also post the section of weblogic.xml which refers to JSTL library
    some entry like <library-ref>

  • Error in deploying EAR file

    hi experts,
    iam trying to deploy EAR file created using NWDS, when i am trying to deploy in XI server i am getting the following error,
    can any one solve my problem.
    Deploy of the ear has errors :
    java.rmi.RemoteException: Cannot deploy application sap.com/ldaptofileear..
    Reason: Errors while compiling:
    E:/usr/sap/BWS/DVEBMGS00/j2ee/cluster/server0/apps/sap.com/ldaptofileear/EJBContainer/temp/temp1209360116023/com/sap/aii/proxy/xiruntime/core/_AbstractProxyInboundRemote4ObjectImpl0_0_Tie.java:98: illegal escape character
    if (method.equals("U0024messageSpecifier")) {
    regards,
    Madhav Poosarla.

    hi prateek,
    i have not used this below code in my java proxy code
    if (method.equals("U0024messageSpecifier")) {
    but while i am deploying the java proxy, it is showing
    the following  path
    E:/usr/sap/BWS/DVEBMGS00/j2ee/cluster/server0/apps/sap.com/ldaptofileear/EJBContainer/temp/temp1209360116023/com/sap/aii/proxy/xiruntime/core/_AbstractProxyInboundRemote4ObjectImpl0_0_Tie.java:98: illegal escape character
    and giving this error
    Deploy of the ear has errors :
    java.rmi.RemoteException: Cannot deploy application sap.com/ldaptofileear..
    Reason: Errors while compiling:
    plz check this error
    regards,
    Madhav

  • Error while deploying EAR

    I was trying to deploy EAR at Sun 8.1 Q2. But I got the following error:
    Fatal Error from EJB Compiler -- Caught javax.ejb.EJBException while processing CMP beans for application [testApp]; module [testEJB.jar]: nested exception is: java.lang.ClassNotFoundException: com.abc.ejb.actionItemBean. See log for details.
    testEJB.jar is my EJB module, and actionItemBean is an entity bean included in my jar file. I am able to deploy testEJB.jar as EJB module at Sun app server.
    Any idea to resolve the problem is appreciated!

    hi JatWork
    testApp is not able to find com.abc.ejb.actionItemBean
    You may want to extract the EAR, check testApp's META-INF, application descriptor e.g. application-client.xml, and make sure it refers to correct package name used in actionItemBean.java. Then bundle the EAR and redeploy it

  • Error while deploying EAR from commandline

    Hi,
    I am getting the following error when i am trying to deploy EAR using commandline in Oracle 10gAS 10.1.2
    Error: Unexpected error during lookup : Lookup error: javax.naming.AuthenticationException: Invalid username/password for default (ias_admin);Nested exception is:
    javax.naming.AuthenticationException: Invalid username/password for default (ias_admin)
    I am using the following commandline:
    Java -jar admin.jar ormi://hostname:ormi_port ias_admin ias_admin_password -deploy -file .\applications\<EAR_Filename>ear -deploymentName <deploymentname> -iiopClientJar stub_jar_filename
    I have tried without ormi port as well. The userid and password for ias_admin i am using are all correct as i am able to login to enterprise manager successfully.
    I am able to deploy the same EAR using EM but I want to create client stub and i don't know what property to set in EM which create client stub along with deployment.
    Thanks and Regards
    Amit Trivedi

    Looks strange, but do you have blanks in your path names? Don't do that. Cause pain only.
    --olaf                                                                                                                                                                                                   

  • Error occurred while deploying ear file

    Hello experts,
    I am using NWDS (NW Version: 7.0.18). For a particular java file I am getting this error:
    ERROR: Not deployed. Deploy Service returned ERROR:
    20110728174758 Info   :                     java.rmi.RemoteException: Error occurred while deploying ear file ./temp/deploy/work/deploying/WSPiloto.ear.
    20110728174758 Info   :                     Reason: None of the available containers recognized the components of application sap.com.avn/WSPiloto; it is not possible to make deploy.  Most commonly used containers do not recognize the content of the application. Please contact the application vendor for details.
    Appreciate your help to fix the issue.
    Thanks in advance,
    Guillermo,
    dev

    Hi,
    can you please check if the following note helps?
    #1270242 -- None of the available containers recognized the components
    (http://service.sap.com/sap/support/notes/1270242)
    Best Regards,
    Ervin

  • Error in SDM while deploying EAR file

    Hi all,
    We are getting an error in SDM tool while deploying EAR file.
    ===========================================================================
    Deployment started Fri Nov 28 14:11:01 CET 2008
    ===========================================================================
    Starting Deployment of syn_EAP
    The SDM will now start SAP Web AS Java instance processes in order to perform online deployment. After that the deployment will proceed.
    It could take some time, so please be patient.
    Aborted: development component 'syn_EAP'/'sap.com'/'localhost'/'2008.11.27.20.49.50'/'0':
    SDM could not start the J2EE cluster on the host iwdfvm2160! The online deployment is terminated. There is no clutser control instance running on host iwdfvm2160 which is described in SecureStorage . The instances, returned by MessageServer [MS host: iwdfvm2160; MS port: 3900], are :|Name:JM_T1227866087502_0_FCP11895            |Host:rp2399                          |State:5|HostAddress:10.34.38.76||Name:JM_T1227714760203_0_tx300-s3            |Host:tx300-s3                        |State:5|HostAddress:null||Name:JC_tx300-s3_ERP_10                      |Host:tx300-s3                        |State:5|HostAddress:10.34.33.45|Please check if there is an appropriate running cluster instances.
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).STARTUP_CLUSTER)
    Deployment of syn_EAP finished with Error (Duration 11782 ms)
    Can anyone help me regarding this issue?
    Thanks,
    Kalyan.

    Hi Prateek,
    thanks 4 reply.
    I did what you said but no luck.Its giving same error.
    Any other suggestions plz??
    Thanks,
    Kalyan.

  • Deploying EAR using weblogic 10.3.6 under XP

    Hi Guys,
    tha last step of deployment EAR is to Star--->Servicing all requests, i am getting the following error?
    Messages
    [EJB:011026]The EJB container failed while creating the java:/comp/env namespace for this EJB deployment. weblogic.deployment.EnvironmentException: [EJB:010176]The resource-env-ref 'BODQueue' declared in the ejb-jar.xml descriptor or annotation has no JNDI name mapped to it. The resource-env-ref must be mapped to a JNDI name using the resource-env-description element of the weblogic-ejb-jar.xml descriptor or corresponding annotation. at weblogic.ejb.container.deployer.EnvironmentBuilder.addResourceEnvReferences(EnvironmentBuilder.java:691) at weblogic.ejb.container.deployer.EJBDeployer.setupEnvironmentContext(EJBDeployer.java:267) at weblogic.ejb.container.deployer.EJBDeployer.setupEnvironmentFor(EJBDeployer.java:1131) at weblogic.ejb.container.deployer.EJBDeployer.setupBeanInfos(EJBDeployer.java:1025) at weblogic.ejb.container.deployer.EJBDeployer.prepare(EJBDeployer.java:1288) at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:442) at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199) at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159) at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45) at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:648) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191) at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:59) at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154) at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:208) at weblogic.deploy.internal.targetserver.operations.StartOperation.createAndPrepareContainer(StartOperation.java:94) at weblogic.deploy.internal.targetserver.operations.StartOperation.doPrepare(StartOperation.java:107) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217) at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747) at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216) at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250) at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46) at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256) at weblogic.work.ExecuteThread.run(ExecuteThread.java:221) NestedException Message is :[EJB:010176]The resource-env-ref 'BODQueue' declared in the ejb-jar.xml descriptor or annotation has no JNDI name mapped to it. The resource-env-ref must be mapped to a JNDI name using the resource-env-description element of the weblogic-ejb-jar.xml descriptor or corresponding annotation.
    Errors were encountered while performing this operation.
    what does it mean? is there any idea?
    Have a nice day.
    Edited by: ashash on Aug 22, 2012 3:36 AM

    Atlassian has pretty good user forums, you might be able to get additional help there:
    http://forums.atlassian.com/forum.jspa?forumID=46
    Does the deployment screen show it has "Running". What does the deployment screen for the app show its context root as?
    Also, why not just JIRA standalone? (it comes out of the box running in embedded tomcat).

  • Error while re deploying  .ear  file in  .eap project

    Hi Every one,
    i developed ejb module ,It Exposed to as Webservice .
    I Deployed  .ear file into server  got result  successfully.
    Now i made changes in EJb module by adding some other methods .
    Then i perform  build a Ejb Archive, EAp project Archive.
    Next deployed  into server .
    getting error  as follow.
    Application alias [WebServiceNew/Config1] for application [sap.com/MA_EAR] already exists in the HTTP Provider Service
    what are the things i need to change for getting sucess.

    hi ,
         go to the undeploy perspective, and select ur web services , add to the undeploy list and undeploy it .
    delete the webservice model and generate the code , build and deploy it again to the server.
    hope ur problem get resolved
    thanks and regards

  • Error during deploying *.ear to sap using ant

    I want to  deploy ear to sap with ant script,but it can not work.The error information as follows,can anybody give me some advice if you had the similar error,thanks.
    C:\usr\sap\LJ1\J00\j2ee\deployment\ant>ant -f example_build.xml deploy -v
    Apache Ant version 1.7.0 compiled on December 13 2006
    Buildfile: example_build.xml
    Detected Java version: 1.6 in: D:\Java\jdk1.6.0_18\jre
    Detected OS: Windows 2003
    parsing buildfile C:\usr\sap\LJ1\J00\j2ee\deployment\ant\example_build.xml with
    URI = file:/C:/usr/sap/LJ1/J00/j2ee/deployment/ant/example_build.xml
    Project base dir set to: C:\usr\sap\LJ1\J00\j2ee\deployment\ant
    parsing buildfile jar:file:/D:/Perforce/tools/ant1.7.0/lib/ant.jar!/org/apache/t
    ools/ant/antlib.xml with URI = jar:file:/D:/Perforce/tools/ant1.7.0/lib/ant.jar!
    /org/apache/tools/ant/antlib.xml
    [property] Loading C:\usr\sap\LJ1\J00\j2ee\deployment\ant\cfg\ant.properties
    Build sequence for target(s) `deploy' is [deploy]
    Complete build sequence is [deploy, import_ear, undeploy, params, ]
    deploy:
    [sapdeploy] Starting deployment with the following properties:
    [sapdeploy] Version Handling Rule: all
    [sapdeploy] Error Handling Strategies: [error action: 'prerequisites', error str
    ategy: 'stop', error action: 'deploy', error strategy: 'stop']
    [sapdeploy] The targeted SAP J2EE Engines are: [server host: 'localhost', server
    port '50004', user name 'Administrator'.]
    [sapdeploy] Deploy timeout: null
    [sapdeploy] Starting to validate the data...
    [sapdeploy] Validation ended
    [sapdeploy] root dir c:\temp
    [sapdeploy] Selected archives for deployment:
    [sapdeploy] 1: 'c:\temp\dataservices-samples.war'
    [sapdeploy] 2: 'c:\temp\test.ear'
    [sapdeploy] Starting validation for the engine 'server host: 'localhost', server
    port '50004', user name 'Administrator'.'
    [sapdeploy] Engine data validated successfully
    [sapdeploy] Starting deployment for the engine 'server host: 'localhost', server
    port '50004', user name 'Administrator'.'
    [sapdeploy] An error occured during the deployment.
    [sapdeploy] The result of the deployment is: Error
    [sapdeploy] Deployment ended
    BUILD SUCCESSFUL
    Total time: 0 seconds

    The problem has been resolved,I make a stupid mistake.The reason caused the error is  that the  user of server was locked.I hope these will be helpful for people troubled by the same mistake.

Maybe you are looking for

  • Unable to insert/add new item in LEGEND visual object

    I'm currently working in Solution manager and I tried to add a legend into one of my view of my web dynpro application. Unfortunatly, the Option 'INSERT ITEM' in the context menu is not visible/ not available. Is it because of Solution manager or is

  • Profit center assignment in 3KEH does not work

    Hello, I make posting (FB50) to a balance sheet account to which a profit center is assigned in t-code 3KEH (Additional Balance Sheet and P&L Accounts). I do not input any profit center in FB50. As a result of this posting I expect that the line item

  • Samsung SyncMaster P2770HD doesn't want to work with new MacBook Air

    I have a (pre-unibody) MacBook Pro and a Samsung SyncMaster P2770HD. I just picked up a MacBook Air with a MiniDisplay Port to DVI adapter. The monitor works fine with my older Pro but when I connect using the adapter to my Air, the monitor doesn't w

  • Erratic EDI behavior?

    Experts, I have an Idoc which is an extension of type INVOIC. This extension has the segment E1EDK05, which contains document header conditions. The user-exit was coded such that this segment is not filled for two particular conditions, lets say z1 a

  • Picture-in-Picture: Switching Between the Two?

    Hey gang - First a bit of background: my video editing is purely as a hobbyist and focused primarily on my race track activities.  I do a lot of in-car video when I'm at the track.  Each video is about 20 minutes long or so, depending on how long the