Javafx ant task for msvcr100.dll

I had the problem that the native exe-install package generated did not work.
As I read in this forum, it is a problem with the Inno Setup tool, which generates a launcher that fails to load msvcr100.dll on 32-bit machines (if no JRE is installed)!
The workaround (which is also used by the JavaFX Scene Builder) is to add a copy of msvcr100.dll either next to the launcher executable or in the apps folder.
How can I modify build.xml (I am using Netbeans 7.4) to add this file to the native installer?
I am trying to add some -pre-jfx-deploy target which adds msvcr100.dll as a resource:
          <fx:resources id="appRes">
                <fx:fileset requiredFor="startup" dir="${basedir}">
                    <include name="msvcr100.dll"/>
                </fx:fileset>
            </fx:resources>
but I cannot get it to work. The file never ends up in the on-click-installer exe. 

Thanks for replying.
I think you're right about the need to copy the files into the directories that the DMG maker are using.
The problem is I don't know what directories DMG maker are using as the source.
For example, if I have a manual.pdf file that I want to copy to a Doc folder (see below), how can I do that?
My shell script looks like this:
cp "/Users/ytw/Documents/dev/src/myApp/doc/manual.pdf" "/Users/ytw/Documents/dev/src/myApp/dist/bundles/myApp.app/Contents/doc"Manual.pdf got copied to the app bundle's Contents directory correctly, but apparently, DMG maker is not reading from there OR DMG maker finished packaging before the file was copied.
- myApp.app
        - Contents (folder)
                - Java (folder)
                - MacOS (folder)
                - PlugIns (folder)
                - Resources (folder)
                - Doc (folder)
                        - manual.pdf (file)Thanks.
Edited by: 925616 on Aug 29, 2012 6:34 PM
Edited by: 925616 on Aug 29, 2012 6:36 PM

