Debugging question (project with Ant)

Hi,
Could anyone tell me how to debug a project with Ant?
There is no main class to execute.
Only Ant script runs it as below.
Thanks in advance,
<?xml version="1.0" encoding="UTF-8"?>
<project basedir="." default="all" name="run1">
<target name="all">
<java classname="zeus.agents.ANServer" failonerror="true" fork="true">
<arg line="Nameserver2 -t 0.1 -f dns.db"/>
</java>
</target>
</project>

how simple was that... Thanks Mark.
Now I have another problem - how can I specify deployment targets when creating a new dataspace? I'm using a DspCommonCommands.py script, which targets deployments to any server and cluster in the specified domain:
targets = wlst.get('Targets')
wlst.invoke('createDataSpace',[dataspaceName,targets],['java.lang.String','java.util.Set'])
which results in 2 problems:
1. targeting projects to inappropriate servers (like AdminServer)
2. targeting project to cluster and all servers belonging to that cluster (which results in errors when trying to start corresponding request_handlers application)
I thought I can simply list the names of clusters I would like the project to be targeted to, but it results in:
javax.management.RuntimeOperationsException: RuntimeException occured trying to invoke operation createDataSpace
Caused by: java.lang.IllegalArgumentException: argument type mismatch
I can't find the class with createDataSpace() method to check what it's all about and how should I format the target names.
Regards,
Tomek

