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

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 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

  • 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

  • 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

  • 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

  • N97 Bugs ant problems...

    Dear forum members...
    I have been used N97 RM505 for couple of months.
    I bought it brand new with 3 generations old fw.
    My problems with the phone started then! Very disappointing and embarrassing for Nokia, to be honest.
    Since I consider myself  "power user", I have never had smartphone  or  pocket PC so I could use it as phone or music player. I have always wanted to use phone as mobile computer so I aimed hi-tech products (7-8 years ago)  from manufacturers like HTC, HP...half year ago I fell in love with Nokia E71 smartphone, and that was my first Symbian powered gadget. I was very interested in how  "symbians" do it. And I was surprised how it worked. But, I wanted more. I gave E71 as present and decided to go for N97, flagship Nokia device.
    And then, problems started to show up...
    3 FW updates from that moment, and problems I have with this...device..do not disappear!
    Same things happen all over again!
    I read about particular issues and there are many of them, that's for sure.
    My problem is simple: I have all of them!
    Main camera works from time to time, after I answer the call I cant unlock the phone, freezes during boot sequence, left side of display in landscape mode dissapears, phone "kind of soft-restarts" every day or two and after that I have to reconfigure my email settings all over again, speed dial and favorite contacts lose pictures, contacts or group assigned ringtones mess up...
    Phone has to be rebooted using "battery-pulled-out" method at least 3 times a day!
    Tried everything: formatting, reinstalling device's FW, hard-resetting, FW upgrading...
    Every time I format memory or hard-reset the phone i hope that will be last time!
    But, nothing happens. Phone works well for a couple of hours. Phone call and it gets stuck, and i start all over again...when I come home.
    I work as industrial automation software developer and, believe me, i know what "faulty device" means.
    I know Nokia's origins, and I know that Finland is cradle of mobile communications, I have visited couple of companies in Finland that produce very reliable digital radio devices and I am familiar how professional they are up there...Every bug I have found in devices produced and developed in Finland was reported and problems were solved in couple of weeks or so! This does not fit in my experience with Nokia. E71 is outstanding device. I am sorry because I switched it for this "flagship phone" or, even worse, "mobile computer".
    Bottom line:
    Phone is not reliable, especially if you want to use it as multipurpose device!
    Calling this device  "Nokia flagship phone" is very wrong.
    I am gonna wait for couple of weeks for new FW since it is not still available for rm505 officially, and after that I'll do something bad with this phone.
    Technical support in my country is more than "unprofessional" and problem solving does not consist of turning off and turning on the phone or continuous reinstalling FW, as they do it.
    My Question: Anything similar happened to anybody, and what I should do?
    Thanks for advices. Forget technical support or local repair centre.
    Cheers!

    Yeah...
    Thanks for the tips, carman58. I have already managed to try all different combinations and procedures for getting my phone to work including your recommendations.
    As I told you before...after formatting E-drive, reinstalling phone software and hard resetting things went pretty well...until something happens. Week or two...day or two of heavy usage and I can't unlock device after phone call...Or main camera fails. Or, sometimes I just can't turn it on. White screen and stuff like that. 3-4 days before I decided to post on this forum I conducted procedure similar to the one recommended by carman58. I tried to conclude "critical amount of free space on C drive" that affects phone's stability. Phone works well (but I want it to work better than that) with 40-50 MB of free space on C drive. Anything below that level does not guarantee your phone will work well. Memory allocation may be the key...Not my job, just trying to conclude something logical.
    I am not fan of third party software that watches RAM or CPU usage...Bad experience with Windows mobile devices, but I'll try to see somehow  if there's not enough memory when s**t happen.
    And, yes...There are some apps that definitely do not free allocated memory after program is closed or even crashed. I am not going to name these apps, just want to know forum members experience with remote desktop management software compatible with N97. Hahaha!...In ths very moment I found out that my phone is not charging although it is connected to  the charger! Never mind...Maybe notification does not work.
    Is there Nokia's official explanation for problems with N97? They can't deny problems. I mean, if you are not heavy user, or power-user....whatever....maybe you won't have problems we are dealing with?
    And then, what's the point of 400MHz cpu clock, and great amount of RAM? It is there so we can watch video clips, take pictures, or surf the web? Yes but not all of that at the same time...
    Multitasking is what devices like N97 should eat for lunch, if you know what I mean. Memory management should not be like this...3rd party apps for monitoring and flushing RAM. No way.
    I know how hard it is to develop device that has all of these functions N97 has. So many hardware modules in such small housing, powered by such small power source...That's hell of a job!
    If it is true, then my device should still have "beta" somewhere around "N97". I am not going to mention how much money N97 costs...
    Bugs antS problems...

  • 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"

  • Oracle Forms Designer has encountered a problem need to close

    Hi,
    When I try to connect Oracle 11g Database(Release 1) through Oracle Forms 6i, I get the following error
    *" Oracle Forms Designer has encountered a problem need to close.We are sorry for inconvenience "*
    Kindly help me out with a solution.
    With Regards,
    Abul

    See Implementing Chinese language in Oracle 11g

  • When I make my computer to sleep after a few hour it will light up again and say that The mac have a problem need to be shut down

    I don't know why wne I put my mac to sleep it will light up it self after a few hour and say that the mac have a problem needs to be shut down, does anyone know why?

    Sounds like it's experiencing a kernel panic. Post the latest report. See
    About kernel panics,
    Technical Note TN2063: Understanding and Debugging Kernel Panics,
    Mac OS X Kernel Panic FAQ,
    Resolving Kernel Panics, and
    Tutorial: Avoiding and eliminating Kernel panics for more details.

  • 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.

  • 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.
    %

  • Apex install on 10.2 - Needed Apache having problems starting

    Hi,
    I am trying to get Apex running on a 10.2 database (Linux 64). To do so I need a webserver so I downloaded
    the companion and installed. During the install I was asked to place into a new Oracle home so I did so. After the install I have been unable to start the HTTP Server. I've searched and saw that some people hav ehad issues with ports so I have tried modifying them with no success. The logs under opmn haven't been very helpful. I'm starting to wonder if the new Oracle Home may be involved.
    Any idea on what might be wrong or where I can get additional information would be appreciated.
    Thanks

    Here are the last several lines of the Apache error log:
    [Fri May 13 12:03:07 2011] [notice] Oracle-Application-Server-10g/10.1.2.0.0 Oracle-HTTP-Server configured -- resuming normal operations
    [Fri May 13 12:03:07 2011] [notice] Accept mutex: fcntl (Default: sysvsem)
    [Fri May 13 12:04:06 2011] [error] [client 10.10.2.146] [ecid: 1305302646:10.10.2.26:20001:0:4,0] File does not exist: /u01/app/oracle/oracle/product/10.2.0/apex_1/Apache/Apache/htdocs/apex
    [Fri May 13 12:07:31 2011] [notice] FastCGI: process manager initialized (pid 20060)
    [Fri May 13 12:07:32 2011] [notice] Oracle-Application-Server-10g/10.1.2.0.0 Oracle-HTTP-Server configured -- resuming normal operations
    [Fri May 13 12:07:32 2011] [notice] Accept mutex: fcntl (Default: sysvsem)
    [Fri May 13 12:31:48 2011] [notice] FastCGI: process manager initialized (pid 20306)
    [Fri May 13 12:31:49 2011] [notice] Oracle-Application-Server-10g/10.1.2.0.0 Oracle-HTTP-Server configured -- resuming normal operations
    [Fri May 13 12:31:49 2011] [notice] Accept mutex: fcntl (Default: sysvsem)
    I also noticed several files in the /u01/app/oracle/product/10.2.0/apex_1/Apache/Apache/logs directory:
    -rw------- 1 oracle oinstall 0 May 13 13:12 mm.20782.sem
    -rw------- 1 oracle oinstall 1060864 May 13 13:12 mm.20782.mem
    -rw------- 1 oracle oinstall 0 May 13 13:25 mm.21323.sem
    -rw------- 1 oracle oinstall 1060864 May 13 13:25 mm.21323.mem
    -rw------- 1 oracle oinstall 0 May 13 13:25 mm.21326.sem
    -rw------- 1 oracle oinstall 1060864 May 13 13:25 mm.21326.mem
    -rw------- 1 oracle oinstall 0 May 13 13:35 mm.21491.sem
    -rw------- 1 oracle oinstall 1060864 May 13 13:35 mm.21491.mem
    -rw------- 1 oracle oinstall 0 May 13 13:35 mm.21492.sem
    -rw------- 1 oracle oinstall 1060864 May 13 13:35 mm.21492.mem

  • Error while deploying an apache ant script in Jdeveloper for webcenterspace

    Hi,
    I am trying to deploy the ExtendWebCenterSpaces project in Jdeveloper. I right clicked the build.xml -> Run Ant Target -> clean stage. This was successful. However, when I right-click build.xml -> Run Ant Target -> deploy-shared-lib, I get the following error:
    BUILD FAILED
    weblogic.security.internal.encryption.EncryptionServiceException: weblogic.security.internal.encryption.EncryptionServiceException: weblogic.security.internal.encryption.EncryptionServiceException: [Security:090219]Error decrypting Secret Key java.lang.SecurityException: The provider self-integrity check failed.
         at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.<init>(JSafeEncryptionServiceImpl.java:341)
         at weblogic.security.internal.encryption.JSafeEncryptionServiceFactory.getEncryptionService(JSafeEncryptionServiceFactory.java:48)
         at weblogic.security.UserConfigFileManager.initEncryptionRead(UserConfigFileManager.java:689)
         at weblogic.security.UserConfigFileManager.getUsernameAndPassword(UserConfigFileManager.java:171)
         at weblogic.deploy.utils.MBeanHomeTool.processUsernameAndPassword(MBeanHomeTool.java:411)
         at weblogic.deploy.api.tools.deployer.Jsr88Operation.connect(Jsr88Operation.java:295)
         at weblogic.deploy.api.tools.deployer.Deployer.perform(Deployer.java:137)
         at weblogic.deploy.api.tools.deployer.Deployer.runBody(Deployer.java:88)
         at weblogic.utils.compiler.Tool.run(Tool.java:158)
         at weblogic.utils.compiler.Tool.run(Tool.java:115)
         at weblogic.Deployer.run(Deployer.java:70)
         at weblogic.Deployer.mainWithExceptions(Deployer.java:62)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at weblogic.ant.taskdefs.management.WLDeploy.invokeMain(WLDeploy.java:419)
         at weblogic.ant.taskdefs.management.WLDeploy.execute(WLDeploy.java:349)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
         at org.apache.tools.ant.Task.perform(Task.java:348)
         at org.apache.tools.ant.Target.execute(Target.java:357)
         at org.apache.tools.ant.Target.performTasks(Target.java:385)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
         at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
         at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
         at org.apache.tools.ant.Main.runBuild(Main.java:758)
         at org.apache.tools.ant.Main.startAnt(Main.java:217)
         at org.apache.tools.ant.Main.start(Main.java:179)
         at org.apache.tools.ant.Main.main(Main.java:268)
    Caused by: weblogic.security.internal.encryption.EncryptionServiceException: weblogic.security.internal.encryption.EncryptionServiceException: [Security:090219]Error decrypting Secret Key java.lang.SecurityException: The provider self-integrity check failed.
         at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.createCiphers(JSafeEncryptionServiceImpl.java:420)
         at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.create3DESKeyContext(JSafeEncryptionServiceImpl.java:359)
         at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.<init>(JSafeEncryptionServiceImpl.java:331)
         ... 34 more
    Caused by: weblogic.security.internal.encryption.EncryptionServiceException: [Security:090219]Error decrypting Secret Key java.lang.SecurityException: The provider self-integrity check failed.
         at weblogic.security.internal.encryption.JSafeSecretKeyEncryptor.decryptSecretKey(JSafeSecretKeyEncryptor.java:116)
         at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.createCiphers(JSafeEncryptionServiceImpl.java:395)
         ... 36 more
    Total time: 7 seconds
    Has anyone got any idea how to solve this?
    Thanks,
    C

    --> some error on posting please refer to the next post...
    From the error logs we can trace it out to the web project's Build.xml file ....I was getting a similar error and by commenting out the following lines in the web project's Build.xml I am able to run the build script correctly and get a EAR file. The lines are
    <!--
    <assemble
    moduleDir="${generated.module.root}"
    moduleName="${project.name}"
    srcOutputDir="${assembly.src}"
    appRootDir="${ear.root}">
    <assemblyContext factory="org.apache.beehive.controls.runtime.assembly.WebAppAssemblyContext$Factory" />
    <assemblyContext factory="org.apache.beehive.controls.runtime.assembly.AppAssemblyContext$Factory" />
    <classpath refid="assembly.classpath" />
    <fileset dir="${project.dir}">
    <include name="**/*.controls.properties" />
    </fileset>
    </assemble>
         -->
    Please check it now, also if any one can let us know the function or role played by the above lines it would be great. Also if there would be any future or unseen problems by commenting out these lines please do let us know...
    Thanks
    -MiM
    Edited by prodigymonish83 at 10/22/2007 5:56 AM

