Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » RAP Deployment on Tomcat with WYSIWYG editor(Deployment of resources on Tomcat)
RAP Deployment on Tomcat with WYSIWYG editor [message #554748] Tue, 24 August 2010 10:27 Go to next message
Tiber Sept is currently offline Tiber SeptFriend
Messages: 32
Registered: February 2010
Member
Hi,

i know there are a lot of posts and help on this, but I somehow could not manage to solve my issue.

I have a WYSIWYG (ckeditor) the resources of which are registered as follows:
[code]
<extension  	point="org.eclipse.equinox.http.registry.resources">
    <resource
          alias="/ckeditor"
          base-name="ckeditor">
    </resource>
</extension>


In my custom Js widget i reference the editor as follows:
qx.ui.embed.Iframe.call(this, "ckeditor/ckeditor.html");


Now, this works fine using Jetty in the Eclipse IDE, but when I export the project to Tomcat i get a 404 error - The requested resource (ProxyServlet: /ckeditor/ckeditor.html) is not available.

Any idea on what coud be wrong ? I register images using the same extension point and they can be accessed just fine.

Thanks in advance
Re: RAP Deployment on Tomcat with WYSIWYG editor [message #554806 is a reply to message #554748] Tue, 24 August 2010 12:43 Go to previous messageGo to next message
Holger Staudacher is currently offline Holger StaudacherFriend
Messages: 166
Registered: July 2009
Senior Member
Did you checked your build.properties? The resources must be included
in the binary build.

Regards Holger



On 2010-08-24 12:27:38 +0200, tibersept <tibersept@yahoo.com> said:

> Hi,
>
> i know there are a lot of posts and help on this, but I somehow could
> not manage to solve my issue.
> I have a WYSIWYG (ckeditor) the resources of which are registered as follows:
> [code]
>
> <extension point="org.eclipse.equinox.http.registry.resources">
> <resource
> alias="/ckeditor"
> base-name="ckeditor">
> </resource>
> </extension>
>
>
> In my custom Js widget i reference the editor as follows:
>
> qx.ui.embed.Iframe.call(this, "ckeditor/ckeditor.html");
>
>
> Now, this works fine using Jetty in the Eclipse IDE, but when I export
> the project to Tomcat i get a 404 error - The requested resource
> (ProxyServlet: /ckeditor/ckeditor.html) is not available.
> Any idea on what coud be wrong ? I register images using the same
> extension point and they can be accessed just fine.
>
> Thanks in advance


--
--
Holger Staudacher | EclipseSource Karlsruhe

Need professional support for RAP and RCP?
Go to: http://eclipsesource.com/support
Twitter : @hstaudacher
Blog : http://eclipsesource.com/blogs/tag/rap/
Re: RAP Deployment on Tomcat with WYSIWYG editor [message #557265 is a reply to message #554806] Mon, 06 September 2010 11:09 Go to previous message
Tiber Sept is currently offline Tiber SeptFriend
Messages: 32
Registered: February 2010
Member
Hi Holger,

sorry for the delayed response, I had the build properties checked,
and I had the necessary resources (ckeditor folder) in the binary
build. Of course, these are the build.properties of the RAP project,
not the feature project. I had also unpacked the WAR and made
sure the resources are in there. It still didn't work.
Previous Topic:MouseTrackListener?
Next Topic:Any changes on how JMeter tests should be recorded ?
Goto Forum:
  


Current Time: Sat Dec 14 03:49:25 GMT 2024

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

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

Back to the top