Similar Messages

  • Problems with wlserver ant task for WL 8.1

    hi
    i have a problem with using wlserver ant task for Weblogic 8.1
    basically i want to start the server that is already preconfigured and deploy
    one ear.
    here's what i do:
    <taskdef name="wlserver" classname="weblogic.ant.taskdefs.management.WLServer">
    <classpath refid="lib.classpath"/>
    </taskdef>
    <wlserver action="start" dir="D:/BEA/user_projects/domains/mydomain"
    output="wls81.log"/>
    (and then the deployment task - irrelevant here)     
    the classpath is generated automatically and includes all jars in the specific
    project directory:
         <path id="lib.classpath">
         <fileset dir="${proj.lib.dir}">
              <include name="**/*.jar"/>
         </fileset>
         </path>
    (weblogic.jar is there as well)
    the problem is when i run it, the following happens:
    - if i have action="start" (or no action attribute at all), i get the following
    exception:
    java.lang.NullPointerException
    at weblogic.Home.<init>(Home.java:29)
    at weblogic.Home.getInstance(Home.java:86)
    at weblogic.Home.getPath(Home.java:94)
    at weblogic.Home.getFile(Home.java:99)
    at weblogic.ant.taskdefs.management.WLServer.execute(WLServer.java:260)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:193)
    at org.apache.tools.ant.Task.perform(Task.java:341)
    at org.apache.tools.ant.Target.execute(Target.java:309)
    at org.apache.tools.ant.Target.performTasks(Target.java:336)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
    at org.apache.tools.ant.Main.runBuild(Main.java:609)
    at org.apache.tools.ant.Main.start(Main.java:196)
    at org.apache.tools.ant.Main.main(Main.java:235)
    - if i change it to action="startup" as specified on "wlserver Ant Task Reference"
    it seems that this task is skipped completely. no error messages, no stack trace,
    nothing. i tried -verbose and -debug options on ant, but there're no logs displayed
    whatsoever. it takes less than a second to run this task so i presume it's just
    getting skipped completely.
    i run this from the standalone Ant 1.5.4 on Windows environment.
    i've followed the topic "wlserver Ant task for WebLogic 8.1" where kind of similar
    problem is described but putting weblogic.jar on the system CLASSPATH is not an
    option for this project.
    anyone has any idea about how to get this going?
    cheers
    Andrei

    sounds bug to me. NPE should be correctly handled with appropriate error
    message. Please contact BEA support to log the call.
    "Andrei Rusakou" <[email protected]> wrote in message
    news:[email protected]...
    >
    hi
    i have a problem with using wlserver ant task for Weblogic 8.1
    basically i want to start the server that is already preconfigured anddeploy
    one ear.
    here's what i do:
    <taskdef name="wlserver"classname="weblogic.ant.taskdefs.management.WLServer">
    <classpath refid="lib.classpath"/>
    </taskdef>
    <wlserver action="start" dir="D:/BEA/user_projects/domains/mydomain"
    output="wls81.log"/>
    (and then the deployment task - irrelevant here)
    the classpath is generated automatically and includes all jars in thespecific
    project directory:
    <path id="lib.classpath">
    <fileset dir="${proj.lib.dir}">
    <include name="**/*.jar"/>
    </fileset>
    </path>
    (weblogic.jar is there as well)
    the problem is when i run it, the following happens:
    - if i have action="start" (or no action attribute at all), i get thefollowing
    exception:
    java.lang.NullPointerException
    at weblogic.Home.<init>(Home.java:29)
    at weblogic.Home.getInstance(Home.java:86)
    at weblogic.Home.getPath(Home.java:94)
    at weblogic.Home.getFile(Home.java:99)
    atweblogic.ant.taskdefs.management.WLServer.execute(WLServer.java:260)
    atorg.apache.tools.ant.UnknownElement.execute(UnknownElement.java:193)
    at org.apache.tools.ant.Task.perform(Task.java:341)
    at org.apache.tools.ant.Target.execute(Target.java:309)
    at org.apache.tools.ant.Target.performTasks(Target.java:336)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
    at org.apache.tools.ant.Main.runBuild(Main.java:609)
    at org.apache.tools.ant.Main.start(Main.java:196)
    at org.apache.tools.ant.Main.main(Main.java:235)
    - if i change it to action="startup" as specified on "wlserver Ant TaskReference"
    it seems that this task is skipped completely. no error messages, no stacktrace,
    nothing. i tried -verbose and -debug options on ant, but there're no logsdisplayed
    whatsoever. it takes less than a second to run this task so i presume it'sjust
    getting skipped completely.
    i run this from the standalone Ant 1.5.4 on Windows environment.
    i've followed the topic "wlserver Ant task for WebLogic 8.1" where kind ofsimilar
    problem is described but putting weblogic.jar on the system CLASSPATH isnot an
    option for this project.
    anyone has any idea about how to get this going?
    cheers
    Andrei

  • Ant tasks for creating ADF Library

    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 / Component class files created on the fly and packaged.
    Not sure of how We could get the same ADF library created by an Ant task. Are there Ant tasks for creating ADF library available? http://www.connotea.org/user/jdeveloper/tag/ant has some details on the JDeveloper based ant tasks but doesn't have details on creating ADF library.

    You can use the ojdeply executable to create and deploy your ADF Library from the commandline:
    <Jdev-install-location>/jdeveloper/jdev/bin/ojdeploy -workspace /mydirectory/yourworkspace.jws -profile yourprofile -project yourproject.jpr

  • Ant tasks for UDDI

    Hey is anyone aware of ant tasks for UDDI configurations at build time for specifically oracle,
    thanks all,
    jp.

    http://www.google.com/search?q=UDDI+configurations+at+build+time+for+specifically+oracle&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a

  • Ant tasks for mxmlc/compc?

    Are there "official" Ant tasks for mxmlc/compc?

        <taskdef name="mxmlc" classname="flex.ant.MxmlcTask" classpath="${flexTasks.jar.loc}" />
        <taskdef name="compc" classname="flex.ant.CompcTask" classpath="${flexTasks.jar.loc}" />

  • Ant tasks for portal's dpadmin and par commands

    Has anyone written ant tasks for the dpadmin and par commands? If you look at the shell scripts for dpadmin and par, they are just setting up environment for java method invocation and command-line parsing.

    I created some simple targets to deploy my portlets (copy jsp files and classes to appropriate directories) and the declare them with a target that invoked the dpadmin tool on my desktop xml file. I had experimented around with changing the directory priviledges in order to run my build script as a user other than root but had little success. I am sure building a custom ant task wrapped around dpadmin and par commands would be trivial to implement.

  • Error in writing an Ant task for creating a new connection pool.

    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">
         <query domain="C:/weblogic/rtg-L0" name="myserver"/>
         <create type="JDBCConnectionPool" name="OneSourceConnectionPool">
         <set attribute="DriverName"
         value="oracle.jdbc.OracleDriver"/>
         <set attribute="InitialCapacity" value="1"/>
         <set attribute="MaxCapacity" value="5"/>
         <set attribute="Password" value="rating"/>
         <set attribute="Properties" value="user=rating"/>
         <set attribute="RefreshMinutes" value="0"/>
         <set attribute="ShrinkPeriodMinutes" value="15"/>
         <set attribute="ShrinkingEnabled" value="true"/>
         <set attribute="TestConnectionsOnRelease" value="true"/>
         <set attribute="TestConnectionsOnReserve" value="true"/>
         <set attribute="TestConnectionsOnCreate" value="true"/>
         <set attribute="TestTableName" value="SQL SELECT 1 FROM DUAL"/>
         <set attribute="URL"
         value="jdbc:oracle:thin:@xyz.com:1522:oradvl"/>
         <set attribute="Targets" value="myserver"/>
         </create>
         </wlconfig>
    </target>
    When I run it, I see the following error:
    BUILD FAILED
    C:\ganymede\eclipse\workspace1\RtgSvr\build.xml:286: Failed to connect to the server: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
         java.io.EOFException]
    Can anybody please help me regarding this...
    Thank you,
    Sowmya

    Hi everybody,
    Thank you very much for your replies....actually I added weblogic.jar to the classpath of the target. So, now I dont see that error. But, I have another problem which is as follows:
    <target name="initJDBC">
    <wlconfig url="t3://${host}:${port}" username="${username}" password="${password}">
         <query domain="domain.name" type="Server" name="${target.server}" property="${target.server}"/>
         <create type="JDBCConnectionPool" name="TestConnectionPool">
         <set attribute="DriverName" value="oracle.jdbc.OracleDriver"/>
         <set attribute="Password" value="welcome"/>
         <set attribute="Properties" value="user=welcome"/>
         <set attribute="URL" value="jdbc:oracle:thin:@test.com:1522:oradvl"/>
              <set attribute="Targets" value=""/>
         <set attribute="TestTableName" value="SQL SELECT 1 FROM DUAL"/>
         <set attribute="TestConnectionsOnRelease" value="false"/>
         <set attribute="TestConnectionsOnReserve" value="true"/>
         </create>
         <create type="JDBCDataSource" name="TestDataSource">
              <set attribute="JNDIName" value="TestDataSource"/>
              <set attribute="PoolName" value="TestConnectionPool"/>
              <set attribute="Targets" value=""/>
              </create>
         </wlconfig>
         </target>
    I am not knowing what to give in the value field of <set attribute="Targets" value=""/>. The following is my build.properties file:
    target.server=myserver
    host=127.0.0.1
    port=7001
    username=weblogic
    password=weblogic
    domain.name=testDomain
    If I give <set attribute="Targets" value="${myserver}"/>, I get the following error:
    BUILD FAILED
    C:\ganymede\eclipse\workspace1\TestSvr\build.xml:290: Property not set: ${myserver}
    When I set myserver=myserver in build.properties, I get the following error:
    BUILD FAILED
    C:\ganymede\eclipse\workspace1\TestSvr\build.xml:290: Error invoking MBean command: java.lang.IllegalArgumentException: Property Name and value not valid for the MBean. Value myserver for parameter[Targets].java.lang.IllegalArgumentException: Unable to convert the argument valuemyserver to class javax.management.ObjectName.java.lang.reflect.InvocationTargetException
    Can someone plzz help me in this regard.
    Thank you,
    Sowmya

  • Ant task for creating a new weblogic domain in weblogic 10.3

    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.

    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.

  • Ant tasks for oracle

    Can anyone tell me where I can get this ant task "<oracle:shutdownServer|restartServer ..>" which is clearly documented in the Oracle PDF - "Oracle Containers for J2EE Deployment Guide"
    http://download-east.oracle.com/docs/cd/B32110_01/web.1013/b28951.pdf
    I have the ant-oracle-classes.jar for our 10.1.3.1 and have searched the antlib.xml contained within the jar and there is no reference to these tasks.
    I have searched all jars in our oracle base and there are no references to these ant taskdefs anywhere.
    Is there a patch for this, our is there a seperate download required?
    Thanks for any help on this,
    JP.

    John this issue looks similar to bug 6020713 raised against 10.1.3.2 OC4J on solaris, which states that antlib.xml file is missing the following values.
    < taskdef name="restartServer" classname="oracle.ant.taskdefs.deploy.JSR88StartServer"/>
    < taskdef name="shutdownServer" classname="oracle.ant.taskdefs.deploy.JSR88ShutdownServer"/>
    It looks like 10.1.3.1 also has this issue on windows as the classes exist in the ant-oracle-classes.jar.
    You should raise an SR to clarify this oracle support.
    Cheers
    Jeff

  • Using Eclipse Ant tasks - for web service client creation

    Hi,
    I am following Eclipse documentation for creating Axis runtime environment web services and clients using web services Ant tasks.
    As per document when I import Ant files into workspace, files that will be imported are wsgen.xml (Ant file) , axisservice.properties and axisclient.properties but for me these files are not getting imported into the project instead files axis_bujava.properties and axis_bujava.xml are imported.
    Please do let me know if anyone have any ideas on this asap.
    Thanks,
    Roopa.

    Hi,
    I am following Eclipse documentation for creating Axis runtime environment web services and clients using web services Ant tasks.
    As per document when I import Ant files into workspace, files that will be imported are wsgen.xml (Ant file) , axisservice.properties and axisclient.properties but for me these files are not getting imported into the project instead files axis_bujava.properties and axis_bujava.xml are imported.
    Please do let me know if anyone have any ideas on this asap.
    Thanks,
    Roopa.

  • Ant Tasks for Pointbase

    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 database and another ant task that will drop a database. But I can't find any
    info about starting the Pointbase database. All of the BEA documentation only
    says to manually start the Pointbase database and then continue.
    Has anyone created or knows of an ant task that will launch Pointbase?? In my
    case, I'm only trying to launch and use Pointbase from the BEA directories.
    Jerald

    We have an ant task, but we dont doc it. This is in 8.1
    <taskdef name="pointbase"
    classname="weblogic.ant.taskdefs.pointbase.PointBase"/>
    <property name="pointbase.dbfile"
    value="${database.dir}/${pointbase.db.name}.dbn"/>
    <property name="pointbase.log" value="pointbase.log"/>
    <property name="pointbase.driver"
    value="com.pointbase.jdbc.jdbcUniversalDriver"/>
    <property name="pointbase.url"
    value="jdbc:pointbase:server://${pointbase.host}:${pointbase.port}/${pointba
    se.db.name}"/>
    <property name="pointbase.url.new"
    value="jdbc:pointbase:server://${pointbase.host}:${pointbase.port}/${pointba
    se.db.name},new"/>
    <target name="db.start">
    <!-- Start PointBase -->
    <echo message="Starting Pointbase..."/>
    <pointbase displaylevel="3" file="${pointbase.log}"
    home="${database.dir}"/>
    <sleep seconds="5"/>
    </target>
    Cheers
    mbg
    "Jerald Pratt" <[email protected]> wrote in message
    news:3f94d989$[email protected]..
    >
    In the online Docs, I found info regarding creating ant tasks to start andconfigure
    the WebLogic server. But I would like to also have an ant task that willstart
    Pointbase. I have created ant tasks that will connect to pointbase andcreate/fill
    a database and another ant task that will drop a database. But I can'tfind any
    info about starting the Pointbase database. All of the BEA documentationonly
    says to manually start the Pointbase database and then continue.
    Has anyone created or knows of an ant task that will launch Pointbase??In my
    case, I'm only trying to launch and use Pointbase from the BEAdirectories.
    >
    Jerald

  • Where do I find the ANT task for creating ear file in WLI

    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 somebody can point me to any documentation or anything that'll help me achieve this.
    Thanks.
    Bijan

    This may help

  • JDeveloper 10g, ADF, ANT:How to define ant task for EAR & WAR file creation

    I am trying to automate the deployment process of our ADF Faces & BC application. I have reviewed this doc:
    http://download.oracle.com/docs/cd/B31017_01/web.1013/b28951/anttasks.htm
    and followed the procedure for integrating ant onto the server. I can build the project and also successfully deploy the ear file. Howerver, I did not find any instruction on how to generate the EAR file. Can anyone point me to the right place for this task definition?
    Here is my current build.xml file.
    <?xml version="1.0" encoding="windows-1252" ?>
    <!--Ant buildfile generated by Oracle JDeveloper-->
    <!--Generated Jul 16, 2007 12:20:13 PM-->
    <project name="CRDBApps" default="build-all" basedir="." xmlns:oracle="antlib:oracle">
    <property file="build.properties"/>
    <property file="ant-oracle.properties"/>
    <target name="clean-all" depends="">
    <ant antfile="build.xml" dir="CRDBView" target="clean"/>
    <ant antfile="build.xml" dir="CRDBLib" target="clean"/>
    <ant antfile="build.xml" dir="CRDBModel" target="clean"/>
    </target>
    <target name="build-all" depends="clean-all">
    <ant antfile="build.xml" dir="CRDBView" target="compile"/>
    <ant antfile="build.xml" dir="CRDBLib" target="compile"/>
    <ant antfile="build.xml" dir="CRDBModel" target="compile"/>
    </target>
    <target name="deployear" depends="">
    <echo message="-----> Deploying the application module deployment (ear) file"/>
    <oracle:deploy deployerUri="deployer:oc4j:opmn://myserver/home"
    userid="oc4jadmin"
    password="password"
    file="CRDBView/deploy/CRDBApps.ear"
    deploymentName="CRDBApps"
    bindAllWebApps="default-web-site"/>
    </target>
    </project>
    thanks!
    Wes

    Thanks all for the tips. After reading up a bit today on ear/war files and ant. I ended up just creating a task to mimic the ear/war file structure. My script isnt pretty but I'll work on refining that later. Here is what I have if anyone ever is interested:
    <target name="war" depends="">
    <echo message="Executing target war..."/>
    <mkdir dir="war"/>
    <copydir src="CRDBView\public_html" dest="war\"/>
    <copydir src="CRDBView\classes" dest="war\WEB-INF\classes"/>
    <copydir src="CRDBModel\classes" dest="war\WEB-INF\classes"/>
    <copydir src="CRDBLib\classes" dest="war\WEB-INF\classes"/>
    <echo message="Creating war file..."/>
    <jar basedir ="war" destfile="CRDBApps.war"/>
    <echo message="Done executing target war..."/>
    </target>
    <target name="ear" depends="war">
    <echo message="Executing target ear..."/>
    <mkdir dir="ear\META-INF"/>
    <copydir src="CRDBView\deploy\META-INF" dest="ear\META-INF"/>
    <copy file="CRDBApps.war" todir="ear\"/>
    <jar basedir ="ear" destfile="CRDBApps.ear"/>
    <echo message="Done executing target ear..."/>
    </target>
    <target name="cleanAndDeployCRDBApps" depends="build-all,deployear">
    <echo message="Executing target cleanAndDeployCRDBApps..."/>
    <delete dir="war"/>
    <delete dir="ear"/>
    <echo message="Done executing target cleanAndDeployCRDBApps..."/>
    </target>
    <target name="deployear" depends="ear">
    <echo message="Executing target deployear"/>
    <oracle:deploy deployerUri="deployer:oc4j:opmn://myserver:6003/home"
    userid="oc4jadmin"
    password="password"
    file="CRDBApps.ear"
    deploymentName="CRDBApps"
    bindAllWebApps="default-web-site"/>
    <delete file="CRDBApps.ear"/>
    <delete file="CRDBApps.war"/>
    <echo message="Done executing target deployear"/>
    </target>
    ...

  • Is there an ant task on FlexUnit to open browser with swf embedded?

    Here is the same (unanswered) question asked by someone else: http://forums.adobe.com/thread/740495?tstart=0#740495
    Basically I need to open my flex app in a browser window from ant, and the FlexUnit task apparently does not support this.
    I have downloaded a sample from FlexMonkey. When they (sample writers) execute flexunit in this sample, one of the arguments to FU is "url". However, I can find no evidence of this version of FU (that uses that "url" argument) existing anywhere. Using the swf argument doesn't work as documented in the previous question above. So I don't know if my problem is Flex version, or it's just not supported by FlexUnit.
    I'm using the Flex sdk 3.2.0 and the FU libraries below:
    flexunit-4.1.0-33-as3_3.5.0.12683.swc
    flexunit-4.1.0-33-flex_3.5.0.12683.swc
    flexunit-cilistener-4.1.0-33-3.5.0.12683.swc
    flexunit-uilistener-4.1.0-33-3.5.0.12683.swc
    flexUnitTasks-4.1.0-33.jar
    Please tell me if this issue has been solved and if so what libraries I need to implement it. If it is done for Flex 4.x, but not for Flex 3.2, perhaps you could guide me to the java source for the ant task for Flex 4.x so that I can implement this for Flex 3.2 or Flex 3.x.
    thanks,
    Phil

    @Linden - Have not heard of this side effect from anyone as of yet, but good to know.  Sounds like the file lock is coming from the Flash Player and causing the spawning process (rundll32.exe) to hang around as well.  The FlexUnit team runs on Hudson using the FlexUnit Ant task, but we don't seem to encounter the same issue.  What's the longest interval you've tried to use with the sleep task?  Does the FP ever release its handle to the test SWF on your development machines?
    Not sure this is a problem with the FlexUnit Ant task, but in 4.2 we could try to explicitly kill the rundll32 process since we'll have the PID when the task launches it.  Head on over to JIRA and file a feature request for us and I'll see what I can do in the new year.  In the short term though, maybe try upgrading your version of the stand alone debug flash player to see if that helps.  Has anyone else seen this issue?  Could you possible just move the clean target to be called before the xci-test target is run?  Just some suggestions.
    -Brian

  • Not able to create a new domain through ant task

    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 domain, I am using ant task for domain creation and following these steps
    http://download.oracle.com/docs/cd/E12840_01/wls/docs103/programming/ant_tasks.html
    when ant-task is trying to build the specified domain, it is looking for some config.xml and that config.xml should also generated by wlserver/ant task through a template. I have no idea, where and how to define that template.. hence getting following error.. tried hard but not able to get through. can anyone please help..
    Thanks in Advance
    Error stack trace:
    [WLServer THS-SA-Admin] <Feb 16, 2009 1:49:27 PM IST> <Info> <Management> <BEA-1
    40013> <C:\WIRES\Standalone\weblogic\domains\THSStandAlone\config\config.xml not
    found>
    [WLServer THS-SA-Admin] <Feb 16, 2009 1:49:27 PM IST> <Info> <Management> <BEA-1
    41254> <Generating new domain directory in C:\WIRES\Standalone\weblogic\domains\
    THSStandAlone>
    [WLServer THS-SA-Admin] <Feb 16, 2009 1:49:28 PM IST> <Critical> <WebLogicServer
    <BEA-000362> <Server failed. Reason:[WLServer THS-SA-Admin] There are 1 nested errors:
    [WLServer THS-SA-Admin] weblogic.management.ManagementException: Failure during
    domain creation
    [WLServer THS-SA-Admin] at weblogic.management.internal.DomainDirectoryS
    ervice.generateDomain(DomainDirectoryService.java:229)
    [WLServer THS-SA-Admin] at weblogic.management.internal.DomainDirectoryS
    ervice.ensureDomainExists(DomainDirectoryService.java:152)
    [WLServer THS-SA-Admin] at weblogic.management.internal.DomainDirectoryS
    ervice.start(DomainDirectoryService.java:72)
    [WLServer THS-SA-Admin] at weblogic.t3.srvr.ServerServicesManager.startS
    ervice(ServerServicesManager.java:459)
    [WLServer THS-SA-Admin] at weblogic.t3.srvr.ServerServicesManager.startI
    nStandbyState(ServerServicesManager.java:164)
    [WLServer THS-SA-Admin] at weblogic.t3.srvr.T3Srvr.initializeStandby(T3S
    rvr.java:711)
    [WLServer THS-SA-Admin] at weblogic.t3.srvr.T3Srvr.startup(T3Srvr.java:4
    82)
    [WLServer THS-SA-Admin] at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:440)
    [WLServer THS-SA-Admin] at weblogic.Server.main(Server.java:67)
    [WLServer THS-SA-Admin] Caused by: com.bea.plateng.domain.script.ScriptException
    : Template "null" does not exist. Line 1
    [WLServer THS-SA-Admin] at com.bea.plateng.domain.script.ScriptParserCla
    ssic$StateMachine.processRead(ScriptParserClassic.java:510)
    [WLServer THS-SA-Admin] at com.bea.plateng.domain.script.ScriptParserCla
    ssic$StateMachine.execute(ScriptParserClassic.java:428)
    [WLServer THS-SA-Admin] at com.bea.plateng.domain.script.ScriptParserCla
    ssic.parseAndRun(ScriptParserClassic.java:150)
    [WLServer THS-SA-Admin] at com.bea.plateng.domain.script.ScriptParserCla
    ssic.doExecute(ScriptParserClassic.java:112)
    [WLServer THS-SA-Admin] at com.bea.plateng.domain.script.ScriptParser.ex
    ecute(ScriptParser.java:73)
    [WLServer THS-SA-Admin] at com.bea.plateng.domain.DomainInfoHelper.execu
    teSilentScript(DomainInfoHelper.java:861)
    [WLServer THS-SA-Admin] at com.bea.plateng.domain.DomainInfoHelper.creat
    eDefaultDomain(DomainInfoHelper.java:1755)
    [WLServer THS-SA-Admin] at sun.reflect.NativeMethodAccessorImpl.invoke0(
    Native Method)
    [WLServer THS-SA-Admin] at sun.reflect.NativeMethodAccessorImpl.invoke(N
    ativeMethodAccessorImpl.java:39)
    [WLServer THS-SA-Admin] at sun.reflect.DelegatingMethodAccessorImpl.invo
    ke(DelegatingMethodAccessorImpl.java:25)
    [WLServer THS-SA-Admin] at java.lang.reflect.Method.invoke(Method.java:5
    97)
    [WLServer THS-SA-Admin] at weblogic.management.internal.DomainDirectoryS
    ervice.generateDomain(DomainDirectoryService.java:224)
    [WLServer THS-SA-Admin] ... 8 more
    [WLServer THS-SA-Admin] >
    [WLServer THS-SA-Admin] <Feb 16, 2009 1:49:28 PM IST> <Notice> <WebLogicServer>
    <BEA-000365> <Server state changed to FAILED>
    [WLServer THS-SA-Admin] <Feb 16, 2009 1:49:28 PM IST> <Error> <WebLogicServer> <
    BEA-000383> <A critical service failed. The server will shut itself down>
    [WLServer THS-SA-Admin] <Feb 16, 2009 1:49:28 PM IST> <Notice> <WebLogicServer>
    <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>
    [WLServer THS-SA-Admin] Error in server execution (THS-SA-Admin)

    Thanks for your reply.
    I have seen sample xml and my target looks the same
    <wlserver dir="${weblogic.domain.dir}"
                             port="${weblogic.domain.admin.server.port}"
                             servername="${weblogic.domain.admin.server.name}"
                             username="${weblogic.domain.admin.user}"
                             domainname="${weblogic.domain.name}"
                             password="${weblogic.domain.admin.password}"
                             configFile="config.xml"
                             generateConfig="true"
                             action="start"
                             beahome="${env.BEA_HOME}"/>
    my requirement is to use ant task.. otherwise I am able to create through configuration wizard
    Thanks

