Problems deploying application [message #307471] |
Thu, 24 August 2006 06:09  |
Eclipse User |
|
|
|
Originally posted by: hiran.chaudhuri.softwareag.com
Hi there.
I created a plugin project that contains several extension, one of them
being an application. From the IDE I can run the application and it behaves
well.
Now I want to deploy that. For this I downloaded the Eclipse RCP binary
build and extracted that to a folder. Next, I deployed my plugin project
using the Export Wizard (on the overview page for plugin.xml) to the eclipse
directory of the RCP.
Running eclipse/eclipse.exe will always give me the following error message,
no matter whether I start eclipse.exe before I deploy my plugins, after
deploying my plugins or even after I try to edit
eclipse/configuration/config.ini.
What is running wrong?
!SESSION 2006-08-24
12:06:58.298 -----------------------------------------------
eclipse.buildId=@build@
java.version=1.5.0_07
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
!ENTRY org.eclipse.osgi 4 0 2006-08-24 12:06:58.688
!MESSAGE Application error
!STACK 1
java.lang.IllegalStateException: Unable to acquire application service.
Ensure that the org.eclipse.core.runtime bundle is resolved and started (see
config.ini).
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:65)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:400)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:177)
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.core.launcher.Main.invokeFramework(Main.java:336 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
|
|
|
Re: Problems deploying application [message #307476 is a reply to message #307471] |
Thu, 24 August 2006 07:19  |
Eclipse User |
|
|
|
Originally posted by: hiran.chaudhuri.softwareag.com
"Hiran Chaudhuri" <hiran.chaudhuri@softwareag.com> wrote in message
news:ecjtvm$rqh$1@utils.eclipse.org...
> Running eclipse/eclipse.exe will always give me the following error
> message, no matter whether I start eclipse.exe before I deploy my plugins,
> after deploying my plugins or even after I try to edit
> eclipse/configuration/config.ini.
>
> What is running wrong?
There seemed to be a number of things wrong.
First, you have to adapt some settings in config.ini so the osgi framework
starts up. A closer look on the error itself points to that.
Then, lots of plugins my package relies on have not been deployed so I had
to manually add them. Interestingly these lots were those not mentioned in
the IDE when I checked the dependencies. It seems to only look at the first
level in the tree, no more.
Finally I had to find out that the export wizard has created my plugin jar
file with the classes located in the bin subdirectory. After correcting
that, eclipse would start my application. Finally!
Hiran Chaudhuri
|
|
|
Powered by
FUDForum. Page generated in 0.02322 seconds