"ant deploy" HTTP 401 - edit build.properties won't help...will you pls?

Hi!
I edited build.properties as it's written in the tutorial and copied it to the right directory but still I get this error:
BUILD FAILED
file:C:/jwsdp-1.2/docs/jwstutorial12/examples/jaxrpc/common/targets.xml:41: java.io.IOException: Server returned HTTP response code: 401 for URL: http://localhost:8080/manager/install?path=%2Fhello-jaxrpc&war=file%3A%24%7Bexample.path%7D%2Fbuild
Please help me.
Thomas

Really appreciate your help in this regard, I got stuck in this problem too. Finally I put username/password in build.xml in
<home>/examples/common/build.properties (Where it suppose to be
Following are the details of it.
tutorial.home=<<home>>
tutorial.install=${tutorial.home}/jwstutorial13
username=admin
password=admin
host=localhost
port=8080
secure.port=8443
url=http://${host}:${port}/manager
Thanks again for the hint

Similar Messages

  • HP won't help, can you? OEM disc for w2558hc monitor

    Does anyone have an ISO or disc for HP w2558hc monitor?  HP doesn't think they need to support an old 2008 $500+ monitor anymore!

    I am sorry, an ISO is just an image file for a disc.  Since I am looking for the install and software disc for this monitor, w2558hc,.  If I can't get a disc, the next best thing is an image of this disc.  The most popular image files are ISO's.  There are better ones, but less used.  This monitor has a memory card reader, USB hub, web cam, and Microphone all built in to a 25.5 inch monitor.  It also has a remote control to work with a lot of these features.  I checked the remote has a optical signal, but I can't get it to work with the monitor, as well as the web cam.  On this installation disc, besides the drivers, are software to work with the camera and remote with the controls to manage slide shows and the like.  I think the drivers were on the page that you linked me to, but not the software.  So I still can't use the remote control, nor the WebCam.  Do you understand why I am after the disc or image thereof?  Thank you for you response though.

  • Cisco /Linksys won't help, can you?

    I wanted to upgrade the firmware. So i downloaded the firmware for the WRT54GS and saved it to my desktop.
    The directions in the PDF file from Linksys tell me to do that. The directions then start talking about a red button, the download, etc.
    The problem is I don't get anything when I open this saved file from my desktop. What am I missing?

    Read the directions carefully...the file you downloaded is not executable.  You will need to navigate to your router's administration section and select the file you downloaded to perform the firmware upgrade.
    That would be
    >192.168.1.1
    >Administration
    >Firmware Upgrade
    >Browse to select file
    It is important to follow all the warnings about not interrupting the process once started.
    Follow the directions to the letter, otherwise you may do irreparable damage to your router.

  • Ant throws the exception when builds B2B (E-selling of CRM-ISA)

    Hi,
    Ant throws the exception:
    default.application.xml:
        [style] Processing D:B2B_DEVsap_earmeta-inf.b2bapplication.xml to D:B2B
    _DEVproject_earmeta-inf.b2b_devMETA-INFapplication.xml
        [style] Loading stylesheet D:B2B_DEVbintemplatesapplication.xsl
        [style] Failed to process D:B2B_DEVsap_earmeta-inf.b2bapplication.xml
    BUILD FAILED
    D:B2B_DEVbinbuild.xml:113: The following error occurred while executing this
    line:
    D:B2B_DEVprojectbuildmodification.xml:102: The following error occurred while
    executing this line:
    D:B2B_DEVbinearbuilder.xml:78: The following error occurred while executing t
    his line:
    D:B2B_DEVbinearbuilder.xml:16: javax.xml.transform.TransformerConfigurationEx
    ception: Could not load stylesheet. org.w3c.dom.DOMException: Prefix is 'xmlns',
    but URI is not 'http://www.w3.org/2000/xmlns/' in the qualified name, 'xmlns:xs
    l'
    How to fix it?
    The configuration is MS Windows XP SP2, MS SQL Server 2000 Developer Edition SP2, SAP Web AS 6.40 SP18, Apache Ant 1.6.5, Build Tool.
    Any help will be appreciated.
    Regards,
    Roman Babkin

    Hi,
    Ant throws the exception:
    default.application.xml:
        [style] Processing D:B2B_DEVsap_earmeta-inf.b2bapplication.xml to D:B2B
    _DEVproject_earmeta-inf.b2b_devMETA-INFapplication.xml
        [style] Loading stylesheet D:B2B_DEVbintemplatesapplication.xsl
        [style] Failed to process D:B2B_DEVsap_earmeta-inf.b2bapplication.xml
    BUILD FAILED
    D:B2B_DEVbinbuild.xml:113: The following error occurred while executing this
    line:
    D:B2B_DEVprojectbuildmodification.xml:102: The following error occurred while
    executing this line:
    D:B2B_DEVbinearbuilder.xml:78: The following error occurred while executing t
    his line:
    D:B2B_DEVbinearbuilder.xml:16: javax.xml.transform.TransformerConfigurationEx
    ception: Could not load stylesheet. org.w3c.dom.DOMException: Prefix is 'xmlns',
    but URI is not 'http://www.w3.org/2000/xmlns/' in the qualified name, 'xmlns:xs
    l'
    How to fix it?
    The configuration is MS Windows XP SP2, MS SQL Server 2000 Developer Edition SP2, SAP Web AS 6.40 SP18, Apache Ant 1.6.5, Build Tool.
    Any help will be appreciated.
    Regards,
    Roman Babkin

  • Editing log4j.properties file of ear while deploying ear file.

    Hi,
    Can i edit log4j.properties file of ear while deploying ear file.
    ~ Dhiraj.

    javainstead:
    >>is MyFolder in the root? else you mite wanna try giving the entire path starting from the root
    No the "MyFolder" is not in the root. Normally if we give the file name alone, it will store in a directory. Instead of storing in that directory, i want to have create another subfolder under that directory and storing the file in it. This is my need.
    OS: Windows 2000.
    zakir_sh:
    log4j.rootCategory=DEBUG,myproj
    log4j.appender.myproj=org.apache.log4j.RollingFileAppender
    log4j.appender.myproj.File=/u3/logs/myproj_webapp_logs/dev_region/mylogfile.log......
    I gave relative path like this and got the file not found error.
    log4j.appender.myproj.File=/MyFolder/error_file.log
    Thanks,
    Manikandan

  • Is there a way of changing the jdevappunknown_ folder that Ant deploys to?

    Using Ant DeployESBSuitcase doesn't work when deploying Projects with dependencies.
    Steps to re-create error:
    Create a JDeveloper ESB Project called ‘ProjectB’ and add file adapter called ‘WriteFile’ to write a file. Deploy this project using JDeveloper.
    Create another JDeveloper ESB Project called ‘ProjectA’ and add a file adapter called ‘ReadFile’ to read a file.
    From ProjectA’s routing service add a routing rule and use ‘Browse Target Service Operation’ (Gear wheel icon) and select the deployed ProjectB_WriteFile service.
    Deploy ProjectA using JDeveloper.
    Use Ant to create a deploymentplan file for both projects by running the ExtractESBDeploymentPlan target.
    Note: As these projects are saved under their own directory structure
    C:\Workspace\Local\ProjectA and C:\Workspace\Local\ProjectB you will need to copy the ..\ProjectB\ProjectB_WriteFile.wsdl to the ProjectA folder.
    Confirm that ProjectA and ProjectB Ant build files DeployESBSuitcase properties (esbMetadataServerHost and esbMetaServerPort) point to another server other than the one you have just deployed ProjectA and ProjectB to using JDeveloper. i.e. a clean server that doesn’t know about these Projects
    Deploy ProjectB using Ant’s DeployESBSuitcase target.
    Deploy ProjectA using Ant’s DeployESBSuitcase target.
    An error is now thrown
    C:\Workspace\Local\ProjectA>ant DeployESBSuitcase
    Buildfile: build.xml
    DeployESBSuitcase:
    [echo] Deploying ESB Project ProjectA to serverx
    [deployESBSuitcase] Deployment Attempt Response :
    [deployESBSuitcase] <deploymentSummary>
    [deployESBSuitcase] <message>Entity Deployment Failed</message>
    [deployESBSuitcase] <errors>
    [deployESBSuitcase] <error code="1049" severity="5">
    [deployESBSuitcase] <description>WSDL "esb:///ESB_Projects/Local_ProjectB/ProjectB_WriteFile.wsdl" of service "DefaultSystem.ProjectB_WriteFile" is invalid or unaccessible. Following error is thrown by WSDL Parser : WSDL Parsing Failed: org.apache.slide.structure.ObjectNotFoundException: No object found at /files/ESB_Projects/Local_ProjectB</description>
    [deployESBSuitcase] <fix>Ensure that the WSDL is accessible and valid. If the problem persists, Contact Oracle Support.</fix>
    [deployESBSuitcase] </error>
    [deployESBSuitcase] </errors>
    [deployESBSuitcase] </deploymentSummary>
    [deployESBSuitcase]
    [deployESBSuitcase] Deployment Failed ...Unhandled Exception
    [deployESBSuitcase] java.lang.Exception: Deployment attempt failed, please review deployment attempt response above
    [deployESBSuitcase] at oracle.tip.esb.client.anttasks.DeploymentHelper.deploy(DeploymentHelper.java:128)
    [deployESBSuitcase] at oracle.tip.esb.client.anttasks.DeploymentHelper.deploy(DeploymentHelper.java:175)
    [deployESBSuitcase] at oracle.tip.esb.client.anttasks.DeployESBSuitcaseTask.execute(DeployESBSuitcaseTask.java:510)
    [deployESBSuitcase] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    [deployESBSuitcase] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [deployESBSuitcase] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [deployESBSuitcase] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [deployESBSuitcase] at java.lang.reflect.Method.invoke(Method.java:585)
    [deployESBSuitcase] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    [deployESBSuitcase] at org.apache.tools.ant.Task.perform(Task.java:348)
    [deployESBSuitcase] at org.apache.tools.ant.Target.execute(Target.java:357)
    [deployESBSuitcase] at org.apache.tools.ant.Target.performTasks(Target.java:385)
    [deployESBSuitcase] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
    [deployESBSuitcase] at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    [deployESBSuitcase] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    [deployESBSuitcase] at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
    [deployESBSuitcase] at org.apache.tools.ant.Main.runBuild(Main.java:758)
    [deployESBSuitcase] at org.apache.tools.ant.Main.startAnt(Main.java:217)
    [deployESBSuitcase] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
    [deployESBSuitcase] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
    BUILD FAILED
    java.lang.Exception: Deployment attempt failed, please review deployment attempt response above
    at oracle.tip.esb.client.anttasks.DeploymentHelper.deploy(DeploymentHelper.java:128)
    at oracle.tip.esb.client.anttasks.DeploymentHelper.deploy(DeploymentHelper.java:175)
    at oracle.tip.esb.client.anttasks.DeployESBSuitcaseTask.execute(DeployESBSuitcaseTask.java:510)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    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:585)
    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:357)
    at org.apache.tools.ant.Target.performTasks(Target.java:385)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
    at org.apache.tools.ant.Main.runBuild(Main.java:758)
    at org.apache.tools.ant.Main.startAnt(Main.java:217)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
    Total time: 2 seconds
    C:\Workspace\Local\ProjectA>
    This error is thrown as ProjectB’s wsdl file cannot be found under esb:///ESB_Projects/Local_ProjectB/ProjectB_WriteFile.wsdl.
    This is due to Ant deploying ProjectB under …\ESB_Projects\jdevappunknown_ rather than …\ESB_Projects\Local_ProjectB
    When deploying ESB projects from JDeveloper they are created under the following structure: <Oracle_Home>\integration\esb\oraesb\artifacts\store\metadata\files\ESB_Projects\<JDev_Workspace>\<Project_Name>
    However when using the Ant target DeployESBSuitcase ALL projects are deployed to the same folder:
    <Oracle_Home>\integration\esb\oraesb\artifacts\store\metadata\files\ESB_Projects\jdevappunknown_
    Is there a way of changing the jdevappunknown folder used by Ant deployments?
    Edited by: user2000 on Apr 27, 2009 3:37 PM

    James,
    Following my steps above I don't get anything in the deploymentPlan for either ProjectA or ProjectB which includes a WSDL URL I can modify.
    ProjectA includes the ProjectB_WrieFile.esbsv file which contains the following line:
    <wsdlURL>esb:///ESB_Projects/Local_ProjectB/ProjectB_Write.wsdl</wsdlURL>
    Is there something I can change which will mean when I regenerate the deploymentPlan it will include the WSDL location?
    Thanks
    Alistair
    Edited by: user2000 on Apr 28, 2009 11:55 AM
    I've included Both Deployment Plans:
    ProjectA Deployment Plan
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <deploymentPlan>
    <serviceDeploymentPlan qname="DefaultSystem.ProjectA_ReadFile" status="ENABLED">
    <parent type="system" qname="DefaultSystem"/>
    <properties>
    <jcaOperation>
    <property value="Read" name="LogicalDirectory"/>
    <property value="oracle.tip.adapter.file.inbound.FileActivationSpec" name="ActivationSpec"/>
    <property value="Archive" name="LogicalArchiveDirectory"/>
    <property value="true" name="DeleteFile"/>
    <property value=".*\.txt" name="IncludeFiles"/>
    <property value="60" name="PollingFrequency"/>
    <property value="0" name="MinimumAge"/>
    <property value="true" name="OpaqueSchema"/>
    </jcaOperation>
    <jcaAddress>
    <property value="eis/FileAdapter" name="location"/>
    <property value="*.txt" name="UIincludeWildcard"/>
    </jcaAddress>
    </properties>
    </serviceDeploymentPlan>
    <serviceDeploymentPlan qname="DefaultSystem.ProjectA_ReadFile_RS" status="ENABLED">
    <parent type="system" qname="DefaultSystem"/>
    <properties>
    <serviceDefinition>
    <property value="ProjectA_ReadFile.wsdl" name="wsdlURL"/>
    </serviceDefinition>
    </properties>
    </serviceDeploymentPlan>
    <serviceDeploymentPlan qname="DefaultSystem.ProjectB_WriteFile" status="ENABLED">
    <parent type="system" qname="DefaultSystem"/>
    <properties>
    <jcaOperation>
    <property value="Write" name="LogicalDirectory"/>
    <property value="oracle.tip.adapter.file.outbound.FileInteractionSpec" name="InteractionSpec"/>
    <property value="ProjectB_%SEQ%.txt" name="FileNamingConvention"/>
    <property value="1" name="NumberMessages"/>
    <property value="true" name="OpaqueSchema"/>
    </jcaOperation>
    <jcaAddress>
    <property value="eis/FileAdapter" name="location"/>
    </jcaAddress>
    </properties>
    </serviceDeploymentPlan>
    </deploymentPlan>
    Project B Deployment Plan
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <deploymentPlan>
    <serviceDeploymentPlan qname="DefaultSystem.ProjectB_WriteFile" status="ENABLED">
    <parent type="system" qname="DefaultSystem"/>
    <properties>
    <jcaOperation>
    <property value="Write" name="LogicalDirectory"/>
    <property value="oracle.tip.adapter.file.outbound.FileInteractionSpec" name="InteractionSpec"/>
    <property value="ProjectB_%SEQ%.txt" name="FileNamingConvention"/>
    <property value="1" name="NumberMessages"/>
    <property value="true" name="OpaqueSchema"/>
    </jcaOperation>
    <jcaAddress>
    <property value="eis/FileAdapter" name="location"/>
    </jcaAddress>
    </properties>
    </serviceDeploymentPlan>
    </deploymentPlan>

  • Ant deploy fails

    I installed configured the Java Web Services Dev Pack 1.0_01. I built installed and tested the HelloWorld Java-RPC example without any problem. Next I tried creating a new Web Service but when I try to deploy it I get the following error:
    C:\Projects\MyRPCTest\source>ant deploy
    Buildfile: build.xml
    deploy:
    BUILD FAILED
    Total time: 1 second
    C:\Projects\MyRPCTest\source\build.xml:14: java.io.IOException: Server returned
    HTTP response code: 403 for URL: http://localhost:8080/lmrp/deploy?path=%2Flmrp-jaxrpc
    Has anyone seen this error and know a solution?

    Figured it out. I changed my build.xml to point build.properties in Java Web Services directory.
    <property file="/jwsdp-1_0_01/docs/tutorial/examples/jaxrpc/common/build.properties"/>

  • Ant deploy problem

    Hi, there,
    I'm new to Jave Web Service application developer, I've encounter a problem when I deploy the example "C:\jwstutorial13\examples\gs" , but both "ant build" and "ant package" are successful, when run "ant deploy", I see the following message:
    C:\jwstutorial13\examples\gs>ant deploy
    Buildfile: build.xml
    deploy:
    BUILD FAILED
    file:C:/jwstutorial13/examples/common/targets.xml:41: java.io.IOException: Server returned HTTP response code: 403 for URL: http://localhost:8080/admin/deploy?path=%2Fgs
    pls help me, thanks!!!!

    The problem is that you haven't set the build properties and path variables as described in the tutorial preface:
    http://java.sun.com/webservices/docs/1.3/tutorial/doc/About.html#wp63742
    See the section Building the Examples

  • Ant throws the exception when builds B2B

    Hi,
    Ant throws the exception:
    default.application.xml:
        [style] Processing D:B2B_DEVsap_earmeta-inf.b2bapplication.xml to D:B2B
    _DEVproject_earmeta-inf.b2b_devMETA-INFapplication.xml
        [style] Loading stylesheet D:B2B_DEVbintemplatesapplication.xsl
        [style] Failed to process D:B2B_DEVsap_earmeta-inf.b2bapplication.xml
    BUILD FAILED
    D:B2B_DEVbinbuild.xml:113: The following error occurred while executing this
    line:
    D:B2B_DEVprojectbuildmodification.xml:102: The following error occurred while
    executing this line:
    D:B2B_DEVbinearbuilder.xml:78: The following error occurred while executing t
    his line:
    D:B2B_DEVbinearbuilder.xml:16: javax.xml.transform.TransformerConfigurationEx
    ception: Could not load stylesheet. org.w3c.dom.DOMException: Prefix is 'xmlns',
    but URI is not 'http://www.w3.org/2000/xmlns/' in the qualified name, 'xmlns:xs
    l'
    How to fix it?
    The configuration is MS Windows XP SP2, MS SQL Server 2000 Developer Edition SP4, SAP Web AS 6.40 SP18, Apache Ant 1.6.5, Build Tool, j2sdk1.4.2_07.
    Any help will be appreciated.
    Regards,
    Roman Babkin

    Hi,
    have you tried to urlencode the hash char?
    Might be interesting as well if the problem also occours when you point to a local script in your url. The script should then contain a static link to your xml file.
    cheers,
    jossif

  • Java EE Tutorial ant deploy

    Hi
    I have a problem when using the ant deploy command in the hello1 app in the tutorial. I get an error:
    BUILD FAILED
    E:\dev\javaeetutorial5\examples\bp-project\app-server-ant.xml:417: Property javaee.server.passwordfile not specified. Please
    specify the javaee.server.passwordfile property in 'bp-project/build.properties'.
    You will also need to ensure that the passwordfile is present and contains
    AS_ADMIN_PASSWORD.
    can any one point me in the direction for correcting this? Where do i find the password file so i can add it to the app-server-ant.xml file
    Thank you for any help.

    E:\dev\javaeetutorial5\examples\bp-project\app-server-
    ant.xml:417: Property javaee.server.passwordfile not
    specified. Please
    specify the javaee.server.passwordfile
    property in 'bp-project/build.properties'.
    You will also need to ensure that the
    passwordfile is present and contains
    AS_ADMIN_PASSWORD.
    point me in the direction for correcting this? Where
    do i find the password file so i can add it to the
    app-server-ant.xml file
    hank you for any help.Create a password file, say password.txt with the following line
    AS_ADMIN_PASSWORD=<substitue your admin password, most probably adminadmin>
    Open bp-project/build.properties and update the following line
    javaee.server.passwordfile=<absolute path to password.txt, example: c:/appserver/password.txt>
    It is preferrable to create the file password.txt under a directory which has no spaces.
    If bp-project/build.properties does not exist, copy bp-project/build.properties.sample to bp-project/build.properties and update it based on your application server installation.
    - sreeni

  • Where is a build.properties?

    Looking in forum i found a lot of mentions of build.properties file.
    Its looks important, but i cant find it.
    Where is it places?
    (I use JDeveloper 11.1.1.4.0 under win7)

    in what context do they mention build.properties
    when you're using ant to build/create resources you can define properties in this file.
    for example when you build or try to deploy bpel processes, the buid.xml file will include this build.properties file to retrieve properties from.
    for example the host-url or the port , all the kind of settings

  • ANT deployment in cluster env - urgent pls

    All,
    version: 10g(10.1.3.4)
    We have set up 10g in cluster env. I tried to deploy a bpel thru ANT got the below error
    A problem occurred while establishing a connection to the BPEL Server.
    Please make sure the server is running on host "localhost", port "7777".
    The same bpel, when I tried to deploy thru JDev it deployed succesfully! What could be the possible reason? Also, the same bpel deployed thru ANT successfully in non-cluster env
    thanks,
    sen

    1.Go to the particular composite and create folder build.
    2. Place build.properties and build.xml files inside the folder.
    3. Generate configuration plan on right clicking composite.xml.
    4. Open build.properties file and cross check the following elements
    composite.name=Process (particular composite name)
    composite.revision=1.0 (version)
    oracle.home=C:/Oracle/Middleware/jdeveloper ( middleware home)
    soa.server.oracle.home=C:/Oracle/Middleware/jdeveloper
    admin.server.host=test.checf.com (admin server host)
    admin.server.port=7007 (admin server port)
    server.domain.name=SOADEV (soa domain)
    managed.server.host=soa.test.com (soa server host)
    managed.server.port=8007 (soa server port)
    server.user=weblogic (user credential)
    server.password=soadev123 (server passwd)
    java.home.set=D:/jdk160_18 (jdk path)
    server.targets=WLS_SOA2 (target node)
    config.plan=Process_cfgplan_17.xml (compiste config plan)
    5.Open build.xml file check the following
    <project name="rProcess " default="deploy" basedir="."> (check the project name)
    Commands from cmd
    1. Go to the cmd.
    2. Set the following variables in cmd.
    C:\JDeveloper\mywork\CommonErrorHandlingApplication\ASYNCTesting\build>set ORACLE_HOME=C:\Oracle\Middleware
    C:\JDeveloper\mywork\CommonErrorHandlingApplication\ASYNCTesting\build>set ANT_HOME=%ORACLE_HOME%\jdeveloper\ant
    C:\JDeveloper\mywork\CommonErrorHandlingApplication\ASYNCTesting\build>set PATH=%ANT_HOME%\bin;%PATH%
    C:\JDeveloper\mywork\CommonErrorHandlingApplication\ASYNCTesting\build>set JAVA_HOME=D:\jdk160_18
    3. Go the particular composite build folder
    Bpel Process
    |-> SOA Content
    |->build
    4. Give ant command
    C:\JDeveloper\mywork\CommonErrorHandlingApplication\ASYNCTesting\build>ant
    check the same whther it helps u or not

  • Ant deploy from Jdev works fine - same ant deploy from command line fails

    Hi
    I'm using Jdev 10.1.3 and OAS 10.1.3 and created some web services. I can deploy using the Wizard in JDev - works fine, created a build.xml file using the <oracle:deploy> ant task. Also work fine from JDeveloper.
    But when running from command line (windows) I get the following:
    d:\>ant deploy
    Buildfile: build.xml
    init:
    compile:
    copy:
    ear:
    [war] Building war: D:\invision\source\INVisionWebService1013\INVisionWebService.war
    [war] Warning: selected war files include a WEB-INF/web.xml which will be ignored (please use webxml attribute to war task)
    [ear] Building ear: D:\invision\source\INVisionWebService1013\deploy\INVisionWebService.ear
    [delete] Deleting: D:\invision\source\INVisionWebService1013\INVisionWebService.war
    deploy:
    BUILD FAILED
    D:\invision\source\INVisionWebService1013\build.xml:282: The following error occurred while executing this line:
    jar:file:/D:/apache/apache-ant-1.6.5/lib/ant-oracle-classes.jar!/oracle/antlib.xml:27: taskdef class oracle.j2ee.ws.tools.wsa.cli.ant.GenProxy cannot be found
    I have studied the web for suggestion also http://download-east.oracle.com/docs/cd/B25221_04/web.1013/b14431/anttasks.htm#sthref164 but nothing seems to work. Tried copying oracle jars to my ant directory (ant version 1.6.5) but still no success (above error message disappered but other came instead).
    Why must this process be so complex. Can anyone help?

    Hi,
    You need to have the following jars in your classpath before firing the ant deploy task.
    ${Oracle_Home}\j2ee\utilities\ant-oracle-classes.jar;
    ${Oracle_Home}\j2ee\home\lib\adminclient.jar;
    ${Oracle_Home}\2ee\home\lib\oc4j-internal.jar;
    ${Oracle_Home}\j2ee\home\lib\javax77.jar;
    ${Oracle_Home}\j2ee\home\lib\javax88.jar;
    ${Oracle_Home}\j2ee\home\lib\jmxri.jar;
    ${Oracle_Home}\OracleAS_1\webservices\lib\wsa.jar;
    Please check your classpath and add the above jars, if not present and try ant deploy task now.
    I suppose it should work fine.
    Hope its helpful.
    Rgds,
    Prashanth Babu.

  • ANT deployment failed in Linux

    All,
    version: 10.1.3.4
    I have created a simple BPEL and use ant to deploy. In the build.xml, I use replaceregexp to replace something during deployment. It works fine in my windows box. But same bpel fails in my linux box with the following error..
    This is common and has a number of causes; the usual
    solutions are to read the manual pages then download and
    install needed JAR files, or fix the build file:
    - You have misspelt 'replaceregexp'.
    Fix: check your spelling.
    - The task needs an external JAR file to execute
    and this is not found at the right place in the classpath.
    Fix: check the documentation for dependencies.
    Fix: declare the task.
    - The task is an Ant optional task and the JAR file and/or libraries
    implementing the functionality were not found at the time you
    yourself built your installation of Ant from the Ant sources.
    Fix: Look in the ANT_HOME/lib for the 'ant-' JAR corresponding to the
    task and make sure it contains more than merely a META-INF/MANIFEST.MF.
    If all it contains is the manifest, then rebuild Ant with the needed
    *libraries present in ${ant.home}/lib/optional/ , or alternatively,*
    download a pre-built release version from apache.org
    - The build file was written for a later version of Ant
    Fix: upgrade to at least the latest release version of Ant
    - The task is not an Ant core or optional task
    and needs to be declared using <taskdef>.
    - You are attempting to use a task defined using
    *<presetdef> or <macrodef> but have spelt wrong or not*
    defined it at the point of use
    Remember that for JAR files to be visible to Ant tasks implemented
    in ANT_HOME/lib, the files must be in the same directory or on the
    classpath
    Please neither file bug reports on this problem, nor email the
    Ant mailing lists, until all of these causes have been explored,
    as this is not an Ant bug.
    I tried to set the path as below in my build.xml, but still the same error but with additional like *"Could not load definitions from resource net/sf/antcontrib/antcontrib.properties. It could not be found......"*
    +*<taskdef resource="net/sf/antcontrib/antcontrib.properties">*+
    +*               <classpath>*+
    +*<pathelement location="/oracle/product/10.1.3.1/OracleAS_1/bpel/system/services/lib/ant-contrib-1.0b2.jar"/>*+
    +*               </classpath>*+
    +*          </taskdef>*+
    any help is appreciated
    rgds
    sen

    Vlad,
    My windows classpath
    BASE_OB_CLASSPATH=C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\system\classes;C:\soa10g\product\10.1.3.1\OracleAS_1\jdk\lib\tools.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\orabpel-common.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\orabpel-thirdparty.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\orabpel-exts.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\orabpel.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\orabpel-ant.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\ant-launcher_1.6.5.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\ant_1.6.5.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\oracle_http_client.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\xmlparserv2.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\olite40.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\aqapi.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\dms.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\orawsdl.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\bpm-infra.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\bpm-services.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\xmlunit1.0.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\bipres.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\bicmn.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\uix2.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\share.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\regexp.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\jewt4.jar
    CLASSPATH=;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\serializer_2.7.0.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\xalan_2.7.0.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\jdk\jre\lib\rt.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\system\classes;C:\soa10g\product\10.1.3.1\OracleAS_1\jdk\lib\tools.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\orabpel-common.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\orabpel-thirdparty.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\orabpel-exts.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\orabpel.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\orabpel-ant.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\ant-launcher_1.6.5.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\ant_1.6.5.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\oracle_http_client.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\xmlparserv2.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\olite40.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\aqapi.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\dms.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\orawsdl.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\bpm-infra.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\bpm-services.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\xmlunit1.0.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\bipres.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\bicmn.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\uix2.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\share.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\regexp.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\jewt4.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\j2ee_1.3.01.jar;;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\..\j2ee\home\oc4jclient.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\..\j2ee\home\..\..\lib\xml.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\..\j2ee\home\rmic.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\..\j2ee\home\..\..\lib\dms.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\..\j2ee\home\oc4j.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\..\j2ee\home\lib\jmxri.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\..\j2ee\home\lib\javax77.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\..\j2ee\home/admin_client.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\orabpel.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\orabpel-common.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\orabpel-thirdparty.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\ant-junit.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\junit.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\hatatap.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\system\services\schema
    CLIENT_CLASSPATH=C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\..\j2ee\home\oc4jclient.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\..\j2ee\home\..\..\lib\xml.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\..\j2ee\home\rmic.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\..\j2ee\home\..\..\lib\dms.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\..\j2ee\home\oc4j.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\..\j2ee\home\lib\jmxri.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\..\j2ee\home\lib\javax77.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\..\j2ee\home/admin_client.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\orabpel.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\orabpel-common.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\orabpel-thirdparty.jar
    JAVA_CLASSPATH=C:\soa10g\product\10.1.3.1\OracleAS_1\jdk\jre\lib\rt.jar
    MY_CLASSPATH=C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\system\classes
    OBANT_CLASSPATH=;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\serializer_2.7.0.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\xalan_2.7.0.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\jdk\jre\lib\rt.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\system\classes;C:\soa10g\product\10.1.3.1\OracleAS_1\jdk\lib\tools.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\orabpel-common.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\orabpel-thirdparty.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\orabpel-exts.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\orabpel.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\orabpel-ant.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\ant-launcher_1.6.5.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\ant_1.6.5.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\oracle_http_client.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\xmlparserv2.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\olite40.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\aqapi.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\dms.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\orawsdl.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\bpm-infra.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\bpm-services.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\xmlunit1.0.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\bipres.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\bicmn.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\uix2.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\share.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\regexp.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\jewt4.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\j2ee_1.3.01.jar;;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\..\j2ee\home\oc4jclient.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\..\j2ee\home\..\..\lib\xml.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\..\j2ee\home\rmic.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\..\j2ee\home\..\..\lib\dms.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\..\j2ee\home\oc4j.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\..\j2ee\home\lib\jmxri.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\..\j2ee\home\lib\javax77.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\..\j2ee\home/admin_client.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\orabpel.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\orabpel-common.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\orabpel-thirdparty.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\ant-junit.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\junit.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\hatatap.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\system\services\schema
    OBDK_CLASSPATH=C:\soa10g\product\10.1.3.1\OracleAS_1\jdk\jre\lib\rt.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\system\classes;C:\soa10g\product\10.1.3.1\OracleAS_1\jdk\lib\tools.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\orabpel-common.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\orabpel-thirdparty.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\orabpel-exts.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\orabpel.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\orabpel-ant.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\ant-launcher_1.6.5.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\ant_1.6.5.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\oracle_http_client.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\xmlparserv2.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\olite40.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\aqapi.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\dms.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\orawsdl.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\bpm-infra.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\bpm-services.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\xmlunit1.0.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\bipres.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\bicmn.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\uix2.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\share.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\regexp.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\jewt4.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\j2ee_1.3.01.jar;
    OB_CLASSPATH=C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\system\classes;C:\soa10g\product\10.1.3.1\OracleAS_1\jdk\lib\tools.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\orabpel-common.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\orabpel-thirdparty.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\orabpel-exts.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\orabpel.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\orabpel-ant.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\ant-launcher_1.6.5.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\ant_1.6.5.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\oracle_http_client.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\xmlparserv2.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\olite40.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\aqapi.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\dms.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\orawsdl.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\bpm-infra.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\bpm-services.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\xmlunit1.0.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\bipres.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\bicmn.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\uix2.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\share.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\regexp.jar;C:\soa10g\product\10.1.3.1\OracleAS_1\bpel\lib\jewt4.jar
    Linux classpath
    CLIENT_CLASSPATH=/oracle/product/10.1.3.1/OracleAS_1/bpel/../j2ee/home/oc4jclient.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/../j2ee/home/../../lib/xml.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/../j2ee/home/rmic.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/../j2ee/home/../../lib/dms.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/../j2ee/home/oc4j.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/../j2ee/home/lib/jmxri.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/../j2ee/home/lib/javax77.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/../j2ee/home/admin_client.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/orabpel.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/orabpel-common.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/orabpel-thirdparty.jar
    OB_CLASSPATH=/oracle/product/10.1.3.1/OracleAS_1/bpel/system/classes:/oracle/product/10.1.3.1/OracleAS_1/jdk/lib/tools.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/connector15.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/orabpel-common.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/orabpel-thirdparty.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/orabpel-exts.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/orabpel.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/orabpel-ant.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/ant-launcher_1.6.5.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/ant_1.6.5.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/oracle_http_client.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/xmlparserv2.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/aqapi.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/dms.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/orawsdl.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/bpm-infra.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/bpm-services.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/xmlunit1.0.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/bipres.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/bicmn.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/uix2.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/jewt4.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/share.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/regexp.jar
    MY_CLASSPATH=/oracle/product/10.1.3.1/OracleAS_1/bpel/system/classes
    OBDK_CLASSPATH=/oracle/product/10.1.3.1/OracleAS_1/jdk/jre/lib/rt.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/system/classes:/oracle/product/10.1.3.1/OracleAS_1/jdk/lib/tools.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/connector15.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/orabpel-common.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/orabpel-thirdparty.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/orabpel-exts.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/orabpel.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/orabpel-ant.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/ant-launcher_1.6.5.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/ant_1.6.5.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/oracle_http_client.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/xmlparserv2.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/aqapi.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/dms.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/orawsdl.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/bpm-infra.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/bpm-services.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/xmlunit1.0.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/bipres.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/bicmn.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/uix2.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/jewt4.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/share.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/regexp.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/j2ee_1.3.01.jar
    OBANT_CLASSPATH=/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/serializer_2.7.0.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/xalan_2.7.0.jar:/oracle/product/10.1.3.1/OracleAS_1/jdk/jre/lib/rt.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/system/classes:/oracle/product/10.1.3.1/OracleAS_1/jdk/lib/tools.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/connector15.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/orabpel-common.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/orabpel-thirdparty.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/orabpel-exts.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/orabpel.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/orabpel-ant.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/ant-launcher_1.6.5.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/ant_1.6.5.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/oracle_http_client.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/xmlparserv2.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/aqapi.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/dms.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/orawsdl.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/bpm-infra.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/bpm-services.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/xmlunit1.0.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/bipres.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/bicmn.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/uix2.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/jewt4.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/share.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/regexp.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/j2ee_1.3.01.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/../j2ee/home/oc4jclient.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/../j2ee/home/../../lib/xml.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/../j2ee/home/rmic.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/../j2ee/home/../../lib/dms.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/../j2ee/home/oc4j.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/../j2ee/home/lib/jmxri.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/../j2ee/home/lib/javax77.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/../j2ee/home/admin_client.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/orabpel.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/orabpel-common.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/orabpel-thirdparty.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/junit.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/ant-junit.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/hatatap.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/system/services/schema
    CLASSPATH=/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/serializer_2.7.0.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/xalan_2.7.0.jar:/oracle/product/10.1.3.1/OracleAS_1/jdk/jre/lib/rt.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/system/classes:/oracle/product/10.1.3.1/OracleAS_1/jdk/lib/tools.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/connector15.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/orabpel-common.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/orabpel-thirdparty.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/orabpel-exts.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/orabpel.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/orabpel-ant.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/ant-launcher_1.6.5.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/ant_1.6.5.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/oracle_http_client.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/xmlparserv2.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/aqapi.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/dms.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/orawsdl.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/bpm-infra.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/bpm-services.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/xmlunit1.0.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/bipres.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/bicmn.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/uix2.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/jewt4.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/share.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/regexp.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/j2ee_1.3.01.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/../j2ee/home/oc4jclient.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/../j2ee/home/../../lib/xml.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/../j2ee/home/rmic.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/../j2ee/home/../../lib/dms.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/../j2ee/home/oc4j.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/../j2ee/home/lib/jmxri.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/../j2ee/home/lib/javax77.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/../j2ee/home/admin_client.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/orabpel.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/orabpel-common.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/orabpel-thirdparty.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/junit.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/ant-junit.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/hatatap.jar:/oracle/product/10.1.3.1/OracleAS_1/bpel/system/services/schema
    In either of the OS, I don't find both the files you have mentioned!

  • Java EE Tutorial ant deploy error.

    I'm not really sure where this post belongs, but I thought I would throw it out there as an FYI to anyone using the ant command line tools for the Java EE Tutorial.
    I have been playing around with the Java EE Tutorial and believe I may have found a bug with the war-ant.xml file. When running the deployment from the command line, the deploy portion of the build fails. The following is an example error message.
    deploy:
    [exec] Usage: deploy [--terse=false] [--echo=false] [--interactive=true] [-
    -host localhost] [--port 4848|4849] [--secure | -s] [--user admin_user] [--passw
    ordfile file_name] [--virtualservers virtual_servers] [--contextroot context_roo
    t] [--force=true] [--precompilejsp=false] [--verify=false] [--name component_nam
    e] [--upload=true] [--retrieve local_dirpath] [--dbvendorname dbvendorname] [--c
    reatetables=true|false | --dropandcreatetables=true|false] [--uniquetablenames=t
    rue|false] [--deploymentplan deployment_plan] [--enabled=true] [--generatermistu
    bs=false] [--availabilityenabled=false] [--libraries jar_file[(pathseparator)jar
    _file]*] [--target target(Default server)] filepath
    [exec] CLI019 Invalid number of operands. Number of operands should be equ
    al to 1.
    deploy-url-message:
    [echo] Application Deployed at: http://localhost:8080/bookstore1
    BUILD FAILED
    The root cause of the problem stems from the fact that the script basically calls a command line tool to deploy the war to the app server. If you examine the error output, all parameters are optional except the last one... filepath. This parameter is set in the war-ant.xml in the following line.
    <property name="app.module" value="${build.dir}/${module.name}.war"/>
    This line look innocuous at first but upon closer inspection, one notices that the path name refers to the build.dir. This is problematic because the build dir does not contain the war file. The build process puts the war file in the dist dir under the project root. So this line is incorrect. The following line offers the correct solution.
    <property name="app.module" value="${dist.dir}/${module.name}.war"/>
    By changing the line to use the dist.dir, which is where the file is located, the build script executes correctly. :)

    As a follow-up to be clear, the app.module property is used in the deploy task of the app-server-ant.xml. It is the last argument of the argument list.
    <target name="deploy" depends="tools,-pre-deploy"
    description="deploys the application">
    <fail unless="app.module" message="app.module must be set before invoking this target. Otherwise there is no application to deploy."/>
    <fail unless="module.name" message="app.name must be set before invoking this target. Otherwise there is no application to deploy."/>
    <condition property="app.url" value="http://${javaee.server.name}:${javaee.server.port}/${run.uri}">
    <not>
    <isset property="app.endpointuri"/>
    </not>
    </condition>
    <property name="failonerror" value="true"/>
    <exec executable="${asadmin}" failonerror="${failonerror}">
    <arg line=" deploy "/>
    <arg line=" --user ${javaee.server.username}" />
    <arg line=" --passwordfile ${javaee.server.passwordfile}" />
    <arg line=" --host ${javaee.server.name}" />
    <arg line=" --port ${javaee.adminserver.port}" />
    <arg line=" --name ${module.name}"/>
    <arg line=" --force=true "/>
    <arg line=" --upload=true "/>
    <arg line=" --dbvendorname ${db.vendorname}"/>
    <arg line="${app.module}" />
    </exec>
    <antcall target="deploy-url-message"/>
    </target>

Maybe you are looking for