Oracle ant tasks 10.1.3DP3

I use the "assemble" ant task (and ant files provided with oracle sample web services apps in 10.1.3DP3) to generate EAR file in my application. Everything worked well with ant files but I wanted to move to maven as this is our build system. I 'm able to invoke the oracle ant tasks from maven and build the ear file. However when I try to deploy and then generate the proxy from WSDL I ran into some problems.
1. I ''m unable to get deploy to work from maven. Error is:
Unable to create Deployment Manager
followed by
error getting handle to JMX MBean Server
2. Deployment during build is not a requirement for me but ability to generate proxy jars is. So I m trying to find a way to generate the proxy jars without having to get the WSDL remotely from a running OC4J. Is there a way to tell the "assemble" task to leave the WSDL file on the disk or do I need to pull it out of the generated EAR file and then feed it to "genProxy"?

Check the 'genWSDL' ant task or equivalent command from the WS user guide [1], page 162. This should do what you are looking for.
For the JMX-deployement integration with maven, try the J2EE forum. You may have more feedback there.
Eric
[1] http://download-west.oracle.com/otn/java/oc4j/1013/doc/web.1013/b14434.pdf

Similar Messages

  • Missing oracle-ant.jar in ORACLE_HOME/ant/lib

    Hi
    I have version 10.1.3.3 of the Oracle Application Server Running. As I understand it, you are provided with Apache Ant via the default installation and you are supposed to have the file ORACLE_HOME/ant/lib/oracle-ant.jar in order use the oracle ant tasks. However, I have just done a search for oracle-ant.jar in ORACLE_HOME and have realised that oracle-ant.jar is missing. Is this normal or do I have to download oracle-ant.jar separately. If I have to download it separately, can some-one please point me in the right direction. Either way where can I get a copy of oracle-ant.jar from?

    Found it. The Guide file named the wrong way. It should be ORACLE_HOME/ant/lib/ant-oracle.jar and not ORACLE_HOME/ant/lib/oracle-ant.jar

  • Ant tasks getDestinations and getDataSourcesDescriptor conflict

    I have a simple target that calls the getDestinations oracle ant task and then calls the getDataSourcesDescriptor ant task. Only the first task run ever returns data. If getDestinations is first, JMS info is returned but no data sources info. If getDataSourcesDescriptor is first, data sources info is returned but no jms info. If you have two tasks of the same type, same story; only the first task returns data.
    Anyone have any ideas?

    cfr wrote:
    @lahwaacz,
    Could you point me to documentation regarding bugs/problems with laptop-mode tools? I'm using that right now and it has always worked pretty well but I'm currently seeing higher temperatures (~10C higher on average) and trying to figure out why.
    My fan operates continually but not, I think, very aggressively. But it has always done that so I assume it is normal for this laptop. (Have no idea really but it doesn't seem out of the way - it is a laptop, after all...)
    I don't know anything about fan control, my laptop controls fan speed automatically, I can't even get current fan speed.
    The main problem with laptop-mode-tools is that it's very huge, and the bigger the program is, the slower is the execution. Another problem is that it's connected to both battery and AC adapter ACPI events (see /etc/acpi/events/lm_{ac_adapter,battery}). On my laptop, those events are sent at the same time, resulting in running laptop-mode-tools twice. Most people once configure laptop-mode-tools to their liking and their hardware, so I think there is no need for such an extensive software like laptop-mode-tools, if something simpler does the same (or better) job.
    Also laptop-mode-tools can conflict with pm-utils (which are installed on many systems as dependency for some packages):
    https://wiki.archlinux.org/index.php/La … able_on_AC
    https://bbs.archlinux.org/viewtopic.php?id=106989

  • 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

  • Problem in ant task "oracle:jaxwsGenImpl " on Jdev 11G Tech Preview 4

    I am running an ant task in Oracle JDeveloper 11g Tech Preview 4
    the Task is as follows :
    <target name="generate-from-wsdl5" >
    <oracle:jaxwsGenImpl
    wsdl="contract/wsdl/${SRC_WSDL}"
    />
    </target>
    The Output is :
    D:\Pras3\WebServiceRi\ws>ant generate-from-wsdl5
    Buildfile: build.xml
    [taskdef] File D:\Pras3\WebServiceRi\ws\oracle\antlib.xml does not exist
    generate-from-wsdl5:
    BUILD FAILED
    D:\Pras3\WebServiceRi\ws\build.xml:188: Problem: failed to create task or type antlib:oracle:jaxwsGenImpl
    Cause: The name is undefined.
    Action: Check the spelling.
    Action: Check that any custom tasks/types have been declared.
    Action: Check that any <presetdef>/<macrodef> declarations have taken place.
    This appears to be an antlib declaration.
    Action: Check that the implementing library exists in one of:
    -D:\Jdev11-Tecpr4\ant\lib
    -C:\Documents and Settings\jnandi\.ant\lib
    -a directory added on the command line with the -lib argument
    Total time: 0 seconds
    I am getting the above error can sommeone please help me and please tell me how to use the ant task "oracle:jaxwsGenImpl " on Jdev 11G Tech Preview 4 or Jdev 11G Tech Prev 4 dont support this
    Thanks and Regards
    Jyoti

    Hi,
    the JDeveloper 11 forum is: JDeveloper and OC4J 11g Technology Preview
    Frank

  • Problem :ant task "oracle:jaxwsGenImpl " on Jdev 11G Tech Preview 4

    Hi,
    I am running an ant task in Oracle JDeveloper 11g Tech Preview 4
    the Task is as follows :
    <target name="generate-from-wsdl5" >
    <oracle:jaxwsGenImpl
    wsdl="contract/wsdl/${SRC_WSDL}"
    />
    </target>
    The Output is :
    D:\Pras3\WebServiceRi\ws>ant generate-from-wsdl5
    Buildfile: build.xml
    [taskdef] File D:\Pras3\WebServiceRi\ws\oracle\antlib.xml does not exist
    generate-from-wsdl5:
    BUILD FAILED
    D:\Pras3\WebServiceRi\ws\build.xml:188: Problem: failed to create task or type antlib:oracle:jaxwsGenImpl
    Cause: The name is undefined.
    Action: Check the spelling.
    Action: Check that any custom tasks/types have been declared.
    Action: Check that any <presetdef>/<macrodef> declarations have taken place.
    This appears to be an antlib declaration.
    Action: Check that the implementing library exists in one of:
    -D:\Jdev11-Tecpr4\ant\lib
    -C:\Documents and Settings\jnandi\.ant\lib
    -a directory added on the command line with the -lib argument
    Total time: 0 seconds
    I am getting the above error can sommeone please help me and please tell me how to use the ant task "oracle:jaxwsGenImpl " on Jdev 11G Tech Preview 4 or Jdev 11G Tech Prev 4 dont support this
    Thanks and Regards
    Jyoti

    Hi,
    the JDeveloper 11 forum is: JDeveloper and OC4J 11g Technology Preview
    Frank

  • Oracle BPM Ant tasks with Oracle BPM Studio cant find jar

    Hello,
    There is this documentation
    http://download.oracle.com/docs/cd/E13154_01/bpm/docs65/anttasks/index.html
    which states how to run Ant tasks to do different tasks on Oracle BPM. In EVERY example in the doc and the INTERNET there is this line in build.xml
    <project name="OracleBPMExample" xmlns:fuego="antlib:fuego.tools.ant.enterprise">
    Now, could anyone PLEASE tell me where to find fuego.tools.ant.enterprise. Ive searched every jar in my installation, and couldnt find such package. From what Ive found out it should be something like fuego-antlib.jar but while it is well known and well discussed it is NOT AVALIABLE ANYWHERE.
    please, help. Im using Oracle BPM 10.3.2
    regards,
    Pawel

    You are right Mike... The ant tasks help you do process admin stuff... so that in the Enterprise environment, you can script it all, and not require manual deployments and such.
    Just download 10g Enterprise.... the library will be in there...
    HTH

  • Unable to run ALBPM Ant tasks on Linux

    Hi,
    I am trying to execute a simple build script that creates a session with given directory details and deploys/publishes a project on to the Enterprise Server. With usual modifications, this scripts works fine on Windows, but on Linux it keeps on giving an error that makes no sense. I am copying my build file as well as error stack trace below. Please help me on urgent basis.
    OS: Linux 64 bit
    Oracle Enterprise Server: 10.3.1.0.0
    JAVA_HOME=/usr/java/jdk1.6.0_16
    ANT_HOME=/usr/ant/apache-ant-1.8.1
    build.xml
    <!-- This script publishes and deploys a BPM Project, undeploys and unpublishes a BPM Project, Export Organisation.xml -->
    <project name="sampleproj"
         xmlns:fuego="antlib:fuego.tools.ant.enterprise"
         xmlns:fuego.j2ee="antlib:fuego.tools.ant.j2ee">
    <!-- Include properties -->
    <property file="build.properties"/>
    <echo message="Enterprise Home Directory:: ${fuego.basedir}" />
    <echo message="Ant Version:: ${ant.version}" />
    <echo message="Connecting to directory:: ${fuego.directoryid}" />
    <fuego:passport id="passport"
    directoryid="${fuego.directoryid}"
    preset="engine" />
    <target name="publish-on-linux" description="Publish and deploy processes">
    <echo message="Creating session..."/>
    <!-- Open a session to the ALBPM directory -->
    <fuego:session passportref="passport"
    verbose="true"
    haltonerror="true">
    <!-- Publish processes -->
    <fuego:publish fpr="${bpm.project.path}"
    deploy="true"
    engine="${fuego.engine}"
              haltonerror="true"
              importdata="true"
              automapconfigs="true"
              automapvars="true"
              automaproles="true"
              automapbuspars="true"
              importcustomviews="true">
    </fuego:publish>
    </fuego:session>
    </target>
    </project>
    build.properties
    # Enterprise installation directory
    fuego.basedir=/opt/OraBPMwlHome
    # Name of ALBPM Engine to deploy to
    fuego.engine=bpmengine
    # Project to deploy
    bpm.project.path=/usr/test_ant/sampleproj
    # Directory details
    fuego.directoryid=default
    Error on running the target publish-on-linux
    [echo] Enterprise Home Directory:: /opt/OraBPMwlHome
    [echo] Ant Version:: Apache Ant version 1.8.1 compiled on April 30 2010
    [echo] Connecting to directory:: default
    publish-on-linux:
    [echo] Creating session...
    [fuego:session] fuego base dir [opt/OraBPMwlHome]
    BUILD FAILED
    /usr/test_ant/build1.xml:25: java.lang.NullPointerException
    at fuego.tools.ant.BaseFuegoTask.getClassLoader(Unknown Source)
    at fuego.tools.ant.BaseFuegoTask.executeTask(Unknown Source)
    at fuego.tools.ant.enterprise.taskdefs.DirectorySessionTask.executeImpl(Unknown Source)
    at fuego.tools.ant.BaseFuegoTask.execute(Unknown Source)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:390)
    at org.apache.tools.ant.Target.performTasks(Target.java:411)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1366)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1249)
    at org.apache.tools.ant.Main.runBuild(Main.java:801)
    at org.apache.tools.ant.Main.startAnt(Main.java:218)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
    Total time: 0 seconds

    Amit Zini wrote:
    Dear All,
    I am unable to run my oracle 10g forms application on Linux machine which is runing Fedora 16.
    i have tried to install jre 6 but mozilla firefox 10 is not loading my oracle 10 forms application, it says plugin missing.
    Kindly help me to short out the problem.
    java version "1.6.0_24"
    OpenJDK Runtime Environment (IcedTea6 1.11.1) (fedora-65.1.11.1.fc16-i386)
    OpenJDK Server VM (build 20.0-b12, mixed mode)
    Regards.
    Amit.Try with down grade of Mozilla firefox. may be version 6 to 8. not 9/10.
    Firefox with 9 and higher doesn't support JRE version 1.6.XX.
    Hopes this helps

  • 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

  • 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

  • Deploying bpm 11g project sar file using ant task

    I am trying to deploy the bpm project using ant task file. The status I get is [deployComposite] ---->Deploying composite success. However when I check the deployments, they are not there. If I try to deploy this using Jdeveloper it works correctly. I need to get this to work for production deployments. Any suggestions?
    C:\Oracle\Middleware\Oracle_SOA1\bin>ant -f ant-sca-deploy.xml -DserverURL=http:
    //10.140.183.71:7001 -DsarLocation=N:\RuleBasedProjectInitiate\deploy\RequestPro
    ject.ear -Doverwrite=true -Duser=weblogic
    Buildfile: C:\Oracle\Middleware\Oracle_SOA1\bin\ant-sca-deploy.xml
    [echo] oracle.home = C:\Oracle\Middleware\Oracle_SOA1\bin/..
    deploy:
    [input] skipping input as property serverURL has already been set.
    [input] skipping input as property sarLocation has already been set.
    [deployComposite] created temp dir =C:\DOCUME~1\azeltov\LOCALS~1\Temp\deploy_cli
    ent_1279894885343
    [deployComposite] Creating HTTP connection to host:10.140.183.71, port:7001
    [deployComposite] Enter username and password for realm 'default' on host 10.140
    .183.71:7001
    [deployComposite] Authentication Scheme: Basic
    [deployComposite] Username:
    weblogic
    [deployComposite] Password:
    [deployComposite] Received HTTP response from the server, response code=200
    [deployComposite] clean up temp dir: C:\DOCUME~1\azeltov\LOCALS~1\Temp\deploy_cl
    ient_1279894885343
    [deployComposite] ---->Deploying composite success.
    BUILD SUCCESSFUL
    Total time: 4 seconds
    C:\Oracle\Middleware\Oracle_SOA1\bin>

    You can always deploy the ADF web apps from the Application (top menu) deploy option. Just make sure you're deploying the EAR profile for the project. Deploying the web projects from the composite deployment wizard can be convenient. But I think it's often the case that you deploy them (the composite and forms) separately (e.g. you make a series of changes to the composite without needed to redeploy the UI projects).
    Bottom line is you don't have to delete the projects to be able to modify/deploy them.

  • Ant Task to restart an application in Weblogic Application Server?

    Hi, Is there any ant task available to stop, start, restart and application on weblogic application server 10.3?
    I use wldeploy for deploying the applications but sometimes, I need to just restart the application on the server.

    http://download.oracle.com/docs/cd/E12839_01/web.1111/e13706/ant_tasks.htm

  • Servicegen ant task in weblogic 10.3

    Hi,
    Could you please let me know , the werbservice related ant tasks from weblogic 8.1 (say servicegen)
    are supported in weblogic 10.3 ?
    I am in a process of migrating application from 8.1 to 10.3. For building the application I am using 'ant'.
    Thanks,
    Sajan CR

    Apparently the ant tasks are no longer described on the oracle doc pages as they were on the bea pages.
    http://download.oracle.com/docs/cd/E12840_01/wls/docs103/programming/overview.html#using_ant
    "To view the documentation for a specific version of Ant, such as the version included with WebLogic Server, download the Ant zip file from http://archive.apache.org/dist/ant/binaries/ and extract the documentation."

  • How do I get Ant task deploy to fail on error within an ojdeploy-build ?

    I am calling ojdeploy on an xml file with several <deploy> tasks within the <ojdeploy-build> task.
    FYI this dramatically increases performance when doing several deployments.
    I want to find a way to have the script stop with an error as soon as one of the <deploy> tasks fails with an error (such as a compile error). It does not currently do this.
    Is there a way to get the script to stop as soon as a <deploy> task fails within the outer <ojdeploy-build> task?
    (eg. could I somehow check the return code for each deploy explicitly and do an exit if the deploy fails)
    My Ant book claims that Ant tasks normally fail on error, and when one task fails the Ant script stops at that point. Some Ant tasks (such as exec) have an explicit failonerror attribute which can change this behavior to ignore a non-zero return code from the task and continue executing the Ant script.
    It seems to me that the <ojdeploy-build> task has a serious bug where it (probably using java try-catch) ignores the error from <deploy> and keeps going to the next <deploy>, violating a basic design principle of a proper Ant task.
    Where can I find the java code for <ojdeploy-build> to confirm my suspicion and then report the bug officially?
    Meanwhile, I am very interested in finding some workaround for this bug that preserves having several <deploy> in one script. If I put just one <deploy> in each <ojdeploy-build>, the huge performance improvement is lost.

    I played with it some more and it seems that failonerror and resultproperty actually work in JDev 11.1.1.4.0 They are inherited from the [url http://ant.apache.org/manual/Tasks/exec.html]Ant Exec task and work, you just have to set failonerror="true", e.g.
    <ora:ojdeploy xmlns:ora="oraclelib:OJDeployAntTask"
                      executable="${oracle.jdeveloper.ojdeploy.executable}"
                      failonerror="true"
                      resultproperty="ojdeploy.exit.code"
                      ora:buildscript="${oracle.jdeveloper.deploy.dir}/ojdeploy-build.xml"
                      ora:statuslog="${oracle.jdeveloper.deploy.dir}/ojdeploy-statuslog.xml">
    ...Note that resultproperty is useful only if failonerror="false", use one or the other.

  • OJSPC  - ant task

    Hi,
    My ant task which pre-compiles jsp pages using ojspc tool now falls with following error (osjpc task output):
    ojspc:
    [ojspc] Starting translation on 221 files...
    [ojspc] Parse error in WEB-INF\tiles\NavigationMenu.jsp:
    [ojspc] oracle.jsp.parse.JspParseException: /WEB-INF/tiles/NavigationMenu.jsp: Line # 18, <bean:message name="menuLine_key"/>
    [ojspc] Error: name is not a property of org.apache.struts.taglib.bean.MessageTag
    The task had worked fine before even with the page NavigationMenu.jsp (which wasn't changed any way). I cannot manage what could possibly cause problem now without any modification of ant task configuration or the jsp page i can remember.
    Do you have any ideas?

    Hello Carl,
    I am able to compile all the files here. Some things to note :
    1) dir="${src.dir}/public_html". This is the directory where the JSP files are present.
    2) <arg line="../../${lib.dir}/WEB-INF/.jsps "/>. This specifies where to keep the generated binaries.
    3) <arg line="-srcdir "/>
    <arg line=". "/>
    This specifies where to generate the Java Source files.
    Please check if all these variables have been set correctly. On my machine, I have been able to compile multiple JSP files using this tag. The First point is very important. Please check that again.
    Thanks,
    Rajat

