How to UnDeploy EJBs deployed in XI

i have deployed some EJBs for java proxy, adapter module, etc, in SAP J2EE engine of XI 3.0 using NWDS,
is there any way to undeploy those EARs, either through NWDS or some other tools
Thanks Forum,

i have no idea about using SDM, can u provide a bit detail of how to undeploy a EAR using SDM...
i thought of deleting those EARs in the server itself.....but was confused to see the same EAR files in multiple location..

Similar Messages

  • How to access EJB deployed in JBOSS 4 from Creator

    Hello.
    I am trying to access EJBs deployed on JBOSS in order to develop a web app client, when I import the EJB set from Creator (sessions and entities packages in a jar file) I got the following error message....."No EJB set found in file....." .
    I presume there is an kind of xml file description specific for Sun App Server missing. I would like to know if there is other way to expose EJB in creator?....maybe write a config file by hand.
    I already read the tutorials related to EJB but those only use pre build EJB jars for Sun App Sserver.
    Also I read all the posted about JBoos and EJB in this forum but those are pretty general.
    By the way I have Delegate classes to access the EJB. How do I register my delegates in Creator in order to expose their methods?
    I�ll really appreciate some light in this matter.
    Thanks in advance!!!

    Hi,
    The below forum thread may help you :
    http://swforum.sun.com/jive/thread.jspa?forumID=123&threadID=51321
    Thanks,
    Runa.

  • How to call EJB deployed on websphere from JSP running on Tomcat?

    I am trying to establish communication between two app servers. I have a sample EJB deployed on Websphere and wish to call its business methods from a JSP page which is running on Apache Tomcat server. (ie) Tomcat is client to websphere. Is it possible to do? If so, what are the client Jar files of websphere that I should make available to JSP page on Tomcat? Do I need to set any Jars in Tomcat environment variables? Lood forward for your immediate help. Thanks in advance

    Please see the thread
    http://forum.java.sun.com/thread.jspa?threadID=514536.
    Hope that helps..

  • How to lookup EJBs deployed in OC4J from a standalone client application

    Hello all,
    I am trying to lookup an EJB deployed in OC4J 10.1.3 from a standalone client application using the following code:
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY, "com.evermind.server.rmi.RMIInitialContextFactory");
    env.put(Context.PROVIDER_URL, "ormi://localhost:23791");
    env.put(Context.SECURITY_PRINCIPAL, "jazn.com/test");
    env.put(Context.SECURITY_CREDENTIALS, "test");
    Context context = new InitialContext(env);
    Object ref = context.lookup("ejb/Dispatch");
    I get the following error:
    javax.naming.NameNotFoundException: ejb/Dispatch not found
         at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:51)
         at javax.naming.InitialContext.lookup(InitialContext.java:347)
    For the lookup string I've also tried:
    "java:comp/env/ejb/Dispatch" and "Dispatch"
    For the Context.PROVIDER_URL property I've also tried:
    opmn:ormi://localhost:6003:instance
    The result is always the same.
    I appreciate if someone could help me with this?
    Thanks,
    Georgi

    Georgi,
    Your question has been discussed many times on this forum. Search the forum archives for "RMIInitialContextFactory".
    The PROVIDER_URL needs to include the name of the deployed application that your EJB is part of, for example:
    env.put(Context.PROVIDER_URL, "ormi://localhost:23791/MyApp");The lookup name has to be the value of the "ejb-name" element in your "ejb-jar.xml" descriptor file.
    Your SECURITY_PRINCIPAL value looks strange to me. Personally, I use "principals" (and not JAZN), so I modified the "application.xml" file (in the "j2ee/home/config" subdirectory) to use "principals". Look for the following comment in that file:
    <!-- Comment out the jazn element to use principals.
          When both jazn and principals are present jazn is used  -->Good Luck,
    Avi.
    Message was edited by:
    Avi Abrami

  • How to call EJB deployed on OC4J from java stored procedure?

    Hello,
    I'd like to call EJB from java stored procedure. My example works fine from command line, but the problem seems to be with deployment of this code into database. Especialy I'm wondering how to reference jars like oc4jclient.jar, ejb.jar, ... from java stored procedure.
    Is there some example how to do that ?
    Can You help me please ?
    Many thanks,
    Radim Kolek,
    Eurotel Prague.

    Hi,
    You may want to check up this thread
    Calling JBoss EJBs from Java stored procedure
    Hope this helps,
    Sujatha.
    OTN Group.

  • WL6: HOW TO REMOVE an undeployed EJB/WAR/EAR

    Is it possible to REMOVE an undeployed EJB/WAR/EAR without having to edit
    the config.xml and thus rebooting the server?
    Merg

    We feel the application deployment process, while a major improvement over
    previous releases, still has some wrinkles that need to be ironed out.
    These wrinkles aren't of the ServicePack variety. We hope to revamp the
    whole thing in a subsequent release. In the meantime you can make your
    feelings known to your friendly neighborhood sales-person and that may
    expedite things.
    Gary
    "Charlie Crook" <[email protected]> wrote in message
    news:[email protected]..
    Is it a feature for an upcoming service pack? If not, how can we request
    such a feature?
    "Gary Keim" <[email protected]> wrote in message
    news:3a9183ca$[email protected]..
    I don't believe that operation is supported at this time.
    Gary
    "Merg" <[email protected]> wrote in message
    news:3a8f920e$[email protected]..
    Is it possible to REMOVE an undeployed EJB/WAR/EAR without having toedit
    the config.xml and thus rebooting the server?
    Merg

  • How to build and deploy ejb in j2ee!!

    HI there!!
    Newbie Question. I know this is very rude to ask a question "How to build and deploy ejb in j2ee server??", but please help me. I just learned some servlets worked with tomcat. Now I want to learn more about ejb, could anyone suggest me any online tutorial or book where in it is explained step by step builiding and deploying ejb's in j2ee server, please help me. I would be grateful to you.

    A good book to start with is Enterprise JavaBeans by Monson-Haefel (O'Reilly press). It covers deployment of EJBs on J2EE servers. Also check out sites specific to your server, sometimes they have specific requirements (like Weblogic).

  • Deployment issues, how is weblogic-ejb-jar.xml linked to ejb-jar.xml

    Hey guys,
    I'm getting the following error I think because i have something configured incorrectly in my xml files. Instead of yousing activationConfig properties in my MDB I wanted to set them in the ejb-jar.xml file manually. The following error I'm getting is...
    Unable to deploy EJB: MyMDB from MDBtest2:
    [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 'inQueue' declared in the ejb-jar.xml descriptor has no JNDI name mapped to it. The resource-ref must be mapped to a JNDI name using the resource-description element of the weblogic-ejb-jar.xml descriptor.
         at weblogic.ejb.container.deployer.EnvironmentBuilder.addResourceEnvReferences(EnvironmentBuilder.java:641)
         at weblogic.ejb.container.deployer.EJBDeployer.setupEnvironmentContext(EJBDeployer.java:330)
         at weblogic.ejb.container.deployer.EJBDeployer.setupEnvironmentFor(EJBDeployer.java:1097)
         at weblogic.ejb.container.deployer.EJBDeployer.setupBeanInfos(EJBDeployer.java:991)
         at weblogic.ejb.container.deployer.EJBDeployer.prepare(EJBDeployer.java:1273)
         at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:372)
    ejb-jar.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <ejb-jar id="ejb-jar_ID" version="2.1" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd">
         <display-name>MDBtest2</display-name>
         <enterprise-beans>
              <message-driven>
                   <ejb-name>MyMDB</ejb-name>
                   <ejb-class>cms.crown.mdb.MyMDB</ejb-class>
                   <transaction-type>Container</transaction-type>
                   <message-destination-link>omg</message-destination-link>
                   <resource-ref>
                        <res-ref-name>weblogic.jms.XAConnectionFactory</res-ref-name>
                        <res-type>javax.jms.XAConnectionFactory</res-type>
                        <res-auth>Container</res-auth>
                   </resource-ref>
                   <resource-env-ref>
                        <resource-env-ref-name>inQueue</resource-env-ref-name>
                        <resource-env-ref-type>javax.jms.Queue</resource-env-ref-type>
                   </resource-env-ref>
              </message-driven>
         </enterprise-beans>
         <assembly-descriptor>
              <container-transaction>
                   <method>
                        <ejb-name>MyMDB</ejb-name>
                        <method-name>onMessage</method-name>
                        <method-params>
                             <method-param>javax.jms.Message</method-param>
                        </method-params>
                   </method>
                   <trans-attribute>Required</trans-attribute>
              </container-transaction>
         </assembly-descriptor>
    </ejb-jar>
    weblogic-ejb-jar.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <wls:weblogic-ejb-jar xmlns:wls="http://www.bea.com/ns/weblogic/10.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd http://www.bea.com/ns/weblogic/10.0 http://www.bea.com/ns/weblogic/10.0/weblogic-ejb-jar.xsd">
    <!--weblogic-version:10.0-->
    <wls:message-destination-descriptor>
    <!--lookup-method:JNDI-->
    <wls:message-destination-name>omg</wls:message-destination-name>
    <wls:destination-jndi-name>inQueue</wls:destination-jndi-name>
    <wls:initial-context-factory>weblogic.jms.XAConnectionFactory</wls:initial-context-factory>
    <wls:provider-url>http://localhost:8010</wls:provider-url>
    </wls:message-destination-descriptor>
    </wls:weblogic-ejb-jar>
    Hope this is readable, thanks for any assistance

    Hi,
    It looks like first thing you are using EJB3 but your XML files are still pointing to version="2.1" and very old.
    <font color=red>
    <ejb-jar id="ejb-jar_ID" version="2.1" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee "http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd">
    </font><br>
    *try this: In below "ejb-jar.xml" file*
    QCF = your Connection factory JNDI Name
    TestQ = your Queue JNDI Name
    Transaction Attribute is ByDefault = Required ...so no need to add it here.
    <?xml version='1.0' encoding='UTF-8'?>
    <ejb-jar xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" metadata-complete="true">
    <enterprise-beans>
    <message-driven>
    <ejb-name>MyMDB</ejb-name>
    <mapped-name>TestQ</mapped-name>
    <ejb-class>cms.crown.mdb.MyMDB</ejb-class>
    <messaging-type>javax.jms.MessageListener</messaging-type>
    <transaction-type>Container</transaction-type>
    <activation-config>
    <activation-config-property>
    <activation-config-property-name>destinationType</activation-config-property-name>
    <activation-config-property-value><b><font color=maroon>javax.jms.Queue</font></b></activation-config-property-value>
    </activation-config-property>
    <activation-config-property>
    <activation-config-property-name>connectionFactoryJndiName</activation-config-property-name>
    <activation-config-property-value><b><font color=maroon>QCF</font></b></activation-config-property-value>
    </activation-config-property>
    <activation-config-property>
    <activation-config-property-name>destinationJndiName</activation-config-property-name>
    <activation-config-property-value><b><font color=maroon>TestQ</font></b></activation-config-property-value>
    </activation-config-property>
    </activation-config>
    </message-driven>
    </enterprise-beans>
    <assembly-descriptor></assembly-descriptor>
    </ejb-jar>
    "weblogic-ejb-jar.xml":
    <weblogic-ejb-jar xmlns="http://www.bea.com/ns/weblogic/weblogic-ejb-jar" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-ejb-jar http://www.bea.com/ns/weblogic/weblogic-ejb-jar/1.0/weblogic-ejb-jar.xsd">
    <font color=maroon><b> Now u need to Just define the Provider URL here...if you want a remote provider...else not required<BR> JNDI names are already defined in the ejb-jar.xml file</b></font><BR>
    </weblogic-ejb-jar>
    Some Links which you can refer:
    To Generate the Deployment Descriptors ...in case of EJB3 Applications: *http://jaysensharma.wordpress.com/2010/04/02/generating-ejb3-clientjar/*
    MDB3.0 Sample: *http://jaysensharma.wordpress.com/2009/08/17/mdb3-0-sample-for-weblogic-application-server/*
    Thanks
    Jay SenSharma

  • How to speed up frequent undeploy and deploy on weblogic server ?

    We have one web application deployed on a Weblogic Server (10.3).
    We use ANT and the wldeploy task ( http://download.oracle.com/docs/cd/E13222_01/wls/docs90/programming/wldeploy.html ) to UNDEPLOY and DEPLOY (frequently) the webapp.
    It seems to us that the entire process (RECOMPILE -> make WAR -> UNDEPLOY -> DEPLOY) , which is completely automatic (made by ANT), is too slow (about 1 minute) , especially the step of DEPLOY.
    Do exist some tricks to speed up the entire process ?
    We have 4/5 notebook (the developers PCs) and 1 remote Weblogic Server .
    (SORRY, some admin can move this thread on weblogic server forum ? Thanks)
    Edited by: user3873926 on 29-ott-2009 9.21

    Just a suggestion: Try using iWS6.0SP2, it has some performance improvements.

  • How to undeploy retired applications?

    Hi there! I'm new to Weblogic Server and to this forum as well.
    I am redeploying an application without any problem but before redeploying a new version I need to undeploy manually (through command line or webconsole) the old version of the app. My question is: how can the retired versions be deleted automatically when it is not active anymore? Do I need to create a script for that?
    Secondly, I don't need to keep all deployed versions of the app. How can I avoid it? Is it because I use the -upload action in the command:
    java -cp C:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic.jar weblogic.Deployer -adminurl t3://192.168.100.221:7001 -user weblogic -password weblogic -redeploy -name App -source "C:\Users\516230\.jenkins\jobs\PGU PRODUCTIU\workspace\UniVic.ear" -targets AdminServer -upload
    Thanks!

    Good Question and please refer the below links may narrow down the issue,
    http://www.coderanch.com/t/64892/BEA-Weblogic/Undeployment-Web-App-EJB
    If you want to do undeploy via Ant script refer below sample code for the same,
    http://stackoverflow.com/questions/1212111/how-to-undeploy-the-weblogic-application-using-ant-task
    Regard,
    Ramprakash Arun
    Industry Vertical
    Please Mark Helpful / Correct Answer if so

  • How to compile EJB 3.0 in command line

    Dear all,
    I want to know how to using command line to compile the EJB 3.0 bean.
    I have a set of source written in EJB 3.0, if i put in NetBeans and help me to build a ear, it works.
    But when i try to using command mode , it has problem.
    The Step to compile:
    1) Compile the source, all can compile .javac -d . -classpath %JAVAEE_HOME%\lib\javaee.jar;. ..\src\foo\*.java
    2) using the same "META-INF" that compiled by netbeans, include with the compiled class and build an jar file
    3) build a ear
    How ever when i deploy to glassfish 2.0
    It prompts me the descriptor error, cannot deploy to server.
    Can anyone tell me which step is missing ?
    Thanks
    Best Regard,
    Ben

    As long as you are not more specific about the steps you take to verify that the ears are the same, I cannot offer any more help. All I can say is: your assumption is wrong, because if they were the same, it would work. Simple logic is usually the best.

  • Calling an EJB deployed in OC4J from a Java Stored Procedure

    Hi all,
    Well, I've been trying to figure this out for a bit now and haven't come up with a solution.
    I have a Java Stored Procedure in a 9i database and would like to call an EJB deployed in the OC4J Container but DO NOT want to load the various Orion JAR files into the database.
    I get hung up on the JNDI piece.
    Has anyone figured out how to do this?
    Got some code?
    Thanks!

    Doug,
    This is not possible in Oracle9i Release1. in the upcoming Oracle9i DB R2, we will support loading a client-side jars of oc4j (oc4jclient.jar) in the database and call-out EJBs in 9iAS
    Please look at this thread Re: Compile procedures for a detailed dicussion on this topic.
    regards
    Debu Panda
    Oracle

  • How To Use EJB in JSP

    I've used beans in JSP.. but how to use EJB's in beans ??
    EJB's are deployed in Oracle 8i
    Please Help
    Thank You.

    Please find the answer in this HOWTO:
    http://technet.oracle.com:89/ubb/Forum2/HTML/006404.html
    HOWTO's are archived on the JDeveloper Documentation page:
    http://technet.oracle.com/docs/products/jdev/listing.htm (Click on Documentation Tab)
    Thanks,
    -Roel.

  • How to deliver EJB to iPlanet6.5

    My IDE is Jdeveloper903 ,how to deliver EJB to iPlanet6.5 iAs?

    There is no one click deployment to iPlanet. You need to take the EAR/WAR and use iPlanet tools to deploy.
    Check out this how-to
    http://otn.oracle.com/products/jdev/howtos/appservers/deploy_to_iplanet.html

  • How to run ejb application OC4J J2EE Container

    Hi all,
    I unable run ejb applications in OC4J J2EE Container.
    I have configure following files.
    in config directory
    Server.xml
    I have .ear file if configured in server.xml. this .ear copied into home/application directory
    I have create following deployment discriptor file.
    in META-INF for ejb.
    ejb-jar.xml
    application.xml
    I have specify all ejb classes details in ejb-jar.xml
    Please help me .How to run ejbs with jsp and application client.Which files shall i configure.
    Thnaks,

    Hi all,
    I unable run ejb applications in OC4J J2EE Container.
    I have configure following files.
    in config directory
    Server.xml
    I have .ear file if configured in server.xml. this .ear copied into home/application directory
    I have create following deployment discriptor file.
    in META-INF for ejb.
    ejb-jar.xml
    application.xml
    I have specify all ejb classes details in ejb-jar.xml
    Please help me .How to run ejbs with jsp and application client.Which files shall i configure.
    Thnaks,

