Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Re: problems deploying org.eclipse.rap.demo (EMF editor)
Re: problems deploying org.eclipse.rap.demo (EMF editor) [message #690556] Wed, 29 June 2011 17:24
John Yotka is currently offline John YotkaFriend
Messages: 144
Registered: July 2009
Senior Member
On 6/27/2011 5:13 PM, John Yotka wrote:
> On 6/27/2011 1:39 PM, Ralf Sternberg wrote:
>> Sure that's the correct path? If you deployed the rapdemo.war, you
>> should probably access the demo under /rapdemo/rap
>
> Ralf, Thanks again, I deployed under Tomcat 5.5 in webapps/demo. So
> /demo/rap does access the (demo) application successfully.
>
> Now when I try to apply all this to my EMF editor, I get the following
> error at startup of the editor
> (http://localhost:7080/TranslatePrompts/rap):
>
> java.lang.IllegalArgumentException: Entry point does not exist: default
> org.eclipse.rwt.internal.lifecycle.EntryPointManager.checkNameExists(EntryPointManager.java:94)
> org.eclipse.rwt.internal.lifecycle.EntryPointManager.createUI(EntryPointManager.java:66)
> org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.createUI(RWTLifeCycle.java:211)
> org.eclipse.rwt.internal.lifecycle.RWTLifeCycle$UIThreadController.run(RWTLifeCycle.java:88)
>
> java.lang.Thread.run(Thread.java:595)
> org.eclipse.rwt.internal.lifecycle.UIThread.run(UIThread.java:102)
>
>
> I've checked the
> <tomcat-installation>/work/Catalina/localhost/demo/eclipse/workspace/.metadata/.log
> file and found a number of missing bundles, but now that I've built with
> all the required bundles, no .log is generated.
>
> FYI the config.ini is:
>
> #Eclipse Runtime Configuration File
> osgi.bundles= com.datria.DVA.translatePrompts.editor@start,\
> com.datria.DVA.translatePrompts.edit@start,\
> com.datria.DVA.translatePrompts@start,\
> com.ibm.icu.base@start,\
> org.apache.commons.fileupload@start,\
> org.apache.commons.io.source@start,\
> org.apache.commons.io@start,\
> org.eclipse.core.commands@start,\
> org.eclipse.core.contenttype@start,\
> org.eclipse.core.databinding.observable@start,\
> org.eclipse.core.databinding.property@start,\
> org.eclipse.core.databinding@start,\
> org.eclipse.core.expressions@start,\
> org.eclipse.core.jobs@start,\
> org.eclipse.core.runtime@start,\
> org.eclipse.emf.common@start,\
> org.eclipse.emf.ecore.xmi@start,\
> org.eclipse.emf.ecore@start,\
> org.eclipse.emf.edit@start,\
> org.eclipse.emf.rap.common.ui@start,\
> org.eclipse.emf.rap.edit.ui@start,\
> org.eclipse.emf.rap@start,\
> org.eclipse.equinox.app@start,\
> org.eclipse.equinox.common@2:start,\
> org.eclipse.equinox.http.registry@start,\
> org.eclipse.equinox.http.servletbridge@start,\
> org.eclipse.equinox.http.servlet@start,\
> org.eclipse.equinox.preferences@start,\
> org.eclipse.equinox.registry@start,\
> org.eclipse.help@start,\
> org.eclipse.osgi.services@start,\
> org.eclipse.rap.jface.databinding@start,\
> org.eclipse.rap.jface@start,\
> org.eclipse.rap.rwt.q07,\
> org.eclipse.rap.rwt.supplemental.filedialog@start,\
> org.eclipse.rap.rwt.supplemental.fileupload@start,\
> org.eclipse.rap.rwt@start,\
> org.eclipse.rap.ui.views@start,\
> org.eclipse.rap.ui.workbench@start,\
> org.eclipse.rap.ui@start,\
> org.eclipse.equinox.servletbridge.extensionbundle
> osgi.bundles.defaultStartLevel=4
>
>
I solved this by adding an org.eclispe.rap.ui.entrypoint to my .editor
project and copying the <???>EditorAdvisor@Application.start() code to
an IEntryPoint class. Set the "parameter" to "default". After doing
that the resulting .war worked.
Previous Topic:EMF 3.0 / e4
Next Topic:Generics in EMF
Goto Forum:
  


Current Time: Thu Sep 19 15:16:46 GMT 2019

Powered by FUDForum. Page generated in 0.02641 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top