Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » no 'default' entrypoint outside of exclipse
no 'default' entrypoint outside of exclipse [message #33305] Thu, 14 June 2007 13:01 Go to next message
Eclipse UserFriend
Originally posted by: pfischer06.fast-mail.org

Hello,

I created a simple plugin for a rap-test mit m4. Running it inside
eclipse-ide, it's working fine.

Now I want to run it outside of eclipse-ide, so I exported all jars,
created a config.ini and started osgi on commandline:

osgi> 14.06.2007 14:40:43 org.mortbay.http.HttpServer doStart
INFO: Version Jetty/5.1.x
14.06.2007 14:40:43 org.mortbay.util.Container start
INFO: Started org.mortbay.jetty.servlet.ServletHandler@341960
14.06.2007 14:40:43 org.mortbay.util.Container start
INFO: Started HttpContext[/,/]
14.06.2007 14:40:43 org.mortbay.http.SocketListener start
INFO: Started SocketListener on 0.0.0.0:80
14.06.2007 14:40:43 org.mortbay.util.Container start
INFO: Started org.mortbay.http.HttpServer@1db4f6f
ss

Framework is launched.

id State Bundle
0 ACTIVE system.bundle_3.2.2.R32x_v20070118
1 ACTIVE org.eclipse.equinox.common_3.2.0.v20060603
3 ACTIVE org.eclipse.core.runtime_3.2.0.v20060603
4 ACTIVE org.eclipse.core.expressions_3.2.2.r322_v20070109a
5 ACTIVE org.eclipse.core.jobs_3.2.0.v20060603
6 ACTIVE org.eclipse.equinox.http.registry_1.0.0.200706081749
7 ACTIVE org.eclipse.equinox.http.servlet_1.0.0.200706081749
8 ACTIVE org.eclipse.equinox.preferences_3.2.1.R32x_v20060717
9 ACTIVE org.eclipse.equinox.registry_3.2.1.R32x_v20060814
10 ACTIVE org.eclipse.osgi.services_3.1.100.v20060601
11 ACTIVE org.eclipse.rap.jface_1.0.0.200706081749
12 ACTIVE org.eclipse.rap.rwt_1.0.0.200706081749
13 ACTIVE org.eclipse.rap.ui.workbench_1.0.0.200706081749
14 ACTIVE org.eclipse.rap.w4t_1.0.0.200706081749
15 ACTIVE org.mortbay.jetty_5.1.11.200706081749
16 ACTIVE org.eclipse.equinox.http.jetty_1.0.0.200706081749
17 ACTIVE org.eclipse.core.contenttype_3.2.0.v20060603
18 ACTIVE my.rapplugin_1.0.0
19 ACTIVE javax.servlet_2.4.0.200706081749
20 ACTIVE org.eclipse.core.commands_3.2.0.I20060605-1400
21 ACTIVE org.apache.commons.logging_1.0.4.200706081749



Calling "http://localhost/rap" shows an empty webpage and following
error on the console:


osgi> java.lang.IllegalArgumentException: An entry point named 'default'
does no
t exist.
at
org.eclipse.swt.internal.lifecycle.EntryPointManager.createU I(EntryPo
intManager.java:70)
at
org.eclipse.swt.internal.lifecycle.PrepareUIRoot.execute(Pre pareUIRoo
t.java:32)
at
org.eclipse.swt.internal.lifecycle.RWTLifeCycle.execute(RWTL ifeCycle.
java:81)
at com.w4t.engine.W4TModel$ServiceAdapter.execute(W4TModel.java :47)
at
com.w4t.engine.service.FormRequestServiceHandler.service(For mRequestS
erviceHandler.java:65)
at
com.w4t.engine.service.ServiceManager$HandlerDispatcher.serv ice(Servi
ceManager.java:104)
at com.w4t.engine.W4TDelegate.doPost(W4TDelegate.java:75)
at
org.eclipse.ui.internal.servlet.RequestHandler.service(Reque stHandler
..java:41)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at
org.eclipse.equinox.http.registry.internal.ServletManager$Se rvletWrap
per.service(ServletManager.java:180)
at
org.eclipse.equinox.http.servlet.internal.ServletRegistratio n.handleR
equest(ServletRegistration.java:90)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.proce ssAlias(P
roxyServlet.java:109)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.servi ce(ProxyS
ervlet.java:59)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at
org.eclipse.equinox.http.jetty.internal.HttpServerManager$In ternalHtt
pServiceServlet.service(HttpServerManager.java:280)
at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder .java:428
)
at
org.mortbay.jetty.servlet.ServletHandler.dispatch(ServletHan dler.java
:677)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandl er.java:5
68)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
at org.mortbay.http.HttpServer.service(HttpServer.java:909)
at org.mortbay.http.HttpConnection.service(HttpConnection.java: 820)
at
org.mortbay.http.HttpConnection.handleNext(HttpConnection.ja va:986)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:8 37)
at
org.mortbay.http.SocketListener.handleConnection(SocketListe ner.java:
245)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:3 57)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:5 34)

[...]


But there is an existing entrypoint named 'default' in my plugin! All
bundles are the same as inside eclipse-ide. So what can be the reason
for this error?

Thanks in advance!

regards,
Peter
Re: no 'default' entrypoint outside of exclipse [message #33340 is a reply to message #33305] Thu, 14 June 2007 13:58 Go to previous message
Eclipse UserFriend
Originally posted by: pfischer06.fast-mail.org

Hello,

I found the mistake:

the plugin.xml was not deployed into the jar-file. Now it is working.

regards,
Peter
Previous Topic:Problem launching my application outside the IDE
Next Topic:how to start unit test inside the ide since RAP M4
Goto Forum:
  


Current Time: Fri Apr 26 01:05:43 GMT 2024

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

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

Back to the top