Jwstutorial13 ant install build fail

Hello again. I am still working on CH3 of the jwstutorial 13 on windowsxp home edition
the build properties file is as follows:
tutorial.home=C:/jwstutorial13
tutorial.install=${tutorial.home}/jwstutorial13
username=myusername
password=mypassword
host=localhost
port=8080
secure.port=8443
url=http://${host}:${port}/manager
ant build was successful
ant install failed:
file:C:/jwstutorial13/exmaples/common/targets.xml:15: java.io.IOException:Server returned
HTTP response code: 401 for URL:http://localhost:8080/manager/install?path=%2Fgs&war=file%3AC%A2Fjwstutorial13%2Fjwstutorial13%jwstutorial13%2Fexamples%2Fgs%2Fbuild
I checked out targets.xml at line 15 which appears to refer to the context and war files.
I went through the tutorial and modified the build file. In the set up, i put all the required files in the path.
i have gone through previous complaints about this in this forum and there have been many suggestions, but none of them have been specific to line 15 of the the targets.xml which appears to be concerned with the context and war files.
any help with this would be greatly appreciated.
thanks.

also,
in the jwsdp_log i also see this:
2003-12-19 16:51:07 createObjectName with StandardEngine[Catalina]
2003-12-19 16:51:07 preRegister with Catalina:type=Logger
2003-12-19 16:51:07 UserDatabaseRealm[Catalina]: Exception looking up UserDatabase under key UserDatabase
javax.naming.NamingException: Element type "user" must be followed by either attribute specifications, ">" or "/>".
     at org.apache.naming.NamingContext.lookup(NamingContext.java:849)
     at org.apache.naming.NamingContext.lookup(NamingContext.java:197)
     at org.apache.catalina.realm.UserDatabaseRealm.start(UserDatabaseRealm.java:302)
     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1119)
     at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:502)
     at org.apache.catalina.core.StandardService.start(StandardService.java:519)
     at org.apache.catalina.core.StandardServer.start(StandardServer.java:2311)
     at org.apache.catalina.startup.Catalina.start(Catalina.java:577)
     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:324)
     at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:328)
     at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
     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:324)
     at org.apache.commons.launcher.ChildMain.run(ChildMain.java:269)
2003-12-19 17:04:13 createObjectName with StandardEngine[Catalina]
2003-12-19 17:04:13 preRegister with Catalina:type=Logger
2003-12-19 17:04:13 UserDatabaseRealm[Catalina]: Exception looking up UserDatabase under key UserDatabase
javax.naming.NamingException: Element type "user" must be followed by either attribute specifications, ">" or "/>".
     at org.apache.naming.NamingContext.lookup(NamingContext.java:849)
     at org.apache.naming.NamingContext.lookup(NamingContext.java:197)
     at org.apache.catalina.realm.UserDatabaseRealm.start(UserDatabaseRealm.java:302)
     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1119)
     at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:502)
     at org.apache.catalina.core.StandardService.start(StandardService.java:519)
     at org.apache.catalina.core.StandardServer.start(StandardServer.java:2311)
     at org.apache.catalina.startup.Catalina.start(Catalina.java:577)
     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:324)
     at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:328)
     at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
     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:324)
     at org.apache.commons.launcher.ChildMain.run(ChildMain.java:269)
2003-12-19 17:12:04 createObjectName with StandardEngine[Catalina]
2003-12-19 17:12:04 preRegister with Catalina:type=Logger
2003-12-19 17:12:04 UserDatabaseRealm[Catalina]: Exception looking up UserDatabase under key UserDatabase
javax.naming.NamingException: Element type "user" must be followed by either attribute specifications, ">" or "/>".
     at org.apache.naming.NamingContext.lookup(NamingContext.java:849)
     at org.apache.naming.NamingContext.lookup(NamingContext.java:197)
     at org.apache.catalina.realm.UserDatabaseRealm.start(UserDatabaseRealm.java:302)
     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1119)
     at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:502)
     at org.apache.catalina.core.StandardService.start(StandardService.java:519)
     at org.apache.catalina.core.StandardServer.start(StandardServer.java:2311)
     at org.apache.catalina.startup.Catalina.start(Catalina.java:577)
     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:324)
     at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:328)
     at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
     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:324)
     at org.apache.commons.launcher.ChildMain.run(ChildMain.java:269)
at c:\jwstutorial13\examples\common\targets.xml i see this:
Only one top level element is allowed in an XML document. Error processing resource 'file:///C:/jwstutorial13/examples/common/targets.xml'. Line 2, Position 4
<taskdef name="install" classname="org.apache.catalina.ant.InstallTask"/>
---^
the source code of targets.xml:
<taskdef name="list" classname="org.apache.catalina.ant.ListTask"/>     
<taskdef name="install" classname="org.apache.catalina.ant.InstallTask"/>
<taskdef name="reload" classname="org.apache.catalina.ant.ReloadTask"/>
<taskdef name="remove" classname="org.apache.catalina.ant.RemoveTask"/>     
<taskdef name="deploy" classname="org.apache.catalina.ant.DeployTask"/>     
<taskdef name="undeploy" classname="org.apache.catalina.ant.UndeployTask"/>     
<target name="list" description="List web applications" >
<list url="${url}" username="${username}" password="${password}" />
</target>
<target name="install" description="Install web application"
depends="build">
<install url="${url}" username="${username}" password="${password}"
path="/${context.path}" war="file:${build}"/>
</target>
<target name="reload" description="Reload web application"
depends="build">
<reload url="${url}" username="${username}" password="${password}"
path="/${context.path}"/>
</target>
<target name="remove" description="Remove web application">
<remove url="${url}" username="${username}" password="${password}"
path="/${context.path}"/>
</target>
<target name="package"
description="Packages the WAR file">
<echo message="Packaging the WAR...."/>
<delete file="dist/${war.file}" />
<jar jarfile="dist/${war.file}" >
<fileset dir="${build}" />
</jar>
</target>
<target name="deploy" description="Deploy a Web application">
<deploy url="${url}" username="${username}" password="${password}"
path="/${context.path}" war="file:${example.path}/dist/${war.file}"
/>
</target>
<target name="undeploy" description="Undeploy web application">
<undeploy url="${url}" username="${username}" password="${password}"
path="/${context.path}"/>
</target>
Thank you very much for your help in this.
cyuno

