Announcement Announcement Module
Collapse
No announcement yet.
Could not set the osgi framework location Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • 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.<
    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, 11: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.

    Comment


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

      Comment


      • #4
        Thanks for the response.

        Comment


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

          Comment

          Working...
          X