Error deploying ear in WLS6.1

I've developed and export my *.ear file from IBM Websphere Application Developer
4. I'm pretty sure I didn't use any WebSphere specific calls.
However, when I tried to deploy the ear into WLS6.1, I get the following error
(see attached).
I think it's because I didn't have the weblogic-ejb-jar.xml file. I've consulted
the manual and been advised that I need to generate the descriptor manually by
using the following command: -
java weblogic.ant.taskdefs.war.DDInit C:\MyApp
But i got the following error: -
Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/ant/taskdefs/war/DDInit
Any help is appreciated.
BTW:All my apps runs under Win2K

hi michael,
I had the same problem once. There are 2 possibilities:
1. You didn't use setEnv.cmd to set the classpath.
2. Your weblogics.jar file in /lib doesnt contain the necessary classes.
I found out that 6.01 sp1 didnt have the ant tool in the weblogic.jar file
so I upgraded to 6.1 sp3.
"Michael" <[email protected]> schrieb im Newsbeitrag
news:[email protected]..
>
I've developed and export my *.ear file from IBM Websphere ApplicationDeveloper
4. I'm pretty sure I didn't use any WebSphere specific calls.
However, when I tried to deploy the ear into WLS6.1, I get the followingerror
(see attached).
I think it's because I didn't have the weblogic-ejb-jar.xml file. I'veconsulted
the manual and been advised that I need to generate the descriptormanually by
using the following command: -
java weblogic.ant.taskdefs.war.DDInit C:\MyApp
But i got the following error: -
Exception in thread "main" java.lang.NoClassDefFoundError:weblogic/ant/taskdefs/war/DDInit
>
Any help is appreciated.
BTW:All my apps runs under Win2K

