Eclipse RCP and swing key accelerator

Hi,
I have a JTree inside a view and a popup message when you right click
on the tree.
I added a key accelerator to the menu and I see the shortcut on the menu but when I use the shortcut, nothing happens.
I believe the problem is SWT -> SWING issue but I don't have any idea
how to solve it.
Thanks in advance
Dekel

Java 'WebStart is (in principle) a fine distribution/deployment/update technology.
It covers smart versioning of jars/jvms.
Native user experience and Swing poses no problem.
I prefer Swing as one can construe one own controls in detail.
Both Eclipse RCP and Netbeans Platform have a very specific starting point.
Both come with a considerable amount of code.
In fact have a feasability study in the form of writing hello-worlds in both.
The unmentioned alternative, starting from scratch with Swing,
may have some benefits.

Similar Messages

  • Eclipse hangs and the JVM terminates in a Swing app incorporating JavaFX

    Hi everyone,
    I have a situation that is driving me nuts. I am developing a Swing based application which is incorporating some JavaFX components,mainly the TableView and a few layouts. I have wrapped all the javafx components into a common control for use application wide. I am also using an Eclipse plugin (Window Builder Pro) to layout the swing stuff.
    Now, my issue is, when I preview the JFrames and other components making use of the said simple custom control referred above, it only allows me to preview the JFrame once, there after Eclipse hangs and the JVM terminates.
    After some research, the most likely cause of this is that the reference to jfxrt.jar i have referenced in the project is loading some native dlls which can/should only be loaded once in the lifetime of a JVM. It looks like for some reason, my app is trying to load the native libs after it has already loaded them initially.
    The Application needs to be developed in Eclipse so netbeans is not an option.
    Am just getting started with maven, i don't have the know to build a project of this complexity with maven.
    Has any one encountered this issue and how did they walk around it?
    Any assistance would be greatly appreciated.

    After further digging around, the actual exception that causes the jvm to terminate is java.lang.UnsatisfiedLinkError due to an attempt to reload \JavaFX_2.0_SDK\rt\bin\mat.dll, anyone knows how to overcome this ?

  • Developing an Eclipse RCP Plugin Project with CE and NWDI

    Hallo,
    I want to know what's the best way to create an Eclipse RCP application and have the sources managed by the NWDI.
    My problem is that development components within a software component can only be plain java projects and not plugin projects. Now I can convert a plugin project to a development component but when I try to build this dc it fails because the needed libraries for this origin plugin project (Plug-In Dependencies) are not available because is it now just a plain java project.
    However I could create another dc with the needed libraries and add this dc as a required dc but then it is not the same as a standard plugin project and I don't know if that could create problems then.
    In case anybody knows how to solve this problems, please give me a hint.
    Fabian

    Hi,
    I fixed the java.lang.NoClassDefFoundError problem in the Eclipse 3.1 Plug-in: in the Run > Environment, set the CLASSPATH variable to the directory containing the target program's package hierarchy. Now the Trace program runs ok when invoked from the plug-in.
    However, when I repeated the same configuration in Eclipse 3.0.2, I got the following runtime error.
    Unhandled event loop exception
    Reason:
    com/sun/jdi/connect/VMStartException
    Isn't Eclipse 3.0.2 supposed to behave in the same way? Any help will be much appreciated!
    Sunny

  • Eclipse RCP Application, Plugins and Classloader

    Hi there,
    I'm currently evaluatin KODO within an eclipse RCP application.
    Anything went fine until I started to modularize my classes into
    different plugins.
    Background:
    ===========
    The application consists of a "main" plugin, a "basic persistence layer"
    plugin and an "additional persitent classes" plugin.
    "basic" contains anything for kodo connections and persistence managers
    and some general persitent classes
    "additional" introduces some applicationspecific persitent classes.
    the persistent classes of any plugin are registered using
    "kodo.PersistentClasses".
    I use "kodo.ClassResolver" to point to a class
    "MultiPluginClassResolver" which inherits from
    "MultiLoaderClassResolver" and has the classloader of each plugin
    registered.
    main depends on "basic" and "additional".
    Problem:
    ========
    Whenever I instaniate a PersistenceManager from within plugin "basic"
    kodo throws a ClassNotFoundException as shown below.
    de.bioassay.pla.assay.Assay is a class from plugin "additional"
    What am I missing?
    297 WARN [main] kodo.Runtime - java.lang.ClassNotFoundException:
    de.bioassay.pla.assay.Assay
    java.lang.ClassNotFoundException: de.bioassay.pla.assay.Assay
         at serp.util.MultiClassLoader.findClass(MultiClassLoader.java:230)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:242)
         at
    kodo.runtime.PersistenceManagerFactoryImpl.loadPersistentClasses(PersistenceManagerFactoryImpl.java:208)
         at
    kodo.runtime.PersistenceManagerFactoryImpl.getPersistenceManager(PersistenceManagerFactoryImpl.java:151)
         at
    kodo.runtime.PersistenceManagerFactoryImpl.getPersistenceManager(PersistenceManagerFactoryImpl.java:104)
         at
    kodo.runtime.PersistenceManagerFactoryImpl.getPersistenceManager(PersistenceManagerFactoryImpl.java:97)
    regards
    Markus

    Hi again.
    could solve the problem on my own:
    the "additional" plugin didn't have the jdo libraries within the
    runtime classpath. The solution was to export the jdo libraries from
    within the "base" plugin.
    regards
    Markus
    M. Stier schrieb:
    Problem:
    ========
    Whenever I instaniate a PersistenceManager from within plugin "basic"
    kodo throws a ClassNotFoundException as shown below.
    de.bioassay.pla.assay.Assay is a class from plugin "additional"
    What am I missing?

  • Buttons and enter key problem

    hello,
    there are a few projects of enterprise quality which I am developing in java swing. I found out through research that many or rather most people involved with java believe that swing is ready for enterprise class robust desktop applications.
    so I as the team leador am starting my new projects in java swing.
    I personally find that the amount of java libraries present provide a rich set of functionality and it gives big mussle power to the developers.
    I am only concerned about one problem which many of you might have solved.
    I find that I have to hit the space bar instead of enter key to fire an action. in languages like vb I can press enter key to fire the click events. specially in menu items I certainly don't expect my clients to press the spacebar. besides there are many people who are so used to the keyboard and enter key in particular that it will be hard or rather next to impossible to change their habbits.
    how can I make the menu items work with the enter key. I mean do I need to create the code for keypress events every time I also create an action performed method? or is there a way where I can do it without extra coding.
    it is just that I don't want to right extra code for enter key along with click events.
    one more important note.
    I am a blind person and I use the access bridge technology of java.
    so when I am involved in coding, I use the same.
    so may be my problem isn't a problem in the first place.
    kindly provide me some help
    thanks
    Krishnakant.

    The enter-key works on menu-items in all my applications. It did so since I started with java few years ago.
    Maybe some other problem (OS-specific) ?

  • Fatal errors using JavaFX ChoiceBox, Tooltip, Popup in Eclipse (RCP) View

    I'm using JavaFX within an Eclipse RCP application. Any JavaFX popup (ChoiceBox, Tooltip, etc..) within an eclipse view causes a fatal exception to occur when clicking on the popup. The popups do appear, but clicking on them causes the fatal error.
    I created a standalone JavaFX application to confirm that the Popups work fine in that environment. They do.
    I also created a standalone SWT-based application (outside of an RCP) that embeds the FXCanvas within an SWT shell and the problem doesn't occur there either.
    But when the Combo is contained in an FXCanvas within and RCP view, the fatal exception occurs.
    Has anybody else seen this behavior?
    I tried it with JavaFX 2.0.2, 2.1 b17, 2.1 b19 (all 32bit)
    I'm using JRE 6.0_30-b12 (32bit) on Windows 7 (64bit)
    My RCP target platform is based on eclipse 3.6 (galileo).
    Thanks!

    The problem is described in http://javafx-jira.kenai.com/browse/RT-20883. e(fx)clipse 0.0.14 (http://tomsondev.bestsolution.at/2012/05/29/efxclipse-0-0-14-released/) which I've just released fixes the problem. Unfortunately it does not work with 3.6 because I'm using OSGi API only available > 3.7.0

  • Set key accelerator for JComboBox

    Hi,
    I would like to set a key accelerator (Alt+...) for the list items of a non-editable JComboBox. Something like what you do for Buttons and check boxes with setMnemonic(). Is there a way to do it? I couldn't find anything.
    Regarsd,
    Plamen

    I'm not sure about being able to use the ALT key with a combo box, but once the box has focus, you can press a letter on the keyboard and the list will jump to the first item that begins with that letter. You may have already known about that, but I thought I'd throw it out there just in case.
    - Sheepy

  • Eclipse RCP Migration 3x to 4x

    I am migrating my eclipse RCP 3.4.2 application to Luna 4.2. I did below steps for that:
    1. imported source code in Luna and resolve all compilation error.
    2. updated plug in in plugin.xml
    able to make build but when started the application getting below error:
    !SESSION 2015-02-13 14:31:07.975 -----------------------------------------------
    eclipse.buildId=unknown
    java.version=1.7.0_51
    java.vendor=Oracle Corporation
    BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
    Framework arguments: -product com.mywells.edf.core.RWProduct
    Command-line arguments: -product com.mywells.edf.core.RWProduct -dev file:C:/Users/CANDVLPTP-1/workspace_tech_upgrade/.metadata/.plugins/org.eclipse.pde.core/NDUSA/dev.properties
    !ENTRY org.eclipse.ui.workbench 4 0 2015-02-13 14:31:10.175
    !MESSAGE FrameworkEvent ERROR
    !STACK 0
    org.osgi.framework.BundleException: Could not resolve module: org.eclipse.ui.workbench [4]
    Unresolved requirement: Import-Package: javax.annotation; version="1.0.0"
    at org.eclipse.osgi.container.Module.start(Module.java:434)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1561)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
    at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
    at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
    !ENTRY com.mywells.edf.plugin.iadc.reviewreports 4 0 2015-02-13 14:31:10.185
    !MESSAGE FrameworkEvent ERROR
    !STACK 0
    org.osgi.framework.BundleException: Could not resolve module: com.mywells.edf.plugin.iadc.reviewreports [9]
    Unresolved requirement: Require-Bundle: org.eclipse.ui
    -> Bundle-SymbolicName: org.eclipse.ui; bundle-version="3.106.0.v20140812-1751"; singleton:="true"
    org.eclipse.ui [14]
    Unresolved requirement: Require-Bundle: org.eclipse.ui.workbench; bundle-version="[3.105.0,4.0.0)"; visibility:="reexport"
    -> Bundle-SymbolicName: org.eclipse.ui.workbench; bundle-version="3.106.1.v20140827-1737"; singleton:="true"
    org.eclipse.ui.workbench [4]
    Unresolved requirement: Import-Package: javax.annotation; version="1.0.0"
    at org.eclipse.osgi.container.Module.start(Module.java:434)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1561)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
    at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
    at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
    !ENTRY org.eclipse.ui 4 0 2015-02-13 14:31:10.195
    !MESSAGE FrameworkEvent ERROR
    !STACK 0
    org.osgi.framework.BundleException: Could not resolve module: org.eclipse.ui [14]
    Unresolved requirement: Require-Bundle: org.eclipse.ui.workbench; bundle-version="[3.105.0,4.0.0)"; visibility:="reexport"
    -> Bundle-SymbolicName: org.eclipse.ui.workbench; bundle-version="3.106.1.v20140827-1737"; singleton:="true"
    org.eclipse.ui.workbench [4]
    Unresolved requirement: Import-Package: javax.annotation; version="1.0.0"
    at org.eclipse.osgi.container.Module.start(Module.java:434)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1561)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
    at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
    at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
    !ENTRY org.eclipse.ui.browser 4 0 2015-02-13 14:31:10.195
    !MESSAGE FrameworkEvent ERROR
    !STACK 0
    org.osgi.framework.BundleException: Could not resolve module: org.eclipse.ui.browser [78]
    Unresolved requirement: Require-Bundle: org.eclipse.ui; bundle-version="[3.6.0,4.0.0)"
    -> Bundle-SymbolicName: org.eclipse.ui; bundle-version="3.106.0.v20140812-1751"; singleton:="true"
    org.eclipse.ui [14]
    Unresolved requirement: Require-Bundle: org.eclipse.ui.workbench; bundle-version="[3.105.0,4.0.0)"; visibility:="reexport"
    -> Bundle-SymbolicName: org.eclipse.ui.workbench; bundle-version="3.106.1.v20140827-1737"; singleton:="true"
    org.eclipse.ui.workbench [4]
    Unresolved requirement: Import-Package: javax.annotation; version="1.0.0"
    at org.eclipse.osgi.container.Module.start(Module.java:434)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1561)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
    at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
    at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
    !ENTRY org.eclipse.core.databinding 4 0 2015-02-13 14:31:10.205
    !MESSAGE FrameworkEvent ERROR
    !STACK 0
    org.osgi.framework.BundleException: Could not resolve module: org.eclipse.core.databinding [80]
    Unresolved requirement: Require-Bundle: org.eclipse.core.databinding.observable; bundle-version="[1.3.0,2.0.0)"; visibility:="reexport"
    at org.eclipse.osgi.container.Module.start(Module.java:434)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1561)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
    at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
    at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
    !ENTRY com.mywells.edf.plugin.highfrequency 4 0 2015-02-13 14:31:10.215
    !MESSAGE FrameworkEvent ERROR
    !STACK 0
    org.osgi.framework.BundleException: Could not resolve module: com.mywells.edf.plugin.highfrequency [84]
    Unresolved requirement: Require-Bundle: org.eclipse.ui; bundle-version="3.106.0"
    -> Bundle-SymbolicName: org.eclipse.ui; bundle-version="3.106.0.v20140812-1751"; singleton:="true"
    org.eclipse.ui [14]
    Unresolved requirement: Require-Bundle: org.eclipse.ui.workbench; bundle-version="[3.105.0,4.0.0)"; visibility:="reexport"
    -> Bundle-SymbolicName: org.eclipse.ui.workbench; bundle-version="3.106.1.v20140827-1737"; singleton:="true"
    org.eclipse.ui.workbench [4]
    Unresolved requirement: Import-Package: javax.annotation; version="1.0.0"
    at org.eclipse.osgi.container.Module.start(Module.java:434)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1561)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
    at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
    at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
    !ENTRY com.mywells.edf.plugin.iadc.bha 4 0 2015-02-13 14:31:10.215
    !MESSAGE FrameworkEvent ERROR
    !STACK 0
    org.osgi.framework.BundleException: Could not resolve module: com.mywells.edf.plugin.iadc.bha [85]
    Unresolved requirement: Require-Bundle: org.eclipse.ui; bundle-version="3.106.0"
    -> Bundle-SymbolicName: org.eclipse.ui; bundle-version="3.106.0.v20140812-1751"; singleton:="true"
    org.eclipse.ui [14]
    Unresolved requirement: Require-Bundle: org.eclipse.ui.workbench; bundle-version="[3.105.0,4.0.0)"; visibility:="reexport"
    -> Bundle-SymbolicName: org.eclipse.ui.workbench; bundle-version="3.106.1.v20140827-1737"; singleton:="true"
    org.eclipse.ui.workbench [4]
    Unresolved requirement: Import-Package: javax.annotation; version="1.0.0"
    at org.eclipse.osgi.container.Module.start(Module.java:434)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1561)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
    at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
    at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
    !ENTRY com.mywells.edf.plugin.costcenter 4 0 2015-02-13 14:31:10.225
    !MESSAGE FrameworkEvent ERROR
    !STACK 0
    org.osgi.framework.BundleException: Could not resolve module: com.mywells.edf.plugin.costcenter [86]
    Unresolved requirement: Require-Bundle: org.eclipse.ui; bundle-version="3.106.0"
    -> Bundle-SymbolicName: org.eclipse.ui; bundle-version="3.106.0.v20140812-1751"; singleton:="true"
    org.eclipse.ui [14]
    Unresolved requirement: Require-Bundle: org.eclipse.ui.workbench; bundle-version="[3.105.0,4.0.0)"; visibility:="reexport"
    -> Bundle-SymbolicName: org.eclipse.ui.workbench; bundle-version="3.106.1.v20140827-1737"; singleton:="true"
    org.eclipse.ui.workbench [4]
    Unresolved requirement: Import-Package: javax.annotation; version="1.0.0"
    at org.eclipse.osgi.container.Module.start(Module.java:434)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1561)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
    at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
    at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
    !ENTRY com.mywells.edf.plugin.iadc.equipment 4 0 2015-02-13 14:31:10.235
    !MESSAGE FrameworkEvent ERROR
    !STACK 0
    org.osgi.framework.BundleException: Could not resolve module: com.mywells.edf.plugin.iadc.equipment [87]
    Unresolved requirement: Require-Bundle: org.eclipse.ui; bundle-version="3.106.0"
    -> Bundle-SymbolicName: org.eclipse.ui; bundle-version="3.106.0.v20140812-1751"; singleton:="true"
    org.eclipse.ui [14]
    Unresolved requirement: Require-Bundle: org.eclipse.ui.workbench; bundle-version="[3.105.0,4.0.0)"; visibility:="reexport"
    -> Bundle-SymbolicName: org.eclipse.ui.workbench; bundle-version="3.106.1.v20140827-1737"; singleton:="true"
    org.eclipse.ui.workbench [4]
    Unresolved requirement: Import-Package: javax.annotation; version="1.0.0"
    at org.eclipse.osgi.container.Module.start(Module.java:434)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1561)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
    at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
    at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
    Please let me know if you have some better steps for migrating 3.x to 4.x .or let me know how I can resolve this issue.

    hello, did you fix this problem already?

  • Eclipse RCP & RMI

    Hi,
    I might be considered a noob with these two technologies and I have a problem using RMI with my eclipse RCP app.
    Simple RMI server and client works fine, however if use eclipse rcp as the client, it hangs forever while "lookup".
    Simple Server Code:
    System.setSecurityManager(new RMISecurityManager());
    Registry registry = LocateRegistry.getRegistry("localhost", 1099);
    HelloImpl obj = new HelloImpl();
    registry.rebind("HelloServer", obj);Simple RCP Client Code: (executed in a job scheduled)
    System.setSecurityManager(new MySecurityManager());
    Registry registry = LocateRegistry.getRegistry("localhost", 1099);
    Hello obj = (Hello) registry.lookup("HelloServer");  //hangs here
    String message = obj.sayHello();MySecurityManager:
    public class MySecurityManager extends SecurityManager {
    public MySecurityManager() {}
    public void checkPermission() {}
    public void checkPermission(Permission perm) {}
    public void checkPermission(Permission perm, Object context) {}
    }Client code works fine if it is a simple application. The only difference to me was VM arguments and I added "codebase" and "policy" arguments but no change at all. (actually, rcp client already has stub file)
    Is there any specific configuration I need to adjust to make it work?
    Any help would be appreciated.
    Thx

    okay, it wasnt hanged, it throws an exception.my bad..
    java.lang.ClassCastException: HelloImpl_Stub
    So, I remove the stub file from Client and change codebase arg to
    -Djava.rmi.server.codebase=file:${workspace_loc:/RMIServer/bin}
    didnt work..
    Both classes are generated by same SDK (1.5). Client and server are running on same machine (local)
    someone claimns to have a solution in your forum here:
    http://www.genady.net/forum/viewtopic.php?t=205
    and another one here:
    http://forum.java.sun.com/thread.jspa?forumID=58&threadID=721143
    here is the new code:
    ClassLoader oldLoader = Thread.currentThread().getContextClassLoader();
    Thread.currentThread().setContextClassLoader(this.getClass().getClassLoader());
    System.setSecurityManager(new MySecurityManager());     
    Registry registry = LocateRegistry.getRegistry("localhost", 1099);
    Hello obj = (Hello) registry.lookup("HelloServer");
    String message = obj.sayHello();
    System.out.println(message);
    Thread.currentThread().setContextClassLoader(oldLoader);Still I get the same exception.

  • I am having troubles with 3 things: scrolling with my laptop mouse, controlling my laptops volume with F9 and F10 keys, and I can not copy and paste images.

    I am having troubles with 3 things: scrolling with my laptop mouse, controlling my laptops volume with F9 and F10 keys, and I can not copy and paste images.

    Hello,
    Try disabling graphics hardware acceleration. Since this feature was added to Firefox, it has gradually improved, but there still are a few glitches.
    You might need to restart Firefox in order for this to take effect, so save all work first (e.g., mail you are composing, online documents you're editing, etc.).
    Then perform these steps:
    *Click the orange Firefox button at the top left, then select the "Options" button, or, if there is no Firefox button at the top, go to Tools > Options.
    *In the Firefox options window click the ''Advanced'' tab, then select "General".
    *In the settings list, you should find the ''Use hardware acceleration when available'' checkbox. Uncheck this checkbox.
    *Now, restart Firefox and see if the problems persist.
    Additionally, please check for updates for your graphics driver by following the steps mentioned in the following Knowledge base articles:
    [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]]
    [[Upgrade your graphics drivers to use hardware acceleration and WebGL]]
    volume controls issues are windows, not firefox.
    How your copy and paste your image? from where to where

  • Extending CR4E using Eclipse RCP plugin's

    <p>Hi Sean,</p><p>I have not started checking this for myself, so this question is more theoretical.</p><p>I plan to customize and extend CR4E using Eclipse RCP plugin architecture. The two main requirements are to add a custom data-source type/provider to the report wizard, and to add a custom result-set wrapper for the said data-source. Other requiremnets may be more look&feel related.</p><p>Assuming licensing issues are met, I had a few questions.</p><p>1. Are there suitable extension points for this in CR4E</p><p>2. Given your current roadmap, is the api stable.</p><p>Thanks,</p><p>Nathaniel</p>

    <p>Unfortunately, developing against these extension points is not currently supported. We definitely plan to support building against these extension points in the future, but in the initial release this was just not in the timeframe. The extension points are likely to change in future releases and we didn&#39;t want to be bound to the initial definition released in version 1. I will keep you updated when this feature does become available. </p><p>Regards,<br />Sean Johnson (CR4E Product Manager) </p>

  • How to extending CR4E from Eclipse RCP plugin's

    Hi All,
    I want to create a eclipse RCP application which will extend CR4E and let me create my own wizards for data source customization.
    I read it from crystal report for eclipse 2.0 guide that RCP and CR4E support possible but please let me know how ? and is ther any material or sample for this? any where?
    Any related information will be highly appreciated.
    Regards,
    Sunil Kumar Sahoo.
    Sr. Software Engg.

    Dear Ted,
    I want to create one RCp application . which will invoke the custom plugins created by exteding eclipse extension pionts. Is it possiblle to invoke these eclipse plugins inside RCP applications. So that I can invoke my custom eclipse designer having custom data source and few more branding wizards ,inside RCP standalone application?
    If yes , Please kindly refer  how and which material describes this?
    your reply  will be hignly appreciated .
    Regards,
    Sunil Kumar Sahoo

  • Can I pilot SSL acceleration single subnet and exclude SSL acceleration on rest of network.

    I have a large WAAS deployment and would like test SSL acceleration on a single regional IP subnet pointing to the main Data Centre all in the same device group. The SSL feature seems to be either on/off per host/IP Address. I would like to do the rollout SSL acceleration in a phased manner if possible.                  

    Hi,
    Cisco WAAS has an option to create self-signed certificates and private keys/ Generate certificate signing request (Our own CA) or this can imported from existing certificate and key if we have them.
    When a connection is requested, the WAN optimization device in the data center splits the original SSL connection from the client to the SSL server into two SSL connections. To the client the connection appears as the SSL server, and to the SSL server it appears as the SSL client. To act as the SSL server, the data center WAN optimization device needs an authentication certificate for each SSL service it is optimizing. When the WAN optimization device intercepts a connection request from a client, it uses the SSL server IP address/domain name to associate the certificate with the client.
    You can refer below link for configuring the SSL and moreover you can view the white paper for example
    http://www.cisco.com/en/US/docs/app_ntwk_services/waas/waas/v501/configuration/guide/policy.html#wp1191888

  • BUG? JDev 10.1.3.1.0 on MacBook Pro - problem using space and delete keys

    Is anyone using JDev 10.1.3.1.0 production release on a Macbook Pro? I am experiencing problems using the delete and space keys. The delete key no longer seems to work at all when using any of the key bindings including Default MacOS X. Using the spacebar also seems to have a conflict with the code completion feature. I am finding that the code completion always pops up when the space bar is used and no space is inserted with the editor. The space bar only works when used in conjuction with the shift key. Can anyone verify if they are able to use these keys in JDeveloper 10.1.3.1.0 on a Macbook Pro?
    Thanks,
    Richard

    This was from the dmg file.
    I found that in Preferences | Accelerators, Completion Insight lists 'Space' as an accelerator, right after 'CommandAIC'. Removing that fixed the problem, but I still can't fix the Delete issue.
    The Delete action is assigned to the 'Delete' key, which is recognizes as the key combination fn-Delete. I tried to assign the Delete Previous Char to just the delete key, but pressing the Delete key while in the New Accelerator field is not recognized - it just pretends as if I had not pressed a key.
    I'm looking at the the file:
    jdevhome/system/oracle.jdeveloper.10.1.3.39.84/Default_macosx.kdf
    trying to find entries for Delete and they are not in there - is there some other place I should be looking?
    Thanks,
    --ee                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Job offering: Software Engineer (Java, Eclipse RCP) in domain of access networking [Ghent, Belgium]

    Excentis is looking for a Software Engineer (Java, Maven, Eclipse RCP, ...) to reinforce our software team! Discover the interesting domains of access network technologies (TCP/IP, DOCSIS, Wi-Fi) and network traffic generation/analyzing from a developer's perspective!
    Company website: https://www.excentis.com/
    Product website: https://www.excentis.com/products/byteblower/
    GUI showcase videos: https://www.youtube.com/user/ByteBlower
    Job offering (in Dutch): https://www.excentis.com/about-us/jobs/java-software-development-engineers-niveau-master
    Contact: jobs _at_ excentis _dot_ com
    Kind regards,
    Tim De Backer
    Software Engineer
    Excentis

    Sadly, the job description is only available in Dutch.
    I don't know whether being a Dutch speaker is really a prerequisite (all documentation and external communication is done in English anyway). The profile mentions it, but making a good impression may be well enough!
    Do note that we are looking for someone to come work at our Ghent office.
    Quick-and-dirty translation of the job offering (general info available on the site):
    Quote:
    You're responsible for designing and implementing software solutions for the telecommunications sector. Windows, Apple, Linux platforms as well as web-based technologies are used. You're (initial) focus will be on developing the user interface of the Java clients that control our network testing solutions and on the test report generation. You'll get in touch with databases such as MySQL and HSQLDB. You'll work with version control (subversion), build systems (Maven), continuous integration (Jenkins) and unit testing systems.
    Depending on the task at hand, you'll work with two our more people in a team. You'll be part of the software design process from the very start, you'll work with the project lead on things like planning and report your progress regularly.
    During your initial training you'll learn on (and get affinity with) state of the art telecommunications and networking technologies.
    Profile
    * You have a Master's degree in Computer Science Engineering or similar.
    * Job experience is a plus.
    * You're a problem solver with a critical mindset.
    * You have a strong interest in both software development and networking technologies.
    * You master at least one programming language, preferably Java.
    * Affinity with the Eclipse Rich Client Platform is a plus.
    * You are familiar with database technology.
    * You speak English and Dutch fluently.
    * You can provide technical support to customers
    * You're a team player.
    Offer
    * Excentis offers an interesting job in a dynamic and pleasant working environment that will bring you in touch with innovative technologies and will allow you to work in an international context.
    * Competitive salary with extra's such as pension plan, (additional) health care insurance, internet, etc..
    * Excentis offers internal and external trainings in both the problem domain and software engineering competences and technologies.

Maybe you are looking for

  • Connecting to an EJB using an standalone client

    I'm trying to connect to an ejb deployed on my Application server (not standalone). But i always get the exception: javax.naming.AuthenticationException: No such domain/application To make sure everyting was ok, i followed the recipe described in: ht

  • How to delete UWL expired Item.

    Hi, One of our user have this expired item(leave request) which he rejected but now the thing is that despite rejecting the leave request it is still present in his UWL. And when he clicks on the UWL item the detail screen that pops up shows blank ta

  • Client executed F.5E in Production run and told us no entries are

    Hi All, Issue: Client executed F.5E in Production run and told us no entries are generated. When they/i run 1.F.5D no error. 2.Initially when they run F.5E error is No postings can be created for company code 1000 Errors occur when determinig adjustm

  • How can activate the debug?

    Hi, Is it possible activate the debug mode in the Visual Composer? How can do it? Thanks in advance, Regards,

  • No PSA available

    Hi! I get the following error mesage when trying to execute a Data Transfer Process loading data from a data source (0EC_PCA_3) to a Datastore Object (ZPCA_O03): "No PSA table exists for DataSource 0EC_PCA_3 and source system ARDCLNT200" Do I need th