SubType in component.xml

Hi all,
Is there a way to specify the sub type of an input or output type in the component.xml of a DSC?
Here's the input portion of one of my operations:
<input-parameter name="lst" type="java.util.List" required="true" title="lst">
    <supported-expr-types>Variable,XPath,Literal,Template,</supported-expr-types>
</input-parameter>
As you can see the type is java.util.List, which is a generic type. In workbench, this type is shown as a List. When clicking the + sign to create a variable, only the type is pre-populated with List. It would be so much simpler if both - type and sub type -  could be specified in the xml.
I've noticed that Adobe services which make use of the List also do not specify these, is there a reason? It's quite complicated for the customer to find the right type.
Thanks
Nic

I have noticed that the ContentServices' getSpaceContents operation makes use of the "collectionSubTypes" attribute on the output-parameter-mapping element.
<output-parameter-mapping name="nodeChildrenList" type="java.util.List" collectionSubTypes="com.adobe.livecycle.contentservices.client.CRCResult" />
I realize you are saying this is probably not supported, but I'm keeping my fingers crossed, perhaps this may lead to something else.
I looked at the getSpaceContents operation in workbench and the sub type doesn't get populated either.
Thanks

Similar Messages

  • External JARs in component.xml

    I have created a custom component that call a web service.
    It uses the Axis libraries, so I put in the root directory of the component's Jar all the required libraries (activation.jar, axis.jar, commons-codec-1.1.jar, ...).
    Then, in the component.xml, I have defined a class-path section like this:
    <class-path>activation.jar axis.jar commons-codec-1.1.jar ...</class-path>
    The component is deployed and running, but when I call it, I get the following error:
    java.lang.NoClassDefFoundError: org.apache.axis.client.Service
    Which is my fault?

    I think to include external libraries in a JAR you need to use a custom classloader.
    I think you can instead put the external libraries in teh ext folder of the JRE installation that runs the app server.
    scott

  • Error: 0xC020902A at Data Flow Task, XML Source [24515]: The "component "XML Source" (24515)" failed because truncation occurred, and the truncation row disposition on "output column "MsgLev1" (26196)" specifies failure on truncation. A truncation error o

    When I was Importing data from XML to SqlServer using SSIS , I am getting this error. The import is working if i use small file and not working if I use large XMl file. Can any one of you guys help me out with the issue?
    Error: 0xC020902A at Data Flow Task, XML Source [24515]: The "component "XML Source" (24515)" failed because truncation occurred, and the truncation row disposition on "output column "MsgLev1" (26196)" specifies failure on truncation. A truncation error occurred on the specified object of the specified component.
    Error: 0xC02092AF at Data Flow Task, XML Source [24515]: The component "XML Source" (24515) was unable to process the XML data. Pipeline component has returned HRESULT error code 0xC020902A from a method call.
    Error: 0xC0047038 at Data Flow Task: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED.  The PrimeOutput method on component "XML Source" (24515) returned error code 0xC02092AF.  The component returned a failure code when the pipeline engine called PrimeOutput(). The meaning of the failure code is defined by the component, but the error is fatal and the pipeline stopped executing.  There may be error messages posted before this with more information about the failure.
    Error: 0xC0047021 at Data Flow Task: SSIS Error Code DTS_E_THREADFAILED.  Thread "SourceThread0" has exited with error code 0xC0047038.  There may be error messages posted before this with more information on why the thread has exited.
    Error: 0xC0047039 at Data Flow Task: SSIS Error Code DTS_E_THREADCANCELLED.  Thread "WorkThread0" received a shutdown signal and is terminating. The user requested a shutdown, or an error in another thread is causing the pipeline to shutdown.  There may be error messages posted before this with more information on why the thread was cancelled.
    Error: 0xC0047039 at Data Flow Task: SSIS Error Code DTS_E_THREADCANCELLED.  Thread "WorkThread1" received a shutdown signal and is terminating. The user requested a shutdown, or an error in another thread is causing the pipeline to shutdown.  There may be error messages posted before this with more information on why the thread was cancelled.
    Error: 0xC0047039 at Data Flow Task: SSIS Error Code DTS_E_THREADCANCELLED.  Thread "WorkThread3" received a shutdown signal and is terminating. The user requested a shutdown, or an error in another thread is causing the pipeline to shutdown.  There may be error messages posted before this with more information on why the thread was cancelled.
    Error: 0xC0047039 at Data Flow Task: SSIS Error Code DTS_E_THREADCANCELLED.  Thread "WorkThread4" received a shutdown signal and is terminating. The user requested a shutdown, or an error in another thread is causing the pipeline to shutdown.  There may be error messages posted before this with more information on why the thread was cancelled.
    Error: 0xC0047039 at Data Flow Task: SSIS Error Code DTS_E_THREADCANCELLED.  Thread "WorkThread2" received a shutdown signal and is terminating. The user requested a shutdown, or an error in another thread is causing the pipeline to shutdown.  There may be error messages posted before this with more information on why the thread was cancelled.
    Error: 0xC0047021 at Data Flow Task: SSIS Error Code DTS_E_THREADFAILED.  Thread "WorkThread0" has exited with error code 0xC0047039.  There may be error messages posted before this with more information on why the thread has exited.
    Error: 0xC0047021 at Data Flow Task: SSIS Error Code DTS_E_THREADFAILED.  Thread "WorkThread1" has exited with error code 0xC0047039.  There may be error messages posted before this with more information on why the thread has exited.
    Error: 0xC0047021 at Data Flow Task: SSIS Error Code DTS_E_THREADFAILED.  Thread "WorkThread2" has exited with error code 0xC0047039.  There may be error messages posted before this with more information on why the thread has exited.
    Error: 0xC0047021 at Data Flow Task: SSIS Error Code DTS_E_THREADFAILED.  Thread "WorkThread3" has exited with error code 0xC0047039.  There may be error messages posted before this with more information on why the thread has exited.
    Error: 0xC0047021 at Data Flow Task: SSIS Error Code DTS_E_THREADFAILED.  Thread "WorkThread4" has exited with error code 0xC0047039.  There may be error messages posted before this with more information on why the thread has exited.

    The reason is in the first line of the error.  It doesn't have anything to do with the size of your XML file - it has to do with the contents of the "MsgLev1" column.  You (or the XSD) has indicated that the values in this column not exceed a certain size - but one of the values in the file that's failing is larger than that.
    In order to fix the problem, you're going to need to increase the allocated space for that column.  In order to do that, you're going to need to find out what the required size of that data is - either from someone who ought to know, or by direct examination of the file.  If you want to know which entity has this overly large data element in it, you need to configure the error handling of the XML Source to "redirect truncation errors".  Then you can hook up the XML Source's error output to another destination where you can see which rows are problematic.
    Talk to me on

  • Component XML database is in INVALID state, while quering dba_registry,

    How to make the component XML valid

    Did You performed recently any upgrade?
    Was upgrade sucessfull? No errors?
    Please reffer to metalink note 243554.1 - How to Deinstall and Reinstall XML Database (XDB).
    If You are using XDB, then You will have to reinstall it.

  • Flash Lite 2 component:XML List Box Lite for Dynamic Flash Lite 2 application

    XML ListBox Lite is the Flash Lite UI component lets you
    create XML driven dynamic lists for your Flash Lite 2 mobile
    applications!
    XML ListBox Lite is a Flash component for Flash Lite 2.0
    application development for mobile phones. Creating a lightweight
    dynamic list box for Flash Lite application becomes as easy as a
    snap using this component. Now no more the Flash Lite application
    developers need to be worried about creating dynamically populated
    list box that will work on nearly every symbian series 60 models
    which support Flash Lite 2.0.
    XML ListBox Lite comes handy when you plan to create a
    dynamic list which is populated with the data sourced from a simple
    XML file , such creating a play list for your Flash Lite MP3 Player
    application, creating a list for a shopping catalogue etc.
    XML ListBoxLite is a complete solutions for creating
    customized xml driven dynamic lists in Flash Lite 2 mobile
    application development.
    The basic features of the component are:
    Create Unlimited Number of Tabs: XML ListBoxLite can populate
    any number of tabs and provides proper visualization and navigation
    of these tabs.
    Fully Functional Scrollbars: The scrollbars position ratio is
    auto adjusted by the number of tabs that appear in the list, which
    gives the users whether any tabs are left in the list to scroll.
    Display Tabs as per needs: This list component allows you to
    display any number of tabs from the range of 8, 4, 2 and 1, at any
    instance. This serves the need for example when you have more text
    to display you can choose 4 or 2 tabs so that you need not
    compromise on the content side.
    Customize the Look and Feel: You can set any color as
    parameters for different elements of this list component so that it
    will fit your application seamlessly.
    Virtually zero time to implement: This component does not
    require any extra programming in FlashLite 2.0 Action script to
    display your contents. Just update the xml list and it is ready for
    use.
    Lightweight and User friendly: XMLListBoxLite offers you
    great glossy look and advanced features within just 17 KB . The
    user experience is also magnetic.
    More details at:
    http://esspl.com/flashcomponents/xmllistboxlitehome.asp

    Hello there,
    I am have a similar kind of problem. I am trying to run a video on Pocket PC (WM5) using video.play() method on FlashLite 2.1. It works fine in Device Central and my Nokia mobile (symbian OS with default FlashLite 2.1). Video is obviously embedded in FlashLite 2.1 and was originally in *.3gp format.
    Can you please help me where I am going wrong or what am I missing ?
    As ever,
    Vinayak Kadam

  • Opening Region, Page and Business Component XML causes unusual errors.

    Hi
    I'm a bit new to extending E-Business Suite, so apologies if this is a bit unclear.
    1. I have set up JDeveloper according to the docs and that seems OK
    2. I have copied the entire oracle/apps/icx java tree from $JAVA_TOP
    3. I have exported all /oracle/apps/icx PG and RN xml files
    Now when I try and open a PG.xml I get a load of the following errors:
    Invalid value "/oracle/apps/icx/lov/webui/UnNumberLovRN" for property "External LOV" on component "/oracle/apps/icx/por/req/webui/CheckoutSummaryPG.UnNumber". Component "/oracle/apps/icx/lov/webui/UnNumberLovRN" cannot be referenced from "/oracle/apps/icx/por/req/webui/CheckoutSummaryPG.UnNumber" because it violates scope restrictions.
    I also have a problem importing Business Components. When right click on the jpx and select "Import Business Components", then select my server.xml file, I get the following error:
    "Unable to import package. This is not a valid Business Components XML file."
    Am I doing this wrong or is there something afoot?
    I am using JDeveloper: 9.0.3.5 Build 1312 from the patch
    We are on 11.5.10.1 plus some patches.
    Any help most appreciated!!!
    Thanks
    Chris

    you can ignore the warnings you get for the page xml files.
    You need to mention which version of jdev are you using ? Did you try opening the server.xml directly ?

  • Business component xml files

    I'm researching which files of an adf/bc application should go into version control and came across this piece in the developer's guide:
    4.4.7.2 Recommendation for Disabling Use of Package XML File
    By default, for upward compatibility with previously releases of Oracle ADF,
    JDeveloper maintains an XML file in each directory containing the names of the Oracle
    ADF business components that reside in that package. While previously required by
    the ADF runtime classes, this package XML file is optional in this version. Since
    maintaining this "package XML" file can complicate team development, Oracle
    recommends you disable the use of any package XML files by setting the Copy
    Package XML Files to Class Path option off in the Business Components: General
    panel of the IDE preferences as shown in Figure 4–6.
    I'm using 10.1.3.2. I disabled this option thinking that when i created an entity object in a particular package that a corresponding xml file for that entity would not be added to that package. However, the xml file for the entity is still being generated in the package. Am I misunderstanding something here? Also, does anyone know of a 'definitive' list of files for an adf/bc app and created with jdev that would not ordinarily be added to version control? I'm interested in only adding to version control those files necessary for the app to build and run, not ide specific files. Thanks.

    Hi,
    its a different file this refers to. You don't switch off the XML generated for the components.
    Frank

  • Using itemCreationPolicy with a custom component

    I'm working on a project where the users need to be able to have a 'filtered' view of one of the edit dialogs. I'm using view states to control which of the input fields show up for each view. The 'save' logic is the same for both states, so I still need to be able to pull data for the inputs even if they are not currently displayed. I tried setting itemCreationPolicy to immediate with no success. Some of the inputs were getting created but the initial values were not being set. The issue seems to be that the input component (an extended version of DropDownList) defers setting the selected value until the commitProperties() method. Since the inpit isn't actually being shown, the commitProperties() method is never getting called and the value is never being set.
    Can anyone suggest a workaround for this issue? The only thing I can think of would be to use includeInLayout and visible to show/hide the inputs, but that is going to get really messy since I would have to apply it to every input and the FormItem components that enclose them.

    Jasmin,
    Is your class included in the custom component?
    Yes, It is a annotated entity class,
    When creating sessionFactory it is not loading the class.
    i'm using flowing code block for creating sessionFactory,
    factory =
    new AnnotationConfiguration().addAnnotatedClass(dao.entity.UserEntity.
    class).setProperty(
    "hibernate.dialect",m_dialect ).setProperty(
    "hibernate.connection.driver_class", m_driverClass).setProperty(
    "hibernate.connection.url", m_connectionUrl ).setProperty(
    "hibernate.connection.username",m_userName).setProperty(
    "hibernate.connection.password", m_password).setProperty(
    "hibernate.hbm2ddl.auto", m_hbmTodll ).setProperty(
    "current_session_context_class",m_contextClass ).configure(resource).buildSessionFactory();
    Is the jar referenced in the class patch section of the component.xml?
    Yes , I have tried for this approch too , but class is entity class is not loaded.

  • Error when installing a Custom Component

    Hi there,
    I wrote a custom component and built the according jar-file. The next step was to import the jar-file into the workbench.
    When I tried to do so the following error occurred (workbench .log file):
    !ENTRY com.adobe.DSC_Admin_UI 4 4 2008-01-15 16:05:43.418
    !MESSAGE install of C:\tmp\adobe-components\adobe-component.jar failed
    !STACK 0
    ALC-DSC-000-000: com.adobe.idp.dsc.DSCRuntimeException: Internal error.
    Caused by: java.io.FileNotFoundException: C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\ArchiveStore\306\at\integrata\livecycle\component\Boot strapImpl.class (The system cannot find the path specified)
    Caused by: java.io.FileNotFoundException: C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\ArchiveStore\306\at\integrata\livecycle\component\Boot strapImpl.class (The system cannot find the path specified)
    The problem is, that the workbench is not running on the same computer as the ES server. When I extract the jar-file manually into the considered directory on the server everything works fine.
    Is this a bug or even not possible to import components from a remote workbench?
    kind regards
    Michael

    Hy all,
    I have been having the same problem.
    I think the cause with me is that I added libraries my component needs manually into the jar-file of my component and sometimes I added the component.xml file manually into the component-jar. I use 7Zip for this but every I did that I could not get the component to install correctly, unless I unpacked it manually in the temp-dir.
    I believe this is happens because when I manually place files in the jar file with a tool like 7Zip they are automatically being compressed and the jar-file of a component must not be compressed.
    So therefore I imported everything correctly in my Eclipse-project and now when I Export my component to a jar-file, everything is included and I don't have to place files manually into the jar-file of my component.
    When I install a component created like that I don't have any problems.
    Hope this helps for you to.
    Regards,
    RonnyR

  • Error while recording process using a component with a custom data type

    Hello,
    I created a component that returns a CheckAttachmentResult object. This object contains an int named resultCode and a String named resultMessage. In the CheckAttachmentResult class, I do have a getter and a setter function for both values.
    When I use the component, I can retrieve the CheckAttachmentResult object, see the values that are set (i.e. resultMessage and resultCode) and work on them (for instance build a condition on the resultCode).
    However when the current process goes into a subprocess after having used this component, I get the following error:
    Failed evaluating outgoing routes for action=template:ReceptionDtpBriefingV2/branch:main-branch/pool:POOL/swimlane:Extraction du DTP/action:Check DTP attachments: java.lang.NullPointerException  at com.adobe.idp.auditworkflow.dsc.service.storage.ProcessRecordingStorageImpl.persistDocume ntVariables(ProcessRecordingStorageImpl.java:409)
        at com.adobe.idp.auditworkflow.dsc.service.storage.ProcessRecordingStorageImpl.serialize(Pro cessRecordingStorageImpl.java:390)
        at com.adobe.idp.auditworkflow.dsc.service.storage.ProcessRecordingStorageImpl.persist(Proce ssRecordingStorageImpl.java:151)
        at com.adobe.idp.auditworkflow.dsc.service.AuditWorkflowServiceImpl.auditEvent(AuditWorkflow ServiceImpl.java:62)
        at sun.reflect.GeneratedMethodAccessor1278.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:118)
        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.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)
        at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTr ansactionCMTAdapterBean.java:342)
        at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doRequiresNew (EjbTransactionCMTAdapterBean.java:284)
        at sun.reflect.GeneratedMethodAccessor236.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.jboss.invocation.Invocation.performCall(Invocation.java:345)
        at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:214)
        at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:149)
        at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:154)
        at org.jboss.webservice.server.ServiceEndpointInterceptor.invoke(ServiceEndpointInterceptor. java:54)
        at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48)
        at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:106)
        at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:389)
        at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:166)
        at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:153)
        at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
        at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:122)
        at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624)
        at org.jboss.ejb.Container.invoke(Container.java:873)
        at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:415)
        at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:88)
        at $Proxy169.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:109)
        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:115)
        at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:118)
        at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.routeMessage(AbstractMessage Receiver.java:91)
        at com.adobe.idp.dsc.provider.impl.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:21 5)
        at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat cher.java:57)
        at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)
        at com.adobe.workflow.audit.WorkflowAudit.invokeCallback(WorkflowAudit.java:471)
        at com.adobe.workflow.audit.WorkflowAudit.breakpointRouteEvaluationCompleted(WorkflowAudit.j ava:268)
        at com.adobe.workflow.engine.PEUtil.evaluateRules(PEUtil.java:425)
        at com.adobe.workflow.engine.SynchronousBranch.getNextActionOrStallOnFailure(SynchronousBran ch.java:801)
        at com.adobe.workflow.engine.SynchronousBranch.updateBranchInstanceStatus(SynchronousBranch. java:649)
        at com.adobe.workflow.engine.SynchronousBranch.execute(SynchronousBranch.java:887)
        at com.adobe.workflow.engine.ProcessEngineBMTBean.continueBranchAtAction(ProcessEngineBMTBea n.java:2773)
        at com.adobe.workflow.engine.ProcessEngineBMTBean.asyncInvokeProcessCommand(ProcessEngineBMT Bean.java:704)
        at sun.reflect.GeneratedMethodAccessor503.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.jboss.invocation.Invocation.performCall(Invocation.java:345)
        at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:214)
        at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:149)
        at org.jboss.webservice.server.ServiceEndpointInterceptor.invoke(ServiceEndpointInterceptor. java:54)
        at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48)
        at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:106)
        at org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxInterceptorBMT.java:1 58)
        at org.jboss.ejb.plugins.TxInterceptorBMT.invoke(TxInterceptorBMT.java:62)
        at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:154)
        at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:153)
        at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
        at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:122)
        at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624)
        at org.jboss.ejb.Container.invoke(Container.java:873)
        at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:415)
        at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:88)
        at $Proxy202.asyncInvokeProcessCommand(Unknown Source)
        at com.adobe.workflow.engine.ProcessCommandControllerBean.doOnMessage(ProcessCommandControll erBean.java:156)
        at com.adobe.workflow.engine.ProcessCommandControllerBean.onMessage(ProcessCommandController Bean.java:99)
        at sun.reflect.GeneratedMethodAccessor457.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.jboss.invocation.Invocation.performCall(Invocation.java:345)
        at org.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(MessageDrivenContainer.j ava:475)
        at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:149)
        at org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(MessageDrivenInstanceInterc eptor.java:101)
        at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:106)
        at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:335)
        at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:166)
        at org.jboss.ejb.plugins.RunAsSecurityInterceptor.invoke(RunAsSecurityInterceptor.java:94)
        at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
        at org.jboss.ejb.MessageDrivenContainer.internalInvoke(MessageDrivenContainer.java:389)
        at org.jboss.ejb.Container.invoke(Container.java:873)
        at org.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSContainerInvoker.java:1077)
        at org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListenerImpl.onMessage(JMSContainerI nvoker.java:1379)
        at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:256)
        at org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:904 )
        at org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:160)
        at org.jboss.mq.SpySession.run(SpySession.java:333)
        at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:180)
        at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748)
        at java.lang.Thread.run(Thread.java:595)
    It turns out that this error is related to the recording of the process. When I stop the recording, this error disappears. Do you have any idea on what goes wrong ? Did I miss something or made something wrong ?
    I attached the component.xml file of the component to this post.
    Thank you in advance
    Steve

    This seems to be recorded in CAR#405941.  The whole thing is a bit strange but I will try to go over the potential workarounds as best as I can.  I tested a lot of these myself and here is what I found.
    1. Make sure the custom control you have made was created in LabVIEW 2012 or you save it to a previous version.  If you save it to a previous version you might also need to open the .ctl in LabVIEW 2012 and resave it (I needed to do this).  I tried creating my own control in 2012 as well as saving the control to a previous version, both worked but I did not end up with the same result (I don't understand this but I wanted to mention it so that you knew).
    2. It seems that you are able to make the shared variable programmatically by modifying the community example to fit your needs.  If you do not need to create many variables this may be the best option if it works for you.
    I would also try adding the variable from the LabVIEW project you are working on.  This was not a direct troubleshooting step but there are multiple ways to do things in LabVIEW and sometimes one of them works while the other does not.
    Edit: Community Example is here https://decibel.ni.com/content/docs/DOC-16863
    Matt J
    Professional Googler and Kudo Addict
    National Instruments

  • Catching an error from the component level in a plan?

    I have components that installs a software package (using the LINUX rpm install plugin). These components are called in sequence from an SPS
    "Plan". If any one of the rpm's to be installed by the plan might already have been installed, the rpm exits with an error message and a "1" exit code.
    That exit, causes the whole install to stop dead in its tracks.
    I have tried a "try and catch" to be allow the installation to continue
    when that situation exists. Howvever, at the "Plan" level all I can catch is
    any error. If a bad error; that is one that is not an "Exit 1" because the
    rpm was already installed, but rather something that needs to stop the
    entire plan ... the "catch" will ignore those errors as well.
    Without modification of the SUN component install plugin, how in XML does one know what the exit code is from the install plugin
    (a) within the component that calls the install plugin
    (b) insde the plan XML that calls the component XML that calls the plugin
    Are there global variables, passed return codes, inherited parameters or something that facilitates the passing of exit codes from plug-in to XML component to XML plan?

    Hi,
    Hope you have gone through the mentioned Notes for the pre-requisites. I checked the second Note which shows New and can not be implemented.
    You can check whether the similar Notes have already been implemented in your system. Check with your BASIS team
    Regards,
    Suman
    Edited by: Suman Chakravarthy on Sep 11, 2011 11:59 AM

  • How to use XQuery Exist() Function on a SSIS XML file

    I have a Package Inventory table that has an XML Column named CurrentPackageXML. This XML column contains the SSIS Package XML. I need to use the XQuery Exist() function to determine if the
    errorRowDisposition="IgnoreFailure" exists.
    Below I have a basic SQL statement, but I have no idea how to write the Correct XQuery Expression. In my example below, I just tried to see if the DTS:Name Property existed, but that XQuery Expression is invalid also. It is not what I need in the end, but
    I was just trying to get anything to work.
    Below my SQL, I have included a snip-it of the SSIS package XML where I can find the errorRowDisposition. It is to the far right, so you may have to scroll to the right to see it. I bolded the text so it is easier to find.
    Finally, once I have got a SQL statement that checks if errorRowDisposition exists = False, I need to check for every occurrence of  errorRowDisposition exists = False.
    Would there be an easier way to do this by converting the XML to a varchar(max) then searching for all instances of  errorRowDisposition exists = False?
    SELECT CurrentPackageXML.exist('/DTS:Executable/DTS:Property[DTS:Name]')
    FROM [dbo].[PackageInventory]
    <inputs>
    <input id="43" name="OLE DB Destination Input" description="" hasSideEffects="true" dangling="false" errorOrTruncationOperation="Insert" errorRowDisposition="FailComponent" truncationRowDisposition="NotUsed">
    <inputColumns>
    <inputColumn id="113" name="" description="" lineageId="110" usageType="readOnly" errorOrTruncationOperation="" errorRowDisposition="NotUsed" truncationRowDisposition="NotUsed" externalMetadataColumnId="95" mappedColumnId="0" />
    <inputColumn id="172" name="" description="" lineageId="167" usageType="readOnly" errorOrTruncationOperation="" errorRowDisposition="NotUsed" truncationRowDisposition="NotUsed" externalMetadataColumnId="94" mappedColumnId="0" />
    </inputColumns>
    <externalMetadataColumns isUsed="True">
    <externalMetadataColumn id="50" name="DateCreated" description="" precision="0" scale="0" length="0" dataType="dbTimeStamp" codePage="0" mappedColumnId="0" />
    <externalMetadataColumn id="51" name="ProcessedCount" description="" precision="0" scale="0" length="0" dataType="i4" codePage="0" mappedColumnId="0" />
    <externalMetadataColumn id="52" name="ErrorCount" description="" precision="0" scale="0" length="0" dataType="i4" codePage="0" mappedColumnId="0" />
    <externalMetadataColumn id="90" name="AcknowledgementID" description="" precision="0" scale="0" length="0" dataType="i4" codePage="0" mappedColumnId="0" />
    <externalMetadataColumn id="91" name="Date" description="" precision="0" scale="0" length="0" dataType="dbTimeStamp" codePage="0" mappedColumnId="0" />
    <externalMetadataColumn id="92" name="FileSeqNumber" description="" precision="0" scale="0" length="0" dataType="i4" codePage="0" mappedColumnId="0" />
    <externalMetadataColumn id="93" name="FileType" description="" precision="0" scale="0" length="50" dataType="str" codePage="65001" mappedColumnId="0" />
    <externalMetadataColumn id="94" name="FileName" description="" precision="0" scale="0" length="50" dataType="str" codePage="65001" mappedColumnId="0" />
    <externalMetadataColumn id="95" name="DateReceived" description="" precision="0" scale="0" length="0" dataType="dbTimeStamp" codePage="0" mappedColumnId="0" />
    </externalMetadataColumns>
    </input>
    </inputs>
    Ryan P. Casey • <a href="http://www.R-P-C-Group.com">www.R-P-C-Group.com</a>

    Try this and let know what errors you get.  Note, this is a rough draft of one of a series of queries that I have started writing to document SSIS using SQL XQuery.  I read a file in my version (the one I tested) and get the results.
    -- Get the flat file destinations and their mappings
    with xmlnamespaces ('www.microsoft.com/SqlServer/Dts' as DTS
    ), compflow as (
    SELECT
    task.xml.value('@DTS:ObjectName', 'varchar(200)') as TaskName
    , task.xml.value('@DTS:ExecutableType', 'varchar(200)') as TaskType
    , task.xml.value('@DTS:refId', 'varchar(1000)') as TaskRefId
    --, task.xml.query ('.') as Node
    , component.xml.value ('@name', 'varchar(200)') as ComponentName
    , component.xml.value ('@refId', 'varchar(1000)') as ComponentRefId
    , component.xml.value ('@componentClassID', 'varchar(1000)') AS componentClassID
    --, component.xml.value ('count(inputs/input)', 'int') AS NumberOfInputs
    --, component.xml.value ('count(outputs/output)', 'int') AS NumberOfOutputs
    --, component.xml.value ('count(outputs/output[@isErrorOut="true"])', 'int') AS NumberOfErrorOutputs
    , component.xml.query('.') as ComponentNode
    FROM [dbo].[PackageInventory] pk
    cross apply pk.CurrentPackageXML.nodes('//DTS:Executable[@DTS:ExecutableType="Microsoft.Pipeline"]') as task (xml)
    OUTER APPLY task.xml.nodes('DTS:ObjectData/pipeline/components/component') as component (xml)
    WHERE [PackageInventory_ID] = 13
    , inputNode as (
    SELECT c.*
    , input.xml.value ('@name', 'varchar(200)') as InputName
    , input.xml.value ('@refId', 'varchar(1000)') as InputRefId
    , input.xml.value ('@hasSideEffects', 'varchar(1000)') as InputHasSideEffects
    , input.xml.value ('count(inputColumns/inputColumn)', 'int') AS NumberOfInputColumns
    , input.xml.value ('count(externalMetadataColumns/externalMetadataColumn)', 'int') AS NumberOfExternalMetadataColumns
    , input.xml.value ('@errorOrTruncationOperation', 'varchar(1000)') as InputerrorOrTruncationOperation
    , input.xml.value ('@errorRowDisposition', 'varchar(1000)') as InputerrorRowDisposition
    , col.xml.value ('@errorOrTruncationOperation', 'varchar(1000)') as InputColumnErrorOrTruncationOperation
    , col.xml.value ('@errorRowDisposition', 'varchar(1000)') as InputColumnErrorRowDisposition
    from compFlow c
    OUTER APPLY c.ComponentNode.nodes ('component/inputs/input') as input (xml)
    OUTER APPLY input.xml.nodes ('inputColumns/inputColumn') as col (xml)
    , inputAnal as (
    select
    TaskName
    ,TaskType
    ,TaskRefId
    ,ComponentName
    ,ComponentRefId
    ,componentClassID
    ,InputName
    ,InputRefId
    ,InputHasSideEffects
    , Null as IsError
    ,NumberOfInputColumns
    ,NumberOfExternalMetadataColumns
    ,InputerrorOrTruncationOperation
    ,InputerrorRowDisposition
    ,InputColumnErrorOrTruncationOperation
    ,InputColumnErrorRowDisposition
    , count(*) as NumRec
    from inputNode
    group by TaskName
    ,TaskType
    ,TaskRefId
    ,ComponentName
    ,ComponentRefId
    ,componentClassID
    ,InputName
    ,InputRefId
    ,InputHasSideEffects
    ,NumberOfInputColumns
    ,NumberOfExternalMetadataColumns
    ,InputerrorOrTruncationOperation
    ,InputerrorRowDisposition
    ,InputColumnErrorOrTruncationOperation
    ,InputColumnErrorRowDisposition
    , xoutputNode as (
    SELECT
    TaskName
    ,TaskType
    ,TaskRefId
    ,ComponentName
    ,ComponentRefId
    ,componentClassID
    , xout.xml.value ('@name', 'varchar(200)') as OutputName
    , xout.xml.value ('@refId', 'varchar(1000)') as OutputRefId
    , xout.xml.value ('@hasSideEffects', 'varchar(1000)') as OutputHasSideEffects
    , xout.xml.value ('@isErrorOut', 'varchar(1000)') as OutputIsError
    , xout.xml.value ('count(outputColumns/outputColumn)', 'int') AS NumberOfOutputColumns
    , xout.xml.value ('count(externalMetadataColumns/externalMetadataColumn)', 'int') AS NumberOfExternalMetadataColumns
    , xout.xml.value ('@errorOrTruncationOperation', 'varchar(1000)') as OutputerrorOrTruncationOperation
    , xout.xml.value ('@errorRowDisposition', 'varchar(1000)') as OutputerrorRowDisposition
    , col.xml.value ('@errorOrTruncationOperation', 'varchar(1000)') as OutputColumnErrorOrTruncationOperation
    , col.xml.value ('@errorRowDisposition', 'varchar(1000)') as OutputColumnErrorRowDisposition
    from compFlow c
    OUTER APPLY c.ComponentNode.nodes ('component/outputs/output') as xout (xml)
    OUTER APPLY xout.xml.nodes ('outputColumns/outputColumn') as col (xml)
    , outputAnal as(
    select
    TaskName
    ,TaskType
    ,TaskRefId
    ,ComponentName
    ,ComponentRefId
    ,componentClassID
    ,OutputName
    ,OutputRefId
    ,OutputHasSideEffects
    ,OutputIsError
    ,NumberOfOutputColumns
    ,NumberOfExternalMetadataColumns
    ,OutputerrorOrTruncationOperation
    ,OutputerrorRowDisposition
    ,OutputColumnErrorOrTruncationOperation
    ,OutputColumnErrorRowDisposition
    , count (*) as NumberOfRows
    from xoutputNode
    group by TaskName
    ,TaskType
    ,TaskRefId
    ,ComponentName
    ,ComponentRefId
    ,componentClassID
    ,OutputName
    ,OutputRefId
    ,OutputHasSideEffects
    ,OutputIsError
    ,NumberOfOutputColumns
    ,NumberOfExternalMetadataColumns
    ,OutputerrorOrTruncationOperation
    ,OutputerrorRowDisposition
    ,OutputColumnErrorOrTruncationOperation
    ,OutputColumnErrorRowDisposition
    select 'Input' as RowType, i.* from inputAnal i
    union all
    select 'Output' as RowType, o.* from outputAnal o
    Russel Loski, MCT, MCSE Data Platform/Business Intelligence. Twitter: @sqlmovers; blog: www.sqlmovers.com

  • Using Hibernate as a Custom Component

    I don’t know whether this question is appropriate in LC context.
    Our scenario, We have very complex logic in each of JDBC store/retrieve activity in the process. We would like to move this part into Hibernate based custom component.
    We tried with simple Hibernate persistence class but it seems to be LC not loading them.
    1)      Is this the restriction with LC? (using hibernate as a custom component)
    2)      What is the appropriate solution?
    You help is highly appreciated

    Jasmin,
    Is your class included in the custom component?
    Yes, It is a annotated entity class,
    When creating sessionFactory it is not loading the class.
    i'm using flowing code block for creating sessionFactory,
    factory =
    new AnnotationConfiguration().addAnnotatedClass(dao.entity.UserEntity.
    class).setProperty(
    "hibernate.dialect",m_dialect ).setProperty(
    "hibernate.connection.driver_class", m_driverClass).setProperty(
    "hibernate.connection.url", m_connectionUrl ).setProperty(
    "hibernate.connection.username",m_userName).setProperty(
    "hibernate.connection.password", m_password).setProperty(
    "hibernate.hbm2ddl.auto", m_hbmTodll ).setProperty(
    "current_session_context_class",m_contextClass ).configure(resource).buildSessionFactory();
    Is the jar referenced in the class patch section of the component.xml?
    Yes , I have tried for this approch too , but class is entity class is not loaded.

  • Multiple output-parameters in a custom component

    Is it possible to develop a custom component that returns multiple outputs?
    I know that I can define multiple tag <output-parameter> in component.xml, but I don't know how the method of my class can return multiple Objects...
    Thanks,
    Fabio

    You can have multiple getters and setters function that will set or return multiple parameters. Each output parameter can be set to a specific function.
    Jasmin

  • XML source content problem in 5.0.2

    Hi,
    I installed optional web component xml source portlet and I migrated ptxmlsp content in my 5.0.2 portal successfully on MS .NET. I have instentied my portlet with well formed xml and xsl files. Displaying page, portlet display message "Error: Display Timeout". After a look to tomcat log file i found in stderr.log this message :
    org.apache.xml.utils.WrappedRuntimeException: The output format must have a '{http://xml.apache.org/xslt}content-handler' property! at org.apache.xalan.serialize.SerializerFactory.getSerializer(SerializerFactory.java:142)
    The same problem occurs with a 5.0.2 portal installed on java.
    Can anyone help me ?

    Thank you for your help.
    Running xalan on command line with option java -verboseI have seen that tomcat didn't call the xalan.jar located in endorsed directory. We wrote a bat file to launch tomcat as a windows service without reference to "endorsed" directory. You have to include following line in your bat file : -Djava.endorsed.dirs="E:\jakarta-tomcat-4.1.27-LE-j2sdk1.4.1_05\common\endorsed" to ensure that correct java class is loaded.
    Now XML souce portlet works fine.
    Thanks again.

Maybe you are looking for

  • I apperently have two iTunes accounts, how do I merge them so I can listen to all my music?

    I apperently have two iTunes accounts, how do I merge them so I can listen to all my music?

  • Sending line art to Photoshop?

    Illustrator CS4 on Snow Leopard. I have a truly vexing Illustrator problem. It seems like a simple challenge, though. I have a large black and white vector illustration. There are no grays, only black and white line art. I'd like to send only the bla

  • Media is gone

    just updated my iphone4 and ipad 1, and got the newest 10.4 patch, and now itunes won't display any media except podcasts and itunes u content, the files are still in the folder, i can double click on them and they play in itunes, but never show up i

  • Files opened too big for screen

    Everytime i open a PDF i get that the document becomes bigger than my screen and i can't see the titlebar unless i find some edge and manage to resize it slightly then the title bar pops back.

  • Quicktime really successfully installed?  Need some help here, thanks!

    I accidentally uninstalled quicktimex and I wanted to reinstall it.  However, I saw no quicktime in the application folder, but the installer said quicktime was installed successfully.  What should I do? Thanks