SampleCode for MQnWLS -- Unresolved:'wlsmqXAQCF'

Hi,
          I try the Using MQSeries as a Transactional Resource Manager with Weblogic
          Server V. 1.0.
          When I excute the sample code: java MQClient t3://localhost:7001 "hihi"
          occurs some error-message.
          Have anybody know.... & how to fix....
          Thanks in advance.
          Best Regards,
          Arch.
          ** [My Client Side Error Message]
          java MQClient t3://localhost:7001 "hihi"
          sending: "hihi"
          Exception in thread "main" javax.naming.NameNotFoundException: Unable to
          resolve
          'wlsmqXAQCF' Resolved: '' Unresolved:'wlsmqXAQCF' ; remaining name
          'wlsmqXAQCF'
          <<no stack trace available>>
          --------------- nested within: ------------------
          weblogic.rmi.RemoteException: javax.naming.NameNotFoundException: Unable to
          reso
          lve 'wlsmqXAQCF' Resolved: '' Unresolved:'wlsmqXAQCF' ; remaining name
          'wlsmqXAQ
          CF'
          Start server side stack trace:
          javax.naming.NameNotFoundException: Unable to resolve 'wlsmqXAQCF' Resolved:
          Unresolved:'wlsmqXAQCF' ; remaining name 'wlsmqXAQCF'
          <<no stack trace available>>
          **[My Server-Side Error Message]
          <Notice> <WebLogicServer> <Started WebLogic Admin
          erver "myserver" for domain "mydomain" running in Production Mode>
          javax.naming.NameNotFoundException: Unable to resolve 'wlsmqXAQCF' Resolved:
          Unresolved:'wlsmqXAQCF' ; remaining name 'wlsmqXAQCF'
          <<no stack trace available>>
          

I suggest posting your question to the transaction newsgroup - as that is
          where this sample code rose out of.
          Also, keep in mind that WL now has supported built-in bridge code in 6.1SP3 and
          7.0.
          "A.H" wrote:
          > Hi,
          >
          > I add a classpath for jndi file(.bindings) and the new error message
          > change...
          >
          > But I fellow the sample guide step by step..
          >
          > --
          > Thanks and Best Regards,
          > Arch.
          >
          > ** [My Client Side Error Message]
          > -------------------------------------------------------------------------
          > C:\example>java MQClient t3://localhost:7001 "hihi"
          > sending: "hihi"
          > Exception in thread "main" java.lang.ClassCastException:
          > javax.naming.Reference
          > at MQSeriesHelperImpl$JMSObject.<init>(MQSeriesHelperImpl.java:229)
          > at MQSeriesHelperImpl.bridgeWLS2MQS(MQSeriesHelperImpl.java:122)
          > at MQSeriesHelperImpl_WLSkel.invoke(Unknown Source)
          > at
          > weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:298)
          > at
          > weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
          > a:267)
          > at
          > weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
          > .java:22)
          > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
          > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
          >
          > --------------- nested within: ------------------
          > weblogic.rmi.RemoteException: java.lang.ClassCastException:
          > javax.naming.Referen
          > ce
          >
          > Start server side stack trace:
          > java.lang.ClassCastException: javax.naming.Reference
          > at MQSeriesHelperImpl$JMSObject.<init>(MQSeriesHelperImpl.java:229)
          > at MQSeriesHelperImpl.bridgeWLS2MQS(MQSeriesHelperImpl.java:122)
          > at MQSeriesHelperImpl_WLSkel.invoke(Unknown Source)
          > at
          > weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:298)
          > at
          > weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
          > a:267)
          > at
          > weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
          > .java:22)
          > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
          > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
          >
          > --------------- nested within: ------------------
          > weblogic.rmi.RemoteException: java.lang.ClassCastException:
          > javax.naming.Referen
          > ce
          > - with nested exception:
          > [java.lang.ClassCastException: javax.naming.Reference]
          > at MQSeriesHelperImpl.bridgeWLS2MQS(MQSeriesHelperImpl.java:138)
          > at MQSeriesHelperImpl_WLSkel.invoke(Unknown Source)
          > at
          > weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:298)
          > at
          > weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
          > a:267)
          > at
          > weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
          > .java:22)
          > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
          > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
          > End server side stack trace
          >
          > - with nested exception:
          > [java.lang.ClassCastException: javax.naming.Reference
          >
          > Start server side stack trace:
          > java.lang.ClassCastException: javax.naming.Reference
          >         at MQSeriesHelperImpl$JMSObject.<init>(MQSeriesHelperImpl.java:229)
          >         at MQSeriesHelperImpl.bridgeWLS2MQS(MQSeriesHelperImpl.java:122)
          >         at MQSeriesHelperImpl_WLSkel.invoke(Unknown Source)
          >         at
          > weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:298)
          >         at
          > weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
          > a:267)
          >         at
          > weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
          > .java:22)
          >         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
          >         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
          > End  server side stack trace
          > ]
          > at
          > weblogic.rmi.internal.BasicOutboundRequest.sendReceive(BasicOutboundR
          > equest.java:85)
          > at
          > weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:135)
          > at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35)
          > at $Proxy1.bridgeWLS2MQS(Unknown Source)
          > at MQClient.main(MQClient.java:54)
          >
          > **[My Server-Side Error Message]
          > -------------------------------------------------------------------------
          > <Notice> <WebLogicServer> <Started WebLogic Admin S
          > erver "myserver" for domain "mydomain" running in Production Mode>
          > java.lang.ClassCastException: javax.naming.Reference
          > at MQSeriesHelperImpl$JMSObject.<init>(MQSeriesHelperImpl.java:229)
          > at MQSeriesHelperImpl.bridgeWLS2MQS(MQSeriesHelperImpl.java:122)
          > at MQSeriesHelperImpl_WLSkel.invoke(Unknown Source)
          > at
          > weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:298)
          > at
          > weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
          > a:267)
          > at
          > weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
          > .java:22)
          > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
          > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
          

