Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Virgo » osgi console
osgi console [message #668547] Fri, 06 May 2011 03:57 Go to next message
Ivana Missing name is currently offline Ivana Missing name
Messages: 14
Registered: December 2010
Junior Member
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 Smile.

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]

Report message to a moderator

Re: osgi console [message #668548 is a reply to message #668547] Fri, 06 May 2011 04:10 Go to previous messageGo to next message
Glyn Normington is currently offline Glyn Normington
Messages: 1222
Registered: July 2009
Senior Member
I am not aware of anyone else with similar problems. Please could you tell us about your environment, e.g. operating system, as there may be something unusual about it.
Re: osgi console [message #668557 is a reply to message #668548] Fri, 06 May 2011 04:40 Go to previous messageGo to next message
Ivana Missing name is currently offline Ivana Missing name
Messages: 14
Registered: December 2010
Junior Member
Sorry for taking your time,
as I said, I added in inheritedFrameworkProperties (userregion.properties file) "osgi.console" property, and that causes the problem.

Thank you for your time
Re: osgi console [message #668558 is a reply to message #668557] Fri, 06 May 2011 04:42 Go to previous message
Glyn Normington is currently offline Glyn Normington
Messages: 1222
Registered: July 2009
Senior Member
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.
Previous Topic:snaps session sharing
Next Topic:Snap Context Path from JSP
Goto Forum:
  


Current Time: Fri Jul 25 05:17:33 EDT 2014

Powered by FUDForum. Page generated in 0.02337 seconds