Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » OSGI console doesn't startup
OSGI console doesn't startup [message #109779] Sat, 18 October 2008 18:37 Go to next message
Jürgen  ilian is currently offline Jürgen ilian
Messages: 3
Registered: July 2009
Junior Member
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 07:14 Go to previous messageGo to next message
Stefan   is currently offline Stefan
Messages: 316
Registered: July 2009
Senior Member
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 16:07 Go to previous message
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
Previous Topic:Programatically manipulating checkboxes in CheckboxTreeViewer
Next Topic:Exception and Error handling
Goto Forum:
  


Current Time: Wed Oct 01 12:26:49 GMT 2014

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

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