Maybe you are looking for

  • Problems calibrating large CRT monitors

    Hi All I have a SP 1.8GHz G5 Power Mac, 1.25GB RAM GeForce FX 5200 Graphics card. I have recently been trying to find a larger Monitor and not being the richest individual on the planet I have been looking at 21" CRT's. So far I have tried two second

  • CSR1000V VRF Route Leaking vs GNS

    Hi folks, working on 2 lab envronments. I have successfully configured VRF route leaking on GNS3, however can't get it working on CSR1000v with same config (only IP's and name's of VRF etc is different). Is there something on the CSR1000v that I have

  • My mac os 10.8.5 is not booting without install usb.

    Hello someone please help me! I have installed mac os 10.8.5 and it's working fine but there's one problem when I installed my mac os It started fine but when again I tried to start mac without installation USB it showd boot0 error ...!! Now My mac i

  • Contribute and 2 css files

    I have developed a site for a client in Dreamweaver using css for font styling. I also use Tab Bar Magic from Project Seven, which has it's own css file. My client uses Contribute and only the css menu. He is confused with so many style options and s

  • Excess material issue against RSQ

    Hi Gurus, We are using repetitive manufacturing in our organization (Automotive Industry), the material staging is done based on the plan order with pull list as per the BOM, but in case excess components are required how can we stage this excess mat