Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 322626

Summary: Equinox Console Extension not available
Product: [RT] Virgo Reporter: chrisatpinguin <c.wiejack>
Component: unknownAssignee: Steve Powell <zteve.powell>
Status: CLOSED FIXED QA Contact:
Severity: trivial    
Priority: P3 CC: k2eric, zteve.powell
Version: unspecified   
Target Milestone: 2.1.0.M05-incubation   
Hardware: PC   
OS: Linux   
Whiteboard:

Description chrisatpinguin CLA 2010-08-13 04:23:22 EDT
Hi,

I discovered that the equinox console extension is not available on port 2401 (described in the docu http://www.eclipse.org/virgo/documentation/virgo-documentation-2.1.0.M02-incubation/docs/virgo-user-guide/htmlsingle/virgo-user-guide.html#admin-shell)

It seems that there is no console available at all. 

Server Info:
Java VM Description  	Sun Microsystems Inc.(Java HotSpot(TM) Server VM) - 16.3-b01
Java Version 	Sun Microsystems Inc. - 1.6.0_20
Operating System 	Linux(i386) - 2.6.32-23-generic-pae
Server Time Zone 	Europe/Berlin
Virgo Server Version 	2.1.0.M03-incubation
Comment 1 Steve Powell CLA 2010-08-19 06:45:15 EDT
Thank you for reporting this bug.

The documentation contains some errors: first of all (for your problem) it doesn't mention that the relevant property (set in the file org.eclipse.virgo.kernel.userregion.properties in config/) is osgi.console=2401, and we currently ship with this commented out -- that is, with the osgi console >not< enabled.

Simply uncomment this to enable the osgi console, and the extensions should be there automatically.

Secondly, the doc also refers to the shell (and shell.port parameters).  The shell was part of dm Server, and has not survived the transition to an Eclipse Project (for various dependency reasons).

Therefore we need to correct that part of the documentation.

(The shell commands themselves are moved to being osgi extensions -- those now accessed by the vsh command.)

Please can you respond here if I have correctly identified the problem, and we will keep this Bugzilla open (possibly renaming it) to track the documentation errors?
Comment 2 chrisatpinguin CLA 2010-08-19 10:07:35 EDT
Hi,

yes you correctly identified the problem. After enabling the line in the config the console was available. 

Thx for help
Comment 3 Steve Powell CLA 2010-09-17 06:52:51 EDT
I have made some changes to the user-guide to explain about the Equinox console and enabling it.

That should address this issue -- thank you for raising it.
Comment 4 Steve Powell CLA 2010-09-17 06:54:08 EDT
Changes to user-guide made in org.eclipse.virgo.documentation.git under commit 2aff3f...
Comment 5 Glyn Normington CLA 2010-09-27 08:34:33 EDT
RC1 is planned instead of milestone 5.