Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » RAP in tomcat
RAP in tomcat [message #5660] Mon, 12 March 2007 14:11 Go to next message
Eclipse UserFriend
Originally posted by: pedro.s.silva.criticalsoftware.com

Hi,

If I develop my RAP Application in eclipse how do I then putt it inside
Tomcat?

Maybe it is something simple but I didn't figure it out yet.

Thanks,
Pedro Silva
Re: RAP in tomcat [message #5758 is a reply to message #5660] Mon, 12 March 2007 19:39 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jkrause.innoopract.com

Hi Pedro,

A general introduction on how to do that can be found here:

http://www.eclipse.org/equinox/server/http_in_container.php

The org.eclipse.equinox.servletbridge project contains an ant script to
create the folder structure. You also need the
org.eclipse.equinox.servletbridge.feature project to reference the
plugins you want to include into the build.

I could create and deploy a demo app, access the osgi console, but had
problems accessing the rap servlet. We will look into this shortly.

Cheers,

Jochen

Pedro Silva wrote:
> Hi,
>
> If I develop my RAP Application in eclipse how do I then putt it inside
> Tomcat?
>
> Maybe it is something simple but I didn't figure it out yet.
>
> Thanks,
> Pedro Silva
Re: RAP in tomcat [message #5829 is a reply to message #5758] Tue, 13 March 2007 06:16 Go to previous message
Eclipse UserFriend
Originally posted by: pedro.s.silva.criticalsoftware.com

Hi Jochen,


Thanks for helpingfull answers :)


I just tried to do the same and I had some problems doing it.

First I exported the helloworld example as a jar to the eclipse
directory in the bridge webapp. Then I did a installed it with install
command and started it with start command. after this I've got a
dependency error:

osgi> start 14
org.osgi.framework.BundleException: The bundle could not be resolved.
Reason: Missing Constraint: Require-Bundle: org.eclipse.rap.jface;
bundle-version="0.0.0"
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:294)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:256)
at
org.eclipse.osgi.framework.internal.core.FrameworkCommandPro vider._start(FrameworkCommandProvider.java:239)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.eclipse.osgi.framework.internal.core.FrameworkCommandInt erpreter.execute(FrameworkCommandInterpreter.java:145)
at
org.eclipse.osgi.framework.internal.core.FrameworkConsole.do command(FrameworkConsole.java:293)
at
org.eclipse.osgi.framework.internal.core.FrameworkConsole.co nsole(FrameworkConsole.java:278)
at
org.eclipse.osgi.framework.internal.core.FrameworkConsole.ru n(FrameworkConsole.java:213)
at java.lang.Thread.run(Thread.java:619)

If I do:
osgi> diag 14
file:\\\C:\Projectos\Software\apache-tomcat-5.5.20\webapps\b ridge\WEB-INF\eclipse\plugins\org.eclipse.rap.helloworld_1.0 .0.jar
[14]
Missing required bundle org.eclipse.rap.jface_0.0.0.
Missing required bundle org.eclipse.rap.rwt_0.0.0.
Missing required bundle org.eclipse.rap.ui.workbench_0.0.0.
Missing required bundle org.eclipse.rap.w4t_0.0.0.

I get a lot of dependency problems.

Should I install each missing bundle or is there way to automatically
resolve the dependencies?


Cheers,
Pedro Silva


Jochen Krause wrote:
> Hi Pedro,
>
> A general introduction on how to do that can be found here:
>
> http://www.eclipse.org/equinox/server/http_in_container.php
>
> The org.eclipse.equinox.servletbridge project contains an ant script to
> create the folder structure. You also need the
> org.eclipse.equinox.servletbridge.feature project to reference the
> plugins you want to include into the build.
>
> I could create and deploy a demo app, access the osgi console, but had
> problems accessing the rap servlet. We will look into this shortly.
>
> Cheers,
>
> Jochen
>
> Pedro Silva wrote:
>> Hi,
>>
>> If I develop my RAP Application in eclipse how do I then putt it
>> inside Tomcat?
>>
>> Maybe it is something simple but I didn't figure it out yet.
>>
>> Thanks,
>> Pedro Silva
Previous Topic:DateChooser
Next Topic:Problem accessing RAP demo
Goto Forum:
  


Current Time: Sat May 10 04:33:34 EDT 2025

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

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

Back to the top