FTE in MX controls via ANT

Hi Flexy community
Having some issues adding the FTE compiler options to ANT? currently I add it like so:
<compiler.theme append="true" file="${FLEX_HOME}/frameworks/projects/spark/MXFTEText.css" />
having gone through many blogs and posts I can not find anything?
Please help
Thanks
Tyrone

It might be worth noting what we are trying to achieve here, inside project properties (within Flash Builder) we have this very nice new sexy setting we can toggle "Use Flash Text Engine in MX Components" which I assume takes the MXFTEText.css and compiles it into our application giving all our neat MX components the same font based rendering as our Spark components.
This works very well but we can not reproduce this in our ANT build file and when hudson is finished doing it's magic tasks we end up with no text in all our pretty DataGrids etc....
1. Has anyone added this feature to ANT?
2. Would it be possible to just add the .css file as a stylesheet straight into our application and use it this way?
Any help would be greatly appreciated
Thanks in advance
Tyrone

Similar Messages

  • Problem creating JMS Error Destination via Ant in WLS 8.1

    We've got several JMS queues in our application. We create the server via Ant (using the wlconfig task).
    All is well, the queues have been working fine, until we try to add an error destination queue (after several attempts to handle the message, it'll be sent to the error queue for later troubleshooting).
    Here's an example of what we've got now:
    <create type="JMSQueue" name="batchQueue" property="jmsqueue">
        <set attribute="JNDIName" value="net.nike.cdm.batchQueue"/>
        <set attribute="RedeliveryLimit" value="5"/>
    </create>We create another queue to handle the errors, and then add an attribute to the first to point to the second:
    <create type="JMSQueue" name="batchErrorQueue" property="batchErrorQueue">
        <set attribute="JNDIName" value="net.nike.cdm.batchErrorQueue"/>
        <set attribute="RedeliveryLimit" value="5"/>
    </create>
    <create type="JMSQueue" name="batchQueue" property="jmsqueue">
        <set attribute="JNDIName" value="net.nike.cdm.batchQueue"/>
        <set attribute="RedeliveryLimit" value="5"/>
        <set attribute="ErrorDestination" value="${batchErrorQueue}"/>
    </create>This seems logical, because if we do this same exact operation via the console, the config.xml goes from this:
    <JMSQueue JNDIName="net.nike.cdm.batchQueue"
                Name="batchQueue" RedeliveryLimit="5"/>to this:
    <JMSQueue ErrorDestination="batchErrorQueue"
                JNDIName="net.nike.cdm.batchQueue"
                Name="batchQueue" RedeliveryLimit="5"/>
    <JMSQueue JNDIName="net.nike.cdm.batchErrorQueue" Name="batchErrorQueue"/>The error we get when trying to do this via Ant is:
    [wlconfig] A destination and its ErrorDestination must both be on the same JMS server. (The problematic destination is "batchQueue" on JMS server "cdmdomain"). Also, an ErrorDestination can not be null if the ExpirationPolicy for a destination is "redirect" and a destination can not specify itself as its ErrorDestination.Flipping on -verbose in Ant, the actual exception is:
    [wlconfig] SET -mbean cdmdomain:Name=batchQueue,Type=JMSQueue -property ErrorDestination cdmdomain:Name=batchErrorQueue,Type=JMSQue
    [wlconfig] A destination and its ErrorDestination must both be on the same JMS server. (The problematic destination is "batchQueue"
    s its ErrorDestination.
          [if] Error in class net.sf.antcontrib.logic.IfTask
    BUILD FAILED
    file:C:/viewstore/CDM_R6.5_Development/B2B_CDM/dev/build.xml:1399: Error invoking MBean command: java.lang.NullPointerException
           at weblogic.ant.taskdefs.management.WLConfig.handleException(WLConfig.java:567)
           at weblogic.ant.taskdefs.management.WLConfig.invokeCommand(WLConfig.java:381)
           at weblogic.ant.taskdefs.management.WLConfig.invokeSetCommand(WLConfig.java:235)
           at weblogic.ant.taskdefs.management.WLConfig.invokeCreateCommand(WLConfig.java:163)
           at weblogic.ant.taskdefs.management.WLConfig.executeCommands(WLConfig.java:106)
           at weblogic.ant.taskdefs.management.WLConfig.invokeCreateCommand(WLConfig.java:167)
           at weblogic.ant.taskdefs.management.WLConfig.executeCommands(WLConfig.java:106)
           at weblogic.ant.taskdefs.management.WLConfig.execute(WLConfig.java:89)
           at org.apache.tools.ant.Task.perform(Task.java:341)
           at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:117)
           at org.apache.tools.ant.Task.perform(Task.java:341)
           at net.sf.antcontrib.logic.IfTask.execute(Unknown Source)
           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
           at java.lang.reflect.Method.invoke(Method.java:324)
           at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:147)
           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)So, my question is, what are we doing wrong? What IS the syntax to set an error destination for a JMS queue via Ant for WLS 8.1?
    Any help would be greatly appreciated
    Thanks,
    Douglas Bullard

    I get exactly the same problem - was a resolution to this issue found?
    Thanks,
    Richard Marriott
    [email protected]

  • Function returning control via CType. Is this risk-free?

    I want an easy way to get a TabPage's child (user)control without writing CType() functions everywhere.
    For this I created a function that returns the control via CType:
    Private Function ChildIRCControl() As IRCControl
    Return CType(Me.TabControl1.TabPages(Me.TabControl1.SelectedIndex).Controls(1), IRCControl)
    End Function
    Now, is this risk-free to do or are there any chances that it will bug or don't work in some cases?
    Thanks
    //Visual Vincent
    EDIT:
    Now to rephrase and explain my badly written question:
    The user is able to create new tabs, and for each new tab a IRCControl (which is a UserControl) is added to the tab's controlcollection.
    Now there's no problem doing the above. BUT since the tabs are created programmatically, I cannot get the control inside the tabpage without some kind of cast function.
    Example of creating a new tab:
    Private Sub CreateNewTab()
    Dim IRCc As New IRCControl 'This is a normal UserControl.
    Me.TabControl1.TabPages.Add("New Tab")
    Me.TabControl1.TabPages(Me.TabControl1.SelectedIndex).Controls.Add(<a control that has nothing to do with this question>)
    Me.TabControl1.TabPages(Me.TabControl1.SelectedIndex).Controls.Add(IRCc)
    End Sub
    Now to access the UserControl in the currently selected tab I need some kind of Cast function. I use CType for this:
    CType(Me.TabControl1.TabPages(Me.TabControl1.SelectedIndex).Controls(1), IRCControl)
    But typing this long CType function in every If statement needed and every Loop used takes time, and is horrible to read.
    Now, will it work just like the normal CType if I access it like this instead?
    Private Function ChildIRCControl() As IRCControl 'The UserControl
    Return CType(Me.TabControl1.TabPages(Me.TabControl1.SelectedIndex).Controls(1), IRCControl)
    End Function
    Private Sub ModifyTextBox() 'Example
    ChildIRCControl().TextBox1.Text = "Hello World!"
    End Sub
    Hope this explanation is better for you guys, and sorry for not bringing all this up before.
    I hope your day has been better than yesterday, but that it's worse than tomorrow...
    Please mark as answer if I solved your problem. :)

    Now, is this risk-free to do or are there any chances that it will bug or don't work in some cases?
    To make it safe you would subclass the Tab and TabPage controls and make this method a function of the new Tab.  Then, that class would include code to ensure that only your custom tab pages were added, and that for each added tab page the first
    control was the correct type - presumably creating it automatically or from a value passed to it in the constructor.  That control is then a property of the tab page, and there is no need to use the Controls collection or do any type conversion.
    The problem is that you actually have no control over the order of items added into the Controls array if you are using the designer.   Even if you are sure that each tab page has one of the controls, it might not be at index 1.  
    You could scan the tab page Controls collection, but if there are several of that control type then you also need a way to know which one you really want.  That's what your code should be checking.   If you correctly identify the control in
    the collection there is no need for CType - it's already the correct type.   You can check the type without trying to do the conversion by using TypeOf.  See
    https://msdn.microsoft.com/en-us/library/0ec5kw18.aspx
    Thanks for the answer.
    I guess I could have added this to my initial question too: I'm creating the TabPages and UserControls programmatically and that's why I need to use some kind of Cast function. There are two controls in each tabpage, and they're added in this order:
    Private Sub <Some kind of sub>()
    Dim IRCc As New IRCControl 'The UserControl
    <The new TabPage>.Controls.Add(<The other control>)
    <The new TabPage>.Controls.Add(IRCc)
    End Sub
    So the only thing I wanted to know was if I could do this:
    If ChildIRCControl().TextBox1.Text = "blahablaha"
    ChildIRCControl().RichTextBox1.Text = "blabla"
    End If
    Instead of writing the long CType, or any other cast function all the time,
    If CType(Me.TabControl1.TabPages(Me.TabControl1.SelectedIndex).Controls(1), IRCControl).TextBox1.Text = "blahablaha" Then
    CType(Me.TabControl1.TabPages(Me.TabControl1.SelectedIndex).Controls(1), IRCControl).RichTextBox1.Text = " "blabla"
    End If
    as it's both a readability and writability nightmare.
    And at last I apologize for the badly explaining question that I wrote.
    I hope your day has been better than yesterday, but that it's worse than tomorrow...
    Please mark as answer if I solved your problem. :)

  • How to create user credit control via customization

    Hi !
    I have to create user credit control via Transaction :
    SPRO.
    path:
    Sales and Distribution->Basic Functions->Credit Management/Risk Management->Credit Management->Define Automatic Credit Control.
    I want to check the user checkbox, and create my logic
    of credit control.
    In the help of credit control screen, it says that i have
    to use user exits LVKMPTZZ and LVKMPFZ1.
    However when i looked for that user exits at SMOD
    that user exit don't exist !!!
    How do i use those user exits ? Why can't i find those user exit ?
    Can you give me please  a code example of how to use
    the user checkbox to change the logic of credit control ? or any material about the issue.
    thanks
    moshe

    Hi,
      You dont find the programs LVKMPTZZ and LVKMPFZ1 in SMOD transaction, check in SE38 by typing the program names, there you have the provision to write your custom code,
      As user exits are specific to the business, it would be difficult to send the sample code to cater the functionality expected by your business,
    Hope this helps,
    Rgds,

  • Spark Classes and Skins not being included when running FlexUnit task via Ant

    I have a series of unit tests that run on a spark component. This spark component has a custom skin defined for it, and that is working beautifully.
    Inside that component is a spark list... By default, after digging into the list code, spark lists should use a default skin called "BorderContainerSkin". When I run the application that uses this component directly (whether compiled via FlashBuilder or via Ant/Hudson), the component itself runs and looks exactly like I would expect. When I run my unit tests in the browser (via Run As Web Application command on my TestRunner), the unit tests all perform as expected.
    However, when I run the FlexUnit tests via Ant (either through windows non-headless, or linux headless), an exception is thrown with the following error:
    Error: Skin for FromToList132.FromToListSkin133.VGroup134.fromList cannot be found.
        at spark.components.supportClasses::SkinnableComponent/attachSkin()[E:\dev\4.x\frameworks\pr ojects\spark\src\spark\components\supportClasses\SkinnableComponent.as:632]
        at spark.components.supportClasses::SkinnableComponent/validateSkinChange()[E:\dev\4.x\frame works\projects\spark\src\spark\components\supportClasses\SkinnableComponent.as:405]
        at spark.components.supportClasses::SkinnableComponent/commitProperties()[E:\dev\4.x\framewo rks\projects\spark\src\spark\components\supportClasses\SkinnableComponent.as:419]
        at spark.components.supportClasses::ListBase/commitProperties()[E:\dev\4.x\frameworks\projec ts\spark\src\spark\components\supportClasses\ListBase.as:785]
        at spark.components::List/commitProperties()[E:\dev\4.x\frameworks\projects\spark\src\spark\ components\List.as:907]
        at mx.core::UIComponent/validateProperties()[E:\dev\4.x\frameworks\projects\framework\src\mx \core\UIComponent.as:7933]
        at mx.managers::LayoutManager/validateProperties()[E:\dev\4.x\frameworks\projects\framework\ src\mx\managers\LayoutManager.as:572]
        at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\4.x\frameworks\projects\framewo rk\src\mx\managers\LayoutManager.as:730]
        at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\4.x\frameworks\projects \framework\src\mx\managers\LayoutManager.as:1072]
    (Note: fromList is the id of the spark list used in the FromToList component.)
    The issue is that the "BorderContainerSkin" class isn't ever getting imported along the way. I did several things that worked to "fix" the problem, but they are all hacky and don't explain the root problem:
    1- If I explicitly import that skin into my test file, then everything works great.
    2- If I add the <includes> directive into my mxmlc task in the Ant file, and again specifically call out that skin class, then again it will work.
    However, how would I know what skins from the spark library are going to get included and which aren't? How would I know that a default skin isn't included or where to find it or even what it is?
    It seems like either I'm missing something in my Ant file or there is a serious bug here with the FlexUnit task. Can anyone shed light on if this is a known issue, any permanent fixes (that don't involve keeping track of a long list of strings of class references), or anything that I might be missing?
    Thank you for any help!

    Guessing the ant tasks aren't forcing the include of the spark skins libraries... which is a little silly. I would assume the compiler would take care of this but it is something we can investigate...
    Not 100% sure as to why, but this is what it sounds like.
    Mike

  • Can Wireless Home Audio products be controlled via IP with any other devices?

    I'm interested in knowing if the Wireless Home Audio Director, Conductor or Player can be controlled via IP with alternative controllers?  Specifically, I'm interested in integrating the products into a universal remote control or home control system and still have 2 way communications with feedback.  IP and RS232 are the most commons ways of accomplishing this.

    Hi,
    Maybe for basic functions like (play, stop, next) using the IR remote, a third party IR based universal remote may work but that's a big gamble to take, anyway what would be the purpose then of the Linksys DMRW1000 (IP based remote control) remote that Linksys is selling if its compatible with third party remotes.
    Wireless Home Audio remote
    Well that's my thoughts on this, I hope you'll find the device your looking for.

  • Error 1082 when setting Strings[] property of a menu ring control via property node.

    I've attached a VI in which I attempt to set the Strings[] property of a menu ring control via a property node.  Can anybody figure out what I'm doing wrong here?  I'm using LabView version 7.1.
    Thanks,
    Mark Moss
    Attachments:
    Bug Test.llb ‏69 KB

    Open up your Stations Parameters Control.ctl file and change it from a Strict Type Def. to just an ordinary Type Def. (the pull down menu is located next to the font selector).

  • Packaging .air file to .dmg via ANT

    First off, I hope someone sees this as this Archive thread is the only place the forum is allowing me to post my air related question.
    So, I'm having some trouble packaging (via ANT) my air 2.0 app into a .dmg file that can be run as a native installer.
    (I am running this on MacOSX 10.6.4 w/ a JRE 1.6.0_20)
    I should note that I can package a .dmg fine from the terminal via > adt -package -target native TestApp.dmg TestApp.air
    but attempting to do the same thing from an ANT task throws a host of various errors.
    For example :
    Running the following task throws errors saying that I have to include the signing options I used when I compiled the air app.
        <target name="package to dmg">
            <java jar="${ADT}" fork="true" failonerror="true" maxmemory="512m">
                <arg value="-package"/>
                <arg value="-target native"/>
                <arg value="TestApp.dmg"/>
                <arg value="TestApp.air"/>           
            </java>
        </target>
    Throws error :  [java] Signing options required to package from descriptor and fileset etc...
    My assumption is that this task should execute idential to the following terminal command :
    > adt -package -target native TestApp.dmg TestApp.air
    So I add my signing options and the compiler complains that now it can't see or load my app descriptor file.
    My understanding is that it shouldn't need the app descriptor since it already used that file when it compiled the swf into the air app?
        <target name="package to dmg"
            <java jar="${ADT}" fork="true" failonerror="true" maxmemory="512m">
                <arg value="-package"/>
                <arg value="-storetype"/>
                <arg value="${STORETYPE}"/>
                <arg value="-keystore"/>
                <arg value="${KEYSTORE}"/> 
                <arg value="-storepass"/>
                <arg value="${CERT_PASSWORD}"/>           
                <arg value="-target native"/> 
                <arg value="TestApp.dmg" />           
                <arg value="${DESCRIPTOR_FILE}"/>
                <arg value="-C"/>
                <arg value="${BUILD_DIR}"/>
                <arg value="."/>
            </java>
        </target>
    Throws error : error 301: Application descriptor missing/cannot be opened
    I have tried every combination of ADT arguments I can think of but to no avail.
    Like I said, I can compile the air app fine and launch it in the ADL as well as install it on my system, it's just the packaging to .dmg from ANT that is giving me pain.
    Any suggestions would be really appreciated.
    Thanks,
    Stephen
    Here is a link to my full build script that may help you see what's going on.
    http://www.quietless.com/tmp/build.xml
    properties files here:
    http://www.quietless.com/tmp/proj.properties
    http://www.quietless.com/tmp/cert.properties
    Message was edited by: braitsch

    Hi,
    Can you try this :
    <target name="package to dmg">
            <java jar="${ADT}"  fork="true" failonerror="true" maxmemory="512m">
                 <arg value="-package"/>
                 <arg value="-target"/>
                 <arg value="native"/>
                <arg value="TestApp.dmg"/>
                 <arg value="TestApp.air"/>           
            </java>
         </target>

  • Running FlexUnit4 tests via ant & Hudson?

    I'm just starting to move towards test driven development and I'm trying to figure out how to get continuous integration with FlexUnit4 working for our Flex projects & Hudson.
    I've got our project compiling in Hudson via ant but I'm not sure how to go about having ant/Hudson run the FlexUnit4 tests? Is there an ant task I'm supposed to use or something somewhere?
    Is there any documentation I should be reading? Forum/blog posts? I see a bunch of stuff about opening sockets and whatnot but I'm not sure if that's how it's supposed to work.
    Thanks for any pointers.

    Hi Brian,
    I downloaded the latest build and tried running the ant task in the CISample project on my dev box just to see if I could get it to work locally first. I got a big stack trace running this with flex 3.3 but it apeared to work better with flex 3.4. However the build failed running the "test" ant task. This was my output:
    init:
    compile:
        [mxmlc] Loading configuration file /opt/flex_sdk/3.4.0/frameworks/flex-config.xml
        [mxmlc] /home/jersinghaus/fu4/4.x/FlexUnit4SampleCIProject/bin/Main.swf (327000 bytes)
    test:
        [mxmlc] Loading configuration file /opt/flex_sdk/3.4.0/frameworks/flex-config.xml
        [mxmlc] /home/jersinghaus/fu4/4.x/FlexUnit4SampleCIProject/bin/TestRunner.swf (846287 bytes)
    [flexunit] Creating local trusted file
    [flexunit] opened server socket
    BUILD FAILED
    Error launching the test runner.
    So I thought I'd ask a few questions:
    1. Is there a log file somewhere that might give me some more detail as to the error?
    2. I'm familiar with fluint's test runner which is an air application which runs test suites inside modules compiled to swf's. (I'm sure you know all this ) But here it looks like you call flex with no air related calls.  Does CISample project and associated ant build script work for air applications?
    Thanks,
    Joe

  • Mac Mini with no monitor controlled via VNC - video output corrupt

    Hi,
    I have a Mini running with no monitor, mouse or keyboard connected (it's used as a Server for my music library) that I control via VNC on my Mac Book.
    Everything works fine until I ever have to reboot the Mini. After the reboot, logging into the machine via VNC shows all the video corrupt (jagged horizontal lines through the whole display making it totally undreadable).
    This happens both with ARD and Chicken of the VNC (tried both in case it was an issue with the VNC software).
    To fix it I have to connect a monitor to the Mini. Then I can just unplug the monitor again and the video output via VNC is fixed.
    Anyone have any ideas? It's driving me nuts
    Thanks,
    Neil

    After some more searching I stumbled across this thread on another forum;
    http://www.macusenet.com/archive/index-t-75211.html
    It seems that the problem can be avoided by connecting the DVI-S-Video adapter that ships with the Mini.

  • Wlst deploy via ant fails with NameNotFoundException

    All,
    I am trying to setup a deployment of a simple ear application to Weblogic using wlst via ant.
    The deployment keeps failing with a NameNotFoundException.
    ####<Sep 20, 2012 4:41:35 PM CDT> <Error> <Deployer> <osb2-dev-1> <WLS_APPMGD1> <[ACTIVE] ExecuteThread: '8' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1348177295661> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1348177287862' for task '131'. Error is: 'javax.naming.NameNotFoundException: Unable to resolve 'ejb.xxxxServiceSLSBLocalHome'. Resolved 'ejb'; remaining name 'xxxxServiceSLSBLocalHome''
    javax.naming.NameNotFoundException: Unable to resolve 'ejb.xxxxServiceSLSBLocalHome'. Resolved 'ejb'; remaining name 'xxxxServiceSLSBLocalHome'
    at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139)
    at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:252)
    Note that I struck out the actual service name with xxxx. Here is output from ant:
    wl-deploy-only:
    [wldeploy] weblogic.Deployer -verbose -upload -noexit -name xxxx -source artifacts\xxxx.ear -targets APPMGD_Cluster -adminurl t3://soaadmin-dev-1:7003 -user weblogic -password ******** -deploy -appversion anthill-2240
    [wldeploy] weblogic.Deployer invoked with options: -verbose -upload -noexit -name xxxx -source artifacts\xxxx.ear -targets APPMGD_Cluster -adminurl t3://soaadmin-dev-1:7003 -user weblogic -deploy -appversion anthill-2240
    [wldeploy] <Sep 20, 2012 4:01:34 PM CDT> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating deploy operation for application, xxxx [archive: artifacts\xxxx.ear], to APPMGD_Cluster .>
    [wldeploy] Task 129 initiated: [Deployer:149026]deploy application xxxx [Version=anthill-2240] on APPMGD_Cluster.
    [wldeploy] Task 129 failed: [Deployer:149026]deploy application xxxx [Version=anthill-2240] on APPMGD_Cluster.
    [wldeploy] Target state: deploy failed on Cluster APPMGD_Cluster
    [wldeploy] java.lang.Exception: [DeploymentService:290069]Commit failed message received for id: '1,348,174,902,597' . But exception details cannot be transported. Please look at target server log file for more details.
    [wldeploy]
    [wldeploy] java.lang.Exception: [DeploymentService:290069]Commit failed message received for id: '1,348,174,902,597' . But exception details cannot be transported. Please look at target server log file for more details.
    [wldeploy]
    [wldeploy]
    [wldeploy] Target Assignments:
    [wldeploy] + xxxx APPMGD_Cluster
    BUILD FAILED
    weblogic.Deployer$DeployerException: weblogic.deploy.api.tools.deployer.DeployerException: Task 129 failed: [Deployer:149026]deploy application xxxx [Version=anthill-2240] on APPMGD_Cluster.
    Target state: deploy failed on Cluster APPMGD_Cluster
    java.lang.Exception: [DeploymentService:290069]Commit failed message received for id: '1,348,174,902,597' . But exception details cannot be transported. Please look at target server log file for more details.
    java.lang.Exception: [DeploymentService:290069]Commit failed message received for id: '1,348,174,902,597' . But exception details cannot be transported. Please look at target server log file for more details.
    at weblogic.Deployer.run(Deployer.java:72)
    at weblogic.Deployer.mainWithExceptions(Deployer.java:62)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at weblogic.ant.taskdefs.management.WLDeploy.invokeMain(WLDeploy.java:420)
    at weblogic.ant.taskdefs.management.WLDeploy.execute(WLDeploy.java:349)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:357)
    at org.apache.tools.ant.Target.performTasks(Target.java:385)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1307)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1191)
    at org.apache.tools.ant.Main.runBuild(Main.java:758)
    at org.apache.tools.ant.Main.startAnt(Main.java:218)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
    Caused by: weblogic.deploy.api.tools.deployer.DeployerException: Task 129 failed: [Deployer:149026]deploy application xxxx [Version=anthill-2240] on APPMGD_Cluster.
    Target state: deploy failed on Cluster APPMGD_Cluster
    java.lang.Exception: [DeploymentService:290069]Commit failed message received for id: '1,348,174,902,597' . But exception details cannot be transported. Please look at target server log file for more details.
    java.lang.Exception: [DeploymentService:290069]Commit failed message received for id: '1,348,174,902,597' . But exception details cannot be transported. Please look at target server log file for more details.
    at weblogic.deploy.api.tools.deployer.Jsr88Operation.report(Jsr88Operation.java:542)
    at weblogic.deploy.api.tools.deployer.Deployer.perform(Deployer.java:140)
    at weblogic.deploy.api.tools.deployer.Deployer.runBody(Deployer.java:88)
    at weblogic.utils.compiler.Tool.run(Tool.java:158)
    at weblogic.utils.compiler.Tool.run(Tool.java:115)
    at weblogic.Deployer.run(Deployer.java:70)
    at weblogic.Deployer.mainWithExceptions(Deployer.java:62)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at weblogic.ant.taskdefs.management.WLDeploy.invokeMain(WLDeploy.java:419)
    at weblogic.ant.taskdefs.management.WLDeploy.execute(WLDeploy.java:349)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:357)
    at org.apache.tools.ant.Target.performTasks(Target.java:385)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
    at org.apache.tools.ant.Main.runBuild(Main.java:758)
    at org.apache.tools.ant.Main.startAnt(Main.java:217)
    ... 2 more
    Total time: 25 seconds
    I tried redeploy instead of undeploy, but is still fails. Is there anything I am missing?
    Thanks.
    Edited by: 960582 on Sep 21, 2012 7:18 AM

    Kal, that parameter did not solve the problem. I added it under JAVA_OPTIONS in:
    ${oracle.home}\user_projects\domains\osb_domain\bin\startWebLogic.cmd
    I am still getting an exception. The new deployment only gets picked up after the managed servers are bounced. Any idea what could be going on?

  • A lab view VI to control a tank system which is controlled via 3 solenoid valves

    a lab view VI to control a tank system which is controlled via 3 solenoid valves

    Perhaps he's asking for bids for the job. If so, perhaps posting in the LabVIEW Job Openings would garner more responses.

  • Precompile jsps via ant

    I have a development project that has been setup to use JDeveloper 10.1.3.5.0 to create and EAR for deployment. The EAR is comprised of three sub applications - appData, appEjb, appWeb. Each subapplication has its own resource to deploy in JDeveloper. The appWeb has an additional resource defined in JDeveloper to deploy the EAR.
    I am attempting to move the build process out of JDeveloper and into ant in order to integrate the application with an automated build management framework.
    I have been successful in creating an ant build.xml to pull the code from source control, compile the three subapplications, jar the appData, and jar the appEjb. The issue I am having is precompiling the jsp files in the appWeb.
    The JDeveloper resource for appWeb.deploy precompiles all the jsps and packages the jsp class files along with all the other appWeb content as part of the appWeb.war.
    I thought JDeveloper was utilizing an internal J2EE standalone OC4J. I created a classpath and taskdef as follows
    <path id="ojspc.classpath">
    <fileset dir="jdevstudio">
    <include name="**/*.jar"/>
    </fileset>
    <pathelement location="${env.JAVA_HOME}/lib/tools.jar" />
    <pathelement location="${outDir}/appData"/>
    <pathelement location="${outDir}/appWeb"/>
    <pathelement location="${outDir}/appEjb"/>
    </path>
    <taskdef name="ojspc" classpathref="ojspc.classpath" classname="org.apache.tools.ant.taskdefs.optional.jsp.OjspC" />
    My original attempts had a much more constrained classpath definition (using the classpath found in the manifest file within j2ee\home\ojspc.jar); however, ant is unable to find the OjspC class and thus I expanded the classpath to include all jar files.
    After reading through blogs, forums, and documentation, I am unable to figure out how to define a task within ant to precompile the jsps in my project which mirrors the work being done via the JDeveloper deploy resource. Does anyone know the actual class to use for precompiling the jsps?
    Any help is greatly apprciated,
    /dclink

    GR wrote:
              > Is there any ant task for precompiling jsp provided by weblogic 8.1.2?
              > (Ant's wljspc doesnt work with 8.1.2).
              Have you tired a regular java task that calls the class weblogic.jspc?
              A little more direct but I imagine it would work
              ~Ryan
              

  • Flex 2 charting trial watermark appears when building via Ant

    The trial watermark appears when building with the flex Ant
    tasks, but not via Flex Builder 2. I believe the Ant tasks set up
    the compiler options with the same arguments in FB, and the build
    library path is also the same, but the trial watermark still
    appears.
    The charting source has been extracted into the Flex SDK 2
    directory, and the license key appears in the
    frameworks/license.properties file. As far as I know, these are the
    only steps needed to install the paid version of the charting
    tools. If I missed something, please let me know.
    Thanks in advance,
    KaJun

    Just an update on this issue:
    If I run the mxmlc compiler from the command line, I found
    that the output .swf does not have the watermark. It seems to be a
    bug in the Adobe Flex Ant tasks. I've changed the build script to
    use an exec call to the compiler instead.
    Thanks,
    KaJun

  • Does System Preferences support brightness control via DDC/CI with Dell Monitors?

    I had a Dell 21.5" monitor, which was previously connected to a Windows PC via its DVI port, which has no problem with DDC/CI.
    My question is, through Apple's adapter, can I control a non-Apple display within System Prefrences

    System Preferences - Displays

Maybe you are looking for

  • Simple question about getURL

    Newbie here...I'm trying to stop an animation from repeating and have a button get a URL. Should be simple but having trouble. Please help. Last frame in actions layer : stop(); Button layer last frame has the following: learnmore_btn.addEventListene

  • Iphone keeps crashing randomly

    My iphone was fine for like 2 years then it started randomly crashing... It would crash in the middle of a song with the ipod app, it would crash during an app and sometimes even in the middle of a sync or a restore... It would go white with lines an

  • AC3 Question - A.pack??

    Hi, I have a large project, too large for DVDSP v.3 to fit on a 4.7GB DVD-R. I have heard that converting my aif audio files to AC3 can free up some space. The problem is, I can't find any way to convert them. I have FCP 4.5 which as far as I can see

  • How to add wps network by pin code in airport 6?

    i can do that in airport 5 by choosing base station->add wireless net work. however i can not find it in airport 6. i don't mind apple to simplyfy general operation, but maybe it should provide some methods to advance operations

  • Iphoto Itunes Organization

    I love the way itunes organizes music via it makes folders & folders of artist & album all organized in the finder, i am trying to do the same with all my photos....is there anyway way iphoto can super automaticly organize my pictures like itunes & c