Maybe you are looking for

  • Report from SAP Query due by universe

    Guys, I create universe based on SAP Query. Now I want to build BO report. So I connect a Universe drag to window my objects, but when I push Run Query I receive error: A database error ocured. The database error text is: The MDX query SELECT  { [Mea

  • Webutil and XP

    Hi, We have a form in which we use the call web.show_document(l_url, '_blank'), where l_url is a location of an html file on a local pc. Then in a seperate browser the html file is shown.This works fine for our application. Now some users are migrate

  • Can bluetooth 1.7 in my PowerBook G4 sync with IPhones bluetooth 2.0?

    I'm about to purchase an IPhone and does anyone know if I can sync my older PowerBook G4 with bluetooth ver. 1.7 with the Iphones ver. 2.0? Or would it be better to use a plugin antennae to go wireless with AT&T. If so....what are the specifics for t

  • CUP 5.3, Risk test of all roles in a Composite Role - possible?

    We want to use a Function (Dummy) Role in CUP, that shall have Composite Roles connected in CUP. But when I do this - I only see the composite role when I make a SoD / Risk check in my cup WF. Can I somehow also check the single roles in the composit

  • --- "Professionals" couldn't help me.  Maybe you can.

    I have an image (both photo and video) in my timeline.  I need to have a circle or arrow in those images drawing attention to certain things on the screen.  I use the regular shapes generator from FCPX, do my tweaks and place the circles/arrows in th