Hi,
I was trying to deploy my first RAP application. I followed the
instruction given in RAP Development Guide under "WAR Deployment". I
had just successfully deployed the Demo application, following the
instruction.
When I deployed my own RAP application, I got the following error
when trying to access the application using the URL
http://127.0.0.1:8080/jobentry/rap?entry=default :-
2009?9?3? ??10:43:59 org.apache.catalina.core.StandardWrapperValve invoke
Exception: Servlet.service() for servlet equinoxbridgeservlet threw
exception
java.lang.IllegalArgumentException: An entry point named 'default' does
not exist.
at
org.eclipse.rwt.internal.lifecycle.EntryPointManager.createUI(EntryPointManager.java:77)
at
org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.createUI(RWTLifeCycle.java:231)
at
org.eclipse.rwt.internal.lifecycle.RWTLifeCycle$UIThreadController.run(RWTLifeCycle.java:119)
at java.lang.Thread.run(Thread.java:619)
The following is the portion of the plugin.xml for my plugin, showing
the "default" entrypoint:-
<?xml version="1.0" encoding="UTF-8" ?>
<?eclipse version="3.4"?>
- <plugin>
- <extension point="org.eclipse.rap.ui.entrypoint">
<entrypoint class="au.com.b2b.jobentry.Application" parameter="default"
id="au.com.b2b.jobentry.Application" />
</extension>
At first, my application does not have an entry point named "default".
So I change the name of the entry point to "default" and make other
changes so that the application can successfully run as RAP application
in Eclipse IDE. When I deploy the application again, I still got the
same error.
Any help would be much appreciated.
Regards
Kay Chee Cheung