osgi console [message #668547] |
Fri, 06 May 2011 03:57  |
Eclipse User |
|
|
|
I have a few questions, I searched the forum but I didn't find the answers. If there was talking about this, link would be helpful .
1. console
1.1. not recognizing commands always
osgi> ss
osgi> ss
ss
Framework is launched.
id State Bundle
0 ACTIVE org.eclipse.osgi_3.6.1.R36x_v20100806
After a few times typing ss, pressing enter, at one point, list of bundles will be shown, but not immediately at the first typing, not always. This is situation with all commands, not with just "ss".
1.2. listing bundles from pickup/user directory problem
I succeeded just once to see user bundles in osgi console, I belive these were the steps:
1--server with greenpages jars was started: startup.bat -Fosgi.console
2--fork telnet localhost 2402
(Started(telnet) in java.lang.ProcessImpl@780b28)
3--I opened new window of command prompt, and typed "telnet localhost 2402", and I was able to see, list greenpages bundles
In org.eclipse.virgo.kernel.userregion.properties I added:
osgi.console in inheritedFrameworkProperties (is that needed?) and as in instructions was suggested:
# osgi console support
osgi.console=2402
Now on 3-rd step:
Connecting To localhost...Could not open connection to the host, on port 2402: Connect failed
OS is windows 7, 32 bits, if that affects...
Any suggestion will be helpful,
Ivana
[Updated on: Fri, 06 May 2011 04:01] by Moderator
|
|
|
|
|
Re: osgi console [message #668558 is a reply to message #668557] |
Fri, 06 May 2011 04:42  |
Eclipse User |
|
|
|
Oh sorry, I missed that crucial point. You should not inherit the osgi.console property otherwise the kernel and user region will attempt to use the same console port.
|
|
|
Powered by
FUDForum. Page generated in 0.43466 seconds