Urgent issues involving the invokeDDX operation

Hi all,
I have been developing a process which takes xml from a client input, converts that xml into a ddx document, and then uses that DDX document to render a form. This has been working for months now, but all of a sudden I started getting this error:
com.thoughtworks.xstream.converters.ConversionException: takeOwnership : Class name takeOwnership from package  not found. : takeOwnership : Class name takeOwnership from package  not found.
---- Debugging information ----
message             : takeOwnership : Class name takeOwnership from package  not found.
cause-exception     : com.thoughtworks.xstream.mapper.CannotResolveClassException
cause-message       : takeOwnership : Class name takeOwnership from package  not found.
class               : com.adobe.livecycle.assembler.client.AssemblerOptionSpec
required-type       : com.adobe.livecycle.assembler.client.AssemblerOptionSpec
path                : /com.adobe.livecycle.assembler.client.AssemblerOptionSpec/takeOwnership
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:89)
    at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnma rshaller.java:63)
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76)
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:60)
    at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:137)
    at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarsh allingStrategy.java:33)
    at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:923)
    at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:909)
    at com.thoughtworks.xstream.XStream.fromXML(XStream.java:853)
    at com.thoughtworks.xstream.XStream.fromXML(XStream.java:845)
    at com.adobe.idp.dsc.datatype.impl.DefaultTextSerializer.deserializeValue(DefaultTextSeriali zer.java:59)
    at com.adobe.workflow.engine.PEUtil.processMapping(PEUtil.java:1051)
    at com.adobe.workflow.engine.PEUtil.invokeAction(PEUtil.java:798)
    at com.adobe.idp.workflow.dsc.invoker.WorkflowDSCInvoker.transientInvoke(WorkflowDSCInvoker. java:347)
    at com.adobe.idp.workflow.dsc.invoker.WorkflowDSCInvoker.invoke(WorkflowDSCInvoker.java:158)
    at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:140)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.interceptor.impl.DocumentPassivationInterceptor.intercept(DocumentPassi vationInterceptor.java:53)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)
    at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTr ansactionCMTAdapterBean.java:357)
    at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doRequiresNew (EjbTransactionCMTAdapterBean.java:299)
    at sun.reflect.GeneratedMethodAccessor600.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
    at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:237)
    at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:158)
    at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:169)
    at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
    at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
    at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:404)
    at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
    at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
    at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
    at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:138)
    at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
    at org.jboss.ejb.Container.invoke(Container.java:960)
    at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:430)
    at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)
    at $Proxy378.doRequiresNew(Unknown Source)
    at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:143)
    at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStra tegyInterceptor.java:55)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:188)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:121)
    at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:129)
    at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.invoke(AbstractMessageReceiv er.java:329)
    at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapSdkEndpoint.invokeCall(SoapSdkEndpoint. java:139)
    at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapSdkEndpoint.invoke(SoapSdkEndpoint.java :81)
    at sun.reflect.GeneratedMethodAccessor760.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)
    at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
    at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
    at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
    at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
    at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
    at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
    at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
    at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
    at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at com.adobe.idp.dsc.provider.impl.soap.axis.InvocationFilter.doFilter(InvocationFilter.java :43)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at com.adobe.idp.um.auth.filter.CSRFFilter.doFilter(CSRFFilter.java:41)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.ja va:179)
    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
    at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java: 157)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.ja va:580)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    at java.lang.Thread.run(Unknown Source)
Caused by: com.thoughtworks.xstream.mapper.CannotResolveClassException: takeOwnership : Class name takeOwnership from package  not found.
    at com.thoughtworks.xstream.mapper.DefaultMapper.realClass(DefaultMapper.java:68)
    at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
    at com.thoughtworks.xstream.mapper.DynamicProxyMapper.realClass(DynamicProxyMapper.java:71)
    at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
    at com.thoughtworks.xstream.mapper.PackageAliasingMapper.realClass(PackageAliasingMapper.jav a:88)
    at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
    at com.thoughtworks.xstream.mapper.ClassAliasingMapper.realClass(ClassAliasingMapper.java:86 )
    at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
    at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
    at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
    at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
    at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
    at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
    at com.thoughtworks.xstream.mapper.ArrayMapper.realClass(ArrayMapper.java:96)
    at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
    at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
    at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
    at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
    at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
    at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
    at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
    at com.thoughtworks.xstream.mapper.CachingMapper.realClass(CachingMapper.java:52)
    at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.determineType( AbstractReflectionConverter.java:347)
    at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(Ab stractReflectionConverter.java:208)
    at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(Abst ractReflectionConverter.java:162)
    at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82)
    ... 95 more
