Home » Eclipse Projects » Remote Application Platform (RAP) » RAP and JDBC
RAP and JDBC [message #47220] |
Mon, 17 September 2007 13:50 |
Eclipse User |
|
|
|
Originally posted by: abo.splitshade.de
Hi,
I wonder how i would best use JDBC together with RAP.
Should I implement the JDBC-Driver as a separate Bundle
which is shared among Users?
Or what would be the best practice for this?
Sincerely
Martin
|
|
|
Re: RAP and JDBC [message #47583 is a reply to message #47220] |
Tue, 18 September 2007 14:29 |
Eclipse User |
|
|
|
Originally posted by: rherrmann.innoopract.com
Hi Martin,
please see my comments below.
Cheers,
Rüdiger
Martin wrote:
> Hi,
>
> I wonder how i would best use JDBC together with RAP.
> Should I implement the JDBC-Driver as a separate Bundle
Is assume that you just want to package the driver jar into a plug-in
and not actually implement one as a plug-in;)
> which is shared among Users?
For the driver itself it shouldn't make a difference when accessed by
multiple threads.
> Or what would be the best practice for this?
A best practice highly depends on the use-case. If used by only one
plug-in I would tend to package the driver with that plug-in.
In other scenarios this may not be the best approach.
>
> Sincerely
> Martin
>
|
|
|
RAP M6 [message #47610 is a reply to message #47583] |
Tue, 18 September 2007 16:03 |
Eclipse User |
|
|
|
Originally posted by: blaumilch.gmx.ch
Hi,
I tried to update my RAP Environment by copying the new M6-Jars into
my plugin folder, but regrettebly eclipse is crashing since then...
Then I copied the files one after another and it comes out that this is
the bad guy:
org.eclipse.rap.ui_1.0.0.20070817-1525.jar
perhaps I misunderstood the principles of updating eclipse-plugins, but
the rap-update-site only provides M1... so I do it manually.
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::
I would be thankful for any idea !!!
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::
so long
Johannes
this is the log-file from my rap-workspace:
!ENTRY org.eclipse.osgi 4 0 2007-09-18 17:55:00.870
!MESSAGE An unexpected runtime error has occurred.
!STACK 0
java.lang.NullPointerException
at
org.eclipse.wst.server.core.internal.ResourceManager.isActiv eBundle(ResourceManager.java:319)
at
org.eclipse.wst.server.core.internal.ServerPlugin$1.bundleCh anged(ServerPlugin.java:272)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.d ispatchEvent(BundleContextImpl.java:1210)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventManager.java:195)
at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread .run(EventManager.java:297)
!ENTRY org.eclipse.wst.server.core 4 0 2007-09-18 17:55:01.090
!MESSAGE
!STACK 0
java.lang.NullPointerException
at
org.eclipse.wst.server.core.internal.ResourceManager.isActiv eBundle(ResourceManager.java:319)
at
org.eclipse.wst.server.core.internal.ServerPlugin$1.bundleCh anged(ServerPlugin.java:272)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.d ispatchEvent(BundleContextImpl.java:1210)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventManager.java:195)
at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread .run(EventManager.java:297)
!SESSION 2007-09-18 17:55:09.542
-----------------------------------------------
eclipse.buildId=I20070625-1500
java.version=1.5.0_04
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Command-line arguments: -os win32 -ws win32 -arch x86 -clean
!ENTRY org.eclipse.ui.workbench 2 0 2007-09-18 17:55:20.678
!MESSAGE A handler conflict occurred. This may disable some commands.
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2007-09-18 17:55:20.678
!MESSAGE Conflict for 'org.eclipse.ui.file.closePart':
HandlerActivation(commandId=org.eclipse.ui.file.closePart,
handler=org.eclipse.ui.internal.handlers.ClosePartHandler,
expression=,sourcePriority=0)
HandlerActivation(commandId=org.eclipse.ui.file.closePart,
handler=org.eclipse.ui.internal.handlers.ClosePartHandler@1b8119a,
expression=,sourcePriority=0)
!ENTRY org.eclipse.ui.workbench 2 0 2007-09-18 17:55:20.678
!MESSAGE A handler conflict occurred. This may disable some commands.
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2007-09-18 17:55:20.678
!MESSAGE Conflict for 'org.eclipse.ui.views.showView':
HandlerActivation(commandId=org.eclipse.ui.views.showView,
handler=org.eclipse.ui.handlers.ShowViewHandler@6147d9,
expression=,sourcePriority=0)
HandlerActivation(commandId=org.eclipse.ui.views.showView,
handler=org.eclipse.ui.handlers.ShowViewHandler,
expression=,sourcePriority=0)
!ENTRY org.eclipse.ui.workbench 2 0 2007-09-18 17:55:20.718
!MESSAGE A handler conflict occurred. This may disable some commands.
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2007-09-18 17:55:20.718
!MESSAGE Conflict for 'org.eclipse.ui.file.close':
HandlerActivation(commandId=org.eclipse.ui.file.close,
handler=org.eclipse.ui.internal.CloseEditorHandler,
expression=,sourcePriority=0)
HandlerActivation(commandId=org.eclipse.ui.file.close,
handler=org.eclipse.ui.internal.CloseEditorHandler,
expression=,sourcePriority=0)
!ENTRY org.eclipse.ui.workbench 2 0 2007-09-18 17:55:20.718
!MESSAGE A handler conflict occurred. This may disable some commands.
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2007-09-18 17:55:20.718
!MESSAGE Conflict for 'org.eclipse.ui.file.closeAll':
HandlerActivation(commandId=org.eclipse.ui.file.closeAll,
handler=org.eclipse.ui.internal.CloseAllHandler,
expression=,sourcePriority=0)
HandlerActivation(commandId=org.eclipse.ui.file.closeAll,
handler=org.eclipse.ui.internal.CloseAllHandler,
expression=,sourcePriority=0)
!ENTRY org.eclipse.ui.workbench 2 0 2007-09-18 17:55:20.728
!MESSAGE A handler conflict occurred. This may disable some commands.
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2007-09-18 17:55:20.728
!MESSAGE Conflict for 'org.eclipse.ui.file.closeOthers':
HandlerActivation(commandId=org.eclipse.ui.file.closeOthers,
handler=org.eclipse.ui.internal.CloseOthersHandler,
expression=,sourcePriority=0)
HandlerActivation(commandId=org.eclipse.ui.file.closeOthers,
handler=org.eclipse.ui.internal.CloseOthersHandler,
expression=,sourcePriority=0)
!ENTRY org.eclipse.ui.workbench 2 0 2007-09-18 17:55:20.728
!MESSAGE A handler conflict occurred. This may disable some commands.
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2007-09-18 17:55:20.728
!MESSAGE Conflict for 'org.eclipse.ui.window.nextEditor':
HandlerActivation(commandId=org.eclipse.ui.window.nextEditor ,
handler=org.eclipse.ui.internal.CycleEditorHandler:true,
expression=,sourcePriority=0)
HandlerActivation(commandId=org.eclipse.ui.window.nextEditor ,
handler=org.eclipse.ui.internal.CycleEditorHandler:true,
expression=,sourcePriority=0)
!ENTRY org.eclipse.ui.workbench 2 0 2007-09-18 17:55:20.728
!MESSAGE A handler conflict occurred. This may disable some commands.
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2007-09-18 17:55:20.728
!MESSAGE Conflict for 'org.eclipse.ui.window.previousEditor':
HandlerActivation(commandId=org.eclipse.ui.window.previousEd itor,
handler=org.eclipse.ui.internal.CycleEditorHandler:false,
expression=,sourcePriority=0)
HandlerActivation(commandId=org.eclipse.ui.window.previousEd itor,
handler=org.eclipse.ui.internal.CycleEditorHandler:false,
expression=,sourcePriority=0)
!ENTRY org.eclipse.ui.workbench 2 0 2007-09-18 17:55:20.728
!MESSAGE A handler conflict occurred. This may disable some commands.
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2007-09-18 17:55:20.728
!MESSAGE Conflict for 'org.eclipse.ui.window.nextView':
HandlerActivation(commandId=org.eclipse.ui.window.nextView,
handler=org.eclipse.ui.internal.CycleViewHandler:true,
expression=,sourcePriority=0)
HandlerActivation(commandId=org.eclipse.ui.window.nextView,
handler=org.eclipse.ui.internal.CycleViewHandler:true,
expression=,sourcePriority=0)
!ENTRY org.eclipse.ui.workbench 2 0 2007-09-18 17:55:20.738
!MESSAGE A handler conflict occurred. This may disable some commands.
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2007-09-18 17:55:20.738
!MESSAGE Conflict for 'org.eclipse.ui.window.previousView':
HandlerActivation(commandId=org.eclipse.ui.window.previousVi ew,
handler=org.eclipse.ui.internal.CycleViewHandler:false,
expression=,sourcePriority=0)
HandlerActivation(commandId=org.eclipse.ui.window.previousVi ew,
handler=org.eclipse.ui.internal.CycleViewHandler:false,
expression=,sourcePriority=0)
!ENTRY org.eclipse.ui.workbench 2 0 2007-09-18 17:55:20.738
!MESSAGE A handler conflict occurred. This may disable some commands.
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2007-09-18 17:55:20.738
!MESSAGE Conflict for 'org.eclipse.ui.window.nextPerspective':
HandlerActivation(commandId=org.eclipse.ui.window.nextPerspe ctive,
handler=org.eclipse.ui.internal.CyclePerspectiveHandler:true ,
expression=,sourcePriority=0)
HandlerActivation(commandId=org.eclipse.ui.window.nextPerspe ctive,
handler=org.eclipse.ui.internal.CyclePerspectiveHandler:true ,
expression=,sourcePriority=0)
!ENTRY org.eclipse.ui.workbench 2 0 2007-09-18 17:55:20.738
!MESSAGE A handler conflict occurred. This may disable some commands.
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2007-09-18 17:55:20.738
!MESSAGE Conflict for 'org.eclipse.ui.window.previousPerspective':
HandlerActivation(commandId=org.eclipse.ui.window.previousPe rspective,
handler=org.eclipse.ui.internal.CyclePerspectiveHandler:fals e,
expression=,sourcePriority=0)
HandlerActivation(commandId=org.eclipse.ui.window.previousPe rspective,
handler=org.eclipse.ui.internal.CyclePerspectiveHandler:fals e,
expression=,sourcePriority=0)
!ENTRY org.eclipse.ui.workbench 4 2 2007-09-18 17:55:21.960
!MESSAGE Problems occurred when invoking code from plug-in:
"org.eclipse.ui.workbench".
!STACK 0
java.lang.NullPointerException: You cannot parameterize a null parameter
at
org.eclipse.core.commands.Parameterization.<init>(Parameterization.java:76)
at org.eclipse.ui.internal.ShowViewMenu.getCommand(ShowViewMenu .java:300)
at org.eclipse.ui.internal.ShowViewMenu.<init>(ShowViewMenu.java:123)
at org.eclipse.ui.internal.FastViewBar.<init>(FastViewBar.java:209)
at
org.eclipse.ui.internal.WorkbenchWindow.createDefaultContent s(WorkbenchWindow.java:1062)
at
org.eclipse.ui.internal.WorkbenchWindowConfigurer.createDefa ultContents(WorkbenchWindowConfigurer.java:624)
at
org.eclipse.ui.application.WorkbenchWindowAdvisor.createWind owContents(WorkbenchWindowAdvisor.java:268)
at
org.eclipse.ui.internal.WorkbenchWindow.createContents(Workb enchWindow.java:974)
at org.eclipse.jface.window.Window.create(Window.java:426)
at
org.eclipse.ui.internal.Workbench$59.runWithException(Workbe nch.java:3319)
at
org.eclipse.ui.internal.StartupThreading$StartupRunnable.run (StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:123)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3659)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3296)
at
org.eclipse.ui.application.WorkbenchAdvisor.openWindows(Work benchAdvisor.java:797)
at
org.eclipse.ui.internal.Workbench$25.runWithException(Workbe nch.java:1342)
at
org.eclipse.ui.internal.StartupThreading$StartupRunnable.run (StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:123)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3659)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3296)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2309)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 19)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:289)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:461)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:106)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:153)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:106)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:76)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:363)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:176)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 504)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
at org.eclipse.equinox.launcher.Main.run(Main.java:1169)
|
|
|
Re: RAP M6 [message #47703 is a reply to message #47610] |
Tue, 18 September 2007 20:23 |
Eclipse User |
|
|
|
Originally posted by: rherrmann.innoopract.com
Hi Johannes,
the target platform downloads provided since M4 are *not* meant to be
installed into your Eclipse installation for exactly the reason you just
experienced. Sorry for that:(
Please follow the procedure described on the downloads page:
http://www.eclipse.org/rap/downloads.php
Cheers,
Rüdiger
Johannes Schmidt wrote:
> Hi,
> I tried to update my RAP Environment by copying the new M6-Jars into my
> plugin folder, but regrettebly eclipse is crashing since then...
>
> Then I copied the files one after another and it comes out that this is
> the bad guy:
>
> org.eclipse.rap.ui_1.0.0.20070817-1525.jar
>
> perhaps I misunderstood the principles of updating eclipse-plugins, but
> the rap-update-site only provides M1... so I do it manually.
>
> :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::
> I would be thankful for any idea !!!
> :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::
>
> so long
> Johannes
>
>
>
> this is the log-file from my rap-workspace:
>
> !ENTRY org.eclipse.osgi 4 0 2007-09-18 17:55:00.870
> !MESSAGE An unexpected runtime error has occurred.
> !STACK 0
> java.lang.NullPointerException
> at
> org.eclipse.wst.server.core.internal.ResourceManager.isActiv eBundle(ResourceManager.java:319)
>
> at
> org.eclipse.wst.server.core.internal.ServerPlugin$1.bundleCh anged(ServerPlugin.java:272)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.d ispatchEvent(BundleContextImpl.java:1210)
>
> at
> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventManager.java:195)
>
> at
> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread .run(EventManager.java:297)
>
>
> !ENTRY org.eclipse.wst.server.core 4 0 2007-09-18 17:55:01.090
> !MESSAGE
> !STACK 0
> java.lang.NullPointerException
> at
> org.eclipse.wst.server.core.internal.ResourceManager.isActiv eBundle(ResourceManager.java:319)
>
> at
> org.eclipse.wst.server.core.internal.ServerPlugin$1.bundleCh anged(ServerPlugin.java:272)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.d ispatchEvent(BundleContextImpl.java:1210)
>
> at
> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventManager.java:195)
>
> at
> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread .run(EventManager.java:297)
>
> !SESSION 2007-09-18 17:55:09.542
> -----------------------------------------------
> eclipse.buildId=I20070625-1500
> java.version=1.5.0_04
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
> Command-line arguments: -os win32 -ws win32 -arch x86 -clean
>
> !ENTRY org.eclipse.ui.workbench 2 0 2007-09-18 17:55:20.678
> !MESSAGE A handler conflict occurred. This may disable some commands.
> !SUBENTRY 1 org.eclipse.ui.workbench 2 0 2007-09-18 17:55:20.678
> !MESSAGE Conflict for 'org.eclipse.ui.file.closePart':
> HandlerActivation(commandId=org.eclipse.ui.file.closePart,
> handler=org.eclipse.ui.internal.handlers.ClosePartHandler,
> expression=,sourcePriority=0)
> HandlerActivation(commandId=org.eclipse.ui.file.closePart,
> handler=org.eclipse.ui.internal.handlers.ClosePartHandler@1b8119a,
> expression=,sourcePriority=0)
>
> !ENTRY org.eclipse.ui.workbench 2 0 2007-09-18 17:55:20.678
> !MESSAGE A handler conflict occurred. This may disable some commands.
> !SUBENTRY 1 org.eclipse.ui.workbench 2 0 2007-09-18 17:55:20.678
> !MESSAGE Conflict for 'org.eclipse.ui.views.showView':
> HandlerActivation(commandId=org.eclipse.ui.views.showView,
> handler=org.eclipse.ui.handlers.ShowViewHandler@6147d9,
> expression=,sourcePriority=0)
> HandlerActivation(commandId=org.eclipse.ui.views.showView,
> handler=org.eclipse.ui.handlers.ShowViewHandler,
> expression=,sourcePriority=0)
>
> !ENTRY org.eclipse.ui.workbench 2 0 2007-09-18 17:55:20.718
> !MESSAGE A handler conflict occurred. This may disable some commands.
> !SUBENTRY 1 org.eclipse.ui.workbench 2 0 2007-09-18 17:55:20.718
> !MESSAGE Conflict for 'org.eclipse.ui.file.close':
> HandlerActivation(commandId=org.eclipse.ui.file.close,
> handler=org.eclipse.ui.internal.CloseEditorHandler,
> expression=,sourcePriority=0)
> HandlerActivation(commandId=org.eclipse.ui.file.close,
> handler=org.eclipse.ui.internal.CloseEditorHandler,
> expression=,sourcePriority=0)
>
> !ENTRY org.eclipse.ui.workbench 2 0 2007-09-18 17:55:20.718
> !MESSAGE A handler conflict occurred. This may disable some commands.
> !SUBENTRY 1 org.eclipse.ui.workbench 2 0 2007-09-18 17:55:20.718
> !MESSAGE Conflict for 'org.eclipse.ui.file.closeAll':
> HandlerActivation(commandId=org.eclipse.ui.file.closeAll,
> handler=org.eclipse.ui.internal.CloseAllHandler,
> expression=,sourcePriority=0)
> HandlerActivation(commandId=org.eclipse.ui.file.closeAll,
> handler=org.eclipse.ui.internal.CloseAllHandler,
> expression=,sourcePriority=0)
>
> !ENTRY org.eclipse.ui.workbench 2 0 2007-09-18 17:55:20.728
> !MESSAGE A handler conflict occurred. This may disable some commands.
> !SUBENTRY 1 org.eclipse.ui.workbench 2 0 2007-09-18 17:55:20.728
> !MESSAGE Conflict for 'org.eclipse.ui.file.closeOthers':
> HandlerActivation(commandId=org.eclipse.ui.file.closeOthers,
> handler=org.eclipse.ui.internal.CloseOthersHandler,
> expression=,sourcePriority=0)
> HandlerActivation(commandId=org.eclipse.ui.file.closeOthers,
> handler=org.eclipse.ui.internal.CloseOthersHandler,
> expression=,sourcePriority=0)
>
> !ENTRY org.eclipse.ui.workbench 2 0 2007-09-18 17:55:20.728
> !MESSAGE A handler conflict occurred. This may disable some commands.
> !SUBENTRY 1 org.eclipse.ui.workbench 2 0 2007-09-18 17:55:20.728
> !MESSAGE Conflict for 'org.eclipse.ui.window.nextEditor':
> HandlerActivation(commandId=org.eclipse.ui.window.nextEditor ,
> handler=org.eclipse.ui.internal.CycleEditorHandler:true,
> expression=,sourcePriority=0)
> HandlerActivation(commandId=org.eclipse.ui.window.nextEditor ,
> handler=org.eclipse.ui.internal.CycleEditorHandler:true,
> expression=,sourcePriority=0)
>
> !ENTRY org.eclipse.ui.workbench 2 0 2007-09-18 17:55:20.728
> !MESSAGE A handler conflict occurred. This may disable some commands.
> !SUBENTRY 1 org.eclipse.ui.workbench 2 0 2007-09-18 17:55:20.728
> !MESSAGE Conflict for 'org.eclipse.ui.window.previousEditor':
> HandlerActivation(commandId=org.eclipse.ui.window.previousEd itor,
> handler=org.eclipse.ui.internal.CycleEditorHandler:false,
> expression=,sourcePriority=0)
> HandlerActivation(commandId=org.eclipse.ui.window.previousEd itor,
> handler=org.eclipse.ui.internal.CycleEditorHandler:false,
> expression=,sourcePriority=0)
>
> !ENTRY org.eclipse.ui.workbench 2 0 2007-09-18 17:55:20.728
> !MESSAGE A handler conflict occurred. This may disable some commands.
> !SUBENTRY 1 org.eclipse.ui.workbench 2 0 2007-09-18 17:55:20.728
> !MESSAGE Conflict for 'org.eclipse.ui.window.nextView':
> HandlerActivation(commandId=org.eclipse.ui.window.nextView,
> handler=org.eclipse.ui.internal.CycleViewHandler:true,
> expression=,sourcePriority=0)
> HandlerActivation(commandId=org.eclipse.ui.window.nextView,
> handler=org.eclipse.ui.internal.CycleViewHandler:true,
> expression=,sourcePriority=0)
>
> !ENTRY org.eclipse.ui.workbench 2 0 2007-09-18 17:55:20.738
> !MESSAGE A handler conflict occurred. This may disable some commands.
> !SUBENTRY 1 org.eclipse.ui.workbench 2 0 2007-09-18 17:55:20.738
> !MESSAGE Conflict for 'org.eclipse.ui.window.previousView':
> HandlerActivation(commandId=org.eclipse.ui.window.previousVi ew,
> handler=org.eclipse.ui.internal.CycleViewHandler:false,
> expression=,sourcePriority=0)
> HandlerActivation(commandId=org.eclipse.ui.window.previousVi ew,
> handler=org.eclipse.ui.internal.CycleViewHandler:false,
> expression=,sourcePriority=0)
>
> !ENTRY org.eclipse.ui.workbench 2 0 2007-09-18 17:55:20.738
> !MESSAGE A handler conflict occurred. This may disable some commands.
> !SUBENTRY 1 org.eclipse.ui.workbench 2 0 2007-09-18 17:55:20.738
> !MESSAGE Conflict for 'org.eclipse.ui.window.nextPerspective':
> HandlerActivation(commandId=org.eclipse.ui.window.nextPerspe ctive,
> handler=org.eclipse.ui.internal.CyclePerspectiveHandler:true ,
> expression=,sourcePriority=0)
> HandlerActivation(commandId=org.eclipse.ui.window.nextPerspe ctive,
> handler=org.eclipse.ui.internal.CyclePerspectiveHandler:true ,
> expression=,sourcePriority=0)
>
> !ENTRY org.eclipse.ui.workbench 2 0 2007-09-18 17:55:20.738
> !MESSAGE A handler conflict occurred. This may disable some commands.
> !SUBENTRY 1 org.eclipse.ui.workbench 2 0 2007-09-18 17:55:20.738
> !MESSAGE Conflict for 'org.eclipse.ui.window.previousPerspective':
> HandlerActivation(commandId=org.eclipse.ui.window.previousPe rspective,
> handler=org.eclipse.ui.internal.CyclePerspectiveHandler:fals e,
> expression=,sourcePriority=0)
> HandlerActivation(commandId=org.eclipse.ui.window.previousPe rspective,
> handler=org.eclipse.ui.internal.CyclePerspectiveHandler:fals e,
> expression=,sourcePriority=0)
>
> !ENTRY org.eclipse.ui.workbench 4 2 2007-09-18 17:55:21.960
> !MESSAGE Problems occurred when invoking code from plug-in:
> "org.eclipse.ui.workbench".
> !STACK 0
> java.lang.NullPointerException: You cannot parameterize a null parameter
> at
> org.eclipse.core.commands.Parameterization.<init>(Parameterization.java:76)
> at
> org.eclipse.ui.internal.ShowViewMenu.getCommand(ShowViewMenu .java:300)
> at org.eclipse.ui.internal.ShowViewMenu.<init>(ShowViewMenu.java:123)
> at org.eclipse.ui.internal.FastViewBar.<init>(FastViewBar.java:209)
> at
> org.eclipse.ui.internal.WorkbenchWindow.createDefaultContent s(WorkbenchWindow.java:1062)
>
> at
> org.eclipse.ui.internal.WorkbenchWindowConfigurer.createDefa ultContents(WorkbenchWindowConfigurer.java:624)
>
> at
> org.eclipse.ui.application.WorkbenchWindowAdvisor.createWind owContents(WorkbenchWindowAdvisor.java:268)
>
> at
> org.eclipse.ui.internal.WorkbenchWindow.createContents(Workb enchWindow.java:974)
>
> at org.eclipse.jface.window.Window.create(Window.java:426)
> at
> org.eclipse.ui.internal.Workbench$59.runWithException(Workbe nch.java:3319)
> at
> org.eclipse.ui.internal.StartupThreading$StartupRunnable.run (StartupThreading.java:31)
>
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
> at
> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:123)
>
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3659)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3296)
> at
> org.eclipse.ui.application.WorkbenchAdvisor.openWindows(Work benchAdvisor.java:797)
>
> at
> org.eclipse.ui.internal.Workbench$25.runWithException(Workbe nch.java:1342)
> at
> org.eclipse.ui.internal.StartupThreading$StartupRunnable.run (StartupThreading.java:31)
>
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
> at
> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:123)
>
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3659)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3296)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2309)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 19)
> at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:289)
>
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:461)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
> at
> org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:106)
>
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:153)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:106)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:76)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:363)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:176)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 504)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1169)
|
|
|
Re: RAP and JDBC [message #48293 is a reply to message #47583] |
Wed, 19 September 2007 17:33 |
Eclipse User |
|
|
|
Originally posted by: abo.splitshade.de
Why I asked is, I have the JDBC-Driver in an external Plugin,
in my base plugin, I have defined an extension Point, so that I am able
to contribute JDBC Drivers on the fly.
This can be important because I must support a wide range of Databases.
So, I load the Driver , using "createExecutableExtension",
and I do get an INstance of JDBCDriver.
But I am not able to get a Connection, instead I get a "no suitable
Driver found"-SQL-Exception. If I try the same thing with the driver
in the Classpath of my Plugin, this works so fine.
Is there a classloading-issue I am not aware of?
Or what?s the problem here?
|
|
|
Re: RAP and JDBC [message #48492 is a reply to message #48293] |
Thu, 20 September 2007 07:28 |
Eclipse User |
|
|
|
Originally posted by: abo.splitshade.de
Ok, this architecture works, if I put a dependency on my base plugin, but
this is not what I wanted to do.
Why does the approach with "createExecutableExtension" not work?
|
|
|
Re: RAP and JDBC [message #48572 is a reply to message #48492] |
Thu, 20 September 2007 12:55 |
Eclipse User |
|
|
|
Originally posted by: abo.splitshade.de
finally it works, its not an issue for RAP, but rather as I supposed a
Classloading issue.
Thank you anyway
Greetings
Martin
|
|
|
Goto Forum:
Current Time: Sat Dec 21 16:35:34 GMT 2024
Powered by FUDForum. Page generated in 0.03940 seconds
|