Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to deploy an application in offline mode of WLST 8.1

248 views
Skip to first unread message

harp...@gmail.com

unread,
May 18, 2007, 1:53:06 PM5/18/07
to
Hi, I am trying to deploy an application using wlst offline and am
getting an exception about not finding resource. I am at end of my
wits. any help would be appreciated. Here is sample script

readDomain('demodomain')
app=create('demoApp','Application')
assign('Application','demoApp','Target','admin')

it fails while assiging resource to target with following message:

wls_offline:/demodomain/Application/demoApp>dumpStack()
com.bea.plateng.domain.script.jython.WLSTException:
com.bea.plateng.domain.script.ScriptException: Unable to find the
specified application or service

harp...@gmail.com

unread,
May 18, 2007, 2:22:36 PM5/18/07
to
ok, I am able to resolve it. I was missing few step there. We need to
have atleast one deployable component in there. Here is working

script:
readDomain('demodomain')
app=create('demoApp','Application')
cd('Application/demoApp')
web=create('demoWebApp','WebAppComponent')
web.setURI('demoWebApp.war')
cd('..')
app.setStagingMode('external_stage')
cd('/')

assign('Application','demoApp','Target','admin')
updateDomain()
closeDomain()
exit()

0 new messages