How to deploy and remove one application from WebLogic server

Dear Friend:
Do you know anyway that I can deploy or remove an application using
command line intead of administration console when the WebLogic
server is running?
Thanks in advance,
Damon

I think we have to clean ( already scheduled for next release) list of some of the
supported API on various MBeans. However just FYI , there is an "void
setURI(java.lang.String)" method in Component MBean that you could use.
Viresh Garg
Pamela Minthorn wrote:
I am also trying to automate application deployment process. I have looked at
the docs you suggested below and am wondering why the ComponentMBean has a getURI()
but not a setURI().
Here's a snippet from my config.xml that I want to automate:
<Application
Deployed="true"
Name="TestApp1"
Path="E:\WebApps\version1">
<WebAppComponent
Name="TestApp1"
URI="TestApp"
Targets="myserver"
/>
</Application>
I haven't figured out how to set the URI.
Also, it looks like this should also be possible using weblogic.Admin. Is that
true?
Thanks,
Pam
Viresh Garg <[email protected]> wrote:
You can write a JMX java client and create an Application Admin Mbean
and then use the application MBean and component MBean interface to set
the targets for components and deploy them . For more information look
at the JAVAdoc for:
weblogic.management.MBeanHome
weblogic.management.configuration.ApplicationMBean
weblogic.management.configuration.ComponentMBean
Let me know if you have addional questions.
Viresh Garg
Principal Developer Relations Engineer
BEA Systems
Damon wrote:
Dear Friend:
Do you know anyway that I can deploy or remove an application using
command line intead of administration console when the WebLogic
server is running?
Thanks in advance,
Damon
[att1.html]