Maybe you are looking for

  • Error: Jsr88RemoteDeployer. Unable to deploy appllication on the web server

    Hi, As soon as I try to run my application, I get the following error, I wonder whats wrong, plz help: [05:31:06 PM] Deployment cancelled. [05:31:06 PM] ---- Deployment incomplete ----. #### Cannot run application ADFsecondApp due to error deploying

  • Link to a file in encrypted partition

    Hi all, I have an encrypted partition with some files I use regularly.  If I mount the partition, I can make a shortcut to files by dragging them onto the dock.  If I click the icon on the dock, and the encrypted partion is not mounted, I get prompte

  • IMAP email accounts dont take up space

    Just today I decided to add my email accounts to mac mail app.  I added: a Gmail a Yahoo a companydomain.com//Brinkster account which should be IMAP and i configured it as such a godaddy domain.com account which is not IMAP so i configured it as POP3

  • 4.7E to ECC 6 upgrade in MM

    Dear All, What are the activities to be carried out  in MM functionality while upgrading from 4.7E to ECC6 and proposing to merge various company codes in single company code. Regards, Prem

  • There is no ZENworks Reporting Server configured in the Management Zone

    I have ZCM 10.1 installed on SUSE. I installed Reporting. The above is the message when I go to reporting so here I sit. I can't seem to find anything in the documentation to configure it other than a pointer to the SAP website. That isn't particular