Deploying RAP application [message #115630] |
Sat, 13 December 2008 20:00  |
Eclipse User |
|
|
|
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] |
Sat, 13 December 2008 22:44  |
Eclipse User |
|
|
|
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)
|
|
|
Powered by
FUDForum. Page generated in 0.07268 seconds