Similar Messages

  • How to deploy or remove an application from WebLogic server?

    Dear Friend:
    Do you know anyway that I can deploy or remove an application using
    command line intead of administration console when the WebLogic
    server is running?
    Thanks in advance,
    Damon

    Yes, you can use the command-line weblogic.deploy utiltiy to do the
    same.
    For more info:
    http://e-docs.bea.com/wls/docs60///////adminguide/utils.html#1138475
    cheers,
    Mihir
    Damon wrote:
    Dear Friend:
    Do you know anyway that I can deploy or remove an application using
    command line intead of administration console when the WebLogic
    server is running?
    Thanks in advance,
    Damon

  • How can i get all the users from weblogic server?

    how can i get all the users from weblogic server?
    i have configurated a LDAP server using iPlanet and
    in weblogic server console i see those users from LDAP
    server. but how can i get all the users in my program
    from weblogic server instead of LDAP server?
    BTW,how to configure a RDBMSAuthenticator and what should i do
    in Oracle? which tables should i create? and how are their architectures?
    Thanks
    Daniel

    BTW, i use weblogic platform 8.1
    "Daniel" <[email protected]> дÈëÓʼþ
    news:[email protected]..
    how can i get all the users from weblogic server?
    i have configurated a LDAP server using iPlanet and
    in weblogic server console i see those users from LDAP
    server. but how can i get all the users in my program
    from weblogic server instead of LDAP server?
    BTW,how to configure a RDBMSAuthenticator and what should i do
    in Oracle? which tables should i create? and how are their architectures?
    Thanks
    Daniel

  • How to deploy and test J2ME application on handset???

    Hi all,
    I write an application using j2mewkt toolkit and generated all jad and jars.It's working fine on test models but want to test it on handset.Can naybody tell me how to deploy and test it on Handset,what basics i required,kindly tell me step-by-step as i m novice in J2ME.
    thanx

    STEP-1
    Create the package - In the J2ME Wireless Toolkit Menu Select "Project"-"Package"-"Create Package". It creates jar and jad file in the bin directory.
    STEP-2
    Converting this file from m/c to device : There are many tools to transfer your midlet suites to your device. for example MIDWay Tool
    The MIDWay tool allows you to download MIDlet suites to your developer-enabled device via SERIAL CABLE. Please note this is a preview of the tool included in the upcoming Motorola SDK for J2ME v3.1. The MIDWay v2.6 preview only supports the following devices : V60i, V66i, T280i, T720, T720i, A830
    For this tool to work properly your device must be enabled for development and the "Java
    STEP : 3
    Open the jad file from Midway Appplication in which it imports the jad file and export it to the device. This is done by jam (Java Application Manager) takes responsibilities for this function i.e., the jad file is installed to the device. After installing it u can test as same as in emulator.

  • Deploying Java stand alone application in Weblogic server

    Hi All,
    We have an java stand alone application which our client uses. Suddenly they came up with a requirement of using this application from web logic server.We have following directory structure for our application
    myapp
    - config -> contains all configuration files
    - logs -> contains log files
    - ssl -> ssl related files
    - samples ->contians stub's
    - myapp.jar
    How to deploy our standalone application in to weblogic server?.
    We tried putting whole myapp folder in WEB-INF folder , and from the servlet we are able to invoke an method in an class file( in myapp.jar say Test.getInstance()) but it couldnt find configuration files (in config folder ) and it is throwing an error. We have a class called Test in myapp.jar and when we call getInstance of the class it loads all config files - config file location is hardcoded as /config/myconfig.xml , and we are facing problem here because it couldnt find myconfig.xml.
    We also tried packaging whole myapp folder in to jar , but with that also we faced the same problem
    Please let us know are we proceeding in the right way and how to deploy our application in weblogic server.We dont prefer making changes to our code at this point of time.
    Any info on this will be very helpful to us.
    Regards,
    Suresh

    Hi René van Wijk,
    Thanks for quick reply. Link you mentioned gave a basic idea of application structure , but still i couldnt get deployment process.
    Am very much new to weblogic.Can you please let me know how to deploy our standalone application in to weblogic, with out making any changes to the code.
    Below is folder structure of my java stand alone application *( not webapplication)*
    myapp
    - config -> contains all configuration files , for ex:- myconfig.xml
    - logs -> contains log files
    - ssl -> ssl related files
    - samples ->contians stub's
    - myapp.jar
    We have logic to load configuration file (config/myconfig.xml) , in an class and we are not allowed to make any changes to this code, so we cant use Thread.currentThread().getContextClassLoader().getResource(...) .
    Regards,
    Suresh

  • How can I restore just one application from Time Machine?

    Hello, I have just one application that is really acting quirky and won't load correctly anymore and I would like to restore that application from Time Machine but am just not sure how to do that. Can someone please walk me through step by step on how to restore just one application. Thank you. Jean
    Message was edited by: anokienurse

    Before you restore an application from a Time Machine backup it would be wiser to remove the current installed copy then reinstall from the application's original distribution medium - download, CD/DVD, etc. The reason for this is that Time Machine backs up every hour. By now the bad version of this application is now backed up to your Time Machine backup drive. Restoring from the backup won't resolve your problem.
    First, uninstall the old program. If the program came with an uninstaller then use it. If not then start by deleting the application from the Applications folder. Then locate all the support files associated with the application and remove them, too. Look for these in:
    /Users/yourusername/Library/Preferences
    /Users/yourusername/Library/Applications Support
    Applications may come with a separate uninstaller program that could also be in your Applications folder. Some applications may install other files in other locations on your computer. If you tell us what the application is we may be able to provide additional help.
    You may find more information here: The XLab FAQs. Read the FAQ on uninstalling software.

  • How to copy and remove admin Role from SAP_ALL profile

    Hi SDN Experts,
    I need to copy SAP_ALL profile to another in CRM 5.0 system, thereafter i need to remove admin Role from SAP_ALL profile. Can any help regarding this point..
    regds
    gcp

    Chandra,
    I saw ur post in this forum regarding configuring sap intergration with genesys gplus adapter. We are in need of the same configuration. Can you please help me in configuring sap phone for gplus adapter. Reply me on [email protected]
    Thanks in Advance

  • How to deploy a normal Java application onto Sun Server

    Hi
    How do you deploy a normal Java application onto the Sun server...what are the required config files one needs to set etc

    You might want to start with the Java EE 5 tutorial, available here :
    http://java.sun.com/javaee/5/docs/tutorial/doc/
    --ken                                                                                                                                                                                                                                                           

  • How do I completely remove Contribute support from the server?

    I think Contribute is conflicting with my ftp connection for some reason so I would like to remove support for it completely from the server. How do I do this?

    If you have a keyboard without the numerical keypad, then FN delete will delete the clip and replace it with a gap if it's on the primary storyline. If it's a normal Mac keyboard, then the back delete will do the trick.
    You can also lift a clip from the primary storyline by right-clicking and choosing lift from primary storyline, then just delete.

  • Can I deploy an Oracle Forms Application in WebLogic Server?

    Dear all:
    I need to know if Oracle WebLogic Server supports Oracle Forms applications?
    I am looking some clue in the documentation, but I didn´t find something clear yet, please help me.
    Thanks
    Edited by: user637951 on Nov 18, 2008 6:25 AM
    Edited by: user637951 on Nov 18, 2008 6:26 AM

    I don't believe that Forms will be certified on WLS until 11g based on a ppt I saw at Oracle Open World. However, you'll need to get confirmation on that from someone with Forms knowledge. Their forum is here:
    Forms

  • How to know and remove unused applications via pacman?[SOLVED]

    Hello, I would like to know how to remove them...I mean those packages included [unused anymore] during installation of a specific app...I'm saving space for I only have an 8gb SSD on my Acer Aspire One...My cache are already empty [pkg]...:)
    Thanks in advance
    Last edited by kaola_linux (2009-01-10 14:18:41)

    What do you mean "included during installation of a specific app"? The only packages installed with a target package are those packages which it depends on, so you can't remove them if you want the target package to still work. To remove packages that you don't want anymore, use "pacman -Rsn <pkg name>". That will remove the package and it's dependencies.
    To see which packages are "orphans", i.e. installed as dependencies for packages that are no longer installed, use "pacman -Qdt". You can remove all of those with "pacman -Rsn $(pacman -Qqdt)".
    Take a look at the pacman man page too: "man pacman"
    EDIT
    I just saw your post here where you state that you've been making packages with
    makepkg -s
    Now I understand what you want to remove and why. The "pacman -Rsn $(pacman -Qqdt)" command will do this.
    In general though, you should take the time to learn about the utilities that you're using. From the makepkg man page:
    -r, --rmdeps
    Upon successful build, remove any dependencies installed by makepkg
    during dependency auto-resolution (using -b or -s).
    -s, --syncdeps
    Install missing dependencies using pacman. When build-time or
    run-time dependencies are not found, pacman will try to resolve
    them. If successful, the missing packages will be downloaded and
    installed.
    Instead of using "makepkg -s", you should use "makepkg -s -r" to remove makedepends automatically when you're done.
    Last edited by Xyne (2009-01-10 13:32:00)

  • How to call view of one application from another application in SAP UI5?

    Hi,
    I have a main shell application. inside the shell i have called a application project using iframe.
    Now from this project i have to access the view from the shell application. I tried getParent() but it returns null.
    How do i access view which is not in my project and in a different project?

    Yeah view cannot be called independently.
    Here in the above post i am just saying call the interface view.
    which will call the window and first view will be called.
    in the wddoinit of the first view . we will check the interface node and if a particular attribute is set.
    that means call is coming from the comp B then you can fire the plug to next view.
    this will take the user directly to second view.
    but the flow logic then will be as per by comp A only.
    means after view 2 it will go to view 3 like that as you have defined in comp A.
    so you cannot use it as an independent reusable entity.
    thanks
    sarbjeet singh

  • How to migrate a full J2EE application from WebLogic to NetWeaver?

    I have an independent J2EE application which can be run on WebLogic successfully. Now, I want to migrate it to the platform of NetWeaver. Could you tell me how to do with it? And where can I find the jar files of the application I deployed?
    Thank you very much!

    Have you tried the "exploded" format?
              Also, do you mean Weblogic 6.1 (sp2?).
              Peace,
              Cameron Purdy
              Tangosol, Inc.
              Clustering Weblogic? You're either using Coherence, or you should be!
              Download a Tangosol Coherence eval today at http://www.tangosol.com/
              "adurthy" <[email protected]> wrote in message
              news:[email protected]..
              >
              > HI All,
              >
              > I am trying a migrate a application Jsp application with taglibs from
              tomcat 4.0
              > to weblogic 6.2
              >
              > I tried the example way but none seems to work
              >
              > any help or articles are appreciated
              >
              > thanks
              > sivaji
              

  • How to undeploy BPM application from Weblogic server

    Hi everyone,
    I try to undeploy some bpm application on the weblogic, using the weblogic admin console, under the deployments section, check the bpm application and click the delete button, however, when the server restart, I still see the soa server loading the bpm application, what is the correct way to uninstall the bpm application?
    Please advise.

    Hi
    Its preferable and better to use em (enterprise manager console) to UnDeploy any SOA/BPEL applications. Infact this may be the only way you should undeploy. The reason is when you undeploy from EM console, first of all it removes all the instances from the SOA_INFRA database also and also from the deployed-composites under the soa domain root folder.
    Em Console URL: http://yourhost:yourport/em and use the same username/pwd that you use for normal admin console.
    If you still see the composites, check the deployed-composites folder under the domain root folder. And delete from there. Note that, all the SOA/BPEL composites are stored in the soa_infra database also.
    Thanks
    Ravi Jegga

  • How to manually completely remove a J2EE application from the server?

    Hello,
    I have created and deployed a certain test J2EE application.
    After I finished with it I wanted to remove it, yet I cannot do it: Any removal attempt, either by the SDM or Admin Tool, encounters exceptions and errors I cannot handle. I tried restarting the server, stopping the application yet nothing works. on telnet the application has always STOPPING ststus...
    Desperately, I have decided to manually remove this application from the server yet I don't know the steps.
    Can someone please give me a step-by-step guidance on how to completely remove this application from the server, so it won't appear anyome both at the SDM and at the deploy service of the WAS?
    Thank you in advance,
    Roy

    Hi Peter,
    I've reproduced the problem and created a thread dump. I believe these lines are the important ones:
    "SAPEngine_Application_Thread[impl:3]_10" prio=5 tid=0x080cc9d8 nid=0x18e0 in Object.wait() [8a8f000..8a8fdb8]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x14450d88> (a java.lang.Object)
         at java.lang.Object.wait(Object.java:429)
         at com.sap.engine.services.ejb.EJBAdmin.destroyContainers(EJBAdmin.java:1145)
         - locked <0x14450d88> (a java.lang.Object)
         at com.sap.engine.services.ejb.EJBAdmin.commitStop(EJBAdmin.java:2529)
         at com.sap.engine.services.deploy.server.application.StopTransaction.commonCommitFinished(StopTransaction.java:262)
         at com.sap.engine.services.deploy.server.application.StopTransaction.commitCommon(StopTransaction.java:305)
         at com.sap.engine.services.deploy.server.application.StopTransaction.commit(StopTransaction.java:291)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:310)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesImpl(ParallelAdapter.java:327)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.runInTheSameThread(ParallelAdapter.java:111)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesAndWait(ParallelAdapter.java:230)
         at com.sap.engine.services.deploy.server.application.RemoveTransaction.begin(RemoveTransaction.java:133)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:292)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:326)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3139)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.remove(DeployServiceImpl.java:903)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.remove(DeployServiceImpl.java:5056)
         at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:885)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:304)
         at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:193)
         at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:122)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Could you please advise how to proceed from here?
    Thank you in advance,
    Roy

