Apache Ant 6.1 setup problem

hi ,
i unzipped(installed) apache-ant-1.6.0 in this location D:\ANT\apache-ant-1.6.0. and i configure like this
ANT_HOME=D:\ANT
PATH=%ANT_HOME%\bin;
JAVA_HOME=C:\j2sdk1.4.0_01
but when i run 'ant' at console its giving following exception
java.lang.InstantiationException: org.apache.tools.ant.Main
at java.lang.Class.newInstance0(Class.java:281)
at java.lang.Class.newInstance(Class.java:249)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:214)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:90)
Plz Help me

Try it with an empty classpath
echo %CLASSPATH%
or
set CLASSPATH
will show you your current classpath,
set CLASSPATH=.
will set it to . (empty).
Try then ant -version
Mylene

Similar Messages

  • Compile problem using TOMCAT 5.0 and Apache ANT

    I got some sample from book.
    i just follow the step, place it the class file. it work. it run. show all the detail.
    but when i wan to compile it from java file, error came out
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: Error allocating a servlet instance
         org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
         org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
         org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
         org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
         org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
         org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
         java.lang.Thread.run(Unknown Source)
    root cause
    java.lang.NoClassDefFoundError: com/jspbook/HelloWorld (wrong name: HelloWorld)
         java.lang.ClassLoader.defineClass1(Native Method)
         java.lang.ClassLoader.defineClass(Unknown Source)
         java.security.SecureClassLoader.defineClass(Unknown Source)
         org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1634)
         org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:860)
         org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1307)
         org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1189)
         org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
         org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
         org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
         org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
         org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
         org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
         java.lang.Thread.run(Unknown Source)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.0.28 logs.in CMD:
    set java_home = C:\Program Files\Java\jdk1.5.0_08
    set classpath = C:\Program Files\Apache Software Foundation\Tomcat 5.0\common\lib
    and Apache tomcat originally dont have servlet.jar but servlet-api.jar, i copy the servlet.jar from my friend
    i compile it using Apache ANT
    here the build.xml
    <?xml version="1.0" ?>
    <project name="jspbook" default="build" basedir=".">
      <target name="build">
        <echo>Starting Build </echo>
        <!-- Turn Tomcat Off -->
        <antcall target="tomcatOff"/>
        <!-- Compile Everything -->
        <antcall target="compile"/>
        <!-- Turn Tomcat On -->
        <antcall target="tomcatOn"/>
        <echo>Build Finished </echo>
      </target>
      <target name="tomcatOff">
        <echo>Turning Off Tomcat </echo>
        <exec executable="bash" os="Windows">
          <arg value="../../bin/shutdown.bat"/>
        </exec>
        <exec executable="bash" os="Linux">
          <arg value="../../bin/shutdown.sh"/>
        </exec>
      </target>
      <target name="tomcatOn">
        <echo>Starting Tomcat </echo>
        <exec executable="bash" os="Windows">
          <arg value="../../bin/startup.bat"/>
        </exec>
        <exec executable="bash" os="Linux">
          <arg value="../../bin/startup.sh"/>
        </exec>
      </target>
      <target name="compile">
        <javac
          srcdir="WEB-INF/classes"
          extdirs="WEB-INF/lib:../../common/lib"
          classpath="../../common/lib/servlet.jar"
          deprecation="yes"
          verbose="no">
          <include name="com/jspbook/**"/>
        </javac>
      </target>
    </project>compile success, but error in IE
    paste the sample class file in,restart tomcat. i work again!
    what is the problem!
    even i compile the code inside the Jcreator, after set required libraries to servlet.jar or servlet-api.jar
    compile it, success then run it in IE, same error!!!.
    what should i do.
    stil a beginer in servlet and jsp anyway.

    and Apache tomcat originally dont have servlet.jar but servlet-api.jar, i copy the servlet.jar from my friend servlet.jar is an OLD version, you should only use servlet-api.jar!
    wrong name: HelloWorldPerhaps there is a mistake in the class or packagename of the source file. Post the source here.

  • Apache-ant problem need it to complie freecol

    hallo i did just install apache-ant but when i try to run it i just get an error li'l post my log
    [root@archhost ~]# pacman -S apache-ant
    Targets: jdk-1_5_0_07-1 apache-ant-1.6.5-1
    Total Package Size:   16.7 MB
    Proceed with upgrade? [Y/n] y
    :: Retrieving packages from extra...
    jdk-1_5_0_07-1           [################] 100%   14536K    75.2K/s  00:03:13
    apache-ant-1.6.5-1       [################] 100%    2525K    69.9K/s  00:00:36
    checking package integrity... done.
    loading package data... done.
    checking for file conflicts... done.
    installing jdk... done.
    The jre package is licensed software.
    You MUST read and agree to the license stored in
    /opt/java/LICENSE before using it.
    installing apache-ant... done.
    [root@archhost ~]# ant
    Error: JAVA_HOME is not defined correctly.
      We cannot execute java
    [root@archhost ~]# java
    -bash: java: command not found
    [root@archhost ~]#

    Snowman wrote:To fix it, log out and relogin.
    If you don't want to logout now, run:
    source /etc/profile.d/jdk.sh
    in a terminal and ant/java will work in that terminal.
    worked for me, thanks Snowman

  • Apache Ant documentation

    Hello, evaluating Kodo JDO 3.2.4,
    You could make the Ant task section in the documentation a bit more
    readable. The required Task definitions could be documented first.
    Me being somewhat absent-minded Ant user, I copy-pasted the first Ant
    snippet (top of chapter 15.2.1) into my build file, and then spent half an
    hour wondering what jar file I should include to make the 'mappingtool'
    work. :-)
    Cheers,
    Joni
    Finland

    I am trying to generate reports through my java
    program, so I have downloaded Jasper reports 0.6.5 as
    has been suggested in many of the postings on this
    forum. The documentation for Jasper reports states
    that I needed Apache-ant in order to compile the
    projects or run the samples. So I downloaded the
    Apache-ant-1.6.2.
    i've been trying to run ant throught the command line
    but I get the following error message:
    ANT_HOME is ser incorrectly or ant could not be located.
    I have set ANT_HOME to the location where i unzipped
    the apache-ant-1.6.2 zip file(c:\ant)Sounds fine. If you open a command shell on Windows and type "set", you'll see the ANT_HOME environment variable, and that it's set properly.
    What is JAVA_HOME set to? That should point to the directory where Java is installed.
    I have also set the classpath to %ANT_HOME%\BIN andThe /bin directory has nothing at all to do with CLASSPATH. (I don't have a CLASSPATH environment variable on my machine, so that can't be it.)
    added %ANT_HOME%\bin to the path variable.This is correct. Can you see it in the PATH when you type "set"?
    Can someone please tell me what the problem might be and how I could fix it.Once you've done all this, open a command shell and type "ant -version". It should tell you that 1.6.2 is the Ant you're running.
    You said reports - do you mean JUnit reports? Did you add the JUnit JAR to the Ant /lib directory? You should.
    %

  • JDeveloper 11_1_1_4_0 does not recognize Apache-Ant-1_8_2

    Windows 7 pro 64bit
    Within a project, I am trying to use the latest Apache Ant.
    So Project Properties | Ant | Options, I specify the Apache-Ant-1.8.2 directory.
    I get an error dialog stating that I need to specify a proper Ant Home. ("You must specify a valid Ant Home.")
    When I point to Apache-Ant-1.8.1, the version information is displayed below the Ant Home Text field.
    ("Apache Ant version 1.8.1 compiled on April 30 2010")
    From a windows command prompt I can call
    ant -version
    which returns
    Apache Ant(TM) version 1.8.2 compiled on December 20 2010
    Perhaps the "(TM)" is confusing JDeveloper?
    It seems that if I manually change the ant version in the .jpr file, then JDeveloper falls back to it's internal version of ant. This is not good because we have added libraries to our deployment of ant...
    Anyone know of a way around this?
    Edited by: user6779305 on Jan 19, 2011 6:24 AM

    I was having the same problem trying to get JDeveloper to use Ant 1.9.2.
    I was able to get JDeveloper to accept Ant 1.9.2 by downloading the Ant source, removing the "(TM)" from org/apache/tools/ant/Main.java (line 1083 in 1.9.2 source), building the source and replacing ANT_HOME/lib/ant.jar with the newly-built ant.jar.  It wasn't difficult to build at all - downloaded the source archive, extracted it, ran build.bat (or build.sh on *nix) and ignored errors about not having JUnit in the classpath.
    hth,
    -Peter

  • Calling Apache ANT task from extension

    Hi
    I am writing a small extension in JDEV to build and deploy an EAR file to standalone OC4J instance. I want to launch the Apache ANT task from my extension such that "Apache - Ant - Log" wondow appears showing ANT run. I know its possible becasue have seen other entensions do it. But I dont know how it gets done. Could someone give me a pointer in right direction. An example would be great.
    Thank you.

    Yes. Here's what I want my extension to do.
    User will right click on the workspace (This is setup and user does a lot using extension in the workspace before coming to this step) and click on Menu iotem called "Deploy" At this point I want to invoke an ANT task to run my build file that does compile, EAR creation and deploys to standalone OC4J. This ANT tak must be called such that the "Apache - ANT" window appears showing progress of build.
    As an example, if you take a look at Build or Deploy task for BPEL projects, this is what they do.
    Thank you for looking into this.

  • I need to upgrade my 10.5.1 os on my G4/1.25 (I'm having some audio-midi setup problems), but it's a machine that is not connected to the internet.  Do I have any options?  Thanks!

    Friends,
    I'm having some audio-midi setup problems on my G4/1.25/10.5.1 machine.  I'm thinking that a routine OS upgrade might help.  However, this machine is not connected to the internet.  Are there any alternate methods for upgrading system software?  Thanks in advance!

    OK, what you should do is download the updates on another machine and burn them to a disc.  Start at this link http://support.apple.com/downloads/#leopard for downloads and find, among other things, the 10.5.8 combo updater that works on PPC machines, plus security, QuickTime and other updates.  Going from 10.5.1 to 10.5.8, there will probably be a bunch of things that you should install.  Being off the internet with the machine, you can't have Software Update sort it out, so something might get missed, unfortunately.
    My suggestion is this: if it looks like you might need a download, get it onto that disc.

  • Setup problem, windows xp, firefox upgrade to 4 and asked to reboot but did not progress. keeps asking to restart even if I try to remove

    setup problem, windows xp, firefox upgrade to 4 and asked to reboot but did not progress. keeps asking to restart even if I try to remove

    Hi marsano,
    Usually the only reason it will ask you to reboot is if there is a file that must be modified that the updater doesn't currently have access to. You should try running the Firefox program once as Administrator:
    * Right-click the icon and choose ''Run as Administrator''
    If that doesn't help then do a clean reinstall.
    # Download a fresh copy of Firefox from the [http://www.mozilla.org/firefox/fx/ Mozilla download page] and save the file to the desktop.
    # [[Uninstalling Firefox|Uninstall]] your current version of Firefox and remove the Firefox program folder before running the new installer.
    # Run installer
    Remember that you don't want to remove personal data when uninstalling. That way you'll still have your personal information.
    Hopefully this helps!

  • AS 10gR1 vs "Apache.exe has encountered a problem and needs to close" on XP

    I would really appreciate if somebody has solution for Windows error message popup box
    "Apache.exe has encountered a problem and needs to close".
    I have installed Oracle Application Server 9.0.4 Infrastructure (from 10gR1 AS) on XP laptop (I know it is unsupported)
    opmnctl.exe status show "UP" status for OID,OC4J but "Down" for HTTP_Server
    When I try to run
    opmnctl.exe versbose startproc ias_component=HTTP_Server
    I will always get "result=failure", text="failed to start a managed process after the maximum retry limit"
    and Windows message popup box
    "Apache.exe has encountered a problem and needs to close".
    (I have also 9i and 10g installed in separate Oracle homes).

    I have made 3rd attempt to re-install AS due "Apache.exe has encountere..and must be closed" error.
    I have succeeded after doing following:
    - unistall previous AS 9.0.4 (10gR1) install
    - disabled McAffee and firewall
    - changing NLS_LANG=AMERICA_AMERICAN.WE8ISO8859P15 prior installation
    - removed path to other OH (9i and 10gR2)
    - restart XP laptop
    - doing install AS 9.0.4 (10gR1)
    Now opmnctl.exe status shows everything works (including HTTP_Server :)

  • Java(TM) 2 Runtime Environment(build 1.5.0=09-b03) + apache-ant-1.6.5 binar

    Dear frineds,
    I met some probelm when i set up the dspace in fedora 6. It requres JAVA, APACHE ANT , and TOMCAT before you set up the DSPACE.
    The version i set up is :Java(TM) 2 Runtime Environment(build 1.5.0=09-b03) + apache-ant-1.6.5 binary distribution+fedora 6
    However, there is a noise error popped up, no matter what i did.
    I have set the parameters as follow:
    JAVA_HOME=/opt/jdk1.5.0=09
    ANT_HOME=/home/dspace/ant
    PATH=$JAVA_HOME/bin:$JAVA_HOME\/jre/bin:$ANT_HOME/bin:$PATH
    CLASSPATH=$JAVA_HOME/lib:$ANT_HOME/lib$CLASSPATH
    Although the java -version works, the ant -version doesnot work.
    the ant -version also does not work.
    same happend when I run the /home/dspace/bin/ant
    there is a error:
    "Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/Launcher"
    What is going on here??????
    Any idear????
    HELP!!!!!!!! Thanks

    Take a look here:
    http://www.oracle.com/technetwork/java/archive-139210.html

  • Flex Ant Tasks html-wrapper problem

    I'm getting BUILD SUCCESSFUL and an SWF file, but no HTML
    wrapper. Any help is appreciated!
    Apache Ant version 1.7.0 compiled on December 13 2006
    Buildfile:
    C:\Installs\MTCSEWorkspace\MTCSE_WebApp\flex-build.xml
    parsing buildfile
    C:\Installs\MTCSEWorkspace\MTCSE_WebApp\flex-build.xml with URI =
    file:/C:/Installs/MTCSEWorkspace/MTCSE_WebApp/flex-build.xml
    Project base dir set to:
    C:\Installs\MTCSEWorkspace\MTCSE_WebApp
    [antlib:org.apache.tools.ant] Could not load definitions from
    resource org/apache/tools/ant/antlib.xml. It could not be found.
    Build sequence for target(s) `wrapper' is [compile, wrapper]
    Complete build sequence is [compile, wrapper, ]
    compile:
    [mxmlc] Loading configuration file
    C:\Installs\MTCSEStudio\Flex Builder 3
    Plug-in\sdks\2.0.1\frameworks\flex-config.xml
    [mxmlc]
    C:\Installs\MTCSEWorkspace\MTCSE_WebApp\target\MTCSE_WebApp/ValidValueTest.swf
    (592822 bytes)
    wrapper:
    BUILD SUCCESSFUL
    Total time: 18 seconds
    <?xml version="1.0" encoding="utf-8"?>
    <!-- flex-build.xml -->
    <project name="My App Builder" basedir=".">
    <property name="FLEX_HOME"
    value="C:\Installs\MTCSEStudio\Flex Builder 3
    Plug-in\sdks\2.0.1" />
    <property name="ANT_HOME"
    value="C:\Installs\MTCSEStudio\eclipse\plugins\org.apache.ant_1.7.0.v200706080842"
    />
    <property name="MTCSE_WebApp"
    value="C:\Installs\MTCSEWorkspace\MTCSE_WebApp" />
    <property name="DEPLOY_DIR"
    value="C:\Installs\MTCSEWorkspace\MTCSE_WebApp\target\MTCSE_WebApp"
    />
    <taskdef resource="flexTasks.tasks"
    classpath="${ANT_HOME}/lib/flexTasks.jar" />
    <target name="main">
    <mxmlc
    file="${MTCSE_WebApp}/flex_src/ValidValueTest.mxml"
    keep-generated-actionscript="false"
    output="${DEPLOY_DIR}/ValidValueTest.swf">
    <load-config
    filename="${FLEX_HOME}/frameworks/flex-config.xml" />
    <source-path path-element="${FLEX_HOME}/frameworks" />
    </mxmlc>
    <html-wrapper swf="ValidValueTest"
    output="${DEPLOY_DIR}" />
    </target>
    </project>

    Ok, on second inspection, index.html is being generated.
    However, the file attribute is unsupported.
    Using the ant Move task, I was able to accomplish what I
    wanted to do. Thanks!
    <target name="wrapper" depends="compile">
    <html-wrapper swf="ValidValueTest"
    output="${DEPLOY_DIR}" />
    <move file="${DEPLOY_DIR}/index.html"
    tofile="${DEPLOY_DIR}/ValidValueTest.html"/>
    </target>

  • Simple VISA Setup Problem

    Hi all,
    I'm having issues working with VISA in LabVIEW. Previously, I've used Peek/Poke VIs (before they were VISA VIs) that allowed me to read and write directly to registers at a given Windows address. I have a new, custom PCI Express board that uses the same architecture that I've worked with previously only this time I'm trying to access the registers using VISA.
    As this is my first time using VISA, I'm having some setup problems. Yesterday I got to a state where logically things should work but I still end up getting an error when I try to run a simple VISA Open command (see attached screenshot).
    The initial problem I had was I was not able to acquire a VISA resource that opens a session to my PCIe board...it would simply not show up on the resource list. After reading around I discovered I needed to create a custom VISA driver for my board. Once I did that using the VISA Driver Wizard, the device showed up in my list (as seen in the screenshot). I wrote the simplest of all VIs where I simply open that VISA resource, however, the error seen in the screenshot is produced.
    I'm pretty sure this is a simple setup issue, but does anyone know what I'm doing wrong?
    Attachments:
    Screenshot1.JPG ‏145 KB

    Hi bonhomme,
    I see you're having some issues using VISA. It sounds like you're new to VISA, so I wanted to pass along some information that we have availble on this software. This link gives good general information about VISA, and the related links are extremely helpful in finding specific issues.
    Thank you for attaching your error. This is extremely helpful in debugging since we can actually see the numbers. There is another forumn that talks about these at this link and at this link. 
    Hope this helps you out!!
    Lea D.
    Applications Engineering
    National Instruments

  • Apache-ant file conflict not letting me upgrade

    As of yesterday, whenever I run a pacman -Su, pacman -Syu, or pacman -Syyu I get the same darn error:
    error: failed to commit transaction (conflicting files)
    apache-ant: /usr/share/apache-ant/etc exists in filesystem
    Errors occurred, no packages were upgraded.
    Kalu is also telling me the same thing,
    Error: System update failed: Failed to commit transaction: conflicting files :
    - /usr/share/apache-ant/etc exists in both apache-ant and current filesystem
    I'm not sure what to do. Is there any way I can upgrade apache-ant? I have other packages that need to be upgraded too that can't upgrade since apache-ant keeps getting this error. Any advice?
    Last edited by shmoogin (2014-01-20 17:13:13)

    Be careful with that shit. I just nuked my /etc folder with that and pretty angry about it. Yes, force is not a good solution, but I was stupid too. I did not know that rm would follow a link to /etc, because this is a link!! Remove the link simply don't you dare to rm -r, this thing will take my day

  • CDC setup problem

    {noformat}Dear all,{noformat}{noformat}Trying to troubleshoot a CDC setup problem in ODI:{noformat}{noformat}I got an error when trying to "Start Journal" from the CDC source model (in Designer).{noformat}{noformat}Here is what I've done:{noformat}{noformat}1. grant the following role to the CDC source schema (user):{noformat}{noformat}DBA, execute on DBMS_CDC_PUBLISH, connect, resource, select_on_change_sets, create session, select_catalog_role, execute_catalog_role, create sequence{noformat}{noformat}2. in the CDC source model "Journalizing" tab, specify JKM 9i logminer (CDC source is on 9i) and specify "Automatic Configuration"{noformat}{noformat}3. add a subscriber "SUNOPSIS" to the source model -&gt; Changed Data Capture (Operator successfully run){noformat}{noformat}4. "add to CDC" from source model -&gt; Changed Data Capture{noformat}{noformat}5. "Start Journal" from source model -&gt; Changed Data Capture (Operator run failed with the following errors in the "create Journal" step){noformat}{noformat}
    30475 : 99999 : java.sql.BatchUpdateException: ORA-30475: feature not enabled:
    ORA-06512: at "SYS.DBMS_CDC_PUBLISH", line 298
    ORA-06512: at line 1
    30475 : 99999 : java.sql.SQLException: ORA-30475: feature not enabled:
    ORA-06512: at "SYS.DBMS_CDC_PUBLISH", line 298
    ORA-06512: at line 1
    java.sql.BatchUpdateException: ORA-30475: feature not enabled:
    ORA-06512: at "SYS.DBMS_CDC_PUBLISH", line 298
    ORA-06512: at line 1
    at oracle.jdbc.driver.DatabaseError.throwBatchUpdateException(DatabaseError.java:367)
    at oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatement.java:9119)
    at com.sunopsis.sql.SnpsQuery.executeBatch(SnpsQuery.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execCollOrders(SnpSessTaskSql.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSqlC.treatTaskTrt(SnpSessTaskSqlC.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
    at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
    at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
    {noformat}{noformat}Any idea?{noformat}{noformat} {noformat}{noformat}William Lam
    {noformat}

    Hi Cezar,
    Thanks for following up. Below is from the description tab of the "Create Journal" steps:
    LOADING:
    select     FULL_TABLE_NAME     FULL_TABLE_NAME
    from     CDCSRC.SNP_TMP_TABLE_LIST     TMP
    where     TMP.FULL_TABLE_NAME = 'CDCSRC.DEPT'
    and     not exists      (
              select     'X'
              from     CDCSRC.SNP_CDC_OBJECTS     OBJ,
                   CDCSRC.SNP_CDC_SET_TABLE     TBL
              where     TBL.FULL_TABLE_NAME          = OBJ.FULL_TABLE_NAME
              and     TBL.FULL_TABLE_NAME          = TMP.FULL_TABLE_NAME
              and     TBL.CDC_SET_NAME          = 'CDCSRC.CDCSRC'
              and     OBJ.FULL_OBJECT_NAME     = 'CDCSRC.J$DEPT'
              and     OBJ.CDC_OBJECT_TYPE          = 'JRN_FULL_NAME'
    DEFAULT:
    BEGIN
         DBMS_LOGMNR_CDC_PUBLISH.CREATE_CHANGE_TABLE(
         owner          => 'CDCSRC',
         change_table_name     => 'J$DEPT',
         change_set_name     => 'SYNC_SET',
         source_schema     => 'CDCSRC',
         source_table     => 'DEPT',
         column_type_list     => 'DEPTNO NUMBER(2) ',
         capture_values     => 'new',
         rs_id          => 'n',
         row_id          => 'n',
         user_id          => 'n',
         timestamp          => 'y',
         object_id          => 'n',
         source_colmap     => 'n',
         target_colmap     => 'n',
         options_string     => ''
    END;
    The error message from the Execution Tab:
    30475 : 99999 : java.sql.BatchUpdateException: ORA-30475: feature not enabled:
    ORA-06512: at "SYS.DBMS_CDC_PUBLISH", line 298
    ORA-06512: at line 1
    30475 : 99999 : java.sql.SQLException: ORA-30475: feature not enabled:
    ORA-06512: at "SYS.DBMS_CDC_PUBLISH", line 298
    ORA-06512: at line 1
    java.sql.BatchUpdateException: ORA-30475: feature not enabled:
    ORA-06512: at "SYS.DBMS_CDC_PUBLISH", line 298
    ORA-06512: at line 1
    Once again, the setup details:
    - CDC source is on Oracle 9i
    - KM used is Oracle 9i LogMiner
    - enabled archivelog in Oracle 9i
    - installed logminer by running the 2 sqls as described in the earlier tread.
    I need to meet a tight deadline for POC completion and I desparate need some help here.
    Thanks and regards,
    William

  • Regarding apache ant server

    halo how can i connect to database(mysql) using apache ant server
    thanks in advance

    halo how can i connect to database(mysql) usingYou use JDBC to connect to relational databases via Java.
    apache ant server Ant is an XML-based make tool. You must mean Tomcat. There are docs to show you how to set up a JNDI data source in Tomcat.
    %

Maybe you are looking for

  • Linked table of contents in Pages for iPad iOS6 ?

    How do I set up a table of contents with links to other pages within the document ?

  • Unable to install any 3rd party applications

    I have a nokia e61. I have been trying to install 3rd party apps like newsgator, truphone, google maps etc on my phone. It dowloads the applications and immediately thereafter gives me a message 'Unable to install'. Any suggestions anyone.

  • EXIF date and time data issues

    I have several thousand images shot during the same trip, on two different cameras. The date and on one of the cameras was not correct. I corrected the date on the images using PhotoInfo 2.0.1 The problem is that Bridge CS3 is not recognizing the new

  • My listener log is getting big

    hi Buddies; I got two DBs and two listeners. Right now, one of the listener is getting big. I'm trying to solve the problem executing the next instruction. lsnrctl set log_status off mv listener.log listener_old.log lsnrctl set log_status on But that

  • I feel like someone is on my computer with me....?

    whenever i am on my mouse runs around like crazy hitting on things while i watch it...like watching a ghost in the machine...is it me? or is this common...i am paranoid to begin with so this is keeping me up at night...