Running Ant file - build.xml from JDev

hi all
I have created simple BPEL project. I'm using JDev 10.1.3.1.0
& SOA suite 10.1.3.1.0 . If I deploy my BPEL process using deployment utility
of JDev then it gets deployed well on localhost:8888 .
But If I run build.xml Ant file from JDev then it complies properly but it tries to deploy on[b] localhost:9700. If I run same Ant file from Developer prompt then it again BPEL gets deployed properly on localhost:8888.
It means JDev is overwriting some properties values.
Does any one aware of this.?
thanks
/patel

Hi Patel,
Have a look here:
http://www.it-eye.nl/weblog/2007/02/16/customizing-bpel-process-deployement-with-ant-165-in-jdeveloper/
Maybe it will helpp you out!
Regards,
Tom

Similar Messages

  • Errror while Running the ant file(build.xml) when applying B2B-BPEL patch

    Hello all,
    I am trying to apply the B2B WSIL Browser patch and while running the ant file i got the following warning while backing out d3l.jar file
    echo Backing out dl3l.jar to avoid conflicts with B2B...
    move *Warning: Could not find file C:\product\1013~1.1\ORACLE~1\bpel\samples\tmp\B2B-BPEL\${env.ORACLE_HOME}\xqs\lib\d3l.jar to copy.*
    and the following error when it was not able to find admin_client.jar file
    *java Unable to access jarfile C:\product\1013~1.1\ORACLE~1\bpel\samples\tmp\B2B-BPEL\${env.ORACLE_HOME}\j2ee\home\admin_client.jar*
    java Java Result: 1
    echo Binding B2B WSIL Browser...
    *java Unable to access jarfile C:\product\1013~1.1\ORACLE~1\bpel\samples\tmp\B2B-BPEL\${env.ORACLE_HOME}\j2ee\home\admin_client.jar*
    and the BUILD FAILED
    *so i created the necessary folders in the newly generated folder manually in ${env.ORACLE_HOME} i.e xqs\lib & j2ee\home and pasted the d3l.jar and admin_client.jar in these folders respectively,and again ran the ant file,this time the error is first problem is cleared i.e it is not showing the warning that it could not find* d3l.jar_+ file and it is also converting this file as d3l.jar.hide_+ *, but this time in the place of second error a new error is generated i.e* +
    Problem_
    C:\product\1013~1.1\ORACLE~1\bpel\samples\tmp\B2B-BPEL>ant
    Buildfile: build.xml
    apply-b2b-bpel-10.1.3:
    echo Prompting for B2B repository connection parameters...
    input Please enter B2B repository hostname [http://127.0.0.1:] [http://127.0.0.1]
    172.17.4.14
    input Please enter B2B repository port 1521: 1521
    1521
    input Please enter B2B repository sid ORCL: ORCL
    orcl
    input Please enter B2B password b2b: b2b
    b2b
    input Please enter oc4j instance name home: home
    home
    input Please enter oc4j admin password welcome1: welcome1
    welcome1
    input Please enter opmn request port 6003: 6003
    6003
    echo Copying b2b.jar and tip.properties to appropriate locations...
    copy Copying 1 file to C:\product\1013~1.1\ORACLE~1\bpel\samples\tmp\B2B-BPEL\${env.ORACLE_HOME}\lib
    copy Copying 1 file to C:\product\1013~1.1\ORACLE~1\bpel\samples\tmp\B2B-BPEL\${env.OB_HOME}\system\classes
    echo Backing out dl3l.jar to avoid conflicts with B2B...
    move Moving 1 file to C:\product\1013~1.1\ORACLE~1\bpel\samples\tmp\B2B-BPEL\${env.ORACLE_HOME}\xqs\lib
    echo Deploying B2B WSIL Browser ...
    echo OPMN Port is : 6003
    echo Container is : home
    echo Host is : ${env.HOSTNAME}
    echo iasadminpassword is : welcome1
    java java.lang.NoClassDefFoundError: oracle/oc4j/admin/deploy/cmdline/Oc4jAdminCmdline
    java Exception in thread "main"
    java Java Result: 1
    echo Binding B2B WSIL Browser...
    java java.lang.NoClassDefFoundError: oracle/oc4j/admin/deploy/cmdline/Oc4jAdminCmdline
    java Exception in thread "main"
    BUILD FAILED
    C:\product\1013~1.1\ORACLE~1\bpel\samples\tmp\B2B-BPEL\build.xml:88: The following error occurred while executing this line:
    C:\product\1013~1.1\ORACLE~1\bpel\samples\tmp\B2B-BPEL\build.xml:49: Java returned: 1
    Total time: 31 seconds
    C:\product\1013~1.1\ORACLE~1\bpel\samples\tmp\B2B-BPEL>
    i have set the classpath for the jdk and jre files correctly and also checked it with a sample program and the file is compiling and running with correct output.then why is it showing up java.lang.NoClassDefFoundError exception.Did anyone face the same problem or have a solution for this problem if they have then plzzz help me
    thnx
    Sunny
    Edited by: sunny kay on Jan 27, 2009 4:14 AM

    Hello sri,
    Thanks for your response as you have told i have set the ORACLE_HOME = C:\product\10.1.3.1\OracleAS_1
    and added C:\product\10.1.3.1\OracleAS_1\bin to my sys path
    and i have also set the JAVA_HOME=C:\product\10.1.3.1\OracleAS_1\jdk
    and added C:\product\10.1.3.1\OracleAS_1\jdk\bin to my sys path
    and ran the patch,now its coming up with a different problem after entering the B2B repository connection parameters...
    and it is
    Problem_
    echo Deploying B2B WSIL Browser ...
    echo OPMN Port is : 6003
    echo Container is : home
    echo Host is : ${env.HOSTNAME}
    echo iasadminpassword is : welcome1
    java
    java
    java Failed at "Could not get DeploymentManager".
    java
    java This is typically the result of an invalid deployer URI format being
    supplied, the target server not being in a started state or incorrect authentic
    ation details being supplied.
    java
    java More information is available by enabling logging -- please see the
    Oracle Containers for J2EE Configuration and Administration Guide for details.
    java
    java
    java Java Result: 1
    echo Binding B2B WSIL Browser...
    java
    java
    java Failed at "Could not get DeploymentManager".
    java
    java This is typically the result of an invalid deployer URI format being
    supplied, the target server not being in a started state or incorrect authentic
    ation details being supplied.
    java
    java More information is available by enabling logging -- please see the
    Oracle Containers for J2EE Configuration and Administration Guide for details.
    java
    java
    BUILD FAILED
    The Application Server is in the started state and these are the details that i have entered when B2B Repository Connection Parameters is prompeted
    echo Prompting for B2B repository connection parameters...
    input Please enter B2B repository hostname [http://127.0.0.1]: [http://127.0.0.1]
    172.17.4.14
    input Please enter B2B repository port [1521|http://forums.oracle.com/forums/]: [1521|http://forums.oracle.com/forums/]
    1521
    input Please enter B2B repository sid ORCL: ORCL
    orcl
    input Please enter B2B password [b2b|http://forums.oracle.com/forums/]: [b2b|http://forums.oracle.com/forums/]
    b2b
    input Please enter oc4j instance name home: home
    home
    input Please enter oc4j admin password [welcome1|http://forums.oracle.com/forums/]: [welcome1|http://forums.oracle.com/forums/]
    welcome1
    input Please enter opmn request port [6003|http://forums.oracle.com/forums/]: [6003|http://forums.oracle.com/forums/]
    6003
    is anything wrong in this i have tried by giving the default host name instead of mine but result is still the same.what is the problem can you figure it out and provide me a solution.
    thnx
    Sunny

  • Can't invoke allaire.ejipt.tools.Deploy frm Ant using build.xml

    This is a question to everyone.
    If you know the answer please let us know and the entire community will be grateful. If u have used JRun well and good, if not and u are using any other J2EE server, and u use Ant in conjunction to build ur application, then u must know the answer. I don't as I'm pretty new to Ant.
    I'm trying to build an ant script/ build.xml that might work with Eclipse or simlar ide, the purpose is to compile and deply the Ejbs. The following is what I have got, see attcahed code
    Now, see, I have defined the follwing in my ant script that is included at the bottom.
    <property name="JRUN_HOME" location="C:/JRun"></property>
    <property name="distroot" location="${JRUN_HOME}/servers/default"></property>
    <property name="deploy_dir" location="${distroot}/deploy"></property>
    <property name="deploy_jvm" location="C:/java/jre/1.3.1/bin/java"/>
    <property name="deploy_tool" location="allaire.ejipt.tools.Deploy"/>But then, this is the Deploy task:
    <target name="Deploy" depends="Initialize, Compile, Jar, Dist">
    <echo message="About to deploy ${jarfile} in ${deploy_dir} using ${deploy_jvm}..."/>
    <java fork="true" classpathref="classpath" classname="${deploy_tool}" dir="${deploy_dir}" jvm="${deploy_jvm}">
    <jvmarg value="-Djava.security.policy=${JRUN_HOME}/lib/jrun.policy"/>
    <jvmarg value="-Dejipt.home=${JRUN_HOME}"/>
    </java>
    <echo message="DEPLOY SUCCESSFULY COMPLETED..."/>
    </target>But, when i run the script using ant - all other tasks are successfull apart from the Deploy and this is what I get:
    Deploy:
    [echo] About to deploy H:\lib\mtrack_ant.jar in C:\JRun\servers\default\deploy using C:\java\jre\1.3.1\bin\java...
    [java] java.lang.NoClassDefFoundError: H:\eclipse\workspace\AdvancedLab\allaire/ejipt/tools/Deploy
    [java] Exception in thread "main"
    [java] Java Result: 1
    [echo] DEPLOY SUCCESSFULY COMPLETED...Hence, my problem is java.lang.NoClassDefFoundError: H:\eclipse\workspace\AdvancedLab\allaire/ejipt/tools/Deploy. Some how I cannot find out how to tell the java task to use allaire.ejipt.tools.Deploy to deploy the jar file thats alreday be copied to the deploy directory.
    And off course the message is correct that 'java.lang.NoClassDefFoundError: H:\eclipse\workspace\AdvancedLab\allaire/ejipt/tools/Deploy' - because there isn't any allaire/ejipt/tools/Deploy in my home directory. This class is in the ejipt.jar which is in the ${jrun-jardir} which I have mentioned in the Deploy task, but it still doesnt work
    This is very intersting - looking forward to any response.
    Regards
    Pratim
    Attached is the entire build.xml file:
    <?xml version="1.0" encoding = "UTF-8"?>
    <project name="IAPS" default="Build IAPS with JDK1.4.2" basedir=".">
        <property name="bin" location="H:/classes2"/>
        <property name="src" location="H:/src"/>
        <property name="jardir" location="H:/lib"/>
        <property name="jarfile" location="${jardir}/mtrack.jar"/>
         <property name="JRUN_HOME" location="C:/JRun"></property>
        <property name="jrun-jardir" location="${JRUN_HOME}/lib"/>
         <property name="distroot" location="${JRUN_HOME}/servers/default"></property>
         <property name="deploy_dir" location="${distroot}/deploy"></property>
         <property name="deploy_jvm" location="C:/java/jre/1.3.1/bin/java"/>     
         <property name="deploy_tool" location="allaire.ejipt.tools.Deploy"/>     
        <target name="Build IAPS with JDK1.4.2" depends="Initialize, Jar, Dist, Deploy">
            <echo message="Ant at work for building RSSd library on PD's laptop!"/>
        </target>
         <target name="Initialize">      
             <echo message="Removing classes and logs..."/>
                 <delete>
                   <fileset dir="${bin}">
                       <include name="**/*.class"/>
                        <exclude name="**/*.dll"/>
                   </fileset>
                 </delete>
                 <delete>
                   <fileset dir="H:/">
                       <include name="**/*.log"/>
                   </fileset>
              </delete>
                 <mkdir dir="${bin}"/>
         </target>
         <path id="classpath">
              <pathelement location="${bin}"/>
              <fileset dir="${jardir}">
                   <include name="**/*.jar"/>
              </fileset>
              <fileset dir="${jardir}/ext">
                   <include name="**/*.jar"/>
              </fileset>          
              <fileset dir="${jrun-jardir}">
                   <include name="**/*.jar"/>
              </fileset>     
         </path>
         <target name="Compile" depends="Initialize">
              <echo message="Starting compiling..."/>
              <javac srcdir="${src}"
                   destdir="${bin}"
                    classpathref="classpath"
                   debug="on"
              />          
              <echo message="Compilation complete..."/>
        </target> 
        <target name="Jar" depends="Compile">
              <echo message="Staring jar..."/>
             <jar destfile="${jarfile}" basedir="${bin}"/>
              <echo message="Jar complete..."/>
        </target>
         <target name="Dist" depends="Initialize, Compile, Jar">     
              <echo message="Copying files to the different distributions..."/>
              <copy file="${jarfile}" todir="${deploy_dir}" />          
              <echo message="Copying complete..."/>
              <echo message="BUILD SUCCESSFULY COMPLETED..."/>
         </target>
         <target name="Deploy" depends="Initialize, Compile, Jar, Dist">     
              <echo message="About to deploy ${jarfile} in ${deploy_dir} using ${deploy_jvm}..."/>
              <java fork="true"
                   jvm="${deploy_jvm}"
                   dir="${deploy_dir}"               
                   classpath="${jrun-jardir}/**/*.jar"
                   classname="${deploy_tool}" >
                   <jvmarg value="-Djava.security.policy=${JRUN_HOME}/lib/jrun.policy"/>
                   <jvmarg value="-Dejipt.home=${JRUN_HOME}"/>
              </java>
              <echo message="DEPLOY SUCCESSFULY COMPLETED..."/>
         </target>     
    </project>

    This is a question to everyone.
    If you know the answer please let us know and the entire community will be grateful. If u have used JRun well and good, if not and u are using any other J2EE server, and u use Ant in conjunction to build ur application, then u must know the answer. I don't as I'm pretty new to Ant.
    I'm trying to build an ant script/ build.xml that might work with Eclipse or simlar ide, the purpose is to compile and deply the Ejbs. The following is what I have got, see attcahed code
    Now, see, I have defined the follwing in my ant script that is included at the bottom.
    <property name="JRUN_HOME" location="C:/JRun"></property>
    <property name="distroot" location="${JRUN_HOME}/servers/default"></property>
    <property name="deploy_dir" location="${distroot}/deploy"></property>
    <property name="deploy_jvm" location="C:/java/jre/1.3.1/bin/java"/>
    <property name="deploy_tool" location="allaire.ejipt.tools.Deploy"/>But then, this is the Deploy task:
    <target name="Deploy" depends="Initialize, Compile, Jar, Dist">
    <echo message="About to deploy ${jarfile} in ${deploy_dir} using ${deploy_jvm}..."/>
    <java fork="true" classpathref="classpath" classname="${deploy_tool}" dir="${deploy_dir}" jvm="${deploy_jvm}">
    <jvmarg value="-Djava.security.policy=${JRUN_HOME}/lib/jrun.policy"/>
    <jvmarg value="-Dejipt.home=${JRUN_HOME}"/>
    </java>
    <echo message="DEPLOY SUCCESSFULY COMPLETED..."/>
    </target>But, when i run the script using ant - all other tasks are successfull apart from the Deploy and this is what I get:
    Deploy:
    [echo] About to deploy H:\lib\mtrack_ant.jar in C:\JRun\servers\default\deploy using C:\java\jre\1.3.1\bin\java...
    [java] java.lang.NoClassDefFoundError: H:\eclipse\workspace\AdvancedLab\allaire/ejipt/tools/Deploy
    [java] Exception in thread "main"
    [java] Java Result: 1
    [echo] DEPLOY SUCCESSFULY COMPLETED...Hence, my problem is java.lang.NoClassDefFoundError: H:\eclipse\workspace\AdvancedLab\allaire/ejipt/tools/Deploy. Some how I cannot find out how to tell the java task to use allaire.ejipt.tools.Deploy to deploy the jar file thats alreday be copied to the deploy directory.
    And off course the message is correct that 'java.lang.NoClassDefFoundError: H:\eclipse\workspace\AdvancedLab\allaire/ejipt/tools/Deploy' - because there isn't any allaire/ejipt/tools/Deploy in my home directory. This class is in the ejipt.jar which is in the ${jrun-jardir} which I have mentioned in the Deploy task, but it still doesnt work
    This is very intersting - looking forward to any response.
    Regards
    Pratim
    Attached is the entire build.xml file:
    <?xml version="1.0" encoding = "UTF-8"?>
    <project name="IAPS" default="Build IAPS with JDK1.4.2" basedir=".">
        <property name="bin" location="H:/classes2"/>
        <property name="src" location="H:/src"/>
        <property name="jardir" location="H:/lib"/>
        <property name="jarfile" location="${jardir}/mtrack.jar"/>
         <property name="JRUN_HOME" location="C:/JRun"></property>
        <property name="jrun-jardir" location="${JRUN_HOME}/lib"/>
         <property name="distroot" location="${JRUN_HOME}/servers/default"></property>
         <property name="deploy_dir" location="${distroot}/deploy"></property>
         <property name="deploy_jvm" location="C:/java/jre/1.3.1/bin/java"/>     
         <property name="deploy_tool" location="allaire.ejipt.tools.Deploy"/>     
        <target name="Build IAPS with JDK1.4.2" depends="Initialize, Jar, Dist, Deploy">
            <echo message="Ant at work for building RSSd library on PD's laptop!"/>
        </target>
         <target name="Initialize">      
             <echo message="Removing classes and logs..."/>
                 <delete>
                   <fileset dir="${bin}">
                       <include name="**/*.class"/>
                        <exclude name="**/*.dll"/>
                   </fileset>
                 </delete>
                 <delete>
                   <fileset dir="H:/">
                       <include name="**/*.log"/>
                   </fileset>
              </delete>
                 <mkdir dir="${bin}"/>
         </target>
         <path id="classpath">
              <pathelement location="${bin}"/>
              <fileset dir="${jardir}">
                   <include name="**/*.jar"/>
              </fileset>
              <fileset dir="${jardir}/ext">
                   <include name="**/*.jar"/>
              </fileset>          
              <fileset dir="${jrun-jardir}">
                   <include name="**/*.jar"/>
              </fileset>     
         </path>
         <target name="Compile" depends="Initialize">
              <echo message="Starting compiling..."/>
              <javac srcdir="${src}"
                   destdir="${bin}"
                    classpathref="classpath"
                   debug="on"
              />          
              <echo message="Compilation complete..."/>
        </target> 
        <target name="Jar" depends="Compile">
              <echo message="Staring jar..."/>
             <jar destfile="${jarfile}" basedir="${bin}"/>
              <echo message="Jar complete..."/>
        </target>
         <target name="Dist" depends="Initialize, Compile, Jar">     
              <echo message="Copying files to the different distributions..."/>
              <copy file="${jarfile}" todir="${deploy_dir}" />          
              <echo message="Copying complete..."/>
              <echo message="BUILD SUCCESSFULY COMPLETED..."/>
         </target>
         <target name="Deploy" depends="Initialize, Compile, Jar, Dist">     
              <echo message="About to deploy ${jarfile} in ${deploy_dir} using ${deploy_jvm}..."/>
              <java fork="true"
                   jvm="${deploy_jvm}"
                   dir="${deploy_dir}"               
                   classpath="${jrun-jardir}/**/*.jar"
                   classname="${deploy_tool}" >
                   <jvmarg value="-Djava.security.policy=${JRUN_HOME}/lib/jrun.policy"/>
                   <jvmarg value="-Dejipt.home=${JRUN_HOME}"/>
              </java>
              <echo message="DEPLOY SUCCESSFULY COMPLETED..."/>
         </target>     
    </project>

  • [svn:bz-4.x] 21287: Merge changes to qa-regress build. xml from changelist 20641 on branches/4.0.0_fixes to branches/4.x.

    Revision: 21287
    Revision: 21287
    Author:   [email protected]
    Date:     2011-05-23 07:37:28 -0700 (Mon, 23 May 2011)
    Log Message:
    Merge changes to qa-regress build.xml from changelist 20641 on branches/4.0.0_fixes to branches/4.x.
    Modified Paths:
        blazeds/branches/4.x/qa/apps/qa-regress/build.xml

    I chroot into workdir. uncommented en_US.UTF-8 in /etc/locale.gen, run locale-gen and now get this inside the chroot.
    [root@dArch2 releng]# chroot work/x86_64/root-image/
    [root@dArch2 /]# locale
    LANG=en_US.UTF-8
    LC_CTYPE="en_US.UTF-8"
    LC_NUMERIC="en_US.UTF-8"
    LC_TIME="en_US.UTF-8"
    LC_COLLATE="en_US.UTF-8"
    LC_MONETARY="en_US.UTF-8"
    LC_MESSAGES="en_US.UTF-8"
    LC_PAPER="en_US.UTF-8"
    LC_NAME="en_US.UTF-8"
    LC_ADDRESS="en_US.UTF-8"
    LC_TELEPHONE="en_US.UTF-8"
    LC_MEASUREMENT="en_US.UTF-8"
    LC_IDENTIFICATION="en_US.UTF-8"
    LC_ALL=
    this looks alright to me. Any more suggestions?
    It's the first time I use a custom-repo and I set it up only for this purpose. So yes, it's up to date and can be used outside the chroot. Also a different package I put from AUR into my custom-repo installs fine and doesn't give this error.
    How else could I test the custom-repo?

  • Building XML from Java

    Hi,
    I would like to know how to include DOC TYPE reference node, when building XML from Java.
    Thanks !!

    SetDocType is available only in JDOM parser. I would like to know is it prossible without that.
    Thanks !!

  • Can ant call a target from my build.xml from another xml file?

    can ant have a target something like this:
    <target mytarget>
    <antcall file="C:\app\build2.xml" targetname="blah">
    </target>
    Is it possible to call a target in my build.xml that will then look in a file called build2.xml and call a target in that xml file?
    Thanks,
    Tad

    I looked at the manual and the site and couldn't find anything, you don't have to tell me the exact xml if
    it bugs you, all I want to know is if it is possible and if it is what task should I use, I will look up
    the attributes and how to do it.Now this really takes the biscuit.
    I gave you a very specific link to the document that tells you which task to use and which arguments to set. Did you check that link? If so, what else do you want? If not, why not?

  • Why not all jars picked up by ojdeloy and how to generate build.xml from command line and not JDEV GUI - quick question

    Hi All
    We have 11.1.1.7 ojdeploy to compile our app.
    We notice in the log that not all jars are used in classpath arguments when we explicitly set them up for compilation.
    eg:
      <path id="classpath">
        <pathelement location="../../Oracle/Middleware/oracle_common/modules/oracle.adf.share_11.1.1/commons-el.jar"/>
        <pathelement location="../../Oracle/Middleware/oracle_common/modules/oracle.adf.share_11.1.1/jsp-el-api.jar"/>
        <pathelement location="../../Oracle/Middleware/oracle_common/modules/oracle.adf.share_11.1.1/oracle-el.jar"/>
        <pathelement location="interface/public_html/WEB-INF/lib/a.jar"/>
        <pathelement location="interface/public_html/WEB-INF/lib/b.jar"/>
        <pathelement location="interface/public_html/WEB-INF/lib/c.jar"/>
        <pathelement location="interface/public_html/WEB-INF/lib/d.jar"/>
    </path>
    Log Output -
    [ora:ojdeploy] /path/to/Oracle/Middleware/jdk160_24/bin/javac
    [ora:ojdeploy] -g
      [ora:ojdeploy] -Xlint:all
      [ora:ojdeploy] -Xlint:-cast
    [ora:ojdeploy] -Xlint:-empty
      [ora:ojdeploy] -Xlint:-fallthrough
      [ora:ojdeploy] -Xlint:-path
      [ora:ojdeploy] -Xlint:-serial
      [ora:ojdeploy] -Xlint:-unchecked
      [ora:ojdeploy] -source 1.6
      [ora:ojdeploy] -target 1.6
      [ora:ojdeploy] -verbose
      [ora:ojdeploy] -encoding Cp1252
      [ora:ojdeploy] -classpath
    [ora:ojdeploy] /path/to/Oracle/Middleware/jdk160_24/jre/lib/resources.jar:
    [ora:ojdeploy] /path/to/Oracle/Middleware/jdk160_24/jre/lib/rt.jar:
      [ora:ojdeploy] /path/to/Oracle/Middleware/jdk160_24/jre/lib/jsse.jar:
        [ora:ojdeploy] /path/to/interface/public_html/WEB-INF/lib/a.jar"/>
        [ora:ojdeploy] /path/to/interface/public_html/WEB-INF/lib/c.jar"/>
    1- Is it because it depends on how jpr or jws are configured ?
    2- How can we automatically generate a build file of the application from command-line (as opposed to using Jdev IDE to click to generate a build.xml) ?

    The first  warning is happening because you're stating drivers for input devices without need. You haven't disabled hotplug so evdev gets used instead of kbd. This is normal, and you should change the driver line from kbd to evdev so that whatever options (if any) you've specified for the keyboard get parsed.
    The second warning is about you not installing acpid.
    The third I have no idea about, but look at the synaptics wiki. None of the (WW) are related to your video card.
    And every card that has 2 or more output ports show up as "two cards". You also don't need to specify the pci port in xorg.conf. edit: this is the general case with laptops, might be different for desktops.
    When I do lspci -v I get:
    00:02.0 VGA compatible controller: Intel Corporation Mobile 945GME Express Integrated Graphics Controller (rev 03) (prog-if 00 [VGA controller])
    Subsystem: Micro-Star International Co., Ltd. Device 0110
    Flags: bus master, fast devsel, latency 0, IRQ 16
    Memory at dfe80000 (32-bit, non-prefetchable) [size=512K]
    I/O ports at d0f0 [size=8]
    Memory at c0000000 (32-bit, prefetchable) [size=256M]
    Memory at dff00000 (32-bit, non-prefetchable) [size=256K]
    Expansion ROM at <unassigned> [disabled]
    Capabilities: <access denied>
    00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
    Subsystem: Micro-Star International Co., Ltd. Device 0110
    Flags: bus master, fast devsel, latency 0
    Memory at dfe00000 (32-bit, non-prefetchable) [size=512K]
    Capabilities: <access denied>
    And it doesn't matter if it errs in trying to sli up with it self. That's just not a possibility.
    Last edited by gog (2009-10-15 23:59:49)

  • Help -- Who has experience with ant and build.xml files ?

    Hi,
    I think my build.xml file is missing setting a classpath I need, but I have never played around with a build.xml file. Could someone help ?
    Thank you.
    Grazia

    A lot of people here use ant. But not all of us can read your mind, and those of us that can are sadistic bastards that like to force people to provide details of their problems just for the hell of it.
    So please do the following:
    * Go through an ant tutorial or other introductory docs, doing an example or two if present.
    * Set up your build.xml according to what you've learned.
    * If it still doesn't work, post the relevant portions of it (hopefully you'll have a small, representative sample that reproduces the problem), along with your relevant directory and file structure, the command you're running, and what error messages you're getting.

  • Building XML from relational data

    I need to create XML documents from relational data that conforms to an XML schema document. We need to store and query the XML documents we create.
    Therefore, we have decided to store the XML using the object model rather than as a CLOB
    i.e. register the schema with the XML DB which in turn creates the tables and object types that represent the schema.
    What is the best way build the XML document from the relational data ??
    Can I pass the relational data to the default constructors of the object types created by the schema registration ?? (and then create an XML document from the top level object instance using SYS_XMLGEN)
    Or should I build the xml from strings using XMLELEMENT,XMLFOREST built-in's when retrieving the data from the relational tables ?? OR use the XMLDOM package to build the document ??
    Would appreciate any advice on the best approach.

    There are basically two ways to join your document fragments with SQLX:
    1/. With xmlForest
    e.g. SELECT XMLELEMENT ( "Emp",XMLForest(e.employee_id, e.lname, e.salary)) AS "result"
    FROM employees e WHERE employee_id > 1500 ;
    result
    <Emp>
    < employee_id >1769</ employee_id >
    < lname >Smith</ lname >
    < salary >200000</ salary >
    </Emp>
    2/. With nested invocations of xmlElement
    e.g. SELECT XMLELEMENT("Emp", XMLELEMENT("name", e.fname ||' '|| e.lname),
    XMLELEMENT ( "hiredate", e.hire)) AS "result"
    FROM employees e WHERE employee_id > 200 ;
    result
    <Emp>
    <name>John Smith</name>
    <hiredate>2000-05-24</hiredate>
    </Emp>
    <Emp>
    <name>Mary Martin</name>
    <hiredate>1996-02-01</hiredate>
    </Emp>

  • Inability to run JavaFX file locally or from web - except....

    I have "successfully" installed Java 6 build 11 yet when I go to javafx.com/samples it says that I have an (0 - unknown) version that doesn't support JavaFX. It re-directs me to Java update site to download the "latest" version. If I let it, it uninstalls Build 11 and then reinstalls Build 11, afterwhich it still doesn't run the any of the JavaFX samples.
    Oddly enough however, if I immediately cancel the re-direct dialog box from within the web browser, the JavaFX sample runs! If I immediately try another sample, the exact same thing happens, dialog box says that the (0-unknown) version doesn't support JavaFX and re-directs to download updated version. Non "FX" Java runs normally. If I try to execute sample with Java Web Start it trys to download the jnlp file rather than run it, and if I try to execute a local JavaFX file it says that it is unable to launch the application.
    It is a Vista Ultimate 32 system with AVG antivirus, Spybot antispyware and Windows firewall. I formerly used Comodo firewall but uninstalled in an effort to fix this problem. I have uninstalled all prior versions of Java, reinstalled version 6 - 11 cleanly, used CCleaner to remove all traces of Comodo within the registry, tried to manually create the file associations from jnlp to javaws.exe, installed and removed the JavaFX 1.0 Production Suite, and lastly reverted to an earlier restore point from within Vista to undo any changes I made while experimenting.
    I have posted all error message screens in order:
    Errors for a JavaFX file that is downloaded and run locally:
    [image 1|http://www.lastrail.net/errors/javafx/1a.jpg] - [image 2|http://www.lastrail.net/errors/javafx/2a.jpg] - [image 3|http://www.lastrail.net/errors/javafx/3a.jpg] - [image 4|http://www.lastrail.net/errors/javafx/4a.jpg]
    Errors for a JavaFX file that is run from a web site:
    [image 5|http://www.lastrail.net/errors/javafx/5a.jpg] - [image 6|http://www.lastrail.net/errors/javafx/6a.jpg] - [image 7|http://www.lastrail.net/errors/javafx/7a.jpg] - [image 8|http://www.lastrail.net/errors/javafx/8a.jpg] - [image 9|http://www.lastrail.net/errors/javafx/9a.jpg]
    Thank you for any help,
    Ron
    Intel D975BX2 MB, Q6600 Quad Core, 4 GB ram, Nvidia 9800 GTX+ 512mb video, IE7 & Firefox 3.0.3.
    **If there is a better forum to seek assistance, please direct me to it - Thank you

    I did'nt like to use JNLP files either. So I have been using a Jar file containing a Java class for only launching a JavaFX application. For example:
    Runtime runtime = Runtime.getRuntime();
    String[] command = {"javafx", "-cp", "Something.jar", "SomeFxApp"};
    File dir = new File(WORK_DIR...);
    Process proc = runtime.exec(command, null, dir);
      :I let it do command line operations.

  • How to run .ksh file in unix from .jsp files

    Hi frnd,
    How to connect unix servers from .jsp file & I want to run unix scripts .ksh files from .jsp files
    Thanku
    bhupathipawan

    It is usually a bad idea to do any major processing directly within a JSP. It is better to create a helper class and invoke methods on that. This helper class can then be tested outside of the inhospitable JSP environment.
    To run the '.ksh' file you will need to use either Runtime.exec() or the more modern ProcessBuilder. You will save yourself a lot of grief if you read thoroughly the 4 sections of http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html and then implement the recommendations.
    Note - although the 'traps' article is written around the use of Runtime.exec(), it's content is equally applicable to ProcessBuilder.

  • Building XML from fragments

    Here's my scenario:
    I have multiple PL/SQL stored functions that return REF CURSORs. Each REF CURSOR contains information to build a portion of an XML document. I want to assemble these XML "fragments" into a DOM object, then apply a stylesheet to the entire object before saving it to a table.
    All of this will be done in Java, and I need to make it efficient (in terms of speed and memory) since the XML document may grow to be very large. What is the best way to go about doing this?
    Right now, I'm able to call getXMLDOM() which returns a complete XML document for each fragment, but what should I do with it now? Does anyone have any suggestions on what my next step should be?

    SetDocType is available only in JDOM parser. I would like to know is it prossible without that.
    Thanks !!

  • Query : JDev + build.xml

    hi all
    I have created one BPEL project in Jdev with that JDev also
    creates build.xml file for compilation & deployment.
    Now If I deploy my BPEL process using JDev Deployer window (Right click on BPEL Project -> Deploy -> BPEL Process Deployer )
    than It compiles BPEL project first then It runs Ant file - build.xml.Now here the my observation is while running build.xml file It will not run compile task - bpelc command . Yes BPEL project is already
    compiled but how JDev will come to know that it should not compile
    BPEL project again. ???
    And another doubt is which JAR file is used to executed "bpelc" command. And we can compile BPEL project from JDev as well as Developer prompt of SOA server so in both cases where this JAR file will be.???
    /M Patel

    I have actually disabled the security for that service. I am thinking the problem is that the LDAP server has some sort of block on web service calls. Could that be the issue? All of my other web services (configured the same exact way) function just fine, and running the query in LiveCycle Workbench works fine. That leads me to believe that something is stopping the WSDL connection.

  • Error running Ant to Test a BPEL process in developer-prompt

    Hi,
    I am trying to start an Ant-script to start a testsuite for a BPEL process. It fails ...
    Im running the defult Ant script (build.xml) from the Developer-prompt. It works fine from within JDeveloper Studio.
    Anyone who can help me??
    Thx
    Norvald
    Error messages:
    [bpeltest] <Line 39, Column 173>: XML-22016: (Error) Extension function namespace should start with 'http://www.oracle.com/XSL/Transform/java/'.
    and
    C:\product\jdevstudio\jdev\mywork\HelloWorld\HelloWorldProcess\build.xml:197: Could not find a valid processor version implementation from oracle.xml.jaxp.JXSAXTransformerFactory
    The complete output from the Ant build (including errors):
    C:\product\jdevstudio\jdev\mywork\HelloWorld\HelloWorldProcess>ant test
    Buildfile: build.xml
    Trying to override old definition of task customize
    prepareTests:
    [echo]
    [echo] --------------------------------------------------------------
    [echo] | Preparing BPEL tests for deployment
    [echo] --------------------------------------------------------------
    [echo]
    [delete] Deleting: C:\product\jdevstudio\jdev\mywork\HelloWorld\HelloWorldPro
    cess\output\bpeltest.zip
    [zip] Building zip: C:\product\jdevstudio\jdev\mywork\HelloWorld\HelloWorl
    dProcess\output\bpeltest.zip
    deployTestSuites:
    [echo]
    [echo] --------------------------------------------------------------
    [echo] | Deploying bpel tests HelloWorldProcess on localhost, port 8888
    [echo] --------------------------------------------------------------
    [echo]
    [deployTestSuites] Deploying C:\product\jdevstudio\jdev\mywork\HelloWorld\HelloW
    orldProcess\output\bpeltest.zip...
    [deployTestSuites] Accesing URL /integration/services/deploy/integration/service
    s/deploy/deployTests.jsp
    [deployTestSuites] status [200] received from server
    [deployTestSuites] wrapped response
    [deployTestSuites] End of the deployment
    [deployTestSuites] bpeltest.zip deployed successfully.
    bpelTest:
    [echo]
    [echo] --------------------------------------------------------------
    [echo] | Executing process HelloWorldProcess(v.1.0): minCoverage=100%, time
    out=90 sec, numWorkers=1
    [echo] --------------------------------------------------------------
    [echo]
    [delete] Deleting directory C:\product\jdevstudio\jdev\mywork\HelloWorld\Hell
    oWorldProcess\test-results\xml\HelloWorldProcess
    [bpeltest] connecting to /integration/services/deploy/xmlRunTests.jsp
    [bpeltest] <Line 39, Column 173>: XML-22016: (Error) Extension function namespa
    ce should start with 'http://www.oracle.com/XSL/Transform/java/'.
    [echo]
    [echo] --------------------------------------------------------------
    [echo] Executed 2 test(s) for HelloWorldProcess (v.1.0) with 0 failure(s)
    [echo] --------------------------------------------------------------
    [echo]
    report:
    [echo]
    [echo] --------------------------------------------------------------
    [echo] Creating BPELTest JUnitReport at C:\product\jdevstudio\jdev\mywork\H
    elloWorld\HelloWorldProcess/test-results\html\index.html
    [echo] --------------------------------------------------------------
    [echo]
    BUILD FAILED
    C:\product\jdevstudio\jdev\mywork\HelloWorld\HelloWorldProcess\build.xml:197: Co
    uld not find a valid processor version implementation from oracle.xml.jaxp.JXSAX
    TransformerFactory
    Total time: 14 seconds

    sorry for the late reply. The problem is that Oracle XDK is not compatible with the junitreport task. I believe there are some post install steps (due to licensing issues) that you need to perform before running the ant task. This is noted in the release notes (copied below):
    1. base site for xalan is http://xml.apache.org/xalan-j/ site. to download, go to: http://www.apache.org/dyn/closer.cgi/xml/xalan-j. then from the recommended mirror site download xalan-j_2_7_0-bin.zip.
    2. unzip this file.
    3. copy unzip_dir\xalan-j_2_7_0\serializer.jar to Oracle_Home\bpel\lib\serializer_2.7.0.jar. copy unzip_dir\xalan-j_2_7_0\xalan.jar to Oracle_Home\bpel\lib\xalan_2.7.0.jar. Note the filename change
    4. no change to obsetenv is needed.

  • Unable to open ant file using JDeveloper

    I am using JDeveloper 10.1.3 production (version 10.1.3.0.4 build 3673) and I am having difficulty understanding the way ant build files are handled by this version.
    I would like to open ant files (build.xml) just like any other XML file so that I can edit it from the JDeveloper. But I am not able to do it, because the build.xml is at the root of the my application directory structure and trying to add that application root directory to the project contents results in directory with .java files getting added (but not the root directory itself, which has the build.xml file). Of course, I can add a dummy Something.java file under the root directory to cheat JDeveloper into adding this root directory to project contents directories.
    But I am wondering whether there is a better way to do this?

    You are adding the directory in the "Java Content"
    Try expending the Project Content and adding the directory under Resource.

Maybe you are looking for

  • S-Video/Composite Video via VGA with 3rd Party Adapter

    As mentioned elsewhere in these discussions, the Mini-DisplayPort on the Aluminum MacBook is different from the eartlier models. The Mini-DP adapters from Apple don't support S-Video or Composite Video, even in combination. I ordered and just receive

  • Unpivot task is generating rows for null inputs

    So I have a C# application (VS 2012 with .NET4.5) that builds SSIS (SQL2012) packages programatically.  the packages can be opened in the designer and they run fine.  However, there is one case that is giving me a problem.  I have an OleDb source con

  • How come changing from 4:3 to 16:9 no longer available ?

    Hi there, All these while, when I render files in FCE4, the outcome of the mov files is in 4:3 format. I always convert it to 16:9 using Quick Time Player (Ver 7.6.6) on my iMac via Windows > Show Movies Properties. But I just purchase a new 15" Macb

  • Cannot authorize to asmx - webservice from a workflow

    Hello everybody! I made a workflow for sharepoint 2013, including the "call http web service"-action. Therein I am trying to access https://mysp.com/sites/mysite/_vti_bin/lists.asmx via GET Request. So nothing fancy one might think, but somehow it is

  • I am unable to install the new itunes due to the old version (which I uninstalled) still hanging around

    My old version was corrupted and would not upgrade.  I have uninstalled according to Apple's direction however I cannot install the new version. I even tried a REVO uninstall of all apple products.  Each reinstall attempt fails due to the old version