Similar Messages

  • WSDPe2-ant buld, ant install

    On WindowsNT
    After successful \gs>ant build,
    I'm getting error after \gs>ant install:
    BUILD FAILED
    D:\jwsdp_e2\docs\tutorial\examples\gs\build.xml:41: java.io.FileNotFoundExceptio
    n: http://localhost:8080/manager/install?path=%2Fgs&war=file%3AD%3A%5Cjwsdp_e2%2
    Fdocs%2Ftutorial%2Fexamples%2Fgs%2Fbuild
    My build.properties file is in c:\winnt\profiles\administrator and consist of just 1 line:
    username=vgkogut password=sch106.
    The tomcat-users.xml file has corresponding line:
    <user username="vgkogut" password="sch106" roles="admin,manager,provider"/>
    So what might be wrong ?
    Thanks,
    Vlad

    I have the same problem with "ant install" if I login as "root" user.(even if I have created the build.properties file correctly in root account directory) If I login as normal user, "ant install" work. I have no problem getting the example "gs" to build, install and run properly. However, when I run "ant install" on the example: <JWSDP_HOME>/docs/tutorial/examples/web/hello1, it run successfully but there is nothing created for me at the <JWSDP_HOME>/Standard Engine/localhost/hello1 directory. I wonder anybody has encountered this problem and know the solution for this problem! Thank you.

  • The command "ant install" is not running

    I have a problem when I entered the command "ant install" in the .
    I am using the JWSDP and I followed the procedure to install this web service package, but when I try to run the ANT task install, the result is:
    C:\jwsdp-1_0_01\docs\tutorial\examples\web\hello1>ant install
    Buildfile: build.xml
    init:
    prepare:
    build:
    [javac] Compiling 1 source file to C:\jwsdp\docs\tutorial\examples\web\hello
    1\build\WEB-INF\classes
    install:
    BUILD FAILED
    Total time: 14 seconds
    C:\jwsdp-1_0_01\docs\tutorial\examples\web\hello1\build.xml:86: java.io.FileNotF
    oundException: http://localhost:8080/manager/install?path=%2Fhello1&war=file%3AC
    %3A%5Cjwsdp%2Fdocs%2Ftutorial%2Fexamples%2Fweb%2Fhello1%2Fbuild
    The log
    access_log.2003-03-14.txt
    127.0.0.1 - - [14/Mar/2003:23:48:44 -0300] "GET /hello1/greeting?username=plautz HTTP/1.1" 200 -
    127.0.0.1 - - [14/Mar/2003:23:48:48 -0300] "GET /hello1/greeting?username=Tchau HTTP/1.1" 200 -
    127.0.0.1 - - [14/Mar/2003:23:51:27 -0300] "GET /manager/install?path=%2Fhello1&war=file%3AC%3A%5Cjwsdp%2Fdocs%2Ftutorial%2Fexamples%2Fweb%2Fhello1%2Fbuild HTTP/1.1" 401 -
    Path C:\oracle\ora81\bin;
    C:\oracle\ora81\Apache\Perl\5.00503\bin\mswin32-x86;
    C:\Program Files\Oracle\jre\1.1.7\bin;
    %SystemRoot%\system32;%SystemRoot%;
    %SystemRoot%\System32\Wbem;
    %PATH%;%ANT_HOME%\bin;
    %PATH%;
    c:\jdk1.3.1\bin;
    c:\jwsdp\bin
    ANT_HOME %=JWSDP_HOME%
    JAVA_HOME c:\jdk1.3.1
    JWSDP_HOME c:\jwsdp
    The servlet that I am using is the first one that comes with the JWSDP-TUTORIAl.
    The diretory C:\JWSDP is the home for the web server pachage
    C:\JWSDP-1_0_01 is the diretory of the tutorial package.
    I have Windows 2000 professional install in my Laptop.
    I have this problem for more than two weeks.
    Thanks in advance
    Plautz

    Hello. I've made that.
    1. Create build.bat in the folder docs\tutorial\examples\web\hello1 with a content:
    =================================
    set JWSDP_HOME=c:/jwsdp-1_0_01
    %JWSDP_HOME%/bin/ant.bat -buildfile build.xml -logfile build.log %1
    =================================
    2. You have to specify a correct server manager username and password to the build.xml at the line 86. You can find these in the %JWSDP_HOME%/conf/tomcat-users.xml or you have to add the username, password and associate with a role "manager". This is the tomcat-users.xml content:
    =================================
    <?xml version='1.0'?>
    <tomcat-users>
    <role rolename="manager"/>
    <role rolename="provider"/>
    <role rolename="admin"/>
    <user username="your_name" password="your_password" roles="admin,manager,provider"/>
    </tomcat-users>
    =================================
    This is the build.xml correct content at line 86:
    =================================
    <target name="install" description="Install web application"
    depends="build">
    <install url="${url}" username="your_name" password="your_password"
    path="${path}" war="file:${build}"/>
    </target>
    3. Run Tomcat.
    4. Run 'build.bat install' command.
    Good luck.

  • Build failed while Installing AIA FP Demo Application

    Hi ,
    I was trying to run the AIA Foundation Pack Demo Application as per the steps mentioned in oracle site,I am getting this error while Installing and Deploying AIA Demo Application(deployment script ant –f deployDemo.xml in command window).
    D:\Devrep\Oracle\AIAHome\samples\AIADemo\config>ant -f deployDemo.xml
    Buildfile: deployDemo.xml
    InstallDemo:
    [echo]
    [echo] /------------------------------------------------------------\
    [echo] ! !
    [echo] ! Setting the environment to install !
    [echo] ! AIA Demo !
    [echo] ! !
    [echo] ! Verify D:\Devrep\Oracle\AIAHome\aia_instances\AIA/logs/AIAdemoI
    nstall.log !
    [echo] \------------------------------------------------------------/
    [echo]
    [echo] /----------------------------------------------------------\
    [echo] ! !
    [echo] ! Installing AIA Demo !
    [echo] ! !
    [echo] \----------------------------------------------------------/
    AID:
    BUILD FAILED
    D:\Devrep\Oracle\AIAHome\samples\AIADemo\config\deployDemo.xml:91: The following
    error occurred while executing this line:
    D:\Devrep\Oracle\AIAHome\samples\AIADemo\config\deployDemo.xml:123: The followin
    g error occurred while executing this line:
    D:\Devrep\Oracle\AIAHome\Infrastructure\Install\AID\AIAInstallDriver.xml:35: web
    logic.security.internal.encryption.EncryptionServiceException: weblogic.security
    .internal.encryption.EncryptionServiceException: weblogic.security.internal.encr
    yption.EncryptionServiceException: [Security:090219]Error decrypting Secret Key
    java.lang.SecurityException: The provider self-integrity check failed.
    Please help me out how to resolve this issue.
    Thanks in Advance.
    Biswanath

    Can you try passing weblogic username and password to the demo deploy command. The command would be
    ant -f deployDemo.xml -DUsername=<weblogic username> -DPassword=<weblogic password>
    Thanks,
    -Pavan

  • ORABPEL-10903 when installing AIA 2.0.1 rollup patch = build failed

    Hello,
    When installing on a RHEL 4.7 Linux server the AIA rollup patch 2.0.1, I got this error very often (even if the OUI said the installation is OK, the installActions logs are not OK):
    [exec] [exec] compile:
    [exec] [exec] [echo]
    [exec] [exec] [echo] --------------------------------------------------------------
    [exec] [exec] [echo] | Compiling bpel process QueryCustomerPartyListPortalProvABCSImpl, revision 1.0
    [exec] [exec] [echo] --------------------------------------------------------------
    [exec] [exec] [echo]
    [exec] [exec] ORABPEL-01021
    [exec] [exec]
    [exec] [exec] Echec de la validation BPEL.
    [exec] [exec] Echec de la validation de la source BPEL. Erreurs :
    [exec] [exec]
    [exec] [exec] *[Erreur ORABPEL-10903] : échec de la lecture du WSDL*
    [exec] [exec] [Description] : dans "bpel.xml", Echec de la lecture du document WSDL.
    [exec] [exec] Echec de la lecture du document WSDL dans "http://dvedvb40:7777/orabpel/default/AIAAsyncErrorHandlingBPELProcess/AIAAsyncErrorHandlingBPELProcess?wsdl". Cause : "Echec de la lecture du WSDL dans http://dvedvb40:7777/orabpel/default/AIAAsyncErrorHandlingBPELProcess/AIAAsyncErrorHandlingBPELProcess?wsdl : WSDL introuvable".
    [exec] [exec] Assurez-vous que le document WSDL est valide. Vous devrez peut-être démarrer le serveur OraBPEL ou vérifier que le processus BPEL associé est correctement déployé.
    [exec] [exec] .
    [exec] [exec] [Solution potentielle] : Si votre site utilise un serveur proxy, vous pouvez configurer le serveur BPEL, BPEL Designer et votre navigateur Web avec les paramètres de configuration de ce serveur proxy (pour obtenir des instructions, reportez-vous à la note technique sur le site http://otn.oracle.com/bpel).
    [exec] [exec] .
    [exec] [exec]
    [exec] [exec]      at com.collaxa.cube.lang.compiler.CubeProcessor.validateClientSide(CubeProcessor.java:1133)
    [exec] [exec]      at com.collaxa.cube.lang.compiler.CubeProcessor.transformClientSide(CubeProcessor.java:449)
    [exec] [exec]      at com.collaxa.cube.lang.compiler.CubeParserHelper.compileClientSide(CubeParserHelper.java:83)
    [exec] [exec]      at com.collaxa.cube.ant.taskdefs.Bpelc.execute(Bpelc.java:626)
    [exec] [exec]      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    [exec] [exec]      at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
    [exec] [exec]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [exec] [exec]      at java.lang.reflect.Method.invoke(Method.java:585)
    [exec] [exec]      at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
    [exec] [exec]      at org.apache.tools.ant.Task.perform(Task.java:348)
    [exec] [exec]      at org.apache.tools.ant.Target.execute(Target.java:357)
    [exec] [exec]      at org.apache.tools.ant.Target.performTasks(Target.java:385)
    [exec] [exec]      at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
    [exec] [exec]      at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
    [exec] [exec]      at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
    [exec] [exec]
    [exec] [exec] BUILD FAILED
    When I copy/past those 2 URL into my browser:
    http://dvedvb40:7777/orabpel/default/AIAAsyncErrorHandlingBPELProcess/AIAAsyncErrorHandlingBPELProcess?wsdl
    http://dvedvb40:7777/orabpel/default/AIAAsyncErrorHandlingBPELProcess/1.0
    they are perfectly found, though!
    At the end of the install process, OUI says the installation was fine, but it's not what the installActions log says...
    What do you think of that?
    Thanks in advance.
    Regards,
    KaRiNe.
    Edited by: user10975061 on 28 mai 2009 05:42

    Hello,
    We did go further into the installation process, but we still got this same old error at the end (after more than 6 hours!!!)... :((
    Checking the processes status at the end of this installation, we can see the oc4j_soa server and HTTP server are Stop and Down which is not good:
    dvedvb40:oracle:/exec/applis/tbaia/products/oracle/10.1.3.1/OracleAS/opmn/bin> ./opmnctl status
    Processes in Instance: AIADB.dvedvb40
    --------------------------------------------------------------+---------
    ias-component | process-type | pid | status
    --------------------------------------------------------------+---------
    ASG | ASG | N/A | Down
    OC4JGroup:default_group | OC4J:oc4j_soa | 6746 | Stop
    OC4JGroup:default_group | OC4J:home | 6745 | Alive
    HTTP_Server | HTTP_Server | N/A | Down
    Regards,
    KaRiNe.

  • Build failed while Installing AIA Demo

    Hi,
    I am getting this error while Installing and Deploying AIA Demo Application.
    D:\Devrep\Oracle\AIAHome\samples\AIADemo\config>ant -f deployDemo.xml
    Buildfile: deployDemo.xml
    InstallDemo:
    [echo]
    [echo] /------------------------------------------------------------\
    [echo] ! !
    [echo] ! Setting the environment to install !
    [echo] ! AIA Demo !
    [echo] ! !
    [echo] ! Verify D:\Devrep\Oracle\AIAHome\aia_instances\AIA/logs/AIAdemoI
    nstall.log !
    [echo] \------------------------------------------------------------/
    [echo]
    [echo] /----------------------------------------------------------\
    [echo] ! !
    [echo] ! Installing AIA Demo !
    [echo] ! !
    [echo] \----------------------------------------------------------/
    AID:
    BUILD FAILED
    D:\Devrep\Oracle\AIAHome\samples\AIADemo\config\deployDemo.xml:91: The following
    error occurred while executing this line:
    D:\Devrep\Oracle\AIAHome\samples\AIADemo\config\deployDemo.xml:123: The followin
    g error occurred while executing this line:
    D:\Devrep\Oracle\AIAHome\Infrastructure\Install\AID\AIAInstallDriver.xml:35: web
    logic.security.internal.encryption.EncryptionServiceException: weblogic.security
    .internal.encryption.EncryptionServiceException: weblogic.security.internal.encr
    yption.EncryptionServiceException: [Security:090219]Error decrypting Secret Key
    java.lang.SecurityException: The provider self-integrity check failed.
    Please help me out how to resolve this issue.
    Thanks in Advance.
    Biswanath

    Can you try passing weblogic username and password to the demo deploy command. The command would be
    ant -f deployDemo.xml -DUsername=<weblogic username> -DPassword=<weblogic password>
    Thanks,
    -Pavan

  • Java EE5 Tutorial -  'ant create-tables' BUILD FAILED

    Hi,
    Appologies, this is quite a begineers question, hopefully it's an easy one to answer. I've searched for the last few hours regarding this issue,
    trying things and searched the forums here at sun with no similar issue. As you can see below, I cannot create the tables for the bookstore1 application using 'ant'.
    I am getting a FileNotFoundException however the delete.sql and tutorial.sql files are at this location C:\javaee\javaeetutorial5\examples\common\sql\javadb\
    I have also made sure that the files have read and write access. I know their could be some permissions issues using vista if I installed at C:/ProgramFiles, so everything is in C:/
    Another thing I have tried is using the ant command directly even though the PATH is in my enviroment variables, just incase another version was conflicting, as I read about people having such issues.
    "C:\Sun\AppServer\lib\ant\bin\ant create-tables" => This gave the same error as below. Im not sure what other information may help you help me here, so just ask.
    Annoying thing is, this example worked fine when I set up the environment on my work laptop (which I have no access to now) earlier, I didn't have this issue.
    Thanks for your help.
    /Paul.
    c:\javaee\javaeetutorial5\examples\web\bookstore1>ant create-tables
    Buildfile: build.xml
    -pre-init:
    init:
    check:
    tools:
    start-db:
         [exec] Database already started on host localhost, port 1527.
         [exec] Command start-database executed successfully.
    delete-tables:
          [sql] Executing file: C:\javaee\javaeetutorial5\examples\web\bookstore1\=C:\javaee\javaeetutorial5\examples\common\sql\javadb\delete.sql
    BUILD FAILED
    C:\javaee\javaeetutorial5\examples\bp-project\database-ant.xml:48: java.io.FileNotFoundException: C:\javaee\javaeetutorial5\examples\web\bookstore1\=C
    :\javaee\javaeetutorial5\examples\common\sql\javadb\delete.sql (The filename, directory name, or volume label syntax is incorrect)
    Total time: 21 seconds
    c:\javaee\javaeetutorial5\examples\web\bookstore1>

    Hi,
    This is due to the path problem that u specified in build.properties file for javaee.tutorial.home= variable. Use / instead of \. Problem will solved.
    Thanks
    Amalka

  • Error in Installing AIA FP 11gR1 - Linux - Build Failed - UrgentHelp

    Hi All.,
    Actually we are in process of setting up AIA FP 11gR1 (AIA 3.0) FMW environment in OEL 4 (Linux) platform.
    Everytime while installing the AIA FP we are facing the following errors during final stage of configurations setup of FP.
    PFB the error in Install Log File:
    [wlst]
    [wlst] Overriding the ListenPort or ListenAddress is not supported.
    [wlst] WLST will use the ListenPort and ListenAddress that are configured on the ServerMBean
    [wlst]
    [wlst] Server 'soa_server1' has already been started
    Starting server soa_server1 ....
    BUILD FAILED
    /PROJECTS/app/oracle/AIAFP/Infrastructure/Install/AID/AIAInstallDriver.xml:146: The following error occurred while executing this line:
    /PROJECTS/app/oracle/AIAFP/Infrastructure/Install/AID/AIAExecuteDriver.xml:102: The following error occurred while executing this line:
    /PROJECTS/app/oracle/AIAFP/Infrastructure/Install/AID/AIAExecuteDriver.xml:58: The following error occurred while executing this line:
    /PROJECTS/app/oracle/AIAFP/aia_instances/AIAFP/tmp/AIDExecuteDP_temp_1331540314.xml:114: The following error occurred while executing this line:
    /PROJECTS/app/oracle/AIAFP/Infrastructure/Install/AID/lib/AIDConfigurationLibraryTasks.xml:464: Traceback (innermost last):
    File "/PROJECTS/app/oracle/AIAFP/Infrastructure/Install/AID/lib/py/ManagedServer.py", line 25, in ?
    File "<iostream>", line 1280, in start
    File "<iostream>", line 1744, in raiseWLSTException
    WLSTException: Error occured while performing start : Error starting the server : Error occured while performing start : Server with name soa_server1 failed to be started
    Use dumpStack() to view the full stacktrace
    Total time: 59 minutes 5 seconds
    <Jun 10, 2010 1:04:06 PM IST> <Warning> <JNDI> <BEA-050001> <WLContext.close() was called in a different thread than the one in which it was created.>
    <Jun 10, 2010 1:04:06 PM IST> <Warning> <JNDI> <BEA-050001> <WLContext.close() was called in a different thread than the one in which it was created.>
    <Jun 10, 2010 1:04:06 PM IST> <Warning> <JNDI> <BEA-050001> <WLContext.close() was called in a different thread than the one in which it was created.>
    <Jun 10, 2010 1:04:06 PM IST> <Warning> <JNDI> <BEA-050001> <WLContext.close() was called in a different thread than the one in which it was created.>
    <Jun 10, 2010 1:04:06 PM IST> <Warning> <JNDI> <BEA-050001> <WLContext.close() was called in a different thread than the one in which it was created.>
    <Jun 10, 2010 1:04:06 PM IST> <Warning> <JNDI> <BEA-050001> <WLContext.close() was called in a different thread than the one in which it was created.>
    Deployment Command Return Value Configuration: 1
    progress in calculate progress20
    progress in calculate progress20
    Pointers on this could help us a lot .
    Thanks in advance.
    Regards,
    Ramnath

    Hi All,
    We are getting the following exception in installation of AIA FP 11gR1 on Linux installation during the final stage Configuration setup of AIA.
    The exact error is as follows :
    [wlst] Overriding the ListenPort or ListenAddress is not supported.
    [wlst] WLST will use the ListenPort and ListenAddress that are configured on the ServerMBean
    [wlst]
    [wlst] Server 'soa_server1' has already been started
    Starting server soa_server1 ....
    BUILD FAILED
    /PROJECTS/app/oracle/AIAFP/Infrastructure/Install/AID/AIAInstallDriver.xml:146: The following error occurred while executing this line:
    /PROJECTS/app/oracle/AIAFP/Infrastructure/Install/AID/AIAExecuteDriver.xml:102: The following error occurred while executing this line:
    /PROJECTS/app/oracle/AIAFP/Infrastructure/Install/AID/AIAExecuteDriver.xml:58: The following error occurred while executing this line:
    /PROJECTS/app/oracle/AIAFP/aia_instances/AIAFP/tmp/AIDExecuteDP_temp_1995177724.xml:114: The following error occurred while executing this line:
    /PROJECTS/app/oracle/AIAFP/Infrastructure/Install/AID/lib/AIDConfigurationLibraryTasks.xml:464: Traceback (innermost last):
    File "/PROJECTS/app/oracle/AIAFP/Infrastructure/Install/AID/lib/py/ManagedServer.py", line 25, in ?
    File "<iostream>", line 1280, in start
    File "<iostream>", line 1744, in raiseWLSTException
    WLSTException: Error occured while performing start : Error starting the server : Error occured while performing start : Server with name soa_server1 failed to be started
    Use dumpStack() to view the full stacktrace
    Pointers in this would help us a lot..
    Regards,
    Ramnath

  • Ant Build Fails on MacOS

    I am trying to build the latest SVN build on a MacOS 10.6 and it fails.  I've steps through the instructions from here:
    http://opensource.adobe.com/wiki/display/flexsdk/Get+Source+Code
    ...but regardless I always get the following output in Terminal:
    BUILD FAILED
    /Applications/Adobe Flash Builder 4/sdks/trunk/build.xml:341: The following error occurred while executing this line:
    /Applications/Adobe Flash Builder 4/sdks/trunk/build.xml:318: Java returned: 1
    Help.

    Also when I execute the 'source setup.sh' command in Terminal, I get the following:
    flexmachine@Flex-Machine:/Applications/Adobe Flash Builder 4/sdks/trunk$ source setup.sh
    setup.sh: Setting default  ANT_HOME=/Users/flexmachine/bin/apache-ant-1.7.0
    setup.sh: Setting default JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home
    -bash: [: too many arguments
    Would that last line be an issue for me?

  • JDIC and ANT - BUILD FAILED

    Can anyone help me?
    I am trying to launch lotus notes from my java application. I made some changes in �ServiceManagerStub.java� to launch lotus note. Here is the changes I made.
    URL: https://jdic.dev.java.net/issues/show_bug.cgi?id=408
    Now I am trying to rebuild build.xml using �ANT�.
    I am using DOS prompt for my compilation.
    I am getting following error. Could any one help me?
    This is the command I used: �ant buildall�
    This is the error I got:
    BUILD FAILED:
    C:\..\..\build.xml:153: The following error occurred while executing this line:
    C:\..\..\build.xml:217: Execute failed: java.io.IOException: createprocess: nmake /f jdic.mak �CFG=jdic � win32 Release� error=2
    This is the command I used: �ant buildwin32�
    This is the error I got:
    BUILD FAILED:
    C:\..\..\build.xml:217: Execute failed: java.io.IOException: createprocess: nmake /f jdic.mak �CFG=jdic � win32 Release� error=2
    Thank you very much for your help.
    Sam
    Message was edited by:
    sam22

    Option 1: I tried to find out the folder where
    "nmake" is located. I could not find it. Could you
    tell me how to find out that folder?If you're on Windows, go to My Computer -> Search and give it some time :-)
    Option 2: I understood that I have to uses external
    path for this. But I am not sure how to do that. Is
    there any way I can get the steps that I have to
    follow? If you want to use the PATH environment variable, it differs slightly between Windows versions.
    I suggest, after you found out the path, first you specify the full path right there in your Ant file where you exec it, just to see if that works. Then, if you have a need to make your script a bit more portable, you can refactor so the path is in an Ant property, which you could choose to define in an external file for maximum flexibility.
    For more information about Ant, see http://ant.apache.org/manual/index.html but feel free to come back with a concrete problem.

  • J2ee.template ant build failed

    Hello,
    I am not sure why the following error that ant encountered while compiling with the init setting on java.class.path points to jboss-j2ee.jar file already. Believe the jboss-j2ee.jar file has the javax.jms.ConnectionFactory class included in the jar. Do I need other jar files?
    Thanks in advance.
    Alan
    compile:
    [javac] Compiling 1 source file to C:\user\product\JBoss\j2ee.template\ejb\build\class
    es
    [javac] C:\user\product\JBoss\j2ee.template\ejb\src\main\client\com\mpg\template\clien
    t\TestClient.java:88: cannot resolve symbol
    [javac] symbol : method createConnection ()
    [javac] location: interface javax.jms.ConnectionFactory
    [javac] lConnection = lFactory.createConnection();
    [javac] ^
    init:
    [echo] build.compiler = ${build.compiler}
    [echo] user.home = C:\Documents and Settings\alan
    [echo] java.home = c:\j2sdk1.4.2_03\jre
    [echo] ant.home = c:\ant\bin\..
    [echo] jboss.home = c:/user/product/jboss/jboss-3.2.3-src/build/output/jboss-3.2.3
    [echo] xdoclet.home = c:xdoclet
    [echo] junit.home = c:/junit3.8.1
    [echo] java.class.path = c:\ant\bin\..\lib\ant-launcher.jar;C:\user\product\JBoss\j2e
    e.template\.\;c:\j2sdk1.4.2_03\jre\lib\rt.jar;c:\user\product\jboss\jboss-3.2.3-src\build\
    output\jboss-3.2.3\server\default\lib\jboss-j2ee.jar;C:\ant\lib\ant-antlr.jar;C:\ant\lib\a
    nt-apache-bsf.jar;C:\ant\lib\ant-apache-resolver.jar;C:\ant\lib\ant-commons-logging.jar;C:
    \ant\lib\ant-commons-net.jar;C:\ant\lib\ant-icontract.jar;C:\ant\lib\ant-jai.jar;C:\ant\li
    b\ant-jakarta-bcel.jar;C:\ant\lib\ant-jakarta-log4j.jar;C:\ant\lib\ant-jakarta-oro.jar;C:\
    ant\lib\ant-jakarta-regexp.jar;C:\ant\lib\ant-javamail.jar;C:\ant\lib\ant-jdepend.jar;C:\a
    nt\lib\ant-jmf.jar;C:\ant\lib\ant-jsch.jar;C:\ant\lib\ant-junit.jar;C:\ant\lib\ant-launche
    r.jar;C:\ant\lib\ant-netrexx.jar;C:\ant\lib\ant-nodeps.jar;C:\ant\lib\ant-starteam.jar;C:\
    ant\lib\ant-stylebook.jar;C:\ant\lib\ant-swing.jar;C:\ant\lib\ant-trax.jar;C:\ant\lib\ant-
    vaj.jar;C:\ant\lib\ant-weblogic.jar;C:\ant\lib\ant-xalan1.jar;C:\ant\lib\ant-xalan2.jar;C:
    \ant\lib\ant-xslp.jar;C:\ant\lib\ant.jar;C:\ant\lib\xercesImpl.jar;C:\ant\lib\xml-apis.jar
    ;c:\j2sdk1.4.2_03\lib\tools.jar

    Hi,
    I've got the same problem, but with the JBOSS 3.0, here is the sample output:
    My settings are:
    init:
    [echo] build.compiler = ${build.compiler}
    [echo] user.home = C:\Documents and Settings\Marek
    [echo] java.home = c:\j2sdk\jre
    [echo] ant.home = c:\ant\bin\\..
    [echo] jboss.home = c:/jboss
    [echo] xdoclet.home = c:/xdoc
    [echo] junit.home = c:/junit
    [echo] java.class.path = c:\j2sdk\lib\tools.jar;c:\ant\bin\\..\lib\crimson.jar;c:\ant\bin\\..\lib\jaxp.jar;c:\ant\bin\\..\lib\ant.jar;;C:\xerces\xml-apis.jar;C:\xerces\xercesImpl.jar;C:\xerces\tools\xalan.jar;C:\xerces\xercesSamples.jar;C:\ant\lib;c:\junit;C:\jboss\lib;C:\jboss\client;C:\jboss\server\all\lib;C:\template\j2ee.template
    [echo]
    And at the end I get the message:
    compile:
    [javac] Compiling 1 source file to C:\template\j2ee.template\ejb\build\classes
    [javac] C:\template\j2ee.template\ejb\src\main\client\com\mpg\template\client\TestClient.java:88: cannot resolve symbol
    [javac] symbol : method createConnection ()
    [javac] location: interface javax.jms.ConnectionFactory
    [javac] lConnection = lFactory.createConnection();
    [javac] ^
    [javac] C:\template\j2ee.template\ejb\src\main\client\com\mpg\template\client\TestClient.java:90: cannot resolve symbol
    [javac] symbol : method createSession (boolean,int)
    [javac] location: interface javax.jms.Connection
    [javac] Session lJMSSession = lConnection.createSession( false, Session.AUTO_ACKNOWLEDGE );
    [javac] ^
    [javac] C:\template\j2ee.template\ejb\src\main\client\com\mpg\template\client\TestClient.java:95: cannot resolve symbol
    [javac] symbol : method createProducer (javax.jms.Queue)
    [javac] location: interface javax.jms.Session
    [javac] MessageProducer lProducer = lJMSSession.createProducer( lQueue );
    [javac] ^
    [javac] C:\template\j2ee.template\ejb\src\main\client\com\mpg\template\client\TestClient.java:98: cannot resolve symbol
    [javac] symbol : method send (javax.jms.TextMessage)
    [javac] location: interface javax.jms.MessageProducer
    [javac] lProducer.send( lMessage );
    [javac] ^
    [javac] C:\template\j2ee.template\ejb\src\main\client\com\mpg\template\client\TestClient.java:100: cannot resolve symbol
    [javac] symbol : method send (javax.jms.TextMessage)
    [javac] location: interface javax.jms.MessageProducer
    [javac] lProducer.send( lMessage );
    [javac] ^
    [javac] C:\template\j2ee.template\ejb\src\main\client\com\mpg\template\client\TestClient.java:102: cannot resolve symbol
    [javac] symbol : method send (javax.jms.TextMessage)
    [javac] location: interface javax.jms.MessageProducer
    [javac] lProducer.send( lMessage );
    [javac] ^
    [javac] 6 errors
    BUILD FAILED
    C:\template\j2ee.template\ejb\build.xml:213: Compile failed, messages should hav
    e been provided.
    Total time: 7 seconds
    Please tell me what is wrong???
    Big thanx for your help
    Rabenda

  • BUILD FAILED: Install the Schema (FOD.zip) -- Solved

    Buildfile: J:\fod\Infrastructure\Ant\build.xml
    createDatabase:
    refreshSchema:
    [sql] Executing file: J:\fod\Infrastructure\DBSchema\Scripts\SQLRunner895321461.sql
    [sql] 9 of 9 SQL statements executed successfully
    [delete] Deleting: J:\fod\Infrastructure\DBSchema\Scripts\SQLRunner895321461.sql
    createSchemaObjects:
    [sql] Executing file: J:\fod\Infrastructure\DBSchema\Scripts\createFODSchemaObjects.sql
    [sql] 475 of 475 SQL statements executed successfully
    createSequenceTriggers:
    [sql] Executing file: J:\fod\Infrastructure\DBSchema\Scripts\createSequenceTriggers.sql
    [sql] 19 of 19 SQL statements executed successfully
    populateTables:
    [sql] Executing file: J:\fod\Infrastructure\DBSchema\Scripts\SQLRunner895321461.sql
    [sql] 4 of 4 SQL statements executed successfully
    [delete] Deleting: J:\fod\Infrastructure\DBSchema\Scripts\SQLRunner895321461.sql
    [echo] Demo Options Created
    [sql] Executing file: J:\fod\Infrastructure\DBSchema\Scripts\DataScripts\AVAILABLE_LANGUAGES.sql
    [sql] 4 of 4 SQL statements executed successfully
    [echo] Available Languages Created
    [sql] Executing file: J:\fod\Infrastructure\DBSchema\Scripts\SQLRunner895321461.sql
    [sql] 244 of 244 SQL statements executed successfully
    [delete] Deleting: J:\fod\Infrastructure\DBSchema\Scripts\SQLRunner895321461.sql
    [sql] Executing file: J:\fod\Infrastructure\DBSchema\Scripts\SQLRunner895321461.sql
    [sql] 244 of 244 SQL statements executed successfully
    [delete] Deleting: J:\fod\Infrastructure\DBSchema\Scripts\SQLRunner895321461.sql
    [sql] Executing file: J:\fod\Infrastructure\DBSchema\Scripts\SQLRunner895321461.sql
    [sql] 244 of 244 SQL statements executed successfully
    [delete] Deleting: J:\fod\Infrastructure\DBSchema\Scripts\SQLRunner895321461.sql
    [sql] Executing file: J:\fod\Infrastructure\DBSchema\Scripts\SQLRunner895321461.sql
    [sql] 244 of 244 SQL statements executed successfully
    [delete] Deleting: J:\fod\Infrastructure\DBSchema\Scripts\SQLRunner895321461.sql
    [echo] Country Codes Created
    [sql] Executing file: J:\fod\Infrastructure\DBSchema\Scripts\SQLRunner895321461.sql
    [sql] 52 of 52 SQL statements executed successfully
    [delete] Deleting: J:\fod\Infrastructure\DBSchema\Scripts\SQLRunner895321461.sql
    [sql] Executing file: J:\fod\Infrastructure\DBSchema\Scripts\SQLRunner895321461.sql
    [sql] 52 of 52 SQL statements executed successfully
    [delete] Deleting: J:\fod\Infrastructure\DBSchema\Scripts\SQLRunner895321461.sql
    [sql] Executing file: J:\fod\Infrastructure\DBSchema\Scripts\SQLRunner895321461.sql
    [sql] 52 of 52 SQL statements executed successfully
    [delete] Deleting: J:\fod\Infrastructure\DBSchema\Scripts\SQLRunner895321461.sql
    [sql] Executing file: J:\fod\Infrastructure\DBSchema\Scripts\SQLRunner895321461.sql
    [sql] 52 of 52 SQL statements executed successfully
    [delete] Deleting: J:\fod\Infrastructure\DBSchema\Scripts\SQLRunner895321461.sql
    [echo] Lookup Codes Created
    [sql] Executing file: J:\fod\Infrastructure\DBSchema\Scripts\DataScripts\ADDRESSES.sql
    [sql] Executing file: J:\fod\Infrastructure\DBSchema\Scripts\DataScripts\DISCOUNTS_BASE.sql
    [sql] Executing file: J:\fod\Infrastructure\DBSchema\Scripts\DataScripts\MEMBERSHIPS_BASE.sql
    [sql] Executing file: J:\fod\Infrastructure\DBSchema\Scripts\DataScripts\SHIPPING_OPTIONS_BASE.sql
    [sql] Executing file: J:\fod\Infrastructure\DBSchema\Scripts\DataScripts\SUPPLIERS.sql
    [sql] 156 of 156 SQL statements executed successfully
    [echo] Addresses, Memberships, Discounts, Shipping Options and Suppliers Created
    [sql] Executing file: J:\fod\Infrastructure\DBSchema\Scripts\DataScripts\DISCOUNT_TRANSLATIONS.sql
    [sql] Executing file: J:\fod\Infrastructure\DBSchema\Scripts\DataScripts\ELIGIBLE_DISCOUNTS.sql
    [sql] Executing file: J:\fod\Infrastructure\DBSchema\Scripts\DataScripts\MEMBERSHIP_TRANSLATIONS.sql
    [sql] Executing file: J:\fod\Infrastructure\DBSchema\Scripts\DataScripts\PERSONS.sql
    [sql] Failed to execute: INSERT INTO persons VALUES ( 102 , 'LDEHAAN' , NULL , 'Lex' , 'De Haan' , 'STAFF' , 'Y' , 3 , NULL , NULL , 'LDEHAAN' , 'LDEHAAN' , '515.123.4569' , NULL , NULL , TO_DATE('13-JAN-1963', 'dd-MON-yyyy') , 'MARR' , 'M' , NULL , NULL , NULL , 'Y' , 'Y' , '0' , SYSDATE , '0' , SYSDATE , '1' )
    BUILD FAILED
    J:\fod\Infrastructure\Ant\build.xml:16: The following error occurred while executing this line:
    J:\fod\Infrastructure\DBSchema\build.xml:159: java.sql.SQLException: ORA-01843: mes no válido
    Technology used: JDeveloper11g
    Tks.
    Message was edited by:
    Alberto Ayala

    in PERSONS.sql
    TO_DATE('03-JAN-1960', 'dd-MON-yyyy')
    JAN no is admitid by INSERT...

  • Ant - build failed

    Hi guys, I was using ant to build my servlet project but in vain. My build.xml contains the following taskdefs.
      <taskdef name="deploy" classname="org.apache.catalina.ant.DeployTask" />
      <taskdef name="list" classname="org.apache.catalina.ant.ListTask" />
      <taskdef name="reload" classname="org.apache.catalina.ant.ReloadTask" />
      <taskdef name="undeploy" classname="org.apache.catalina.ant.UndeployTask" /> I've copied the catalina-ant.jar to the $ANT_HOME/lib folder as instructed. I could actually run ant on the same build.xml file yesterday, but not today unfortunately. Here is the error message:
    build.xml:146: taskdef A class needed by class org.apache.catalina.ant.DeployTask cannot be found: o
    rg/apache/tools/ant/Task
            at org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:501)
            at org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:214)
            at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:306)
            at org.apache.tools.ant.Task.perform(Task.java:401)
            at org.apache.tools.ant.Target.execute(Target.java:338)
            at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:172)
            at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:126)
            at org.apache.tools.ant.Main.runBuild(Main.java:654)
            at org.apache.tools.ant.Main.startAnt(Main.java:220)
            at org.apache.tools.ant.launch.Launcher.run(Launcher.java:215)
            at org.apache.tools.ant.launch.Launcher.main(Launcher.java:90)
    Caused by: java.lang.NoClassDefFoundError: org/apache/tools/ant/Task
            at java.lang.ClassLoader.findBootstrapClass(Native Method)
            at java.lang.ClassLoader.findBootstrapClass0(ClassLoader.java:709)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:284)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:282)
            at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:282)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
            at org.apache.tools.ant.AntClassLoader.findBaseClass(AntClassLoader.java:1218)
            at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:994)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
            at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Class.java:219)
            at org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:471)
            ... 10 more
    --- Nested Exception ---
    java.lang.NoClassDefFoundError: org/apache/tools/ant/Task
            at java.lang.ClassLoader.findBootstrapClass(Native Method)
            at java.lang.ClassLoader.findBootstrapClass0(ClassLoader.java:709)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:284)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:282)
            at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:282)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
            at org.apache.tools.ant.AntClassLoader.findBaseClass(AntClassLoader.java:1218)
            at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:994)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
            at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Class.java:219)
            at org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:471)
            at org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:214)
            at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:306)
            at org.apache.tools.ant.Task.perform(Task.java:401)
            at org.apache.tools.ant.Target.execute(Target.java:338)
            at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:172)
            at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:126)
            at org.apache.tools.ant.Main.runBuild(Main.java:654)
            at org.apache.tools.ant.Main.startAnt(Main.java:220)
            at org.apache.tools.ant.launch.Launcher.run(Launcher.java:215)
            at org.apache.tools.ant.launch.Launcher.main(Launcher.java:90)Any help will be appreciated. =)

    I'm quite sure that everything was set properly. I put the catalina-ant.jar in $JAVA_HOME/jre/lib/ext and that caused the problem. It's fine now after I removed the jar package.
    Thanks for your response. Cheers. =)

  • Build Fail when installing CC on mac

    When I use the CC Packager after it downloads the files for CC I get an error that the Build Failed: Build Fail, Your build encountered unrecoverable errors.
    The Log has the following.
    Tue Mar 24 10:12:36 2015
    [INFO] AdobePackageBuilder - Build Version - 1.8.0.23
    Tue Mar 24 10:12:36 2015
    [INFO] AdobePackageBuilder - Logging Level verbosity Set  to 4
    Tue Mar 24 10:12:36 2015
    [INFO] AdobePackageBuilder - AdobePackageBuilder : Terminate packet received from UI. Quitting ...
    How do I resolve this issue.

    Please refer to:
    https://helpx.adobe.com/creative-cloud/packager.html
    Regards
    Rajshree

  • Error during generation of the WSDL:  BUILD FAILED java.lang.NoClassDefFoundError: com/sun/javadoc/Type

    When I create an EJB Transport Business Service, after selecting the jar that has the EJB 2.1 artefacts (Remote, Home, etc) the oepe plugin fails and can't continue.
    As I understand it seems that there is a problem with the classpath of ant build.xml  that oepe creates inside folder /tmp/alsbejbtransport/ to compile the bs and generate the wsdl. I checked if tools.jar is in the classpath (in eclipse) and is included, so I can't figure out wich is the problem.
    I found this in Oracle, but not helps solve the problem:
    BEA-398120
    Error: The WSDL for the typed transport endpoint could not be accessed.
    Description
    There was a problem retrieving the WSDL from the typed transport service endpoint at the time of service registration
    Action
    Contact technical support
    This is the the full stacktrace that shows eclipse.
    Generate : Error during generation of the WSDL:
    BUILD FAILED
    java.lang.NoClassDefFoundError: com/sun/javadoc/Type
            at com.bea.util.jam.provider.JamServiceFactoryImpl.createSourceBuilder(JamServiceFactoryImpl.java:205)
            at com.bea.util.jam.provider.JamServiceFactoryImpl.createBuilder(JamServiceFactoryImpl.java:158)
            at com.bea.util.jam.provider.JamServiceFactoryImpl.createClassLoader(JamServiceFactoryImpl.java:137)
            at com.bea.util.jam.provider.JamServiceFactoryImpl.createService(JamServiceFactoryImpl.java:78)
            at weblogic.wsee.util.JamUtil.parseSource(JamUtil.java:152)
            at weblogic.wsee.tools.anttasks.JwsLoader.loadJClasses(JwsLoader.java:186)
            at weblogic.wsee.tools.anttasks.JwsLoader.load(JwsLoader.java:75)
            at weblogic.wsee.tools.anttasks.JwsModule.loadWebServices(JwsModule.java:569)
            at weblogic.wsee.tools.anttasks.JwsModule.generate(JwsModule.java:369)
            at weblogic.wsee.tools.anttasks.JwsModule.build(JwsModule.java:256)
            at weblogic.wsee.tools.anttasks.JwscTask.execute(JwscTask.java:184)
            at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
            at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:601)
            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)
    Caused by: java.lang.ClassNotFoundException: com.sun.javadoc.Type
            at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1400)
            at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1341)
            at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1088)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
            ... 27 more
    Total time: 0 seconds
    Eclipse Installation details:
    *** System properties:
    eclipse.application=org.eclipse.ui.ide.workbench
    eclipse.buildId=M20110909-1335
    eclipse.commands=-os
    linux
    -ws
    gtk
    -arch
    x86_64
    -showsplash
    -launcher
    {home}/Development/oepe-indigo/eclipse
    -name
    Eclipse
    --launcher.library
    {home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.100.v20110505/eclipse_1407.so
    -startup
    {home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
    --launcher.overrideVmargs
    -exitdata
    1e418010
    -vm
    /usr/bin/java
    eclipse.home.location=file:{home}/Development/oepe-indigo/
    eclipse.launcher={home}/Development/oepe-indigo/eclipse
    eclipse.launcher.name=Eclipse
    [email protected]/../p2/
    eclipse.p2.profile=PlatformProfile
    eclipse.product=org.eclipse.platform.ide
    eclipse.startTime=1374623921455
    eclipse.vm=/usr/bin/java
    eclipse.vmargs=-Xms256m
    -Xmx768m
    -XX:MaxPermSize=512m
    -Dsun.lang.ClassLoader.allowArraySyntax=true
    -Dweblogic.home={home}/Oracle/Middleware/wlserver_10.3
    -Dharvester.home={home}/Oracle/Middleware/Oracle_OSB1/harvester
    -Dosb.home={home}/Oracle/Middleware/Oracle_OSB1
    -Dosgi.bundlefile.limit=750
    -Dosgi.nl=en_US
    -Dmiddleware.home={home}/Oracle/Middleware
    -jar
    {home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
    equinox.use.ds=true
    file.encoding=UTF-8
    file.encoding.pkg=sun.io
    file.separator=/
    guice.disable.misplaced.annotation.check=true
    harvester.home={home}/Oracle/Middleware/Oracle_OSB1/harvester
    http.nonProxyHosts=localhost
    java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
    java.awt.printerjob=sun.print.PSPrinterJob
    java.class.path={home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
    java.class.version=50.0
    java.endorsed.dirs=/usr/lib/jvm/jdk1.6.0_45/jre/lib/endorsed
    java.ext.dirs=/usr/lib/jvm/jdk1.6.0_45/jre/lib/ext:/usr/java/packages/lib/ext
    java.home=/usr/lib/jvm/jdk1.6.0_45/jre
    java.io.tmpdir=/tmp
    java.library.path=/usr/lib/jvm/jdk1.6.0_45/jre/lib/amd64/server:/usr/lib/jvm/jdk1.6.0_45/jre/lib/amd64:/usr/lib/jvm/jdk1.6.0_45/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
    java.protocol.handler.pkgs=null|com.bea.wli.sb.resources.url|com.bea.wli.sb.resources.jca.upgrade.url|weblogic.utils|weblogic.utils|weblogic.utils|weblogic.net|weblogic.net
    java.runtime.name=Java(TM) SE Runtime Environment
    java.runtime.version=1.6.0_45-b06
    java.specification.name=Java Platform API Specification
    java.specification.vendor=Sun Microsystems Inc.
    java.specification.version=1.6
    java.vendor=Sun Microsystems Inc.
    java.vendor.url=http://java.sun.com/
    java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi
    java.version=1.6.0_45
    java.vm.info=mixed mode
    java.vm.name=Java HotSpot(TM) 64-Bit Server VM
    java.vm.specification.name=Java Virtual Machine Specification
    java.vm.specification.vendor=Sun Microsystems Inc.
    java.vm.specification.version=1.0
    java.vm.vendor=Sun Microsystems Inc.
    java.vm.version=20.45-b01
    javax.rmi.CORBA.PortableRemoteObjectClass=weblogic.iiop.PortableRemoteObjectDelegateImpl
    javax.rmi.CORBA.UtilClass=weblogic.iiop.UtilDelegateImpl
    jna.platform.library.path=/usr/lib/x86_64-linux-gnu:/lib/x86_64-linux-gnu:/lib64:/usr/lib:/lib
    line.separator=
    middleware.home={home}/Oracle/Middleware
    oracle.eclipse.tools.weblogic.ui.isWebLogicServer=true
    org.apache.commons.logging.Log=org.apache.commons.logging.impl.NoOpLog
    org.eclipse.equinox.launcher.splash.location={home}/Development/oepe-indigo/plugins/org.eclipse.platform_3.7.1.v201109091335/splash.bmp
    org.eclipse.equinox.simpleconfigurator.configUrl=file:org.eclipse.equinox.simpleconfigurator/bundles.info
    org.eclipse.m2e.log.dir={home}/workspace/pragma/.metadata/.plugins/org.eclipse.m2e.logback.configuration
    org.eclipse.update.reconcile=false
    org.omg.CORBA.ORBClass=weblogic.corba.orb.ORB
    org.omg.CORBA.ORBSingletonClass=weblogic.corba.orb.ORB
    org.osgi.framework.executionenvironment=OSGi/Minimum-1.0,OSGi/Minimum-1.1,OSGi/Minimum-1.2,JRE-1.1,J2SE-1.2,J2SE-1.3,J2SE-1.4,J2SE-1.5,JavaSE-1.6
    org.osgi.framework.language=en
    org.osgi.framework.os.name=Linux
    org.osgi.framework.os.version=3.8.0
    org.osgi.framework.processor=x86-64
    org.osgi.framework.system.capabilities=osgi.ee; osgi.ee="OSGi/Minimum"; version:List<Version>="1.0, 1.1, 1.2",osgi.ee; osgi.ee="JavaSE"; version:List<Version>="1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6"
    org.osgi.framework.system.packages=javax.accessibility,javax.activation,javax.activity,javax.annotation,javax.annotation.processing,javax.crypto,javax.crypto.interfaces,javax.crypto.spec,javax.imageio,javax.imageio.event,javax.imageio.metadata,javax.imageio.plugins.bmp,javax.imageio.plugins.jpeg,javax.imageio.spi,javax.imageio.stream,javax.jws,javax.jws.soap,javax.lang.model,javax.lang.model.element,javax.lang.model.type,javax.lang.model.util,javax.management,javax.management.loading,javax.management.modelmbean,javax.management.monitor,javax.management.openmbean,javax.management.relation,javax.management.remote,javax.management.remote.rmi,javax.management.timer,javax.naming,javax.naming.directory,javax.naming.event,javax.naming.ldap,javax.naming.spi,javax.net,javax.net.ssl,javax.print,javax.print.attribute,javax.print.attribute.standard,javax.print.event,javax.rmi,javax.rmi.CORBA,javax.rmi.ssl,javax.script,javax.security.auth,javax.security.auth.callback,javax.security.auth.kerberos,javax.security.auth.login,javax.security.auth.spi,javax.security.auth.x500,javax.security.cert,javax.security.sasl,javax.sound.midi,javax.sound.midi.spi,javax.sound.sampled,javax.sound.sampled.spi,javax.sql,javax.sql.rowset,javax.sql.rowset.serial,javax.sql.rowset.spi,javax.swing,javax.swing.border,javax.swing.colorchooser,javax.swing.event,javax.swing.filechooser,javax.swing.plaf,javax.swing.plaf.basic,javax.swing.plaf.metal,javax.swing.plaf.multi,javax.swing.plaf.synth,javax.swing.table,javax.swing.text,javax.swing.text.html,javax.swing.text.html.parser,javax.swing.text.rtf,javax.swing.tree,javax.swing.undo,javax.tools,javax.transaction,javax.transaction.xa,javax.xml,javax.xml.bind,javax.xml.bind.annotation,javax.xml.bind.annotation.adapters,javax.xml.bind.attachment,javax.xml.bind.helpers,javax.xml.bind.util,javax.xml.crypto,javax.xml.crypto.dom,javax.xml.crypto.dsig,javax.xml.crypto.dsig.dom,javax.xml.crypto.dsig.keyinfo,javax.xml.crypto.dsig.spec,javax.xml.datatype,javax.xml.namespace,javax.xml.parsers,javax.xml.soap,javax.xml.stream,javax.xml.stream.events,javax.xml.stream.util,javax.xml.transform,javax.xml.transform.dom,javax.xml.transform.sax,javax.xml.transform.stax,javax.xml.transform.stream,javax.xml.validation,javax.xml.ws,javax.xml.ws.handler,javax.xml.ws.handler.soap,javax.xml.ws.http,javax.xml.ws.soap,javax.xml.ws.spi,javax.xml.ws.wsaddressing,javax.xml.xpath,org.ietf.jgss,org.omg.CORBA,org.omg.CORBA_2_3,org.omg.CORBA_2_3.portable,org.omg.CORBA.DynAnyPackage,org.omg.CORBA.ORBPackage,org.omg.CORBA.portable,org.omg.CORBA.TypeCodePackage,org.omg.CosNaming,org.omg.CosNaming.NamingContextExtPackage,org.omg.CosNaming.NamingContextPackage,org.omg.Dynamic,org.omg.DynamicAny,org.omg.DynamicAny.DynAnyFactoryPackage,org.omg.DynamicAny.DynAnyPackage,org.omg.IOP,org.omg.IOP.CodecFactoryPackage,org.omg.IOP.CodecPackage,org.omg.Messaging,org.omg.PortableInterceptor,org.omg.PortableInterceptor.ORBInitInfoPackage,org.omg.PortableServer,org.omg.PortableServer.CurrentPackage,org.omg.PortableServer.POAManagerPackage,org.omg.PortableServer.POAPackage,org.omg.PortableServer.portable,org.omg.PortableServer.ServantLocatorPackage,org.omg.SendingContext,org.omg.stub.java.rmi,org.w3c.dom,org.w3c.dom.bootstrap,org.w3c.dom.css,org.w3c.dom.events,org.w3c.dom.html,org.w3c.dom.ls,org.w3c.dom.ranges,org.w3c.dom.stylesheets,org.w3c.dom.traversal,org.w3c.dom.views,org.w3c.dom.xpath,org.xml.sax,org.xml.sax.ext,org.xml.sax.helpers
    org.osgi.framework.uuid=901615cd-f3f3-0012-11b6-a3bca4d97ac1
    org.osgi.framework.vendor=Eclipse
    org.osgi.framework.version=1.6.0
    org.osgi.supports.framework.extension=true
    org.osgi.supports.framework.fragment=true
    org.osgi.supports.framework.requirebundle=true
    os.arch=amd64
    os.name=Linux
    os.version=3.8.0-26-generic
    osb.home={home}/Oracle/Middleware/Oracle_OSB1
    osgi.arch=x86_64
    osgi.bundlefile.limit=750
    osgi.bundles=reference:file:javax.transaction_1.1.1.v201105210645.jar,reference:file:org.eclipse.equinox.simpleconfigurator_1.0.200.v20110502-1955.jar@1:start
    osgi.bundles.defaultStartLevel=4
    osgi.bundlestore={home}/Development/oepe-indigo/configuration/org.eclipse.osgi/bundles
    osgi.configuration.area=file:{home}/Development/oepe-indigo/configuration/
    osgi.framework=file:{home}/Development/oepe-indigo/plugins/org.eclipse.osgi_3.7.1.R37x_v20110808-1106.jar
    osgi.framework.extensions=reference:file:javax.transaction_1.1.1.v201105210645.jar
    osgi.framework.shape=jar
    osgi.framework.version=3.7.1.R37x_v20110808-1106
    osgi.frameworkClassPath=., file:{home}/Development/oepe-indigo/plugins/javax.transaction_1.1.1.v201105210645.jar
    osgi.install.area=file:{home}/Development/oepe-indigo/
    osgi.instance.area=file:{home}/workspace/pragma/
    osgi.instance.area.default=file:{home}/workspace/
    osgi.logfile={home}/workspace/pragma/.metadata/.log
    osgi.manifest.cache={home}/Development/oepe-indigo/configuration/org.eclipse.osgi/manifests
    osgi.nl=en_US
    osgi.nl.user=en_US
    osgi.os=linux
    osgi.splashLocation={home}/Development/oepe-indigo/plugins/org.eclipse.platform_3.7.1.v201109091335/splash.bmp
    osgi.splashPath=platform:/base/plugins/org.eclipse.platform
    osgi.syspath={home}/Development/oepe-indigo/plugins
    osgi.tracefile={home}/workspace/pragma/.metadata/trace.log
    osgi.ws=gtk
    path.separator=:
    securerandom.source=file:/dev/./urandom
    socksNonProxyHost=localhost
    sun.arch.data.model=64
    sun.boot.class.path=/usr/lib/jvm/jdk1.6.0_45/jre/lib/resources.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/rt.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/sunrsasign.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/jsse.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/jce.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/charsets.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/modules/jdk.boot.jar:/usr/lib/jvm/jdk1.6.0_45/jre/classes
    sun.boot.library.path=/usr/lib/jvm/jdk1.6.0_45/jre/lib/amd64
    sun.cpu.endian=little
    sun.cpu.isalist=
    sun.desktop=gnome
    sun.io.unicode.encoding=UnicodeLittle
    sun.java.command={home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar -os linux -ws gtk -arch x86_64 -showsplash -launcher {home}/Development/oepe-indigo/eclipse -name Eclipse --launcher.library {home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.100.v20110505/eclipse_1407.so -startup {home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar --launcher.overrideVmargs -exitdata 1e418010 -vm /usr/bin/java -vmargs -Xms256m -Xmx768m -XX:MaxPermSize=512m -Dsun.lang.ClassLoader.allowArraySyntax=true -Dweblogic.home={home}/Oracle/Middleware/wlserver_10.3 -Dharvester.home={home}/Oracle/Middleware/Oracle_OSB1/harvester -Dosb.home={home}/Oracle/Middleware/Oracle_OSB1 -Dosgi.bundlefile.limit=750 -Dosgi.nl=en_US -Dmiddleware.home={home}/Oracle/Middleware -jar {home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
    sun.java.launcher=SUN_STANDARD
    sun.jnu.encoding=UTF-8
    sun.lang.ClassLoader.allowArraySyntax=true
    sun.management.compiler=HotSpot 64-Bit Tiered Compilers
    sun.os.patch.level=unknown
    svnkit.http.methods=Basic
    svnkit.library.gnome-keyring.enabled=false
    user.country=AR
    user.dir={home}/Development/oepe-indigo
    user.home={home}
    user.language=es
    user.name={username}
    user.timezone=America/Argentina/Buenos_Aires
    weblogic.home={home}/Oracle/Middleware/wlserver_10.3
    Thanks!!

    run this one in command prompt and then convert the applet using converter tool
    JC_HOME = C:\java_card_kit-2_2_2\bin\
    set CLASSES=%JCHOME%\lib\apduio.jar;%JC_HOME%\lib\apdutool.jar;%JC_HOME%\lib\jcwde.jar;%JC_HOME%\lib\converter.jar;%JC_HOME%\lib\scriptgen.jar;%JC_HOME%\lib\offcardverifier.jar;%JC_HOME%\lib\api.jar;%JC_HOME%\lib\installer.jar;%JC_HOME%\lib\capdump.jar;
    D:\NareshPalle\jcardRE\Smart\src>java -classpath %_CLASSES% com.sun.javacard.con
    verter.Converter -out EXP JCA CAP -exportpath .\exp -applet 0x0a:0x00:0x00:0x00:0x0e:0x01:0x02:
    0x03:0x04:0x05:0x06 PackageName appletName 0x01:0x02:0x03:0x04:0x05:0x0
    6:0x07:0x08 1.0
    or
    go to following directory and run the converter tool in command prompt
    step 1: cd C:\java_card_kit-2_2_2\bin\
    then run this command under the above directory
    step 2:converter -classdir E:\Pathof Your applet class file -out EXP JCA CAP -exportpath E:\path of exp files folder -applet AID PackageName AppletName PackAID major.minor no
    For more doubts mail me....
    *[removed by moderator]*
    Thanks and Regards
    NareshPalle
    Edited by: EJP on 31/03/2012 20:09: removed your email address. Unless you like spam and unless you think these forums are provided for your personal benefit only, posting an email address here serves no useful purpose whatsoever.

Maybe you are looking for