Skip to main content



      Home
Home » Eclipse Projects » Equinox » Critical Problem with osgi console
Critical Problem with osgi console [message #89220] Fri, 01 June 2007 08:21 Go to next message
Eclipse UserFriend
Hi I have an odd problem, which has happened in production environment,
I've tested my app in Eclipse and in my local tomcat but I can't
reproduce the error.

The problem is that the console get crazy and writes the prompt all the
time:

[...]
osgi>
osgi>
osgi>
osgi>
osgi>
osgi>
osgi>
osgi>
[...]

Besides I'm using a shared hosting and now I have a invoice for abuse,
because this problem has generated a gigant log file and CPU usage was
of 90% during the problem.

Any help will be welcome.

Thanks in advance.
Roberto.
Re: Critical Problem with osgi console [message #89237 is a reply to message #89220] Fri, 01 June 2007 08:42 Go to previous messageGo to next message
Eclipse UserFriend
I forgot to say that I'm working in a RAP based app and I'm using the
latest CVS version of all involved projects.

Regards.
Roberto.

Roberto Sá‡nchez escribió:
> Hi I have an odd problem, which has happened in production environment,
> I've tested my app in Eclipse and in my local tomcat but I can't
> reproduce the error.
>
> The problem is that the console get crazy and writes the prompt all the
> time:
>
> [...]
> osgi>
> osgi>
> osgi>
> osgi>
> osgi>
> osgi>
> osgi>
> osgi>
> [...]
>
> Besides I'm using a shared hosting and now I have a invoice for abuse,
> because this problem has generated a gigant log file and CPU usage was
> of 90% during the problem.
>
> Any help will be welcome.
>
> Thanks in advance.
> Roberto.
Re: Critical Problem with osgi console [message #89313 is a reply to message #89237] Fri, 01 June 2007 10:10 Go to previous messageGo to next message
Eclipse UserFriend
Bizarre. I've never seen that happen either.
Perhaps another application is in someway messing with StdIn/StdOut ??

Still I would definitely not suggest running with "-console" in any non-dev
environment. e.g. change "commandline" in your web.xml
If you absolutely need the console it would be slightly better if you at
least used "-console 999" or some other port.

In general I would also disable the "sp_" commands or at least secure them.

What this means is that you will have moved the course grained management of
the framework up to the container level.
e.g. start, stop, deploy, and undeploy are now decisions taken in the
appservers management console.

HTH
-Simon

"Roberto S
Re: Critical Problem with osgi console [message #89400 is a reply to message #89313] Fri, 01 June 2007 10:50 Go to previous messageGo to next message
Eclipse UserFriend
Thank you Simon, I'll launch my app without "-console", I don't need it
except for debuging purposes.

The only "strage" thing that I have is in launch.ini file where I changed:
osgi.contextClassLoaderParent=app
By
osgi.contextClassLoaderParent=ccl

I need parent classloader in order to get a DataSource resource from
tomcat using InitialContext, but I don't think that is was the cause.

Anyway, If I found more info I'll post here or If a found the real cause
I'll create a new bug entry.

Regards.
Roberto.


Simon Kaegi escribió:
> Bizarre. I've never seen that happen either.
> Perhaps another application is in someway messing with StdIn/StdOut ??
>
> Still I would definitely not suggest running with "-console" in any non-dev
> environment. e.g. change "commandline" in your web.xml
> If you absolutely need the console it would be slightly better if you at
> least used "-console 999" or some other port.
>
> In general I would also disable the "sp_" commands or at least secure them.
>
> What this means is that you will have moved the course grained management of
> the framework up to the container level.
> e.g. start, stop, deploy, and undeploy are now decisions taken in the
> appservers management console.
>
> HTH
> -Simon
>
> "Roberto Sá‡nchez" <roberto@autonomind.com> wrote in message
> news:f3p47o$dif$1@build.eclipse.org...
>> I forgot to say that I'm working in a RAP based app and I'm using the
>> latest CVS version of all involved projects.
>>
>> Regards.
>> Roberto.
>>
>> Roberto Sá‡nchez escribió:
>>> Hi I have an odd problem, which has happened in production environment,
>>> I've tested my app in Eclipse and in my local tomcat but I can't
>>> reproduce the error.
>>>
>>> The problem is that the console get crazy and writes the prompt all the
>>> time:
>>>
>>> [...]
>>> osgi>
>>> osgi>
>>> osgi>
>>> osgi>
>>> osgi>
>>> osgi>
>>> osgi>
>>> osgi>
>>> [...]
>>>
>>> Besides I'm using a shared hosting and now I have a invoice for abuse,
>>> because this problem has generated a gigant log file and CPU usage was of
>>> 90% during the problem.
>>>
>>> Any help will be welcome.
>>>
>>> Thanks in advance.
>>> Roberto.
>
>
Re: Critical Problem with osgi console [message #90508 is a reply to message #89400] Wed, 13 June 2007 15:22 Go to previous message
Eclipse UserFriend
This looks like a recent bug opened
https://bugs.eclipse.org/bugs/show_bug.cgi?id=192361

I do not know what is going on here because I do not think anything has
changed in 3.3 to cause this

Tom.
Previous Topic:HTTPS Jetty SSL
Next Topic:Problem exporting plugins from PDE
Goto Forum:
  


Current Time: Sun May 11 06:19:51 EDT 2025

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

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

Back to the top