The above error happens when the process hits the "invokeDDX" operation.
I have never seen this before, and need an urgent solution for this issue. I'm running Livecycle Server 9.0 on MS Server 2008(VM).
Any help would be GREATLY appreciated...
Regards
Ross Malan

I haven't seen this particular error, or the "takeownership" class.    The only take ownership thing I am familiar with is content space module. 
Is either the DDX or one of the files to be assembled stored in Content Space?   If so, does the invokeDDX service work when files are not in Content Space?

Similar Messages

  • An urgent issue of the XMLEncoder.

    Hi, all.
    I have a very urgent problem of the XMLEncode.
    Background:
    My project is a web project, and the flows are as follow:
    1. Get data entity from db by using toplink.
    2. Set the data into a domain entity for a page.
    3. Use XMLEncoder to convert the domain entity to an XML stream
    4. Use Transformer to transform the XML stream to http response and displayed in the client browser with the XSL files.
    Issue:
    When two or more users visit the same page by the browser at the same time, the weblogic server will throw this exception:
    java.lang.NullPointerException
    Continuing ...
    java.lang.Exception: discarding statement XMLEncoder0.writeObject(SearchWkOrdTyS
    tDomainEntity0);
    Continuing ...
    I've found and read these two articles
    http://forum.java.sun.com/thread.jsp?thread=262946&forum=62&message=1002333
    and
    http://forum.java.sun.com/thread.jsp?forum=63&thread=532252&tstart=30&trange=15
    and know that it maybe cause by the Serialization of the classes, but I cannot find the method to solve this problem.
    The code which I use to convernt the domain entity object to an XML document are as follow:
      public static Document object2Document(Object o)
      throws ReeferMnRException
        if (o==null) return null;
        Logger logger = LoggerFactory.getInstance().getLogger(XMLUtil.class.getName());
        logger.debug("Get into XMLUtil.object2Document===========================");
        try{
          ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
          XMLEncoder e = new XMLEncoder(
              new BufferedOutputStream(
              byteArrayOutputStream));
          e.writeObject(o);
          e.close();
          DocumentBuilderFactory documentBuilderFactory = DocumentBuilderFactory.
              newInstance();
          documentBuilderFactory.setNamespaceAware(true);
          StringBufferInputStream in = new StringBufferInputStream(new String(
              byteArrayOutputStream.toByteArray()));
          Document document = documentBuilderFactory.newDocumentBuilder().parse(in);
          return document;
        }catch(SAXException e){
          logger.error("XMLUtil-->object2Document-->SAXException:" + e.getMessage());
          throw new ReeferMnRException(
              ReeferMnRException.APPLICATION_SERVER_ERROR, ReeferMnRException.EXCEPTION);
        }catch(ParserConfigurationException e){
          logger.error("XMLUtil-->object2Document-->ParserConfigurationException:" + e.getMessage());
          throw new ReeferMnRException(
              ReeferMnRException.APPLICATION_SERVER_ERROR, ReeferMnRException.EXCEPTION);
        }catch(IOException e){
          logger.error("XMLUtil-->object2Document-->IOException:" + e.getMessage());
          throw new ReeferMnRException(
              ReeferMnRException.APPLICATION_SERVER_ERROR, ReeferMnRException.EXCEPTION);
        }catch(Exception e){
          logger.debug("XMLUtil-->object2Document-->Exception:" + e.getMessage());
          logger.error("XMLUtil-->object2Document-->Exception:" + e.getMessage());
          throw new ReeferMnRException(
              ReeferMnRException.APPLICATION_SERVER_ERROR,
              ReeferMnRException.EXCEPTION);
      }and an example of my domain entity to be convert into an XML document are as follow:
    package reefer.mnr.domain.entity;
    public class AbnInfoDomainEntity {
      private java.lang.String abnC;
      private java.lang.String abnId;
      private java.lang.String abnSubC;
      private java.lang.String abnSubDesc;
      private java.lang.String crtDt;
      public java.lang.String getAbnC() {
        return abnC;
      public java.lang.String getAbnId() {
        return abnId;
      public java.lang.String getAbnSubC() {
        return abnSubC;
      public java.lang.String getAbnSubDesc() {
        return abnSubDesc;
      public java.lang.String getCrtDt() {
        return crtDt;
      public void setAbnC(java.lang.String abnC) {
        this.abnC = abnC;
      public void setAbnId(java.lang.String abnId) {
        this.abnId = abnId;
      public void setAbnSubC(java.lang.String abnSubC) {
        this.abnSubC = abnSubC;
      public void setAbnSubDesc(java.lang.String abnSubDesc) {
        this.abnSubDesc = abnSubDesc;
      public void setCrtDt(java.lang.String crtDt) {
        this.crtDt = crtDt;
    }Anyone know how to can solve this problem?
    Thanks any more.

    public static Document object2Document(Object o)Is XMLUtil implemented as a singleton? Is this method in a servlet class? Like the doctor says, remove the "static" keyword and try it.
    public Document object2Document(Object o) { ... }
    After that, I would try it with the "synchronized" keyword.
    public synchronized Document object2Document (Object o) { ... }
    And then try it with synchronized code block:
    // This code writes the XML file of the object parameter
    synchronized (this) {
    ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
    XMLEncoder e = new XMLEncoder(
    new BufferedOutputStream(byteArrayOutputStream));
    e.writeObject(o);
    e.close();
    // This code returns XML document to calling object
    DocumentBuilderFactory documentBuilderFactory = DocumentBuilderFactory.newInstance(); documentBuilderFactory.setNamespaceAware(true);
    StringBufferInputStream in = new StringBufferInputStream(new String( byteArrayOutputStream.toByteArray()));
    Document document = documentBuilderFactory.newDocumentBuilder().parse(in);
    return document;

  • Very urgent Issue - Convert the hours into Minutes

    Hello Guys,
    I have an infoobject zkabc, which is having hour information.
    eg: 24.588, which means 24 hrs and 30 min (..588 hrs).
    I want to display the infoobject value from 24.588 to 24.30 (24 hrs 30 minutes) is it possible in BEx.
    Issue critical.
    Thanks,
    Pratap

    Hello Kapadia,
    I have a small issues in the solution you gave me.
    I am getting the correct values when i implement the below formula you gave me.
    But i am getting incorrect values when i want to have average values.
    Lets say,
    I have 3 records in 2007 05 ( may month)
    I am getting the correct data for the 3 records, but when i have result for the 2007 05 month its giving different values.
    eg:
    K1(plant)     2007(yr)     May     5/29/2007     9.06     15.29     24.35
                   5/30/2007     7.50     21.43     29.33
                   5/31/2007     7.36     15.25     23.01
                                           Result     3.02     7.14     9.78
    It should be  sum of 3 records / no of records)
    Could you please explain how to solve the issue. Issue very critical.
    Thanks,
    Pratap.

  • Urgent: Issue with the size of an xls file generated from a rtf template

    Hi all,
    I have a template.rtf
    In BI, when I get the file in excel format and save it, the size of the report is 32 MB. When I just "save as" the same report, without changing anything, the size of the report is 8 MB.
    Do you know how to get directly the report with the size 8 MB or would you have some guidelines to avoid this issue.
    Thank you in advance,
    Sonia.

    Thank you Kurz for your answer. I'm going to try to be more precise.
    Actually I'm not in EBS. I generate the output (xls format) direclty from BIP.
    The DB of my application can't be requested directly, then I use HTTP request.
    From BIP, I launch the report choosing excel as output - the template is an rtf template.
    I have been requested to open or save the xls file that I save (32 MB).
    I open the excel file, save it again and the size of the file is now 8 MB.
    Regards,
    Sonia.

  • Urgent-Issue in the Dimension tables

    Hi Experts,
    Question1:
    I have a flat file load to a cube.this flat file has 1.5 mil records.One of the dimension created has a 2 dates(original date & current date) assigned.
    When i look at dimension table for # entries is 30million.And when i look at the table i see the sids as 0,0 ( for 2 dates) and dim id's being creted.
    When i did a search on the dimension table with current date & original date as not equal to 0.I see only 76,000 records.
    Question 2:
    we have an ODS which loads to the cube.In the process chain we have program that deletes the data in ods which does not match some conditions and then loads it tot he cube.
    My question is,since we are not deleting contents from the cube and reloading it from the ODS(Full update).Will i not be seeing same records coming in with Full update which get agrregated in the cube.
    Ex: i have a record in ODS.
    A   X  Z  100  1000
    After full update to the cube,the cube would have
    A   X  Z  100  1000
    When i run the process chain and data is dleeted from ODS on some condition and i still have hte same record in ODS and when this loads into cube wont this be aggregated with the previous record.
    A  X   Z  200  2000
    Would appreciate,if anyone could explain if i am missing anything.

    Hello,
    If you can't see the SID means you have not loaded the master data, that why there is no reference to the SID table and the values are 0.
    InfoCube by default will have aggregated values, when there are duplicate records on the Keyfigures will be aggregated.
    For example I have a Material Dimension and Customer Dimension
    In the fact table,  it will be like this
    DIM1     DIM2    KF1   KF2
    Mat001  Cust1  100    10
    Mat001  Cust2  200    5
    for this there will be 1 entry in Material DIM table for Mat001 and 2 entries for Customer DIM table for Customer Cust1 and Cust2.
    Material  Dimension
    DIM ID    SID
    1             Mat001  (Here it will be SID from Material Master)
    Customer Dimension
    1             Cust1  (Here it will be SID from Customer Master)
    2             Cust2  (Here it will be SID from Customer Master)
    Note : DIM ID is the combination of one or more SID in the dimension table.
    So the exact fact table will look like
    MATDIM    CUSDIM       AMT      QTY
    1               1                  100        10
    1               2                  200        5
    If you load the data again with same characteristics values then the key figure will be aggregated
    Example if you load
    Mat001 Cust2 25 5
    then the fact table will not have a new entry instead the it will aggregates and looks like (bolded one)
    MATDIM    CUSDIM       AMT      QTY
    1               1                  100        10
    1               2                  220        10
    Hope its clear
    thanks
    Chandran

  • Cross-post: Using the "as" operator vs casting

    I'm cross posting this because it is technically an
    Actionscript question, but it has real Flex consequences.
    I've recently been reading the docs regarding data types in
    AS3 and am still not clear on a few things. If anyone has blogged
    on this, please point me there.
    One problem is that "casting" syntax is the same as top-level
    function syntax. Compare String(objString) to XML(event.result).
    The latter is a top-level function, but the former is a "cast". Or
    is it?
    An option to the String cast is objString.toString(). What is
    the difference? I am not so much interested in the underlying
    details of the language, as in understanding when to use which.
    The same question exists for the top-level function
    XML(event.result), which can be done with the "as" operator:
    event.result as XML. When to use which? Are there performance
    issues? The "as operator" documentation is unsatisfying.
    Any discussion of this will be appreciated.
    Tracy

    Maltus now I'm totally confused.
    The Flex manual in the TOP LEVEL section (Guess TOP LEVEL
    means that they don't belong to any package) clearly states this
    functions:
    Function Description
    Array Creates a new array.
    Boolean Converts the expression parameter to a Boolean value
    and returns the value.
    decodeURI Decodes an encoded URI into a string.
    decodeURIComponent Decodes an encoded URI component into a
    string.
    encodeURI Encodes a string into a valid URI (Uniform
    Resource Identifier).
    encodeURIComponent Encodes a string into a valid URI
    component.
    escape Converts the parameter to a string and encodes it in
    a URL-encoded format, where most nonalphanumeric characters are
    replaced with % hexadecimal sequences.
    int Converts a given numeric value to an integer value.
    isFinite Returns true if the value is a finite number, or
    false if the value is Infinity or -Infinity.
    isNaN Returns true if the value is NaN(not a number).
    isXMLName Determines whether the specified string is a valid
    name for an XML element or attribute.
    Number Converts a given value to a Number value.
    Object Every value in ActionScript 3.0 is an object, which
    means that calling Object() on a value returns that value.
    parseFloat Converts a string to a floating-point number.
    parseInt Converts a string to an integer.
    String Returns a string representation of the specified
    parameter.
    trace Displays expressions, or writes to log files, while
    debugging.
    uint Converts a given numeric value to an unsigned integer
    value.
    unescape Evaluates the parameter str as a string, decodes
    the string from URL-encoded format (converting all hexadecimal
    sequences to ASCII characters), and returns the string.
    XML Converts an object to an XML object.
    XMLList Converts an object to an XMLList object.
    So how do I do a XML type casting without using the XML
    function for example? or is it the same?

  • Using the "as" operator vs casting?

    I've recently been reading the docs regarding data types in
    AS3 and am still not clear on a few things. If anyone has blogged
    on this, please point me there.
    One problem is that "casting" syntax is the same as top-level
    function syntax. Compare String(objString) to XML(event.result).
    The latter is a top-level function, but the former is a "cast". Or
    is it?
    An option to the String cast is objString.toString(). What is
    the difference? I am not so much interested in the underlying
    details of the language, as in understanding when to use which.
    The same question exists for the top-level function
    XML(event.result), which can be done with the "as" operator:
    event.result as XML. When to use which? Are there performance
    issues? The "as operator" documentation is unsatisfying.
    Any discussion of this will be appreciated.
    Tracy

    ActionScript 3.0 has the
    as operator because it circumvents a deficiency with the
    cast operation () in ActionScript. Consider this:
    var a:Object = new Array(1,2,3,4);
    var b:Array = Array(a);
    What is b? It is an Array of 1 element: [ [1,2,3,4] ];
    The
    as operator takes care of this:
    var b:Array = a as Array;
    The actual difference in the operators is that if the
    variable being cast is not of the proper type, the
    as operator returns null while the () operator throws an
    exception:
    var j:Number = Number(a); // exception!
    var k:Number = a as Number; // NaN in this case, but null
    normally
    The feeling here at Adobe is to use the
    as operator since it is not ambiguous and just check for
    null. If you prefer to catch exceptions and know when X(y) is a
    cast vs a conversion, then use that. More of a preference but at
    times only
    as will do what you need.

  • Has anyone had any issues with the sleep indicator light?

    I have a 15.4-inch MacBook Pro 2.8 GHz (Late 2009) and recently I have noticed some issues involving the sleep indicator light and my Mac sleeping.
    I learned that the sleep indicator light is supposed to be on when you press the power button until the chime sounds and then its supposed to be recognized when the computer sleeps or when the lid is closed.
    Lately, the sleep indicator light has not be working when the computer boots (it still chimes), when the computer shuts down or when the computer is sleeping. The computer still sleeps if you close the lid, but it acts up when you don't and use the Apple menu (Apple > Sleep), keyboard shortcuts (CmdOptionMedia Eject) or use the power button and select "Sleep". Usually when I use this method instead of closing the lid, the authentication login window appears and when I click "cancel", the computer sleeps.
    But still the sleep indicator light does not appear any time. I'm wondering if I need to get my Mac serviced. I still have a 2-year Best Buy Geek Squad warranty on the MacBook Pro.
    +It is weird that this is happening to me, cause my computer is only 1 year and 4 months old.+
    Is there anything you know that would help fix this issue.
    Message was edited by: studabaker
    Message was edited by: studabaker

    The microUSB cables are fairly common... most portable electronics today use them for file transfer/charging.
    If the user does not own one, they can be purchased from most retailers fairly inexpensively.

  • How do you fix the issues with the OS X mountain lion? Screen freezes pages just swipe on own

    Having issues with the lion operating system

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, or by corruption of certain system caches. 
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. Note: If FileVault is enabled on some models, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including sound output and  Wi-Fi on certain models. The next normal boot may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin. Test while in safe mode. Same problem? After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.

  • How to put check box in a table format at the out put ?  Urgent issue...

    Hi,
    I am working an assignment to assign multiple roles for multiplr user.
    In selection screen we have to enter mutiple EMPNO from ..to
    1)  in second screen we will get the empno, First name, last name,  Position,
        From  date, To date, Sap user ID, Email id in the table formate with first
        column  with Check box.
    2) In second screen below the table I have to place the multiple roles just like in
       the step  loop format and below this one Execute button should be there.
    If we select the multiple employees or single employee and place the multiple roles or single roles and if I click the execute button then the multiple roles will be assigned to the multiple employees. The empno and roles will come from table and step loop to internal table and the same will pass to the BDC.
    For this requirement I prepered recording for Transaction PFCG. But I can't understand how to design the second screen that table format and the step loop format. Can anybody give any idea or any coding to design  the second screen.
    and how to meet the requirement. This is urgent issue. Good SDN points will be reworded.
    Witing for kind response.
    Thanks in advance.
    Bansidhar

    Hi upendra
    There are slight changes in the sivas code.Where is the data coming into the table.If its from a Model Node then iterate each element of the source node get that value compare and set the corresponding value in the element of the node binded to table.
    Create a boolean attribute "select" in the table node and bind it to checked property of the check box.
    for(int i=0;i<wdContext.node<tablenode>()..size();i++)
    if(wdContext.node<tablenode>().get<tablenode>ElementAt(i).select())
    wdContext.node<tablenode>().get<tablenode>ElementAt(i).set<yourattribute>(true);
    else
    wdContext.node<tablenode>().get<tablenode>ElementAt(i).set<yourattribute>(false);
    See the attribute is boolean so pass true or false as a values in setter methods.
    Regards
    Kalyan

  • Restricting the movement types...........URGENT ISSUE

    Hi.. Every body,,,
    Actully 'm, a basis consultant , i have problem with mb1b Transaction code..
    Myproblem is
    i have 4 plants 1,2,3,4 now i want to restrict the goods transfer between these plants like
    01---02 -
    accepted
    0201--
    accepted
    0103--
    not accepted
    0104--
    not accepted
    0203--
    not accepted
    0204--
    not accepted
    And 1,2,3,4 plants must transfer goods to vendor
    i'm trying by using movement types 301 for plant to plant transfer and 541 for plant to vendor
    i have created two roles in one i was restricted company code 1 and 2 with movement types 301 and 541
    and in another role i was resricted comany code 3 and 4 with movement type 541 only..
    If i give thes two roles to diffrent users it is working fine, but if i give to same user but it is not working..
    I don't have functional kw......This is an urgent issue.......please suggest how to restrict..

    Hi.........T'X for responding imm....
              But i have tried ,what u said , still same problem...please provide some more inputs...

  • Registry issue when invoking the save_business operation

    When, I invoke the save_business operation on the UDDI_Publication_PortType I get the stack trace below. This really puzzles me because I've sent in a few different messages that validate against the uddi_v3.xsd.
    Anybody know how to determine which element or attribute it's choking on?
    org.idoox.xmlrpc.MessageProcessingException: org.systinet.uddi.InvalidParameterException: Length is too small. The minimal allowed length is 1.
    at org.systinet.uddi.client.v3.serialization.Save_businessDeserializer.deserialize (Save_businessDeserializer.java:77)
    at org.systinet.uddi.client.v3.serialization.Save_businessDeserializer.deserialize(Save_businessDeserializer.java:187)
    at com.idoox.wasp.serialization.xml.XMLBasicConstructDeserializer.deserialize (XMLBasicConstructDeserializer.java:168)
    at com.idoox.wasp.serialization.xml.XMLSimpleDeserializer.deserialize(XMLSimpleDeserializer.java :80)
    at com.idoox.wasp.serialization.SerializationHelper.deserializeElement( SerializationHelper.java:437)
    at com.idoox.wasp.serialization.WaspSerializationHelper.deserialize(WaspSerializationHelper.java:220)
    at com.systinet.wasp.server.adaptor.JavaInvoker.fillCallParamsXml(JavaInvoker.java :1223)
    at com.systinet.wasp.server.adaptor.JavaInvoker.beginInvoke(JavaInvoker.java:492)
    at com.idoox.wasp.server.adaptor.JavaAdaptorImpl.beginInvoke (JavaAdaptorImpl.java:63)
    at com.idoox.wasp.server.AdaptorTemplate.javaInvocation (AdaptorTemplate.java:514)
    at com.idoox.wasp.server.AdaptorTemplate.doDispatch(AdaptorTemplate.java:395)
    at com.idoox.wasp.server.AdaptorTemplate.dispatch (AdaptorTemplate.java:328)
    at com.idoox.wasp.server.ServiceConnector.dispatch (ServiceConnector.java:393)
    at com.systinet.wasp.ServiceManagerImpl.dispatchRequest(ServiceManagerImpl.java:638)
    at com.systinet.wasp.ServiceManagerImpl.dispatch (ServiceManagerImpl.java:473)
    at com.systinet.wasp.ServiceManagerImpl$DispatcherConnHandler.handlePost (ServiceManagerImpl.java:2594)
    at com.systinet.transport.servlet.server.Servlet.doPost(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    at javax.servlet.http.HttpServlet.service( HttpServlet.java:856)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java :711)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java :368)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
    at com.evermind.server.http.HttpRequestHandler.processRequest (HttpRequestHandler.java:448)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest (HttpRequestHandler.java:216)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
    at com.evermind.server.http.HttpRequestHandler.run (HttpRequestHandler.java:110)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run (ServerSocketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java :239)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java :34)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java :303)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: org.idoox.xmlrpc.MessageProcessingException: org.idoox.xmlrpc.MessageProcessingException : org.idoox.xmlrpc.MessageProcessingException: org.idoox.xmlrpc.MessageProcessingException : org.idoox.xmlrpc.MessageProcessingException: org.systinet.uddi.InvalidParameterException: Length is too small. The minimal allowed length is 1.
    at org.systinet.uddi.client.v3.serialization.Save_businessDeserializer.deserialize (Save_businessDeserializer.java:156)
    at org.systinet.uddi.client.v3.serialization.Save_businessDeserializer.deserialize(Save_businessDeserializer.java:67)
    ... 31 more
    Caused by: org.idoox.xmlrpc.MessageProcessingException : org.idoox.xmlrpc.MessageProcessingException: org.idoox.xmlrpc.MessageProcessingException: org.idoox.xmlrpc.MessageProcessingException: org.systinet.uddi.InvalidParameterException : Length is too small. The minimal allowed length is 1.
    at org.systinet.uddi.client.v3.serialization.BusinessEntityDeserializer.deserialize(BusinessEntityDeserializer.java:77)
    at org.systinet.uddi.client.v3.serialization.Save_businessDeserializer.deserialize (Save_businessDeserializer.java:131)
    ... 32 more
    Caused by: org.idoox.xmlrpc.MessageProcessingException: org.idoox.xmlrpc.MessageProcessingException: org.idoox.xmlrpc.MessageProcessingException: org.systinet.uddi.InvalidParameterException : Length is too small. The minimal allowed length is 1.
    at org.systinet.uddi.client.v3.serialization.BusinessEntityDeserializer.deserialize(BusinessEntityDeserializer.java:319)
    at org.systinet.uddi.client.v3.serialization.BusinessEntityDeserializer.deserialize (BusinessEntityDeserializer.java :67)
    ... 33 more
    Caused by: org.idoox.xmlrpc.MessageProcessingException: org.idoox.xmlrpc.MessageProcessingException: org.systinet.uddi.InvalidParameterException: Length is too small. The minimal allowed length is 1.
    at org.systinet.uddi.client.v3.serialization.DescriptionDeserializer.deserialize(DescriptionDeserializer.java:77)
    at org.systinet.uddi.client.v3.serialization.BusinessEntityDeserializer.deserialize(BusinessEntityDeserializer.java :183)
    ... 34 more
    Caused by: org.idoox.xmlrpc.MessageProcessingException: org.systinet.uddi.InvalidParameterException: Length is too small. The minimal allowed length is 1.
    at org.systinet.uddi.client.v3.serialization.DescriptionDeserializer.deserialize (DescriptionDeserializer.java:141)
    at org.systinet.uddi.client.v3.serialization.DescriptionDeserializer.deserialize(DescriptionDeserializer.java:67)
    ... 35 more
    Caused by: org.systinet.uddi.InvalidParameterException : Length is too small. The minimal allowed length is 1.
    at org.systinet.uddi.client.v3.struct.Description.setValue(Description.java:84)
    at org.systinet.uddi.client.v3.serialization.DescriptionDeserializer.deserialize (DescriptionDeserializer.java:127)
    ... 36 more

    Hi,
    Try seeing the log messages after doing the following setup in the instance :-
    1. Telnet to environment
    1. In $INST_TOP/ora/10.1.3/j2ee/oafm/config/oc4j.properties
    1. Add following property at the end of the file : SOA_ENABLE_STANDALONE_LOGGING=TRUE
    2. Bounce oafm container using script $ADMIN_SCRIPTS_HOME/adoafmctl.sh
    3. Perform any SOA specific action like generate.
    SOA specific log would be created at : $INST_TOP/soa/SOALog.log
    This file should show you the exact error happening.
    Thanks,
    Sai.M

  • I have tried the following, "netsh winsock, reset", but I get a message that says the required operation requires elevation run as administrator . this is my laptop and I am an administrator, please help , itunes store is the only program i have issues

    I get a message that says, the required operation requires elevation <run as administrator>. I am the owner of this laptop and I have administrative authority, why does this show and how can I fix this. Itunes store is the ONLY program I am having trouble with.Very , very frustrating.!!!!!!!!!!!!

    I will assume you're using Windows Vista-7:
    Try these steps instead:
    1 Click start, and in the start menu search, type "cmd" (without the quotes) DO NOT PRESS ENTER!
    2. Right click the "cmd" search result
    3. Click "Run as Administrator"
    4. If you get a pop up message, click yes or continue
    5. Type the command in the window as you did above.
    In an effort to try to prevent programs from messing with your computer, programs don't run under your administrator account unless you tell them to or they ask. This gives the Administrator (elevated) privelleges that you need.

  • Performance issues with the Tuxedo MQ Adapter

    We are experimenting some performance issues with the MQ Adapter. For example, we are seeing that the MQ Adapter takes from 10 to 100 ms in reading a single message from the queue and sending to the Tuxedo service. The Tuxedo service takes 80 ms in its execution so there is a considerable waste of time in the MQ adapter that we cannot explain.
    Also, we have looked a lot of rollback transactions on the MQ adapter, for example we got 980 rollback transactions for 15736 transactions sent and only the MQ adapter is involved in the rollback. However, the operations are executed properly. The error we got is
    135027.122.hqtux101!MQI_QMTESX01.7636.1.0: gtrid x0 x4ec1491f x25b59: LIBTUX_CAT:376: ERROR: tpabort: xa_rollback returned XA_RBROLLBACK.
    I am looking for information at Oracle site, but I have not found nothing. Could you or someone from your team help me?

    Hi Todd,
    We have 6 MQI adapters reading from 5 different queues, but in this case we are writing in only one queue.
    Someone from Oracle told us that the XA_RBROLLBACK occurs because we have 6 MQ adapters that are reading from the same queues and when one adapter finds a message and try to get that message, it can occurs that other MQ Adapter gets it before. In this case, the MQ adapter rollbacks the transaction. Even when we got some XA_RBROLLBACK errors, we don´t lose message. Also, I read something about that when XA sends a xa_end call to MQ adapter, it actually does the rollback, so when the MQ adapter receives the xa_rollback call, it answers with XA_RBROLLBACK. Is that true?
    However, I am more worried about the performance. We are putting a request message in a MQ queue and waiting for the reply. In some cases, it takes 150ms and in other cases it takes much more longer (more than 400ms). The average is 300ms. MQ adapter calls a service (txgralms0) which lasts 110ms in average.
    This is our configuration:
    "MQI_QMTESX01" SRVGRP="g03000" SRVID=3000
    CLOPT="-- -C /tuxedo/qt/txqgral00/control/src/MQI_QMTESX01.cfg"
    RQPERM=0600 REPLYQ=N RPPERM=0600 MIN=6 MAX=6 CONV=N
    SYSTEM_ACCESS=FASTPATH
    MAXGEN=1 GRACE=86400 RESTART=N
    MINDISPATCHTHREADS=0 MAXDISPATCHTHREADS=1 THREADSTACKSIZE=0
    SICACHEENTRIESMAX="500"
    /tuxedo/qt/txqgral00/control/src/MQI_QMTESX01.cfg:
    *SERVER
    MINMSGLEVEL=0
    MAXMSGLEVEL=0
    DEFMAXMSGLEN=4096
    TPESVCFAILDATA=Y
    *QUEUE_MANAGER
    LQMID=QMTESX01
    NAME=QMTESX01
    *SERVICE
    NAME=txgralms0
    FORMAT=MQSTR
    TRAN=N
    *QUEUE
    LQMID=QMTESX01
    MQNAME=QAT.Q.NACAR.TO.TUX.KGCRQ01
    *QUEUE
    LQMID=QMTESX01
    MQNAME=QAT.Q.NACAR.TO.TUX.KGCPQ01
    *QUEUE
    LQMID=QMTESX01
    MQNAME=QAT.Q.NACAR.TO.TUX.KPSAQ01
    *QUEUE
    LQMID=QMTESX01
    MQNAME=QAT.Q.NACAR.TO.TUX.KPINQ01
    *QUEUE
    LQMID=QMTESX01
    MQNAME=QAT.Q.NACAR.TO.TUX.KDECQ01
    Thanks in advance,
    Marling

  • How do I incorporate the 'WHEN' operator in a SQL*Loader  mapping?

    Environment:
    OWB 10g
    Repository: 9.2.0.4
    Target: 9.2.0.4
    O/S: AIX 5.2
    I have the need to incorporate the WHEN clause in a flat file mapping to eliminate some unneeded rows in the flat file.
    I can't seem to find the configuration option or property setting or whatever it takes to get that done.
    I thought it would be part of the FILTR operator but I kept getting an 'Invalid expression' error message.
    In this case I want to ignore any rows that have a 'M', 'D' or 'S' in the first column.
    Many thanks for all your help.
    Gary

    Jean-Pierre
    Thanks very much for your quick response.
    One last point and we should drop this in favor of other more urgent issues we both ahve to deal with.
    The data is coming from a comma delimited (CSV) file using a comma ',' and optional quotes (") as field separators.
    The first column of 'good' data is read as an INTEGER EXTERNAL because of course it is a number. However, the 'bad' rows I want to eliminate have character text in them where I would normally find numbers and they all start with 'D','M' or 'S'.
    I don't have an actual column in the data file or resulting table definition that represents that first character that I'm trying to test on. Hence my use of (1) to reporesent the 1st character of data on the line regardless of whether its numeric or character.
    As I stated, the syntax works fine in SQL*Loader when I typed the WHEN clause in manually.
    I guess if there was a way to define a pseudo column that could be defined using the POSITION notation and everything else using the variable length delimited notation I could test on that psuedo column. I don't want the pseudo column to appear in my resulting table so that seems to be an issue. Enough.
    Since I've worked around it using external tables for this issue I'm not going to spend any more time on it today.
    As usual, many thanks for your help.
    Have a great day! I'll be back soon with another issue :-)>
    Gary

Maybe you are looking for

  • Error in F-47 Tcode

    Hi, While doing F-47 by using PO (Having more than one line item) I need to create document for each line item wise. Is there any provision there in SAP for creating Down payment Request based on PO wise? Edited by: Saidwarakesh on Feb 9, 2009 5:29 P

  • Consolidated Business Partner Aging Detailed

    How can I get the consolidated bp name and code to appear on the aging detailed report? The consolidating partner appears at the top but i would also like to see the child bp's. Rich

  • Inventory scanning is successful, but performance gathering is not.

    I am running the MAP tool in my environment. I am able to successfully connect to all of my Windows servers and see the WMI information about their processors, memory, OS version, IP address, etc. When I run a 30 minute performance gathering test on

  • Array as class attribute?

    I'm currently in the process of learning Objective-C and Cocoa, however I've run into an issue with some of my code. I want to have an array that other objects will be able to access from my main class, so I set it to be an attribute of that class in

  • ACE: probe failing

    Hi, I've following probe configured: probe http probe1.test.com:10114   port 10114   interval 34   faildetect 17   passdetect interval 60   expect status 200 200   header Host header-value "hcmfincrp1.test.com"   open 1 and it is applied to serverfar