• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Weblogic start in production mode

 
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have created the domain using offline WLST and have set the mode to production mode .

readTemplate('wls.jar')
loadProperties('domain.py.properties')


cd('Servers/AdminServer')
set('Name', adminServerName)
set('ListenAddress',listenAddress)
set('ListenPort',int(adminServerPort))
set('TunnelingEnabled', 1)

create(adminServerName,'SSL')
cd('SSL/'+adminServerName)
set('Enabled', 'True')
set('ListenPort', 7002)


setOption('DomainName', 'MyDomain')
setOption('OverwriteDomain', 'true')
setOption('ServerStartMode', 'prod')
setOption('AutoAdjustSubDeploymentTarget', 'false')

writeDomain(DomainDir)

After creation of domain, I tries to start the weblogic using startWeblogic.sh . On running on this script, it prompts me for username and password.

However if i remove this line setOption('ServerStartMode', 'prod') , then it works fine.

I am thinking in production mode , script is not able to find boot.properties.

Help me out on this issue.
 
Bartender
Posts: 6663
5
MyEclipse IDE Firefox Browser Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How about tweaking the startup script to accept your username and password ? I have rarely used WL in PROD mode, so I cannot remember why it exhibits this behavior, although I remember WL acting this way.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic