gkaindia.com

Home > > Ant task for creating a new weblogic domain in weblogic 10.3

Ant task for creating a new weblogic domain in weblogic 10.3

Advertisement
Hi,
Can anybody help me in writing an ant task in build.xml for creating a new weblogic domain in weblogic 10.3, like as in <target name="new-domain">
     <echo message=""/>
     <echo message="Attempting to create new domain:"/>
     <delete dir="C:\bea\user_projects\domains" />
     <mkdir dir="C:\bea\user_projects\domains"/>
     <wlserver dir="C:\bea\user_projects\domains" domainname="mydomain"
     host="127.0.0.1" port="7001"
     generateConfig="true" servername="AdminServer" username="weblogic"
     password="weblogic" action="start"/>
     </target>
Please suggest me adding something to the above in order to create the domain successfully.
Advertisement
Hi,
Can anybody help me in writing an ant task in build.xml for creating a new weblogic domain in weblogic 10.3, like as in <target name="new-domain">
     <echo message=""/>
     <echo message="Attempting to create new domain:"/>
     <delete dir="C:\bea\user_projects\domains" />
     <mkdir dir="C:\bea\user_projects\domains"/>
     <wlserver dir="C:\bea\user_projects\domains" domainname="mydomain"
     host="127.0.0.1" port="7001"
     generateConfig="true" servername="AdminServer" username="weblogic"
     password="weblogic" action="start"/>
     </target>
Please suggest me adding something to the above in order to create the domain successfully.
Read the other 9 answers
I have written the following ant task to create a new connection pool in weblogic 10.3. <target name="pool.dev">      <wlconfig url="http://localhost:7001/" username="weblogic" password="weblogic">      
Created an ADF declarative component, exported it as an ADF library and got it working fine. The ADF Library jar was created within JDeveloper by setting up a Deployment profile. The created ADF Library file has the TLD file and TagHandler / Componen
Hi, We have an installer script that deploys an ear file to a weblogic managed server. The script also invokes the build-tin wlst ant task to bounce the managed server. However, in version 10.3.1 the wlst task seems to be broken. I get this error: [e
In eclipse, for weblogic 9.2 Using the wsdlc WebLogic Web Services Ant Task, I am trying to auto-generate the java files for the web service based on the WSDL. I have specified the packageName as one of the parameters. However the java files are bein
I need to create xml-rpc types from given xml schema files. It seems we can do this using options in weblogic workshop. However, I need an ant task to do same. Which ant task should I be using to do this? It will be great if you can also share an exa
Hi friends I was trying to create an ear file out of my process definitions and deploy on weblogic instead of deploying it from Workshop. I heard that there are ANT tasks available that do this but I couldn't find much detail. I was wondering if some
Hi, While referring to http://weblogic-wonders.com/weblogic/2010/07/24/datasource-creation-using-ant-task-wlconfig/ when we try to create a DataSource using ANT Task <taskdef name="wlconfig" classname="weblogic.ant.taskdefs.management.WL
In the online Docs, I found info regarding creating ant tasks to start and configure the WebLogic server. But I would like to also have an ant task that will start Pointbase. I have created ant tasks that will connect to pointbase and create/fill a d
problem deploying app on managed server: application is packaged by wlpackage: <taskdef name="wlpackage" classname="weblogic.ant.taskdefs.build.WLPackageTask" classpathref="task.classpath"/> <target name = "pack
hi, i am looking to use xmlbeans to generate stubs for the input arameters and the output returned by the webservice designed using XSD schemas. I am not planning to use weblogic workshop and will be using only weblogic server 8.1 sp3 server to imple
hi, i am looking to use xmlbeans to generate stubs for the input arameters and the output returned by the webservice designed using XSD schemas. I am not planning to use weblogic workshop and will be using only weblogic server 8.1 sp3 server to imple
wldeploy ant task while deploying the application deploys it under <configured weblogic upload dir>/<application name>/app/ application name. Is there any way we can change this behaviour as we couldnt find the options in ant task to change it
Hi, I'm sure I'm not the only person that uses the MappingTool Ant task to create SQL DDL, so why isn't there a way to tell it to use the correct database dictionary? When I run the ant task, the SQL producted is incorrect for my database type. I've
When I use the wlserver task is in ant build file I get an error saying class weblogic.ant.taskdefs... not found even though I have set it in my build file.. I am not using ant which comes with weblogic. AnilI heard that wlconfig and wlserver ant tas
Hi, I have to upgrade weblogic 8.1 to weblogic 10.3 and I am using vanilla version of it. the first step to it is to create weblogic domain and then configure it and then start teh server and then deploy it. The problem starts when I am creating the
Hi, I am using ant tasks wlserver and wlconfig to configure my weblogic server. while creating a connection pool as shown below <target name="jdbcinfo"> <wlconfig password="weblogic" username="weblogic" url="${u
We are planning to create a new Execute Queue for a existing server in weblogic 8.1. When we create a new execute queue through the web admin console it add the following line within the Server tag in config.xml. <?xml version="1.0" encoding=
When I try to run clientgen ant task for a WSDL (pertaining to a .NET webservice on a non-weblogic server) in Weblogic 8.1 SP4, I'm getting the following errors. I'm running setEnv command, clientgen ant task from command prompt in WLS_HOME/user_proj
I am attempting to set up a WLST script to automatically set up my domain. The following is a minimal version of the Ant task I'm using: <wlst debug="true" failOnError="true">     <classpath>         <pathelement locatio