Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Deploying RAP application
Deploying RAP application [message #115630] Sun, 14 December 2008 01:00 Go to next message
Larry Edelstein is currently offline Larry EdelsteinFriend
Messages: 25
Registered: July 2009
Junior Member
Hi all -

I would like some support in deploying my RAP application for production
use. So far, I'm struggling.

I'd really like to deploy it on Tomcat. Since Springsource dm Server is
based on Tomcat, it seems like a good choice. Jetty or Resin would also
be acceptable, although I'd rather use Tomcat.

How the hell am I supposed to do this? I'm still getting up to speed on
OSGi and the HttpService, although I'm a fairly old hand at working with
Eclipse plugins.

Actually, I've got my damn application deployed on dm Server, but the RAP
servlet does not seem to be registered; at least, it's not responding.
I've tried adding this WAR -
https://issuetracker.springsource.com/browse/PLATFORM-27 - to no avail.
Now I guess I'll try the S2AP-custom header that link mentions, but
really, this is silly. Why don't these products work out of the box?

Larry Edelstein
Wakeup Conference
larry@wakeupconference.com
Re: Deploying RAP application [message #115658 is a reply to message #115630] Sun, 14 December 2008 03:44 Go to previous message
Larry Edelstein is currently offline Larry EdelsteinFriend
Messages: 25
Registered: July 2009
Junior Member
Well, I've made progress - I had unpacked, modified, and repacked that
WAR, but in repacking it, I inadvertently suffixed it with ZIP
("httpservice.war.zip"), so it wasn't getting detected.

Now I'm getting this strange exception when I fetch the page that should
give me my RAP app. Any ideas?

-Larry


[2008-12-13 19:21:20.009] Deployer Recovery
de.logischeerer.httpservice-1 I Trace configuration: {*=INFO,
com.springsource.server.*=WARN}
[2008-12-13 19:32:55.079] 23F000BA42995C48AE.jvm1]
System.err E Exception in thread "UIThread
[037FFB47C2118523F000BA42995C48AE.jvm1]" java.lang.IllegalStateException:
The context has been disposed.
[2008-12-13 19:32:55.079] 23F000BA42995C48AE.jvm1]
System.err E at
org.eclipse.rwt.internal.service.ServiceContext.checkState(S erviceContext.java:154)
[2008-12-13 19:32:55.079] 23F000BA42995C48AE.jvm1]
System.err E at
org.eclipse.rwt.internal.service.ServiceContext.getRequest(S erviceContext.java:82)
[2008-12-13 19:32:55.079] 23F000BA42995C48AE.jvm1]
System.err E at
org.eclipse.rwt.internal.service.ContextProvider.getRequest( ContextProvider.java:129)
[2008-12-13 19:32:55.079] 23F000BA42995C48AE.jvm1]
System.err E at
org.eclipse.rwt.internal.service.ContextProvider.getSession( ContextProvider.java:148)
[2008-12-13 19:32:55.079] 23F000BA42995C48AE.jvm1]
System.err E at
org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.setShutdownA dapter(RWTLifeCycle.java:345)
[2008-12-13 19:32:55.079] 23F000BA42995C48AE.jvm1]
System.err E at
org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.access$0(RWT LifeCycle.java:342)
[2008-12-13 19:32:55.079] 23F000BA42995C48AE.jvm1]
System.err E at
org.eclipse.rwt.internal.lifecycle.RWTLifeCycle$UIThreadCont roller.run(RWTLifeCycle.java:130)
[2008-12-13 19:32:55.079] 23F000BA42995C48AE.jvm1]
System.err E at
java.lang.Thread.run(Thread.java:619)
Previous Topic:How to get or create the PerspectiveSwitcher Bar?
Next Topic:RAP Book Published
Goto Forum:
  


Current Time: Fri Apr 26 10:58:26 GMT 2024

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

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

Back to the top