|Tomcat + RAP [message #1129941]
||Wed, 09 October 2013 00:54
| Igor Zapletnev
Registered: September 2012
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">
<display-name>Equinox Bridge Servlet</display-name>
<description>Equinox Bridge Servlet</description>
<param-value>-registryMultiLanguage -console -ws rap</param-value>
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 troubleshooting page, my war file does not contains jetty plug-ins as well.
Also where is not ".log" file in the ws directory ".../apache-tomcat 6.0.37/work/Catalina/localhost/controls/eclipse/workspace/.metadata/"
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 ".../work/Catalina/localhost/work/controls".
So, now I have 404 error and have no any logs/error. Could please help to find the main issue?
Powered by FUDForum
. Page generated in 0.01827 seconds