[JTree]Block event?

Hello,
I've got a problem. In fact, i have a JFrame with on the left a JTree and on the right some JEditorPane and 3 JButton (New, Save, Cancel).
When I clic on a JTree's Node, my JEditorPane are updated with desirated info.
|-------------------|------------------------------------|
| JTree             | |-------------------------|        |
|   - Node 1        | | JEditorPane1            |        |
|   - Node 2        | |-------------------------|        |
|   - Node 3        |                                    |
|   - Node 4        | |-------------------------|        |
|   - Node 5        | | JEditorPane2            |        |
|   - Node 6        | |-------------------------|        |
|                   |                                    |
|                   |                                    |
|                   |                                    |
|                   |                                    |
|                   |     |-----| |------| |--------|    |
|                   |     | New | | Save | | Cancel |    |
|                   |     |-----| |------| |--------|    |
|                   |                                    |
|-------------------|------------------------------------|I would like when i clic on JButton New, it is impossible to click on another Node in the Jtree: to block the Jtree or block event on Jtree.
I've tried tree.setEnabled(false) but my CellRenderer applied to the JTree disappears ...
I've also tried disableEvent(AWTEvent.ACTION_EVENT_MASK| AWTEvent.COMPONENT_EVENT_MASK|AWTEvent.CONTAINER_EVENT_MASK| AWTEvent.FOCUS_EVENT_MASK| AWTEvent.ITEM_EVENT_MASK| AWTEvent.KEY_EVENT_MASK| AWTEvent.MOUSE_EVENT_MASK) but it doesn't work.
If someone have a idea
ThanX !

Remove the key listeners?
JTree tree = new JTree();
for(KeyListener listener : tree.getKeyListeners()) {
    tree.removeKeyListener(listener);
}Another option would be to just do
tree.setFocasable(false);

