Enhacer ant task license key problem

Hi,
I'am developing web applicaiton with workshop studio 3.0 and I use It's
ejb3(kodo 4 EA4) mapping generator.I try to use ant task for
enhancement,here is my build.xml file's kodoc task
     <target name="enhance">
          <echo>
================================================================
Running the enhancer
================================================================
          </echo>
          <taskdef name="kodoc" classname="kodo.ant.PCEnhancerTask">
               <classpath refid="cp"/>
          </taskdef>
          <kodoc>
          <fileset dir="${basedir}">
          <include name="**/com/demo/model/*.java" />
          </fileset>
          <classpath>
          <pathelement location="${basedir}/classes"/>
          <pathelement location="${basedir}/src"/>
          <pathelement path="${java.class.path}"/>
          </classpath>
          </kodoc>
     </target>
ant task starts enhancer,finds my domain classes but gives the following
expcetion during enhancement of first class
[echo] ================================================================
[echo] Running the enhancer
[echo]
================================================================
[kodoc] 611 INFO [main] kodo.Tool - Enhancer running on type "class
com.demo.model.MyClass".
[kodoc] com.solarmetric.license.LicenseException: No product license
key was found. Please ensure that your license key is specified in your
configuration file (or in the "General" tab of your IDE''s configuration
dialog), that the key has not expired, and that it is the correct key for
the version of the product that you are running...
build.xml is in WEB_INF directory and my source are in src directory
compiled classes are in classes directory,I place persistence.xml file in
the directiory WEB-INF/META-INF/
my license key is in persistence.xml file and it will expire 3-4 weeks
later.Here my persistencex.xml file
<persistence>
     <persistence-unit name="kodo">
          <provider>kodo.persistence.PersistenceProviderImpl</provider>
          <class>com.demo.model.MyClass</class>
          <properties>
     <property name="kodo.LicenseKey" value="xxxxxx"/>
          <property name="kodo.ConnectionDriverName"
value="org.apache.derby.jdbc.ClientDriver"/>
          <property name="kodo.ConnectionURL"
value="jdbc:derby://localhost:1527/xxxDB"/>
          <property name="kodo.ConnectionUserName" value="xxx"/>
          <property name="kodo.ConnectionPassword" value="xxxx"/>
          <property name="kodo.jdbc.Schema" value="xxxx"/>
     <property name="kodo.Log" value="DefaultLevel=WARN, Tool=INFO"/>
     </properties>
</persistence-unit>
</persistence>
where should I pu my license key or persistence.xml file.
Not:I was using previsous release of kodo (EA3),for ejb3 I set access
property of Entity annotaion to access=AccessType.FIELD so I did not need
to enhance and It does works but this version we do not have this
option,Am I right.Do we always have to enhance our ejb3 entities in EA4
release

murat wrote:
Hi,
I'am developing web applicaiton with workshop studio 3.0 and I use It's
ejb3(kodo 4 EA4) mapping generator.I try to use ant task for
enhancement,here is my build.xml file's kodoc task
     <target name="enhance">
          <echo>
================================================================
Running the enhancer
================================================================
          </echo>
          <taskdef name="kodoc" classname="kodo.ant.PCEnhancerTask">
               <classpath refid="cp"/>
          </taskdef>
          <kodoc>
          <fileset dir="$">
          <include name="**/com/demo/model/*.java" />
          </fileset>
          <classpath>
          <pathelement location="$/classes"/>
          <pathelement location="$/src"/>
          <pathelement path="$"/>
          </classpath>
          </kodoc>
     </target>
ant task starts enhancer,finds my domain classes but gives the following
expcetion during enhancement of first class
[echo] ================================================================
[echo] Running the enhancer
[echo]
================================================================
[kodoc] 611 INFO [main] kodo.Tool - Enhancer running on type "class
com.demo.model.MyClass".
[kodoc] com.solarmetric.license.LicenseException: No product license
key was found. Please ensure that your license key is specified in your
configuration file (or in the "General" tab of your IDE''s configuration
dialog), that the key has not expired, and that it is the correct key for
the version of the product that you are running...
build.xml is in WEB_INF directory and my source are in src directory
compiled classes are in classes directory,I place persistence.xml file in
the directiory WEB-INF/META-INF/
my license key is in persistence.xml file and it will expire 3-4 weeks
later.Here my persistencex.xml file
<persistence>
     <persistence-unit name="kodo">
          <provider>kodo.persistence.PersistenceProviderImpl</provider>
          <class>com.demo.model.MyClass</class>
          <properties>
     <property name="kodo.LicenseKey" value="xxxxxx"/>
          <property name="kodo.ConnectionDriverName"
