Announcement Announcement Module
No announcement yet.
Could not set the osgi framework location Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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.<
    at com.springsource.server.osgi.framework.equinox.Equ
    at com.springsource.server.kernel.bootstrap.Bootstrap .main(Bootstrap.jav
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAcces

    Any suggestions as to what I am doing wrong?

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

  • #2
    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
      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.


      • #4
        Thanks for the response.


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