Ant tasks getDestinations and getDataSourcesDescriptor conflict

I have a simple target that calls the getDestinations oracle ant task and then calls the getDataSourcesDescriptor ant task. Only the first task run ever returns data. If getDestinations is first, JMS info is returned but no data sources info. If getDataSourcesDescriptor is first, data sources info is returned but no jms info. If you have two tasks of the same type, same story; only the first task returns data.
Anyone have any ideas?

cfr wrote:
@lahwaacz,
Could you point me to documentation regarding bugs/problems with laptop-mode tools? I'm using that right now and it has always worked pretty well but I'm currently seeing higher temperatures (~10C higher on average) and trying to figure out why.
My fan operates continually but not, I think, very aggressively. But it has always done that so I assume it is normal for this laptop. (Have no idea really but it doesn't seem out of the way - it is a laptop, after all...)
I don't know anything about fan control, my laptop controls fan speed automatically, I can't even get current fan speed.
The main problem with laptop-mode-tools is that it's very huge, and the bigger the program is, the slower is the execution. Another problem is that it's connected to both battery and AC adapter ACPI events (see /etc/acpi/events/lm_{ac_adapter,battery}). On my laptop, those events are sent at the same time, resulting in running laptop-mode-tools twice. Most people once configure laptop-mode-tools to their liking and their hardware, so I think there is no need for such an extensive software like laptop-mode-tools, if something simpler does the same (or better) job.
Also laptop-mode-tools can conflict with pm-utils (which are installed on many systems as dependency for some packages):
https://wiki.archlinux.org/index.php/La … able_on_AC
https://bbs.archlinux.org/viewtopic.php?id=106989

Similar Messages

  • Ant tasks and SSL

    Hi-
              I create my domain using the ant tasks (wlserver and wlconfig) but I can't figure out how to tell the domain to enable SSL and use a specific port. Doing this in the console is simple but I can't find any docs showing how to do this with the ant tasks.
              Anyone know how to do this for WL 8.1?
              Thanks!
              Dave

    Hello,
    The OracleAS 10g Web Services Ant tasks are documented in the OracleAS Web Services Developer Guide, these tasks allow you to do the various WS developement operation such as create a service using bottom-up approach, create clients, ...
    Also OracleAS 10g 1.0.1.3 provides Ant tasks for deployment of application to the container, this is documente in the OracleAS Deployment Guide
    Regards
    Tugdual Grall

  • Using Ant task wlserver/wlconfig: Received exception while creating connection for pool.

    Hi,
    I am using ant tasks wlserver and wlconfig to configure my weblogic server. while creating a connection pool as shown below
    <target name="jdbcinfo">
    <wlconfig password="weblogic"
    username="weblogic"
    url="${url}"
    <query domain="mydomain" type="Server"
    name="myserver" property="serverbean"
    />
    <create type="JDBCConnectionPool"
    name="jdbcpoolA"
    property="jdbcPoolProp">
    <set value="false"
    attribute="ShrinkingEnabled"
    <set value
    attribute="
    <set value="${serverbean}"
    attribute="Targets"/>
    The JDBCConnectionPool is created as long as I don't specified the attribute "Targets"
    Once I add the target I get the following error
    <JDBC> <BEA-001129> <Received exception while creating connection for pool "poolname" invalid arguments in call>
    Please any help will be greatly appreciated.
    Thanks

    In your applicaion module configurations check if you are using 'JDBC URL' or 'JDBC DataSource'. You should use JDBC DataSource. Then make sure that your deployment descriptor (menu 'Application->Application Properties->Deployment) has the 'Auto Generate ...' checkbox set.
    Timo

  • Updates to Ant task

    I've pushed through some bugs fixes over the last few days.  Here is the list:
    - Updated platform defaults to try the user trust directory first, then if not found, use the global trust directory, when localTrusted="true"
    - Updated the platform trust directory paths to work with WindowsXP, Windows Vista/7, MacOSX, and Linux.
    - Updated trust file to append and remove paths rather than create and destroy the file to support concurrent runs of the Ant task
    - Updated inbound streaming to decode using UTF-8 to respect non-western languages coming from the FP
    - Updated XML output to be safe for use with single quotes in failure/error messages
    - Updated CIListner and Ant task to report the correct # of runs when multiple failures/errors for a single test are reported
    I'm still having issues with the global trust directory on Linux (tested with Ubuntu), so unfortunatley no resolve for that issue yet.  If anyone knows of the correct path to use, I'm definitely open to suggestion; we're currently using /etc/adobe/FlashPlayerTrust.
    Although the changes have not been pushed to the FlexUnit master yet, if anyone would like to help me test out their platform of choice with my latest build of the Ant task, I would be very grateful.  You can find the latest Ant task JAR and CIListener SWC @ http://flexunit.digitalprimates.net:8080/view/All/job/Demo-Versioned-Build/.  Please note, you need to update both for the Ant task to work correctly.
    Looking forward to any feedback.
    -Brian

    Manually create your manifest file ${input-dir}/META-INF/MANIFEST.MF before running your ant script. appc should pick up your manifest file instaed of creating a default one.
    Make sure that the manifest file contains "version-info: Manifest-Version : version-number" as specified by the jar specification.
    Regards,
    Dhilip

  • Autotype ant task and java source file having method which  returns hashmap

    Hi Friends,
    I am using autotype ant task to generate types.xml and supporting java classes.
    The task is defined as follows .
    <target name="std">
    <source2wsdd javaSource="HelloWorld.java"
    typesInfo="types.xml"
    ddFile="ddfiles/web-services.xml"
    serviceURI="/HelloWorldService"/>
    </target>
    In my java source i have method which is returning an HashMap. In this scenario I am getting error when i run the task. The error is as follows
    C:\test-ws\javaclass>ant auto
    Buildfile: build.xml
    auto:
    [autotype] Autotyping for javaTypes TestBean
    [autotype] weblogic.xml.schema.binding.BindingException: Invalid class received
    : interface java.util.Map loaded from file:/C:/bea/jdk142_05/jre/lib/rt.jar!/jav
    a/util/Map.class. All classes that will be serialized or deserialized must be n
    on-interface, non-abstract classes that provide a public default constructor
    [autotype] at weblogic.xml.schema.binding.internal.codegen.JavaInspector.en
    sureValidClass(JavaInspector.java:1050)
    [autotype] at weblogic.xml.schema.binding.internal.codegen.JavaInspector.fi
    llDescriptor(JavaInspector.java:174)
    [autotype] at weblogic.xml.schema.binding.internal.codegen.JavaInspector.ge
    tDescriptor(JavaInspector.java:139)
    [autotype] at weblogic.xml.schema.binding.internal.codegen.JavaInspector.cr
    eateBeanProperty(JavaInspector.java:927)
    [autotype] at weblogic.xml.schema.binding.internal.codegen.JavaInspector.cr
    eateBeanProperty(JavaInspector.java:905)
    [autotype] at weblogic.xml.schema.binding.internal.codegen.JavaInspector.ad
    dPropertiesToScalar(JavaInspector.java:834)
    [autotype] at weblogic.xml.schema.binding.internal.codegen.JavaInspector.fi
    llDescriptor(JavaInspector.java:209)
    [autotype] at weblogic.xml.schema.binding.internal.codegen.JavaInspector.ge
    tDescriptor(JavaInspector.java:139)
    [autotype] at weblogic.xml.schema.binding.internal.codegen.JavaInspector.cr
    eateDescriptorForClass(JavaInspector.java:106)
    [autotype] at weblogic.xml.schema.binding.internal.codegen.Compiler.compile
    (Compiler.java:106)
    [autotype] at weblogic.xml.schema.binding.internal.XSDTypeMappingBuilder.ma
    pClass(XSDTypeMappingBuilder.java:89)
    [autotype] at weblogic.xml.schema.binding.internal.XSDTypeMappingBuilder.ma
    pClass(XSDTypeMappingBuilder.java:102)
    [autotype] at weblogic.xml.schema.binding.internal.TypeMappingBuilderBase.a
    ddMapping(TypeMappingBuilderBase.java:180)
    [autotype] at weblogic.webservice.tools.build.internal.Java2SchemaImpl.doTy
    peMapping(Java2SchemaImpl.java:267)
    [autotype] at weblogic.webservice.tools.build.internal.Java2SchemaImpl.run(
    Java2SchemaImpl.java:167)
    [autotype] at weblogic.ant.taskdefs.webservices.javaschema.JavaSchema.doJav
    a2Schema(JavaSchema.java:302)
    [autotype] at weblogic.ant.taskdefs.webservices.javaschema.JavaSchema.execu
    te(JavaSchema.java:184)
    [autotype] at org.apache.tools.ant.Task.perform(Task.java:341)
    [autotype] at org.apache.tools.ant.Target.execute(Target.java:309)
    [autotype] at org.apache.tools.ant.Target.performTasks(Target.java:336)
    [autotype] at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
    [autotype] at org.apache.tools.ant.Project.executeTargets(Project.java:1255
    [autotype] at org.apache.tools.ant.Main.runBuild(Main.java:609)
    [autotype] at org.apache.tools.ant.Main.start(Main.java:196)
    [autotype] at org.apache.tools.ant.Main.main(Main.java:235)
    BUILD FAILED
    file:C:/test-ws/javaclass/build.xml:62: weblogic.webservice.tools.build.WSBuildE
    xception: Failed to do type mapping - with nested exception:
    [weblogic.xml.schema.binding.BindingException: Invalid class received: interface
    java.util.Map loaded from file:/C:/bea/jdk142_05/jre/lib/rt.jar!/java/util/Map.
    class.  All classes that will be serialized or deserialized must be non-interfac
    e, non-abstract classes that provide a public default constructor]
    Can any one provide the solution for this
    Thanks
    Anantha

    Hi Friends,
    I am using autotype ant task to generate types.xml and supporting java classes.
    The task is defined as follows .
    <target name="std">
    <source2wsdd javaSource="HelloWorld.java"
    typesInfo="types.xml"
    ddFile="ddfiles/web-services.xml"
    serviceURI="/HelloWorldService"/>
    </target>
    In my java source i have method which is returning an HashMap. In this scenario I am getting error when i run the task. The error is as follows
    C:\test-ws\javaclass>ant auto
    Buildfile: build.xml
    auto:
    [autotype] Autotyping for javaTypes TestBean
    [autotype] weblogic.xml.schema.binding.BindingException: Invalid class received
    : interface java.util.Map loaded from file:/C:/bea/jdk142_05/jre/lib/rt.jar!/jav
    a/util/Map.class. All classes that will be serialized or deserialized must be n
    on-interface, non-abstract classes that provide a public default constructor
    [autotype] at weblogic.xml.schema.binding.internal.codegen.JavaInspector.en
    sureValidClass(JavaInspector.java:1050)
    [autotype] at weblogic.xml.schema.binding.internal.codegen.JavaInspector.fi
    llDescriptor(JavaInspector.java:174)
    [autotype] at weblogic.xml.schema.binding.internal.codegen.JavaInspector.ge
    tDescriptor(JavaInspector.java:139)
    [autotype] at weblogic.xml.schema.binding.internal.codegen.JavaInspector.cr
    eateBeanProperty(JavaInspector.java:927)
    [autotype] at weblogic.xml.schema.binding.internal.codegen.JavaInspector.cr
    eateBeanProperty(JavaInspector.java:905)
    [autotype] at weblogic.xml.schema.binding.internal.codegen.JavaInspector.ad
    dPropertiesToScalar(JavaInspector.java:834)
    [autotype] at weblogic.xml.schema.binding.internal.codegen.JavaInspector.fi
    llDescriptor(JavaInspector.java:209)
    [autotype] at weblogic.xml.schema.binding.internal.codegen.JavaInspector.ge
    tDescriptor(JavaInspector.java:139)
    [autotype] at weblogic.xml.schema.binding.internal.codegen.JavaInspector.cr
    eateDescriptorForClass(JavaInspector.java:106)
    [autotype] at weblogic.xml.schema.binding.internal.codegen.Compiler.compile
    (Compiler.java:106)
    [autotype] at weblogic.xml.schema.binding.internal.XSDTypeMappingBuilder.ma
    pClass(XSDTypeMappingBuilder.java:89)
    [autotype] at weblogic.xml.schema.binding.internal.XSDTypeMappingBuilder.ma
    pClass(XSDTypeMappingBuilder.java:102)
    [autotype] at weblogic.xml.schema.binding.internal.TypeMappingBuilderBase.a
    ddMapping(TypeMappingBuilderBase.java:180)
    [autotype] at weblogic.webservice.tools.build.internal.Java2SchemaImpl.doTy
    peMapping(Java2SchemaImpl.java:267)
    [autotype] at weblogic.webservice.tools.build.internal.Java2SchemaImpl.run(
    Java2SchemaImpl.java:167)
    [autotype] at weblogic.ant.taskdefs.webservices.javaschema.JavaSchema.doJav
    a2Schema(JavaSchema.java:302)
    [autotype] at weblogic.ant.taskdefs.webservices.javaschema.JavaSchema.execu
    te(JavaSchema.java:184)
    [autotype] at org.apache.tools.ant.Task.perform(Task.java:341)
    [autotype] at org.apache.tools.ant.Target.execute(Target.java:309)
    [autotype] at org.apache.tools.ant.Target.performTasks(Target.java:336)
    [autotype] at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
    [autotype] at org.apache.tools.ant.Project.executeTargets(Project.java:1255
    [autotype] at org.apache.tools.ant.Main.runBuild(Main.java:609)
    [autotype] at org.apache.tools.ant.Main.start(Main.java:196)
    [autotype] at org.apache.tools.ant.Main.main(Main.java:235)
    BUILD FAILED
    file:C:/test-ws/javaclass/build.xml:62: weblogic.webservice.tools.build.WSBuildE
    xception: Failed to do type mapping - with nested exception:
    [weblogic.xml.schema.binding.BindingException: Invalid class received: interface
    java.util.Map loaded from file:/C:/bea/jdk142_05/jre/lib/rt.jar!/java/util/Map.
    class.  All classes that will be serialized or deserialized must be non-interfac
    e, non-abstract classes that provide a public default constructor]
    Can any one provide the solution for this
    Thanks
    Anantha

  • Compc ant task and external framework

    I'm writing an ant task to compile a couple of libraries into
    SWCs and then a shell app (that uses the libraries) into a SWF for
    deployment. If I compile the libraries by hand then run just the
    'mxmlc' part of my ant script it compiles fine. However when I try
    and first compile a library into a SWC with 'compc' it compiles but
    then the shell app complains that the classes from the library are
    missing. One thing that may be causing the problem is my library
    path (through flex builder) has it's framework.swc set to 'Link
    Type: External' and I'm not sure how to define that with 'compc'.
    The weird thing is the flex builder compiled and 'compc' compiled
    SWCs are the same size. Here's my target for 'compc':

        <mxmlc
             file="${project.name}/src/Test.mxml"
             output="${build.mxmlc.dir}/Test.swf"
             static-link-runtime-shared-libraries="true"
        >
              <load-config filename="${air.config}"/>
              <source-path path-element="${project.name}/src" />
             <runtime-shared-library-path path-element="${flex.frameworks.dir}/libs/framework.swc">
                    <url rsl-url="${rsl.dir}/framework_3.2.0.3958.swz"/>
                    <url rsl-url="${rsl.dir}/framework_3.2.0.3958.swf"/>
             </runtime-shared-library-path>
             <runtime-shared-library-path path-element="${flex.frameworks.dir}/libs/datavisualization.swc">
                    <url rsl-url="${rsl.dir}/datavisualization_3.2.0.3958.swf"/>
             </runtime-shared-library-path>
        </mxmlc>
    This also seems to work. AIR libraries are included in my output SWF. It all happens right when I have static-link-runtime-shared-libraries="true" . Why? Why does that not work when i have static-link-runtime-shared-libraries="false"  ??

  • Swf, swc and the mxmlc, compc ant tasks

    I'm a bit confused on the end result of the mxmlc / compc ant
    tasks, or maybe the difference between swf and swc files. I have a
    library of 60 or so AS3 files used for
    serialization/deserialization of my Java backend (using GDS for
    serialization of data between java serverside and my flex front
    end). I first use the compc ant task on these AS3 files to create a
    swc file. This swc is 453316 bytes. With this flash library, I use
    the mxmlc ant task on my mxml file, which produces a 201,492-byte
    swf file.
    I have a couple questions related to the procedure above.
    Shouldn't the swf file include the swc file, and hence be bigger
    than the swc? I'm just wondering if I deploy the swf file, will it
    have all it needs in the swc file to perform the functions
    correctly?
    My second question relates to setting the
    keep-generated-actionscript="true" in the mxmlc task. When
    doing this, I see all the AS3 code generated. However, it does not
    include 55 of the 60 AS3 classes compiled in the swc. It only
    generated AS3 code for those AS3 classes explicitly declared in the
    mxml code (via import and actual declaration). Am I doing something
    wrong here or is this the way flex does its thing?
    The reason why I'm concerned about this is that I'm getting a
    "ArgumentError: Error #2004: One of the parameters is
    invalid" issue am I'm think its happening in the AS3 code (not
    the Java server side) and I don't know how to debug this.
    Any help would be appreciated. Thanks in advanced!
    -los

    I am also facing with the same problem.....
    Is there any resolution for this problem.?
    Not sure where i am going wrong.
    Any help will be appreciated.
    Thanks in advance.

  • ClassCastException using Subant and wldeploy ant task

    Hi!
    I'm using subant to call all diffrent build.xml files located in subdirectories. The buildfile looks like this:
    <project name="extern.call" default="callall">
         <target name="callall">
              <fileset      id="buildfile.set" dir=".." includes="*2/build.xml">
                   <exclude name="Br*2/*"/>
              </fileset>
              <subant target="deploy-local" inheritall ="false" failonerror="true">
                   <fileset      refid="buildfile.set"/>
              </subant>
         </target>
    </project>
    The first called build.xml files works fine ... but the execution of the second build.xml (it's not important which file is the second one, it's crash always at the second call), stop with a "java.lang.ClassCastException".
    See Stacktrace:
    [subant] weblogic.Deployer -debug -nowait -verbose -upload -noexit -name ClarifyRead -source \build\ClarifyRead\delivery\ClarifyRead.ear -targets myserver -adminurl t3://localhost:7001 -user weblogic -password ******** -deploy
    [subant] dumping Exception stack
    [subant] java.lang.ClassCastException
    [subant] at weblogic.management.deploy.utils.DeployerHelper.uploadSource(DeployerHelper.java:586)
    [subant] at weblogic.Deployer.runBodyWithAuthenticatedSubject(Deployer.java:824)
    [subant] at weblogic.Deployer.runBody(Deployer.java:711)
    [subant] at weblogic.utils.compiler.Tool.run(Tool.java:146)
    [subant] at weblogic.utils.compiler.Tool.run(Tool.java:103)
    [subant] at weblogic.Deployer.runMain(Deployer.java:566)
    [subant] at weblogic.Deployer.mainWithExceptions(Deployer.java:576)
    [subant] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [subant] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [subant] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [subant] at java.lang.reflect.Method.invoke(Method.java:324)
    [subant] at weblogic.ant.taskdefs.management.WLDeploy.invokeMain(WLDeploy.java:264)
    [subant] at weblogic.ant.taskdefs.management.WLDeploy.execute(WLDeploy.java:204)
    [subant] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)
    [subant] at org.apache.tools.ant.Task.perform(Task.java:364)
    [subant] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:65)
    [subant] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)
    [subant] at org.apache.tools.ant.Task.perform(Task.java:364)
    [subant] at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:340)
    [subant] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)
    [subant] at org.apache.tools.ant.Task.perform(Task.java:364)
    [subant] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:65)
    [subant] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)
    [subant] at org.apache.tools.ant.Task.perform(Task.java:364)
    [subant] at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:340)
    [subant] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)
    [subant] at org.apache.tools.ant.Task.perform(Task.java:364)
    [subant] at org.apache.tools.ant.Target.execute(Target.java:301)
    [subant] at org.apache.tools.ant.Target.performTasks(Target.java:328)
    [subant] at org.apache.tools.ant.Project.executeTarget(Project.java:1215)
    [subant] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:383)
    [subant] at org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.java:182)
    [subant] at org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.java:112)
    [subant] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)
    [subant] at org.apache.tools.ant.Task.perform(Task.java:364)
    [subant] at org.apache.tools.ant.Target.execute(Target.java:301)
    [subant] at org.apache.tools.ant.Target.performTasks(Target.java:328)
    [subant] at org.apache.tools.ant.Project.executeTarget(Project.java:1215)
    [subant] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:379)
    [subant] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:135)
    There is no diffrent between using ant in eclipse environment or as standalone, the result it the same.
    Do someone else have the same problem?
    Kind regards
    Joseph

    Hi
    I got the same message and I couldn't resolve it too, I am wordering if you got the key to the problem?
    Thanks
    Daivd Huang

  • Using wsdlc Ant task and Eclipse

    Hi all,
    I'm using the WebLogic Ant Task wsdlc to generate a default implementation of a java web service based on an existing WSDL.
    Everythign generates just fine. I have one little problem though: the classes that represent some of the complex types defined in the WSDL are generated in the compiled WSDL file (the JAR file that wsdlc creates). If I open the java source file for the web service (also created by the wsdlc task, but NOT in the compiled wsdl jar) with Eclipse, Eclipse cannot find the source code for those complex types, and therefore underlines the data types in red to indicate an error.
    My question is this: is there a way to tell Eclipse to look for additional source files inside of the compiled wsdl.jar file?
    Many thanks in advance!
    Jeff

    I got around this by unjaring the generated source jar into a "generated/src" directory and put that directory on the build path.
    Andy O

  • Bugs in jdoc and jdoclet Ant tasks?

    (The relevant lines in the build.xml file are at the end of this message.)
    I encountered a problem with the jdoc Ant task:
    - I added a description for a class in the metadata file. Everything rans
    fine. Then I added another class to the metadata file, when the jdoc task
    is invoked again by Ant the new class is not enhanced at all.
    - However when I run the jdoc on the metadata file outside Ant, the new
    class is enhanced.
    I can't run the jdoclet task at all because Ant complains that it can't
    find the class com.solarmetric.modules.integration.ant.KodoDocletTask.
    However it doesn't have any problem finding the class
    com.solarmetric.modules.integration.ant.JDOEnhancerTask. Aren't they both
    in the kodo-jdoee.jar? I also tried using the classpath element inside the
    target for the jdoclet without success.
    Thanks for your help.
    Here is an extract of the build.xml file:
    <!--Set the classpath-->
    <path id="classpath">
    <pathelement location="d:/books/JDO/KODO/kodo-jdoee2.3.3/lib/jdo1_0.jar"/>
    <pathelement
    location="d:/books/JDO/KODO/kodo-jdoee-2.3.3/lib/kodo-jdoee.jar"/>
    <pathelement location="C:\java\xdoclet-1.1.2\lib\xdoclet.jar"/>
    </path>
    <target name="taskdefs">
    <taskdef name="jdodoclet"
    classname="com.solarmetric.modules.integration.ant.KodoDocletTask"/>
    <!-- the above line causes an error -->
    <taskdef name="jdoc"
    classname="com.solarmetric.modules.integration.ant.JDOEnhancerTask"/>
    <!-- no problem with the above -->
    <target name="enhanceAll" depends="compile">
    <jdoc>
    <fileset dir="./classes/quocp">
    <include name="ent.jdo" />
    </fileset>
    <config licenseKey="<license key removed>" />
    <classpath refid="classpath"/>
    </jdoc>
    </target>

    Actually I did have a classpath issue, the xdoclet jar was not being
    included properly; once I got it included I now get this error:
    BUILD FAILED: java.lang.LinkageError: duplicate class definition:
    org/apache/log4j/Category
    I think the xdoclet is incompatible with the version of log4j I have....but
    I don't know for certain.
    So I tried moving to the latest and greatest xdoclet and now I get a new
    error (and it fails earlier):
    Finding class com.solarmetric.modules.integration.ant.JDODocletSubTask
    Exception reading component C:\dev2\java\devlib\kodo-jdo.jar
    BUILD FAILED: java.lang.NoClassDefFoundError:
    com/solarmetric/modules/integration/ant/JDODocletSubTask
    One thing I have learned today is the -debug flag when running ant...very
    helpful in finding out where the failure is occuring.
    Any ideas you might have on how to proceed would be helpful...is there a way
    to run the xdoclet stuff without the ant tasks?
    Thanks,
    Steven Balthazor
    "Marc Prud'hommeaux" <[email protected]> wrote in message
    news:[email protected]...
    Steven-
    If you include the Kodo devel jars in your system CLASSPATH, does it
    work? I.e., is it a problem with the classpath, or with the XDoclet
    integration in general?
    In article <[email protected]>, Steven Balthazor wrote:
    I have followed these instructions to the letter; but I am unable to get
    the
    Doclet task to work in ant. Specifically my taskdef:
    <taskdef name="jdodoclet"
    classname="com.solarmetric.modules.integration.ant.KodoDocletTask">
    <classpath refid="cp" />
    </taskdef>
    Generates the following error when running ant:
    BUILD FAILED: file:C:/dev2/java/devbuild.xml:54: taskdef class
    com.solarmetric.modules.integration.ant.KodoDocletTask cannot be found
    Now I would think this is a classpath problem; except if I change the
    taskdef to:
    <taskdef name="jdodoclet"
    classname="com.solarmetric.modules.integration.ant.SchemaToolTask">
    <classpath refid="cp" />
    </taskdef>
    I get a new error:
    BUILD FAILED: file:C:/dev2/java/devbuild.xml:56: The <jdodoclet> task
    doesn't support the nested "jdotags" element.
    This looks like it is finding the SchemaToolTask and failing in the
    implementation of jdodoclet. As far as I can tell, KodoDocletTask and
    SchemaToolTask are in the same jar. So what gives?
    I am using Kodo 2.5.2; and I have Xdoclet 1.1.2 in my classpath.
    Any help would be appreciated.
    Steven Balthazor
    "Patrick Linskey" <[email protected]> wrote in message
    news:[email protected]...
    I'm guessing that the kodo jars are not in the classpath when you
    launch
    ant. If this is the case, then you must specify a classpath in your
    taskdef, and probably in the jdodoclet execution as well. You can do
    this with something like this:
    <target ...>
    <taskdef ...>
    <classpath refid="cp"/>
    </taskdef>
    <jdodoclet ...>
    <classpath refid="cp"/>
    </jdodoclet>
    </target>
    This assumes that you've defined a path somewhere in your ant buildfile
    with an id of 'cp'.
    -Patrick
    Quoc Pham wrote:
    Hi Patrick,
    I still haven\'t been able to solve the problem with the jdoclet
    task:
    >>>>
    >>>>
    I can\\\'t run the jdoclet task at all because Ant complains thatit
    >>>>
    can\\\'t
    find the class
    com.solarmetric.modules.integration.ant.KodoDocletTask.
    However it doesn\\\'t have any problem finding the class
    com.solarmetric.modules.integration.ant.JDOEnhancerTask. Aren\\\'tthey
    both
    in the kodo-jdoee.jar? I also tried using the classpath element
    inside
    the
    target for the jdoclet without success.
    Here is the jdoclet task:
    classname=\\\"com.solarmetric.modules.integration.ant.KodoDocletTask\\\"/>
    >>>>
    >>>>>
    >>>>>
    >>>>>
    >>>>>
    >>>>>
    >>>>
    >>>>
    >>>>>
    >>>>>
    >>>>
    >>>>
    >>>>
    When I run the above task, I got the error message:
    Buildfile: build.xml
    generateJdoMetadata
    BUILD FAILED
    file:d/jdev903/jdev/mywork/JDO/Ent/build.xml:102:taskdef class
    com.solarmetric.modules.integration.ant.KodoDocletTask cannot be
    found
    >>>>
    >>>>
    Questions:
    - How do I let ant know the class path to use to run this task?
    - What should the value of sourcepath be?
    - What should the value of dir be? The directory where the .javafiles
    reside?--
    Patrick Linskey [email protected]
    SolarMetric Inc. http://www.solarmetric.com
    Marc Prud'hommeaux [email protected]
    SolarMetric Inc. http://www.solarmetric.com

  • Assemble ant task and dependencies

    We are in a process of moving from wasp 4.5 to OC4J R3.
    We want to be able to assemble (and deploy) a bottom-up java web service using ant.
    I look at the assemble ant task but I couldn't find out how to specify using that task the jars that will be copied to WEB-INF/lib or any other option like using a custom oracle-webservices.xml file to specify the dependencies or specifying a shard library to be used..
    The documentation is really unclear about the subject.

    What's your approach to pack the files?
    Just use the assemble task to create the war structure and then add all the dependencies?
    I'm new to OC4j but it seems a reasonable request to add dependencies with the ant task , just like when you use the input tag to specify which files should be in WEB-INF/classes.
    The oracle-webservices.xml is another way to specify the web service (if i remember correctly) and I gave it as another example of where I looked to solve to problem.
    It shouldn't be that hard to pack to war file myself... it's just annoying that when you come from WASP 4.5 which is over 3 years old and it's so easy and clear how to pack a bottom-up web service.
    Message was edited by:
    user564605

  • Deploy and Bind ant tasks

    Re,
    I am using the 10.1.3 beta of oc4j and we are starting to run into some problems with using the oracle deploy and bind ant tasks provided. As our application is growing, the deploy task is taking longer and longer (which by itself is not really a problem since that is to be expected, and when I say long it is only a few seconds so it is tolerable). The problem (I think) lies in the ant tasks. Our "bind" tasks depends on the "deploy" task. But, it seems that sometimes the bind task actually starts before the deploy task is finished. So, we are wondering if there is something wrong with the deploy task. Either oc4j is sending a signal that the deploy is complete before it actually is or the deploy ant task is just waiting a few seconds and then assuming it is complete.
    The only way for us to make this problem go away is to run the deploy ant task, look at the console to see that the deploy is finished and then run the bind task separately. Needless to say, that is a bit annoying and hard to automate.
    Any ideas?

    Chris,
    Thanks. I dont think that is it. The process waits a while (so maybe they are the ones doing a sleep).
    I am hoping to find out what is actually happening under the hood and if there is in fact a 'wait' giong on, implore to the development staff that they fix that issue before things are GA. Or, if something else is going on ... maybe I can fix it on my end.
    Thanks,
    Greg

  • Xmlbean and ws8.1 ant tasks

    hi,
    i am looking to use xmlbeans to generate stubs for the input arameters and the output returned by the webservice designed using XSD schemas.
    I am not planning to use weblogic workshop and will be using only weblogic server 8.1 sp3 server to implement the webservice.
    From the weblogic server documentation I observed that using xmlbean is not supported. is that true ?
    Please provide a sample of how to integrate xmlbean and weblogic server ant tasks to implement a webservice. The ant task <autotype> generates the types.xml to be included in the wsdl file.. is there is a similar facility in xmlbeans.
    TIA
    karthik
    [[email protected]]

    Kiran,
    Did you happen to get this solution to work?
    I'm currently trying to use XMLBeans 2.x to create web services for ws8.1. My thought is that I would need to modify the types.xml to point to the XMLBeans custom serializer/deserializer class? I would then need to run the "wsdl2service" ant task to create the web-services.xml and web service implementation skeleton.
    It appears difficult to create weblogic web services outside of Workshop that use XMLBeans! Any advice that you can offer would be appreciated.
    -Shawn

  • Xmlbeans and ws8.1 ant tasks

    hi,
    i am looking to use xmlbeans to generate stubs for the input arameters and the output returned by the webservice designed using XSD schemas.
    I am not planning to use weblogic workshop and will be using only weblogic server 8.1 sp3 server to implement the webservice.
    From the weblogic server documentation I observed that using xmlbean is not supported. is that true ?
    Please provide a sample of how to integrate xmlbean and weblogic server ant tasks to implement a webservice. The ant task <autotype> generates the types.xml to be included in the wsdl file.. is there is a similar facility in xmlbeans.
    TIA
    karthik
    [[email protected]]

    Kiran,
    Did you happen to get this solution to work?
    I'm currently trying to use XMLBeans 2.x to create web services for ws8.1. My thought is that I would need to modify the types.xml to point to the XMLBeans custom serializer/deserializer class? I would then need to run the "wsdl2service" ant task to create the web-services.xml and web service implementation skeleton.
    It appears difficult to create weblogic web services outside of Workshop that use XMLBeans! Any advice that you can offer would be appreciated.
    -Shawn

  • Where are the bpelc and related ant tasks documented?

    Hi,
    Can anyone tell me where the soa suite-related ant tasks are documented? I only found a little bit of information and some examples in the developers guide.
    Thanks,
    Mark Nelson

    chapter 19.4.2.
    http://download-east.oracle.com/docs/cd/B31017_01/integrate.1013/b28981/deployproc.htm#sthref3614

Maybe you are looking for

  • SAP Strategy Management - Under BO or BI

    Hi, In one place (help.sap.com), I see Strategy Management included under SEM (so I assume it is under BI)  where as in another place (sap.com), it is included under Business Objects. Can someone please guide? Or, are those two different applications

  • Evaluation RH8, problem with links to files on network

    Hello, We are evaluating RH8, and I am trying to build to AIR with Robohelp and all my links pointing to either Word or PDF files on network drives won't work when I create the AIR standalone, I click them and nothing happens. If I compile them in HT

  • Corrupted file in the applications folder and i cant get in

    I have a half uncompress file in the applications folder and it wont let me in to that folder, not even as a root user, it just closes the folder and opens desktop instead, everything else is working fine now, i hope i just need to delete that file.

  • HT5824 How do I download all my apps from my old iPhone onto a new iPhone?

    How do I download all my apps from my old iPhone onto a new iPhone?

  • ILife after reformat

    Hey my name is ben I was just wondering if there is any way to get ilife if you had to reformat your hard drive. I took my computer in to have it upgraded to Leopard and ilife was absent on my hard drive. Does it not come standard with Leopard and is