value="org.apache.derby.jdbc.ClientDriver"/>
          <property name="kodo.ConnectionURL"
value="jdbc:derby://localhost:1527/xxxDB"/>
          <property name="kodo.ConnectionUserName" value="xxx"/>
          <property name="kodo.ConnectionPassword" value="xxxx"/>
          <property name="kodo.jdbc.Schema" value="xxxx"/>
     <property name="kodo.Log" value="DefaultLevel=WARN, Tool=INFO"/>
     </properties>
</persistence-unit>
</persistence>
where should I pu my license key or persistence.xml file.
Not:I was using previsous release of kodo (EA3),for ejb3 I set access
property of Entity annotaion to access=AccessType.FIELD so I did not need
to enhance and It does works but this version we do not have this
option,Am I right.Do we always have to enhance our ejb3 entities in EA4
release

Similar Messages

  • Kodo 4.1.2 license key problem

    Has anyone tried the JDO tutorial provided with Kodo 4.1.2? Everything works fine until I try to create the mappings with 'mappingtool -p jdo.properties package.jdo'. Then I get:
    Exception in thread "main" com.solarmetric.license.LicenseException: No product
    license key was found. Please ensure that you either have a valid "license.bea"
    file in your CLASSPATH or in the directory specified by the "bea.home" environme
    nt variable, or else that you have a valid license key specified in the "kodo.Li
    censeKey" property of you Kodo configuration. If you need to request an evaluati
    on license, please go to http://commerce.bea.com or contact [email protected]
    at com.solarmetric.license.License.<init>(License.java:67)
    at kodo.conf.KodoCapabilities.newLicense(KodoCapabilities.java:133)
    at kodo.conf.LicenseKey.getLicense(LicenseKey.java:38)
    at kodo.conf.LicenseKey.getLicense(LicenseKey.java:22)
    at kodo.jdbc.meta.KodoClassMapping.validateMapping(KodoClassMapping.java
    I'm running the tutorial using the kodocmd.bat and I changed the properties to point to kodo's install directory and my jdk home directory.
    I've downloaded the xml document at 'http://ftpmain.bea.com/download/pub/license/kodo/kodo40/license.bea', named it license.bea and put it in kodo's install directory which is on the classpath.
    I think the problem is getting Kodo to recognize the license outside of a web application. I am trying to use Kodo in a standalone application and obviously need it to recognize the license key.
    Regards,
    Jake

    Hi Jake,
    I don't think the problem is getting Kodo to recognize the license outside
    the web application (I am also working on a standalone application). I think
    the problem is that the code still requires the "old" solarmetric license
    key next to the bea license key. I actually run into the same problem if I
    don't specify both keys. Since I still have several important bugs already
    open for months and registering an issue requires writing complete testcases
    including manuals how to use these test cases, I actually didnt even bother
    to register this one.
    kind regards,
    Christiaan
    <Jacob Bowers> wrote in message news:[email protected]...
    Has anyone tried the JDO tutorial provided with Kodo 4.1.2? Everything
    works fine until I try to create the mappings with 'mappingtool -p
    jdo.properties package.jdo'. Then I get:
    Exception in thread "main" com.solarmetric.license.LicenseException: No
    product
    license key was found. Please ensure that you either have a valid
    "license.bea"
    file in your CLASSPATH or in the directory specified by the "bea.home"
    environme
    nt variable, or else that you have a valid license key specified in the
    "kodo.Li
    censeKey" property of you Kodo configuration. If you need to request an
    evaluati
    on license, please go to http://commerce.bea.com or contact [email protected].
    at com.solarmetric.license.License.<init>(License.java:67)
    at kodo.conf.KodoCapabilities.newLicense(KodoCapabilities.java:133)
    at kodo.conf.LicenseKey.getLicense(LicenseKey.java:38)
    at kodo.conf.LicenseKey.getLicense(LicenseKey.java:22)
    at
    kodo.jdbc.meta.KodoClassMapping.validateMapping(KodoClassMapping.java
    I'm running the tutorial using the kodocmd.bat and I changed the properties
    to point to kodo's install directory and my jdk home directory.
    I've downloaded the xml document at
    'http://ftpmain.bea.com/download/pub/license/kodo/kodo40/license.bea', named
    it license.bea and put it in kodo's install directory which is on the
    classpath.
    I think the problem is getting Kodo to recognize the license outside of a
    web application. I am trying to use Kodo in a standalone application and
    obviously need it to recognize the license key.
    Regards,
    Jake

  • Adobe master collection CS3 license key problem

    hi there,, i have some problem with my adobe master collection CS3 license key,, i have 4 key for MAC to my master collection cs3,,
    i cannot  use my key on my new MAC,, because the limit activation,, i can't deactive the key from my old MAC because my old MAC was dispose,,
    what should i do? please help me...
    thanks

    Hi Whisnuprasetyo,
    Welcome to Adobe Forums.
    Thsi issue would require us to check your serial number which i would not advise you to share on Forums.
    Please contact us through chat support so that we can help you out.
    http://helpx.adobe.com/contact.html?product=creative-suite&topic=activating-my-product-or- serial-number-issues#
    Thanks

  • License key problems with database copy

    Hi all - we are refreshing ECC 6.0 QA/Test system with a database copy from our DR system that is replicated from production with MIMIX. Problem with license key is that in SLICENSE the system number is from the DR system, but the QA system should have a different system number. When I go out to OSS, the existing license doesn't work because system number doesn't match what is in system data for QA system.  We recently upgraded to ECC 6.0 from 4.6C and didn't have this problem before.
    TIA,
    -Margie

    Hi again - finally figured it out, it's the difference between Old License and New License. We got an old license to install.
    Regards,
    -Margie

  • Lync 2013 client Installation License Key Problem

    Hi,
    I have a question, I have tried to install Lync 2013 with SCCM... but found that installing Lync Client with MSP file was not working. so I found the solution and pushed Lync Client with Config.xml ...
    it went through and installed on 700 machines successfully.
    now the problem arised, Lync client is now asking for License Key and I don't know what to be done :(
    how to push License Key on all those lync clients?
    kindly help and suggest.
    BR, Phaixan

    It depend on you Lync License. If you use a VLK License or MAK you have to import the Lyncense to you License server. You have to activate the License on your KMS server
    http://technet.microsoft.com/en-US/us-us/library/ee624357(v=office.15).aspx
    regards Holger Technical Specialist UC

  • Acrobat installation license key problem

    I have been trying to install the Technical Communication Suite v1.3. The main installation of FrameMaker, RoboHelp and Captivate seems to have worked fine, accepting our license key and allowing me to register and update the software with the latest patches.
    However, when I try to install Acrobat 9 from the same DVD that Adobe supplied, I just get "Invalid License Key" (using the same key that worked fine this morning for FrameMaker etc).
    Calls to both Adobe Technical Support and Adobe Customer Service have so far produced no useful information. Does anyone have any suggestions, or at least recognise the problem?
    Thanks
    Caroline

    I've had this type of problem before :-(, although not with TCS.
    The simple solution is to invest in one of those handy-dandy CD marker pens (Faber-Castell 1513 works fine) and carefully write the install key(s) on the original Adobe CD/DVD. When installing/re-installing, copy the install key off the media using your neck-top computer and a pencil. No problems.
    Guard the CD's with your life, preferably in a CD rack in a locked cabinet, with an ID tag/bar code on the case. You do have a Master Software database with all the current CD/DVDs and the required [update from] CD's, don't you? Of course you do! And all those lovely extras that came with earlier versions, like the 220 FREE Adobe Type 1 Typefaces that came with FrameMaker 5.5.6 - you didn't throw that out, did you?
    And you do update your asset register with each new item before tax filing time? Smart operator!!!

  • Flex Ant Tasks html-wrapper problem

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

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

  • UFT 12 trial version - License key problem

    Hi, I have downloaded UFTversion 12.50(Trial version) and trying to install it on a VM having OS "Windwos server 2008 R2 SP1". Installation is successful but when we launch it we are facing License Error. ESXi Server : 6.0 Please suggest me on this.  

    3111 wrote:
    Hi, I have downloaded UFTversion 12.50(Trial version) and trying to install it on a VM having OS "Windwos server 2008 R2 SP1". Installation is successful but when we launch it we are facing License Error. ESXi Server : 6.0 Please suggest me on this.  This Forum is the "Consumer Forum".  We don't deal with servers here. I suggest you ask in the Enterprise Forum:  http://h30499.www3.hp.com/ WyreNut

  • Does compiling an advanced datagrid using flex ant task require additional config other than the license property?

    Hi,
        I am trying to build my Flex app which uses the Advanced Data Grid in a couple of locations. Originally, when I built the app using the flex ant tasks, I noticed the Visualization Trial watermark show up on the screen. I then added the license tag with the serial number to my flex-config.xml and re-ran my ant build. The watermark goes away, but then when I look at the advanced datagrid, the datagrid shows up with the hierarchy, but the data does not display in the grid (only the group by nodes are visible, not the data for the leaf elements). This works fine when I build the app using my Flex Builder. Is there something I am missing or need to add to my flex ant task to make this work?
    Any help or guidance is much appreciated.
    The following is the ant task to build the module that uses the ADG:
        <target name="compile-modules" depends="compile-shared">
            <!-- Module 1 -->
            <echo>Compiling module 1...</echo>
            <mxmlc file="${modulesrc.dir}\ui\modules\mod1\Module1.mxml"
                    output="${dist.dir}\modules\mod1\Module1.swf"
                    actionscript-file-encoding="UTF-8"
                    incremental="true"
                    default-background-color="0xFFFFFF"
                    use-network="false"
                    load-externs="${extern-report-xml}">
                <load-config filename="${FLEX_HOME}/frameworks/flex-config.xml" />
                <source-path path-element="${FLEX_HOME}/frameworks"/>
                <!-- source paths -->
                <compiler.source-path path-element="${modulesrc.dir}"/>
                <!-- add external libraries -->
                <compiler.library-path dir="${main.dir}" append="true">
                    <include name="${lib.dir}"/>
                </compiler.library-path>
                <compiler.library-path dir="${FLEX_HOME}/frameworks" append="true">
                    <include name="libs" />
                    <include name="locale/{locale}" />
                </compiler.library-path>
                <compiler.debug>true</compiler.debug>
            </mxmlc>
        </target>
    And here is the ant task for the main application:
        <target name="compile-ui" depends="compile-modules">
            <mxmlc file="${src.dir}/MainApp.mxml" output="${dist.dir}/MainApp.swf"
                    actionscript-file-encoding="UTF-8" keep-generated-actionscript="false"
                    fork="true" maxmemory="1024m">
                <jvmarg value="-XX:MaxPermSize=256m"/>
                <load-config filename="${FLEX_HOME}/frameworks/flex-config.xml"/>
                <source-path path-element="${FLEX_HOME}/frameworks"/>
                <source-path path-element="${src.dir}"/>
                <source-path path-element="${main.dir}/locale/{locale}"/>
                <!-- List of SWC files or directories that contain SWC files. -->
                <!--<compiler.library-path dir="${FLEX_HOME}/frameworks" append="true">
                    <include name="libs" />
                    <include name="locale/{locale}" />
                </compiler.library-path>-->
                <compiler.library-path dir="${FLEX_HOME}/frameworks" append="true">
                    <include name="libs/datavisualization.swc" />
                    <include name="libs/flex.swc" />
                    <include name="libs/framework.swc" />
                    <include name="libs/rpc.swc" />
                    <include name="libs/utilities.swc" />
                    <include name="locale/{locale}" />
                </compiler.library-path>
                <compiler.library-path dir="${main.dir}" append="true">
                    <include name="${lib.dir}"/>
                </compiler.library-path>
                <runtime-shared-library-path path-element="${FLEX_FRAMEWORK}/framework.swc">
                    <url rsl-url="framework_3.2.0.3958.swf"/>
                    <url rsl-url="framework_3.2.0.3958.swz"/>
                </runtime-shared-library-path>
                <compiler.debug>true</compiler.debug>
            </mxmlc>
        </target>
    Regards,
    Purush

    to remove watermark i have added license key in WEB-INF\flex\license.properties file as key = value

  • Problem removing trial version of LiveCycle Designer in order to install new and input license key

    User installed the trial version and has been using it. Now that we have a license key to enter, they have tried to remove it so they can reinstall and enter the key. They get a mesage that there is a problem with the install and it will not remove it. We have tried to reinstall it. When they do that,  they receive message that the package is corrupt. We have downloaded the package fresh a number of times now.
    How can we remove the trial version so we can get it installed with the key ?
    I set up a second system and installed the trial version. I then removed it with no issue. I used the same package the user has downloaded.

    Please try this utility : http://support.microsoft.com/mats/program_install_and_uninstall/en
    -Wasil

  • PI 7.10 Problem applying NetWeaver_ORA (Standard) License Key in ABAP

    We are attempting to license our PI 7.10 (Windows 2003 /64 on Oracle
    10.2.0.4) installation, but are having problems. This is a dual stack
    installation (of course) and I have downloaded the requested license from
    service.sap.com. This is license type Standard (NetWearver_Ora). The
    license installs correctly and shows as valid in slicense, but in the
    area above the Installed Licenses in the Database, it shows RED for
    NetWeaver_Ora and says, "A valid license key for this software product is
    required to operate this system."
    When attempting to logon as a user other than sap*, we get a license
    failure and no logon.
    saplicense -get -- returns HARDWARE KEY = 01480339654
    Old licenses tab screen is blank (no licenses installed) as I have
    deleted the temporary license, thinking that the digital license had
    installed correctly.
    Digitally-Signed Licenses screen:
    (Red traffic signal) NetWeaver_ORA A valid license key for this software
    product is required to operate this system
    Installed Licenses in the Database
    (Green traffic signal) PID 01480339654 NetWeaver_ORA 30.09.2008
    31.12.9999 Perm 0020412052 000000000311063393 Valid
    No further entries on this screen.

    Hi All - This issue was resolved. Basically, I made copies of all the current profiles used by SAP and deleted the old ones. Then, I just simply renamed them to the old profiles names of the ones I just deleted and it seemed to have worked. It was probably one of those quirky things with Windows. Thanks! - Will S.

  • Flexunit ant task on CI Server - rundll32.exe causing problems

    My team is using flexunit and a CI server running Hudson. On a development system, everything runs fine, and we get the reports just like we need them. It also works fine on the CI server when just the flexunit task is run, but the build fails when the CI server tries to run a full build - the build tries to run the tests and clean to prepare for the next build, but the clean fails because there is a "rundll32.exe" process using one of the files and it can't be deleted. We tracked this process down to the one run by the flexunit task.
    Our task is:
        <target name="xci-test" depends="set-flex-coverage-home, prepare-domain-metadata-to-war, prepare-sounds-to-war, prepare-domain-metadata-for-testing, compile-unit-test-flex">
            <echo>**** The flexunit target requires that you have the standalone flash player installed and configured to run .swf files automatically! ****</echo>
            <mkdir dir="${dir.flexgui.test.output}"/>
        <!-- Execute TestRunner.swf as FlexUnit tests and publish reports -->
        <!-- Please see http://docs.flexunit.org/index.php?title=Ant_Task -->
        <flexunit workingDir="${dir.flexgui.test.output}"   
                  swf="${dir.flexgui.build.war}/${flex.swf.name}test.swf"
                  toDir="${dir.flexgui.test.output}"
                  haltonfailure="false" verbose="true" localTrusted="true"
                                port="11028" timeout="40000"/>
            <!-- Generate readable JUnit-style reports -->
            <junitreport todir="${dir.flexgui.test.output}">
                <fileset dir="${dir.flexgui.test.output}">
                    <include name="TEST-*.xml"/>
                </fileset>
                <report format="frames" todir="${dir.flexgui.test.output}/"/>
            </junitreport>
            <sleep seconds="10"/>
        </target>
    I can reproduce this behavior on my dev machine by running "ant xci-test clean". We tried putting a sleep in to give the process time to shut down, no change. We attempted to use the 'command' option to the flexunit task to bypass the use of rundll32.exe, but then the flash player just hangs onto the file and the clean still fails. Since "ant xci-test" followed by "ant clean" works, we also tried running ant from within ant in order to force the process to stop, but that also didn't work. Any help on this would be greatly appreciated.
    Thanks for your time,
    Linden

    @Linden - Have not heard of this side effect from anyone as of yet, but good to know.  Sounds like the file lock is coming from the Flash Player and causing the spawning process (rundll32.exe) to hang around as well.  The FlexUnit team runs on Hudson using the FlexUnit Ant task, but we don't seem to encounter the same issue.  What's the longest interval you've tried to use with the sleep task?  Does the FP ever release its handle to the test SWF on your development machines?
    Not sure this is a problem with the FlexUnit Ant task, but in 4.2 we could try to explicitly kill the rundll32 process since we'll have the PID when the task launches it.  Head on over to JIRA and file a feature request for us and I'll see what I can do in the new year.  In the short term though, maybe try upgrading your version of the stand alone debug flash player to see if that helps.  Has anyone else seen this issue?  Could you possible just move the clean target to be called before the xci-test target is run?  Just some suggestions.
    -Brian

  • Problems with wlserver ant task for WL 8.1

    hi
    i have a problem with using wlserver ant task for Weblogic 8.1
    basically i want to start the server that is already preconfigured and deploy
    one ear.
    here's what i do:
    <taskdef name="wlserver" classname="weblogic.ant.taskdefs.management.WLServer">
    <classpath refid="lib.classpath"/>
    </taskdef>
    <wlserver action="start" dir="D:/BEA/user_projects/domains/mydomain"
    output="wls81.log"/>
    (and then the deployment task - irrelevant here)     
    the classpath is generated automatically and includes all jars in the specific
    project directory:
         <path id="lib.classpath">
         <fileset dir="${proj.lib.dir}">
              <include name="**/*.jar"/>
         </fileset>
         </path>
    (weblogic.jar is there as well)
    the problem is when i run it, the following happens:
    - if i have action="start" (or no action attribute at all), i get the following
    exception:
    java.lang.NullPointerException
    at weblogic.Home.<init>(Home.java:29)
    at weblogic.Home.getInstance(Home.java:86)
    at weblogic.Home.getPath(Home.java:94)
    at weblogic.Home.getFile(Home.java:99)
    at weblogic.ant.taskdefs.management.WLServer.execute(WLServer.java:260)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:193)
    at org.apache.tools.ant.Task.perform(Task.java:341)
    at org.apache.tools.ant.Target.execute(Target.java:309)
    at org.apache.tools.ant.Target.performTasks(Target.java:336)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
    at org.apache.tools.ant.Main.runBuild(Main.java:609)
    at org.apache.tools.ant.Main.start(Main.java:196)
    at org.apache.tools.ant.Main.main(Main.java:235)
    - if i change it to action="startup" as specified on "wlserver Ant Task Reference"
    it seems that this task is skipped completely. no error messages, no stack trace,
    nothing. i tried -verbose and -debug options on ant, but there're no logs displayed
    whatsoever. it takes less than a second to run this task so i presume it's just
    getting skipped completely.
    i run this from the standalone Ant 1.5.4 on Windows environment.
    i've followed the topic "wlserver Ant task for WebLogic 8.1" where kind of similar
    problem is described but putting weblogic.jar on the system CLASSPATH is not an
    option for this project.
    anyone has any idea about how to get this going?
    cheers
    Andrei

    sounds bug to me. NPE should be correctly handled with appropriate error
    message. Please contact BEA support to log the call.
    "Andrei Rusakou" <[email protected]> wrote in message
    news:[email protected]...
    >
    hi
    i have a problem with using wlserver ant task for Weblogic 8.1
    basically i want to start the server that is already preconfigured anddeploy
    one ear.
    here's what i do:
    <taskdef name="wlserver"classname="weblogic.ant.taskdefs.management.WLServer">
    <classpath refid="lib.classpath"/>
    </taskdef>
    <wlserver action="start" dir="D:/BEA/user_projects/domains/mydomain"
    output="wls81.log"/>
    (and then the deployment task - irrelevant here)
    the classpath is generated automatically and includes all jars in thespecific
    project directory:
    <path id="lib.classpath">
    <fileset dir="${proj.lib.dir}">
    <include name="**/*.jar"/>
    </fileset>
    </path>
    (weblogic.jar is there as well)
    the problem is when i run it, the following happens:
    - if i have action="start" (or no action attribute at all), i get thefollowing
    exception:
    java.lang.NullPointerException
    at weblogic.Home.<init>(Home.java:29)
    at weblogic.Home.getInstance(Home.java:86)
    at weblogic.Home.getPath(Home.java:94)
    at weblogic.Home.getFile(Home.java:99)
    atweblogic.ant.taskdefs.management.WLServer.execute(WLServer.java:260)
    atorg.apache.tools.ant.UnknownElement.execute(UnknownElement.java:193)
    at org.apache.tools.ant.Task.perform(Task.java:341)
    at org.apache.tools.ant.Target.execute(Target.java:309)
    at org.apache.tools.ant.Target.performTasks(Target.java:336)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
    at org.apache.tools.ant.Main.runBuild(Main.java:609)
    at org.apache.tools.ant.Main.start(Main.java:196)
    at org.apache.tools.ant.Main.main(Main.java:235)
    - if i change it to action="startup" as specified on "wlserver Ant TaskReference"
    it seems that this task is skipped completely. no error messages, no stacktrace,
    nothing. i tried -verbose and -debug options on ant, but there're no logsdisplayed
    whatsoever. it takes less than a second to run this task so i presume it'sjust
    getting skipped completely.
    i run this from the standalone Ant 1.5.4 on Windows environment.
    i've followed the topic "wlserver Ant task for WebLogic 8.1" where kind ofsimilar
    problem is described but putting weblogic.jar on the system CLASSPATH isnot an
    option for this project.
    anyone has any idea about how to get this going?
    cheers
    Andrei

  • Problem with License key

    I have a license key that I get through my schools webside for the Adobe Design Standard CS6 (mac)
    Is there a reason as to why I keep getting "Please enter a valid serial number"? I've downloaded off the adobe site before and never had a problem. I have a history log on both my schools website and the "my products" section to verify that all the older keys I've used match up with the keys activated on the Adobe site.  Please Help!

    Hi KRamjattan,
    I have verified the serial key and it is valid serial number of Adobe Design Standard CS6(Mac).
    Please also private message me the screenshot of the problem.
    It will help us in order to isolate the issue.
    Regards,
    Sumit Singh

  • Problem in ant task "oracle:jaxwsGenImpl " on Jdev 11G Tech Preview 4

    I am running an ant task in Oracle JDeveloper 11g Tech Preview 4
    the Task is as follows :
    <target name="generate-from-wsdl5" >
    <oracle:jaxwsGenImpl
    wsdl="contract/wsdl/${SRC_WSDL}"
    />
    </target>
    The Output is :
    D:\Pras3\WebServiceRi\ws>ant generate-from-wsdl5
    Buildfile: build.xml
    [taskdef] File D:\Pras3\WebServiceRi\ws\oracle\antlib.xml does not exist
    generate-from-wsdl5:
    BUILD FAILED
    D:\Pras3\WebServiceRi\ws\build.xml:188: Problem: failed to create task or type antlib:oracle:jaxwsGenImpl
    Cause: The name is undefined.
    Action: Check the spelling.
    Action: Check that any custom tasks/types have been declared.
    Action: Check that any <presetdef>/<macrodef> declarations have taken place.
    This appears to be an antlib declaration.
    Action: Check that the implementing library exists in one of:
    -D:\Jdev11-Tecpr4\ant\lib
    -C:\Documents and Settings\jnandi\.ant\lib
    -a directory added on the command line with the -lib argument
    Total time: 0 seconds
    I am getting the above error can sommeone please help me and please tell me how to use the ant task "oracle:jaxwsGenImpl " on Jdev 11G Tech Preview 4 or Jdev 11G Tech Prev 4 dont support this
    Thanks and Regards
    Jyoti

    Hi,
    the JDeveloper 11 forum is: JDeveloper and OC4J 11g Technology Preview
    Frank

Maybe you are looking for

  • Different Scroll bars in one file

    I've manually customized the look and feel of the scroll bars for scroll pane component and it works fine. I've two different files that have different visual styles for scroll bars. Now I want to merge these two files meaning I want to have one file

  • Currency Conversion variables

    Hi, I have some reports in BEX and recently we got BO XI 3.1 latest release in our office. So, i started migrating all the reports to BO. Since my user dont want to use the BEX in going forward (not even BEX query). So im wondering abt the currency c

  • Licence query on font usage

    Hi, I tried to send this same query to Adobe Support but they are taking very long to answer and so I thought of posting the question here to have an idea about the answer I may receive from them. I would like to purchase an Adobe font in order to us

  • Example in abap technique

    i new in abap and i wont example in abap technique . simple example that i can learn from them .pdf or somthing else is very help.(i have the abap in 21 days but its old and not comprehensive. thankes

  • Encountering error getting file security when downloading iTunes software update

    Error messages indicates:   Error getting file secuirty:C:/ProgramData\Apple\Installer Cache\Apple Software Update 2.1.3.127\Get Last Error 5.    What should I do to correct this?  I have turned off McAfee firewall during installation as I thought th