Similar Messages

  • Error deploying EAR that is a Webservice

    In the SAP NetWeaver Developer Studio, when I select the option "Deploy to J2EE engine" on my EAR file, I get the following error:
                         java.rmi.RemoteException: Cannot deploy application sap.com/LDAPManagerEAR..
                         Reason: Incorrect application sap.com/LDAPManagerEAR:
                         Bean EB_bindBean: Remote home interface com.upc.ldap.ejb.EB_bindHome must be a valid RMI-IIOP remote interface.
                         Bean EB_bindBean: the return type for a create<METHOD> method of the session bean local home interface must be the session bean local interface type. EJB specification 7.10.8.
                         Error in the remote interface com.upc.ldap.ejb.EB_bind of bean EB_bindBean: No corresponding business method in the bean class com.upc.ldap.ejb.EB_bindBean was found for method bindLDAP.
                         Error in the local interface com.upc.ldap.ejb.EB_bindLocal of bean EB_bindBean: No corresponding business method in the bean class was found for method bindLDAP.; nested exception is:
                              com.sap.engine.services.deploy.container.DeploymentException: <--Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID='com.sap.engine.services.ejb.exceptions.deployment.EJBDeploymentException: Incorrect application sap.com/LDAPManagerEAR:
    Anybody can help me ? Thanks

    I?ve seen the code.
    You need to synchronize the interfaces and the business method. For instance, on the interface you have declared:
    public String bindLDAP(String username, String password)throws RemoteException;
    And then you attempt to implement:
    public String bindLDAP(String username, String password) throws NamingException
    Therefore the error:
    Error in the remote interface com.upc.ldap.ejb.EB_bind of bean EB_bindBean: No corresponding business method in the bean class com.upc.ldap.ejb.EB_bindBean was found for method bindLDAP.
    Also, you must be consisten with local-remote-home interfaces. You've declared the EB_bindLocalHome as LocalHome, but don't use it as return parameter on the EB_bindHome interface. Try the following:
    package com.upc.ldap.ejb;
    import javax.ejb.EJBHome;
    import java.rmi.RemoteException;
    import javax.ejb.CreateException;
    public interface EB_bindHome extends EJBHome {
          * Create Method.
         public  EB_bindLocalHome create() throws CreateException;
    You might want to use an EJB generator as on SAP Developer Studio to automate all these tasks and avoid revisiting the code.
    I hope it helps
    Regards

  • Error deploying EAR - weblogic.management.ApplicationException:None

    Hello,
    When deploying a EAR, I get the following exception:
    [Deployer:149033]preparing application esb on <xxx-admin>
    [Deployer:149033]failed application esb on <xxx-admin>
    [Deployer:149034]An exception occurred for task [Deployer:149026]Deploy application esb on <xxx-admin>.: Exception:weblogic.management.ApplicationException: None
    Nested Exception:
    java.lang.RuntimeException: Failed to deploy process <ProcessName.jpd>. Internal error.
    at com.bea.wli.management.WLIAppListener.checkProject(WLIAppListener.java:194)
    at com.bea.wli.management.WLIAppListener.initializingApplication(WLIAppListener.java:130)
    at weblogic.j2ee.ListenerInvocationAction.run(ListenerInvocationAction.java:42)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
    at weblogic.j2ee.J2EEApplicationContainer.notifySecureListener(J2EEApplicationContainer.java:4721)
    at weblogic.j2ee.J2EEApplicationContainer.notify(J2EEApplicationContainer.java:4706)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:986)
    at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2602)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2552)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2474)
    at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465)
    at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    I am not able to get anything out this. Can someone help me please?
    Thanks.
    Prabhu

    HI prabhusethuraman,
    We have an error than seems the same error that you has before, the stack trace when we deploy the whorkshop application that is this one:
    [java] Initiated Task: [7] [Deployer:149026]Deploy application q99j on integracion.
    [java] Task 7 failed: [Deployer:149026]Deploy application q99j on integracion.
    [java] Deployment failed on Cluster integracion
    [java] Exception:weblogic.management.ApplicationException: None
    [java] Nested Exception:
    [java] java.lang.RuntimeException: Failed to deploy process /q99jdummyDynamicRouterProcess/com/ejie/notifications/Q99jNotificationsP.jpd. Internal error.
    [java]      at com.bea.wli.management.WLIAppListener.checkProject(Lcom.bea.wli.management.processmanifest.ProcessManifestDocument$ProcessManifest$Project;Lweblogic.application.ApplicationLifecycleEvent;)Z(WLIAppListener.java:194)
    [java]      at com.bea.wli.management.WLIAppListener.initializingApplication(Lweblogic.application.ApplicationLifecycleEvent;)V(WLIAppListener.java:130)
    [java]      at weblogic.j2ee.ListenerInvocationAction.run()Ljava.lang.Object;(ListenerInvocationAction.java:42)
    [java]      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic.security.subject.AbstractSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(Optimized Method)
    [java]      at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(SecurityManager.java:118)
    [java]      at weblogic.j2ee.J2EEApplicationContainer.notifySecureListener(ILweblogic.application.ApplicationLifecycleListener;)V(J2EEApplicationContainer.java:4721)
    [java]      at weblogic.j2ee.J2EEApplicationContainer.notify(I)V(J2EEApplicationContainer.java:4706)
    [java]      at weblogic.j2ee.J2EEApplicationContainer.prepare(Ljava.lang.String;[Lweblogic.management.configuration.ComponentMBean;[Ljava.lang.String;)V(J2EEApplicationContainer.java:1006)
    [java]      at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer()V(SlaveDeployer.java:2444)
    [java]      at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer()Z(SlaveDeployer.java:2394)
    [java]      at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare()V(SlaveDeployer.java:2310)
    [java]      at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(Lweblogic.management.deploy.OamVersion;Lweblogic.management.runtime.DeploymentTaskRuntimeMBean;Z)V(SlaveDeployer.java:866)
    [java]      at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(Lweblogic.management.deploy.OamDelta;Lweblogic.management.deploy.OamVersion;ZLjava.lang.StringBuffer;)Z(SlaveDeployer.java:594)
    [java]      at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(Ljava.util.ArrayList;Z)V(SlaveDeployer.java:508)
    [java]      at weblogic.drs.internal.SlaveCallbackHandler$1.execute(Lweblogic.kernel.ExecuteThread;)V(SlaveCallbackHandler.java:25)
    [java]      at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest;)V(ExecuteThread.java:219)
    [java]      at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:178)
    [java]      at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Source)
    [java] java.lang.Exception: Delta :26 ErrorMessage :
    Can you say us the solution that you found in your case ?
    Thanks,
    Carmel.

  • Error deploying EAR on Netweaver CE - Could not distribute

    I am trying to deploy an EAR using the deploy.bat script to Netweaver CE.  I receive the following error.  Why can't the ear be deployed successfully? Any help is much appreciated.
    From deployment.0.log
    Obtaining Deployment Manager
    Connected to localhost:50004 as administrator
    DC API is trying to connect to 'localhost:50004'#
    DC API has Connected to 'localhost:50004'#
    Disconnected from localhost:50004#
    Connected to localhost:50004 as administrator#
    DC API is trying to connect to 'localhost:50004'#
    DC API has Connected to 'localhost:50004'#
    Deploying E:
    admin.ear with plan null#
    Generating SDA file for E:
    usr
    sap
    PES
    J00
    j2ee
    deployment
    scripts
    SAP_DM
    1222457078739_admin.ear
    admin.ear#
    SDA ..
    SDA
    admin.ear generated successfully#
    Deployment finished with status 'Error' +++.[ deployerId=1 ][\#4: 2.422 sec]#
    Could not distribute #1#E:
    usr
    sap
    PES
    J00
    j2ee
    deployment
    scripts
    SAP_DM
    1222457078739_admin.ear
    admin.ear#
    Received progress event for operation distribute#
    Progress event state failed#
    Disconnected from localhost:50004#
    From deployment.0.trc
    #C0000A60006F00010000000561542A75FFFFFFFFFFFFFFFF#1222457082958#com.sap.engine.deployment.operations.DistributeOperation##com.sap.engine.deployment.operations.DistributeOperation#######Thread[Thread-11,5,main]##0#0#Error#1#/System/Server/Deployment#Java###Could not distribute
    [EXCEPTION]
    #2#E:
    usr
    sap
    PES
    J00
    j2ee
    deployment
    scripts
    SAP_DM
    1222457078739_admin.ear
    admin.ear#com.sap.engine.deployment.exceptions.SAPRemoteException
         at com.sap.engine.deployment.proxy.dc.DeploymentProxyDCImpl.distribute(DeploymentProxyDCImpl.java:151)
         at com.sap.engine.deployment.operations.DistributeOperation.run(DistributeOperation.java:111)
         at java.lang.Thread.run(Thread.java:606)

    Hi,
    Can you make sure that you are providing the correct password for the CE deployment manager?
    Thanks
    Krishna

  • Error Deploying ear for reports

    Hi,
    I'm getting this error when I try to deploy an ear related to reports using the dcmctl deployApplication command.
    The command used is as follows:
    . dcmctl deployApplication -f /home/oracle/deploy/reportreq.ear -a /reportreq -co OC4J_BI_Forms -v –d
    I'm executing this command in the following path:
    --> /app/oracle/product/9iAS/90201/dcm/bin/
    error start
    ADMN-300075
    Nested exception
    Base Exception:
    java.rmi.RemoteException:Error initializing userManager 'oracle.security.jazn.oc
    4j.JAZNUserManager': oracle.security.jazn.JAZNInitException (The system is unabl
    e to retreive the specified realm(s).)
    co OC4J_BI_Forms -v -d <
    ADMN-300075
    Nested exception
    Base Exception:
    java.rmi.RemoteException:Error initializing userManager 'oracle.security.jazn.oc4j.JAZNUserManager': oracle.security.jazn.JAZNInitException (The system is unable to retreive the specified realm(s).)
    Nested exception
    Root Cause: Error initializing userManager 'oracle.security.jazn.oc4j.JAZNUserManager': oracle.security.jazn.JAZNInitException (The system is unable to retreive the specified realm(s).)
    java.rmi.RemoteException: Error initializing userManager 'oracle.security.jazn.oc4j.JAZNUserManager': oracle.security.jazn.JAZNInitException (The system is unable to retreive the specified realm(s).)
    at com.evermind.server.rmi.RMIConnection.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(RMIConnection.java:1572)
    at com.evermind.server.rmi.RMIConnection.invokeMethod(RMIConnection.java:1525)
    at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:53)
    at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:22)
    at __Proxy0.deploy(Unknown Source)
    at oracle.ias.sysmgmt.deployment.j2ee.runtime.LocalDeploy.deployOnSingleInstance(LocalDeploy.java:245)
    at oracle.ias.sysmgmt.deployment.j2ee.runtime.LocalDeploy.doExecute(LocalDeploy.java:160)
    at oracle.ias.sysmgmt.deployment.j2ee.runtime.RuntimeIf.execute(RuntimeIf.java:109)
    at oracle.ias.sysmgmt.deployment.j2ee.adapter.DeploymentAdapter.doEvaluateDeploy(DeploymentAdapter.java:837)
    at oracle.ias.sysmgmt.deployment.j2ee.adapter.DeploymentAdapter.evaluate(DeploymentAdapter.java:272)
    at oracle.ias.sysmgmt.task.TaskMaster.internal_evaluate(TaskMaster.java:1217)
    at oracle.ias.sysmgmt.task.RemoteEvaluate.execCommand(RemoteEvaluate.java:25)
    at oracle.ias.sysmgmt.task.DaemonWorker.run(DaemonWorker.java:79)
    error end-
    Any help in this regard would be highly appreciated.
    Thanks,
    Nikhila

    Hi,
    I'm getting this error when I try to deploy an ear related to reports using the dcmctl deployApplication command.
    The command used is as follows:
    . dcmctl deployApplication -f /home/oracle/deploy/reportreq.ear -a /reportreq -co OC4J_BI_Forms -v –d
    I'm executing this command in the following path:
    --> /app/oracle/product/9iAS/90201/dcm/bin/
    error start
    ADMN-300075
    Nested exception
    Base Exception:
    java.rmi.RemoteException:Error initializing userManager 'oracle.security.jazn.oc
    4j.JAZNUserManager': oracle.security.jazn.JAZNInitException (The system is unabl
    e to retreive the specified realm(s).)
    co OC4J_BI_Forms -v -d <
    ADMN-300075
    Nested exception
    Base Exception:
    java.rmi.RemoteException:Error initializing userManager 'oracle.security.jazn.oc4j.JAZNUserManager': oracle.security.jazn.JAZNInitException (The system is unable to retreive the specified realm(s).)
    Nested exception
    Root Cause: Error initializing userManager 'oracle.security.jazn.oc4j.JAZNUserManager': oracle.security.jazn.JAZNInitException (The system is unable to retreive the specified realm(s).)
    java.rmi.RemoteException: Error initializing userManager 'oracle.security.jazn.oc4j.JAZNUserManager': oracle.security.jazn.JAZNInitException (The system is unable to retreive the specified realm(s).)
    at com.evermind.server.rmi.RMIConnection.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(RMIConnection.java:1572)
    at com.evermind.server.rmi.RMIConnection.invokeMethod(RMIConnection.java:1525)
    at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:53)
    at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:22)
    at __Proxy0.deploy(Unknown Source)
    at oracle.ias.sysmgmt.deployment.j2ee.runtime.LocalDeploy.deployOnSingleInstance(LocalDeploy.java:245)
    at oracle.ias.sysmgmt.deployment.j2ee.runtime.LocalDeploy.doExecute(LocalDeploy.java:160)
    at oracle.ias.sysmgmt.deployment.j2ee.runtime.RuntimeIf.execute(RuntimeIf.java:109)
    at oracle.ias.sysmgmt.deployment.j2ee.adapter.DeploymentAdapter.doEvaluateDeploy(DeploymentAdapter.java:837)
    at oracle.ias.sysmgmt.deployment.j2ee.adapter.DeploymentAdapter.evaluate(DeploymentAdapter.java:272)
    at oracle.ias.sysmgmt.task.TaskMaster.internal_evaluate(TaskMaster.java:1217)
    at oracle.ias.sysmgmt.task.RemoteEvaluate.execCommand(RemoteEvaluate.java:25)
    at oracle.ias.sysmgmt.task.DaemonWorker.run(DaemonWorker.java:79)
    error end-
    Any help in this regard would be highly appreciated.
    Thanks,
    Nikhila

  • 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

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

    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                                                                                                                                                                                                   

Maybe you are looking for

  • N70 v5.0638.3.0.1 battery life reduced issue

    I updated to v5.0638.3.0.1, and it seems like a BIG ISSUE of this FW release is that the battery drains a lot faster. for example, fully charged my phone saturday morning, used it for 4-5 SMS, 4-5 minutes of 3G Mobile Internet, maybe 5 minutes of cal

  • Pop 3 mail account

    can anybody help me? i've set my mail up and its been working fine for around three months but now when i go into mail it keeps saying for no reason my pop 3 mail account has rejected my password. i havn't changed any settings . thanks in advance. JB

  • About FOREACH Error

    Dear All, I have some problem about foreach statement. I have 5 records in info cube First record => version = 0 value type = 10 fiscal period = 009.2006 calendar year = 0000 key figure = 5 second record =>  version = 0 value type = 10 fiscal period

  • Icloud found a mistake under the attempt to connect to the server

    I can not log inn! Pop up window says on my PC (IPhone and Ipad works): icloud found a mistake under the attempt to connect to the server. What to do??

  • Do we do any third party remittnaces for tax authorities?

    Do you do any third party remittnaces for tax authorities?