Adapter Module .ear file deployed

Hi All,
I have an adapter module deployed long back on my dev server.
I want to retrive the same file from dev and deploy in on Quality server.
Can you let me know the path where this .ear file will be present on the SAP XI server.
Thx in advance
Ravijeet

Hi Ravijeet,
We run under i5/OS (unix like) but I found my deployed Adapter Module under:
DX1 is the instance name.
sap.com is the vendor specified in the EJB module.
EOLConvertBean is my adapter module
/usr/sap/dx1/DVEBMGS70/j2ee/cluster/apps/sap.com/EOLConvertBeanEAR                                                     
/usr/sap/dx1/DVEBMGS70/j2ee/cluster/apps/sap.com/EOLConvertBeanEAR/EJBContainer/applicationjars/EOLConvertBean.jar     
Hope it helps.
Martin
Edited by: Martin Lavoie Rousseau on Nov 4, 2010 2:41 PM

Similar Messages

  • Adapter Module for File Adapter using Eclipse

    I want to develop Adapter Module using Eclipse, please let me know if it is possible?
    -How to use Eclipse to develop adapter module and deploy it on J2ee server.
    Thanks

    Hi,
    If you have NWDS , then you can directly deploy AM in PI server, if you are using eclipse to write code then genarate EAR file of your code, then you have to deploy in SDM using manual process.
    SEARCH IN SDN like how to deplot AM's, you will find many documents.
    Regards,
    RAJ

  • Adapter module:: JAR file in the build path of EJB project

    Hi Experts,
    I have created one adapter module, for this I have created one EJB project and also associated one EAR project to that.
    I have completed my coding and changes in the xml files.
    I have followed this -
    http://www.sdn.sap.com/irj/scn/index;jsessionid=(J2EE3417500)ID1494558950DB01504425675464955468End?rid=/library/uuid/c0b39e65-981e-2b10-1c9c-fc3f8e6747fa&overridelayout=true
    while creating the module.
    but after finishing this , I can not see the ejb.jar file corresponding to the ejb project, I can see the class file generated in the build path.
    but I can not see the ejb.jar in the EJB project after build.
    When I checked the EAR project I found under Deployment descriptor there is a folder called module and there is  a jar file named as -
    EJB<my ejb project name>.jar
    when I am about to deploy this EAR  in the server it is showing  me to choose the file from EAR project and this EAR project contain the EJB Project .
    Request you to please let me know is everything ok with my project ? or please let me know how can I see the  ejb.jar  file corresponding to the ejb project below the build path.
    Thanks
    Vinny

    Hi Experts,
    I have created one adapter module, for this I have created one EJB project and also associated one EAR project to that.
    I have completed my coding and changes in the xml files.
    I have followed this -
    http://www.sdn.sap.com/irj/scn/index;jsessionid=(J2EE3417500)ID1494558950DB01504425675464955468End?rid=/library/uuid/c0b39e65-981e-2b10-1c9c-fc3f8e6747fa&overridelayout=true
    while creating the module.
    but after finishing this , I can not see the ejb.jar file corresponding to the ejb project, I can see the class file generated in the build path.
    but I can not see the ejb.jar in the EJB project after build.
    When I checked the EAR project I found under Deployment descriptor there is a folder called module and there is  a jar file named as -
    EJB<my ejb project name>.jar
    when I am about to deploy this EAR  in the server it is showing  me to choose the file from EAR project and this EAR project contain the EJB Project .
    Request you to please let me know is everything ok with my project ? or please let me know how can I see the  ejb.jar  file corresponding to the ejb project below the build path.
    Thanks
    Vinny

  • Develop Adapter Module locally and deploy it later on the server

    Dear friends,
    Is it possible to develop Adapter Module for PI 7.11 locally using SAP NWDS on your local PC and when you are finished deploy the EAR files on the server using JSPM?
    Thank you and kind regards,
    Kamran

    There are two ways in which u can deploy EAR files on PI server..
    1) Deploy EAR file directly on PI server using NWDS.
                or
    2) Convert EAR into SDA file and then using JSPM deploy it on PI server..
    Re: Creating SDA file using NWCE tool

  • 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 during ear file deployment

    Hi,
    I am getting the error while trying to deploy ear file using SDM.
    The error log is
    Starting Deployment of MyzipBean
    Aborted: development component 'MyzipBean'/'sap.com'/'localhost'/'2008.06.13.17.44.31'/'0':
    Caught exception during application deployment from SAP J2EE Engine's deploy service:
    java.rmi.RemoteException: Cannot deploy application sap.com/MyzipBean.. Reason: Incorrect application sap.com/MyzipBean:Bean MyzipBean: can not find method ejbCreate()  in ejb-class myzip.MyzipBean. Each create method must be named create<METHOD>, and it must match one of the ejbCreate<METHOD> methods defined in the session bean class. The matching ejbCreate<METHOD> method must have the same number and types of arguments. EJB Specification 7.10.6.Bean MyzipBean: can not find method ejbCreate()  in ejb-class myzip.MyzipBean. Each create method must be named create<METHOD>, and it must match one of the ejbCreate<METHOD> methods defined in the session bean class. The matching ejbCreate<METHOD> method must have the same number and types of arguments. EJB Specification 7.10.8.; 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/MyzipBean:Bean MyzipBean: can not find method ejbCreate()  in ejb-class myzip.MyzipBean. Each create method must be named create<METHOD>, and it must match one of the ejbCreate<METHOD> methods defined in the session bean class. The matching ejbCreate<METHOD> method must have the same number and types of arguments. EJB Specification 7.10.6.Bean MyzipBean: can not find method ejbCreate()  in ejb-class myzip.MyzipBean. Each create method must be named create<METHOD>, and it must match one of the ejbCreate<METHOD> methods defined in the session bean class. The matching ejbCreate<METHOD> method must have the same number and types of arguments. EJB Specification 7.10.8.
    What could be the reason?
    Thanks,
    Jaishankar

    Hi,
    1. Restart the upgrade
    2. When it shows the error above open callSdmViaSapinst.log and search for the application that can't be deployed
    3. If application is STOPPED start it
    4. Undeploy the application if it is STARTED
    5. Press the "Retry" button in the error message dialog box from the
    upgrade
    6. If it fails again for another application go to 2.
    Please refer SAP NOte 851590. I don't know if it work for u, as i have given this , it seems for Upgrade as you are developing.
    Look into this thread also
    Unable to deploy a module into XI Server
    Regards
    Aashish Sinha
    Edited by: Aashish Sinha on Jun 13, 2008 3:20 PM
    Edited by: Aashish Sinha on Jun 13, 2008 3:28 PM

  • Adapter module for file renaming

    Hi all,
    I want to rename a file before writing into target directory. Is it possible to do this using adapter module? Im using File adapter at the sender and receiver.
    I tried renaming the file using DynamicConfiguration method.I want some custom constants to be added to the file name. I want to know if file renaming is possible by writing an Adapter module ..
    Thanks

    Rahul~
    Writing a module would be too much effort deploying and using..Instead u can use a dummy mapping to target and use a piece of Java code for transformation..
    chk my blog will save u effort..XSL may not be required in ur case
    /people/sriram.vasudevan3/blog/2005/11/21/effective-xsl-for-multimapping-getting-source-filenames-in-legacy-legacy-scenarios

  • Wl 8.1 sp1 .ear file deployment problems

    I am Unable to deploy ear file in WL8.1 SP1. See the error below..
    This ear fie is successfully deployed on WL6.1 SP3
    IF i remove the componenet on which this error is thrown, the same error appears
    on other componenet...
    Can somebody explain what would cause this?
    Exception thrown is:-->
    Exception:weblogic.management.ApplicationException: prepare failed for MorningMDB.jar104
    Module: MorningMDB.jar104 Error: Exception preparing module: EJBModule(MorningMDB.jar104,status=NEW)
    Unable to deploy EJB: MorningMDB from MorningMDB.jar: [EJB:011026]The EJB container
    failed while creating the java:/comp/env namespace for this EJB deployment. javax.naming.NameAlreadyBoundException:
    UserTransaction is already bound; remaining name 'app/ejb/MorningMDB/jar#MorningMDB/comp'
    at weblogic.jndi.internal.BasicNamingNode.bindHere(BasicNamingNode.java:333) at
    weblogic.jndi.internal.BasicNamingNode.bind(BasicNamingNode.java:291) at weblogic.jndi.internal.BasicNamingNode.bind(BasicNamingNode.java:298)
    at weblogic.jndi.internal.WLContextImpl.bind(WLContextImpl.java:359) at weblogic.ejb20.deployer.EnvironmentBuilder.addUserTransaction(EnvironmentBuilder.java:619)
    at weblogic.ejb20.deployer.EJBDeployer.setupEnvironmentContext(EJBDeployer.java:385)
    at weblogic.ejb20.deployer.EJBDeployer.setupEnvironmentFor(EJBDeployer.java:1110)
    at weblogic.ejb20.deployer.EJBDeployer.setupBeanInfos(EJBDeployer.java:922) at
    weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1283) at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:477)
    at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:2847)
    at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1534)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1188)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1031)
    at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2634)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2584)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2506)
    at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:833)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:542)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:500)
    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)
    5. The LOg of Activities:-->
    [Deployer:149033]preparing application lpapp on wls1
    [Deployer:149033]failed application lpapp on wls1
    [Deployer:149034]An exception occurred for task [Deployer:149026]Deploy application
    lpapp on wls1.:
    Exception:weblogic.management.ApplicationException: prepare failed for MorningMDB.jar104
    Module: MorningMDB.jar104 Error: Exception preparing module: EJBModule(MorningMDB.jar104,status=NEW)
    Unable to deploy EJB: MorningMDB from MorningMDB.jar:
    [EJB:011026]The EJB container failed while creating the java:/comp/env namespace
    for this EJB deployment.
    javax.naming.NameAlreadyBoundException: UserTransaction is already bound; remaining
    name 'app/ejb/MorningMDB/jar#MorningMDB/comp'
    at weblogic.jndi.internal.BasicNamingNode.bindHere(BasicNamingNode.java:333)
    at weblogic.jndi.internal.BasicNamingNode.bind(BasicNamingNode.java:291)
    at weblogic.jndi.internal.BasicNamingNode.bind(BasicNamingNode.java:298)
    at weblogic.jndi.internal.WLContextImpl.bind(WLContextImpl.java:359)
    at weblogic.ejb20.deployer.EnvironmentBuilder.addUserTransaction(EnvironmentBuilder.java:619)
    at weblogic.ejb20.deployer.EJBDeployer.setupEnvironmentContext(EJBDeployer.java:385)
    at weblogic.ejb20.deployer.EJBDeployer.setupEnvironmentFor(EJBDeployer.java:1110)
    at weblogic.ejb20.deployer.EJBDeployer.setupBeanInfos(EJBDeployer.java:922)
    at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1283)
    at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:477)
    at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:2847)
    at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1534)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1188)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1031)
    at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2634)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2584)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2506)
    at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:833)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:542)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:500)
    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 can give you the skeleton..
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE application PUBLIC '-//Sun Microsystems, Inc.//DTD J2EE Application
    1.2//EN' 'http://java.sun.com/j2ee/dtds/application_1_2.dtd'>
    <application>
    <display-name>Application</display-name>
    <description>Application description</description>          
    <module>
         <web>
              <web-uri>mywar.war</web-uri>
              <context-root>mywar</context-root>
              </web>
    </module>
         <module>
              <ejb>myejbs.jar</ejb>
    </module>
    </application>
    "skv" <[email protected]> wrote:
    >
    Unfortunately I can't.
    But I can answer your questions. I have also open a case with bea and
    so far no
    luck.
    Also the ear file take an awful lot of time to deploy. THe ear file
    I have currently
    contains 106 jar file (ejb's) and the deployment continues forever (>
    than 25
    minutes) and the status in console Shows 'In progress'
    Rob Woollen <[email protected]> wrote:
    Strange. Can you show me the contents of your EAR file (ie the file
    layout) and your application.xml?
    -- Rob
    skv wrote:
    I am Unable to deploy ear file in WL8.1 SP1. See the error below..
    This ear fie is successfully deployed on WL6.1 SP3
    IF i remove the componenet on which this error is thrown, the sameerror appears
    on other componenet...
    Can somebody explain what would cause this?
    Exception thrown is:-->
    Exception:weblogic.management.ApplicationException: prepare failedfor MorningMDB.jar104
    Module: MorningMDB.jar104 Error: Exception preparing module: EJBModule(MorningMDB.jar104,status=NEW)
    Unable to deploy EJB: MorningMDB from MorningMDB.jar: [EJB:011026]TheEJB container
    failed while creating the java:/comp/env namespace for this EJB deployment.javax.naming.NameAlreadyBoundException:
    UserTransaction is already bound; remaining name 'app/ejb/MorningMDB/jar#MorningMDB/comp'
    at weblogic.jndi.internal.BasicNamingNode.bindHere(BasicNamingNode.java:333)at
    weblogic.jndi.internal.BasicNamingNode.bind(BasicNamingNode.java:291)at weblogic.jndi.internal.BasicNamingNode.bind(BasicNamingNode.java:298)
    at weblogic.jndi.internal.WLContextImpl.bind(WLContextImpl.java:359)at weblogic.ejb20.deployer.EnvironmentBuilder.addUserTransaction(EnvironmentBuilder.java:619)
    at weblogic.ejb20.deployer.EJBDeployer.setupEnvironmentContext(EJBDeployer.java:385)
    at weblogic.ejb20.deployer.EJBDeployer.setupEnvironmentFor(EJBDeployer.java:1110)
    at weblogic.ejb20.deployer.EJBDeployer.setupBeanInfos(EJBDeployer.java:922)at
    weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1283)at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:477)
    at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:2847)
    at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1534)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1188)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1031)
    at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2634)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2584)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2506)
    at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:833)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:542)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:500)
    at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197) atweblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    5. The LOg of Activities:-->
    [Deployer:149033]preparing application lpapp on wls1
    [Deployer:149033]failed application lpapp on wls1
    [Deployer:149034]An exception occurred for task [Deployer:149026]Deployapplication
    lpapp on wls1.:
    Exception:weblogic.management.ApplicationException: prepare failedfor MorningMDB.jar104
    Module: MorningMDB.jar104 Error: Exception preparing module: EJBModule(MorningMDB.jar104,status=NEW)
    Unable to deploy EJB: MorningMDB from MorningMDB.jar:
    [EJB:011026]The EJB container failed while creating the java:/comp/envnamespace
    for this EJB deployment.
    javax.naming.NameAlreadyBoundException: UserTransaction is alreadybound; remaining
    name 'app/ejb/MorningMDB/jar#MorningMDB/comp'
    at weblogic.jndi.internal.BasicNamingNode.bindHere(BasicNamingNode.java:333)
    at weblogic.jndi.internal.BasicNamingNode.bind(BasicNamingNode.java:291)
    at weblogic.jndi.internal.BasicNamingNode.bind(BasicNamingNode.java:298)
    at weblogic.jndi.internal.WLContextImpl.bind(WLContextImpl.java:359)
    at weblogic.ejb20.deployer.EnvironmentBuilder.addUserTransaction(EnvironmentBuilder.java:619)
    at weblogic.ejb20.deployer.EJBDeployer.setupEnvironmentContext(EJBDeployer.java:385)
    at weblogic.ejb20.deployer.EJBDeployer.setupEnvironmentFor(EJBDeployer.java:1110)
    at weblogic.ejb20.deployer.EJBDeployer.setupBeanInfos(EJBDeployer.java:922)
    at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1283)
    at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:477)
    at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:2847)
    at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1534)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1188)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1031)
    at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2634)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2584)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2506)
    at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:833)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:542)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:500)
    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)

  • Ear file deployment and jar libaries

    I am creating a simple ejb application that uses some jar libraries. The ejb app builds fine but when i try to deploy the application, it cannot find the dependent classes although i am including the jar libs in the ear file. I tried including the jars-libs in root as well as in app-inf/lib directory. I also made sure that i have the right jar-libs. What am i missing ?
    Here is what i see on the console when i try to deploy on Oracle App server:
    Nov 29, 2006 1:31:51 PM] Unpacking TestWithLib.ear
    [Nov 29, 2006 1:31:52 PM] Done unpacking TestWithLib.ear
    [Nov 29, 2006 1:31:52 PM] Initialize C:\product\10.1.3.1\OracleAS_1\j2ee\home\applications\TestWithLib.ear ends...
    [Nov 29, 2006 1:31:52 PM] Starting application : TestWithLib
    [Nov 29, 2006 1:31:52 PM] Initializing ClassLoader(s)
    [Nov 29, 2006 1:31:52 PM] Initializing EJB container
    [Nov 29, 2006 1:31:52 PM] Loading connector(s)
    [Nov 29, 2006 1:31:52 PM] Starting up resource adapters
    [Nov 29, 2006 1:31:52 PM] Processing EJB module: ejb1.jar
    [Nov 29, 2006 1:31:52 PM] Operation failed with error: com/xyz/ClassName

    One thing to try is in the JAR deployment profile for the EJB - stand on the File Groups node and click new to add a library group and make sure it includes the libraries/jar you added to your project.
    If this doesn't help then you might want to try and cross post this on the OC4J forum:
    OC4J

  • Incremental Fix - After J2EE EAR File Deployment

    Oracle 9iAS 9.0.3.1 (MiddleTier)
    Oracle 9ias 9.0.2.3 (Infrastructure)
    Hi! We were successful in deploying a full J2EE/Struts based application as an EAR file through Enterprise Manager Web Site.
    After the deployment, if we wanted to fix a issue in the module within the application, we just want to replace that Java Source File, without re-deploying the entire application. Is there an Oracle recommended approach for this?
    I know we could do this with ANT but, Is this Oracle Supported incremental deployment approach..? Are they any other ways of doing this without re-deploying the whole application.
    Your thoughts/help is greatly appreciated.
    Thanks
    RK

    Oracle 9iAS 9.0.3.1 (MiddleTier)
    Oracle 9ias 9.0.2.3 (Infrastructure)
    Hi! We were successful in deploying a full J2EE/Struts based application as an EAR file through Enterprise Manager Web Site.
    After the deployment, if we wanted to fix a issue in the module within the application, we just want to replace that Java Source File, without re-deploying the entire application. Is there an Oracle recommended approach for this?
    I know we could do this with ANT but, Is this Oracle Supported incremental deployment approach..? Are they any other ways of doing this without re-deploying the whole application.
    Your thoughts/help is greatly appreciated.
    Thanks
    RK

  • Adapter Module Receiver File Adapter

    Hi All,
    I am getting file name in the Mapping in my target structure in a field FILENAME and i want to use this field to create a file at the target with the name as the value in FILENAME.
    I have to develop this by using Adapter Module.
    Note : This can be done by Variable Substitution and Dynamic Configuration UDF.But i want to implement the same by using adapter module.
    Can somebody help me out in getting the FILENAME from mapping inside the module process method of module.
    Thanks,
    Zabi

    Try this..
    private Map param;
    DynamicConfiguration conf = (DynamicConfiguration) param.get(
    StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey KEY_FILENAME = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    String Filename = conf.get(KEY_FILENAME);[/code]
    Thanks
    Sebin

  • Adapter moduler in file adapter receiver - get Target Directory from param

    Hi everybody,
    We are in PI 7.1
    I need in an adapter module (file adapter receiver) to access to the Target Directory comming from parameters
    I foound the code in a weblog
    /people/sap.user72/blog/2005/07/15/copy-a-file-with-same-filename-using-xi
    Here is the code I found
    public ModuleData process(
              ModuleContext moduleContext,
              ModuleData inputModuleData)
              throws ModuleException {
              Object obj = null;
              Message msg = null;
              try {
                   Channel ch = new Channel(moduleContext.getChannelID());
                   obj = inputModuleData.getPrincipalData();
                   msg = (Message) obj;
                   XMLPayload xmlpayload = msg.getDocument();
                   String path = ch.getValueAsString("file.targetDir");
                   if (!path.endsWith("
    ") && !path.endsWith("/"))                    
                             if(path.indexOf("
    ")!=-1)
                                  path+="
                             else
                                  path += "/";
                   if (xmlpayload != null) {
                        convert(xmlpayload.getContent(), path);
                   inputModuleData.setPrincipalData(msg);
              } catch (Exception e) {}
              return null;
         private void convert(byte[] bs, String path) throws Exception {
              String bs_out = new String(bs);
              String filename =
                   bs_out.substring(
                        bs_out.indexOf("<FileName>") + 10,
                        bs_out.lastIndexOf("</FileName>"));
              bs_out =
                   bs_out.substring(
                        bs_out.indexOf("<Base64>") + 8,
                        bs_out.lastIndexOf("</Base64>"));
              byte bb[] = com.sap.aii.utilxi.base64.api.Base64.decode(bs_out);
              File f1 = new File(path + filename);
              FileOutputStream fos = new FileOutputStream(f1);
              fos.write(bb);
              fos.close();
    The object Channel come s from the package import com.sap.aii.af.service.cpa.Channel;
    The jar is in the build path (com.sap.aii.af.service.cpa.jar);
    When I write in NWDS
    Channel ch = new Channel(moduleContext.getChannelID());
    NDWS gives me an error "Cannot instantiate the type Channel".
    Can somebody help me about that, please?
    Does that code dosn't work in pi 7.1?
    Thanks in Advance for your help.
    Best Regards.
    E. Koralewski
    Edited by: Eric Koralewski on Feb 3, 2011 1:40 PM

    > When I write in NWDS
    > Channel ch = new Channel(moduleContext.getChannelID());
    > NDWS gives me an error "Cannot instantiate the type Channel".
    it should be:
    Channel ch = (Channel) LookupManager.getInstance().getCPAObject(CPAObjectType.CHANNEL, moduleContext.getChannelID());
    (taken from sample module ConvertCRLFfromToLF)
    http://help.sap.com/javadocs/pi/pi711sp03/index.html?com/sap/aii/af/service/cpa/Channel.html
    Edited by: Stefan Grube on Feb 3, 2011 2:02 PM

  • Adapter Module for File Adapter

    I have a scenario where I have 2 related files (text file and a pdf file) for the message. I need to enhance the payload (content conversion from text file) with the size of the pdf file. I have developed a adapter module for this and it is working fine if there is 1 set of text and pdf file. But if there are more than 1 set of files, it is processing the first set and giving the below error for other files.
    "Error: com.sap.engine.services.ejb.exceptions.BaseTransactionRolledbackLocalException: Exception thrown in method process. The transaction is marked for rollback."
    Regards
    Yogesh

    check this thread :
    BaseTransactionRolledbackLocalException in custom adapter module
    Exceptions in Recievr Communication Channel with Adapter Module

  • Sort order in Java application (oc4j container) -- ear file deployment

    I have a Java application deploy in Oracle OC4J container (EAR file).
    In my Java application (jsp), I have a SQL statement who return data but the
    sort order is wrong. The letters "é" and all characters with accents
    appears at the end of the result.
    I tried many things to change the sort order (NLS parameters in database
    and OAS10g parameter files).
    When I use SQL*plus on database server, that's working.
    The sort order is wrong when I use the java application.
    Somebody can tell me what and where is the NLS parameters to change ?
    Thanks
    Robin

    Robin,
    I'm only guessing, but it could either be related to the java locale or the CHARSET attribute of the HTML header -- and nothing to do with the NLS parameters.
    Maybe you should try the Globalization Support forum?
    Good Luck,
    Avi.

  • Application Ear file deployment on Oracle 9ias(9.0.3)

    Hi,
    I'm trying to deploy an application (JSP + BC4J) under Oracle 9ias using the Enterprise Manager (EM).
    No error occurs during the process but I can not load the application with internet explorer.
    the following message appears : "Not Found
    The requested URL /AgatteWF/index.jsp was not found on this server."
    Deploying the application under OC4J standalone with the same ear file works fine.
    Does anyone got that problem ?
    Any help is welcome
    regards

    Hi
    I already had a look to the log files.
    They don't show any error.
    the webcontext is correct but index.jsp is not placed under the "WEB_INF" directory.
    I don't think that's the reason of the problem 'cause i succeeded once to deploy the same application under the IAS.
    I made the same operations i did before (creating a new oc4j instance under IAS after having dropped the old one, deploying the application, creating the data source...)
    But i don't know why it doesn't work this time.

Maybe you are looking for

  • Moving I Tunes Files to an external hard drive

    How do I move my Movies out of I Tunes and on to an external hard drive?

  • My podcast used to be listed in the iTunes Store. Now it's not. Why?

    Nothing has changed about the rss feed or location. It seems to be working: http://www.brookfieldcrc.org/podcasts/Site/Podcast/rss.xml It's a church sermon podcast - no music, and unlikely to be considered questionable content. I've received no commu

  • Custom Workflow for sending Remainder mail in MS CRM 2013/2015 online

    Hi All, We have a requirement to send a remainder email before 5 days,3 days and on the same day of the M/TC date in lead form. To achieve this we tried using Custom Workflow. Below is the logic tried but in the highlighted line not able to retrieve

  • How to create a DB2 database on the fly?

    Hi, The DB2 JDBC connection string requires a name of an existing database: jdbc:db2://server_name:port_number/database_name Is there a way to connect DB2 thru JDBC without the database name and then create a database afterwards? Thinks for any input

  • KM Implementation

    Dear All, We are currently using ECC 5.0 in our company. We are implementing ESS and have an EP server in place. As we want to implement KM and Document management system in SAP, I request you to guide me how we can go about this. Does any of you hav