Menu

27 Aralık 2012 Perşembe

weblogic ile komut satirindan deploy ve undeploy etmek

Bu makalemizde, weblogic server`imiza bir projemizi nasil deploy edecegimizi gorecegiz.

deploy icin(windows):
C:\Oracle\Middleware\wlserver_10.3\server\lib> java weblogic.Deployer -adminurl http://localhost:7001 -username weblogic -password mypass -name myApp -source 
e:\myapp.war -targets DefaultServer -deploy

Not eger hatayi alirsaniz classpath ile ilgili asagikini yapmamiz gerekiyor,
C:\Oracle\Middleware\wlserver_10.3\server\lib> set CLASSPATH=%CLASSPATH%;C:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic.jar
deploy islemini tekrar yaptiginizda calisacaktir.

redeploy icin :
C:\Oracle\Middleware\wlserver_10.3\server\lib> java weblogic.Deployer -adminurl http://localhost:7001 -username weblogic -password mypass -name myApp -redeploy

undeploy icin :
C:\Oracle\Middleware\wlserver_10.3\server\lib> java weblogic.Deployer -adminurl http://localhost:7001 -username weblogic -password mypass -name myApp -undeploy

butun deploy olmus uygulamalari gormek icin :
C:\Oracle\Middleware\wlserver_10.3\server\lib> java weblogic.Deployer -adminurl http://localhost:7001 -username weblogic -password mypass -name  -listapps

Hiç yorum yok:

Yorum Gönder