Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » How to deploy a RAP 1.5.0M2 application onto Tomcat server?(Need information about deploying a rap application; entry point problem (doesn't exist))
icon5.gif  How to deploy a RAP 1.5.0M2 application onto Tomcat server? [message #757235] Thu, 17 November 2011 09:41 Go to next message
Francis Delsinnes is currently offline Francis DelsinnesFriend
Messages: 49
Registered: November 2011
Member
Hi all,

I've got the following config:

- Eclipse Indigo for RCP & RAP Developers (32bits)
- Java JDK 6 (32bits)
- RAP Target & tooling 1.5.0M2
- Local Tomcat server 5.5.17

- plugin "War deploy" (available at the following url: download.eclipsesource.com/~hstaudacher/warproducts/3.7/ )

I would like deploy the template "RAP Application with a view" onto my Tomcat server.

I've got this error after deploying:
With the "good url" 127.0.0.1:7400/bla/view?startup=Bla.viewapp

Quote:

HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

java.lang.IllegalArgumentException: Entry point does not exist: Bla.viewapp
org.eclipse.rwt.internal.lifecycle.EntryPointManager.checkNameExists(EntryPointManager.java:104)
org.eclipse.rwt.internal.lifecycle.EntryPointManager.createUI(EntryPointManager.java:83)
org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.createUI(RWTLifeCycle.java:209)
org.eclipse.rwt.internal.lifecycle.RWTLifeCycle$UIThreadController.run(RWTLifeCycle.java:90)
java.lang.Thread.run(Thread.java:662)
org.eclipse.rwt.internal.lifecycle.UIThread.run(UIThread.java:101)

note The full stack trace of the root cause is available in the Apache Tomcat/5.5.17 logs.
Apache Tomcat/5.5.17



My current "Run Configuration" contains:

Main Tab
--------
Servlet Name: view
Entry Point or Application Bla.viewapp

Terminate possibly running previous launch (checked)
Open Application in Internal Browser (checked)
Manual Port Configuration (checked and set to "7400" - my current port onto my Tomcat server)
Client-side Library Variant set to "Debug"
Use default location (checked)

Bundles:
--------
My project and all required plugins

Current war product:
--------------------
<?xml version="1.0" encoding="UTF-8"?>
<?pde version="3.5"?>

<product useFeatures="false" includeLaunchers="false">
<plugins>
<plugin id="Bla"/>
<plugin id="com.ibm.icu.base"/>
<plugin id="org.eclipse.core.commands"/>
<plugin id="org.eclipse.core.contenttype"/>
<plugin id="org.eclipse.core.databinding"/>
<plugin id="org.eclipse.core.databinding.observable"/>
<plugin id="org.eclipse.core.databinding.property"/>
<plugin id="org.eclipse.core.expressions"/>
<plugin id="org.eclipse.core.jobs"/>
<plugin id="org.eclipse.core.runtime"/>
<plugin id="org.eclipse.equinox.app"/>
<plugin id="org.eclipse.equinox.common"/>
<plugin id="org.eclipse.equinox.ds"/>
<plugin id="org.eclipse.equinox.http.registry"/>
<plugin id="org.eclipse.equinox.http.servlet"/>
<plugin id="org.eclipse.equinox.http.servletbridge"/>
<plugin id="org.eclipse.equinox.preferences"/>
<plugin id="org.eclipse.equinox.registry"/>
<plugin id="org.eclipse.equinox.servletbridge"/>
<plugin id="org.eclipse.equinox.servletbridge.extensionbundle" fragment="true"/>
<plugin id="org.eclipse.equinox.util"/>
<plugin id="org.eclipse.help"/>
<plugin id="org.eclipse.jdt.junit.runtime"/>
<plugin id="org.eclipse.osgi"/>
<plugin id="org.eclipse.osgi.services"/>
<plugin id="org.eclipse.rap.design.example"/>
<plugin id="org.eclipse.rap.jface"/>
<plugin id="org.eclipse.rap.jface.databinding"/>
<plugin id="org.eclipse.rap.rwt"/>
<plugin id="org.eclipse.rap.rwt.osgi"/>
<plugin id="org.eclipse.rap.rwt.theme.classic"/>
<plugin id="org.eclipse.rap.ui"/>
<plugin id="org.eclipse.rap.ui.views"/>
<plugin id="org.eclipse.rap.ui.workbench"/>
<plugin id="org.junit"/>
</plugins>

<configurations>
<plugin id="Bla" autoStart="true" startLevel="0" />
<plugin id="com.ibm.icu.base" autoStart="true" startLevel="0" />
<plugin id="org.eclipse.core.commands" autoStart="true" startLevel="0" />
<plugin id="org.eclipse.core.contenttype" autoStart="true" startLevel="0" />
<plugin id="org.eclipse.core.databinding" autoStart="true" startLevel="0" />
<plugin id="org.eclipse.core.databinding.observable" autoStart="true" startLevel="0" />
<plugin id="org.eclipse.core.databinding.property" autoStart="true" startLevel="0" />
<plugin id="org.eclipse.core.expressions" autoStart="true" startLevel="0" />
<plugin id="org.eclipse.core.jobs" autoStart="true" startLevel="0" />
<plugin id="org.eclipse.core.runtime" autoStart="true" startLevel="0" />
<plugin id="org.eclipse.equinox.app" autoStart="true" startLevel="0" />
<plugin id="org.eclipse.equinox.common" autoStart="true" startLevel="0" />
<plugin id="org.eclipse.equinox.ds" autoStart="true" startLevel="0" />
<plugin id="org.eclipse.equinox.http.registry" autoStart="true" startLevel="0" />
<plugin id="org.eclipse.equinox.http.servlet" autoStart="true" startLevel="0" />
<plugin id="org.eclipse.equinox.http.servletbridge" autoStart="true" startLevel="0" />
<plugin id="org.eclipse.equinox.preferences" autoStart="true" startLevel="0" />
<plugin id="org.eclipse.equinox.registry" autoStart="true" startLevel="0" />
<plugin id="org.eclipse.equinox.servletbridge" autoStart="true" startLevel="0" />
<plugin id="org.eclipse.equinox.util" autoStart="true" startLevel="0" />
<plugin id="org.eclipse.help" autoStart="true" startLevel="0" />
<plugin id="org.eclipse.jdt.junit.runtime" autoStart="true" startLevel="0" />
<plugin id="org.eclipse.osgi" autoStart="true" startLevel="0" />
<plugin id="org.eclipse.osgi.services" autoStart="true" startLevel="0" />
<plugin id="org.eclipse.rap.design.example" autoStart="true" startLevel="0" />
<plugin id="org.eclipse.rap.jface" autoStart="true" startLevel="0" />
<plugin id="org.eclipse.rap.jface.databinding" autoStart="true" startLevel="0" />
<plugin id="org.eclipse.rap.rwt" autoStart="true" startLevel="0" />
<plugin id="org.eclipse.rap.rwt.osgi" autoStart="true" startLevel="0" />
<plugin id="org.eclipse.rap.rwt.theme.classic" autoStart="true" startLevel="0" />
<plugin id="org.eclipse.rap.ui" autoStart="true" startLevel="0" />
<plugin id="org.eclipse.rap.ui.views" autoStart="true" startLevel="0" />
<plugin id="org.eclipse.rap.ui.workbench" autoStart="true" startLevel="0" />
<plugin id="org.junit" autoStart="true" startLevel="0" />
</configurations>

<warConfiguration webXml="/Bla/WEB-INF/web.xml" launchIni="/Bla/WEB-INF/launch.ini">
<libraries>
<library path="org.eclipse.equinox.servletbridge_1.2.100.v20110502.jar" fromTarget="true"/>
</libraries>
</warConfiguration>
</product>

[Updated on: Thu, 17 November 2011 10:19]

Report message to a moderator

icon2.gif  Re: How to deploy a RAP 1.5.0M2 application onto Tomcat server? [message #757327 is a reply to message #757235] Thu, 17 November 2011 17:57 Go to previous messageGo to next message
Francis Delsinnes is currently offline Francis DelsinnesFriend
Messages: 49
Registered: November 2011
Member
I found a solution for my project:
Create a new build.properties file...


I created a new project
1/ min plugins
2/ new Run Configuration
3/ war product
4/ war deploy
5/ test ok

+ migration of my custom theme (branding, css)
retry steps 2-5

+ migration of singleton using (extension of SessionSingleBase)
retry steps 2-5

Compare this "fake" project with the "real" project
=> renew build.properties (min of dependencies)

Now, it's ok.
Re: How to deploy a RAP 1.5.0M2 application onto Tomcat server? [message #757902 is a reply to message #757327] Thu, 17 November 2011 22:29 Go to previous message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

Hi Francis,

good to hear that you've located the problem.

Just a small hint: the war product tooling is part of Indigo meanwhile,
you can install it directly from the Indigo repository.

Regards, Ralf

--
Ralf Sternberg

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Previous Topic:Integerating RAP
Next Topic:How to configure RAP Application through web.xml?
Goto Forum:
  


Current Time: Sat Apr 20 02:21:37 GMT 2024

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

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

Back to the top