Results 1 to 5 of 5

Thread: Could not set the osgi framework location

Hybrid View

  1. #1
    Join Date
    Feb 2007
    Posts
    4

    Default Could not set the osgi framework location

    I am a newbie the dm-server and have started out by installing the STS eclipse springsource-tool-suite-2.1.0.SR01-e3.5-win32 package.

    This installed for me a dm-server-1.0.2.SR02 server.

    I am running the 1.6.0_14 jdk

    I seem to be able to start this server just fine inside the eclipse STS tooling but I am having trouble deploying my first simple war project to it.

    So I decided to start the dm-server manually so I could go through a manual deployment process. However on launching the startup.bat (on windows)
    I get the following error

    C:\Program Files\springsource\dm-server-1.0.2.SR02\bin>startup.bat
    [2009-10-07 09:23:14.005] main <SPKB0001I> Server starting.
    [2009-10-07 09:23:14.193] main <SPKB0002E> Start failed:
    java.lang.IllegalStateException: Could not set the osgi framework location
    at com.springsource.server.osgi.framework.equinox.Equ inoxOsgiFramework.<
    init>(EquinoxOsgiFramework.java:115)
    at com.springsource.server.osgi.framework.equinox.Equ inoxOsgiLauncher.st
    art(EquinoxOsgiLauncher.java:52)
    at com.springsource.server.kernel.bootstrap.Bootstrap .main(Bootstrap.jav
    a:67)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAcces
    sorImpl.java:25)
    ....


    Any suggestions as to what I am doing wrong?

    --Keith
    Last edited by kwillard; Oct 7th, 2009 at 10:45 AM. Reason: incomplete

  2. #2
    Join Date
    Feb 2007
    Posts
    4

    Default

    I did download the discrete springsource-dm-server-ee-1.0.2.RELEASE package and when launching its startup.bat did not see this error.

  3. #3
    Join Date
    Oct 2008
    Location
    Winchester, UK
    Posts
    535

    Default

    It sounds like there's something a bit unusual about your STS installation. We've had problems with long path names on Windows in the past, so I recommend putting the STS installation directly in C:\.

    Of course, you can use STS to work with the externally installed dm Server if you simply want to get on and forget about the dm Server that came with STS.
    Glyn Normington
    SpringSource

  4. #4
    Join Date
    Feb 2007
    Posts
    4

    Default

    Thanks for the response.

  5. #5
    Join Date
    Feb 2007
    Posts
    4

    Smile

    That did fix that issue and it also fixed a problem I was having with deploying the example bundles to the dm server.

Posting Permissions

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