• 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
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

ANT how to start and stop a weblogic server using wlserver task

 
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

I wanted to start and stop a weblogic server using ant weblogic tasks i tried a lot but could not figure it out
I used ant exec task using this task we can start and stop a weblogic server but this is not what i am looking for
i want to start and stop a weblogic server using ant, i googled this but i could not trace it, but what i found is that wlsever task is used to start and stop a weblogic server but the thing is i am quite confused with the jar file
what is the jar file used for wlserver task and how to refer that through ant build.xml

any help is greatly appreciated, please any one help me

Thanks
ragz

 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Since your are asking about ant tasks supplied with WLS, you might get better results form the WLS forum. Moving.
 
Ranch Hand
Posts: 88
Spring Tomcat Server Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Here's what you need to do:

1. Open command prompt, add ant in your classpath
2. Then navigate to <Weblogic_domain>\bin from same command prompt, and call setDomainEnv.cmd or .sh
3. and now from same command prompt fire your ant xml conatining wlserver task.

Hope it helps.
 
I'm not dead! I feel happy! I'd like to go for a walk! I'll even read a tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic