Page 1 of 1

How to deploy oxygen-sdk-sample-webapp.war?

Posted: Mon Sep 22, 2014 5:22 pm
by Frank Ralf
Hi,

I gave the new SDK for oXygen 16 a try and after some struggling with new Maven build process I managed to build the sample webapp. However, when opening \oxygen-sample-webapp\target\oxygen-sdk-sample-webapp\index.html I get the following error message:

Code: Select all


Message: RESTDocumentManager is not defined
Url: file:///H:/Eclipse/franksSample/oxygen-sample-webapp/target/oxygen-sdk-sample-webapp/app/editor.js Line: 1682
I suppose that's now wonder, because I haven't deployed the oxygen-sdk-sample-webapp.war file to my own server yet. Unfortunately, the instructions in the README.html file don't elaborate on the deployment process. There is a J2EE server mentioned on the SDK page. Can I also use a Tomcat server? How do I proceed?

tia
Frank

Re: How to deploy oxygen-sdk-sample-webapp.war?

Posted: Tue Sep 23, 2014 12:02 pm
by cristi_talau
Hello Frank,

Thanks for taking time to try our WebApp product. It seems you managed to do the hard part - building the oxygen-sdk-sample-webapp.war file. The deployment is not detailed in the documentation because is very sever-specific.

For Tomcat, you basically have to drop the war file in the webapps folder in the Tomcat installation directory. There are also other ways to deploy an webapp in Tomcat. More details can be found on the Tomcat web page http://tomcat.apache.org/tomcat-7.0-doc ... howto.html.

Best,
Cristi

Re: How to deploy oxygen-sdk-sample-webapp.war?

Posted: Thu Sep 25, 2014 2:49 pm
by Frank Ralf
Thanks for the reply, Christi. So that sounds like the usual Tomcat procedure. I'll give it a try and report back.

Kind regards,
Frank