Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Running RAP on Tomcat on Linux
Running RAP on Tomcat on Linux [message #70228] Wed, 16 January 2008 09:59 Go to next message
Eclipse UserFriend
Originally posted by: robert.einsle.de

Hello List,

we are testing Eclipse RAP an it looks very good.

But while deploying the Eclipse RAP Project as .war on an Apache Tomcat
5.5.25 running on an Linux Server on Java 6, Tomcat Produces havy load and
logs on catalina.out the osgi-Prompt several Times a Minute.

We have the same running the eclipse RAP-Demo on the Application-Server.

Is it imposible to run RAP on Tomcat on Linux?

Thanks for Help.

Robert
Re: Running RAP on Tomcat on Linux [message #70390 is a reply to message #70228] Thu, 17 January 2008 00:57 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: leeguannan.msn.com

yes Eclipse RAP can running on Tomcat or Linux



"Robert" <robert@einsle.de> 写入消息
news:0a3194399f689f80e71679b44a4c83a5$1@www.eclipse.org...
> Hello List,
>
> we are testing Eclipse RAP an it looks very good.
> But while deploying the Eclipse RAP Project as .war on an Apache Tomcat
> 5.5.25 running on an Linux Server on Java 6, Tomcat Produces havy load and
> logs on catalina.out the osgi-Prompt several Times a Minute.
>
> We have the same running the eclipse RAP-Demo on the Application-Server.
>
> Is it imposible to run RAP on Tomcat on Linux?
>
> Thanks for Help.
>
> Robert
>
Re: Running RAP on Tomcat on Linux [message #70410 is a reply to message #70228] Thu, 17 January 2008 06:32 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mario.peham.etech.at

Robert schrieb:
> Hello List,
>
> we are testing Eclipse RAP an it looks very good.
> But while deploying the Eclipse RAP Project as .war on an Apache Tomcat
> 5.5.25 running on an Linux Server on Java 6, Tomcat Produces havy load
> and logs on catalina.out the osgi-Prompt several Times a Minute.
>
> We have the same running the eclipse RAP-Demo on the Application-Server.
>
> Is it imposible to run RAP on Tomcat on Linux?
>
> Thanks for Help.
>
> Robert
>

You must disable the console in the web.xml

<param-name>commandline</param-name>
<param-value>-console</param-value>


Mario
Re: Running RAP on Tomcat on Linux [message #70463 is a reply to message #70410] Thu, 17 January 2008 08:52 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: robert.einsle.de

Hy Mario,

Mario Peham wrote:

> You must disable the console in the web.xml

> <param-name>commandline</param-name>
> <param-value>-console</param-value>

> Mario

here a snapshoot of my web.xml:

--- cut ---
<servlet id="bridge">
<servlet-name>equinoxbridgeservlet</servlet-name>
<display-name>Equinox Bridge Servlet</display-name>
<description>Equinox Bridge Servlet</description>
<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>
<init-param>
<param-name>extendedFrameworkExports</param-name>
<param-value></param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
--- cut ---

I think, this parameter is set.

The Application-Server (Tomcat Apacht 5.5.25) run on an Debian Etch
Server, but, when deploying my RAP-Application, the Server reports me 100
% CPU-Load while none is fetching Webpages. And my catalina.out is growing
with "osgi".

Any other Idea?

Thanks

Robert
Re: Running RAP on Tomcat on Linux [message #70482 is a reply to message #70390] Thu, 17 January 2008 08:54 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: robert.einsle.de

Hy Lign,

lign wrote:

> yes Eclipse RAP can running on Tomcat or Linux

Yes, it runs, but 100 % CPU-Load and a fast growing catalina.out ....

Robert
Re: Running RAP on Tomcat on Linux [message #70500 is a reply to message #70463] Thu, 17 January 2008 09:31 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mario.peham.etech.at

Robert schrieb:
> Hy Mario,
>
> Mario Peham wrote:
>
>> You must disable the console in the web.xml
>
>> <param-name>commandline</param-name>
>> <param-value>-console</param-value>
>
>> Mario
>
> here a snapshoot of my web.xml:
>
> --- cut ---
> <servlet id="bridge">
> <servlet-name>equinoxbridgeservlet</servlet-name>
> <display-name>Equinox Bridge Servlet</display-name>
> <description>Equinox Bridge Servlet</description>
>
> <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>
> <init-param>
> <param-name>extendedFrameworkExports</param-name>
> <param-value></param-value>
> </init-param>
> <load-on-startup>1</load-on-startup>
> </servlet>
> --- cut ---
>
> I think, this parameter is set.
>
> The Application-Server (Tomcat Apacht 5.5.25) run on an Debian Etch
> Server, but, when deploying my RAP-Application, the Server reports me
> 100 % CPU-Load while none is fetching Webpages. And my catalina.out is
> growing with "osgi".
>
> Any other Idea?
>
> Thanks
>
> Robert
>

Hallo Robert

You must remove this line

<init-param>
<param-name>commandline</param-name>
<param-value>-console</param-value>
</init-param>

from the web.xml

Mario
Re: Running RAP on Tomcat on Linux [message #70517 is a reply to message #70500] Thu, 17 January 2008 10:37 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: robert.einsle.de

Mario Peham wrote:

> Hallo Robert

> You must remove this line

> <init-param>
> <param-name>commandline</param-name>
> <param-value>-console</param-value>
> </init-param>

> from the web.xml

> Mario

Oh, sorry, i miussunderstand it. Jes, now its working.

Thanks a lot.

Robert
Re: Running RAP on Tomcat on Linux [message #70611 is a reply to message #70482] Fri, 18 January 2008 02:00 Go to previous message
Simon Kaegi is currently offline Simon KaegiFriend
Messages: 381
Registered: July 2009
Senior Member
Hi Robert,

As noted in another branch of this thread 100% CPU utilization can occur
when the console is enabled but system.in is not available. Typically this
occurs because the process was launched with "javaw". The problem can be
recovered from and is fixed in 3.3.2 as well as the 3.4 HEAD.

-Simon

"Robert" <robert@einsle.de> wrote in message
news:a3c675bd004ba82b69d8425cf922bfc1$1@www.eclipse.org...
> Hy Lign,
>
> lign wrote:
>
>> yes Eclipse RAP can running on Tomcat or Linux
>
> Yes, it runs, but 100 % CPU-Load and a fast growing catalina.out ....
>
> Robert
>
Previous Topic:Rap on mobile devices
Next Topic:Problem to free a ViewPart instance
Goto Forum:
  


Current Time: Wed Jul 17 14:03:35 GMT 2024

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

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

Back to the top