|Re: Tomcat + RAP [message #1130210 is a reply to message #1129941]
||Wed, 09 October 2013 10:15
| Ivan Furnadjiev
Registered: July 2009
Location: Sofia, Bulgaria
if you are running your Tomcat server locally you could type the OSGi
commands in the Tomcat console window (I saw that you enabled the OSGi
console). What is the output of "ss" command (please post it here)? Do
you have non active plugins? How do you access your app?
On 10/9/2013 7:54 AM, Igor Zapletnev wrote:
> I am trying to setup RAP application on my tomcat server.
> RAP demo application work properly from my eclipse.
> After that I am exporting warproduct via eclipse. I am using next demo
> war product configuration:
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web
> Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
> <web-app id="WebApp">
> <servlet id="bridge">
> <display-name>Equinox Bridge Servlet</display-name>
> <description>Equinox Bridge Servlet</description>
> <param-value>false</param-value> </init-param>
> <param-value>-registryMultiLanguage -console -ws
> rap</param-value> </init-param>
> <load-on-startup>1</load-on-startup> </servlet>
> After copying builded war file "controls.war" (depends on file name or
> not?) into webapps dir and I am getting 404 error "The requested
> resource is not available.".
> I have checked
> http://wiki.eclipse.org/RAP/FAQ#Exported_WAR_file_does_not_work, my
> war file does not contains jetty plug-ins as well.
> Also where is not ".log" file in the ws directory ".../apache-tomcat
> I have found an advice on troubleshoouting page: "type ss in the
> console and see if all bundles are started. If not try starting them
> with "start <bundle-id>". The stack traces may hint to what is missing".
> Looks like at first I need to specify OSGI remote port and connect to
> it via telnet. I have added "osgi.console=5471" in launch.ini (don't
> sure that it is correct place) and error occurs during connection
> telnet: Unable to connect to remote host.
> Also I am removing my application work directory before re-deploying
> So, now I have 404 error and have no any logs/error. Could please help
> to find the main issue?
Professional services for RAP and RCP?
Powered by FUDForum
. Page generated in 0.03902 seconds