• RELEVANCY SCORE 4.01

    DB:4.01:Unable To Retrieve Xform Data From Package !!!!!! 3c




    Dear all, I am using Form Builder 6.0 SP1. My Xform whose Storage Properties are set to Both XML and Repository Attributes, is created based on a custom object type. The workflow package which will propagate the XForm instance is set to custom object type. The workflow contains an auto activity that will retrieve the XForm's field data and perform business logics on them. But when I am trying to retrieve the dm_xfm_instance from the package by :- IDfPackage crntPackage = workitem.getPackage(packageId);formobj = (IDfSysObject) session.getObject(crntPackage.getComponentId(0));printWriter.println("Component Type :: " + formobj.getTypeName());Instead of dm_xfm_instance , I am getting my custom object type !!!!!How can I get the dm_xfm_instance so that I can retrieve the form data ????Should my object type extend dm_xfm_instance ????Should I create a second package to pass the dm_xfm_instance through the workflow????Thanks RegardsSaswata mandal.

    DB:4.01:Unable To Retrieve Xform Data From Package !!!!!! 3c


    HI

    I solved the error , but issue with getting values of nodes .

    Am getting Element name but Element value is showing Null .

    Below is my code .

    formTemplateId = getDfSession().getIdByQualification("dm_xfm_instance where r_object_id='0900045c800a0d6b'");IDfSysObject obj = (IDfSysObject) getDfSession().getObject(formTemplateId);ByteArrayInputStream xmlInStream = obj.getContent();parse(xmlInStream);

    public void parse(InputStream is){

    SAXBuilder builder= new SAXBuilder();rootDoc = builder.build(is);Iterator iter = rootDoc.getDescendants(); while (iter.hasNext()) { Object obj1 = iter.next(); if (obj1 instanceof Element) { Element element = (Element)obj1; System.out.println("Element Name "+element.getName()); System.out.println("Element Value "+element.getValue()); }

    }

    am getting element name but element value is null .

    Is there anything am missing in my code .

    Regards

    Srini

  • RELEVANCY SCORE 3.30

    DB:3.30:Custom Dm_Xfm_Instance Object Not Listed In Workflow Package Declaration !! 8c




    Dear all, I have a XForm created in Form Builder 6.0 SP1 which extends dm_xfm_instance and contains a textfield whose data is bound to custom object type's attribute. While creating Workflow , I added a package of type dm_xfm_instance but the form drop down list didn't listed my XForm. Only when , I specify the package type to my custom object type , the XForm is listed in the form drop down list. I need to specify, the package type to dm_xfm_instance and the form to my XForm so that I can retrieve the XML instance of the XForm and access the form field data using an automated activity. Any idea about how to achieve this task !!!!Thanks RegardsSaswata Mandal.

    DB:3.30:Custom Dm_Xfm_Instance Object Not Listed In Workflow Package Declaration !! 8c

    Dear all, I have a XForm created in Form Builder 6.0 SP1 which extends dm_xfm_instance and contains a textfield whose data is bound to custom object type's attribute. While creating Workflow , I added a package of type dm_xfm_instance but the form drop down list didn't listed my XForm. Only when , I specify the package type to my custom object type , the XForm is listed in the form drop down list. I need to specify, the package type to dm_xfm_instance and the form to my XForm so that I can retrieve the XML instance of the XForm and access the form field data using an automated activity. Any idea about how to achieve this task !!!!Thanks RegardsSaswata Mandal.

  • RELEVANCY SCORE 3.19

    DB:3.19:Ssis - Unable To Retrieve More Than 100 Rows Of Data From Odbc .Net Provider sk




    Hi
    I am building a SSIS package to retrieve data from an external clients Progress database. I have sucessfully created an ODBC connection and I'm currently using a Data Reader to extract data from the source.
    Using the following query in the Data Reader I can sucessfully retrieve 100 rows of data.

    SELECT TOP 100
    T1.F_INCIDENT_NUMBER
    ,RIGHT(RTRIM(T1.F_ORG_CODE),4) AS F_ORG_CODE
    ,T1.F_VEHICLE_NUMBER
    ,T1.F_ACCIDENT_DATE
    ,T1.F_SPECIAL_2_CODE
    ,T1.F_SPARE_CHAR_2
    ,T1.F_REGISTRATION_DATE
    ,T1.F_STATUS
    ,T2.F_REGISTRATION_NUMBER
    ,T2.F_PURPOSE

    FROM
    PUB.AA AS T1
    ,PUB.BB AS T2

    WHERE
    T1.F_VEHICLE_NUMBER = T2.F_VEHICLE_NUMBER

    DB:3.19:Ssis - Unable To Retrieve More Than 100 Rows Of Data From Odbc .Net Provider sk

    I have been on vacation while the thread was marked as answered. But I want to share the final solution with any body who might run into the same issue:
    The client ran a SQL tool to fix the issue as it was related to the Progress DB. The issue was NOT related to SSIS or the ODBC connection.

  • RELEVANCY SCORE 2.96

    DB:2.96:Cannot Extend Affinetransformop Properly pk


    class MyAffineTransformOp extends AffineTransformOp {

    public MyAffineTransformOp(AffineTransform xform, int interpolationType) {
    super(xform, interpolationType);
    }

    public BufferedImage getFilter(BufferedImage src, BufferedImage dst) {
    BufferedImage bi = this.filter(src, dst);
    return bi;
    }
    }Then I refer to it from another class ...

    ...
    // I pasted from the constructor
    MyPanel()
    ...
    //bimgf, rop, bimg are already referenced and initialized
    bimgf = rop.filter(bimg, null);
    //Prepare a Transform object for the Op
    AffineTransform xform = new AffineTransform();
    xform = xform.getRotateInstance(java.lang.Math.PI, 1136/2, 852/2);
    int interpolationType = java.awt.image.AffineTransformOp.TYPE_BICUBIC;
    //I decided to try extending the AffineTransformOp class instead to see if I could get that to work
    MyAffineTransformOp maop = new MyAffineTransformOp(xform, interpolationType);
    BufferedImage bimgf1 = maop.getFilter(bimgf, bimgf1);The above is what I feel are relevant snippets to my problem (could be wrong). It compiles fine but I get an ImageIOException: Unable to transform src image when it runs.
    Doing it the AffineTransformOp op = etc and then the BufferedImage bi = op.filter(bi, null) makes it work fine, but I want to know why the way I want to do it (above) doesn't work.

    DB:2.96:Cannot Extend Affinetransformop Properly pk

    Your MyAffineTransformOp class seems completely pointless to me. All it does is rename the filter() method.

    I would eliminate it and see what effect that has. It won't be any loss.

  • RELEVANCY SCORE 2.95

    DB:2.95:Unable To Retrieve Requested Information d8


    Have Iomega 34785 RT Home Media Network - Cloud Edition. The Online Content Viewer will not show what is in my Documents share. It gives the message "Unable to retrieve requested information." There are several other shares with data with which I have no problem. And, I have no problem with the Documents share when viewed from my PC. It is only when using the Content Viewer online and only with the Document share that the problem exists. Would appreciate any help.

    DB:2.95:Unable To Retrieve Requested Information d8

    Have Iomega 34785 RT Home Media Network - Cloud Edition. The Online Content Viewer will not show what is in my Documents share. It gives the message "Unable to retrieve requested information." There are several other shares with data with which I have no problem. And, I have no problem with the Documents share when viewed from my PC. It is only when using the Content Viewer online and only with the Document share that the problem exists. Would appreciate any help.

  • RELEVANCY SCORE 2.90

    DB:2.90:How To Handle The Large Volumes Of Data Retreived From Bseg ck



    Hello,

    I need retrieve 1 period of FI document item from BSEG table, it's around 1 million of records. I really concern about the performance. there are 2 options,

    1st: retrieve all data at a time, store it in internal table. I am afraid it will out of memory.

    2nd: retrieve the data by package n lines in select statement, this will also increase the complexity of logic, since I need find some clearing document.

    both these 2 options I think not good, is there better option to improve the performance. thanks.

    DB:2.90:How To Handle The Large Volumes Of Data Retreived From Bseg ck


    Again, Damon, package size is more to control your memory consumption, not for the performance.

    And! If you first select from BKPF and knowing the document number go to BSEG, then you will definitely do it with "FOR ALL ENTRIES" option, right? Then the package size is not even going down to database (at least ABAP help tells that). The restriction is applied in the database interface.

    It is good to use it (to make sure your program does not dump due to memory shortage), but has less to do with performance itself.

  • RELEVANCY SCORE 2.71

    DB:2.71:Error: Unable To Retrieve Target System Data. s1


    Hi ,While selecting the metadata -- control panels Unable to retrieve target system data occurs...how to fix this issue...

    DB:2.71:Error: Unable To Retrieve Target System Data. s1

    What shows in the User error log:a) Choose Tools Clear error logb) Choose Metadata control Tables to reproduce the errorc) Choose Tools view Error LogWhat is shown in the log?

  • RELEVANCY SCORE 2.69

    DB:2.69:Retrieve Db2 Data Using Ssis Package m3


     
    Hi Friends
     
    I have a package that retrieves tables from the DB2 database on a remote Unix server. I am having problems automating this task to retrieve the tables daily.
     
     
    I am using  execute process task(batch file) for this . when i start the package manually, It is able to get the data from the other server.
     
    But  when i schedule package as a job . Not able to get  the data
     
     
    Help aprreciated on this
     
     
    Thanks
    maxx_11
     

  • RELEVANCY SCORE 2.68

    DB:2.68:Unable To Retrieve User Account After Rename cx


    Hi,
    My problem as followed:
    After rename user profile all data lost from this profile, so appreciate your support to resolve this issue.

    DB:2.68:Unable To Retrieve User Account After Rename cx

    Can you please be specific what changes you made and now what issue you are facing
    Please sharepoint event id and ULS log details etc

  • RELEVANCY SCORE 2.65

    DB:2.65:I Have A Bug With A Deployment Project, Help :( 13


    Hi, I got that error when I tried to setup an application I made using csharp where it works on data from sql sever db. But on my own machine the setup package works fine, I ma stuck on that bug and I tried all ways, I hope some one help me :(
    Unable to get installer types in the 'app-path'+'programname.exe' assembly -- unable to load one or more of the requested types. Retrieve the loaderExceptions property for more information.

    DB:2.65:I Have A Bug With A Deployment Project, Help :( 13

    I'm guessing here, but I suspect this is in your custom action that's an Installer class. The most likely reason is that your assembly is dependent on other assemblies that can't be located. They are probably in the GAC on your system but not on the other target systems.

  • RELEVANCY SCORE 2.63

    DB:2.63:Data Dictionary Info About Packages pc


    How can i retrieve package entries queryng the data dictionary ?
    Thanks

    DB:2.63:Data Dictionary Info About Packages pc

    In addition to the information already given only the package owner or a DBA can view the package body source via all_ or dba_source. This is providing the package body was not wrapped. Any other Id is out of luck.

    You can see the public procedure names and parameter lists using dictionary view all_arguments.

    HTH -- Mark D Powell --

  • RELEVANCY SCORE 2.60

    DB:2.60:Xform Problem x1


    Hello!I Have created a form (form 1)based on the custom document type, documentum has generated a nice form by considering sysobject attributes (title, subject, authors and Keywords) and attributes of my custom document type as well.I have created another form (form 2) by using option:Copy UI from existing form (selected the form which I have created earlier) and also shared the same data model. In this form all the fields are readonly.Then I have created a workflow by using my own activity templates.. There are two activities and activity 1 has a package as form 1 and activity 2 has a same package 0 but used another form i.e. form 2.Further to this I have created a form 1 instance by looging as form user and provided some data.. then started the workflow. At first activity, where package is form 1.. performer is able to see valid form with correct data entered by form instance creator. when 1st activity performer forwards/finishes the task, next performer receives the task where package is same but form value is form 2. What I was expecting the performer would be able to see the form 2 which is having all read only controls but data will remain same as both the forms has same data model.Form displays correctly with readonly controls BUT the values are displayed in wiered manner..1st Control displays all values of subsiquent controls.i.e. Title will display the values of Title Subject custom attributes values..Next control displays all velues except the earlier control and this process follows till last control where only one value is displayed.Hi experts, m i doing wrong any where while creating form or workflow.I have checked the versions of form instance.. it's still 1.0 till second activity.looking forward for guidance..

    DB:2.60:Xform Problem x1

    Hello!I Have created a form (form 1)based on the custom document type, documentum has generated a nice form by considering sysobject attributes (title, subject, authors and Keywords) and attributes of my custom document type as well.I have created another form (form 2) by using option:Copy UI from existing form (selected the form which I have created earlier) and also shared the same data model. In this form all the fields are readonly.Then I have created a workflow by using my own activity templates.. There are two activities and activity 1 has a package as form 1 and activity 2 has a same package 0 but used another form i.e. form 2.Further to this I have created a form 1 instance by looging as form user and provided some data.. then started the workflow. At first activity, where package is form 1.. performer is able to see valid form with correct data entered by form instance creator. when 1st activity performer forwards/finishes the task, next performer receives the task where package is same but form value is form 2. What I was expecting the performer would be able to see the form 2 which is having all read only controls but data will remain same as both the forms has same data model.Form displays correctly with readonly controls BUT the values are displayed in wiered manner..1st Control displays all values of subsiquent controls.i.e. Title will display the values of Title Subject custom attributes values..Next control displays all velues except the earlier control and this process follows till last control where only one value is displayed.Hi experts, m i doing wrong any where while creating form or workflow.I have checked the versions of form instance.. it's still 1.0 till second activity.looking forward for guidance..

  • RELEVANCY SCORE 2.58

    DB:2.58:Importing A Package-Com.Beasys.Commerce.Bridge.Ldap.Ldaphelper mf


    hey

    I want my portal application (bulid on BEA WLP8.1)to talk with an external DS..to retrieve info from the DS i need to use functions defined in the package com.beasys.commerce.bridge.ldap.LdapHelper

    What should i do to import this package as i am unable to find it..
    Is there any other means to retrieve info from an external DS

    DB:2.58:Importing A Package-Com.Beasys.Commerce.Bridge.Ldap.Ldaphelper mf

    Try opening the source code in Workshop and it will automatically indicate you that the package this class belongs to is not imported with a tool tip to press Alt+enter to automatically import the package.Again this will work only if that library is in workshop's classpath.

    Jagan

  • RELEVANCY SCORE 2.58

    DB:2.58:Process Data Mapping Xml Form Data To Process Variables 9d


    Good Morning BPM Gurus,I have a form that kicks off a process. The form is a mandatory package for the process. I want to be able to read some of the data in the form to control process flow. So, ideally, I will need to create process variables to map some of the form elements to. With the built in Process Data Mapping activity template, I do not see a way to map the data from the actual form to the process variables.I see the process variables just fine on the left and right sides, but I don't see how to grab the actual data from the form. On the left side, I see process data major nodes as Packages, Variables, Execution Data and Attachments. When I expand the Packages node, I see my mandatory package and it's attributes and a node for content. When I expand the node for content, I see content-type, file-extension, format and data. There is no way to expand the data node. I can't just grab the whole data node and put it in one process variable. The available data mapping functions don't help a whole lot.Any help on parsing the xform data into process variables?

    DB:2.58:Process Data Mapping Xml Form Data To Process Variables 9d

    I don't know if you solved this problem or not. I think you look at wrong node. On the Destination pane, you should expand the "Variables" node and then you can copy form variables to process variables.

  • RELEVANCY SCORE 2.58

    DB:2.58:Sql Server Fulltext Search Index ss


    hi all,
    we are created table and enabled fulltext search index , inserted .txt file into table and .pdf file into table.
    i'm able to retrieve data from using below syntax
    SELECT * FROM Doc WHERE contains(*,'Citibank')
    i'm able to retrieve data from .txt file, but unable to retrieve data from .pdf file, please suggest what are the steps i need to follow to get pdf file word results as well.

    Thanks & Regards LAKSHMI NARAYANA REDDY.L

    DB:2.58:Sql Server Fulltext Search Index ss

    Support for PDM is not installed by default, but you need to get an iFilter from Adobe. My first hit on Google was this blog post from Damian Zapart, which includes both the download and instructions:
    http://dzapart.blogspot.se/2012/04/full-text-search-with-pdf-in-microsoft.html
    Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

  • RELEVANCY SCORE 2.57

    DB:2.57:Rme Problem - Unable To Retrieve Inventory For 3845 Router xx



    I have a 3845 router for whcih I can't retrieve inventory.

    Here is the RME job error...

    RICS0001:Internal Error,unable to process the collected data from the device

    Here is the IC_Server.log error...

    Exception occured in process method while processing: 10.8.0.1 ASA Error -193: Primary key for table 'PhysicalPort' is not unique

    Any ideas?

    Cheers SteveK.

    DB:2.57:Rme Problem - Unable To Retrieve Inventory For 3845 Router xx


    There are two other bugs which may account for this: CSCsm97530 and CSCso54489. A consolidated patch with both fixes is available from TAC for RME 4.0.6 and 4.1.1. The bugs are fixed in 4.2.

  • RELEVANCY SCORE 2.57

    DB:2.57:Failing To Send And Retrieve Data From Html Page To Bpel sz


    once i have the html form ready, which 'onSubmit' calls the BPEL process, i am unable to send the data to the process and thereafter i m unable to retrieve the data send by the html form... Want to know how can i use the HTML form to send data and then retrieve data back from the BPEL process

    Rohit Jain

    DB:2.57:Failing To Send And Retrieve Data From Html Page To Bpel sz

    There is an example showing this, it can be found under /samples/tutorials/102.InvokingProcesses/jsp/invokeCreditRatingService.html

    hth clemens

  • RELEVANCY SCORE 2.55

    DB:2.55:Http Request a8


    I have successfully been able to retrieve data from a tomcat
    server.

    But when I try to retrieve data from a tomcat server that has
    an apache on port 80, I am unable to load the data.

    Why is this happening and how can I fix it?

    DB:2.55:Http Request a8

    I have successfully been able to retrieve data from a tomcat
    server.

    But when I try to retrieve data from a tomcat server that has
    an apache on port 80, I am unable to load the data.

    Why is this happening and how can I fix it?

  • RELEVANCY SCORE 2.55

    DB:2.55:Exception In Cipher Initialization 91


    Hi guys,
    i am trying to create a simpe application reading a public key from a file and encrypting some data. Here is my code sample;

    ......
    byte[] kb = bytes; //public key previously fetched from file, in byte array form

    PublicKey ky = null;
    KeyFactory keyFactory = KeyFactory.getInstance("RSA", "BC"); //I am using BouncyCastle as provider
    X509EncodedKeySpec pubKeySpec = new X509EncodedKeySpec(kb);
    ky = keyFactory.generatePublic(pubKeySpec);
    pubk = ky;
    System.out.println("public key retrieved!");
    System.out.println("Now encrypting");
    String xform = "RSA/ECB/NoPadding "; //Algorithm and encryption attributes
    Cipher cipher = Cipher.getInstance("xform", "BC"); //Problem tracked here!!
    // This is the farest i can get. I always get an initialization exception for the cipher
    System.out.println("Instance for BC: OK!");
    cipher.init(Cipher.ENCRYPT_MODE, pubk);
    encrypted = cipher.doFinal(data);
    .....

    Any suggestions?
    I am also importing the provider properly (Security.addProvider(new BouncyCastleProvider());) at the beginning.
    I am using jsdk1.4.2_01 and the relative version of bouncy castle provider.

    DB:2.55:Exception In Cipher Initialization 91

    Ok, i found the way out myself:
    I just installed a version of jdk1.4.2_03, did not mess with the policy files (that means i kept the original ones and did not replaced with the ones that come with the jce_142_policy, and it worked!

  • RELEVANCY SCORE 2.55

    DB:2.55:How To Retrieve Data From Domain(Value Range) Of The Table 9x



    hi

    how to retrieve data from domain(Value Range) of the table

    thanks

  • RELEVANCY SCORE 2.54

    DB:2.54:Not Able To Open An Xform In Taskspace pm



    Hi,

    Whenever I'm creating a new form instance, I'm not able to open xform under open items tab in taskspace.

    I have designed an xform for my taskspace application. In the home page tab of application there is one more Xform loaded which has invoke button to call an action which launches this Xform.

    I see one screen which shows form name (pre-defined in action) and form template. After this, the form gets saved into the folder instead of launching it in open items as i'm expecting.

    Even if I double click the form from where it is saved, the open items tab displays the custom attributes and a message

    "No viewer is assigned to handle this file format"

    Need help on this ... Thanks !!!

    DB:2.54:Not Able To Open An Xform In Taskspace pm


    You can always use view / edit for read / write operations.

  • RELEVANCY SCORE 2.54

    DB:2.54:Cannot Connect To Oracle From Inside Bids 9z


    Hi,
    I am using Windows Server 2008 SP2 and SQL Server 2005 9.00.4053.00 SP3 Standard Edition (64-bit).
    I retrieve data from Oracle with OLE DB Source using Oracle Provider for OLE DB. I have installed both 32-bit and 64-bit oracle client tools.
    When I execute the package from BIDS, package executes immediately with no error, but OLE DB Source does not retrieve any data.
    When I execute package using Execute Package Utility, it is executed sucessfully.

    What is the problem in this case?
    Thanks,

    CK

    DB:2.54:Cannot Connect To Oracle From Inside Bids 9z

    Hi,
    Fnally it was my mistake. I had forgotten to place tnsnames.ora in client_64, apart from client_32.

    Thanks

  • RELEVANCY SCORE 2.54

    DB:2.54:Unable To Retrieve Children : Data Source Provider Error mc


    i have 2 servers as Product and Test use MSSQL2000at Test Server i make view link data from Product serverafter that i make analysis and i make dimensions use view link data from Product serverthen i have message Unable tot retrieve children : Data source Provider error

    DB:2.54:Unable To Retrieve Children : Data Source Provider Error mc

    i have 2 servers as Product and Test use MSSQL2000at Test Server i make view link data from Product serverafter that i make analysis and i make dimensions use view link data from Product serverthen i have message Unable tot retrieve children : Data source Provider error

  • RELEVANCY SCORE 2.54

    DB:2.54:Retrieve Data From An .Csv To An Ssis Variable ck


    Morning,
    Basically I am importing call stats into a SQL Table. The Call Software is pretty old and only exports in .csv format.
    How can I retrieve the 'B2' Column Value from the Excel Spreadsheet and pass it to a variable in my SSIS Package for use in an Execute SQL Task?
    Cheers.

    DB:2.54:Retrieve Data From An .Csv To An Ssis Variable ck

    oops - just noticed that the line split should use , rather than ;Rgds Geoff
    ----------------------------------------------------------
    Mark as Answer if this resolves your problem or Vote as Helpful if you find it helpful.

  • RELEVANCY SCORE 2.53

    DB:2.53:Issue While Refreshing The Table Data In Wdk Page zj



    Dear DCTM folks,

    The working environment is as follows:
    Forms Builder 6.7
    WDK 6.7

    Scenario: I have two XForms(namely, XForm-1 and XForm-2) and the XForm-1 contains a table(properly set Data binding and Use adaptor) and Edit button. The way to change the value in the table is to select a row from the table and click the Edit button that will open the XForm-2 by which you can enter the values and press Submit button from XForm-2 and then it will return to the XForm-1. The XForm-1 is invoking the XForm-2 by below WDK code:

    setComponentNested("editxforms",arglist, getContext(), new IReturnListener() {

    @Override
    public void onReturn(Form arg0, Map arg1) {
    if(ctrl instanceof XForms){
    XForms xforms = (XForms) ctrl;
    XFormsControl appCtrl = xforms.getIncludedFormsControl("SAMPLE_NO");
    appCtrl.setValue("");
    }
    }

    });

    Issue: The flow comes from the XForm-2 to XForm-1 successfully after clicking the "Submit" button but THE VALUE IN THE TABLE IN XFORM-1 CONTAINS THE OLD VALUE NOT THE NEW VALUE ENTERED BY THE USER. The value in the table of XForm-1 is not getting refreshed properly.

    Please let me know anyone who had already faced this issue earlier.

    Your help will be highly beneficial for me!!!

    Thanks and Regards,

    Ganesh Kumar

    DB:2.53:Issue While Refreshing The Table Data In Wdk Page zj


    Hi Ganesh,

    Do you get the updated values in your callback handler onReturn(Map)? Can you print this map and see if you get the updated values from XForm2?

    -Siva

  • RELEVANCY SCORE 2.52

    DB:2.52:Taskspace Xforms Refresh Issue 1k



    Hi,

    We are having an taskspace tab having an xform. Once the form gets initialized, the xform will invoke the custom adaptor and the query (to retrieve the workflow list) in the adaptor will be executed and the result (the workflow list) will return to the xform as xml document. So, in my taskspace xform tab i can see the list of workflows.

    I'm having an inbox_view component and once i select an workflow from the xform and click an submit (instance button) button, the queue id is passed to the inbox_view component and the inbox view is displaying in the taskspace application. However the problem is once i modified the values in the inbox and return to the xform tab, the values are NOT refreshed (but the values are modified in the docbase).

    1. Is there any resolution available to refresh the xform ?

    2. Is there any resolution available to refresh the tab whenever we visit it again so that the custom adaptor will be called once again and results are displayed.

    Any help is highly appreciated.

    Regards,

    Rajkumar Sukumar

    DB:2.52:Taskspace Xforms Refresh Issue 1k


    Thanks Chris... i have moved to proper forum...

  • RELEVANCY SCORE 2.52

    DB:2.52:Start Workflow From Electronic Form mf



    Hi

    i need to start a workFlow from an Electronic Form (added from tabs configuration as Generic Form).

    Which is the best way to do this?

    which package must i declare in the Process Builder (XFORM or dm_customdocument)?

    i'm trying with adaptor. if i click on submit buttom, the system return "Error occurred processing submission: null"

    Many Thanks

    DB:2.52:Start Workflow From Electronic Form mf


    Hi,

    Are you able to describe your use-case in a little more detail.

    The circumstances in which we hit this limitation were

    1. post-processor adaptor in the doc-view form of a TaskSpace importer

    2. when submiting a form displayed in a 'generic taskspace template'

    -----

    The post-processor start workflow adaptor works as expected when viewing a form/document that is already stored in the repository in a custom TaskSpace DocView form

  • RELEVANCY SCORE 2.52

    DB:2.52:Pl/Sql Package For Ssl zc


    Hi,

    I am trying to find out a PL/SQL package that can help me establish SSL connection and retrieve emails from the POP server.

    I know that UTL_TCP package is meant for retrieving emails from the POP server (without SSL) and have already implemented the same but now I am trying to do the same with some SSL encryption and unable to figure out how UTL_TCP package can be used for the same.

    Any suggestions ?

    DB:2.52:Pl/Sql Package For Ssl zc

    Another possibility is that the above mentioned wikipedia article also references a couple of freely available C implementations of SSL/TLS. The ones that stood out to me were OpenSSL and GnuTLS. It would conceptiually be possible to take one of those freely available implementations and compile it as an externally linkable library, then using oracle's Create Library statement and call_spec syntax of the Create Function statement PL/SQL interface to the needed C library functions could be created.
    p
    See the folowing documentation for more details:ulli
    CREATE LIBRARY
    liCREATE FUNCTION
    liCalling External Procedures/ul

  • RELEVANCY SCORE 2.51

    DB:2.51:Get Current Scaling da


    Hi.
    Could you please help me to figure out the next problem? I try to get current scaling percent, but my code always returns the same value 1.02940 and does not become updated when I change scaling. Could you please help me to figure out with this? I use the following code:
    InterfacePtrITransform xform(this, UseDefaultIID());
    if (xform != nil) {
    PMReal scaleX = xform-GetItemScaleX();
    PMReal scaleY = xform-GetItemScaleY();
    }
    this is inherited from CGraphicFrameShape class.
    Thanks for any help.

    DB:2.51:Get Current Scaling da

    I've also faced the same problem. The heart of problem is following:

    AFAIK, after choosing the desired scaling percentage value in combobox in InDesign, the one scales the shape and sets scaling percentage back to 100%. ONLY AFTER these operations, the method DrawShape(...) is called. That's why we have the same values every call.

    Possible solution may be: We should track (capture) choosing desired scaling percentage value in combobox BEFORE DrawShape is called. The question is - HOW? Is there any interfaces that allow doing that?

  • RELEVANCY SCORE 2.51

    DB:2.51:Alert Vcenter Services Status js



    Hello,

    I've got an error in the vcenter service status:

    "Unable to retrieve health data from https://vcserver:8443/vws/Query/Health"

    Can you help me , please?

  • RELEVANCY SCORE 2.51

    DB:2.51:Display Xform In Workflow? 8m


    Using 5.3 sp2I have a 3rd party app initiating a workflow (Kofax), and package0 is an image passed from Kofax. I would like to use an xForm to diplay attributes of this object. If I add the form to the same package, and tell it to launch automatically, it launces the image, not the form. Is there a way to do this?

    DB:2.51:Display Xform In Workflow? 8m

    Using 5.3 sp2I have a 3rd party app initiating a workflow (Kofax), and package0 is an image passed from Kofax. I would like to use an xForm to diplay attributes of this object. If I add the form to the same package, and tell it to launch automatically, it launces the image, not the form. Is there a way to do this?

  • RELEVANCY SCORE 2.50

    DB:2.50:Unable To Retrieve Target System Data Error sk


    I am getting an error while connecting to target system that "Unable to retrieve target system data" when click 'Metadata-Control Tables'.

    What could be the reason?
    Thanks

    DB:2.50:Unable To Retrieve Target System Data Error sk

    The adapter components folder can exist in the Hyperion\Products\FDM\Shared Components directory. The file that needs to be registered is the FM11x-G5C\FM11x-G5C\upsFM11xG5C.dll file.

  • RELEVANCY SCORE 2.50

    DB:2.50:Help! aa


    2 PROBLEMS. A fix for either would be nice. Thanks for taking a look.In JAVA FX I cant seem to get any 3d images to work. Cant seem to find all the files it needs to run. Not even my sample. Screenshot following;JAVAFX[URL=http://s1049.photobucket.com/user/chris_bob2/media/qqq2_zps45c75374.png.html][IMG]http://i1049.photobucket.com/albums/s400/chris_bob2/qqq2_zps45c75374.png[/IMG][/URL]In JAVA3D, I cant get anything but a blank screen.JAVA3D[URL=http://s1049.photobucket.com/user/chris_bob2/media/qqq1_zps758a0305.png.html][IMG]http://i1049.photobucket.com/albums/s400/chris_bob2/qqq1_zps758a0305.png[/IMG][/URL]JAVA FX CODE/* * Copyright (c) 2011, 2013 Oracle and/or its affiliates. * All rights reserved. Use is subject to license terms. * * This file is available and licensed under the following license: * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * - Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * - Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the distribution. * - Neither the name of Oracle nor the names of its * contributors may be used to endorse or promote products derived * from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */package moleculesampleapp;import javafx.application.Application;import static javafx.application.Application.launch;import javafx.scene.Group;import javafx.scene.Scene;import javafx.scene.paint.Color;import javafx.stage.Stage;import javafx.scene.PerspectiveCamera;import javafx.scene.paint.PhongMaterial;import javafx.scene.shape.Box;import javafx.scene.shape.Cylinder;import javafx.scene.shape.Sphere;import javafx.scene.transform.Rotate;import javafx.animation.Timeline;import javafx.event.EventHandler;import static javafx.scene.input.KeyCode.*;import javafx.scene.input.KeyEvent;import javafx.scene.input.MouseEvent;import javafx.util.Duration;import javafx.scene.Node;/** * MoleculeSampleApp */public class MoleculeSampleApp extends Application { final Group root = new Group(); final Group axisGroup = new Group(); final Xform world = new Xform(); final PerspectiveCamera camera = new PerspectiveCamera(true); final Xform cameraXform = new Xform(); final Xform cameraXform2 = new Xform(); final Xform cameraXform3 = new Xform(); final double cameraDistance = 450; final Xform moleculeGroup = new Xform(); private Timeline timeline; boolean timelinePlaying = false; double ONE_FRAME = 1.0 / 24.0; double DELTA_MULTIPLIER = 200.0; double CONTROL_MULTIPLIER = 0.1; double SHIFT_MULTIPLIER = 0.1; double ALT_MULTIPLIER = 0.5; double mousePosX; double mousePosY; double mouseOldX; double mouseOldY; double mouseDeltaX; double mouseDeltaY; private void buildScene() { root.getChildren().add(world); } private void buildCamera() { root.getChildren().add(cameraXform); cameraXform.getChildren().add(cameraXform2); cameraXform2.getChildren().add(cameraXform3); cameraXform3.getChildren().add(camera); cameraXform3.setRotateZ(180.0); camera.setNearClip(0.1); camera.setFarClip(10000.0); camera.setTranslateZ(-cameraDistance); cameraXform.ry.setAngle(320.0); cameraXform.rx.setAngle(40); } private void buildAxes() { final PhongMaterial redMaterial = new PhongMaterial(); redMaterial.setDiffuseColor(Color.DARKRED); redMaterial.setSpecularColor(Color.RED); final PhongMaterial greenMaterial = new PhongMaterial(); greenMaterial.setDiffuseColor(Color.DARKGREEN); greenMaterial.setSpecularColor(Color.GREEN); final PhongMaterial blueMaterial = new PhongMaterial(); blueMaterial.setDiffuseColor(Color.DARKBLUE); blueMaterial.setSpecularColor(Color.BLUE); final Box xAxis = new Box(240.0, 1, 1); final Box yAxis = new Box(1, 240.0, 1); final Box zAxis = new Box(1, 1, 240.0); xAxis.setMaterial(redMaterial); yAxis.setMaterial(greenMaterial); zAxis.setMaterial(blueMaterial); axisGroup.getChildren().addAll(xAxis, yAxis, zAxis); world.getChildren().addAll(axisGroup); } private void buildMolecule() { final PhongMaterial redMaterial = new PhongMaterial(); redMaterial.setDiffuseColor(Color.DARKRED); redMaterial.setSpecularColor(Color.RED); final PhongMaterial whiteMaterial = new PhongMaterial(); whiteMaterial.setDiffuseColor(Color.WHITE); whiteMaterial.setSpecularColor(Color.LIGHTBLUE); final PhongMaterial greyMaterial = new PhongMaterial(); greyMaterial.setDiffuseColor(Color.DARKGREY); greyMaterial.setSpecularColor(Color.GREY); // Molecule Hierarchy // [*] moleculeXform // [*] oxygenXform // [*] oxygenSphere // [*] hydrogen1SideXform // [*] hydrogen1Xform // [*] hydrogen1Sphere // [*] bond1Cylinder // [*] hydrogen2SideXform // [*] hydrogen2Xform // [*] hydrogen2Sphere // [*] bond2Cylinder Xform moleculeXform = new Xform(); Xform oxygenXform = new Xform(); Xform hydrogen1SideXform = new Xform(); Xform hydrogen1Xform = new Xform(); Xform hydrogen2SideXform = new Xform(); Xform hydrogen2Xform = new Xform(); Sphere oxygenSphere = new Sphere(40.0); oxygenSphere.setMaterial(redMaterial); Sphere hydrogen1Sphere = new Sphere(30.0); hydrogen1Sphere.setMaterial(whiteMaterial); hydrogen1Sphere.setTranslateX(0.0); Sphere hydrogen2Sphere = new Sphere(30.0); hydrogen2Sphere.setMaterial(whiteMaterial); hydrogen2Sphere.setTranslateZ(0.0); Cylinder bond1Cylinder = new Cylinder(5, 100); bond1Cylinder.setMaterial(greyMaterial); bond1Cylinder.setTranslateX(50.0); bond1Cylinder.setRotationAxis(Rotate.Z_AXIS); bond1Cylinder.setRotate(90.0); Cylinder bond2Cylinder = new Cylinder(5, 100); bond2Cylinder.setMaterial(greyMaterial); bond2Cylinder.setTranslateX(50.0); bond2Cylinder.setRotationAxis(Rotate.Z_AXIS); bond2Cylinder.setRotate(90.0); moleculeXform.getChildren().add(oxygenXform); moleculeXform.getChildren().add(hydrogen1SideXform); moleculeXform.getChildren().add(hydrogen2SideXform); oxygenXform.getChildren().add(oxygenSphere); hydrogen1SideXform.getChildren().add(hydrogen1Xform); hydrogen2SideXform.getChildren().add(hydrogen2Xform); hydrogen1Xform.getChildren().add(hydrogen1Sphere); hydrogen2Xform.getChildren().add(hydrogen2Sphere); hydrogen1SideXform.getChildren().add(bond1Cylinder); hydrogen2SideXform.getChildren().add(bond2Cylinder); hydrogen1Xform.setTx(100.0); hydrogen2Xform.setTx(100.0); hydrogen2SideXform.setRotateY(104.5); moleculeGroup.getChildren().add(moleculeXform); world.getChildren().addAll(moleculeGroup); } private void handleMouse(Scene scene, final Node root) { scene.setOnMousePressed(new EventHandlerMouseEvent() { @Override public void handle(MouseEvent me) { mousePosX = me.getSceneX(); mousePosY = me.getSceneY(); mouseOldX = me.getSceneX(); mouseOldY = me.getSceneY(); } }); scene.setOnMouseDragged(new EventHandlerMouseEvent() { @Override public void handle(MouseEvent me) { mouseOldX = mousePosX; mouseOldY = mousePosY; mousePosX = me.getSceneX(); mousePosY = me.getSceneY(); mouseDeltaX = (mousePosX - mouseOldX); mouseDeltaY = (mousePosY - mouseOldY); double modifier = 1.0; double modifierFactor = 0.1; if (me.isControlDown()) { modifier = 0.1; } if (me.isShiftDown()) { modifier = 10.0; } if (me.isPrimaryButtonDown()) { cameraXform.ry.setAngle(cameraXform.ry.getAngle() - mouseDeltaX * modifierFactor * modifier * 2.0); // + cameraXform.rx.setAngle(cameraXform.rx.getAngle() + mouseDeltaY * modifierFactor * modifier * 2.0); // - } else if (me.isSecondaryButtonDown()) { double z = camera.getTranslateZ(); double newZ = z + mouseDeltaX * modifierFactor * modifier; camera.setTranslateZ(newZ); } else if (me.isMiddleButtonDown()) { cameraXform2.t.setX(cameraXform2.t.getX() + mouseDeltaX * modifierFactor * modifier * 0.3); // - cameraXform2.t.setY(cameraXform2.t.getY() + mouseDeltaY * modifierFactor * modifier * 0.3); // - } } }); } private void handleKeyboard(Scene scene, final Node root) { final boolean moveCamera = true; scene.setOnKeyPressed(new EventHandlerKeyEvent() { @Override public void handle(KeyEvent event) { Duration currentTime; switch (event.getCode()) { case Z: if (event.isShiftDown()) { cameraXform.ry.setAngle(0.0); cameraXform.rx.setAngle(0.0); camera.setTranslateZ(-300.0); } cameraXform2.t.setX(0.0); cameraXform2.t.setY(0.0); break; case X: if (event.isControlDown()) { if (axisGroup.isVisible()) { axisGroup.setVisible(false); } else { axisGroup.setVisible(true); } } break; case S: if (event.isControlDown()) { if (moleculeGroup.isVisible()) { moleculeGroup.setVisible(false); } else { moleculeGroup.setVisible(true); } } break; case SPACE: if (timelinePlaying) { timeline.pause(); timelinePlaying = false; } else { timeline.play(); timelinePlaying = true; } break; case UP: if (event.isControlDown() event.isShiftDown()) { cameraXform2.t.setY(cameraXform2.t.getY() - 10.0 * CONTROL_MULTIPLIER); } else if (event.isAltDown() event.isShiftDown()) { cameraXform.rx.setAngle(cameraXform.rx.getAngle() - 10.0 * ALT_MULTIPLIER); } else if (event.isControlDown()) { cameraXform2.t.setY(cameraXform2.t.getY() - 1.0 * CONTROL_MULTIPLIER); } else if (event.isAltDown()) { cameraXform.rx.setAngle(cameraXform.rx.getAngle() - 2.0 * ALT_MULTIPLIER); } else if (event.isShiftDown()) { double z = camera.getTranslateZ(); double newZ = z + 5.0 * SHIFT_MULTIPLIER; camera.setTranslateZ(newZ); } break; case DOWN: if (event.isControlDown() event.isShiftDown()) { cameraXform2.t.setY(cameraXform2.t.getY() + 10.0 * CONTROL_MULTIPLIER); } else if (event.isAltDown() event.isShiftDown()) { cameraXform.rx.setAngle(cameraXform.rx.getAngle() + 10.0 * ALT_MULTIPLIER); } else if (event.isControlDown()) { cameraXform2.t.setY(cameraXform2.t.getY() + 1.0 * CONTROL_MULTIPLIER); } else if (event.isAltDown()) { cameraXform.rx.setAngle(cameraXform.rx.getAngle() + 2.0 * ALT_MULTIPLIER); } else if (event.isShiftDown()) { double z = camera.getTranslateZ(); double newZ = z - 5.0 * SHIFT_MULTIPLIER; camera.setTranslateZ(newZ); } break; case RIGHT: if (event.isControlDown() event.isShiftDown()) { cameraXform2.t.setX(cameraXform2.t.getX() + 10.0 * CONTROL_MULTIPLIER); } else if (event.isAltDown() event.isShiftDown()) { cameraXform.ry.setAngle(cameraXform.ry.getAngle() - 10.0 * ALT_MULTIPLIER); } else if (event.isControlDown()) { cameraXform2.t.setX(cameraXform2.t.getX() + 1.0 * CONTROL_MULTIPLIER); } else if (event.isAltDown()) { cameraXform.ry.setAngle(cameraXform.ry.getAngle() - 2.0 * ALT_MULTIPLIER); } break; case LEFT: if (event.isControlDown() event.isShiftDown()) { cameraXform2.t.setX(cameraXform2.t.getX() - 10.0 * CONTROL_MULTIPLIER); } else if (event.isAltDown() event.isShiftDown()) { cameraXform.ry.setAngle(cameraXform.ry.getAngle() + 10.0 * ALT_MULTIPLIER); // - } else if (event.isControlDown()) { cameraXform2.t.setX(cameraXform2.t.getX() - 1.0 * CONTROL_MULTIPLIER); } else if (event.isAltDown()) { cameraXform.ry.setAngle(cameraXform.ry.getAngle() + 2.0 * ALT_MULTIPLIER); // - } break; } } }); } @Override public void start(Stage primaryStage) { buildScene(); buildCamera(); buildAxes(); buildMolecule(); Scene scene = new Scene(root, 1024, 768, true); scene.setFill(Color.GREY); handleKeyboard(scene, world); handleMouse(scene, world); primaryStage.setTitle("Molecule Sample Application"); primaryStage.setScene(scene); primaryStage.show(); scene.setCamera(camera); } /** * The main() method is ignored in correctly deployed JavaFX application. * main() serves only as fallback in case the application can not be * launched through deployment artifacts, e.g., in IDEs with limited FX * support. NetBeans ignores main(). * * @param args the command line arguments */ public static void main(String[] args) { System.setProperty("prism.dirtyopts", "false"); launch(args); }}ASSOCIATED JAVAFX FILE---------------------------------------------------------------------/* * Copyright (c) 2011, 2013 Oracle and/or its affiliates. * All rights reserved. Use is subject to license terms. * * This file is available and licensed under the following license: * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * - Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * - Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the distribution. * - Neither the name of Oracle nor the names of its * contributors may be used to endorse or promote products derived * from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */package moleculesampleapp;import javafx.scene.Group;import javafx.scene.transform.Rotate;import javafx.scene.transform.Scale;import javafx.scene.transform.Translate;public class Xform extends Group { public enum RotateOrder { XYZ, XZY, YXZ, YZX, ZXY, ZYX } public Translate t = new Translate(); public Translate p = new Translate(); public Translate ip = new Translate(); public Rotate rx = new Rotate(); { rx.setAxis(Rotate.X_AXIS); } public Rotate ry = new Rotate(); { ry.setAxis(Rotate.Y_AXIS); } public Rotate rz = new Rotate(); { rz.setAxis(Rotate.Z_AXIS); } public Scale s = new Scale(); public Xform() { super(); getTransforms().addAll(t, rz, ry, rx, s); } public Xform(RotateOrder rotateOrder) { super(); // choose the order of rotations based on the rotateOrder switch (rotateOrder) { case XYZ: getTransforms().addAll(t, p, rz, ry, rx, s, ip); break; case XZY: getTransforms().addAll(t, p, ry, rz, rx, s, ip); break; case YXZ: getTransforms().addAll(t, p, rz, rx, ry, s, ip); break; case YZX: getTransforms().addAll(t, p, rx, rz, ry, s, ip); // For Camera break; case ZXY: getTransforms().addAll(t, p, ry, rx, rz, s, ip); break; case ZYX: getTransforms().addAll(t, p, rx, ry, rz, s, ip); break; } } public void setTranslate(double x, double y, double z) { t.setX(x); t.setY(y); t.setZ(z); } public void setTranslate(double x, double y) { t.setX(x); t.setY(y); } // Cannot override these methods as they are final: // public void setTranslateX(double x) { t.setX(x); } // public void setTranslateY(double y) { t.setY(y); } // public void setTranslateZ(double z) { t.setZ(z); } // Use these methods instead: public void setTx(double x) { t.setX(x); } public void setTy(double y) { t.setY(y); } public void setTz(double z) { t.setZ(z); } public void setRotate(double x, double y, double z) { rx.setAngle(x); ry.setAngle(y); rz.setAngle(z); } public void setRotateX(double x) { rx.setAngle(x); } public void setRotateY(double y) { ry.setAngle(y); } public void setRotateZ(double z) { rz.setAngle(z); } public void setRx(double x) { rx.setAngle(x); } public void setRy(double y) { ry.setAngle(y); } public void setRz(double z) { rz.setAngle(z); } public void setScale(double scaleFactor) { s.setX(scaleFactor); s.setY(scaleFactor); s.setZ(scaleFactor); } public void setScale(double x, double y, double z) { s.setX(x); s.setY(y); s.setZ(z); } // Cannot override these methods as they are final: // public void setScaleX(double x) { s.setX(x); } // public void setScaleY(double y) { s.setY(y); } // public void setScaleZ(double z) { s.setZ(z); } // Use these methods instead: public void setSx(double x) { s.setX(x); } public void setSy(double y) { s.setY(y); } public void setSz(double z) { s.setZ(z); } public void setPivot(double x, double y, double z) { p.setX(x); p.setY(y); p.setZ(z); ip.setX(-x); ip.setY(-y); ip.setZ(-z); } public void reset() { t.setX(0.0); t.setY(0.0); t.setZ(0.0); rx.setAngle(0.0); ry.setAngle(0.0); rz.setAngle(0.0); s.setX(1.0); s.setY(1.0); s.setZ(1.0); p.setX(0.0); p.setY(0.0); p.setZ(0.0); ip.setX(0.0); ip.setY(0.0); ip.setZ(0.0); } public void resetTSP() { t.setX(0.0); t.setY(0.0); t.setZ(0.0); s.setX(1.0); s.setY(1.0); s.setZ(1.0); p.setX(0.0); p.setY(0.0); p.setZ(0.0); ip.setX(0.0); ip.setY(0.0); ip.setZ(0.0); }}-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------JAVA3D CODEpackage j3dt1;import java.awt.Color;import com.sun.j3d.utils.geometry.GeometryInfo;import com.sun.j3d.utils.geometry.NormalGenerator;import com.sun.j3d.utils.universe.SimpleUniverse;import javax.media.j3d.*;import javax.vecmath.*;// Base divided into two trianglespublic class PyramidExample { public static void main(String[] args) { SimpleUniverse universe = new SimpleUniverse(); BranchGroup group = new BranchGroup(); Point3f e = new Point3f(1.0f, 0.0f, 0.0f); // east Point3f s = new Point3f(0.0f, 0.0f, 1.0f); // south Point3f w = new Point3f(-1.0f, 0.0f, 0.0f); // west Point3f n = new Point3f(0.0f, 0.0f, -1.0f); // north Point3f t = new Point3f(0.0f, 0.721f, 0.0f); // top TriangleArray pyramidGeometry = new TriangleArray(18, TriangleArray.COORDINATES); pyramidGeometry.setCoordinate(0, e); pyramidGeometry.setCoordinate(1, t); pyramidGeometry.setCoordinate(2, s); pyramidGeometry.setCoordinate(3, s); pyramidGeometry.setCoordinate(4, t); pyramidGeometry.setCoordinate(5, w); pyramidGeometry.setCoordinate(6, w); pyramidGeometry.setCoordinate(7, t); pyramidGeometry.setCoordinate(8, n); pyramidGeometry.setCoordinate(9, n); pyramidGeometry.setCoordinate(10, t); pyramidGeometry.setCoordinate(11, e); pyramidGeometry.setCoordinate(12, e); pyramidGeometry.setCoordinate(13, s); pyramidGeometry.setCoordinate(14, w); pyramidGeometry.setCoordinate(15, w); pyramidGeometry.setCoordinate(16, n); pyramidGeometry.setCoordinate(17, e); GeometryInfo geometryInfo = new GeometryInfo(pyramidGeometry); NormalGenerator ng = new NormalGenerator(); ng.generateNormals(geometryInfo); GeometryArray result = geometryInfo.getGeometryArray(); // yellow appearance Appearance appearance = new Appearance(); Color3f color = new Color3f(Color.yellow); Color3f black = new Color3f(0.0f, 0.0f, 0.0f); Color3f white = new Color3f(1.0f, 1.0f, 1.0f); Texture texture = new Texture2D(); TextureAttributes texAttr = new TextureAttributes(); texAttr.setTextureMode(TextureAttributes.MODULATE); texture.setBoundaryModeS(Texture.WRAP); texture.setBoundaryModeT(Texture.WRAP); texture.setBoundaryColor(new Color4f(0.0f, 1.0f, 0.0f, 0.0f)); Material mat = new Material(color, black, color, white, 70f); appearance.setTextureAttributes(texAttr); appearance.setMaterial(mat); appearance.setTexture(texture); Shape3D shape = new Shape3D(result, appearance); group.addChild(shape); // above pyramid Vector3f viewTranslation = new Vector3f(); viewTranslation.z = 3; viewTranslation.x = 0f; viewTranslation.y = .3f; Transform3D viewTransform = new Transform3D(); viewTransform.setTranslation(viewTranslation); Transform3D rotation = new Transform3D(); rotation.rotX(-Math.PI / 12.0d); rotation.mul(viewTransform); universe.getViewingPlatform().getViewPlatformTransform().setTransform( rotation); universe.getViewingPlatform().getViewPlatformTransform().getTransform( viewTransform); // lights BoundingSphere bounds = new BoundingSphere(new Point3d(0.0, 0.0, 0.0), 1000.0); Color3f light1Color = new Color3f(.7f, .7f, .7f); Vector3f light1Direction = new Vector3f(4.0f, -7.0f, -12.0f); DirectionalLight light1 = new DirectionalLight(light1Color, light1Direction); light1.setInfluencingBounds(bounds); group.addChild(light1); Color3f ambientColor = new Color3f(.4f, .4f, .4f); AmbientLight ambientLightNode = new AmbientLight(ambientColor); ambientLightNode.setInfluencingBounds(bounds); group.addChild(ambientLightNode); universe.addBranchGraph(group); }}

    DB:2.50:Help! aa

    2 PROBLEMS. A fix for either would be nice. Thanks for taking a look.In JAVA FX I cant seem to get any 3d images to work. Cant seem to find all the files it needs to run. Not even my sample. Screenshot following;JAVAFX[URL=http://s1049.photobucket.com/user/chris_bob2/media/qqq2_zps45c75374.png.html][IMG]http://i1049.photobucket.com/albums/s400/chris_bob2/qqq2_zps45c75374.png[/IMG][/URL]In JAVA3D, I cant get anything but a blank screen.JAVA3D[URL=http://s1049.photobucket.com/user/chris_bob2/media/qqq1_zps758a0305.png.html][IMG]http://i1049.photobucket.com/albums/s400/chris_bob2/qqq1_zps758a0305.png[/IMG][/URL]JAVA FX CODE/* * Copyright (c) 2011, 2013 Oracle and/or its affiliates. * All rights reserved. Use is subject to license terms. * * This file is available and licensed under the following license: * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * - Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * - Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the distribution. * - Neither the name of Oracle nor the names of its * contributors may be used to endorse or promote products derived * from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */package moleculesampleapp;import javafx.application.Application;import static javafx.application.Application.launch;import javafx.scene.Group;import javafx.scene.Scene;import javafx.scene.paint.Color;import javafx.stage.Stage;import javafx.scene.PerspectiveCamera;import javafx.scene.paint.PhongMaterial;import javafx.scene.shape.Box;import javafx.scene.shape.Cylinder;import javafx.scene.shape.Sphere;import javafx.scene.transform.Rotate;import javafx.animation.Timeline;import javafx.event.EventHandler;import static javafx.scene.input.KeyCode.*;import javafx.scene.input.KeyEvent;import javafx.scene.input.MouseEvent;import javafx.util.Duration;import javafx.scene.Node;/** * MoleculeSampleApp */public class MoleculeSampleApp extends Application { final Group root = new Group(); final Group axisGroup = new Group(); final Xform world = new Xform(); final PerspectiveCamera camera = new PerspectiveCamera(true); final Xform cameraXform = new Xform(); final Xform cameraXform2 = new Xform(); final Xform cameraXform3 = new Xform(); final double cameraDistance = 450; final Xform moleculeGroup = new Xform(); private Timeline timeline; boolean timelinePlaying = false; double ONE_FRAME = 1.0 / 24.0; double DELTA_MULTIPLIER = 200.0; double CONTROL_MULTIPLIER = 0.1; double SHIFT_MULTIPLIER = 0.1; double ALT_MULTIPLIER = 0.5; double mousePosX; double mousePosY; double mouseOldX; double mouseOldY; double mouseDeltaX; double mouseDeltaY; private void buildScene() { root.getChildren().add(world); } private void buildCamera() { root.getChildren().add(cameraXform); cameraXform.getChildren().add(cameraXform2); cameraXform2.getChildren().add(cameraXform3); cameraXform3.getChildren().add(camera); cameraXform3.setRotateZ(180.0); camera.setNearClip(0.1); camera.setFarClip(10000.0); camera.setTranslateZ(-cameraDistance); cameraXform.ry.setAngle(320.0); cameraXform.rx.setAngle(40); } private void buildAxes() { final PhongMaterial redMaterial = new PhongMaterial(); redMaterial.setDiffuseColor(Color.DARKRED); redMaterial.setSpecularColor(Color.RED); final PhongMaterial greenMaterial = new PhongMaterial(); greenMaterial.setDiffuseColor(Color.DARKGREEN); greenMaterial.setSpecularColor(Color.GREEN); final PhongMaterial blueMaterial = new PhongMaterial(); blueMaterial.setDiffuseColor(Color.DARKBLUE); blueMaterial.setSpecularColor(Color.BLUE); final Box xAxis = new Box(240.0, 1, 1); final Box yAxis = new Box(1, 240.0, 1); final Box zAxis = new Box(1, 1, 240.0); xAxis.setMaterial(redMaterial); yAxis.setMaterial(greenMaterial); zAxis.setMaterial(blueMaterial); axisGroup.getChildren().addAll(xAxis, yAxis, zAxis); world.getChildren().addAll(axisGroup); } private void buildMolecule() { final PhongMaterial redMaterial = new PhongMaterial(); redMaterial.setDiffuseColor(Color.DARKRED); redMaterial.setSpecularColor(Color.RED); final PhongMaterial whiteMaterial = new PhongMaterial(); whiteMaterial.setDiffuseColor(Color.WHITE); whiteMaterial.setSpecularColor(Color.LIGHTBLUE); final PhongMaterial greyMaterial = new PhongMaterial(); greyMaterial.setDiffuseColor(Color.DARKGREY); greyMaterial.setSpecularColor(Color.GREY); // Molecule Hierarchy // [*] moleculeXform // [*] oxygenXform // [*] oxygenSphere // [*] hydrogen1SideXform // [*] hydrogen1Xform // [*] hydrogen1Sphere // [*] bond1Cylinder // [*] hydrogen2SideXform // [*] hydrogen2Xform // [*] hydrogen2Sphere // [*] bond2Cylinder Xform moleculeXform = new Xform(); Xform oxygenXform = new Xform(); Xform hydrogen1SideXform = new Xform(); Xform hydrogen1Xform = new Xform(); Xform hydrogen2SideXform = new Xform(); Xform hydrogen2Xform = new Xform(); Sphere oxygenSphere = new Sphere(40.0); oxygenSphere.setMaterial(redMaterial); Sphere hydrogen1Sphere = new Sphere(30.0); hydrogen1Sphere.setMaterial(whiteMaterial); hydrogen1Sphere.setTranslateX(0.0); Sphere hydrogen2Sphere = new Sphere(30.0); hydrogen2Sphere.setMaterial(whiteMaterial); hydrogen2Sphere.setTranslateZ(0.0); Cylinder bond1Cylinder = new Cylinder(5, 100); bond1Cylinder.setMaterial(greyMaterial); bond1Cylinder.setTranslateX(50.0); bond1Cylinder.setRotationAxis(Rotate.Z_AXIS); bond1Cylinder.setRotate(90.0); Cylinder bond2Cylinder = new Cylinder(5, 100); bond2Cylinder.setMaterial(greyMaterial); bond2Cylinder.setTranslateX(50.0); bond2Cylinder.setRotationAxis(Rotate.Z_AXIS); bond2Cylinder.setRotate(90.0); moleculeXform.getChildren().add(oxygenXform); moleculeXform.getChildren().add(hydrogen1SideXform); moleculeXform.getChildren().add(hydrogen2SideXform); oxygenXform.getChildren().add(oxygenSphere); hydrogen1SideXform.getChildren().add(hydrogen1Xform); hydrogen2SideXform.getChildren().add(hydrogen2Xform); hydrogen1Xform.getChildren().add(hydrogen1Sphere); hydrogen2Xform.getChildren().add(hydrogen2Sphere); hydrogen1SideXform.getChildren().add(bond1Cylinder); hydrogen2SideXform.getChildren().add(bond2Cylinder); hydrogen1Xform.setTx(100.0); hydrogen2Xform.setTx(100.0); hydrogen2SideXform.setRotateY(104.5); moleculeGroup.getChildren().add(moleculeXform); world.getChildren().addAll(moleculeGroup); } private void handleMouse(Scene scene, final Node root) { scene.setOnMousePressed(new EventHandlerMouseEvent() { @Override public void handle(MouseEvent me) { mousePosX = me.getSceneX(); mousePosY = me.getSceneY(); mouseOldX = me.getSceneX(); mouseOldY = me.getSceneY(); } }); scene.setOnMouseDragged(new EventHandlerMouseEvent() { @Override public void handle(MouseEvent me) { mouseOldX = mousePosX; mouseOldY = mousePosY; mousePosX = me.getSceneX(); mousePosY = me.getSceneY(); mouseDeltaX = (mousePosX - mouseOldX); mouseDeltaY = (mousePosY - mouseOldY); double modifier = 1.0; double modifierFactor = 0.1; if (me.isControlDown()) { modifier = 0.1; } if (me.isShiftDown()) { modifier = 10.0; } if (me.isPrimaryButtonDown()) { cameraXform.ry.setAngle(cameraXform.ry.getAngle() - mouseDeltaX * modifierFactor * modifier * 2.0); // + cameraXform.rx.setAngle(cameraXform.rx.getAngle() + mouseDeltaY * modifierFactor * modifier * 2.0); // - } else if (me.isSecondaryButtonDown()) { double z = camera.getTranslateZ(); double newZ = z + mouseDeltaX * modifierFactor * modifier; camera.setTranslateZ(newZ); } else if (me.isMiddleButtonDown()) { cameraXform2.t.setX(cameraXform2.t.getX() + mouseDeltaX * modifierFactor * modifier * 0.3); // - cameraXform2.t.setY(cameraXform2.t.getY() + mouseDeltaY * modifierFactor * modifier * 0.3); // - } } }); } private void handleKeyboard(Scene scene, final Node root) { final boolean moveCamera = true; scene.setOnKeyPressed(new EventHandlerKeyEvent() { @Override public void handle(KeyEvent event) { Duration currentTime; switch (event.getCode()) { case Z: if (event.isShiftDown()) { cameraXform.ry.setAngle(0.0); cameraXform.rx.setAngle(0.0); camera.setTranslateZ(-300.0); } cameraXform2.t.setX(0.0); cameraXform2.t.setY(0.0); break; case X: if (event.isControlDown()) { if (axisGroup.isVisible()) { axisGroup.setVisible(false); } else { axisGroup.setVisible(true); } } break; case S: if (event.isControlDown()) { if (moleculeGroup.isVisible()) { moleculeGroup.setVisible(false); } else { moleculeGroup.setVisible(true); } } break; case SPACE: if (timelinePlaying) { timeline.pause(); timelinePlaying = false; } else { timeline.play(); timelinePlaying = true; } break; case UP: if (event.isControlDown() event.isShiftDown()) { cameraXform2.t.setY(cameraXform2.t.getY() - 10.0 * CONTROL_MULTIPLIER); } else if (event.isAltDown() event.isShiftDown()) { cameraXform.rx.setAngle(cameraXform.rx.getAngle() - 10.0 * ALT_MULTIPLIER); } else if (event.isControlDown()) { cameraXform2.t.setY(cameraXform2.t.getY() - 1.0 * CONTROL_MULTIPLIER); } else if (event.isAltDown()) { cameraXform.rx.setAngle(cameraXform.rx.getAngle() - 2.0 * ALT_MULTIPLIER); } else if (event.isShiftDown()) { double z = camera.getTranslateZ(); double newZ = z + 5.0 * SHIFT_MULTIPLIER; camera.setTranslateZ(newZ); } break; case DOWN: if (event.isControlDown() event.isShiftDown()) { cameraXform2.t.setY(cameraXform2.t.getY() + 10.0 * CONTROL_MULTIPLIER); } else if (event.isAltDown() event.isShiftDown()) { cameraXform.rx.setAngle(cameraXform.rx.getAngle() + 10.0 * ALT_MULTIPLIER); } else if (event.isControlDown()) { cameraXform2.t.setY(cameraXform2.t.getY() + 1.0 * CONTROL_MULTIPLIER); } else if (event.isAltDown()) { cameraXform.rx.setAngle(cameraXform.rx.getAngle() + 2.0 * ALT_MULTIPLIER); } else if (event.isShiftDown()) { double z = camera.getTranslateZ(); double newZ = z - 5.0 * SHIFT_MULTIPLIER; camera.setTranslateZ(newZ); } break; case RIGHT: if (event.isControlDown() event.isShiftDown()) { cameraXform2.t.setX(cameraXform2.t.getX() + 10.0 * CONTROL_MULTIPLIER); } else if (event.isAltDown() event.isShiftDown()) { cameraXform.ry.setAngle(cameraXform.ry.getAngle() - 10.0 * ALT_MULTIPLIER); } else if (event.isControlDown()) { cameraXform2.t.setX(cameraXform2.t.getX() + 1.0 * CONTROL_MULTIPLIER); } else if (event.isAltDown()) { cameraXform.ry.setAngle(cameraXform.ry.getAngle() - 2.0 * ALT_MULTIPLIER); } break; case LEFT: if (event.isControlDown() event.isShiftDown()) { cameraXform2.t.setX(cameraXform2.t.getX() - 10.0 * CONTROL_MULTIPLIER); } else if (event.isAltDown() event.isShiftDown()) { cameraXform.ry.setAngle(cameraXform.ry.getAngle() + 10.0 * ALT_MULTIPLIER); // - } else if (event.isControlDown()) { cameraXform2.t.setX(cameraXform2.t.getX() - 1.0 * CONTROL_MULTIPLIER); } else if (event.isAltDown()) { cameraXform.ry.setAngle(cameraXform.ry.getAngle() + 2.0 * ALT_MULTIPLIER); // - } break; } } }); } @Override public void start(Stage primaryStage) { buildScene(); buildCamera(); buildAxes(); buildMolecule(); Scene scene = new Scene(root, 1024, 768, true); scene.setFill(Color.GREY); handleKeyboard(scene, world); handleMouse(scene, world); primaryStage.setTitle("Molecule Sample Application"); primaryStage.setScene(scene); primaryStage.show(); scene.setCamera(camera); } /** * The main() method is ignored in correctly deployed JavaFX application. * main() serves only as fallback in case the application can not be * launched through deployment artifacts, e.g., in IDEs with limited FX * support. NetBeans ignores main(). * * @param args the command line arguments */ public static void main(String[] args) { System.setProperty("prism.dirtyopts", "false"); launch(args); }}ASSOCIATED JAVAFX FILE---------------------------------------------------------------------/* * Copyright (c) 2011, 2013 Oracle and/or its affiliates. * All rights reserved. Use is subject to license terms. * * This file is available and licensed under the following license: * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * - Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * - Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the distribution. * - Neither the name of Oracle nor the names of its * contributors may be used to endorse or promote products derived * from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */package moleculesampleapp;import javafx.scene.Group;import javafx.scene.transform.Rotate;import javafx.scene.transform.Scale;import javafx.scene.transform.Translate;public class Xform extends Group { public enum RotateOrder { XYZ, XZY, YXZ, YZX, ZXY, ZYX } public Translate t = new Translate(); public Translate p = new Translate(); public Translate ip = new Translate(); public Rotate rx = new Rotate(); { rx.setAxis(Rotate.X_AXIS); } public Rotate ry = new Rotate(); { ry.setAxis(Rotate.Y_AXIS); } public Rotate rz = new Rotate(); { rz.setAxis(Rotate.Z_AXIS); } public Scale s = new Scale(); public Xform() { super(); getTransforms().addAll(t, rz, ry, rx, s); } public Xform(RotateOrder rotateOrder) { super(); // choose the order of rotations based on the rotateOrder switch (rotateOrder) { case XYZ: getTransforms().addAll(t, p, rz, ry, rx, s, ip); break; case XZY: getTransforms().addAll(t, p, ry, rz, rx, s, ip); break; case YXZ: getTransforms().addAll(t, p, rz, rx, ry, s, ip); break; case YZX: getTransforms().addAll(t, p, rx, rz, ry, s, ip); // For Camera break; case ZXY: getTransforms().addAll(t, p, ry, rx, rz, s, ip); break; case ZYX: getTransforms().addAll(t, p, rx, ry, rz, s, ip); break; } } public void setTranslate(double x, double y, double z) { t.setX(x); t.setY(y); t.setZ(z); } public void setTranslate(double x, double y) { t.setX(x); t.setY(y); } // Cannot override these methods as they are final: // public void setTranslateX(double x) { t.setX(x); } // public void setTranslateY(double y) { t.setY(y); } // public void setTranslateZ(double z) { t.setZ(z); } // Use these methods instead: public void setTx(double x) { t.setX(x); } public void setTy(double y) { t.setY(y); } public void setTz(double z) { t.setZ(z); } public void setRotate(double x, double y, double z) { rx.setAngle(x); ry.setAngle(y); rz.setAngle(z); } public void setRotateX(double x) { rx.setAngle(x); } public void setRotateY(double y) { ry.setAngle(y); } public void setRotateZ(double z) { rz.setAngle(z); } public void setRx(double x) { rx.setAngle(x); } public void setRy(double y) { ry.setAngle(y); } public void setRz(double z) { rz.setAngle(z); } public void setScale(double scaleFactor) { s.setX(scaleFactor); s.setY(scaleFactor); s.setZ(scaleFactor); } public void setScale(double x, double y, double z) { s.setX(x); s.setY(y); s.setZ(z); } // Cannot override these methods as they are final: // public void setScaleX(double x) { s.setX(x); } // public void setScaleY(double y) { s.setY(y); } // public void setScaleZ(double z) { s.setZ(z); } // Use these methods instead: public void setSx(double x) { s.setX(x); } public void setSy(double y) { s.setY(y); } public void setSz(double z) { s.setZ(z); } public void setPivot(double x, double y, double z) { p.setX(x); p.setY(y); p.setZ(z); ip.setX(-x); ip.setY(-y); ip.setZ(-z); } public void reset() { t.setX(0.0); t.setY(0.0); t.setZ(0.0); rx.setAngle(0.0); ry.setAngle(0.0); rz.setAngle(0.0); s.setX(1.0); s.setY(1.0); s.setZ(1.0); p.setX(0.0); p.setY(0.0); p.setZ(0.0); ip.setX(0.0); ip.setY(0.0); ip.setZ(0.0); } public void resetTSP() { t.setX(0.0); t.setY(0.0); t.setZ(0.0); s.setX(1.0); s.setY(1.0); s.setZ(1.0); p.setX(0.0); p.setY(0.0); p.setZ(0.0); ip.setX(0.0); ip.setY(0.0); ip.setZ(0.0); }}-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------JAVA3D CODEpackage j3dt1;import java.awt.Color;import com.sun.j3d.utils.geometry.GeometryInfo;import com.sun.j3d.utils.geometry.NormalGenerator;import com.sun.j3d.utils.universe.SimpleUniverse;import javax.media.j3d.*;import javax.vecmath.*;// Base divided into two trianglespublic class PyramidExample { public static void main(String[] args) { SimpleUniverse universe = new SimpleUniverse(); BranchGroup group = new BranchGroup(); Point3f e = new Point3f(1.0f, 0.0f, 0.0f); // east Point3f s = new Point3f(0.0f, 0.0f, 1.0f); // south Point3f w = new Point3f(-1.0f, 0.0f, 0.0f); // west Point3f n = new Point3f(0.0f, 0.0f, -1.0f); // north Point3f t = new Point3f(0.0f, 0.721f, 0.0f); // top TriangleArray pyramidGeometry = new TriangleArray(18, TriangleArray.COORDINATES); pyramidGeometry.setCoordinate(0, e); pyramidGeometry.setCoordinate(1, t); pyramidGeometry.setCoordinate(2, s); pyramidGeometry.setCoordinate(3, s); pyramidGeometry.setCoordinate(4, t); pyramidGeometry.setCoordinate(5, w); pyramidGeometry.setCoordinate(6, w); pyramidGeometry.setCoordinate(7, t); pyramidGeometry.setCoordinate(8, n); pyramidGeometry.setCoordinate(9, n); pyramidGeometry.setCoordinate(10, t); pyramidGeometry.setCoordinate(11, e); pyramidGeometry.setCoordinate(12, e); pyramidGeometry.setCoordinate(13, s); pyramidGeometry.setCoordinate(14, w); pyramidGeometry.setCoordinate(15, w); pyramidGeometry.setCoordinate(16, n); pyramidGeometry.setCoordinate(17, e); GeometryInfo geometryInfo = new GeometryInfo(pyramidGeometry); NormalGenerator ng = new NormalGenerator(); ng.generateNormals(geometryInfo); GeometryArray result = geometryInfo.getGeometryArray(); // yellow appearance Appearance appearance = new Appearance(); Color3f color = new Color3f(Color.yellow); Color3f black = new Color3f(0.0f, 0.0f, 0.0f); Color3f white = new Color3f(1.0f, 1.0f, 1.0f); Texture texture = new Texture2D(); TextureAttributes texAttr = new TextureAttributes(); texAttr.setTextureMode(TextureAttributes.MODULATE); texture.setBoundaryModeS(Texture.WRAP); texture.setBoundaryModeT(Texture.WRAP); texture.setBoundaryColor(new Color4f(0.0f, 1.0f, 0.0f, 0.0f)); Material mat = new Material(color, black, color, white, 70f); appearance.setTextureAttributes(texAttr); appearance.setMaterial(mat); appearance.setTexture(texture); Shape3D shape = new Shape3D(result, appearance); group.addChild(shape); // above pyramid Vector3f viewTranslation = new Vector3f(); viewTranslation.z = 3; viewTranslation.x = 0f; viewTranslation.y = .3f; Transform3D viewTransform = new Transform3D(); viewTransform.setTranslation(viewTranslation); Transform3D rotation = new Transform3D(); rotation.rotX(-Math.PI / 12.0d); rotation.mul(viewTransform); universe.getViewingPlatform().getViewPlatformTransform().setTransform( rotation); universe.getViewingPlatform().getViewPlatformTransform().getTransform( viewTransform); // lights BoundingSphere bounds = new BoundingSphere(new Point3d(0.0, 0.0, 0.0), 1000.0); Color3f light1Color = new Color3f(.7f, .7f, .7f); Vector3f light1Direction = new Vector3f(4.0f, -7.0f, -12.0f); DirectionalLight light1 = new DirectionalLight(light1Color, light1Direction); light1.setInfluencingBounds(bounds); group.addChild(light1); Color3f ambientColor = new Color3f(.4f, .4f, .4f); AmbientLight ambientLightNode = new AmbientLight(ambientColor); ambientLightNode.setInfluencingBounds(bounds); group.addChild(ambientLightNode); universe.addBranchGraph(group); }}

  • RELEVANCY SCORE 2.49

    DB:2.49:Unable To Retrieve Description From Web Service 13



    Hi All,

    I am developing a web service using LV2009 that i can poll for information for the Web UI Builder. I got it connected and working, but one day later I am recieving the error 'Unable to retrieve description from web service'. Has anyway seen this error or know what it means? The web service shows up, but I cannot connect to it.

    Thanks,

    Paul







    Solved!
    Go to Solution.

    DB:2.49:Unable To Retrieve Description From Web Service 13


    Problem fixed

    I/O Variable Remote COnfiguration Web Service 1.0 was not installed on the cRIO.

    Everthing works fine now.

    Olivier




    Olivier JOURDANSAPHIR | Certified LabVIEW Architect | Topaze on NI Community | LabVIEW add-ons on NI Community | Follow me on Twitter

  • RELEVANCY SCORE 2.49

    DB:2.49:Package Control In Xform pa



    Hi All,

    Is there anyway that we can add custom control in Formsbuilder for an Xform ?

    Actually i want to add a "Package" control to a generic form.

    Thanks !!

    DB:2.49:Package Control In Xform pa


    Hi All,

    Is there anyway that we can add custom control in Formsbuilder for an Xform ?

    Actually i want to add a "Package" control to a generic form.

    Thanks !!

  • RELEVANCY SCORE 2.48

    DB:2.48:Formbuilder : Reading Xform Data 7z



    HI ,

    I have requirement where i need to retrieve form data .

    I have below code to achieve the requirement .

    formTemplateId = getDfSession().getIdByQualification("dm_xfm_instance where r_object_id='0900045c800a0d6b'");IDfSysObject obj = (IDfSysObject) getDfSession().getObject(formTemplateId);ByteArrayInputStream xmlInStream = obj.getContent();parse(xmlInStream);

    public void parse(InputStream is){

    SAXBuilder builder= new SAXBuilder();rootDoc = builder.build(is);Iterator iter = rootDoc.getDescendants(); while (iter.hasNext()) { Object obj1 = iter.next(); if (obj1 instanceof Element) { Element element = (Element)obj1; System.out.println("Element Name "+element.getName()); System.out.println("Element Value "+element.getValue()); }

    }

    output :

    Element Name TextField1

    Element Value

    am getting element name but element value is displaying null .

    The is issue is from the above code am able to get the Field name , Field value is showing as null for (element.getValue());

    Is there anything am missing in my code .

    Experts pls help .

    Regards

    Srini

    DB:2.48:Formbuilder : Reading Xform Data 7z


    HI ,

    I have requirement where i need to retrieve form data .

    I have below code to achieve the requirement .

    formTemplateId = getDfSession().getIdByQualification("dm_xfm_instance where r_object_id='0900045c800a0d6b'");IDfSysObject obj = (IDfSysObject) getDfSession().getObject(formTemplateId);ByteArrayInputStream xmlInStream = obj.getContent();parse(xmlInStream);

    public void parse(InputStream is){

    SAXBuilder builder= new SAXBuilder();rootDoc = builder.build(is);Iterator iter = rootDoc.getDescendants(); while (iter.hasNext()) { Object obj1 = iter.next(); if (obj1 instanceof Element) { Element element = (Element)obj1; System.out.println("Element Name "+element.getName()); System.out.println("Element Value "+element.getValue()); }

    }

    output :

    Element Name TextField1

    Element Value

    am getting element name but element value is displaying null .

    The is issue is from the above code am able to get the Field name , Field value is showing as null for (element.getValue());

    Is there anything am missing in my code .

    Experts pls help .

    Regards

    Srini

  • RELEVANCY SCORE 2.48

    DB:2.48:Programmatically Creating A Package With A Sap .Net Data Provider: Acquireconnections Fails sd


    I'm trying to programmatically alter a package which uses a SAP .NET connector. When configuring and running the package from BIDS everything goes well. But when i try tocall the AcquireConnections(vbNull) method from code ,the following exception
    is thrown:
    Unable to cast COM object of type 'System.__ComObject' to interface type 'System.Transactions.IDtcTransaction'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{0FB15084-AF41-11CE-BD2B-204C4F4F5020}'
    failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
    I've used the following code:

    'Load template package

    Dim
    SSIS As
    Application
    = New
    Application()

    Dim
    Package As
    Package
    = SSIS.LoadPackage(TemplatePackage, Nothing)

    'Load dataflow

    Dim
    Dftask As
    Executable
    = Package.Executables(DFT xxx)

    Dim
    thMainPipe As
    TaskHost
    = CType(Dftask,
    TaskHost)

    'Configure the ADO.NET Source component

    Dim
    dataFlowTask As
    MainPipe
    = CType(thMainPipe.InnerObject,
    MainPipe)

    Dim
    SourceComponent As
    IDTSComponentMetaData100
    = dataFlowTask.ComponentMetaDataCollection(Dummy
    source)

    'Get the design time instance of the OLE db source
    component.

    Dim
    srcDesignTimeComponent As
    IDTSDesigntimeComponent100
    = SourceComponent.Instantiate()

    'Set properties

    srcDesignTimeComponent.SetComponentProperty(

    SqlCommand,
    SELECT * from
    Table)

    ' Set the connection manager

    SourceComponent.RuntimeConnectionCollection(0).ConnectionManager =

    DtsConvert.GetExtendedInterface(Package.Connections(SAP))

    SourceComponent.RuntimeConnectionCollection(0).ConnectionManagerID = Package.Connections(

    SAP).ID

    'Retrieve the column metadata

    srcDesignTimeComponent.AcquireConnections(vbNull)
    srcDesignTimeComponent.ReinitializeMetaData()
    srcDesignTimeComponent.ReleaseConnections()

    DB:2.48:Programmatically Creating A Package With A Sap .Net Data Provider: Acquireconnections Fails sd

    Unbelievable, that was it! vbNull works fine on AcquireConnections on an OLEDB source but somehow it doesn't on an ADO source.
    thanks a bunch! :-)

  • RELEVANCY SCORE 2.48

    DB:2.48:Unable To Connect And Retrieve Project Source From Tfs 2010 Without Ad fc


    Hi,
    Our Domain server has crashed, we unable to connect TFS server we need to take the all project data without AD credential, if any solution is there connect to the tfs server? kindly help me to retrieve the project source.

    A.Kamalesh

    DB:2.48:Unable To Connect And Retrieve Project Source From Tfs 2010 Without Ad fc

    Hi A.Kamalesh,
    If you'd like to create a new domain server, make sure it's the same as the former one and then have a try to connect to TFS using your crendential. Please elaborate more details if you have any issues.

    Best regards,We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.

    Click
    HERE to participate the survey.

  • RELEVANCY SCORE 2.48

    DB:2.48:No Data Written In Flat File p8


    Hi all, i am facing very basic issue and unable to resolve . i had a simple package in which i retrieve some records from Sql Server and simply write it to flat file. In designer when i preview, Sql query shows me 52 records whereas my package executes successfully but flat file is empty. thanks in advance. Regards, Faizan

    DB:2.48:No Data Written In Flat File p8

    the actual problem i that i am using following script Use abc. select bla bla bla from abc.xyz table. when i remove use abc, flat file will populate with rows. Regards, Muhammad Faizan Dosani

  • RELEVANCY SCORE 2.48

    DB:2.48:Data Package 1 / / Status 'Processed With Errors' In 0coom_C02 fj


    Hi all,since yesterday, our 0COOM_C02 is getting failed when the data is being transformed from inforsource to cubedata can be retrieve to PSA but from PSA to Data-target i am getting error as followsData package 1 / 03.05.2014 21:42:44 / Status 'Processed with Errors'Message no. RSBK257our BW version is 7.31i tried with every possible way but no Luckplease help me to short this outThanksMirana

    DB:2.48:Data Package 1 / / Status 'Processed With Errors' In 0coom_C02 fj

    Hi all,i shorted this out. the issue is, there is no enough memory for index creation.just check whether performance tab of cube management and check status of the index.if it get red, you have to check the system memory with your basis team. so, we increased the memory in our BW server and its working fine now.ThanksMirana

  • RELEVANCY SCORE 2.48

    DB:2.48:Using A Sharepoint Data Connection From Ssis z3


    I'm building a lot of SSIS packages and I'd like to use a SharePoint Data Connection Library to store the connection.ds file and have each package retrieve it from there.Can it be done?Peter

    DB:2.48:Using A Sharepoint Data Connection From Ssis z3

    If you can use third-party solutions, check the commercial CozyRoc SharePoint integration. These are the relevant components:

    SharePoint Source SSIS Data Flow Component
    SharePoint Destination SSIS Data Flow Component
    SharePoint SSIS Connection Manager

    Batch insert and update is also supported. Cheers!SSIS Tasks Components Scripts Services | http://www.cozyroc.com/

  • RELEVANCY SCORE 2.48

    DB:2.48:How To Insert A New Page When Data Don't Fill In The Principal Page? zp



    Hi to everybody!!

    I don't know how to do this, I have, in the main window a table with a loop, the loop is this

    XFORM INTO ZXFORM (where Xform is type PC408) and in line to line I put the line for example 25 to 30.

    Under this table I have another table to another type of data....

    The problem is that in the case the data exceed the 25 to 30 lines...where I can see this data? How can I make a new page with the exceed data and how I can retrieve?

    Thanks and regards

    Rebeca

    DB:2.48:How To Insert A New Page When Data Don't Fill In The Principal Page? zp


    But, inside the smartform...where I put that code? Sorrry, I'm new in this...

    Thanks very much

    Regards,

    Rebeca

  • RELEVANCY SCORE 2.47

    DB:2.47:Unable To Retrieve Video Information From Supplied Data k8


    How can I solve this problem: Unable to retrieve video information from supplied data

    DB:2.47:Unable To Retrieve Video Information From Supplied Data k8

    Hi ,

    In order to clarify the issue clearly, I would like to ask the following questions:

    1. What operation system you are using?
    2. Does the issue occur on all the Web sites? If it just some individual videos cannot be played, could you provide me the link?
    3. Did the issue occur before?

    Meanwhile, you may try to use another web browser to check if the issue persists.Tracy Cai
    TechNet Community Support

  • RELEVANCY SCORE 2.47

    DB:2.47:Unable To Find My Info Package In The Info Source jf



    Hi all,

    I am unable to find my info package in the info source, When i try to activate data from ODS to Cube then i can see the Info package, I have to do any setting for this problem or any suggestions guys.

    Thank you

    DST

    DB:2.47:Unable To Find My Info Package In The Info Source jf


    Hi DST,

    Since you are loading data from ODS to the Cube, your infosource will be 8ODS (8 followed by the technical name of the ods). Find for the infosource under the infosource tab. Your infopackage will be under that infosource.

    Hope the answer was helpful.

    Regards,

    S.P

    Message was edited by: S.P

  • RELEVANCY SCORE 2.47

    DB:2.47:Tfs Eclipse (Salesforce.Com Ide 25) Plugin Error 1s


    FYI - I'm unable to install the TFS plugin for Eclipse - attempting to follow these instructions:

    http://tfspreview.com/en-us/learn/code/connect-eclipse/
    Windows 7 64-bit
    Eclipse IDE (Force.com V25)
    Eclipse Platform 3.5.2.R35x_v20100210-0800-9hEiFzmFst-TiEn9hNYgDWg1XN8ulH_JvCNGB
    org.eclipse.platform.feature.group

    An error occurred while collecting items to be installed

    session context was:(profile=com.poweredbypulse.profile-2748174-rmb-3479820, phase=com.genuitec.pulse2.client.common.download.PulseCollect, operand=, action=).
    Unable to retrieve org.eclipse.update.feature,com.microsoft.tfs.client.eclipse.feature,11.0.0.201205250124
    Unable to retrieve artifact; see log for more details
    14790 is not expected; should have been 10901
    Unable to retrieve osgi.bundle,com.microsoft.tfs.checkinpolicies,11.0.0.201205250119
    Unable to retrieve artifact; see log for more details
    10922 is not expected; should have been 7214
    Unable to retrieve osgi.bundle,com.microsoft.tfs.checkinpolicies.checkforcomments,11.0.0.201205250119
    Unable to retrieve artifact; see log for more details
    7714 is not expected; should have been 4082
    Unable to retrieve osgi.bundle,com.microsoft.tfs.checkinpolicies.forbiddenpatterns,11.0.0.201205250119
    Unable to retrieve artifact; see log for more details
    16292 is not expected; should have been 12657
    Unable to retrieve osgi.bundle,com.microsoft.tfs.checkinpolicies.workitempolicy,11.0.0.201205250119
    Unable to retrieve artifact; see log for more details
    8024 is not expected; should have been 4389
    Unable to retrieve osgi.bundle,com.microsoft.tfs.checkinpolicies.workitemquerypolicy,11.0.0.201205250119
    Unable to retrieve artifact; see log for more details
    16760 is not expected; should have been 13129
    Unable to retrieve osgi.bundle,com.microsoft.tfs.client.common.pid,11.0.0.201205250119
    Unable to retrieve artifact; see log for more details
    5888 is not expected; should have been 2329

    Looks like the package size is not correct and Eclipse doesn't like it....

    DB:2.47:Tfs Eclipse (Salesforce.Com Ide 25) Plugin Error 1s

    Dave, do you still need help with this?Trevor Hancock (Microsoft)
    Please remember to Mark As Answer the replies that help.

  • RELEVANCY SCORE 2.47

    DB:2.47:How Can I Retrieve Data From Icloud Of My Old Iphone ? pz


    how can i retrieve data from icloud of my old iphone ?

  • RELEVANCY SCORE 2.46

    DB:2.46:Linking Back To An Xform From A Custom Type 38


    Hi All,We have a custom type that is being populated via an xform. Subsequently a job looks at the data in this custom type. However, some data I need from the xform isn't included in the custom type.Is there a way to get back to the xform data given the custom type?Thanks!Robert Krawiec

    DB:2.46:Linking Back To An Xform From A Custom Type 38

    If you dont want users to see some of the data, then you should customize the attributes component (or your custom app) and hide those attributes. Keep the attributes as part of the object model, so that your job will have access to them without the need to open and read the xforms content.

  • RELEVANCY SCORE 2.46

    DB:2.46:How Ro Retrieve Data From Database ? dd


    Hi! How to retrieve data from database and display in JComboBox?

    DB:2.46:How Ro Retrieve Data From Database ? dd

    can you tell me How ro retrieve data from database
    ?http://java.sun.com/docs/books/tutorial/jdbc/BTW, didn't you see my reply #1?

  • RELEVANCY SCORE 2.46

    DB:2.46:Retrieve Data From Cluster Tables 1s



    hi

    can any one explain me how to retrieve data from cluster tables

    Regards

    sachin

    DB:2.46:Retrieve Data From Cluster Tables 1s


    you can write a select

    select * from KONV

    into table it_konv

    where condition

    you cant join.. cluster tables..

  • RELEVANCY SCORE 2.46

    DB:2.46:Retrieve Error p8



    Post Author: ix27

    CA Forum: Deployment

    Opening server's info from CMC result in the following error:

    Retrieve Error

    There was an error while retrieving data from the server: Unable to get the admin object for the CacheServerAdmin service for server myserver.cacheserver.cacheserver.

    PLEASE advice

    DB:2.46:Retrieve Error p8


    Post Author: ix27

    CA Forum: Deployment

    Opening server's info from CMC result in the following error:

    Retrieve Error

    There was an error while retrieving data from the server: Unable to get the admin object for the CacheServerAdmin service for server myserver.cacheserver.cacheserver.

    PLEASE advice

  • RELEVANCY SCORE 2.46

    DB:2.46:Xform To Servlet And Servlet To Xform 99


    Hello friends,
    I have some problems regarding xform and servlet. Actually what i am trying to do is i have to send say id from xform to servlet then servlet process that id in the database and create a xml format ouput say id,name,roll. I am able to create this xml outpur but i am not able to display and send the data to xform again on th same xform. So plz anybody having idea plz help me....or send me some source code or algorithm how to do it
    Thanks in advance

    DB:2.46:Xform To Servlet And Servlet To Xform 99

    Hello friends,
    I have some problems regarding xform and servlet. Actually what i am trying to do is i have to send say id from xform to servlet then servlet process that id in the database and create a xml format ouput say id,name,roll. I am able to create this xml outpur but i am not able to display and send the data to xform again on th same xform. So plz anybody having idea plz help me....or send me some source code or algorithm how to do it
    Thanks in advance

  • RELEVANCY SCORE 2.46

    DB:2.46:Help! How Can I Retrieve Data From View? ss



    Hi,
    Can I use kodo to retrieve data from view instead of table?
    Thanks
    John

    DB:2.46:Help! How Can I Retrieve Data From View? ss

    Simply map your class to a view using the view name where the table name
    is expected. For example, generate mappings in Kodo 3.0 using
    mappingtool with the "none" schema action. Edit the .mapping file to
    point to your view.

    John Wang wrote:

    Hi,
    Can I use kodo to retrieve data from view instead of table?
    Thanks
    John

    --
    Steve Kim
    skim@solarmetric.com
    SolarMetric Inc.
    http://www.solarmetric.com

  • RELEVANCY SCORE 2.46

    DB:2.46:Re: Unable To Retrieve Clob Data From Oracle In Servlet mp


    it is only showing the following message nothing else
    SQLException caught: General error

    DB:2.46:Re: Unable To Retrieve Clob Data From Oracle In Servlet mp

    nobody knows the solution?? why there is exception in sql statement. there is nothing wrong in it

  • RELEVANCY SCORE 2.45

    DB:2.45:Error :Unable To Retrieve Data From Ihtml Servlet For Request2 Request 7s


    I open bqyfile to use HTML in workspace.
    When I export report to excel in IR report.
    Then I press "back" button I get error"Unable to retrieve data from iHTML servlet for Request2 request "
    And I can not open any bqyfiles in workspace.
    Anybody gat the same question? Thanks~

    DB:2.45:Error :Unable To Retrieve Data From Ihtml Servlet For Request2 Request 7s

    I open bqyfile to use HTML in workspace.
    When I export report to excel in IR report.
    Then I press "back" button I get error"Unable to retrieve data from iHTML servlet for Request2 request "
    And I can not open any bqyfiles in workspace.
    Anybody gat the same question? Thanks~

  • RELEVANCY SCORE 2.45

    DB:2.45:Retrieve Newly Ssis Package Created With The Wizard km


    Where can I retrieve my newly SSIS created package from? I am importing data on a server from another server, using a package. Where is it? I need to fix its validation error.

    DB:2.45:Retrieve Newly Ssis Package Created With The Wizard km

    Solution: Installed BI Developer and was able to retrieve and validate the package created with the wizard. Thank you, Adrian

  • RELEVANCY SCORE 2.45

    DB:2.45:Unable To Encryprt &Amp; Decrypt Stringout 9m


    Hi there.

    What I am trying to do is this:

    1) convert plaintext (String) to byte[]
    2) encrypt byte[]
    3) convert encrypted byte[] to String(encr.)
    3) convert String(encr.) back to encrypted byte[]
    4) decrypt encrypted byte[]
    5) convert decrypted byte[] to String -- should match plaintext

    From String to byte[] I use "String.getBytes()"
    From byte[] to String I use "new String(byte[])"
    The problem is, that after converting the encrypted byte[] to String and back to byte[] (still ancrypted) again, I am unable to decrypt it:
    On calling decryptBytes (see source below) I get javax.crypto.BadPaddingException: Data must start with zero.

    This does not happen, if I change between String and byte[] by base64 encoding/decoding (this is comented out in the en/decryptString metods), in this case however, the String is somewhat messed up (spaces and special characters are converted to slashes - see the example at the bottom of void main), although the decryption works fine.

    Why is that? (And how can I avoid it, in a way that I can pass the encryypted content as a String?)

    Thanks in advance.

    import java.security.PublicKey;
    import java.security.KeyPair;
    import java.security.KeyPairGenerator;
    import java.security.NoSuchAlgorithmException;
    import java.security.PrivateKey;
    import java.security.spec.InvalidKeySpecException;
    import javax.crypto.*;
    import sun.misc.BASE64Decoder;
    import sun.misc.BASE64Encoder;

    public class strchrbty {

    static PublicKey publicKey = null;
    static PrivateKey privateKey = null;

    public static byte[] encryptBytes(byte[] inpBytes, PublicKey key, String xform) throws Exception {
    Cipher cipher = Cipher.getInstance(xform);
    cipher.init(Cipher.ENCRYPT_MODE, key);
    return cipher.doFinal(inpBytes);
    }

    public static String encryptString(String in) {
    String out = "";
    try{
    //byte[] encBytes = encryptBytes(new BASE64Decoder().decodeBuffer(in), publicKey, "RSA");
    byte[] encBytes = encryptBytes(in.getBytes(), publicKey, "RSA");
    //out = new BASE64Encoder().encode(encBytes);
    out = new String(encBytes);
    } catch (NoSuchAlgorithmException e) {
    e.printStackTrace();
    } catch (InvalidKeySpecException e) {
    e.printStackTrace();
    } catch (Exception e) {
    e.printStackTrace();
    }

    System.out.println("encryptString(in)="+in);
    System.out.println("encryptString(out)="+out);

    return out;
    }

    public static String decryptString(String in) {
    String out = "";
    try {
    //byte[] encBytes = new BASE64Decoder().decodeBuffer(in);
    byte[] encBytes = in.getBytes();
    byte[] decBytes = decryptBytes(encBytes, privateKey, "RSA");
    //out = new BASE64Encoder().encode(decBytes);
    out = new String(decBytes);
    } catch (InvalidKeySpecException e) {
    e.printStackTrace();
    } catch (NoSuchAlgorithmException e) {
    e.printStackTrace();
    } catch (Exception e){
    e.printStackTrace();
    }

    System.out.println("decryptString(in )=" + in);
    System.out.println("decryptString(out)=" + out);
    return out;
    }

    public static byte[] decryptBytes(byte[] inpBytes, PrivateKey key, String xform) throws Exception{
    Cipher cipher = Cipher.getInstance(xform);
    cipher.init(Cipher.DECRYPT_MODE, key);
    return cipher.doFinal(inpBytes);
    }

    public static void main(String[] args) {

    //generate Keys

    try {
    KeyPairGenerator kpg = KeyPairGenerator.getInstance("RSA");
    kpg.initialize(1024);
    KeyPair kp = kpg.generateKeyPair();
    publicKey = kp.getPublic();
    privateKey = kp.getPrivate();
    } catch (NoSuchAlgorithmException e) {
    e.printStackTrace();
    }

    // now the fun part:

    String plaintext = "MyMac:00-16-58-30-13-9C MyCPU:Erm, I forgot";
    String encrypted = encryptString(plaintext);
    String decrypted = decryptString(encrypted); // data must start w/ zero, if not base64

    System.out.println("plain : " + plaintext);
    System.out.println("encrypted : " + encrypted);
    System.out.println("decrypted : " + decrypted);

    System.out.println("\n BASE64: STRING -- BYTE[] -- STRING:");
    try {
    byte[] bytesFromPlainText64 = new BASE64Decoder().decodeBuffer(plaintext);
    String plainTextFromBytes64 = new BASE64Encoder().encode(bytesFromPlainText64);
    System.out.println("plainTextFromBytes64 : " + plainTextFromBytes64);
    } catch (Exception e) {
    e.printStackTrace();
    }

    System.out.println("\n NORMAL: STRING -- BYTE[] -- STRING:");
    byte[] bytesFromPlainTextNormal = plaintext.getBytes();
    String plainTextFromBytesNormal = new String(bytesFromPlainTextNormal);
    System.out.println("plainTextFromBytesNormal : " + plainTextFromBytesNormal);

    }
    }encryptString(in)=MyMac:00-16-58-30-13-9C MyCPU:Erm, I forgot
    encryptString(out)=ZV?/CZmXv?f; vP6!5fIaQ;+r^nEXKS|0A?!O^IO Pm)?Bju
    javax.crypto.BadPaddingException: Data must start with zero
    at sun.security.rsa.RSAPadding.unpadV15(Unknown Source)
    at sun.security.rsa.RSAPadding.unpad(Unknown Source)
    at com.sun.crypto.provider.RSACipher.a(DashoA13*..)
    at com.sun.crypto.provider.RSACipher.engineDoFinal(DashoA13*..)
    at javax.crypto.Cipher.doFinal(DashoA13*..)
    at strchrbty.decryptBytes(strchrbty.java:68)
    at strchrbty.decryptString(strchrbty.java:49)
    at strchrbty.main(strchrbty.java:91)
    decryptString(in )=ZV?/CZmXv?f; vP6!5fIaQ;+r^nEXKS|0A?!O^IO Pm)?Bju
    decryptString(out)=
    plain : MyMac:00-16-58-30-13-9C MyCPU:Erm, I forgot
    encrypted : ZV?/CZmXv?f; vP6!5fIaQ;+r^nEXKS|0A?!O^IO Pm)?Bju
    decrypted :

    BASE64: STRING -- BYTE[] -- STRING:
    plainTextFromBytes64 : MyMac/00/16/58/30/13/9C//MyCPU//Erm//I/forgot/go

    NORMAL: STRING -- BYTE[] -- STRING:
    plainTextFromBytesNormal : MyMac:00-16-58-30-13-9C MyCPU:Erm, I forgotEdited by: junghansmega on Sep 11, 2008 1:01 PM
    added output.

    DB:2.45:Unable To Encryprt &Amp; Decrypt Stringout 9m

    junghansmega wrote:
    Why is that? (And how can I avoid it, in a way that I can pass the encryypted content as a String?)You avoid it as you have done by using Base64 to encode the encrypted data. The reason is that String should not be used as a container for binary data ( the bytes obtained from encryption are most definitely binary data) usingout = new String(encBytes);
    since not all byte sequences have valid character representations so they cannot guarantee to be inverted. Base64 encoding is designed to be invertible for all byte sequences and a Base64 encoded byte array contains only ASCII characters.

    You only need byte[] encBytes = encryptBytes(in.getBytes("utf-8"), publicKey, "RSA");
    out = new BASE64Encoder().encode(encBytes);when encrypting andbyte[] encBytes = new BASE64Decoder().decodeBuffer(in);
    byte[] decBytes = decryptBytes(encBytes, privateKey, "RSA");
    out = new String(decBytes, "utf-8");when decrypting. The other commented out code does not make sense.

    You will note that I have explicitly defined the character encoding to be used when converting from your cleartext String to bytes and back again. This makes your code platform independent since your way you are using the default character encoding which may be different for each computer.

    You do realize that your RSA can only encrypt/decrypt the key length in bytes - 11 . RSA with no padding can only encrypt/decrypt the key length in bytes and PKCS1 padding (the default) has an 11 byte overhead.

  • RELEVANCY SCORE 2.45

    DB:2.45:Unable To Retrieve Column Information From The Data Source. Make Sure Your Target Table In The Database Is Available. 19


    Scenario
    A database server with one job that executes Data Loading package stored on a shared local drive. When this job is executed on the server everything works fine.
    There's another server with more memory also being used to test performance. When thepackage (that is stored on the shared drive)is executed from this location the Errors below are being recorded in my Error Log table. The package
    still points to the same db and the table in question is there. I think it's some sort of permissions issue but need confirmation so I can provide the client. I'm simplywritingdata to a staging table for later use.

    SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x8007000E.
    Unable to retrieve column information from the data source. Make sure your target table in the database is available.
    component OLE_DST UpdateRecords 1 (15442) failed the pre-execute phase and returned error code 0xC020204A.

    DB:2.45:Unable To Retrieve Column Information From The Data Source. Make Sure Your Target Table In The Database Is Available. 19

    Hi Carlos-Gonzalez,

    When you see a SSIS package fails running in a SQL Agent job, you need to first consider the following conditions:
    1. The user account that is used to run the package under SQL Server Agent differs from the original package author.
    2. The user account does not have the required permissions to make connections or to access resources outside the SSIS package.

    You can find the detailed information in this KB article:
    An SSIS package does not run when you call the SSIS package from a SQL Server Agent job step
    http://support.microsoft.com/kb/918760

    For more information about it, please see:
    http://social.technet.microsoft.com/Forums/en-US/sqlintegrationservices/thread/e13c137c-1535-4475-8c2f-c7e6e7d125fc

    Thanks,
    Eileen

    If you have any feedback on our support, please click
    here
    Eileen Zhao
    TechNet Community Support

  • RELEVANCY SCORE 2.44

    DB:2.44:Delta Load Issue zk


    Hi All, I had a delta failure in BW. Here, the Job in R/3 was completed successfully. But in BW, all data packages were received expect one data package. So because of this, I am unable to do a repeat delta. Can anyone give any inputs about how to retrieve this delta.Regards,Bharath

    DB:2.44:Delta Load Issue zk

    Hello Bharath,Execute SM58. This will take u to tRFC monitor and check for any failed tRFC. This will come as red color. Select this and press F6 (to execute LUWs selectively). This may work.But, alternatively, the BEST approach could be to mark the request red. Delete from target; and re run delta InfoPackage. This will prompt for "repeat delta".Accept it.This will ensure that your delta dataload runs without any issue.-- Plz assign points if helpful --Regards,Mainak

  • RELEVANCY SCORE 2.43

    DB:2.43:Api To Retrieve Data From Sap Content Server pk



    Is there an API available to retrieve data from SAP content server?

    DB:2.43:Api To Retrieve Data From Sap Content Server pk


    Hi

    you could check out function groups starting with OPT.

    F.eks. OPTB, OPTC, OPTD

    Also check function group ARCHIVOBJECT.

    best regards

    Thomas Madsen Nielsen

  • RELEVANCY SCORE 2.43

    DB:2.43:Unable To Retrieve Folders From Back Up - f7


    Hello,

    DB:2.43:Unable To Retrieve Folders From Back Up - f7

    The rebuild is failing, so i manually copied all folders from back up location and tried to rebuild and it fails when i copied the folders folder to Office 2011 identities/Main identity

  • RELEVANCY SCORE 2.43

    DB:2.43:.Net Framework4 Install Error Code 0x800c0005 8a


    I try to install microsoft.net framework 4 i have tried the standalone installer and reboot and clearing temp file and disabling antivirus/spyware HERE IS THE LOG FILE

    OS Version = 6.1.7600, Platform 2
    OS Description = Windows 7 - x86 Starter Edition
    CommandLine = D:\5bbba74f051262032918b76e\\Setup.exe /x86 /x64 /ia64 /web
    TimeZone = GMT Daylight Time
    Initial LCID = 1033
    Using Simultaneous Download and Install mechanism
    Operation: Installing
    Package Name = Microsoft .NET Framework 4 Setup
    Package Version = 4.0.30319
    User Experience Data Collection Policy: AlwaysUploaded
    Number of applicable items: 10
    Error from JobError Callback : hr= 0x80072ee7 Context=5 Description=The server name or address could not be resolved . Percentage downloaded = 0
    This error indicates that the server/proxy could not be resolved by BITS.
    WinHttpDetectAutoProxyConfigUrl failed with error: 12180
    Unable to retrieve Proxy information although WinHttpGetIEProxyConfigForCurrentUser called succeeded
    Error from JobError Callback : hr= 0x80072ee7 Context=5 Description=The server name or address could not be resolved . Percentage downloaded = 0
    This error indicates that the server/proxy could not be resolved by BITS.
    WinHttpDetectAutoProxyConfigUrl failed with error: 12180
    Unable to retrieve Proxy information although WinHttpGetIEProxyConfigForCurrentUser called succeeded
    Error from JobError Callback : hr= 0x80072ee7 Context=5 Description=The server name or address could not be resolved . Percentage downloaded = 0
    This error indicates that the server/proxy could not be resolved by BITS.
    WinHttpDetectAutoProxyConfigUrl failed with error: 12180
    Unable to retrieve Proxy information although WinHttpGetIEProxyConfigForCurrentUser called succeeded
    Error from JobError Callback : hr= 0x80072ee7 Context=5 Description=The server name or address could not be resolved . Percentage downloaded = 0
    This error indicates that the server/proxy could not be resolved by BITS.
    WinHttpDetectAutoProxyConfigUrl failed with error: 12180
    Unable to retrieve Proxy information although WinHttpGetIEProxyConfigForCurrentUser called succeeded
    Exe (D:\5bbba74f051262032918b76e\SetupUtility.exe) succeeded.
    Exe Log File: dd_SetupUtility.txt
    ServiceControl operation succeeded!
    Final Result: Installation failed with error code: (0x800C0005) (Elapsed time: 0 00:12:30).

  • RELEVANCY SCORE 2.43

    DB:2.43:Display Bounding Box Differs From Xform Bounding Box? x8


    well it seams the display bounding box is diffrent form the xform bounding boxhow do i set up a mellscript to port the info over over to the "display" bounding boxthankssteve

    DB:2.43:Display Bounding Box Differs From Xform Bounding Box? x8

    well it seams the display bounding box is diffrent form the xform bounding boxhow do i set up a mellscript to port the info over over to the "display" bounding boxthankssteve

  • RELEVANCY SCORE 2.43

    DB:2.43:Unable To Retrieve The Target Directory Path From A Vb Script z8


    Hello,I have created a very simple installer. This installer installs the package and launces an application which forms a part of the package. For launching the application automatically after the installation I have added a VB script, as stated in the MSDN trouble shooting page.In the commit customdataaction, I have added the .vbs. In the properties section of the .vbs, I have set the custom action data as [TARGERDIR]myapplicationname.exe.I want to retrieve the value of this target directory from my VBScript, so that it can be set in the system path variable. Can anyone please help me? I am new to this so I have written my .vbs as follows:*********************************************************Set WshShell = CreateObject(WScript.Shell)Set Env = WshShell.Environment(System)path_org = Env(PATH) tart = Session.Property(TARGETDIR)Env(PATH)= path_org ; tartWshShell.Run Property(CustomActionData) ,3,FalseSet WshShell = Nothing********************************************************************************Please help me

  • RELEVANCY SCORE 2.43

    DB:2.43:Erro Unable To Retrieve Data From: Servidor 7p


    Ola pessoal ja faz 1 mês que eu tenho um server 2003 enterprise spk2, com isa server 2006 enterprise rodando na rede. Mas essa semana verifiquei que os serviços da rede tinham parado, entrei no isa e me deparei com o seguinte erro:
    unable to retrieve data from: nome servidor
     

    DB:2.43:Erro Unable To Retrieve Data From: Servidor 7p

    Thiago, valeu pelas dicas vou dar uma acompanhada nos logs que o server me da, qualquer duvida coloco no post novamente.
    Grato Bruno trombim

  • RELEVANCY SCORE 2.43

    DB:2.43:Unable To Retrieve Data From A Associative Array (?) cs


    Hi!!!! :)))

    i've a problem!!!
    this is the oracle's code:

    ######################################
    Package GEST_REPORT
    IS
    type rec_url is record(
    TIBCDCON TBISD_30.TIBCDCON%TYPE,
    ...
    ...
    etc...
    ...
    SETDEL VARCHAR2(10)
    );

    type tab2 is table of rec_url index by binary_integer;

    FUNCTION MAIN_SELECT
    ( CPLAS IN VARCHAR2)
    RETURN tab2;

    END;

    ########################

    ...and a java code:

    String storedProcedure = "{? = call GEST_REPORT.MAIN_SELECT(?)}";
    String result = "";
    try{
    if (connection != null) {
    CallableStatement callableStatement = null;
    callableStatement = preprepareCall(storedProcedure);
    // preparo parametri di input.
    callableStatement.setString(2, "OM");
    callableStatement.registerOutParameter(1, oracle.jdbc.driver.OracleTypes.ARRAY, "tab2");

    and so on...
    In the last line of code throws an 'invalid name pattern'
    or
    "ORA-21700: object does not exist or is marked for delete"
    if registerOutParameter(1, oracle.jdbc.driver.OracleTypes.ARRAY, "ISDSV.GEST_REPORT").

    Where TAB2: IS THE MY ARRAY (OR NESTED TABLE?);
    GEST_REPORT: THE NAME OF PACKAGE;
    ISDSV: THE USER.

    do u have suggestion for retrieve data from TAB2 in JAVA??

    THKS!!!!!!

    DB:2.43:Unable To Retrieve Data From A Associative Array (?) cs

    Hi

    Use fully qualified type name: schema_name.type_name. For your case that would be "ISDSV.tab2"

    Cherrs :))

  • RELEVANCY SCORE 2.43

    DB:2.43:Unable To Retrieve Entitymanagerfactory pc


    I am receiving an error

    Unable to retrieve EntityManagerFactory for unitName nulljava.lang.IllegalStateException: Unable to retrieve EntityManagerFactory for unitName null

    from

    package session;

    import javax.ejb.Remote;
    import javax.ejb.Stateless;
    import javax.persistence.EntityManager;
    import javax.persistence.PersistenceContext;
    import javax.persistence.Query;
    import entity.PersonObj;
    import session.PersonDAO;
    import javax.ejb.EJBException;

    @Stateless
    public class PersonDAOBean implements PersonDAO
    {
    @PersistenceContext
    private EntityManager em;
    public void addPerson(PersonObj person)
    {
    System.out.println("in the addperson");
    try
    {
    em.persist(person);
    System.out.println("after persist");
    }catch(Throwable t)
    {
    System.out.println("EXCEPTION:" + t.getMessage() + t.toString());
    }
    }

    }

    this is the persistence.xml file

    ?xml version="1.0" encoding="UTF-8"?
    persistence version="1.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
    persistence-unit name="book" transaction-type="JTA"
    jta-data-sourcejdbc/__personnel/jta-data-source
    /persistence-unit
    /persistence

    The method is being called from a backing bean

    package backing;

    import entity.*;
    import session.PersonDAO;
    import javax.ejb.*;
    import javax.naming.*;

    public class PersonFormImpl extends PersonObj implements PersonForm
    {
    private PersonObj personobj;
    private PersonDAO persondao=null;

    public String submit()
    {
    try
    {
    InitialContext ic = new InitialContext();
    persondao = (PersonDAO) ic.lookup(PersonDAO.class.getName());

    personobj=new PersonObj();

    personobj.setId(this.getId());

    personobj.setFname(this.getFname());

    personobj.setLname(this.getLname());

    persondao.addPerson(personobj);

    return "success";
    }catch(Exception e)
    {
    System.out.println(e.toString());
    return "failure";
    }
    }

    }

    DB:2.43:Unable To Retrieve Entitymanagerfactory pc

    Where is your persistence.xml packaged? It must be either in the ejb-jar or at the .ear level for the stateless session bean to have visibility to the persistence unit.

    --ken

  • RELEVANCY SCORE 2.43

    DB:2.43:Retrieve Pictures From Access Database W/Labsql 1k


    I am trying to import pictures from a Access Database w/LabSQL. I made a a database and inserted the pictures as objects into my Table. The name of the table is Pictures, and it has 3 columns (ID, XY_Pic, ZY_Pic). ID is numeric 1-X for each entry and XY_Pic + ZY_Pic are bmp pictures. I ran through the tutorials included in LabSQL examples but it is all text data. I am able to import the first column of data (the numbers 1-X) but I am unable to get the pictures. Does LabSQL even support what I am trying to do or do I need to purchase LabView's Database package?

    DB:2.43:Retrieve Pictures From Access Database W/Labsql 1k

    I took your program and extended it so that it will actually render the picture, and I put a couple of bitmaps into the database.Now when I try to "SELECT * from Pictures;" it returns two columns (which is all I have in my table). The first column is the IDs and the second is empty.Is this what you were seeing? If so, then it looks like you were right: this is a LabSQL limitation, but it's pretty easy to work around.I tried changing the picture column from binary to text and when I did that LabSQL started returning data in the second column.The only problem with this is that you need to make sure that the values you put into the database won't get destroyed by the way the system handles text columns. The easiest way to do that is to encode the files before you store them. (and decode them after you fetch them, of course). Given that you're using the BMP format, I guess disk space isn't an issue, so you can probably just use hex encoding. If you want to be a bit more conservative, you can use something like base64.

  • RELEVANCY SCORE 2.43

    DB:2.43:Unable To Retrieve Data In Sqlite d7



    Hi,

    I am implemented sqlite database in my application. It is working very fine in bb 6 and 7 os. But in 5.0 unable to retrive data . I am manually check database by using sqlitemanager , it contains datas.
    Statement statement = database.createStatement("SELECT FirstName,MobileNumber FROM Contacts");
    The above shown is the query i am used to retrive data from table

    Thanks

    Deepu George Jacob

    DB:2.43:Unable To Retrieve Data In Sqlite d7


    Sorry, I wanted a example of the data that was causing the problem. Can you show us thethe data in the database, and what you actually see in the BlackBerry after it has been extracted.

  • RELEVANCY SCORE 2.42

    DB:2.42:Unable To Retrieve The Operations And Entities During Service Introspection px


    Hi, I created one sample flex mobile project using flash builder 4.5, i would like to invoke the web service (wsdl file), which is developed in java and hosted in remote machine server.i want to call a one getEmployeeList method from the webservice. In flash builder i used the menu Data-connect to web service , i gave the url, changed the service name and package name, after that i clicked next button,the service introspection dialog appears and after a few seconds, flash builder 4.5 shows the message "Unable to retrieve the operations and entities from the web service" and "There was an error during service interospection". I try to open the url in the browser window i could able to see the wsdl file.so, please help me to solve this issue!Thanks Regards,siva Message was edited by: siva csc

    DB:2.42:Unable To Retrieve The Operations And Entities During Service Introspection px

    Hi, I created one sample flex mobile project using flash builder 4.5, i would like to invoke the web service (wsdl file), which is developed in java and hosted in remote machine server.i want to call a one getEmployeeList method from the webservice. In flash builder i used the menu Data-connect to web service , i gave the url, changed the service name and package name, after that i clicked next button,the service introspection dialog appears and after a few seconds, flash builder 4.5 shows the message "Unable to retrieve the operations and entities from the web service" and "There was an error during service interospection". I try to open the url in the browser window i could able to see the wsdl file.so, please help me to solve this issue!Thanks Regards,siva Message was edited by: siva csc

  • RELEVANCY SCORE 2.42

    DB:2.42:Ssis - Error In Executing A Package - Unable To Start Package mf


    Hi,
    I'm executing a package to load 65,000 records from an excel file to SQL Server. Tested the package by loading the data from an excel file on my desktop and works perfectlybut when trying to access the same file from a network drive, there is a long
    delay and finally i receive the message 'error starting debugging - unable to start package'.
    Any advice would be gratefully received.
    Many thanks
    Scott

    ps, the package is executed through bids.

    DB:2.42:Ssis - Error In Executing A Package - Unable To Start Package mf

    Hi Unfortunately this does not solve the error.
    I have copied the xml code for the import routine and saved as a new package, however i get the error error starting debugging..unable to start program .....OLEhas sent a request and is waiting for a reply.

  • RELEVANCY SCORE 2.42

    DB:2.42:How To Retrieve Table Data From Xform Instance ?? k8


    Dear all, My requirement is as follows :- https://forums.emc.com/forums/thread.jspa?threadID=99977#38;tstart=0Thanks RegardsSaswata Mandal.

    DB:2.42:How To Retrieve Table Data From Xform Instance ?? k8

    Dear all, My requirement is as follows :- https://forums.emc.com/forums/thread.jspa?threadID=99977#38;tstart=0Thanks RegardsSaswata Mandal.

  • RELEVANCY SCORE 2.42

    DB:2.42:Is In Xmldb Exist Something Similar To Ms Updategrams? 77


    hi,

    i am looking for way to insert data to database directly from xforms-based web application without mid-tier or with constant mid-tier. Example: if i need add new column to table i must only change table and add new element to Xform instance

    yours,
    Slav

    DB:2.42:Is In Xmldb Exist Something Similar To Ms Updategrams? 77

    Basically no support for updategrams as such. However you can do an HTTP put of an XML document directly to the database. If the document is associated with a registered XML Schema it will be inserted into the default table identified with the Schema and you use a trigger on the table to process the XML

  • RELEVANCY SCORE 2.42

    DB:2.42:Retrieve Data From Excel Sheet Using Jdbc 3s


    hi,
    can you guide me how to retrieve data from excel sheet using jdbc..

    DB:2.42:Retrieve Data From Excel Sheet Using Jdbc 3s

    corlettk wrote:
    most non-Windows systems will not have the reguired ODBC driver.Ummm... I think I thought I saw a port of msquery... designed specifically to allow CLR apps running on non-windows platforms to access office documents. Pretty sure it was an adobe spin-off... Google hard.

    Cheers. Keith.Thanks. Nice to know actually. ;-)

    So I'll ammend and say

    most non-Windows systems will not have the required ODBC driver preinstalled.;-)

    Edit: BTW, does that port already handle Office 2007? If not it wouldn't help anyway. That is the version where they completely changed the way they do it (and submitted the formats for standardisation), and is the only version where, currently, I might recommend the Bridge.

  • RELEVANCY SCORE 2.42

    DB:2.42:Failed To Retrieve Data From The Database s9



    Looking for assistance regarding the following issue. Hopefully, there is an explanation or fix out there.

    Receiving the following error for Crystal XI created reports that use package procedures:

    Failed to retrieve data from the database. Details: [Database Vendor Code: 6550 ] Failed to retrieve data from the database. Details: [Database Vendor Code: 6550 ] Failed to retrieve data from the database. Error in File C:\Windows\TEMP\Report1017 {98602EA0-1FE8-43B5-A3B3-B812351B3DD2}.rpt: Failed to retrieve data from the database. Details: [Database Vendor Code: 6550 ]

    **Note - the package procedures are located in a different schema than the .net application I'm trying to run the report on. The .net application is on a webserver that has the crystal XI runtime installed. The report was created with XI sp6. Placing the package procedure on the same schema as the report produces the same error as above. Taking the procedure out of the package and running the report produces results.

    Is there an issue with package procs in this version of crystal or is there some other explanation.

    DB:2.42:Failed To Retrieve Data From The Database s9


    Pakages work fine in CR.

    First thing to do is verify the report works in CR DEsigner when you change the schema. Save a copy of the verified report and the run that in your app. If that works then check your Set Location code.

    Seems to me it's a permission issue on the Server of from the WEB Server account running the report.

    Add debugging try/catch to your app to find out what line of code is failing.

    For more help on coding go to the .NET SDK forum.

    Don

  • RELEVANCY SCORE 2.42

    DB:2.42:Registered Table Data Not Uploaded In Xform Template !! z9



    Dear Experts,

    I registered a table using DA for Value Assistance Entries for Object Type's attributes. Then created a xForm Template based on the object type. The values of the attributes listed the data from the database table at that moment. Then added some more rows in the Database Table. Using DA when I executed a query on the registered table all the rows were listed including the new ones. Even in the DA's object property window , the new values were listed.

    But , the xForm Template in the Forms Builder only lists the values that were there in the database table at the time of the template creation. Also , when the form template is used to create a new form instance in DA , the new values added to the Db table is not listed.

    How , can I resolve this issue.

    Thanks Regards

    Saswata Mandal.

    DB:2.42:Registered Table Data Not Uploaded In Xform Template !! z9


    Hi experts ,

    Finally I implemented template datasource adaptors using IDocbaseDataSourceAdaptorService and dql to query the registered table ,as the adaptors initial parameter , to show all the updated entries of the Database Table in the xForm's items' field .

    That solved the issue , since the updated DB entries are listed in the xForms instance , but , for the DropDownList Control there is a blank entry at the very beginning of the list .

    Can any one suggest how to remove the blank entry from the dropdownlist !!!

    Thanks Regards

    Saswata Mandal.

  • RELEVANCY SCORE 2.42

    DB:2.42:Unable To Retrieve Data From Report Where Material Consumption Is Not Done 1z


    Hello Gurus, am unable to retrieve data from reports where material consumption is not done in an plant maintenance order. Report is generating with respect to the materials consumed in the order. My user requirement is to display all the orders with respect and with out respective to the material consumption. pls suggest me some solution.. below is my attachementthankyou.

    DB:2.42:Unable To Retrieve Data From Report Where Material Consumption Is Not Done 1z

    Hello Gurus,below is coding for the above report REPORT zpm_eqipment_history. INCLUDE zeqipment_history_data_dec. SELECTION-SCREEN: BEGIN OF BLOCK b1 WITH FRAME TITLE text-t01. SELECT-OPTIONS s_swerk FOR v_swerk OBLIGATORY. SELECT-OPTIONS s_ilart FOR v_ilart. SELECT-OPTIONS s_auart FOR v_auart. SELECT-OPTIONS s_tplnr FOR v_tplnr. SELECT-OPTIONS s_equnr FOR v_equnr OBLIGATORY. SELECT-OPTIONS s_vaplz FOR v_vaplz. SELECT-OPTIONS s_ingpr FOR v_ingpr. SELECT-OPTIONS s_eqart FOR v_eqart. SELECT-OPTIONS s_addat FOR v_addat OBLIGATORY. SELECTION-SCREEN: END OF BLOCK b1. AT SELECTION-SCREEN. START-OF-SELECTION. swerks = s_swerk+3(4). SELECT SINGLE name1 FROM t001w INTO splant_desc WHERE werks EQ swerks. PERFORM get_afih. IF i_afih IS NOT INITIAL. PERFORM get_aufm. PERFORM get_afko. PERFORM get_data. PERFORM get_final. PERFORM dl_smartform. ELSE. MESSAGE e000(zeh). EXIT. ENDIF. END-OF-SELECTION. FORM get_afih . SELECT "#EC CI_NOFIRST aufnr "Order Number equnr "Equipment Number ingpr "Planner Group iwerk "Maintenance Planning Plant addat "PM Order: Reference Date iloan "Location warpl "Maintenance Plan FROM afih INTO TABLE i_afih WHERE iwerk IN s_swerk AND equnr IN s_equnr AND ingpr IN s_ingpr AND addat IN s_addat AND ilart IN s_ilart. IF i_afih IS NOT INITIAL. SORT i_afih BY aufnr. ELSE. EXIT. ENDIF. ENDFORM. " GET_AFIH FORM get_aufm . SELECT mblnr mjahr zeile aufnr dmbtr matnr menge FROM aufm INTO CORRESPONDING FIELDS OF TABLE i_aufm FOR ALL ENTRIES IN i_afih WHERE aufnr EQ i_afih-aufnr AND werks EQ i_afih-iwerk AND sakto NE ' '. ENDFORM. " GET_AUFM FORM get_afko . SELECT aufnr aufpl aplzt FROM afko INTO CORRESPONDING FIELDS OF TABLE i_afko FOR ALL ENTRIES IN i_afih WHERE aufnr EQ i_afih-aufnr. ENDFORM. " GET_AFKO FORM get_data . DATA :smtime(8) TYPE n, smtime1(10) TYPE n, day1_hrs(2) TYPE n, day1_min(2) TYPE n, day1_sec(2) TYPE n, end_day_hrs(2) TYPE n, end_day_min(2) TYPE n, end_day_sec(2) TYPE n, s_hrs(4) TYPE n, s_min(2) TYPE n, s_sec(2) TYPE n, s_day(3) TYPE n, sec_min(2) TYPE n, min_hr(2) TYPE n. * LOOP AT i_afih INTO wa_afih. * wa_final-aufnr = wa_afih-aufnr. * wa_final-equnr = wa_afih-equnr. * wa_final-ingpr = wa_afih-ingpr. * wa_final-iwerk = wa_afih-iwerk. * wa_final-addat = wa_afih-addat. * wa_final-addat1 = wa_afih-addat. * wa_final-iloan = wa_afih-iloan. * wa_final-warpl = wa_afih-warpl. * * APPEND wa_final TO i_final. * * CLEAR : wa_final, wa_afih. * ENDLOOP. * * IF i_afih IS NOT INITIAL. * * LOOP AT i_final INTO wa_final. * * READ TABLE i_aufm INTO wa_aufm WITH KEY aufnr = wa_final-aufnr. * IF sy-subrc EQ 0. * * wa_final-mblnr = wa_aufm-mblnr. * wa_final-mjahr = wa_aufm-mjahr. * wa_final-zeile = wa_aufm-zeile. * * IF wa_aufm-dmbtr = '0.00'. * IF sy-subrc EQ 0. * wa_final-dmbtr = ' '. * ENDIF. * ELSE. * wa_final-dmbtr = wa_aufm-dmbtr. * ENDIF. * * wa_final-matnr = wa_aufm-matnr. * wa_final-menge = wa_aufm-menge. * * MODIFY i_final FROM wa_final TRANSPORTING mblnr mjahr zeile dmbtr matnr menge WHERE aufnr EQ wa_final-aufnr . * * ENDIF. * ENDLOOP. * CLEAR: i_aufm, wa_aufm. * ENDIF. * CLEAR: i_afih, wa_afih. LOOP AT i_aufm INTO wa_aufm . wa_final-aufnr = wa_aufm-aufnr. wa_final-mblnr = wa_aufm-mblnr. wa_final-mjahr = wa_aufm-mjahr. wa_final-zeile = wa_aufm-zeile. IF wa_aufm-dmbtr = '0.00'. IF sy-subrc EQ 0. wa_final-dmbtr = ' '. ENDIF. ELSE. wa_final-dmbtr = wa_aufm-dmbtr. ENDIF. wa_final-matnr = wa_aufm-matnr. wa_final-menge = wa_aufm-menge. APPEND wa_final TO i_final. CLEAR : wa_final, wa_aufm. ENDLOOP. IF i_afih IS NOT INITIAL. LOOP AT i_final INTO wa_final. READ TABLE i_afih INTO wa_afih WITH KEY aufnr = wa_final-aufnr. IF sy-subrc EQ 0. wa_final-equnr = wa_afih-equnr. wa_final-ingpr = wa_afih-ingpr. wa_final-iwerk = wa_afih-iwerk. wa_final-addat = wa_afih-addat. wa_final-addat1 = wa_afih-addat. wa_final-iloan = wa_afih-iloan. wa_final-warpl = wa_afih-warpl. MODIFY i_final FROM wa_final TRANSPORTING equnr ingpr iwerk addat addat1 iloan warpl WHERE aufnr EQ wa_final-aufnr . ENDIF. ENDLOOP. ENDIF. CLEAR: i_afih, wa_afih. ********************************************************************************************************************************** LOOP AT i_final INTO wa_final. READ TABLE i_afko INTO wa_afko WITH KEY aufnr = wa_final-aufnr. IF sy-subrc EQ 0. wa_final-aufpl = wa_afko-aufpl. wa_final-aplzt = wa_afko-aplzt. MODIFY i_final FROM wa_final TRANSPORTING aufpl aplzt WHERE aufnr EQ wa_final-aufnr . ENDIF. CLEAR : wa_final, wa_afko. ENDLOOP. LOOP AT i_final INTO wa_final. SELECT SINGLE eqktx FROM eqkt INTO k_eqktx WHERE equnr EQ wa_final-equnr . wa_final-eqktx = k_eqktx. k_mandt = sy-mandt. k_aufpl = wa_final-aufpl. SELECT SINGLE profid FROM afko INTO k_profid WHERE aufnr EQ wa_final-aufnr. CONCATENATE k_mandt k_aufpl '0' k_profid INTO k_name. l_v_name = k_name. CALL FUNCTION 'READ_TEXT' EXPORTING client = sy-mandt id = 'AVOT' language = 'E' name = l_v_name object = 'AUFK' * ARCHIVE_HANDLE = 0 * LOCAL_CAT = ' ' * IMPORTING * HEADER = TABLES lines = l_i_lines EXCEPTIONS id = 1 language = 2 name = 3 not_found = 4 object = 5 reference_check = 6 wrong_access_to_archive = 7 OTHERS = 8 . IF sy-subrc 0. * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO * WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4. ENDIF. IF sy-subrc = 0. READ TABLE l_i_lines INTO l_wa_lines INDEX 1. IF sy-subrc = 0. wa_final-ltxa1 = l_wa_lines-tdline. ENDIF. READ TABLE l_i_lines INTO l_wa_lines INDEX 2. IF sy-subrc = 0. wa_final-ltxa2 = l_wa_lines-tdline. ENDIF. READ TABLE l_i_lines INTO l_wa_lines INDEX 3. IF sy-subrc = 0. wa_final-ltxa3 = l_wa_lines-tdline. ENDIF. READ TABLE l_i_lines INTO l_wa_lines INDEX 4. IF sy-subrc = 0. wa_final-ltxa4 = l_wa_lines-tdline. ENDIF. READ TABLE l_i_lines INTO l_wa_lines INDEX 5. IF sy-subrc = 0. wa_final-ltxa5 = l_wa_lines-tdline. ENDIF. READ TABLE l_i_lines INTO l_wa_lines INDEX 6. IF sy-subrc = 0. wa_final-ltxa6 = l_wa_lines-tdline. ENDIF. READ TABLE l_i_lines INTO l_wa_lines INDEX 7. IF sy-subrc = 0. wa_final-ltxa7 = l_wa_lines-tdline. ENDIF. READ TABLE l_i_lines INTO l_wa_lines INDEX 8. IF sy-subrc = 0. wa_final-ltxa8 = l_wa_lines-tdline. ENDIF. READ TABLE l_i_lines INTO l_wa_lines INDEX 9. IF sy-subrc = 0. wa_final-ltxa9 = l_wa_lines-tdline. ENDIF. READ TABLE l_i_lines INTO l_wa_lines INDEX 10. IF sy-subrc = 0. wa_final-ltxa10 = l_wa_lines-tdline. ENDIF. READ TABLE l_i_lines INTO l_wa_lines INDEX 11. IF sy-subrc = 0. wa_final-ltxa11 = l_wa_lines-tdline. ENDIF. READ TABLE l_i_lines INTO l_wa_lines INDEX 12. IF sy-subrc = 0. wa_final-ltxa12 = l_wa_lines-tdline. ENDIF. READ TABLE l_i_lines INTO l_wa_lines INDEX 13. IF sy-subrc = 0. wa_final-ltxa13 = l_wa_lines-tdline. ENDIF. READ TABLE l_i_lines INTO l_wa_lines INDEX 14. IF sy-subrc = 0. wa_final-ltxa14 = l_wa_lines-tdline. ENDIF. READ TABLE l_i_lines INTO l_wa_lines INDEX 15. IF sy-subrc = 0. wa_final-ltxa15 = l_wa_lines-tdline. ENDIF. READ TABLE l_i_lines INTO l_wa_lines INDEX 16. IF sy-subrc = 0. wa_final-ltxa16 = l_wa_lines-tdline. ENDIF. READ TABLE l_i_lines INTO l_wa_lines INDEX 17. IF sy-subrc = 0. wa_final-ltxa17 = l_wa_lines-tdline. ENDIF. READ TABLE l_i_lines INTO l_wa_lines INDEX 18. IF sy-subrc = 0. wa_final-ltxa18 = l_wa_lines-tdline. ENDIF. READ TABLE l_i_lines INTO l_wa_lines INDEX 19. IF sy-subrc = 0. wa_final-ltxa19 = l_wa_lines-tdline. ENDIF. READ TABLE l_i_lines INTO l_wa_lines INDEX 20. IF sy-subrc = 0. wa_final-ltxa20 = l_wa_lines-tdline. ENDIF. READ TABLE l_i_lines INTO l_wa_lines INDEX 21. IF sy-subrc = 0. wa_final-ltxa21 = l_wa_lines-tdline. ENDIF. READ TABLE l_i_lines INTO l_wa_lines INDEX 22. IF sy-subrc = 0. wa_final-ltxa22 = l_wa_lines-tdline. ENDIF. READ TABLE l_i_lines INTO l_wa_lines INDEX 23. IF sy-subrc = 0. wa_final-ltxa23 = l_wa_lines-tdline. ENDIF. READ TABLE l_i_lines INTO l_wa_lines INDEX 24. IF sy-subrc = 0. wa_final-ltxa24 = l_wa_lines-tdline. ENDIF. READ TABLE l_i_lines INTO l_wa_lines INDEX 25. IF sy-subrc = 0. wa_final-ltxa25 = l_wa_lines-tdline. ENDIF. ENDIF. SELECT SINGLE innam FROM t024i INTO k_innam WHERE ingrp EQ wa_final-ingpr and IWERK = wa_final-iwerk. wa_final-innam = k_innam. SELECT SINGLE eqart FROM equi INTO k_eqart WHERE equnr EQ wa_final-equnr. wa_final-eqart = k_eqart. SELECT SINGLE usr00 FROM afvu INTO k_usr00 WHERE aufpl EQ wa_final-aufpl. wa_final-usr00 = k_usr00. SELECT SINGLE tplnr FROM iloa INTO k_tplnr WHERE iloan EQ wa_final-iloan. wa_final-tplnr = k_tplnr. SELECT SINGLE pltxt FROM iflotx INTO k_pltxt WHERE tplnr EQ k_tplnr AND spras EQ 'EN'. wa_final-pltxt = k_pltxt. SELECT SINGLE maktx FROM makt INTO k_maktx WHERE matnr EQ wa_final-matnr. wa_final-maktx = k_maktx. SELECT SINGLE auart FROM aufk INTO k_auart WHERE aufnr EQ wa_final-aufnr. wa_final-auart = k_auart. SELECT SINGLE ktext FROM aufk INTO k_ktext WHERE aufnr EQ wa_final-aufnr. wa_final-ktext = k_ktext. SELECT SINGLE ltxa1 FROM afvc INTO k_stext WHERE aufpl EQ wa_final-aufpl. wa_final-stext = k_stext. SELECT SINGLE qmnam FROM viqmel INTO k_qmnam WHERE aufnr EQ wa_final-aufnr. wa_final-qmnam = k_qmnam. SELECT SINGLE ausvn FROM viqmel INTO k_ausvn WHERE aufnr EQ wa_final-aufnr. wa_final-ausvn = k_ausvn. SELECT SINGLE ausbs FROM viqmel INTO k_ausbs WHERE aufnr EQ wa_final-aufnr. wa_final-ausbs = k_ausbs. SELECT SINGLE auztv FROM viqmel INTO k_auztv WHERE aufnr EQ wa_final-aufnr. wa_final-auztv = k_auztv. SELECT SINGLE auztb FROM viqmel INTO k_auztb WHERE aufnr EQ wa_final-aufnr. wa_final-auztb = k_auztb. IF wa_final-ausbs IS NOT INITIAL AND wa_final-ausvn IS NOT INITIAL. IF wa_final-auztb IS NOT INITIAL AND wa_final-auztv IS NOT INITIAL. *CALL FUNCTION 'L_MC_TIME_DIFFERENCE' * EXPORTING * date_from = * date_to = ** TIME_FROM = ** TIME_TO = ** IMPORTING ** DELTA_TIME = ** DELTA_UNIT = ** EXCEPTIONS ** FROM_GREATER_TO = 1 ** OTHERS = 2 * . *IF sy-subrc 0. ** MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO ** WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4. *ENDIF. wa_final-mday = wa_final-ausbs - wa_final-ausvn. IF wa_final-mday = 0 . day1_hrs = wa_final-auztv(2). day1_min = wa_final-auztv+2(2). day1_sec = wa_final-auztv+4(2). end_day_hrs = wa_final-auztb(2). end_day_min = wa_final-auztb+2(2). end_day_sec = wa_final-auztb+4(2). s_hrs = end_day_hrs - day1_hrs. s_min = end_day_min - day1_min. min_hr = s_min / 60. IF min_hr = 1. s_hrs = s_hrs + min_hr. s_min = s_min MOD 60. ENDIF. s_sec = end_day_sec - day1_sec. sec_min = s_sec / 60. IF sec_min = 1. s_min = s_min + sec_min. s_sec = s_sec MOD 60. ENDIF. CONCATENATE s_hrs ':' s_min ':' s_sec INTO smtime1. wa_final-dtime = smtime1. ELSEIF wa_final-mday = 1 . day1_hrs = 24 - wa_final-auztv(2). day1_min = 60 - wa_final-auztv+2(2). day1_sec = 60 - wa_final-auztv+4(2). IF day1_sec NE 0 OR day1_min NE 0. day1_hrs = day1_hrs - 1. ENDIF. end_day_hrs = wa_final-auztb(2). end_day_min = wa_final-auztb+2(2). end_day_sec = wa_final-auztb+4(2). s_sec = day1_sec + end_day_sec. sec_min = s_sec / 60. IF sec_min = 1. s_min = s_min + sec_min. s_sec = s_sec MOD 60. ENDIF. s_min = day1_min + end_day_min + s_min. min_hr = s_min / 60. IF min_hr = 1. s_hrs = s_hrs + min_hr. s_min = s_min MOD 60. ENDIF. s_hrs = day1_hrs + end_day_hrs + s_hrs. CONCATENATE s_hrs ':' s_min ':' s_sec INTO smtime1. wa_final-dtime = smtime1. ELSEIF wa_final-mday = 2. day1_hrs = 24 - wa_final-auztv(2). day1_min = 60 - wa_final-auztv+2(2). day1_sec = 60 - wa_final-auztv+4(2). IF day1_sec NE 0 OR day1_min NE 0. day1_hrs = day1_hrs - 1. ENDIF. end_day_hrs = wa_final-auztb(2). end_day_min = wa_final-auztb+2(2). end_day_sec = wa_final-auztb+4(2). s_sec = day1_sec + end_day_sec. sec_min = s_sec / 60. IF sec_min = 1. s_min = s_min + sec_min. s_sec = s_sec MOD 60. ENDIF. s_min = day1_min + end_day_min + s_min. min_hr = s_min / 60. IF min_hr = 1. s_hrs = s_hrs + min_hr. s_min = s_min MOD 60. ENDIF. s_day = wa_final-mday - 1. smtime = s_day * 24. s_hrs = day1_hrs + end_day_hrs + smtime + s_hrs. CONCATENATE s_hrs ':' s_min ':' s_sec INTO smtime1. wa_final-dtime = smtime1. ENDIF. ENDIF. ENDIF. MODIFY i_final FROM wa_final TRANSPORTING innam eqart usr00 eqktx ltxa1 ltxa2 ltxa3 ltxa4 ltxa5 ltxa6 ltxa7 ltxa8 ltxa9 ltxa10 ltxa11 ltxa12 ltxa13 ltxa14 ltxa15 ltxa16 ltxa17 ltxa18 ltxa19 ltxa20 ltxa21 ltxa22 ltxa23 ltxa24 ltxa25 tplnr pltxt maktx auart ausvn ausbs auztv auztb qmnam mday dtime ktext usr00 stext. CLEAR: k_eqart, k_aufpl, k_eqktx, k_name, k_profid, k_ltxa1, k_tplnr, k_pltxt, k_maktx, k_auart, k_qmnam, k_ausvn, k_ausbs, k_auztv, k_auztb, k_ktext, k_usr00, k_aufpl, k_innam, smtime, l_wa_lines, l_wa_lines-tdline, wa_final, k_stext, smtime1, s_sec, s_min, s_hrs, sec_min, min_hr, day1_sec, end_day_sec, day1_min, end_day_min, day1_hrs, end_day_hrs, s_day. ENDLOOP. ENDFORM. " GET_DATA FORM get_final . SELECT aufnr vaplz auart FROM aufk INTO CORRESPONDING FIELDS OF TABLE i_aufk FOR ALL ENTRIES IN i_final WHERE aufnr EQ i_final-aufnr AND vaplz IN s_vaplz AND auart IN s_auart. IF i_aufk IS NOT INITIAL . LOOP AT i_final INTO wa_final. READ TABLE i_aufk INTO wa_aufk WITH KEY aufnr = wa_final-aufnr. IF sy-subrc EQ 0. wa_final-vaplz = wa_aufk-vaplz. MODIFY i_final FROM wa_final TRANSPORTING vaplz. ENDIF. ENDLOOP. ENDIF. CLEAR : i_aufk, wa_aufk. IF s_tplnr IS NOT INITIAL . SELECT tplnr FROM iloa INTO CORRESPONDING FIELDS OF TABLE i_iloa FOR ALL ENTRIES IN i_final WHERE iloan EQ i_final-iloan AND tplnr IN s_tplnr. LOOP AT i_final INTO wa_final. READ TABLE i_iloa INTO wa_iloa WITH KEY tplnr = wa_final-tplnr. IF sy-subrc NE 0. DELETE i_final WHERE tplnr EQ wa_final-tplnr. ENDIF. ENDLOOP. ENDIF. CLEAR: i_iloa, wa_iloa. IF s_eqart IS NOT INITIAL. SELECT eqart FROM equi INTO CORRESPONDING FIELDS OF TABLE i_equi FOR ALL ENTRIES IN i_final WHERE equnr EQ i_final-equnr AND eqart EQ s_eqart. LOOP AT i_final INTO wa_final. READ TABLE i_equi INTO wa_equi WITH KEY eqart = wa_final-eqart. IF sy-subrc NE 0. DELETE i_final WHERE eqart EQ wa_final-eqart. ENDIF. ENDLOOP. ENDIF. CLEAR: i_equi, wa_equi. IF s_ingpr+3 = 'M26'. IF sy-subrc EQ 0. splant_desc = 'IT Department'. ENDIF. ENDIF. it_final[] = i_final[]. SORT it_final BY aufnr. CLEAR: i_final, wa_final. ENDFORM. " GET_FINAL

  • RELEVANCY SCORE 2.42

    DB:2.42:Xforms Validation xc


    Hi,
    I have created a XForm and run it using XClient. While incorporating validations in it I found out that it can validate a field only against instance data. That means in instance data I always need to have some default data.

    Can anybody has an idea whether a XForm can be validated without instance data?

    Thanks in advance.

    Anindita Goswami

    DB:2.42:Xforms Validation xc

    Hi Anindita,

    I will try to provide you with a sample shortly.

    In the meantime, I could also take a look at your code if you post a snippet.

    Regards,

    Phil

  • RELEVANCY SCORE 2.42

    DB:2.42:Abstract Data Types From Java 9f


    Hi,

    I'm trying to read a user-defined ADT column from a normal table using java.sql.ResultSet. When I notice that the only way to retrieve the ADT column information is through a java Object instance.

    Is there another package I should be using?
    How can one in general retrieve the contents of an ADT column into a useful java object?

    Thanks in advance,
    Sep

    DB:2.42:Abstract Data Types From Java 9f

    Sep,
    There's only one way to do it. You can find some examples at the Advanced JDBC Samples Web page.

    Good Luck,
    Avi.

  • RELEVANCY SCORE 2.41

    DB:2.41:Internal Error: Text Manager Cannot Continue With Current Statement. Run Dbcc Checktable 78


    I am running 2008 R2SP1.
    This is the following from the xevents record;

    event name=error_reported package=sqlserver id=100 version=1 timestamp=2013-01-30T13:26:59.988Z
    data name=error
    type name=int32 package=package0 /
    value7102/value
    text /
    /data
    data name=severity
    type name=int32 package=package0 /
    value20/value
    text /
    /data
    data name=state
    type name=int32 package=package0 /
    value99/value
    text /
    /data
    data name=user_defined
    type name=boolean package=package0 /
    valuefalse/value
    text /
    /data
    data name=message
    type name=unicode_string package=package0 /
    valueInternal Error: Text manager cannot continue with current statement. Run DBCC CHECKTABLE./value
    text /
    /data
    action name=callstack package=package0
    type name=callstack package=package0 /
    value0x0000000001636E55
    0x0000000000DD8C55
    0x0000000000DD8A50
    0x000000000176E5C0
    0x00000000012D3E2E
    0x00000000012D2B3C
    0x00000000012D280A
    0x00000000026770C5
    0x000000000190BE3E
    0x000000000190C170
    0x000000000190C607
    0x000000000190C8E7
    0x0000000001917D88
    0x00000000021EE3DA
    0x00000000013BBDFE
    0x00000000021EC9F6/value
    text /
    /action
    action name=session_id package=sqlserver
    type name=uint16 package=package0 /
    value1006/value
    text /
    /action
    action name=sql_text package=sqlserver
    type name=unicode_string package=package0 /
    valueUnable to retrieve SQL text/value
    text /
    /action
    action name=tsql_stack package=sqlserver
    type name=unicode_string package=package0 /
    valuelt;frame level='1' handle='0x03000500CB5DE4400C4A0001E7A000000100000000000000' line='10' offsetStart='256' offsetEnd='-1'/gt;/value
    text /
    /action
    /event

    The handle '0x03000500CB5DE4400C4A0001E7A000000100000000000000' points to a select proc that joins 4 tables together. I have run dbcc checktable on all 4 tables and no errors were reported.
    What caused this error, or where should I continue investigating?

    Kind Regards,

    DB:2.41:Internal Error: Text Manager Cannot Continue With Current Statement. Run Dbcc Checktable 78

    Hi morshedk,
    Some Interal Error may be fixed when you run it again. If the error is always there, we need to investigate the issue further.

    Thanks.Maggie Luo
    TechNet Community Support

  • RELEVANCY SCORE 2.41

    DB:2.41:How To Delete Warning @W [Xform-1103] Ignored Data Pack Directive On Non-Struct Variable xk



    Hi everyone !

    I validate my design in C simulation but I encounter some issues with HLS during synthesis. I have the following warning :

    @W [XFORM-1103] Ignored data pack directive on non-struct variable 'img_0.data_stream.V' (hls_convolution.cpp:42).

    Where img_0 is my input matrice corresponding to my input image.

    Do you know how can I delete this warning?

    I put my code in attachment.

    Many thanks !










    Attachments:







    hls_convolution.h ‏1 KB

    DB:2.41:How To Delete Warning @W [Xform-1103] Ignored Data Pack Directive On Non-Struct Variable xk


    Hi Hervé,

    I didn't include a data pack directive that's why i'm confused. I can't find this assert in all the lib I added, I guess I can ignore it.

    Thanks for reply.

    Florent

  • RELEVANCY SCORE 2.41

    DB:2.41:How To Retrieve Data From Excel Sheet sf


    Hi,

    How to retrieve data from excel sheet into a java file.

    DB:2.41:How To Retrieve Data From Excel Sheet sf

    janu05 wrote:
    If we append a $ in the end of the table name it is showing an error saying "invalid name,should not contain any invalid character or punctuation"
    ...This is not a general Java question. Try reading the API docs, posting to the mailing list, or contacting the author of the tool you're using.

  • RELEVANCY SCORE 2.41

    DB:2.41:Context Menu Question f9


    Alright. I have a docking manager on my mainform (using Weifen Luo). The mainform calls a second form called xform (naming differently). xform is created onto the docking manager. the xform has a context menu. The context menu calls yform. Now yform I want to dock it automatically. See. The forms are generally added to the docking manager from the event like this:// click event to start up xform in the mainformprivate void viewevent_Click(Object sender, System.EventArgs e){m_viewxform.Show(dockingManager1);}Now the m_viewxform is the object to the class (xform) that I want to start up.However, the event for the context menu is actually in the xform rather then the mainform. How do I get it so I can dock it with the docking manager? Any help or ideas would be appreciated.

    DB:2.41:Context Menu Question f9

    I always answer my own questions! hahaahaThis is how you do it for you folks out there that actually want to know.We have mainform, xform, yformmainform holds the dockmanager objectmainform calls xform eventxform calls yform eventto make yform a part of the dockmanager you do this:Make a second constructor in xform and pass in a dockmanager object.public class mainform : Form{public DockManager dockmanager1;private Xform m_xform;public mainform ( ){IntiailizeComponent();m_xform = new Xform(dockmanager1)}.....}public class xform :Content{private DockManager xformdock;public xform( ){InitializeComponent();}public xform(DockManager dock) : this(){xformdock = dock;}....private void viewyform_Click(object sender, System.EventArgs e){Yform m_yform = new Yform();//Show is a methodinherited from theclass Contentm_yform.Show(xformdock);}

  • RELEVANCY SCORE 2.41

    DB:2.41:Using Ms Query To Retrieve Data From Sql Databases km



    I use Excel 2010to create simple reports. I use MS Query to retrieve data from SQL databases and then I usually need to perform
    sorting, grouping, subtotals, etc.
    So when I retrieve the data, it's in a table format. I need to convert the table format to a range before I can do any subtotals, but when I convert to a range, I lose the query that I built to retrieve the data. That leaves me with a report that I'm unable
    to refresh in the future. Previously (with Excel 2003) I didn't have this issue.
    Is there a way to retrieve data from a database, but have it NOT in a table?
    Steve

    DB:2.41:Using Ms Query To Retrieve Data From Sql Databases km

    You might be able to create the table in a prior version of excel, open in 2010 and save as 2003. But in general you should probably keep your query data clean and run a pivot table off of it.

  • RELEVANCY SCORE 2.41

    DB:2.41:How To Retrieve Data From Sap Connectors In Qlikview? ms



    How to retrieve data from sap connectors in qlikview?

    DB:2.41:How To Retrieve Data From Sap Connectors In Qlikview? ms


    Hi,

    Please find here the manual for the latest version SAP Connectors (5.80 SR4):

    http://community.qlik.com/docs/DOC-7257

    Thanks,

    Tomas

  • RELEVANCY SCORE 2.40

    DB:2.40:Unable To Retrieve Data From The Table /Sapsrm/D_Wf_003 fx



    I have to use Work Item Id to get the u2018IDu2019 from /SAPSRM/D_WF_013 table and the process levels are in this table : /SAPSRM/D_WF_003.

    Here my prob is I got the ID from the first table using the work item id and I gave the id in the second table to retrieve data

    but none of the id matches in the table /SAPSRM/D_WF_003. Can anyone suggest me from which table I can get the ID to retrieve the data from /SAPSRM/D_WF_003.

    Regards,

    Gokul

    DB:2.40:Unable To Retrieve Data From The Table /Sapsrm/D_Wf_003 fx


    Hi Gokul,

    Can you not establish what the GUID of the item is in the table for extraction? This is always the best bet to retrieve data due to its uniqueness.

    Regards,

    Jason

  • RELEVANCY SCORE 2.40

    DB:2.40:Retrieve Package Varialbe From Sql Configuration Table? mp


    Hi,I have been trying to get a variable in my package to retrieve its data from the SQL configuration table.. so that in future i am able to alter them all easily.On the SSIS Package Configurations menu, there seems to only be the option to pass a variable FROM the package TO SQLwhereas what i want to do is infact the opposite...any help would be much appreciatedregardsChris

    DB:2.40:Retrieve Package Varialbe From Sql Configuration Table? mp

    Configurations are checked/updated on many occasions:
    -Upon first opening up the package. 
    -In BIDS when you right-click on a package in the solution explorer and click 'reload with upgrade'. 
    -Run-time. Regardless of how it is executed (sql server agent, dtexec,BIDS).

  • RELEVANCY SCORE 2.40

    DB:2.40:Vivado Hls Video Libraries - Houghlines2 - Unable To Synthesize m7



    Hi,

    We are trying to implement a straight line plotting algorithm based on the parameterterized outputs received from a Hough Line Transform block. We are using the hls::houghlines2 library for applyingthe Hough Transform to a pre-processed single channel image. The design passes the C simulation. However, the issue is we are not able to synthesize the design and we keep seeing warnings like this:

    Completely partitioning array 'lines_val.V' accessed through non-constant indices on dimension 1, which may result in long runtime and suboptimal QoR due to large multiplexers. Please consider wrapping the array access into a function or using a register file core instead.
    @W [XFORM-104] Completely partitioning array 'lines_flag.V' accessed through non-constant indices on dimension 1, which may result in long runtime and suboptimal QoR due to large multiplexers. Please consider wrapping the array access into a function or using a register file core instead.
    @W [XFORM-104] Completely partitioning array 'addr.V' accessed through non-constant indices on dimension 1, which may result in long runtime and suboptimal QoR due to large multiplexers. Please consider wrapping the array access into a function or using a register file core instead.
    @W [XFORM-104] Completely partitioning array 'sinval.V' accessed through non-constant indices on dimension 1, which may result in long runtime and suboptimal QoR due to large multiplexers. Please consider wrapping the array access into a function or using a register file core instead.
    @W [XFORM-104] Completely partitioning array 'cosval.V' accessed through non-constant indices on dimension 1, which may result in long runtime and suboptimal QoR due to large multiplexers. Please consider wrapping the array access into a function or using a register file core instead.Completely partitioning array 'accbuf.V' accessed through non-constant indices on dimension 1, which may result in long runtime and suboptimal QoR due to large multiplexers. Please consider wrapping the array access into a function or using a register file core instead.@W [XFORM-104] Completely partitioning array '_accum.V' accessed through non-constant indices on dimension 1, which may result in long runtime and suboptimal QoR due to large multiplexers. Please consider wrapping the array access into a function or using a register file core instead.@W [XFORM-104] Completely partitioning array 'lines.angle.V' accessed through non-constant indices on dimension 1, which may result in long runtime and suboptimal QoR due to large multiplexers. Please consider wrapping the array access into a function or using a register file core instead.@W [XFORM-104] Completely partitioning array 'lines.rho.V' accessed through non-constant indices on dimension 1, which may result in long runtime and suboptimal QoR due to large multiplexers. Please consider wrapping the array access into a function or using a register file core instead.@W [XFORM-104] Completely partitioning array 'sinval.V' accessed through non-constant indices on dimension 1, which may result in long runtime and suboptimal QoR due to large multiplexers. Please consider wrapping the array access into a function or using a register file core instead.@W [XFORM-104] Completely partitioning array 'cosval.V' accessed through non-constant indices on dimension 1, which may result in long runtime and suboptimal QoR due to large multiplexers. Please consider wrapping the array access into a function or using a register file core instead.

    The synthesis process hangs after this! Not sure if this is due to a design issue in the HLS library or are we missing something somewhere..

    I have attached the codes. Any suggestions on fixing this would be helpful.










    Attachments:







    Hough_Top.zip ‏9 KB

    DB:2.40:Vivado Hls Video Libraries - Houghlines2 - Unable To Synthesize m7

    Which Vivado version is this and what OS are you using?



    Regards,Debraj----------------------------------------------------------------------------------------------Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.Give Kudos to a post which you think is helpful and reply oriented.----------------------------------------------------------------------------------------------

  • RELEVANCY SCORE 2.40

    DB:2.40:Wireless Client Insists On Submitting Xform Using Omc Protocol. xa


    Hi,

    I changed one of the xform sample's submission tag to submit to a test jsp page:

    xforms:submission action="http://localhost/Yuriy/printPost.jsp" method="post" id="s00"/

    However, the submit always goes to

    omc://localhost:80/Yuriy/printPost.jsp

    The jsp page still receives the xform data, and can work with it. However, the result page is always loaded with the omc protocol, which forces the Wireless Client to try to work with the page. This means that the page received after an xform submit has to be another xform. Is there any way to force the plugin to always use the http protocol, so that the page loaded after a submission is not required to be an xform?

    Thank you,

    Yuriy Zilbergleyt
    yzilbergleyt@mgbltd.com

  • RELEVANCY SCORE 2.40

    DB:2.40:Unable To Retrieve All Documents Of 'System' Folder With Get Command kf


    Hi

    I am using UPK Developer 3.6.1. I have installed client version on my machine (Windows 7) and I connect to UPK server placed in different geography. The problem I am facing is that I not able to retrieve all the documents of 'System' folder with GET command. I am getting error as "Not all documents were processed" and I get an activity log of this. For example
    of error:
    " *Data* (Type: Package) : There was a timeout connecting to the server. Please verify the server is running and retry to connect."

    I am able to retrieve some documents and not able to retrieve the other documents. I have run this 'Get' command numerous times and always same documents are not retrieved, like A file 'Data', type 'Package' I am not able to retrieve at all. While my other team members are able to retrieve the same file from server.

    Please help.

    DB:2.40:Unable To Retrieve All Documents Of 'System' Folder With Get Command kf

    Thanks Marc

    As I mentioned in my query that the UPK server is in different geography. I am also having a remote desktop connection(RDP) there and UPK client running on that RDP. In that UPK I am able to retrieve all the contents of System folder through 'Get' command. Can I copy the files retrieved from 'Get' command from RDP UPK (Client) and paste them in my local UPK (client). If yes can you please provide the name of files to be copied and their location?

    The only purpose behind this question is that I am unable to publish without the system folder files(on local UPK client) (but able to publish on RDP UPK Client) and I have some client specific formats in the system folder, that is why I want to retrieve the system folder files. Another point here is I am unable to retrieve some particular files every time I do 'Get' but other files I am able to retrieve with 'Get', is the connection speed the culprit behind it?

    Regards
    Prateek

  • RELEVANCY SCORE 2.40

    DB:2.40:Unable To Retrieve Health Data From Https://Vcserver:8443/Vws/Query/Health zp



    Hi.

    After the upgrade to vsphere virtual center, i've got an error in the vcenter service status:

    "Unable to retrieve health data from https://vcserver:8443/vws/Query/Health"

    Any help, please?

    Thanks.

    JJ Gonzalez.

    Thanks.

    JJ Gonzalez.

    DB:2.40:Unable To Retrieve Health Data From Https://Vcserver:8443/Vws/Query/Health zp


    In my case, the solution was easy. VMWARE SPHERE NOT SUPPORTED SINGLE LABEL DOMAINS and DOMAINS WITH UNDERSCORE IN THEIR NAMES. In my case (DOMAIN_LOCAL).

    Thanks.

    JJ Gonzalez.

  • RELEVANCY SCORE 2.40

    DB:2.40:Unable Te Retrieve Data From Bi Publisher. cd


    I established a successful connection to the database from BI Publisher. I have created Data Model Data Set too. After clicking View link its shows nothing. (I haven't define a template). But it has to show the XML Data. Its shows nothing.

    Can anyone help me.

    DB:2.40:Unable Te Retrieve Data From Bi Publisher. cd

    Before to define template. It has to show the XML Report what i have selected from the database.

  • RELEVANCY SCORE 2.40

    DB:2.40:How Do I Retrieve Data From My External Hard Drive? k7


    how do i retrieve data from my external hard drive?

    DB:2.40:How Do I Retrieve Data From My External Hard Drive? k7

    Data Recovery from an external drive is possbile try to find any good recovery software from the forum or check these below given software. Stellar Phoenix Mac Data Rescue
    Disk Utility
    Disk Warrior
    Drive Genius
    File Recovery for Mac
    TechTool
    R3Cover FileSalvage

  • RELEVANCY SCORE 2.40

    DB:2.40:How To Write A Package Variable Back Into The Database jd


    I want to extract data from a table after a certain date, and then store the date so I don'treprocess the same data. I've created a package variable which is stored via package configuration in the database but have been unable to update it from the package. So myquestion is"How to write a package variable back into the database".

    DB:2.40:How To Write A Package Variable Back Into The Database jd

    You could save the entire query to a variable and then use this variable as the SQL Query.make this variable configurable, so before runnig the pcakge change the variable.Or if you want to create the query dynamically in the packageduring the run time you could do that using expressions to set the variable.Now use this variable in the execute sql task. Change the Source type to Variable and map the above query variable to it.for furhter help tell us about the logic behind the process. where do u get the source column and the values from or other details.Hope this helps !!
    Sudeep     
    My Blog

  • RELEVANCY SCORE 2.40

    DB:2.40:Re: Unable To Retrieve Data From Xml Type s7


    I think dbms_metadata will fullfil ur requirement

    hav a look at this

    http://psoug.org/reference/dbms_metadata.html

  • RELEVANCY SCORE 2.40

    DB:2.40:Unable To Retrieve Data From A Nested Table In Oracle 8i From Jsp zm


    How do i retrieve data from a nested table in Oracle 8i from my JSP code?

    When i try to execute the query , a general error is thrown.

    Kindly advice as soon as possible.

    DB:2.40:Unable To Retrieve Data From A Nested Table In Oracle 8i From Jsp zm

    How do i retrieve data from a nested table in Oracle 8i from my JSP code?

    When i try to execute the query , a general error is thrown.

    Kindly advice as soon as possible.

  • RELEVANCY SCORE 2.40

    DB:2.40:Unable To Retrieve Data From Workflow xd


    Hello Experts,

    I need to show the data from workflow in notification email of Process Control, I am pulling the data from workflow container but its not showing in the email. I can see the data in Workflow container but not in email.

    Kindly throw some ideas on it.

    Thanks.

    DB:2.40:Unable To Retrieve Data From Workflow xd


    Hi Harinam,

    Thanks for the documents and links but i need to show some data in the content like control name and organisation name which am unable to show in the content.

    Am using variable like syst-mandt (it retrieves the client name so no issues) but when am using variables from database/screeen element then it is not showing in the content.

    Any ideas how to do it or am missing anything?

    Thanks,

    Mohammed.

  • RELEVANCY SCORE 2.40

    DB:2.40:Due Maintenance Package Field sx



    Dear friends ,

    I need to develop a report (similar to shop paper)where I need to pick up the due maintenance package field PACKS. I couldnt find any table from where I can extract the data nor any function module. Kindly suggest if there any options to retrieve the data.

    best regds

    Arun

    DB:2.40:Due Maintenance Package Field sx


    Thank you ,

    I could manage the reporting requirement by passing parameters through MHIS,MPLA,T351P table .

    best regds

    Arun

  • RELEVANCY SCORE 2.40

    DB:2.40:Get Values From Form Stored In A Package In Wf fx


    I need to get the value of a particular field in a Forms Builder form (xform) that is stored as a package in a workflow. How can I accomplish this? Using IDctmFormService? Need sample code please. Using 5.3 SP4. Thanks,-AB

    DB:2.40:Get Values From Form Stored In A Package In Wf fx

    Hi, The instance of a Form Template (used in the Package of a WF) has ALL its fields as XML Content, assuming you have saved the Form Template as XML Content. Hence all you need to do is to get the contents of the Form Template instance as XML, parse the XML using DOM and retrieve the desired node values. Here is a sample where I extract some Date Valuespublic class ProcessMyDocument implements IDocbaseDocumentProcessor
    {

    public ProcessMyocument()
    {
    }

    public Document execute(Document document, DocbaseXFormsContext docbasexformscontext)
    throws AdaptorException
    {
    IDfSessionManager idfsessionmanager = null;
    String sDocbase = "";
    IDfSession idfsession = null;
    try
    {
    idfsessionmanager = docbasexformscontext.getSessionManager();
    sDocbase = docbasexformscontext.getDocbaseName();
    idfsession = idfsessionmanager.getSession(sDocbase);
    int rVal = chkIssuedAndEffectiveDates(document);
    }
    catch(DfException dfe)
    {
    throw new AdaptorException(dfe);
    }
    finally {
    if(idfsession != null) idfsessionmanager.release(idfsession);
    }
    return document;
    }

    private int chkIssuedAndEffectiveDates(Document doc) throws AdaptorException
    {
    int i = 0, rVal = 0;
    boolean bChecked = false;
    String s1 = "";
    NodeList nodelist = null;
    Node node = null;
    long period = 0;
    IDfTime today = null, dt1 = null, dt2 = null;
    StringBuffer buff = new StringBuffer(512);

    today = new DfTime();
    node = doc.getChildNodes().item(0); // Form Node
    nodelist = node.getChildNodes();

    for (i = 0; i nodelist.getLength(); i++) {
    s1 = nodelist.item(i).getNodeName();
    if(s1.equalsIgnoreCase("DATAGROUP1")) {
    dt1 = getDateTimeValue(nodelist.item(i), "DTISSUED_DATE");
    }
    }

    return rVal;
    }


    private IDfTime getDateTimeValue(Node node, String sName)
    {
    IDfTime dt = null;
    String s1 = "";
    int i = 0;
    IDfClientX clientx = new DfClientX();
    NodeList nodelist1 = null, nodelist2 = null;
    Node node1 = null;

    nodelist1 = node.getChildNodes();
    for (i = 0; i nodelist1.getLength(); i++) {
    node1 = nodelist1.item(i);
    s1 = node1.getNodeName().toUpperCase();
    if(s1.equalsIgnoreCase(sName)) {
    nodelist2 = node1.getChildNodes();
    if( (nodelist2 == null) || (nodelist2.getLength() == 0) ) return dt; // Null Date
    s1 = nodelist2.item(0).getNodeValue();
    // Change the Time Pattern
    s1 = s1.substring(5,7) + "/" + s1.substring(8,10) + "/" + s1.substring(0,4) ;// No Time Part + " " + s1.substring(11);
    dt = clientx.getTime(s1, "mm/dd/yyyy");
    }
    }
    return dt;
    }

    public void init(IAdaptorConfiguration iadaptorconfiguration) throws AdaptorException
    {

    }

    public void destroy() throws AdaptorException
    {

    }

    }
    Raj

  • RELEVANCY SCORE 2.40

    DB:2.40:Cannot Retrieve Data From Motorola E398 9j


    hi there,

    I'm trying to get data printed out by my servlet.This data will be displayed on my J2ME application form.However, i'm unable to retrieve this information.

    I tried it on Nokia handphones and it works perfectly fine. Is it becos of my codings or just the network configuration?

    I need ure comments urgently.

    DB:2.40:Cannot Retrieve Data From Motorola E398 9j

    hi there,

    I'm trying to get data printed out by my servlet.This data will be displayed on my J2ME application form.However, i'm unable to retrieve this information.

    I tried it on Nokia handphones and it works perfectly fine. Is it becos of my codings or just the network configuration?

    I need ure comments urgently.

  • RELEVANCY SCORE 2.40

    DB:2.40:How To Get Control Of A Field On A Form Designed In Forms Builder In The Xform Component Class. 9a



    Hi,

    We want to fetch the control of a field on a form designed using Forms Builder in the Xform Component class. We want to retrieve the data stored in this form field and set new value in the field. We tried achieving this with following code in our Xform Component class:

    XFormsTextArea testDD =

    null;
    testDD = (XFormsTextArea)getControl(

    "subject", XFormsTextArea.class);
    System.

    out.println("text box value .... "+testDD.getValue());
    System.

    out.println("testdd value: "+testDD);
    System.

    out.println("element name ..."+testDD.getElementName());
    System.

    out.println("name......"+testDD.getName());

    This was the output of this code:

    text box value .... null (although the "subject" had some default value.)

    testdd value: name: subject, type: com.documentum.web.formext.control.xforms.xformscontrol.XFormsTextArea, element-name: body_subject_0 form-name: body, form-type: com.kfmc.CustomXFormsComponent

    element name ...body_subject_0

    name......subject

    Please tell us how to retrieve the value of this control("subject") and set a new value in this control inside our Xform Component class.

    DB:2.40:How To Get Control Of A Field On A Form Designed In Forms Builder In The Xform Component Class. 9a


    Hi,

    We want to fetch the control of a field on a form designed using Forms Builder in the Xform Component class. We want to retrieve the data stored in this form field and set new value in the field. We tried achieving this with following code in our Xform Component class:

    XFormsTextArea testDD =

    null;
    testDD = (XFormsTextArea)getControl(

    "subject", XFormsTextArea.class);
    System.

    out.println("text box value .... "+testDD.getValue());
    System.

    out.println("testdd value: "+testDD);
    System.

    out.println("element name ..."+testDD.getElementName());
    System.

    out.println("name......"+testDD.getName());

    This was the output of this code:

    text box value .... null (although the "subject" had some default value.)

    testdd value: name: subject, type: com.documentum.web.formext.control.xforms.xformscontrol.XFormsTextArea, element-name: body_subject_0 form-name: body, form-type: com.kfmc.CustomXFormsComponent

    element name ...body_subject_0

    name......subject

    Please tell us how to retrieve the value of this control("subject") and set a new value in this control inside our Xform Component class.

  • RELEVANCY SCORE 2.40

    DB:2.40:Dcnm-Lan Client 6.1(2) Unable To Retrieve Data From Dcnm Server m7



    DCNM-LAN Client 6.1(2) Unable to Retrieve Data From DCNM Server

    Hi Guys,

    Need really your help right now.

    I have a DCNM 6.1(2) successfully installed on a RedHat Server.

    I also have installed DCNM-LAN client 6.1(2) on my laptop with JRE 1.6.0_31.

    That problem that i'm encountering is that on the DCNM-LAN client, I was not able to retrieve the devices already discovered by the DCNM Server.

    I'll be attaching screen shots for your reference.

    Thanks,

    GIN

    DB:2.40:Dcnm-Lan Client 6.1(2) Unable To Retrieve Data From Dcnm Server m7


    Hi ecorominas,

        plz make sure your snmpv3 is correct! The related topic for your reference!

        https://supportforums.cisco.com/message/3858375#3858375

    Regards

    Tira