Similar Messages

  • Blocking event for the particular component

    Dear All,
    If we opened the modal dialog, all the other components will be blocked. That means the events generated for those components will be consumed by the EventDispatchThread. But my requirement is blocking speciifc set of components (not all in jvm ). How can i do that. Please help me in this regard.
    Thanks and Regards
    V.S.Saravanan

    You understanding of modal dialogs is not true. This is done otherwise: when you invoke modal dialog to be shown, it's method is invoked, a new new event pump is created and run. This pump services only this dialog, while, since show method is still executing, main pump is fozen. So there is no "blocking of selected components" mechanism availble in that point.
    You may however try to use protected disableEvents method of Component to block events.

  • How to block JTree key event listeners

    I have a JToolbar I am managing keyboards events for (e.g. PageUp, PageDown, right, left, up, down). I also have a JTree in another panel. I have to use 'Alt + PageUp' instead of PageUp because, if I use 'PageUp' (without also using the Alt key), and, the JTree gets the focus, then the JTree will respond to 'PageUp' instead of my JToolbar.
    I have my key actions in a 'getKeystrokeActions()' method which I pass the JToolbar into so I tried passing the JTree to the same method. This doesn't quite do what I want as both components now respond to a 'PageUp' key event.
    There must be some way to tell the JTree not to handle key events but I can't seem to find it. Any help much appreciated.

    Remove the key listeners?
    JTree tree = new JTree();
    for(KeyListener listener : tree.getKeyListeners()) {
        tree.removeKeyListener(listener);
    }Another option would be to just do
    tree.setFocasable(false);

  • Open VI Reference blocks event loop

    Run the attached VI.  If you have the WORKS/DOESN'T WORK toggle in the WORKS position and hold down the HOLD ME button with the mouse, the ticking clock keeps on ticking.  If you let go of the mouse and toggle to the DOESN'T WORK positions then hold down the HOLD ME buttong with the mouse, the ticking clock stops ticking.  The problem seems to be that the Open VI Reference call either doesn't execute, hangs, or blocks for one reason or another.  The state of the event structure "Lock the front panel ..." is irrelevant, i.e. doesn't seem to affect behavior.
    Is this a known limitation of Labview?  Is there a workaround to enable a call to Open VI Reference when the mouse is down?

    > A "value change" event is when a value has
    changed, I mean has finished to change ; if you're still holding the
    button, its value hasn't finished to change yet and can not change if
    the mouse up happens when the pointer is outside the button, no ?
    Well, not really.  Value change shoule be when the event is called, by definition, i.e. the event structure should only be called,  process an event, if that event did happen.  I didn't ask for "value is half way changing", I asked for "value change".  In my original example the value has changed, as shown by the status field and boolean display.  Also, when the case structure with the VI Open Reference is disabled by the toggle the event structure finishes and goes on to the next event, the timeout, getting the clock to keep ticking.
    > If you change the even to a "mouse down?" event (the one in red) it works....
    It should, but  if the mouse moves out of the button and then it is released, one never gets a mouse up, which is needed to stop the action.  (Well, there may be ways to globally track mouse up and know that we last had a mouse down on that button, but now we're talking very cumbersome and error prone.)

  • SMQ2 - Queue blocked EVENT??

    Hi there,
    I am working on an SAP XI system and was wondering if anyone knows of a way to catch some sort of EVENT when a queue in SMQ2 gets "blocked"? I have looked for a Business Object but now luck......I know I can possible schedule a background job to "poll" the ARFCASTATE table I think? I think the table is something like that.....
    I have also tried to find a user exit / BADI / enhancement spot that I may be able to trigger my own event from.....but no luck yet.....
    Any ideas on how this could be done? I want to trigger a workflow when a queue gets blocked......
    Thanks for the help
    Lynton

    You can write your program using this FM QRFC_LOG_CHECK which will check the queue log. Trigger the event using FM SAP_WAPI_CREATE_EVENT or if you want to just to notify someone, the simple Use FM SO_NEW_DOCUMENT_SEND_API1,if there a specific queue log found. Schedule this report on a periodic basis.

  • JTree blocking popup from parent panel

    OK, I have a JPanel and I listen to its mouse events and put up a popup when a popup trigger is sent.
    I have a JTree on this JPanel and it doesn't pass the mouse events back to the panel apparently.
    Is there a straightforward way to pass these events back, or should I simply listen on both my panel AND the JTREE?

    hmm. Not sure, but at the end of your tree listener, try panel.dispatchEvent(yourEvent);

  • IPhone: Transparent view blocking event handling

    I have an OpenGL Es app. I put a transparent view on top used for overlay/HUD data. But it absorbs and blocks any events going to the main display. The docs say that a transparent view will not get touch events, but in theory then they should just be passed up the responder change so my original touch handlers should get them. But that doesn't happen. The moment I put on this view, the app ceases to accept ANY touch events (even the toolbar) and I have to quit.
    So, what gives?

    Doh! Another one for the pile of "gee, it works GREAT on the simulator but not on the device". Simple issues wrt differences in CPU power from the macbook vs. the Touch.
    Repeat after me: It is a SIMULATOR not an EMULATOR.

  • Cancel JTree selection event ?

    Hello,
    I have defined a user object in the DefaultMutableTreeNode that holds a flag for disabled nodes - Now I would like to cancel events from the user when this node is being selected, also I would like to make this node appear disabled.
    How should I do this with JTree embedded inside an applet ?
    Thank you,
    Maxim.

    My rough idea is, store your previous selection, when you get selection change event, check if the node is disabled, if so, set the selection back to previous selection. Also, you can implement TreeCellRender interface, make the node's background gray to let user feel it is disabled.

  • Cd rom has bad block event 7

    I keep gettinbg an event log error CDROM has a bad block, Error 7 and error 51 paging error.  Windows 7 freezes up.  Is my cd bad?  Is there anyway to restore the data on it.?

    Hi,
    I would like to know if other CD occurs the same issue.
    Usually this error is the result of a failing CD-ROM drive, or faulty media. You can try the following methods to troubleshoot the issue.
    Reinstall the device driver
    1. Restart your computer.
    2. Keep pressing F8 and then select Safe Mode.
    3. When booting in Safe Mode, go to Device Manage.
    4. Expand the "DVD/CD-ROM drives" item.
    5. Right click your CD-ROM device and choose Uninstall.
    6. Click OK to proceed.
    7. Restart your computer. The computer will automatically detect the
    device and install the driver.
    Remove the upper filter and lower filter values from the Registry
    1. Click the Start Button, type "regedit" (without quotation marks) in the Start Search box and then press ENTER.
    2. Navigate to the following key:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E965-E325-11CE-BFC1-08002BE10318}
    Note: This is the CD-ROM/DVD global class key.
    3. Right click the {36FC9E60-C465-11CF-8056-444553540000}  entry, choose "Export", select Desktop in the Save in box and type backup in File Name. Click Save.
    Note: The backup file is on the Desktop and named backup.reg. We can simply restore the registry by double-clicking the backup.reg file.
    4. Highlight this key {4D36E965-E325-11CE-BFC1-08002BE10318}, on the right pane, delete the upperfilter and lowerfilter entries if these strings are present.
    5. Restart your computer and check if the problem disappears.
    If the problem persists after trying all of the above methods but the CD can be read on other computer, it could be CD-ROM physically damaged. You need to contact
    the manufacture to fix the hardware issue.
    Best Regards,
    Niki
    Please remember to click "Mark as Answer" on the post that helps you, and to click "Unmark as Answer" if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • JTree Selection Events

    Hello,
    I like to initially expand a tree and select the first data item in it. It should then execute all events as it would when the user opens the tree with mouse clicks and selects a sub-item.
    This is my code:
    In the constuctor of the container of the tree control I do:
    public OperationSplitTreeSoftDist()
    initTree();
    fillTree();
    protected final void initTree()
    // setup tree renderers etc......
    // setup events
    setupTreeEvents();
    private void setupTreeEvents()
    mTree.addTreeSelectionListener(new TreeSelectionListener()
         public void valueChanged(TreeSelectionEvent e)
    System.out.println("Tree selection event received!");
    ....... // other things done here
    private void fillTree()
    ..... // executing sql query and filling resultset in tree
    mTree.expandRow(0);
    mTree.setSelectionRow(1);
    In the last two rows above I expand the root of the tree and select the first row of the expanded tree. This works fine but the EVENTS (TreeSelectionListener) are NOT fired! My implementation of the Selection Listener executes another query on a database server and fills the results in a table. This is only called AFTER mouse clicks, the programmatically selected first row does NOT fire selection events!!
    Is there any way of firing selection events PROGRAMMATICALLY??
    Many thanks for your help.
    Thomas

    You would laugh if I say it :)
    My code was throwing an Exception becoz of the index in substring function.
    To put in simple terms, careless programming. and my mind had gone for a walk...I wasn;t able to figure out where the problem lied :)
    anyways, let me know if you have problems with yoru code. I would like to know about it, and if possible..I will try solving it as well :)
    Sangeetha

  • How to block execution of event listeners

    Hi all,
    JDev version : 11.1.1.6
    My requirement is that I want to block all event listeners like ActionListeners, SelectionListeners, DisclosureListeners, RowDisclosure listeners when the screen is opened in readonly mode.
    I could block ActionListeners by disabling command links and command buttons etc.
    But there's no way to block SelectionListeners, DisclosureListeners, RowDisclosure listeners.
    So Is there any common code which can block all listeners?
    Or is there any EventController or something like that which will allow me to control event execution?

    I would have if it was just one screen.
    There are hundreds of screens.
    Anyways, can't I use any javascript to do this? There are some interfaces like EventListeners , classes like EventConsumer etc. Do none of them provide feature to block event listeners?

  • How to select node in JTree without firing event?

    I have got standard situation. JTree in the left panel, and several edit boxes in right panel. Certainly, I have TreeSelectionListener, which on every tree node selection shows corresponding model values in edit boxes.
    I'd like to implement next logic:
    1. Something was changed in any edit box in right panel. Model has been changed.
    2. User clicks on different node in tree.
    3. Dialog "Message was not saved. Save?" with Yes/No/Cancel buttons are shown.
    Yes/No buttons are easy to handle.
    Question is about Cancel. I'd like on Cancel button left all edit boxes in their present state (do not restore values from saved model) and select back node, which wasn't saved.
    Problem is next. If I select node by setSelectionPath or smth like that, but... JTree fires event and my listener receives onTreeItemSelected back, which checks that node wasn't saved and ......
    Who does have any idea, or have done similar tasks? How can I select node and do not allow tree fire event this time?
    Thanks in advance.

    First, as soon as the model changes (when editing any
    combo box) some flag will be set. Now the logic which
    updates the combo boxes will do it only on a change of
    the current node and (this is new) if the flag wasn't
    set. You should have some flag anyway because somehow
    you must determine when to show the dialog, shouldn't
    you?Yes, I have got this logic implemented. But it's only the half :)
    I know exactly when my model has been changed, but if it was changed, i'd like to ask user what to do next - svae/loose changes/cancel
    And on cancel i'd like to select last edited tree node and do not get event from tree at that moment.
    >
    Second way, prevent selecting a new node if that flag
    has been set. You could do this by subclassing
    DefaultTreeSelectionModel and overriding some methods
    (setSelectionPath() et al).Ok. I'll investigate this.
    >
    MichaelThanks.

  • Callback functions to handle events for a specific system build block

    I have two questions about customized event handling in Systembuild:
    1- The SystemBuild Utility "sysbldEvent" can bo used to specify additional actions for the "openblock" and "navigate" events. However, it will be applied to all systembuild blocks.
    Is there a way to limit its scope to a specific block or block type?
    This has been done for the Altia block (which is a customized UCB block) - a double-click will open a special dialog box. Is this feature implemented using publicly available systembuild features or there are other special features used?
    2- Is there any way to assign callbacks to other type of block events: copy, paste, etc ...
    Thanks.

    Farshid,
    There are a couple of options for creating custom dialogs/blocks.
    SysbldEvent can be used. As you noted it will generate and event for all the blocks. You can not generate an event only for a specific block. However the Xmath function has two values sent to it. One is the type of event (blockopen or navigate) and the blockId. You can use blockId together with SBA commands to find out which block generated the event. If it is a block that you are not interested in then return 0 and SystemBuild opens the normal dialog. If it is the right block then you can open your own dialog or perform what ever action is needed. Finally return a 0 if you want SystemBuild to still open the normal dialog, or you can return 1 and no dialog is opened.
    The Altia
    block is a custom block. It is a standard UserCode block that has been customized to have differnt default parameters and different icon. In the SystemBuild editor (not catalog browser) select a block and the go to Edit>New Custom Block. The custom block can a have a MathScript function associated with it that gets called when the block is created. For more information on custom blocks see chapter 18 of the SystemBuild Users Guide (Help>Search MATRIXx Bookshelf from Xmath).
    The final method is creating a component. For a component percent vars can remain internal or they can be available to the user. You can also provide a different set of parameters that are available to the user, and then provide equations for how they map to the internal percent vars. Information on Components is in Chapter 17 of the SystemBuild User's Guide.
    Carl L
    National Instruments

  • AddMouseListener disable events of bottom multiple non opaque JPanel

    Hi fellow developpers..
    I'm creating an application in which I'm using a JPanel containing multiple JPanel ( a layered system ) with some components laid on them. Everything works fine, events are properly traversing non opaque multiple JPanel, and I can access components of bottom most to top most JPanels.
    But when I'm adding MouseListeners on my non opaque JPanels, mouse events are no more going through them, only the top most one is receiving events.. my JPanels are still non opaque because I can see through them but mouse events are working as if they were opaque.
    Is there a trick to catch mouse events on non opaque JPanel without blocking event traversing ?
    Alexis.

    How about this?
             final ListView<Node> fileList = new ListView<Node>();
            fileList.getSelectionModel().selectedIndexProperty().addListener(new ChangeListener<Number>() {
                @Override
                public void changed(ObservableValue<? extends Number> observableValue, Number oldv, Number newv) {
                    if (newv.intValue() == 4) {
                        fileList.getSelectionModel().select(oldv.intValue());
            });

  • Issues With ADF-BC Business Events.

    Hi All,
    I was just trying out how ADF-BC business events works, so tried to create a small application based on scott.EMP table.
    In the EmpEO entity, created and published a new business event for employee creation.
    However, when I run the AM Tester to see how it works, I faced the 'Business Event Connection Configuration Invalid' error.
    The detailed log is as follows:
    [53] executeQueryForCollection ViewObject:EmpVO1, RowSet:EmpVO1
    [54] EmpVO1>#q computed SQLStmtBufLen: 204, actual=177, storing=207
    [55] SELECT EmpEO.EMPNO, EmpEO.ENAME, EmpEO.JOB, EmpEO.MGR, EmpEO.HIREDATE, EmpEO.SAL, EmpEO.COMM, EmpEO.DEPTNO FROM EMP EmpEO
    [56] ViewObject: [model.EmpVO]AppModule.EmpVO1 Created new QUERY statement
    [57] Bind params for ViewObject: [model.EmpVO]AppModule.EmpVO1
    [58] DBTransactionImpl.mDefaultSparseArrayThreshold is 20
    [59] **** refreshControl() for BindingContainer :AppModule_EmpVO1_0PageDef
    [60] *** DCDataControl.sync() called from :DCBindingContainer.refresh
    [61] **** refreshControl() for BindingContainer :AppModule_EmpVO1_0PageDef
    [62] *** DCDataControl.sync() called from :DCBindingContainer.refresh
    [63] INFO: No app def in BindingContext for: adfFacesContext
    [64] INFO: mDCRefMap lookup failed. Does the cpx have a dataControlUsages 'dc' entry? adfFacesContext
    [65] INFO: No app def in BindingContext for: adfFacesContext
    [66] INFO: mDCRefMap lookup failed. Does the cpx have a dataControlUsages 'dc' entry? adfFacesContext
    [67] DBG: beforeActionPerformed :javax_swing_JToolBara1_16
    [68] OracleSQLBuilder: SAVEPOINT 'BO_SP'
    [69] OracleSQLBuilder Executing, Lock 2 DML on: EMP (Insert)
    [70] INSERT buf EmpEO>#i SQLStmtBufLen: 210, actual=43
    [71] INSERT INTO EMP(EMPNO,ENAME) VALUES (:1,:2)
    [72] Insert binding param 1: 9116
    [73] Insert binding param 2: lk
    [74] Attempting to queue business event: model.EmpEO.EmpCreate
    [75] Successfully queued business event: EmpCreate
    [76] Attempting to raise business event: {http://model/events/edl/EmpEO}EmpCreate
    INFO: Looking for BusinessEventConnectionFactory
    INFO: Looking for EDN-DB JNDI configuration to create SAQRemoteBusinessEventConnectionFactory.
    *INFO: Unable to create SAQRemoteBusinessEventConnectionFactory: [jdbc/EDNSource or jdbc/EDNDataSource] undefined.*
    INFO: Looking for EDN-JMS JNDI configuration to create JMSRemoteBusinessEventConnectionFactory.
    *INFO: Unable to create JMSRemoteBusinessEventConnectionFactory: [java:comp/UserTransaction] undefined.*
    *INFO: Unable to create JMSRemoteBusinessEventConnectionFactory: [jms/fabric/EDNConnectionFactory] undefined.*
    INFO: Failed to get ConnectionFactory instance.
    [77] Batch Warning:Business Event Connection Configuration Invalid
    [78] * * * BindingContainer caching EXCEPTION:oracle.jbo.JboException
    [79] java.lang.NullPointerException
         at oracle.jbo.server.EventInvocation.raiseEvent(EventInvocation.java:513)
         at oracle.jbo.server.EntityImpl.raiseEvents(EntityImpl.java:7724)
         at oracle.jbo.server.EntityImpl.afterCommit(EntityImpl.java:7329)
         at oracle.jbo.server.DBTransactionImpl.doAfterCommit(DBTransactionImpl.java:2285)
         at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2176)
         at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2369)
         at oracle.adf.model.bc4j.DCJboDataControl.commitTransaction(DCJboDataControl.java:1608)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    [80] DCBindingContainer.reportException :oracle.jbo.JboException
    [81] oracle.jbo.JboException: Business Event Connection Configuration Invalid     
    at oracle.jbo.server.EventInvocation.raiseEvent(EventInvocation.java:521)
         at oracle.jbo.server.EntityImpl.raiseEvents(EntityImpl.java:7724)
         at oracle.jbo.server.EntityImpl.afterCommit(EntityImpl.java:7329)
         at oracle.jbo.server.DBTransactionImpl.doAfterCommit(DBTransactionImpl.java:2285)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    Caused by: java.lang.NullPointerException
         at oracle.jbo.server.EventInvocation.raiseEvent(EventInvocation.java:513)
         ... 40 more
    ## Detail 0 ##
    java.lang.NullPointerException
         at oracle.jbo.server.EventInvocation.raiseEvent(EventInvocation.java:513)
         at oracle.jbo.server.EntityImpl.raiseEvents(EntityImpl.java:7724)
         at oracle.jbo.server.EntityImpl.afterCommit(EntityImpl.java:7329)
         at oracle.jbo.server.DBTransactionImpl.doAfterCommit(DBTransactionImpl.java:2285)
         at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2176)
         at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2369)
         at oracle.adf.model.bc4j.DCJboDataControl.commitTransaction(DCJboDataControl.java:1608)
         at oracle.adf.model.binding.DCDataControl.callCommitTransaction(DCDataControl.java:1416)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    And when I tried to create a new employee from a JSF page, I get the following error:
    Target URL -- http://127.0.0.1:7101/BusinessEventsApplication-ViewController-context-root/faces/CreateEmployee.jspx
    <Utils> <buildFacesMessage> ADF: Adding the following JSF error message: oracle/fabric/blocks/event/BusinessEventConnectionFactory
    java.lang.NoClassDefFoundError: oracle/fabric/blocks/event/BusinessEventConnectionFactory
         at oracle.jbo.server.EventInvocation.raiseEvent(EventInvocation.java:513)
         at oracle.jbo.server.EntityImpl.raiseEvents(EntityImpl.java:7724)
         at oracle.jbo.server.EntityImpl.afterCommit(EntityImpl.java:7329)
         at oracle.jbo.server.DBTransactionImpl.doAfterCommit(DBTransactionImpl.java:2285)
         at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2176)
         at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2369)
         at oracle.adf.model.bc4j.DCJboDataControl.commitTransaction(DCJboDataControl.java:1608)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    Caused by: java.lang.ClassNotFoundException: oracle.fabric.blocks.event.BusinessEventConnectionFactory
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
         ... 65 more
    Could you please tell me what I am missing, as I cant find any documentation which says anything about these errors. I tried added 'SOA Runtime' library to both model and UI project but still it did not work out.

    This is the configuration of the global data source I created earlier when BE worked:
    EDNSource
    JNDI Name: jdbc/EDNSource
    URL: jdbc:oracle:thin:@localhost:1521:orcl
    Driver Class Name: oracle.jdbc.xa.client.OracleXADataSource
    user= DEV_SOAINFRA
    EDNDataSource
    JNDI Name: jdbc/EDNDataSource
    URL: jdbc:oracle:thin:@localhost:1521:orcl
    Driver Class Name: oracle.jdbc.xa.client.OracleXADataSource
    user= DEV_SOAINFRA
    So now to test local data sources, I deleted the above to data sources and created the following data source (non-XA) having configuration listed below:
    EDNSource
    JNDI Name: jdbc/EDNSource
    URL: jdbc:oracle:thin:@localhost:1521:orcl
    Driver Class Name: oracle.jdbc.OracleDriver
    user= DEV_SOAINFRA
    This is what happens when I raise the business event with EDNSource data source using non-XA data source with class 'oracle.jdbc.OracleDriver'
    Target URL -- http://127.0.0.1:7101/BusinessEventsApplication-ViewController-context-root/faces/CreateEmployee.jspx
    <JmsBusinessEventBusMessages> <warnUsingOldDatasoureNames> Couldn't find the required datasources, but found them via the old names. Please update your datasource configurations.
    <JmsBusinessEventBusMessages> <warnUsingGlobalDatasourecForLocal> Local Tx Datasource not found, using XA datasource. Please update your configuration.
    Looks like ENDSource is old name of the driver and the new name is EDNDataSource, so created a new data source with name EDNDataSource (after deleting previous data source EDNSource) with the following configuration:
    EDNDataSource
    JNDI Name: jdbc/EDNDataSource
    URL: jdbc:oracle:thin:@localhost:1521:orcl
    Driver Class Name: oracle.jdbc.OracleDriver
    user= DEV_SOAINFRA
    Target URL -- http://127.0.0.1:7101/BusinessEventsApplication-ViewController-context-root/faces/CreateEmployee.jspx
    <JmsBusinessEventBusMessages> <warnUsingGlobalDatasourecForLocal> Local Tx Datasource not found, using XA datasource. Please update your configuration.
    The warning still comes. Luckily, its just a warning and not an error. ;)

Maybe you are looking for

  • Product is not defined in Supplying plant in demo system

    Hi Experts, I am doing initial load in demo system. While doing Material transfer I am facing Product is not defined in supplying plant issue. Though I am transferring master data 1st time to the plants, how can i extend product to the supplying plan

  • Digital Signatures with Smart Cards

    Hi folks, It is my first time with digital signatures on R/3 system. I’m at customer that uses smart cards (hardware cryptography). We are doing the SAPCRYPTOLIB and front end installations. After finish these tasks, we need to implement the signatur

  • Multiple Flash Slideshows in Dreamweaver

    I am trying to put different slideshows on the different pages of my site but for some reason only one slide show shows up. I think it is because all of the images for the slideshows go in the same folder. Any ideas on how to get this to work?

  • Please Help this video will not play in firefox

    Hi every one I really need some help i can not get this video to play in firefox but it will play in internet explorer any help or insite would be great. http://expressadservices.com/altlogo3.html Thanks

  • Xrandr dual monitors not displaying correctly.

    When I use xrandr to try and run a dual monitor setup instead of having them mirror the screen turns into a mess of pixels. The mouse behaves correctly but I can no longer see windows or anything like that. I am using the radeon driver and OpenBox. A