Similar Messages

  • Unable to find the UK HP technical helpline for my unresolved problem with my HP Mini Notebook

    I am unable to find the UK HP technical helpline for my unresolved problem with my HP Mini Notebook, I seem to keep going round in circles on the web site. Can anyone please give me the UK HP technical helpline number.  My 'No Disk Error has not been resolved as yet.  Thank you if anyone can help. Jan

    Hi, Jan:
    Below is the telephone contact info you need...
    In-Warranty & Out-of-Warranty
    0207 660 0596
    (Only valid within the UK)
    Mon-Fri 8.30-18.00
    Sat 10.00-16.00
    (except for Bank Holidays)

  • Seeking help for an unresolved problem in the MHP forum

    Over in the discussion forum at the http://www.mhp.org webspace, in the "Getting Started With MHP Programming" section there is a thread named "How To Sign An App." where there are a lot of unanswered questions.
    Is there anyone here who could perhaps have a look at the questions there please?
    There used to be a man named Roger who was very knowledgeable about MHP in that forum and I have seen posts by him here in the past. I only know of him as Roger, so know of no other way to ask for his help than to hope that he is reading this posting. So, if Roger is reading this, could you possibly help please?
    William

    Hi Roger
    Thank you for replying.
    In the event Jon Piesing answered the question on 12 May.
    http://www.mhp.org/forum/forum.xml?forum=13&thread=106&msgid=266
    The answer was as follows.
    quote
    Right now app signing isn't used.
    If it was used, the idea was that broadcasters would have signing certificates not developers. Whoever put your application on air would be responsible for signing it.
    end quote
    That resolved the problem which had been raised as it was clear that an application developer does not need to obtain a certificate.
    William

  • SAP GUI for Java - Problem

    Hi!
    When I try to open a new mode in SAP GUI for Java (Release 7.10 rev 4 with Java Version 1.5.0_15-b04), I receive the following error:
    Error when starting "gmux server"!
    JniGmuxManager status = -1
    Has anybody got an idea how to fix this?
    Regards
    Thomas

    Hello Thomas,
    that could have many reasons like incomplete installation of SAP GUI for Java, unresolved dependencies (to dynamically linked libraries like C/C++ runtimes) etc.
    What platform?
    Is there any output on the console?
    I suggest to file a bugreport on http://service.sap.com/message and add a trace according to  [note 683960|https://service.sap.com/sap/support/notes/683960].
    Best regards
    Rolf-Martin

  • I can no longer run reports of my client computers

    RDC 3.2.2 I recently need to run some reports of all my client computers. First, I attempted to run report of several computers. It never got beyond "Waiting for report data", so, I attepted to do separate clients, one at a time. Same result. All users are upgraded to the current client. Users are on a 1000BaseT network. Thought it may be 10.5.6 update related, but not all of my users are on Leopard. I have testing a variety of different clinet configs and I cannot generate a report.

    Starting on May 29th, 2008, I noticed that some of the computers that have been added to ARD were showing up with their IP address as 0.0.0.0. Some of the systems could have reports done for them while other would not. At the time, out of 140 computers currently listed, only 120 returned reports.
    After troubleshooting I called Apple to attempt to figure out where this problem may reside. Apple indicated that the IP numbers would get zeroed out when another device takes over the IP address of the client computer. This made sense since we were setup via DHCP. They could not determine why the reporting was not functioning without further troubleshooting through Enterprise support. This would require funding to get additional support.
    On January 22nd, 2009 I called Apple support back and started the support via their Enterprise support. The technician asked if we were using spanning tree with our network switches. I verified with the network team that we are using multicast spanning tree for Semantic Ghost. The technician also asked that I set up ARD on another test computer to see if the problem occurs with that system as well.
    On February 5th I setup both a second system for ARD Admin and a test client computer. In Mid February I set up the SQL database used by ARD to be accessed but other applications, such as a PHP webpage. This would allow me to see what information was in the database without needing to use ARD admin.
    By March 5, I had completed my tests and determined that the information is still being lost using this second computer setup. Keep in mind that the test client computer had been turned off by mid February so its network IP number would be release for another device to use. A few days before I had created a second account on the test ARD admin computer and re-imported the original list of systems used when this test started. This second account did not have the ARD test client computer added into ARD admin. This would allow for reports to be collected for a few days on this system. I then went back to the original account for ARD admin on March 5 and attempted to run the report for the test client. In ARD admin I was not able to acquire any report information. I was, however, able to see the data using the PHP webpage I have created earlier.
    I called Apple back to continue troubleshooting this problem. Remember that we had paid for support for this problem, $199. The technician indicated that the case had been resolved and closed. I explained that the issue was not resolved and troubleshooting was still ongoing. The technician remained adamant that the case was resolved and would not open a new case for further support.
    I spoke with my Technical Director in regards to this. We both called Apple Enterprise support back to see if we could get further support for this unresolved issue. The technician did give us a bit of support, however, he continued to insist that we were adding the client computers in via IP and this was causing our problems. We explained exactly how we have been adding computers into ARD admin; by scanning them through our network and dragging them to the main list, not by adding them by direct IP. The technician then continued to be unclear as to how to go about correcting this situation of lost data. He indicated that when the client computer's IP was taken over by another device the only way to get the client to report again was to remove and re-add the client back in.
    According to the document "ARD 3.1 Admin Guide.pdf"; Chapter 8 page 104, in the section titled "Installing Software on Offline Computers", paragraph 2, it states "When the client comes online, it contacts the Task Server and notifies it of its network state and any setting changes (like a DHCP-assigned IP address change)." Even after reading this statement to the technician he still was not clear as to why the client computers did not update their IP information correctly (from their current 0.0.0.0 IP) when reconnected back to the network.
    Because information is continuing to become lost Apple Remote Desktop is not meeting the needs of our department and the community college for tracking the Macintosh hardware currently in use. It may take an extended time to retrieve requested information if this data does not get reported on in ARD admin. Currently, one of my coworkers is in the process of creating a whitepaper to include alternatives for asset management for the Macintosh community.

  • Report: ALV with example

    HI,
    do you have some samplecode for report with ALV Output ?
    do you have some information hot wo use ALV ?
    thx.
    Gordon

    Hi
      You can referece the sample code.
    TYPE-POOLS: slis.
    TYPES:
      BEGIN OF ty_test,
        name TYPE syuname,
        start_date TYPE sydate,
        end_date TYPE sydate,
      END OF ty_test.
    TYPES:
      ty_tb_test TYPE STANDARD TABLE OF ty_test.
    DATA:
      i_test TYPE ty_tb_test,
      w_test TYPE ty_test,
      i_fieldcat TYPE slis_t_fieldcat_alv,
      w_fieldcat TYPE LINE OF    slis_t_fieldcat_alv,
      i_header TYPE slis_t_listheader,
      w_header TYPE LINE OF slis_t_listheader.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME.
      PARAMETERS: name TYPE syuname,
                  start TYPE sydate,
                  end TYPE sydate.
    SELECTION-SCREEN END OF BLOCK b1.
    START-OF-SELECTION.
      PERFORM fill_data.
      PERFORM field_define.
      PERFORM display_alv.
    FORM fill_data.
      w_test-name = 'MBOORE'.
      w_test-start_date = '20080701'.
      w_test-end_date = '20080731'.
      APPEND w_test to i_test.
      CLEAR w_test.
      w_test-name = 'JDUFFY'.
      w_test-start_date = '20080715'.
      w_test-end_date = '20080810'.
      APPEND w_test to i_test.
      CLEAR w_test.
      w_test-name = 'JVNSOLD'.
      w_test-start_date = '20080601'.
      w_test-end_date = '20080720'.
      APPEND w_test to i_test.
      CLEAR w_test.
    ENDFORM.
    FORM field_define.
      w_fieldcat-fieldname = 'NAME'.
      w_fieldcat-seltext_l = 'name'.
      APPEND w_fieldcat TO i_fieldcat.
      CLEAR w_fieldcat.
      w_fieldcat-fieldname = 'START_DATE'.
      w_fieldcat-seltext_l = 'start_date'.
      APPEND w_fieldcat TO i_fieldcat.
      CLEAR w_fieldcat.
      w_fieldcat-fieldname = 'END_DATE'.
      w_fieldcat-seltext_l = 'end_date'.
      APPEND w_fieldcat TO i_fieldcat.
      CLEAR w_fieldcat.
    ENDFORM.
    FORM display_alv.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_callback_program                = sy-repid
          i_callback_top_of_page            = 'DISPLAY_HEADER'
          IT_FIELDCAT                       = i_fieldcat
        TABLES
          t_outtab                          = i_test
        EXCEPTIONS
          PROGRAM_ERROR                     = 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.
    ENDFORM.
    FORM display_header.
      w_header-typ = 'H'.
      w_header-info = 'This test case has been passed'.
      APPEND w_header TO i_header.
      CLEAR w_header.
      w_header-typ = 'S'.
      CONCATENATE 'Where User Name - ' name INTO w_header-info.
      APPEND w_header TO i_header.
      CLEAR w_header.
      w_header-typ = 'S'.
      CONCATENATE 'Start Date - ' start INTO w_header-info.
      APPEND w_header TO i_header.
      CLEAR w_header.
      w_header-typ = 'S'.
      CONCATENATE 'End Date - ' end INTO w_header-info.
      APPEND w_header TO i_header.
      CLEAR w_header.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
          it_list_commentary       = i_header
    *     I_LOGO                   =
    *     I_END_OF_LIST_GRID       =
    *     I_ALV_FORM               =
    ENDFORM.

  • How do you test your new laptops?

    To the gurus or people who have researched this question:  How do you test your new laptops?
    When you get a new laptop, what do you do to test it?
    My X1Carbon might arrive in a couple weeks, and reading about all the failures and DOAs is scary. So assuming mine is not simply DOA, how do you shake out the less obvious or more obscure problems?
    I did search for this info before posting. One other person asked the question, 
    >> Would appreciate advice re optimal set-up and what testing/diagnostics to do to determine if ther...
    but no one answered.

    With testing I start with the basics and work my way to the harder stuff.
    Inspect the external condition of the machine.
    Boot and enter the BIOS before Windows. Review settings then power off.
    Boot from Acronis True Image Home backup/recovery DVD and clone HDD or SSD and thus the factory image before it's ever booted to Windows.
    Boot to Windows and look carefully at the Lenovo factory image and try to get an understanding for the Lenovo software and why it is there.  This does not include the other software from Microsoft, Google, etc.
    Create Lenovo Factory Image DVD set with Rescue and Recovery.  Throw disk set in the box or put on the shelf in case the machine is ever re-sold.
    Test all of the ports - I test every port on the machine for my expected usage.  For instance, in the case of the X1 Carbon I would confirm the mini DisplayPort connection works correctly with an external LCD panel.  If the machine had a IEEE firewire port or something, test that.  Test the USB 3.0 ports with a known working external external enclosure and verify transfer speeds.
    Test the SSD speed with CrystalDiskMark, ATTO and AS Disk Benchmark software to get a good overview of the performance.
    Install HWiNFO and look carefully at the components.  Observe turbo boosting, thermals and fan RPM over the course of a few days for battery and AC power.
    Do at least one full battery discharge and recharge.  Observe the cycle and details are being properly displayed and recorded in Lenovo Power Manager.
    Download all software and drivers from support.lenovo.com for the model being tested.  Confirm visually you have all the core components needed.  Core includes the drivers, power management driver, Power Manager, hotkeys, etc.
    Flatten the machine and install Windows or Linux from scratch.  Install drivers and software.
    Re-test ports and confirm the machine is working properly.
    Benchmark the SSD again.  Confirm no change.
    Install HWiNFO and confirm turbo, thermals and fan speeds are still proper.
    Install core applications and test them.  There may be core features in Windows that also need to be installed and tested.  For instance, Windows 8 Hyper-V for virtualization. 
    Connect any external devices you expect to use and test them.  For instance, video cameras, smartphones, mp3 players, digital cameras, printers, USB docks, etc.
    Do several battery tests with your typical applications and behavior.  The goal here is to simulate how the machine will be used in your day-to-day setting or travel scenarios.  I usually do at least three tests.  This can be rather time consuming with long battery life machines so I get a lot of other testing out of the way first.
    By the time you get to this point, if you haven't hit any major roadblocks you'll start to have a good feel for the machine, and if it is going to be a keeper or not.  The assumption here is that during this timeframe you have been observing the screen, keyboard, and trackpad performance to see if it's to your liking.  The other assumption is that you are using the machine and applications in the scenarios you are purchasing it for.
    I don't run synthetic benchmarks.  I prefer to test a machine against the scenarios I expect to use it with.  I spend most of the first week making this assessment.  If any major hardware defects are present, the machine is automatically returned.  I do not repair machines just received.  No exceptions.
    Week 2 is for ironing out any minor issues and assessing if the machine meets the requirements for the scenarios it will support.  If it does, it is kept.  If it does not, it is returned.  This week includes subjective and objective input.  You have to weigh the pros and cons for a machine against your priorities. It is rare that a machine is perfect so you have to decide the ROI for the machine.  Service and Support must be considered so week two might include a call to support for any unresolved issues.  Don't discount the service you receive during this period.
    After week two, you are likely right on top of the last day to return a Lenovo machine.  The return period is 21 days from the invoice date (I believe), not the day the machine is received so make sure you are well aware of it.  After 21 days, the machine is yours for good unless you sell it.  Decision time.
    Good luck.

  • Call BEX-Query from VBA with BEX-automatic login?

    Hi,
    I'm trying to call a query from VBA. I have two problems/questions:
    1. Automatic login?
    I want to do an automatic login. I found this peace of code here, but I get an error:
    Public Function  LogonToYourBW()
    ' create Logon & RFC-Handle
    logonToBW = False ‘ clear connect Flag the flag can be used to find out if connected or not
        'load SAP functionality by opening BEX file ( use your installation path)
            Workbooks.Open (“c:\sappc\bw\sapbex.xla”)
        With Run("sapbex.xla!sapbexGetConnection") ‘ call the connection
           ' Set the params for Auto logon
           .client = “YOUR CLIENT NO”
           .user = “YOUR BW USER”
           .Password = “YOUR BW PWD” ‘ I recommend to create a dummy reporting user for this task
           .Language = “YOUR LANGUAGE YOU LIKE TO USE FOR QUERY DISPLAY ( i.E.  “EN”)”
           .SystemNumber = “YOUR SYSTEM NO” ‘
           .ApplicationServer = “YOUR SERVER Name OR IP-ADDRESS”
           .UseSAPLOgonIni = FALSE 'important for automatic connection
           .logon 0, True ‘ This will provide a dialog to appear
            If .IsConnected <> 1 Then
                .logon 0, False
                If .IsConnected <> 1 Then Exit Function
            Else
                Set g_oFunction = CreateObject("SAP.Functions")
                Set g_oFunction.Connection = g_oConnection
            End If
        End With
        Run "sapbex.xla!sapbexinitConnection" ‘ this will enable the connection you just created
        logonToBW = True
    End Function
    The error is by this row:
    Set g_oFunction.Connection = g_oConnection
    Object is needed! How is the g_oConnection-object defined?
    2. How can I pass values for the parameters from VBA?
    If I open the query usually from SAP-BEX-Toolbar, after selecting the query, I get a parameter mask, where I must put in a value. How can I this automatize from VBA? Has anybody a short samplecode for that?
    Thank you for your help
    Stefan
    [email protected]

    Peter and others:
    What I really want to do … is write a stand-alone application that I can run from windows scheduler … that queries our BW for sales data for certain items (in a tabular form) … and pulls that data into a VB recordset, or a .NET dataset … so that I can insert the rows into another database (SQL Server, or Access) … I already know how to do all the data movement to/from datasets and databases … I just cannot figure out how to programmatically grab this sales data from BW … our company has “workbooks” already set up that aggregate WW sales information by region (IE, there is a separate workbook for each region of the world) … I can manually go into the Excel interface, tell it which items to pull the sales info for, and it dumps the data into the worksheet (organized by customer, and then by cat #) …
    So, what I’d like to do is write an app that will pull data every week or so from the BW (from each region’s sales invoice detail “workbook”), and insert it into another database that we use for reporting other, non-sales, data.
    Thoughts on this ?  Is there another, non-BEx method that is better ?
    thanks !!

  • Sorting of nodes in a treeTable

    hi,
    i got a problem like that how to make sorting in JtreeTable model.the problem is i am passing i am constructin the JtreeTable model by passing DefaultMutableTreeNode object.which contains Nodename and value.I need to sort only by name.
    for example DefaultmutableTreeNode object contains nodename as B,D,F,T and nodevalue is 8,8,6,5
    i am displaying this in table as a two columns.
    nodename value
    --A               8
    B 8
    C 6
    +D               5
    I need sorting by nodenames.
    one importent thing is am constructing a wholedata in to a DefaultMutableTreeNode and i am passing to a TreeTable model.Any java swing expert please help me with a solution.
    samplecode:
    for example i am constructing the DefaulrmutableTreeNodeobject like this.
    data = new MainData(nodeName,nodevalue);
    l_childNode = new DefaultMutableTreeNode(data);
    l_childNode.setUserObject(data)
    l_rootNode.add(l_childNode);
    finally i am constructing a treeTable Model by using this l_rootNode.
    Please help me how can make soritng in the treeTable model.
    please post any similar examples..
    waiting for replay.

    Moin David,
    ja, die Sortierung wird tatsächlich z.Zt. nicht unterstützt:
    Hello @all,
    The SAP support has confirmed that sorting in grid with collapseLevel is not supported at this time.
    I've opened a new thread in the "SAP Business One Product Development Collaboration "-area.
    As I understand the chance of impementing this feature raises the more users support this request there.
    So I would like to invite you to answer this thread if you agree that the sorting feature should be implemented:
    Thanks!
    As a workaround I have added a new column in the SELECT (and DataTable and Grid). This column contains a "composite key" of the CollapseLevel-Cols PLUS(!) the failed sorting column and is named "Collapse4" in this example.
    U_Col04 was the column of the grid leafes where the sorting has failed before.
    The CollapseLevel must be incremented by 1:
    SELECT
    U_Col01 AS 'Collapse1',
    U_Col02 AS 'Collapse2',
    U_Col03 AS 'Collapse3',
    U_Col01 + '-' + U_Col02 + '-' + U_Col03 + '-' + U_Col04 AS 'Collapse4'
    FROM
    etc....
    There is nothing to expand in Collapse4 than always ONE row. But Collapse4 is sorted now.
    Roland
    Edited by: Roland Toschek on Sep 3, 2008 12:32 PM

  • Regarding At Selection-Screen On field

    Hi..
    When we wil use At Selection-Screen On <Field>
    and  At Selection-Screen On Radiobutton.
    What is the purpose of these events.
    I need samplecode for these events.
    Regards
    Sandeep.

    Hi Sandeep
    hope this will help you.
    REPORT zextest595 .
    *--- Radiobuttons
    PARAMETERS: p_up RADIOBUTTON GROUP a DEFAULT 'X' USER-COMMAND rb,
    p_list RADIOBUTTON GROUP a.
    PARAMETERS: p_pcfile LIKE rlgrap-filename OBLIGATORY DEFAULT 'C:\'
    MODIF ID ccc,
    p_pctype LIKE rlgrap-filetype OBLIGATORY DEFAULT 'ASC'
    MODIF ID ccc,
    p_unix LIKE rlgrap-filename OBLIGATORY DEFAULT '.\'
    MODIF ID ccc.
    PARAMETERS: p_dir LIKE rlgrap-filename OBLIGATORY DEFAULT '.'
    MODIF ID ddd,
    p_fp LIKE rlgrap-filename
    MODIF ID ddd.
    AT SELECTION-SCREEN
    AT SELECTION-SCREEN OUTPUT.
    IF p_up = 'X' .
    LOOP AT SCREEN.
    CASE screen-group1.
    WHEN 'CCC'.
    screen-input = 1. "Enable
    screen-invisible = 0. "Disable
    MODIFY SCREEN.
    WHEN 'DDD'.
    screen-input = 0.
    screen-invisible = 1.
    MODIFY SCREEN.
    ENDCASE.
    ENDLOOP.
    ENDIF.
    IF p_list = 'X'.
    LOOP AT SCREEN.
    CASE screen-group1.
    WHEN 'CCC'.
    screen-input = 0.
    screen-invisible = 1.
    MODIFY SCREEN.
    WHEN 'DDD'.
    screen-input = 1.
    screen-invisible = 0.
    MODIFY SCREEN.
    ENDCASE.
    ENDLOOP.
    ENDIF.

  • Re: Lumia 520 problems

    Topic: Mental & emotional harassment by Nokia Care of my City regarding lumia 520!
    I am Abhishek Rawat, residing at 101, Balaram Dey Street, Kolkata-700006, Mob:9XXXXXXXXX.
    I bought a Nokia Lumia 520(IMEI-358106053448414) on 8-8-2013, Bill No.- P/0813/00863 from Limton Pvt Limited-13 & 14 B.B.D Bag, Kolkata-700001, Mob: 9830111191
    2 Months ago i have given the mobile for Amber Software Update at Nokia Care near my house, Satya Telecare, 229 Chittaranjan Avenue, Kolkata - 700006 Mob:9831823566,9831313307.
    All was fine till 2 Days ago dated 17/12/13, my phone stopped taking charge then i went to a Nokia Care near my friend's home at 81A , S P Mukherjee Road, Kolkata-700026, Phone : 9831548088, they inspected my phone and after some time a guy came out and said my phone has been opened before and it is tampered, so your warranty is void!
    You will have to pay 1000rs repairing charge for it. As my phone is in new condition and in warranty, there is no question of repairing my phone outside Nokia Care, i m in a fix right now!
    I will be complaining to Consumer Forum(www.wbconsumers.gov.in) against Both the Nokia Care Centers (where i have given my phone for inspection) & also Nokia India that is you for allowing these dishonest offices of Nokia Care to fool and harass common people.
    Thanking You,
    Abhishek Rawat
    Kolkata- West Bengal
    +91-9XXXXXXXXX
    A Harassed-Nokia Fan.
    [Email address:[email protected]]
    [Phone model:Lumia 520]
    [IMEI:XXXXXXXXXXXXXXX]
    [Additional info:Windows 8 mobile, Amber updated]
    [Country:INDIA]
    [Language:English]
    Moderator's Note: Personal information provided in the post were removed as it's not advised to post such in a public forum.
    Attachments:
    WP_20130812_006.jpg ‏977 KB

    Apologies, but we strongly suggest contacting your local Nokia support for any unresolved issues concerning the device or for any unpleasant experience you had with the Care Center.
    http://www.nokia.com/in-en/support/contact/
    If possible, a visit to another Nokia Care Center to have the phone re-assessed is what we also advise.

  • Illustrator CS4 SDK on Apple OSX 10.6 Snowleopard and Xcode 3.2 howto

    I can't compile any of the samplecode from the current illustrator CS4 SDK
    ai_cs4_sdk_mac_367 on an Apple Mac with OSX 10.6 snow leopard (SL) and Xcode 3.2
    (see some errormessages at end)
    The documentation mentions Xcode 2.4.1.
    Is it possible at all to use this SDK 367 with snowleopard and Xcode 3.2 ?
    If not, then how do you plug-in writers update your illustrator plug-ins for working on Snowleopard ?
    thx, j.
    some of the errors I get while compiling the 'Tutorial' samplecode for "10.6|Debug|i386" are :
    ../../illustratorapi/illustrator/AIRaster.h:221: error: conflicting declaration 'typedef long unsigned int uint32'
    /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/Security.framework/Headers/cssmco nfig.h:69: error: 'uint32' has a previous declaration as 'typedef uint32_t uint32'
    AIPlatformFileDlgOpts::AIPlatformFileDlgOpts()
    ../../illustratorapi/illustrator/AIUser.h:381: error: extra qualification 'AIPlatformFileDlgOpts::' on member 'AIPlatformFileDlgOpts'
    /Applications/ai_cs4_sdk_mac_367/Adobe Illustrator CS4 SDK/samplecode/Tutorial/Resources/Tutorial.r:20:0 SysError 0 during open of "TutorialID.h".

    thanks mrwren, for your confirmation that you could compile the
    samples from ai_cs4_sdk_mac_367. I searched further and found e.g. the following fixes:
    sample: Tutorial
    1. AIRaster.h
    below #define BRAVO_TYPES:
    //typedef unsigned long uint32;//loj outcommented
    2. AIUser.h
    /*AIPlatformFileDlgOpts:: loj commented out*/ AIPlatformFileDlgOpts()
    : fCount(0), fFilters(NULL)
    3. TutorialID.h
    add the file Tutorial.h to the Groups&Files section of the Tutorial.xcodeproj window
    by dragging it from the finder into this Groups&Files section
    (The right click > "Add > Existing Files … " did not let me do this (file was gray although rwx-access))
    I compiled for "10.6 | release | i386" and the resulting plug-in Tutorial.aip
    did load well into AI CS4 14.0.0 and worked OK.
    sample: Annotator:
    changed project settings
    -Architectures > Base SDK : "/Developers/SDKs/MacOSX10.4u.sdk" changed to "Mac OSX 10.6"
    (I installed snowleopard without the optional 10.4 support)
    -Deployment > Mac OSX target : 10.4 changed to "Mac OSX 10.6"

  • OCCI Compile Error.. Please Help me....

    I'm Developing on the Compaq Tru64 Unix Version 5.1b
    I'm attempting to compile/link Oracle OCCI demo using Tru64 cxx with no success
    Compile error:
    cxx: Warning: /pdms_appl/oracle/product/rdbms/demo/occiObjects.h, line 119:
    function "oracle::occi::PObject::operator new(std::size_t, void *)"
    has no corresponding operator delete (to be called if an exception
    is thrown during initialization of an allocated object)
    void operator new(size_t size, void adctx);
    --------------^
    cxx: Warning: /pdms_appl/oracle/product/rdbms/demo/occiObjects.h, line 116:
    function "oracle::occi::PObject::operator new(std::size_t, const
    oracle::occi::Connection *, const std::string &, const char *)" has
    no corresponding operator delete (to be called if an exception is
    thrown during initialization of an allocated object)
    void operator new(size_t size, const Connection x,
    --------------^
    Runtime Error:
    PDMS_pdms.bitekic.co.kr:/pdms_appl/oracle/product/rdbms/demo> occipool
    resolve_symbols: loader error: dlopen: libocci.so.9.0: symbol "OCIPSetObjectPtrNull" unresolved

    I think you can ignore the compilation warnings.
    For the unresolved symbol error while running the OCCI app, can you try static linking of the application with libocci9.a & libclntst.a ? e.g :-
    make -f demo_rdbms.mk buildocci_static EXE=occipool OBJS=occipool.o
    Regards,
    Shankar

  • Reinstalling 10.3 w/ archiving - what is actually saved?

    In attempting another workaround for my unresolved issue detailed here:
    http://discussions.apple.com/thread.jspa?threadID=686263&tstart=0
    I was thinking of just re-installing 10.3 on my drive that just won't start as it seems to be missing 2 files, as detailed in VERBOSE mode at attempted startup:
    /system/library/frameworks/corefoundation.framework/versions/a/corefoundation
    /system/library/privateframeworks/netinfo.framework/versions/a/netinfo
    If I re-install 10.3 using the archive feature, will it preserve ALL my files including those on my DESKTOP? I have a bad habit of leaving folders on my desktop and not in the mac specific pictures/files/etc folders. The instructions say that all USER data will be preseved(presumably for easy migration back into a re-installed system) but was unsure if desktop files and info were user specific.
    At this time, I am in the middle of installing 10.3 on my new drive (over my 10.4) in an attempt to locate the two files, thinking that I may be able to copy these files back into the old 10.3 HD that won't startup properly.
    I know I'm kinda crazy (wife says just erase the darn drive - I've already recovered all the photos) but I'm compelled to find out what happened here and if those two files were the source of my problems to begin with. I'm also curious where the **** these two original files went.
    thanks again!
    Dave.
    g5   Mac OS X (10.3.9)  

    If you choose to preserve user and network data, everything in your home folder will be preserved, which includes the contents of the desktop; the complete list of items which are preserved and moved is available in this article.
    (16935)

  • Apple Discussion Forums: an important tech support resource

    There have been ongoing discussions within Apple regarding whether or not to continue supporting these discussion forums, specifically, the issue of continuing to employ live humans to monitor and moderate them. It seems to me that it would not be a significant drain on Apple Computer Inc.'s resources to employ 1-2 persons to comb this (very large) discussions site for significant unresolved issues having broad relevance to the Mac user community. Said issues could then be routed either to a small, forums-dedicated team of Apple engineers, or distributed to the larger second-tier support group such that each tech rep would only have to handle a few responses per week (or month, depending on the size of the available employee pool). The net benefits to Apple -- in terms of reduced number of tech support calls, a more-empowered, self-sufficient, and satisfied user base, and increased goodwill toward the company -- would, in my estimation, more than repay the salaries and efforts required to keep these discussion forums running efficiently and effectively. I believe Apple is savvy enough and responsible enough to know this; they have probably done the calculus. Perhaps, then, our most important task is to let the parent firm know that we use and value this resource. Hopefully, Apple managers will note and make the right decisions.

    withdrawn

Maybe you are looking for

  • Recurringly skips opening and closing of particular songs

    Dear me, this again proves why itunes is my least favorite part of owning a mac. I have been having this problem over several iterations of iTunes. When attempting to play certain songs, iTunes will skip several seconds of the opening or ending of pa

  • Replace XML is not working

    Hi, I'm trying to load some content into flash from an XML rss feed. I took the original code from gotoandlearn, and all I added was some buttons to make this content change. that is, when I click on a button, the xml has to be replaced for another o

  • Run time error occured

    when i  am trying to login to web appliaction designer i got the Run-time Error"91" "object Variable or with block Variable not set. please help me out to solve this. Regards Deepak

  • Itunes frozen.

    I need some help guys. Just updated Itunes for the new 7.7 update and now Itunes freezes when I connect my touch. Tried to install a older version of itunes, but then it said some crap about the libary being to old or something like that. what is wro

  • Practice question problem

    Hi, I have created a course with optional practice quizzes within it. The final test is a separate file and works fine. (Captivate 4 btw). The problem is the client wants the user to be able to keep trying the practice quizzes even if they got them c