X

Shay Shmeltzer's Oracle Development Tools Tips

  • August 6, 2009

Removing Applications from your Integrated WebLogic Server in JDeveloper

Shay Shmeltzer
Director of Product Management - Oracle

JDeveloper has an integrated WebLogic Server now - and when you deploy the applications to it, it behaves a little different then in the old days of OC4J. For example you can have multiple applications deployed and running at the same time on the server.

However, sometimes one of those application might still be around when you don't need it anymore. This can happen for example if you had your WLS running and killed it with the task manager.

This might cause an error when you try and run the application again - saying that the application is already up there.

The nice thing in JDeveloper is that you can actually undeploy that application directly from inside JDeveloper. Here is how:

From the View menu choose Application Server Navigator

Expend the IntegratedWLSConnection to look at the applications that are available.

(By the way, you should see there all the ADF libraries, DO NOT UNDEPLOY THEM)




wls001.jpg







Next you can locate your application, right click it and undeploy it.

wls002.jpg




That's it.

You should now be able to redploy it.

Join the discussion

Comments ( 8 )
  • Mahmoud Wednesday, April 14, 2010
    I tried to make what you did but when i began to expand + symbol of the deployments, a message appeared and it is as follows:
    the connection couldn't be established
    :S help me in this
    thanks
    regards,
    Mahmoud
  • shay.shmeltzer Wednesday, April 14, 2010
    Make sure that you have started the embedded server before you try and edit it.
  • Dino Kantardzic Wednesday, April 28, 2010
    I do as you say and it tells me that undeployment has failed. It does not say why or give a specific error message. My main problem is that I can not launch any application. I tried creating a jspx. page but when i clicked deploy it gave me a remote deploy failed error. After a lot of searching it led me to here and to trying to undeploy my older apps in the hope it will do something but I can not even undeploy them. Any help would be greatly appreciated as I am new to Jdeveloper (actually I was working through one of your tutorials when the error occured)
  • shay.shmeltzer Wednesday, April 28, 2010
    Dino,
    I'm not exactly sure what the problem is - but one thing that usually works is removing the instance of the integrated server - by removing the directory:
    C:\Documents and Settings\username\Application Data\JDeveloper\system11.1.1.2.36.55.36\DefaultDomain
    Then restarting JDeveloper - JDeveloper will just recreate a clean WebLogic Server for you.
  • Ravi Nuka Tuesday, May 31, 2011
    Thanks a lot for the great info. I faced the exact situation and did as you said and it is working absolutely fine now. Whoa!!
  • guest Friday, August 12, 2011

    After 4 hours of trying to figure out how to remove a deployment this worked like a charm... I even tried from the weblogic console and no luck.

    Thanks!


  • guest Saturday, February 11, 2012

    excellent hint!


  • guest Monday, December 3, 2012

    Great this worked out for me too


Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.