Results 1 to 4 of 4

Thread: How to enable Spring DM Server console?

  1. #1
    Join Date
    Dec 2008
    Location
    Chongwen Zone Beijing China
    Posts
    31

    Default How to enable Spring DM Server console?

    Spring DM Server use Equinox as the OSGi container, I can use telnet to connect the OSGi console after Spring DM Server startup, but I don't think is convenient for me to debug bundle or to view the bundle's status in Eclipse. I need to show the console.

    So how to enable it?

    Thanks a lot.

  2. #2
    Join Date
    Aug 2004
    Location
    Duesseldorf, Germany
    Posts
    1,210

    Default

    jiangyubao,

    as of today dm Server and the dm Server Tools don't have a Bundle or server console in Eclipse. You need to use the telnet console for now to get the kind of information you are looking for.

    We do have a UI console in the works that will allow you to take a close look at your bundle and their status within Eclipse. This should be available with an upcoming version of our tooling.

    Christian
    Christian Dupuis
    SpringSource, a division of VMware
    Lead, SpringSource Tools Team
    http://www.springsource.com
    http://twitter.com/cdupuis

  3. #3
    Join Date
    Dec 2008
    Location
    Chongwen Zone Beijing China
    Posts
    31

    Default

    I mean how to enable console of SpringSource DM Server.

    Without SpringSource DM Server, I know how to enable or disable Equinox's Console, for example:
    to enable console:
    $java -jar org.eclipse.osgi.version -console

    and to enable telnet console listen at 9999:
    $java -jar org.eclipse.osgi.version -console 9999

    So I think it will be easy for SpringSource DM Server to enable console since it use Equinox as OSGi container.

    Thanks!

  4. #4
    Join Date
    Aug 2004
    Location
    Duesseldorf, Germany
    Posts
    1,210

    Default

    jiangyubao,

    per default dm Server launches the Equinox console on port 2401. Just telnet into the console as you are used to do it.

    You can configure the console settings from the server.config file in the config sub directory:

    Code:
    	"osgiConsole": {
    	    "enabled": true,
    	    "port": 2401
    	}
    HTH

    Christian
    Christian Dupuis
    SpringSource, a division of VMware
    Lead, SpringSource Tools Team
    http://www.springsource.com
    http://twitter.com/cdupuis

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •