Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » problems deploying org.eclipse.rap.demo
problems deploying org.eclipse.rap.demo [message #688546] Fri, 24 June 2011 21:52 Go to next message
John Yotka is currently offline John YotkaFriend
Messages: 144
Registered: July 2009
Senior Member
I've followed the all the steps in the "How to Deploy a RAP Application
to a Servlet Container?" in the RAP Dev guide, but when I try to access
the demo (running under Tomcat 5.5) I get the following error:

The requested resource (ProxyServlet: /demo/) is not available.

I've successfully deployed the rapdemo.war (linked in the above help)
and it runs fine.

I'm running this on:

Eclipse Modeling Tools
Version: Indigo Release
Build id: 20110615-0604
Re: problems deploying org.eclipse.rap.demo [message #689540 is a reply to message #688546] Mon, 27 June 2011 19:39 Go to previous messageGo to next message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

Sure that's the correct path? If you deployed the rapdemo.war, you should probably access the demo under /rapdemo/rap
Re: problems deploying org.eclipse.rap.demo [message #689593 is a reply to message #689540] Mon, 27 June 2011 23:13 Go to previous messageGo to next message
John Yotka is currently offline John YotkaFriend
Messages: 144
Registered: July 2009
Senior Member
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
Re: problems deploying org.eclipse.rap.demo (EMF editor) [message #690557 is a reply to message #689593] Wed, 29 June 2011 17:24 Go to previous message
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:problems deploying org.eclipse.rap.demo
Next Topic:Missing bundle &quot;org.eclipse.rap.rwt.osgi&quot; in target runtime
Goto Forum:
  


Current Time: Fri Apr 26 23:00:09 GMT 2024

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

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

Back to the top