Maybe you are looking for

  • Problems with Apps on my Ipod Touch

    When My Ipod touch battery dies I have to redownload my apps. When the battery completly dies the apps no longer open adn I must reset all the settings and redownload. Anyone else have this problem or have any suggestions on how to fix this?

  • How to call stored procedure in SYBASE using callable statement

    Hi all, Im using jdbc code to execute a stored procedure in sybase but while running the code i get an error saying java.sql.SQLException: JZ0R2: No result set for this query. at com.sybase.jdbc2.jdbc.ErrorMessage.raiseError(ErrorMessage.java:506) at

  • How to searc a different field in a database depending on user input

    I havea page with witha search form that has a search from and a number of radio buttons to choose from. The radio buttons have the same name as particular fields in my database. Ther serach form is shown here. <form name="searchForm" id="searchForm"

  • How to retrive the passport details from hrms in R12

    Dear all, I want to retrive the passport and salary details from hrms table. I identified the tables and i used the below query. But it is retriving duplicate records and as i' new to HRMS, ia m not sure the data which is retriveing. So can you anyon

  • Xml database error

    Create a table employee having (dept_id : number, employee_spec : XMLType). The employee_spec is a schema with attributes emp id, name, email, acc_no, managerEmail, dateOf Joning. Insert 10 tuples into employee table.Fire the following queries on XML