Similar Messages

  • PB with beans binding in a netbeans 6 java project with ant script existing

    Hi all,
    I am using netbeans 6.01.
    I want to use beans binding in a simple swing form created with Matisse designer. If i do beans binding in a Netbeans java project with existing ant script i have the following error :
    java.lang.UnsupportedOperationException: No PCPE/PCPMI found for classpath/compile in MasterFileObject@25 .... etc
    Beans binding works very well in normal java project ( Java Desktop App for instance ).
    How can i make it work in an existing java ant script project ?

    You need to add the Beans Binding (beansbinding-1.2.1) that come with NetBeans 6 in your projects class path.

  • Building the ADF 11g project with ANT or MAVEN

    I want to automate the build process of my project using ant or maven. Is there already some build scripts for ant / maven. which can compile and package it using the structure which JDeveloper follows?

    Anthony,
    You probably can. However, since I wrote the original article, I have changed my way of thinking on this; at the time I wrote the article, ojdeploy was not working - now it is. Installing JDev on a build machine takes a bit of space, but it's not a big deal; it doesn't require a license or anything. If I were doing this today, there is no way I would consider anything but ojdeploy for doing the build - it guarantees that what I set up in JDev is what gets built. The one thing that could make me change my mind is if and when JDeveloper gets fully-baked Maven support, including keeping a POM in synch with any libraries added to a project, but that's neither here today nor a certainty, since Oracle hasn't made any specific announcements that I am aware of about the direction of Maven support in JDev.
    We did have a discussion about this on the [url http://groups.google.com/group/adf-methodology/browse_thread/thread/52f7aab00d201b4c/bec6e076a7c82520?lnk=gst&q=ojdeploy#bec6e076a7c82520]ADF Enterprise Methodology Group a while back, and I recall quite a discussion in the forums as well about ojdeploy vs ANT/Maven. I used to be more of a "purist" mindset (i.e. don't make me install an IDE on the build server), but if you like, don't think of it as an IDE in this function - it doesn't require a user to operate it, it's just another build tool that you'd install on the server. That build tool can be integrated with ANT using the ojdeploy tasks.
    John

  • Compiling Flash Builder Projects with ant - error

    I'm fairly new to FlashBuilder as well as using ant to build projects.
    I'm working on a project in FlashBuilder 4.5. I'm using a 3rd party SWC that contains an alchemy-compiled C application in the SWC. Building my entire project within FlashBuilder is working fine. However, due to other parts of the project (not imported into FlashBuilder) I need to build with ant on occasion.
    The Class specific to the C app within the SWC is throwing errors when building with ant - it says it can not find the source. I had one recommendation to look into adding/editing something within the build.xml file, but I don't know what that addition/edit would be.
    Any help appreciated.

    Apparently related to switching workspaces... the error log identifies a path to an old workspace I changed out of weeks ago. I created a new workspace and moved the project (just the source, etc, not the settings) into it. been running fine for a while now... though funny how this problem didn't show up until yesterday.

  • Building web project with ANT

    Hi,
    I am using jdeveloper 11g TP4 , and for building my web application i am using Jdev,
    but now for some extra work i am using ANT, so my requirement is when i am doing make(build) of my web project it should run that Ant file (build.xml)
    i have checked the run/debug configuration but not able to run the ant implicitly..
    can anybody knows ..
    Thanks in advance
    Edited by: 982899 on Jan 29, 2013 3:59 AM

    Hi,
    I am not sure if this is the only answer but when I want to run an ANT file for my project I do right click on my build.xml and simply run the target I want to run. On the other hand, you can configure your RUN profile and play a bit to see if its possible to configure in there ANT to be run automatically when you run your project by using JDeveloper itself.

  • Deploy bpel project using ant

    Hi,
    I am try to create the build.xml to deploy the bpel project with ant.
    The build.xml and build.properties work fine with Jdev now, but when I use the command line 'ant deploy' to test it, it got following error:
    Buildfile: build.xml
    [echo]
    [echo] oracle.home = "D:/jdevstudio10134"
    [echo] bpel.home = "D:/jdevstudio10134/integration/bpel"
    [echo]
    [java] Java Result: 1
    [taskdef] Could not load definitions from resource com/collaxa/cube/ant/orabpe
    l-antlib.xml. It could not be found.
    pre-build:
    validateTask:
    [echo]
    [echo] --------------------------------------------------------------
    [echo] | Validating workflow
    [echo] --------------------------------------------------------------
    [echo]
    BUILD FAILED
    D:\Projects\NetApp\SVN\Integration\Item\SourceCode\UpdateItemEbizReqABCSImpl\bui
    ld.xml:72: Could not create task or type of type: validateTask.
    Ant could not find the task or a class this task relies upon.
    This is common and has a number of causes; the usual
    solutions are to read the manual pages then download and
    install needed JAR files, or fix the build file:
    - You have misspelt 'validateTask'.
    Fix: check your spelling.
    - The task needs an external JAR file to execute
    and this is not found at the right place in the classpath.
    Fix: check the documentation for dependencies.
    Fix: declare the task.
    - The task is an Ant optional task and the JAR file and/or libraries
    implementing the functionality were not found at the time you
    yourself built your installation of Ant from the Ant sources.
    Fix: Look in the ANT_HOME/lib for the 'ant-' JAR corresponding to the
    task and make sure it contains more than merely a META-INF/MANIFEST.MF.
    If all it contains is the manifest, then rebuild Ant with the needed
    libraries present in ${ant.home}/lib/optional/ , or alternatively,
    download a pre-built release version from apache.org
    - The build file was written for a later version of Ant
    Fix: upgrade to at least the latest release version of Ant
    - The task is not an Ant core or optional task
    and needs to be declared using <taskdef>.
    - You are attempting to use a task defined using
    <presetdef> or <macrodef> but have spelt wrong or not
    defined it at the point of use
    Remember that for JAR files to be visible to Ant tasks implemented
    in ANT_HOME/lib, the files must be in the same directory or on the
    classpath
    Please neither file bug reports on this problem, nor email the
    Ant mailing lists, until all of these causes have been explored,
    as this is not an Ant bug.
    Total time: 0 seconds.
    Any hint on it?
    Thanks!

    you need to set environment variables (at least $ORACLE_HOME and $JAVA_HOME), for ant tasks to work from command line.
    If you are trying this on the SOA Suite server, open a devprompt.sh from $ORACLE_HOME/bpel/bin, and it would work from there.
    Regards,
    Shanmu.
    http://www.prshanmu.com/articles/

  • Using the Netbeans GUI within a Project with existing Ant Script

    I cannot seem to figure out how to use the Netbeans GUI in my Project with existing Ant Script. Is this possible? I have no problem creating GUI interfaces in a java Application, but attempting to make a new JFrame Form gives the error: package org.jdesktop.layout does not exist, and I have not been able to find a way around this. Any suggestions? Thanks in advance.
    Chris Coulon

    OK, I think I am on the right track, but I don't understand why I am still getting this error:
    clean:
    compile:
    Copying 1 file to /Users/chris/**JavaProjects/Netbeans_ImageJ
    Created dir: /Users/chris/**JavaProjects/Netbeans_ImageJ/source/build
    Compiling 292 source files to /Users/chris/**JavaProjects/Netbeans_ImageJ/source/build
    /Users/chris/**JavaProjects/Netbeans_ImageJ/source/plugins/Kline_Frame.java:31: package org.jdesktop.layout does not exist
    org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(getContentPane());
    /Users/chris/**JavaProjects/Netbeans_ImageJ/source/plugins/Kline_Frame.java:31: package org.jdesktop.layout does not exist
    org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(getContentPane());
    /Users/chris/**JavaProjects/Netbeans_ImageJ/source/plugins/Kline_Frame.java:34: package org.jdesktop.layout does not exist
    layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
    /Users/chris/**JavaProjects/Netbeans_ImageJ/source/plugins/Kline_Frame.java:38: package org.jdesktop.layout does not exist
    layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
    Note: Some input files use or override a deprecated API.
    Note: Recompile with -Xlint:deprecation for details.
    4 errors
    /Users/chris/**JavaProjects/Netbeans_ImageJ/source/build.xml:11: Compile failed; see the compiler error output for details.
    BUILD FAILED (total time: 6 seconds)
    I no longer have the error in my java code in the Projects list, but I still cannot build the project. This is my current build.xml file:
    <!-- Ant makefile for ImageJ -->
    <project name="ImageJ" default="run">
      <target name="compile" description="Compile everything.">
          <!-- Copy the swing layout library into dist.lib -->
        <copy file="dist/lib/swing-layout-1.0.3.jar" todir=".." />
        <!-- First, ensure the build directory exists. -->
        <mkdir dir="build" />
        <!-- Build everything; add debug="on" to debug -->
        <javac srcdir="." destdir="build" optimize="on" source="1.4" target="1.4" debug="on">
          <!-- The plugins directory only needs to be
                 present at runtime, not at build time. -->
          <!-- exclude name="plugins/**"/-->
        </javac>
      </target>
      <target name="build" depends="compile" description="Build ij.jar.">
        <!-- Copy needed files into the build directory. -->
        <copy file="IJ_Props.txt" todir="build" />
        <copy file="images/microscope.gif" tofile="build/microscope.gif" />
        <copy file="images/about.jpg" tofile="build/about.jpg" />
         <copy file="plugins/MacAdapter.class" tofile="build/MacAdapter.class" />
        <copy todir="build/macros"><fileset dir="macros"/></copy>
        <!-- Build ij.jar. -->
        <jar jarfile="ij.jar" basedir="build"
             manifest="MANIFEST.MF" />
      </target>
      <target name="clean" description="Delete the build files.">
        <delete dir="build" />
        <delete file="ij.jar" />
      </target>
      <target name="run" depends="build" description="Build and run ImageJ.">
        <copy file="ij.jar" toDir=".." />
        <java maxmemory="640m" jar="ij.jar" fork="yes" />
      </target>
      <target name="run2" depends="build" description="Build and run ImageJ.">
        <!-- Run in ImageJ directory -->
        <copy file="ij.jar" toDir=".." />
        <java maxmemory="640m" dir=".." jar="ij.jar" fork="yes" />
      </target>
      <target name="zip" depends="clean" description="Build zrc.zip.">
        <zip zipfile="../src.zip"
           basedir=".."
           includes="source/**"
        />
      </target>
      <target name="javadocs" description="Build the JavaDocs.">
        <delete dir="../api" />
        <mkdir dir="../api" />
        <javadoc
               sourcepath="."
               packagenames="ij.*"
               destdir="../api"
               author="true"
               version="true"
               use="true"
               windowtitle="ImageJ API">
        </javadoc>
      </target>
       </project>notice I added this line: <copy file="dist/lib/swing-layout-1.0.3.jar" todir=".." />
    because the dir ".." is where the other jar files are placed, i.e.:
    [GAIAG:~/**JavaProjects/Netbeans_ImageJ/source] chris% ls ..
    PolarDisplay          ij.jar               swing-layout-1.0.3.jar
    TestFrames          myApp
    api               source
    So why is the build not able to see the package org.jdesktop.layout in the jar file?
    Chris

  • Limited navigation in projects with questions

    I have a project with special instruction slides provided to support a number of question slides.  The question slides and quiz preferences are set for one try and one retake.  Students use the skin to navigate back and forth in the project and use the back and submit buttons to work in the questions.  Students do not seem to have unlimited back and forth capabilities.  Once they are in the retake version of the quiz, when they try to go back and get clarification on special instructions, they are blocked from going forward.  Is my only option to separate my instruction slides and question slides into two projects?

    Hi, Jon
    Thanks for your help.
    I will use an unconfigured LH file manager(I mean the file path and name will not be specified.).
    Currently, find the temp file will be created in C:\Documents and Settings\$user_name\Local Settings\Temp in windows.
    I have two questions on temp file.
    1) Does tangosol supply a mechanism to maintain the temp files?
    2) In solaris, which place will the temp file be created in?
    Thanks,
    Bin
    null

  • Debug Multiple Flex Projects with shared PHP project

    Hi ! I have a problem debugging Flex/PHP applications.
    I have many Flex projects with a shared PHP project, so I need to set the the output folder to the Flex project's folder, not the PHP's project folder.
    But it doesn't work, I mean the application works great, the PHP are executed fine, the AS3 code is debugged fine, but I can't debug PHP.
    If I put the output folder to the PHP's project, then I can debug the PHP code too.
    Please, can you tell me if it's possible to put the output folder to another folder than PHP's project???

    Hi Steven,
    Yes, I considered this option too.
    But if someone creates in the database a column for a table that belongs to "Project A", when I publish "Project B" the generated script tries to remove the column since my copy of "Project A" on my solution is not the latest
    version.
    I think I'll just have to handle this. Like, organizing with people when and ho can publish to the databases.
    Maybe the best practice is to developers use their own LocalDB while developping and only one person publish to database on the development server.

  • How debug with Ant

    Hi All,
    I am running my application with apache-ant-1.6.5.
    Can anybody give suggestion to debug the my application using jdb with ant.
    Is there setting in ant so that when i run my program using ant i can debug with jdb.
    waiting for reply,
    Thanks,
    Nitin.

    assuming you are running the app through ant using the <java> tag, you should be able to add a
                   <jvmarg value="-Xdebug"/>
    tag inside the <java> tag, to enable remote debugging with jdb

  • Linking "ant" project with GUI

    Hello,
    I have an "ant" project (is a speech recognition system) that I want to link to a GUI. I did not make the "ant" project but I know how to use it; I have no experience working with "ant" projects or files.
    Does anyone have any ideas? or, Does anyone have a link where I can learn more about "ant"? I'm using netbeans for my application. I googled ant but have not found anything that can help; I'll keep googling but suggestions are appreciated.

    I googled ant but have not found anything that can help; I'll keep googling but suggestions are appreciated.http://ant.apache.org/
    ~

  • Doing first project with film. EDL questions.

    So I'm doing my first project with Super16 in a month or two and I've got a couple of questions. The workflow will be shoot on 16 > edit in 24p DV > finish on film. I know how to do almost everything right up until we finish editing, but actually getting all the information ready to do a negative cut is something I don't know about. How does Cinema Tools factor into this? What do I need to do about the audio? What sort of windowburn or keycode information do I need to have? Do I do anything different when I import the 24p DV footage? Your help is greatly appreciated.

    I have not done what you are attempting, but my understanding is that you should get flex files to bring into Cinema Tools that reflect the keycode/timecode relationship created in telecine. From there you can export a cutlist that should give you keycodes that the neg cutter can work from.
    Have you read the manual for Cinema Tools?
    Patrick

  • How to find out the projects with status "Invalid"?

    I'm new to Oracle Projects -OP. We are on 12.0.4. This' my new job.
    I have a task of "Remove projects with status 'Invalid' ".
    Questions:
    How to access the OP forms to verify the existent of the invalid projects?
    What are the PA tables having the status info -- I mean those showing the status with 'Invalid'?
    Thanks A lot.
    an apps dba

    I could not find a sample for the DELETE_PROJECT. I have coded the delete project by modifying the sample of the CREATE_PROJECT.
    -- delete a project with the status INVALID shown in pa_project_statuses.project_status_name
    --set serveroutput on size 20000
    DECLARE
      -- Variables needed for API standard parameters
      l_api_version_number          NUMBER := 1.0;
      l_commit               VARCHAR2(1) := 'F';
      l_return_status          VARCHAR2(1);
      l_init_msg_list          VARCHAR2(1) := 'F';
      l_msg_count               NUMBER;
      l_msg_index_out          NUMBER;
      l_msg_data               VARCHAR2(2000);
      l_data               VARCHAR2(2000);
      l_pm_product_code          VARCHAR2(10);
      l_responsibiity_id          NUMBER;
      l_user_id               NUMBER;
      l_pm_project_reference     PA_PROJECT_PUB.PROJECT_IN_REC_TYPE;
      l_pa_project_id          PA_PROJECT_PUB.PROJECT_IN_REC_TYPE;
      API_ERROR               EXCEPTION;
    BEGIN
    -- GET GLOBAL VALUES
      select user_id, responsibility_id
        into l_user_id, l_responsibiity_id
        from pa_user_resp_v
       where user_name = 'J23N';          -- need to get from Apps
    --SET GLOBAL VALUES
        pa_interface_utils_pub.set_global_info(
        p_api_version_number     => 1.0,
           p_responsibility_id     => l_responsibiity_id,
           p_user_id          => l_user_id,
        p_msg_count          => l_msg_count,
           p_msg_data          => l_msg_data,
           p_return_status          => l_return_status);
    -- PRODUCT RELATED DATA
      l_pm_product_code := 'R_INVALID';           -- can be user defined
    -- PRODUCT DATA (PROJECT_IN_REC_TYPE)
       l_pm_project_reference.pm_project_reference := null;
       l_pa_project_id.pa_project_id := 1001;
    --INIT_CREATE_PROJECT
      --pa_project_pub.init_project;
      dbms_output.put_line('Before delete_project');
    --DELETE_PROJECT
      pa_project_pub.delete_project(
         p_api_version_number => l_api_version_number,
         p_commit                    => l_commit,
         p_init_msg_list         => l_init_msg_list,
         p_msg_count                => l_msg_count,
         p_msg_data                  => l_msg_data,
         p_return_status         => l_return_status,
         p_pm_project_code       => l_pm_product_code,
      p_pm_project_reference => l_pm_project_reference,
      p_pa_project_id         => l_pa_project_id 
    -- Check for errors
      if l_return_status != 'S'
      then
        raise API_ERROR;
      end if;
      dbms_output.put_line('Deleted Project Id: ' || l_pa_project_id.pa_project_id);
      --dbms_output.put_line('Deleted Project Number: ' || l_project_out.pa_project_number);
      Commit;
    --HANDLE EXCEPTIONS
    -- Get the error message that were returned if it did not complete sucessfully
      EXCEPTION
      When API_ERROR then
        dbms_output.put_line('An API_ERROR occurred');
        if l_msg_count >= 1
        then
          for i in 1..l_msg_count loop
            pa_interface_utils_pub.get_messages(
              p_msg_data      => l_msg_data,
              p_encoded     => 'F',
              p_data           => l_data,
              p_msg_count      => l_msg_count,
              p_msg_index_out => l_msg_index_out);
            dbms_output.put_line('error message: ' || l_data);
          end loop;
          rollback;
        end if;
      When OTHERS then
        dbms_output.put_line('An error occured, sqlcode = ' || sqlcode);
        if l_msg_count >= 1
          then
          for i in 1..l_msg_count loop
            pa_interface_utils_pub.get_messages(
              p_msg_count      => l_msg_count,
              p_encoded     => 'F',
              p_msg_data      => l_msg_data,
              p_data           => l_data,
              p_msg_index_out => l_msg_index_out);
            dbms_output.put_line('error message: ' || l_data);
          end loop;
          rollback;
        end if;
    END;Can anyone with the experience of PA_PROJECT_PUB make comment on this Delete Project block? On the struncture level is it correct?
    I run it and get
      pa_project_pub.delete_project(
    ERROR at line 48:
    ORA-06550: line 48, column 3:
    PLS-00306: wrong number or types of arguments in call to 'DELETE_PROJECT'
    ORA-06550: line 48, column 3:
    PL/SQL: Statement ignored
    Please make your comment on the structure (the logic)  of the delete project before providing the advice on the debug.
    I would like to make sure the logic is correct first.
    TIA

  • How to define new classpath of libraries while making jar files with ant

    I am useing eclipse and ant and trying to make a jar file. I have used some external jar files. I have managed to add external jar files to my jar. But Still I have a problem. In my project all libraries in lib folder. But when I put them into jar file. They are in the root folder.Classpath has changed and It couldn't find the class path.
    Is there any body knows how to define a new class path for external libraries with ANT. or How can I put my libraries into a lib folder in jar ?? I think both of them would solve my problem.
    thanks in advance.
    My code is like that, I think it requires a little modification
    <target name="jar">
            <mkdir dir="build/jar"/>         
            <jar destfile="build/jar/Deneme.jar" basedir="build/classes" >             
                <manifest>
                    <attribute name="Main-Class" value="${main-class}"/>                    
                </manifest>             
                 <fileset  dir="${lib.dir}" includes="**/*.jar"/>           
            </jar>
        </target>

    I can see why your other "question" was likely deleted. You need to drop the editorial comments and just ask a question. I believe what you want to know is how to configure something using php on your Apache server so that it can be read. If that's your question, here's a couple of places that discuss the topic:
    http://www.webmasterworld.com/linux/3345459.htm
    http://forums.macrumors.com/showthread.php?t=427742
    http://en.allexperts.com/q/PHP5-3508/configuring-installing-permissions.htm
    For a general introduction to 'nix permissions, take a look at this:
    http://www.osxfaq.com/Tutorials/LearningCenter/UnixTutorials/ManagingPermissions /index.ws
    And here's a whole book on the subject of Leopard permissions:
    http://my.safaribooksonline.com/9780321579331
    Try doing a Google search on "leopard permissions php apache" and see if you find what you are looking for.
    Francine
    Francine
    Schwieder

  • Using WLST with ant. Need help

    I try to create ant task which connects to WLST engine and creates datasource.
    This is build.xml :
    +<?xml version="1.0" ?>+
    +<project name="deploy" default="connect" basedir=".">+
    +<echo> ${wl.home} </echo>+
    +<path id="wl.appc.classpath">+
    +<pathelement location="${wl.home}/server/lib/weblogic.jar"/>+
    +</path>+
    +<taskdef name="wlst" classpathref="wl.appc.classpath" classname="weblogic.ant.taskdefs.management.WLSTTask" />+
    +<target name="connect">+
    +<wlst executescriptbeforefile="true" debug="false">+
    +<script>+
    connect('weblogic','weblogic','t3://localhost:7001')
    +</script>+
    +</wlst>+
    +</target>+
    +</project>+
    Running this is script I'm getting the following error:
    Buildfile: c:\wl-ds.xml
    [echo] C:/Oracle/Middleware11.1.1.4/wlserver_10.3
    connect:
    [wlst] java.lang.NoClassDefFoundError: weblogic/management/scripting/WLSTInterpreterInvoker
    [wlst] Caused by: java.lang.ClassNotFoundException: weblogic.management.scripting.WLSTInterpreterInvoker
    [wlst] at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    [wlst] at java.security.AccessController.doPrivileged(Native Method)
    [wlst] at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    [wlst] at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    [wlst] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    [wlst] at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
    [wlst] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
    [wlst] Could not find the main class: weblogic.management.scripting.WLSTInterpreterInvoker. Program will exit.
    [wlst] Exception in thread "main"
    BUILD FAILED
    c:\wl-ds.xml:12: Java returned: 1
    Ant founds weblogic.ant.taskdefs.management.WLSTTask but in some reasons cannot find weblogic.management.scripting.WLSTInterpreterInvoker, although they both placed in the weblogic.jar
    I can't understand what I do wrong! Please, help or advice what to do...
    Edited by: creed on 03.03.2011 20:55

    Hi,
    Just wanted to check if the issue was resolved, I have the same issue , Below is the details of the error i get when i try jay's script
    Apache Ant version 1.8.0 compiled on February 1 2010
    Trying the default build file: build.xml
    Buildfile: D:\anttest\build.xml
    Adding reference: ant.PropertyHelper
    Detected Java version: 1.6 in: D:\SYS\JAVA\jdk1.6.0_21\jre
    Detected OS: Windows Server 2008
    Adding reference: ant.ComponentHelper
    Setting ro project property: ant.file -> D:\anttest\build.xml
    Setting ro project property: ant.file.type -> file
    Adding reference: ant.projectHelper
    Adding reference: ant.parsing.context
    Adding reference: ant.targets
    parsing buildfile D:\anttest\build.xml with URI = file:/D:/anttest/build.xml
    Setting ro project property: ant.project.name -> deploy
    Adding reference: deploy
    Setting ro project property: ant.project.default-target -> run
    Setting ro project property: ant.file.deploy -> D:\anttest\build.xml
    Setting ro project property: ant.file.type.deploy -> file
    Project base dir set to: D:\anttest
    +Target:
    +Target: connect
    +Target: run
    Adding reference: ant.LocalProperties
    parsing buildfile jar:file:/D:/SYS/apache-ant-1.8.0/lib/ant.jar!/org/apache/tools/ant/antlib.xml with URI = jar:file:/D:/SYS/apache-ant-1.8.0/lib/ant.jar!/org/apache/tools/ant/antlib.xml from a zip file
    Setting project property: wl.home -> D:\SYS\Weblogic1034\wlserver_10.3
    Adding reference: wl.classpath
    fileset: Setup scanner in dir D:\SYS\Weblogic1034\wlserver_10.3\server\lib with patternSet{ includes: [*.jar] excludes: [] }
    Finding class weblogic.ant.taskdefs.management.WLSTTask
    Loaded from D:\SYS\Weblogic1034\wlserver_10.3\server\lib\weblogic.jar weblogic/ant/taskdefs/management/WLSTTask.class
    Class org.apache.tools.ant.taskdefs.Java loaded from parent loader (parentFirst)
    Class weblogic.ant.taskdefs.management.WLSTTask loaded from ant loader (parentFirst)
    Class java.lang.Object loaded from parent loader (parentFirst)
    Class java.lang.Throwable loaded from parent loader (parentFirst)
    Class org.apache.tools.ant.BuildException loaded from parent loader (parentFirst)
    Class java.lang.Exception loaded from parent loader (parentFirst)
    Class java.lang.IllegalStateException loaded from parent loader (parentFirst)
    Class java.io.Reader loaded from parent loader (parentFirst)
    Class java.io.StringReader loaded from parent loader (parentFirst)
    Class java.lang.String loaded from parent loader (parentFirst)
    Class java.io.IOException loaded from parent loader (parentFirst)
    Class java.io.OutputStream loaded from parent loader (parentFirst)
    Class java.io.FileOutputStream loaded from parent loader (parentFirst)
    +Datatype wlst weblogic.ant.taskdefs.management.WLSTTask
    Setting ro project property: ant.project.invoked-targets -> run
    Attempting to create object of type org.apache.tools.ant.helper.DefaultExecutor
    Adding reference: ant.executor
    Build sequence for target(s) `run' is [connect, run]
    Complete build sequence is [connect, run, ]
    connect:
    [echo] WebLogic Home is : D:\SYS\Weblogic1034\wlserver_10.3
    Class org.apache.tools.ant.types.Path loaded from parent loader (parentFirst)
    Finding class weblogic.ant.taskdefs.management.WLSTScript
    Loaded from D:\SYS\Weblogic1034\wlserver_10.3\server\lib\weblogic.jar weblogic/ant/taskdefs/management/WLSTScript.class
    Class org.apache.tools.ant.Task loaded from parent loader (parentFirst)
    Class weblogic.ant.taskdefs.management.WLSTScript loaded from ant loader (parentFirst)
    Class java.lang.Boolean loaded from parent loader (parentFirst)
    Class java.lang.StringBuilder loaded from parent loader (parentFirst)
    Class org.apache.tools.ant.types.Commandline$Argument loaded from parent loader (parentFirst)
    Class org.apache.tools.ant.util.FileUtils loaded from parent loader (parentFirst)
    Class java.io.PrintWriter loaded from parent loader (parentFirst)
    Class java.io.LineNumberReader loaded from parent loader (parentFirst)
    Finding class weblogic.utils.StringUtils
    Loaded from D:\SYS\Weblogic1034\modules\com.bea.core.utils_1.9.0.0.jar weblogic/utils/StringUtils.class
    Class weblogic.utils.StringUtils loaded from ant loader (parentFirst)
    Class java.lang.SecurityException loaded from parent loader (parentFirst)
    Class java.lang.NoSuchMethodException loaded from parent loader (parentFirst)
    Finding class weblogic.utils.StringUtils$StringMaker
    Loaded from D:\SYS\Weblogic1034\modules\com.bea.core.utils_1.9.0.0.jar weblogic/utils/StringUtils$StringMaker.class
    Class weblogic.utils.StringUtils$StringMaker loaded from ant loader (parentFirst)
    Finding class weblogic.utils.StringUtils$ReflectedStringMaker
    Loaded from D:\SYS\Weblogic1034\modules\com.bea.core.utils_1.9.0.0.jar weblogic/utils/StringUtils$ReflectedStringMaker.class
    Class weblogic.utils.StringUtils$ReflectedStringMaker loaded from ant loader (parentFirst)
    Class java.lang.Class loaded from parent loader (parentFirst)
    Class java.lang.Integer loaded from parent loader (parentFirst)
    Class java.lang.reflect.Constructor loaded from parent loader (parentFirst)
    Class java.lang.reflect.InvocationTargetException loaded from parent loader (parentFirst)
    Class java.lang.IllegalAccessException loaded from parent loader (parentFirst)
    Class java.lang.InstantiationException loaded from parent loader (parentFirst)
    Class java.lang.RuntimeException loaded from parent loader (parentFirst)
    Class java.lang.Character loaded from parent loader (parentFirst)
    Class java.io.File loaded from parent loader (parentFirst)
    Class org.apache.tools.ant.types.CommandlineJava loaded from parent loader (parentFirst)
    [wlst] Executing 'D:\SYS\JAVA\jdk1.6.0_21\jre\bin\java.exe' with arguments:
    [wlst] '-Ddebug=false'
    [wlst] '-DfailOnError=true'
    [wlst] '-DexecuteScriptBeforeFile=true'
    [wlst] '-DscriptTempFile=C:\Users\Administrator\AppData\Local\Temp\2\wlsttempfile214271013.py'
    [wlst] '-classpath'
    [wlst] 'D:\SYS\apache-ant-1.8.0\lib\ant-launcher.jar;D:\SYS\apache-ant-1.8.0\lib\ant-antlr.jar;D:\SYS\apache-ant-1.8.0\lib\ant-apache-bcel.jar;D:\SYS\apache-ant-1.8.0\lib\ant-apache-bsf.jar;D:\SYS\apache-ant-1.8.0\lib\ant-apache-log4j.jar;D:\SYS\apache-ant-1.8.0\lib\ant-apache-oro.jar;D:\SYS\apache-ant-1.8.0\lib\ant-apache-regexp.jar;D:\SYS\apache-ant-1.8.0\lib\ant-apache-resolver.jar;D:\SYS\apache-ant-1.8.0\lib\ant-apache-xalan2.jar;D:\SYS\apache-ant-1.8.0\lib\ant-commons-logging.jar;D:\SYS\apache-ant-1.8.0\lib\ant-commons-net.jar;D:\SYS\apache-ant-1.8.0\lib\ant-jai.jar;D:\SYS\apache-ant-1.8.0\lib\ant-javamail.jar;D:\SYS\apache-ant-1.8.0\lib\ant-jdepend.jar;D:\SYS\apache-ant-1.8.0\lib\ant-jmf.jar;D:\SYS\apache-ant-1.8.0\lib\ant-jsch.jar;D:\SYS\apache-ant-1.8.0\lib\ant-junit.jar;D:\SYS\apache-ant-1.8.0\lib\ant-netrexx.jar;D:\SYS\apache-ant-1.8.0\lib\ant-nodeps.jar;D:\SYS\apache-ant-1.8.0\lib\ant-stylebook.jar;D:\SYS\apache-ant-1.8.0\lib\ant-swing.jar;D:\SYS\apache-ant-1.8.0\lib\ant-testutil.jar;D:\SYS\apache-ant-1.8.0\lib\ant-trax.jar;D:\SYS\apache-ant-1.8.0\lib\ant.jar;D:\SYS\apache-ant-1.8.0\lib\xercesImpl.jar;D:\SYS\apache-ant-1.8.0\lib\xml-apis.jar;D:\SYS\JAVA\jdk1.6.0_21\lib\tools.jar'
    [wlst] 'weblogic.management.scripting.WLSTInterpreterInvoker'
    [wlst]
    [wlst] The ' characters around the executable and arguments are
    [wlst] not part of the command.
    [wlst] Using input " "
    Execute:Java13CommandLauncher: Executing 'D:\SYS\JAVA\jdk1.6.0_21\jre\bin\java.exe' with arguments:
    '-Ddebug=false'
    '-DfailOnError=true'
    '-DexecuteScriptBeforeFile=true'
    '-DscriptTempFile=C:\Users\Administrator\AppData\Local\Temp\2\wlsttempfile214271013.py'
    '-classpath'
    'D:\SYS\apache-ant-1.8.0\lib\ant-launcher.jar;D:\SYS\apache-ant-1.8.0\lib\ant-antlr.jar;D:\SYS\apache-ant-1.8.0\lib\ant-apache-bcel.jar;D:\SYS\apache-ant-1.8.0\lib\ant-apache-bsf.jar;D:\SYS\apache-ant-1.8.0\lib\ant-apache-log4j.jar;D:\SYS\apache-ant-1.8.0\lib\ant-apache-oro.jar;D:\SYS\apache-ant-1.8.0\lib\ant-apache-regexp.jar;D:\SYS\apache-ant-1.8.0\lib\ant-apache-resolver.jar;D:\SYS\apache-ant-1.8.0\lib\ant-apache-xalan2.jar;D:\SYS\apache-ant-1.8.0\lib\ant-commons-logging.jar;D:\SYS\apache-ant-1.8.0\lib\ant-commons-net.jar;D:\SYS\apache-ant-1.8.0\lib\ant-jai.jar;D:\SYS\apache-ant-1.8.0\lib\ant-javamail.jar;D:\SYS\apache-ant-1.8.0\lib\ant-jdepend.jar;D:\SYS\apache-ant-1.8.0\lib\ant-jmf.jar;D:\SYS\apache-ant-1.8.0\lib\ant-jsch.jar;D:\SYS\apache-ant-1.8.0\lib\ant-junit.jar;D:\SYS\apache-ant-1.8.0\lib\ant-netrexx.jar;D:\SYS\apache-ant-1.8.0\lib\ant-nodeps.jar;D:\SYS\apache-ant-1.8.0\lib\ant-stylebook.jar;D:\SYS\apache-ant-1.8.0\lib\ant-swing.jar;D:\SYS\apache-ant-1.8.0\lib\ant-testutil.jar;D:\SYS\apache-ant-1.8.0\lib\ant-trax.jar;D:\SYS\apache-ant-1.8.0\lib\ant.jar;D:\SYS\apache-ant-1.8.0\lib\xercesImpl.jar;D:\SYS\apache-ant-1.8.0\lib\xml-apis.jar;D:\SYS\JAVA\jdk1.6.0_21\lib\tools.jar'
    'weblogic.management.scripting.WLSTInterpreterInvoker'
    The ' characters around the executable and arguments are
    not part of the command.
    [wlst] java.lang.NoClassDefFoundError: weblogic/management/scripting/WLSTInterpreterInvoker
    [wlst] Caused by: java.lang.ClassNotFoundException: weblogic.management.scripting.WLSTInterpreterInvoker
    [wlst] at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    [wlst] at java.security.AccessController.doPrivileged(Native Method)
    [wlst] at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    [wlst] at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    [wlst] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    [wlst] at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    [wlst] Could not find the main class: weblogic.management.scripting.WLSTInterpreterInvoker. Program will exit.
    [wlst] Exception in thread "main"

Maybe you are looking for

  • How to make powermac G4 400GHz faster and run smoother.

    I really want to make my Power Mac G4 much faster and run smoother, can someone help me do this. P.S. I'm running mac OS X 10.4.11 and I'm trying to install mac OS X 10.6 snow leopard will upgrading my OS help improve performance.

  • Application import problems with current apex on 11.1.0.7 and 11.1.0.6

    Hello, i have Application Express 3.2.1.00.10 up and running so far. 11.1.0.7 patch is applied. I can't import an recently exported application with apex. error: The requested URL /apex/wwv_flow.accept was not found on this server. If i try to copy t

  • How to execute contain operation in sequences?

    Hi,I am confused about sequences,it seems java.util.Collection more convenient,so why need sequences. and how can I do a contain operation on sequences?if use indexof operator,how to determin object equals?how to implements equals method in javafx ob

  • Clone Stamp Tool only white... help troubleshoot?

    I'm a fairly beginner Photoshop user in CS5. I'm sampling a background copy and working in that layer only - whatever I choose to clone stamp, I get only white. Well aware that this is very likely user error and I have likely accidentally changed a s

  • Workflow activation error

    Hi guys, There is an existing workflow, I made some changes to it in the very top part. while activating the workflow: I am getting the 98 warning and 4 errors. warnings: 'The node violates the block structure required'. error:        'End node for b