Problem in building app using ant.

Hi,
I downloaded JWSDP EA1 and trying to build, deploy and run the sample application programs using tutorial. while building the app using "ant build" command I get an error saying class org.apache.catalina.ant.InstallTask not found. when I removed this class from build.xml, it was able to build the application,but, then "ant install" failed saying that install not found, which means that I must get this InstallTask class. my classpath is ok.
Somebody please tell me where can get this class ? I could not get on jakarta.apache.org site as well.
Thanks a lot.

The install task is only available in JWSDP EA2, not EA1.

Similar Messages

  • Problem in deployment of ISA B2B after building the app using ant buildtool

    Hi
    I've a problem with building ISA B2B App after modification.
    I've ISAWAC640SP11 and ant buildtool to build the application.
    I've setup a customer project in NWDS.
    I've build the application using build tool but when i try to deploy it
    on SAP J2EE 6.4 using SDM i get a weird message stating
    <b>"com.sap.sdm.util.sduread.IllFormattedSduFileException: The archive must be deployed with a 6.20 SDM, which has a SDM-SDA compatible version 1 or greater."</b>
    Does anyone know what is the exact proecess to build the application in
    SAP J2EE 6.4.
    Do we have to use the ant build tool or we can directly build the app using NWDS
    default build process ?
    Also can some one suggest me to setup a customer project for extension and
    modification of ISA B2B 640 on NWDS and SAP J2EE 6.4....
    Thanks & Regards
    Sandeep Solanki

    Guys please help  !!!
    atleast gimme some idea or suggestions.. !!!
    Regards
    Sandeep

  • Problem compiling in Linux using ant

    Hi,
    I have a problem using ant in Linux.
    When I build my application using ant in Windows it works fine, but when I try to build the same application with ant in Linux it gives me the following exception:
    /identifier/MidiReader.java:5: error: Class or interface `javax.sound.midi.Sequence' not found in import.
    I have already checked and the 'javax.sound.midi.Sequence' exists in import.
    Can anybody help me?
    Regards,
    David

    In your javac task (in Ant), you need to explicitly include any external JAR's required for compilation (see ant.apache.org's docs for info). Importing them in a Java source file does not tell Ant where to locate the JAR for linking.
    - Saish
    "My karma ran over your dogma." - Anon

  • Building jars using ant and eclipse

    Note: If this post could be in a more appropriate forum category could someone please tell me which one is better.
    Vexing issue:
    I am using ANT so that it will take care of which classes have been modified and therefore which jars need to be updated.
    I noticed one way ANT can work is to look at the timestamp of the class files and then build the necessary jars. This works fine EXCEPT that eclipse has a nasty habit of sometimes recompiling everything, even when I dont ask it to. It would seem to make more sense basing the recompilation on the source files, and whether they have been modified. So I set this up with my build.xml, ie
    <target name="compile" depends="init"
    description="compile the source " >
    <!-- Compile the java code from ${src} into ${build} -->
    <javac srcdir="${src}" destdir="${build}" fork="true"/>
         </target>
    Now suppose I go and change one of my source files, ANT recompiles that file and that all works great. However, suppose that file had in it, which many do,
    public static String EXAMPLE_VARIABLE = "example";
    This static variable is referenced in many classes, and yet ANT only recompiles the one file, and thus there begins an inconsistency!
    Is there any way to get around this? I would have expected ANT to recompile all the files that depend on the class with the static variable but it doesnt.
    Any help much appreciated.
    Cel

    You know, that's a good question. I would think JVMs at runtime could resolve static variables, like when it compiles classes using that static variable it puts a placeholder "Hey, here I am using XXX, at runtime, figure it out and give me the value right at the start..". But I think it works like you suggest in that a static value is compiled into every location that uses it. The only thing I can think of is provide a target for a build-all in your ant and have it rebuild all.
    I agree though that the javac compiler should be smarter in how it compiles classes. Anytime a class has certain attributes that may be compiled in to other classes, it should check and recompile any class that depends on the static value that has changed.

  • Packaging WebCenter 10g apps using Ant or other automated mechanism

    Hi,
    The WebCenter 10g framework developers guide assumes that packaging of WebCenter apps is done through a JDeveloper WebCenter Application WAR deployment profile. Other steps such as predeployment and deployment can be automated using Ant and/or command line scripts.
    However, we would like to automate packaging of WebCenter apps just like packaging "plain" Java applications. For example to make sure that the correct configuration files (web.xml, orion-web.xml, etc.) are packaged in the WAR file according to the target environment (development, test, acceptance and production). These have different URL's, security information and so on per environment. If using JDeveloper deployment plans, you have to modify and check these files which is error-prone.
    Is it possible to automate packaging or is a deployment profile the only way to achieve correct packaging?
    We have been experimenting with the webcenter:generateMdsExportSet task to export design time customizations to the file system and package the resulting files into the WAR. Afterwards use ssh Ant tasks to copy the generic archive to the target runtime, run the predeployment task and deploy the application using Oracle Ant tasks. Is this a "certified" way to achieve automated packaging (and deployment) of WebCenter apps?
    Regards, Ronald

    Hi the post you replied to is dated Dec 19, 2006 7:04 PM, is this a current one but just an incorrect date? Saw it in the list and was going to have a look but then saw the date. Is this resolved do you know?

  • Problem deploying BPEL process using ANT

    Hi,
    I am trying to deploy BPEL process by executing ANT command from Windows environment.
    JDK version of SOA suite installation and my system is 1.4.2.
    But ANT is throwing the following error
    BUILD FAILED
    java.lang.UnsupportedClassVersionError: com/collaxa/cube/lang/compiler/bpel/depl
    oy/task/generatePlan (Unsupported major.minor version 49.0)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
    at org.apache.tools.ant.loader.AntClassLoader2.defineClassFromData(AntCl
    assLoader2.java:76)
    at org.apache.tools.ant.AntClassLoader.getClassFromStream(AntClassLoader
    .java:1090)
    at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoa
    der.java:1154)
    at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:110
    7)
    at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:977
    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:457)
    at org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:183)
    at org.apache.tools.ant.taskdefs.Antlib.execute(Antlib.java:161)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.taskdefs.Definer.loadAntlib(Definer.java:330)
    at org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:236)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:341)
    at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:
    131)
    at org.apache.tools.ant.taskdefs.ImportTask.execute(ImportTask.java:140)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:341)
    at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:
    142)
    at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.jav
    a:91)
    at org.apache.tools.ant.Main.runBuild(Main.java:653)
    at org.apache.tools.ant.Main.startAnt(Main.java:187)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
    Total time: 1 second
    java.lang.UnsupportedClassVersionError: com/collaxa/cube/lang/compiler/bpel/depl
    oy/task/generatePlan (Unsupported major.minor version 49.0)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
    at org.apache.tools.ant.loader.AntClassLoader2.defineClassFromData(AntCl
    assLoader2.java:76)
    at org.apache.tools.ant.AntClassLoader.getClassFromStream(AntClassLoader
    .java:1090)
    at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoa
    der.java:1154)
    at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:110
    7)
    at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:977
    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:457)
    at org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:183)
    at org.apache.tools.ant.taskdefs.Antlib.execute(Antlib.java:161)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.taskdefs.Definer.loadAntlib(Definer.java:330)
    at org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:236)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:341)
    at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:
    131)
    at org.apache.tools.ant.taskdefs.ImportTask.execute(ImportTask.java:140)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:341)
    at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:
    142)
    at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.jav
    a:91)
    at org.apache.tools.ant.Main.runBuild(Main.java:653)
    at org.apache.tools.ant.Main.startAnt(Main.java:187)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
    com/collaxa/cube/lang/compiler/bpel/deploy/task/generatePlan (Unsupported major.
    minor version 49.0)
    D:\jdevstudio10134\jdev\mywork\BPELPractise\HelloWorldBPELProcess>
    Can any one tell me what could be the problem
    Regards
    Srinivas

    I assume you checked the reasons that are suggested in the message:
    "This is typically the result of an invalid deployer URI format being supplied, the target server not being in a started state or incorrect authentication details"
    It looks like a typo...
    Lonneke

  • Problem on web app using root context in weblogic 7.0.2

    I got problem on servlet which running on root context "/" in weblogic 7.0.2. I have remove the default web app (which use the root context) before the web app. The web application was deployed without any error. However, when the servlet run to the line calling HttpSession.setAttribute, the following exception occurs. The weblogic server is running on Solaris 8. anyone can help?
              java.lang.IllegalStateException: Internal Servlet Session Process Error Found!
              at weblogic.servlet.internal.session.SessionData.checkProcess(SessionData.java:1045)
              at weblogic.servlet.internal.session.SessionData.setAttribute(SessionData.java:477)
              at com.chase.infra.appcontrol.servlet.LoginServlet.doPostHK(Unknown Source)
              at com.chase.infra.appcontrol.servlet.LoginServlet.doPost(Unknown Source)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
              at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1058)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:401)
              at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:20)
              at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
              at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5451)
              at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:780)
              at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3105)
              at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2588)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
              The weblogic.xml is
              <?xml version="1.0" encoding="UTF-8"?>
              <!DOCTYPE weblogic-web-app
              PUBLIC "-//BEA Systems, Inc.//DTD Web Application 7.0//EN"
              "http://www.bea.com/servers/wls700/dtd/weblogic700-web-jar.dtd" >
              <weblogic-web-app>
              <context-root>/</context-root>
              </weblogic-web-app>

    Hie,
              We are facing the same problem; i.e. we are getting the same error message when we are trying to run our struts application on Weblogic 7.0.5 using JDK 1.3.1. This problem occured particularly when we tried to do a load testing using approx 20 concurrent users (a lesser load was supported though). Can you please let us know how this problem was sorted out on your end?
              thanks,
              Debanjan

  • Problems with builded app and shared variables

    I got connection error message (Invalid server: cannot connect to server) when selecting a shared variable using dashboard. The app is running on a Win7 PC.
    I have no problem connecting the PC's IP at my dashboard indicator, even, I can select the shared vars library of my app.
    I opened the ports on Windows and Router TCP: 2343, 59000-60000 UDP: 2343, 6000-6010, and created new inbound rules for the kads.exe, lktsrv.exe and tagsrv.exe programs and installed the Run-Time 2013 engine on that PC. By the way, the application also has HTML files created with the web publishing tools that is working OK.
    When I test the application on my develop PC (with LabVIEW 2013) everything works fine.
    Did I miss something?

    Hello jesushidalgo,
    Make sure that there is not a personal firewall enabled on either computer that could be blocking the NI-PSP packets.
    Acess http://digital.ni.com/public.nsf/allkb/6E37AC5435E44F9F862570D2005FEF25?OpenDocument and see the solution.
    Acess: http://www.ni.com/white-paper/12402/en/  to see how configure software and hardware Firewalls to support National Instruments Products.
    Tell me if worked, ok?
    Best Regards
    Rita Souza
    Engenharia de Aplicações
    National Instruments Brazil

  • Problems deploying an app using a loader

    I have been
    trying to use the loader method described in several posts to run an
    application.  Our development directory structure
    consists of many subdirectories (eg. common, utility, dll) and this app. has many
    vi’s interspersed within all these directories. 
    This app has about 80 sub-vi’s and a couple of vendor dll’s that it
    runs.  I save the app as an “Application
    Distribution”.  In the loader I pass the
    complete path to the main VI within the llb.  When I create the loader executable I also
    define the main VI as the top level vi from within the llb.  The loader executable that is created runs
    fine from within the original directory but once I move it to the root
    directory it does not work.  It comes
    back with a “Error 7 Occurred at Open File+.vi: Open File”.  At this point it was trying to open an INI
    file.  My questions: 1) Should I pass the
    path of the llb to the loader instead of the main vi? 2) What can I do to
    either the loader or vi to be able to run the loader from any directory other
    than where my main vi resides? 3) Where should I place my INI file so that I do
    not get the Error 7?  Any help would be
    appreciated.  Thank you.

    The answer to your question really depends on how you are opening this INI file. Are you giving LabVIEW an absolute file path to the INI file or a relative file path with respect to a VI? If you are using a relative file path, then recall that building a VI into an executable adds an additional branch to the file path -- instead of ...\myapp.vi, the file path to the VI becomes ...\myapp.exe\myapp.vi. If you are using an absolute file path, then this will obviously only work when the file is located in that exact location.
    Kind Regards,
    E. Sulzer
    Applications Engineer
    National Instruments

  • Problem when installing apps using Creative Cloud

    I just downloaded the apps on my second computer and Im forced to go into trial mode in order to use the apps (like PS, AI, ID etc. ) even though I have a paid CC mebership. It's like it does not recognize that Im logged in already.
    I guess I can use the app until the trial period runs out, but what happens then?

    Hi gobill,
    Please check the host file and try to license again.
    Windows
    Choose Start > Run, type %systemroot% \system32\drivers\etc, and then press Enter. 
    Right-click the hosts file and select Open. Select Notepad for the application to open the hosts file. 
    Back up the hosts file: Choose File > Save As, save the file as hosts.backup, and then click OK. 
    Search the hosts file for entries that reference activate.adobe.com (for example, 127.0.0.1 activate.adobe.com) and delete these entries. 
    Save and close the file.
      Mac OS
    Log in as an administrator to edit the hosts file in Mac OS.
    In a Finder window, choose Go > Go To Folder.
    Type /etc.
    Select the hosts file and open it.
    Back up the hosts file: Choose File > Save As, save the file as hosts.backup, and then click OK.
    Search the hosts file for entries that reference activate.adobe.com (for example, 127.0.0.1 activate.adobe.com) and delete these entries.
    Save and close the file.
    Regards,
    Romit Sinha

  • How to increase memory for building project using ant in ECLIPSE

    Hi All,
    for all java projects and java applications in eclipse i am giving -Xms and -Xmx to increase heap memory.
    But the same failed when i run ant. it says Out of Memory Error.eventhough i had 1GB ram in system.
    How to increase memory for Building through ANT.
    Thanks,
    J.Kathir

    even if this is not a eclipse forum
    In the package explorer view or navigator view right click on the build file select "Run as / Ant Build ...". On the JRE Tab you can enter the VM Aguments like -Xmx512m
    Consult the java dokumentation how to set the memory of the jvm.

  • Problem in reloading project using ANT in Eclipse

    Hello Friends,
    I have created one application in which i just put one jsp page and the application is based on Strtus.
    for loading project in tomcat i have done following step,
    all,install
    now for next time after changes made in jsp page i have perform all,reload
    but it will give me the error.
    BUILD FAILED
    *<Path of projct> \build.xml:192: FAIL - Encountered exception java.lang.NoSuchMethodError: org.apache.commons.logging.LogFactory.release(Ljava/lang/ClassLoader;)V*
    Total time: 30 seconds
    but for loading project i perform all,remove,install
    so now i have to perform 3 steps each time.
    anyone know about the above problem.
    i have put common-logging.jar file and in that there is a release method which is abstract.
    Thanks in advance,
    Ajay Patel

    Continueee....on above...
    when i perform all,remove,install for reinstalling application on tomcat,
    i also got same error while performing remove operation but still it delets from tomcat.
    And when i perform all,remove
    it gives me
    reload:
    *[reload] FAIL - Encountered exception java.lang.IllegalStateException: Container StandardContext[EventManagementSystem] has not been started*
    BUILD FAILED
    *C:\Documents and Settings\Ajay\Desktop\ajay\JspWorkspace\EventManagement\build.xml:192: FAIL - Encountered exception java.lang.IllegalStateException: Container StandardContext[EventManagementSystem] has not been started*
    Total time: 2 seconds
    can anyone know about this.....how can i solve the LogFactory error.
    Thank You in advance,
    Ajay Patel

  • Build app using dps in indesign

    I want to recreate my app in indesign and it keeps asking me to upload again all of the splash screens, etc...is that necessary every time we make a change to our mobile app?  There is no way to keep the same settings and rebuild the content???

    Only if the app was build from the same machine and the location of your icons has not changed since the last built of your app, Viewer Builder should remember the path to the icons and not ask to re-link the icons again.

  • The problem with mail app using Helvetica font (Mountain lion 10.8.2)

    I used mail application to send an email (Korean Language) with Helvetica font. However, the receiver could not read the content because a mess content with symbols was displayed. How can I solve this problem?
    Thanks a lot

    chiennguyen wrote:
    I used mail application to send an email (Korean Language) with Helvetica font. However, the receiver could not read the content because a mess content with symbols was displayed. How can I solve this problem?
    You didn't really use the Helvetica font, because that font has no Korean characters.  You just sent Korean text in an encoding which the recipient did not understand.  Use the Message > Text Encoding menu before sending to try a few different encodings, like UTF-8, Korean EUC, and Korean Windows, to see which one works best for that receiver.

  • Building Swing app in Ant

    I use IntelliJ as my IDE and when building my swing app through IntelliJ, the application works fine. However when I build it use Ant, I get a NullPointerException in the main thread. Is there anything special that needs to be done for Swing apps when compiling with Ant.

    Try using an MVC architecture, where the view is the JTree and the model is the treeModel. Make the treeModel implement Observable , and then use the Observable/Observer mechanism to notify the view of updates. Make sure the updates of the treeModel happen in a separate thread, not in the AWT event thread.
    Hope this helps

Maybe you are looking for

  • ITunes not working on Windows 8.1

    Hi, Is anyone else having issues with iTunes (11.1.2.23) running on Windows 8.1 on a Surface Pro 2? Here is the problem I am having: iTunes installed fine, and when I launch iTunes it runs. When I try to sign in with my Apple ID (or Authorize This Co

  • Since installing snow leopard on my macbook itunes won't work

    Since I installed snow leopard my itunes wont open it comes up with an error message   The fiel "iTuneslibrary.itl" cannot read because it was created by a newer version of iTunes, Can someone help me through this.  Its very frustrating, I was forced

  • Just upgraded, low quality warning on all photos?

    Hi All, Hoping someone can assist me here. Just upgraded to iPhoto 6 and was experimenting with the greeting card function. Apparently, all of my photos (unretouched & uncropped) which are 1704 x 2272 at 180 dpi are too low quality to print reliably.

  • Problem when recording from the AUX phono output using creative x-fi elite

    Hello everyone?Hopefully someone will be able to help me out here, as I've tried everything, however nothing seems to work. I am using the x-fi elite pro on a windows vista ultimate PC. When recording analogue material, from a tape Dec, for instance,

  • Performance Problem between Oracle 9i to Oracle 10g using Crystal XI

    We have a Crystal XI Report using ODBC Drivers, 14 tables, and one sub report. If we execute the report on an Oracle 9i database the report will complete in about 12 seconds. If we execute the report on an Oracle 10g database the report will complete