Maybe you are looking for

  • Billing in Stock Transfer between two plants of two different company codes

    Hi Friends, I am doing the scenario of stock transfer between two plants of different  company codes. I have some issues in Billing for this.. What are the settings do i need to to for Pricing in SD point of view. Ex: Supplying         /         Rece

  • Custom ipod desktop icon?

    Is it possible for me to give my ipod (new 160g classic) a custom desktop icon when I plug it in to my computer? Or am I stuck forever with it showing up as a black ipod? For instance, if I named my ipod Spiderman, is there some way I can grab a jpg

  • 0580 infotype

    Hi All, I want to add the other sections in infotype 0580 Previous employment tax details. Can anyone plz let me know how to do this.. In the current system there are only three sections as Leave encashment,Gratuity and VRS exemption. I want to add P

  • IMac 5K and iPhone charging problem

    Hi, I just got my new iMac 5K, and I noticed that when I connect an iPhone or iPad to the iMac, the charge keep going on and off constantly!! Anyone faces same problem here? Saeid

  • After Leopard install, start up turns off Mac

    Nothing lost as I have 4-250 Gb drives and backed up but. . . Install seemed complete. Upon reboot and subsequent starts, system shuts itself off after grey apple screen. Doesn't even get to rotary spinning timer dealybob under grey apple. I have fou