| 
| OSGI console doesn't startup [message #109779] | Sat, 18 October 2008 14:37  |  | 
| Eclipse User  |  |  |  |  | Hi, 
 I'm new to RAP and struggling with deploying a simple rap in Tomcat.
 
 I followed the instructions in the tutorials, creating the .war works,
 Tomcat installs the .war, but I can't access it (.../sp_test results in
 "Servlet delegate not registered.")
 
 For further investigation it seems useful to have at least the OSGI
 console available. After installing the bridge.war for testing (as
 suggested in the tutorial), it seems that it works fine ("Servlet delegate
 registered - org.eclipse.equinox.http.servlet.HttpServiceServlet" for
 sp_test in url).
 
 But after editing the web.xml to
 ....		<servlet-class>org.eclipse.equinox.servletbridge.BridgeServlet </servlet-class>
 <init-param>
 <param-name>commandline</param-name>
 <param-value>-console</param-value>
 </init-param>
 <init-param>
 <param-name>enableFrameworkControls</param-name>
 <param-value>true</param-value>
 </init-param>
 ....
 (including a restart of Tomcat), there is no OSGI console for the bridge
 rap or for any other rap using the -console param in web.xml
 
 I'm using Tomcat 5.0 and JVM 1.6.0_07-b06
 What environment (or trick) would it take to get the OSGI console starting
 up?
 
 
 Thanks,
 Jürgen
 |  |  |  | 
| 
| Re: OSGI console doesn't startup [message #109826 is a reply to message #109779] | Mon, 20 October 2008 03:14   |  | 
| Eclipse User  |  |  |  |  | Hi Jürgen, 
 a common mistake is to include the javax.servlet bundles in the war-file
 - could you check this, please?
 
 If you modify the init-param to
 <param-value>-console 54321</param-value>
 
 you can access the OSGi-console via telnet on port 54321 to check the
 bundle's state.
 
 Regards,
 Stefan.
 
 
 
 Jürgen Kilian schrieb:
 > Hi,
 >
 > I'm new to RAP and struggling with deploying a simple rap in Tomcat.
 >
 > I followed the instructions in the tutorials, creating the .war works,
 > Tomcat installs the .war, but I can't access it (.../sp_test results in
 > "Servlet delegate not registered.")
 >
 > For further investigation it seems useful to have at least the OSGI
 > console available. After installing the bridge.war for testing (as
 > suggested in the tutorial), it seems that it works fine ("Servlet
 > delegate registered -
 > org.eclipse.equinox.http.servlet.HttpServiceServlet" for sp_test in url).
 >
 > But after editing the web.xml to  ...
 > <servlet-class>org.eclipse.equinox.servletbridge.BridgeServlet </servlet-class>
 >
 >         <init-param>
 >             <param-name>commandline</param-name>
 >             <param-value>-console</param-value>
 >         </init-param>
 >         <init-param>
 >             <param-name>enableFrameworkControls</param-name>
 >             <param-value>true</param-value>
 >         </init-param>
 > ...
 > (including a restart of Tomcat), there is no OSGI console for the bridge
 > rap or for any other rap using the -console param in web.xml
 >
 > I'm using Tomcat 5.0 and JVM 1.6.0_07-b06 What environment (or trick)
 > would it take to get the OSGI console starting up?
 >
 >
 > Thanks,
 > Jürgen
 >
 >
 >
 >
 >
 >
 >
 |  |  |  | 
| 
| Re: OSGI console doesn't startup [message #110000 is a reply to message #109779] | Tue, 21 October 2008 12:07  |  | 
| Eclipse User  |  |  |  |  | Originally posted by: fappel.innoopract.com 
 Hi,
 
 just to ensure that we don't miss anything. Did you activate the
 framework controls section in the web.xml:
 
 <!-- Framework Controls could be useful for testing purpose, but
 we disable it in RAP environment per default -->
 <init-param>
 <param-name>enableFrameworkControls</param-name>
 set this to true-><param-value>false</param-value>
 </init-param>
 
 
 Ciao
 Frank
 
 -----Ursprüngliche Nachricht-----
 Von: "Jürgen" Kilian [mailto:kilian@noteserver.org]
 Bereitgestellt: Samstag, 18. Oktober 2008 20:38
 Bereitgestellt in: eclipse.technology.rap
 Unterhaltung: OSGI console doesn't startup
 Betreff: OSGI console doesn't startup
 
 Hi,
 
 I'm new to RAP and struggling with deploying a simple rap in Tomcat.
 
 I followed the instructions in the tutorials, creating the .war works,
 Tomcat installs the .war, but I can't access it (.../sp_test results in
 "Servlet delegate not registered.")
 
 For further investigation it seems useful to have at least the OSGI
 console available. After installing the bridge.war for testing (as
 suggested in the tutorial), it seems that it works fine ("Servlet
 delegate
 registered - org.eclipse.equinox.http.servlet.HttpServiceServlet" for
 sp_test in url).
 
 But after editing the web.xml to
 ....
 <servlet-class>org.eclipse.equinox.servletbridge.BridgeServlet </servlet-
 class>
 <init-param>
 <param-name>commandline</param-name>
 <param-value>-console</param-value>
 
 </init-param>
 <init-param>
 <param-name>enableFrameworkControls</param-name>
 <param-value>true</param-value>
 </init-param>
 ....
 (including a restart of Tomcat), there is no OSGI console for the bridge
 
 rap or for any other rap using the -console param in web.xml
 
 I'm using Tomcat 5.0 and JVM 1.6.0_07-b06
 What environment (or trick) would it take to get the OSGI console
 starting
 up?
 
 
 Thanks,
 Jürgen
 |  |  |  | 
Powered by 
FUDForum. Page generated in 0.04253 seconds