Critical Problem with osgi console [message #89220] |
Fri, 01 June 2007 08:21  |
Eclipse User |
|
|
|
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 #89400 is a reply to message #89313] |
Fri, 01 June 2007 10:50   |
Eclipse User |
|
|
|
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.
>
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.04172 seconds