Announcement Announcement Module
Collapse
No announcement yet.
Can't deploy bundles to dm Server running in STS 2.3 Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Can't deploy bundles to dm Server running in STS 2.3

    I'm trying to run dm 2.0.0.RELEASE within STS 2.3.0.RELEASE as outlined in the Greenpages 2.1 sample. I can deploy the sample manually into the pickup directory and the app runs without problems, but when I try to deploy it in STS all bundles show "version 0.0.0" and it fails to deploy with the following in the Eclipse console:

    [2010-01-19 20:04:09.701] TCP Connection(18)-127.0.0.1 <DE0000I> Installing par 'greenpages-solution' version '0.0.0'.
    [2010-01-19 20:04:09.716] TCP Connection(18)-127.0.0.1 <DE0000I> Installing bundle 'greenpages-solution-0-greenpages.app-solution' version '0.0.0'.
    [2010-01-19 20:04:09.732] TCP Connection(18)-127.0.0.1 <DE0000I> Installing bundle 'greenpages-solution-0-greenpages.db-solution' version '0.0.0'.
    [2010-01-19 20:04:09.739] TCP Connection(18)-127.0.0.1 <DE0000I> Installing bundle 'greenpages-solution-0-greenpages.jpa-solution' version '0.0.0'.
    [2010-01-19 20:04:09.745] TCP Connection(18)-127.0.0.1 <DE0000I> Installing bundle 'greenpages.web-solution' version '0.0.0'.
    [2010-01-19 20:04:12.425] TCP Connection(18)-127.0.0.1 <ME0003I> Dump 'serviceability/dump/2010-01-19-20-04-755' generated
    [2010-01-19 20:04:12.442] TCP Connection(18)-127.0.0.1 <DE0002E> Installation of par 'greenpages-solution' version '0.0.0' failed. java.lang.UnsupportedOperationException: Cannot open an input stream for '/Applications/springsource/springsource-dm-server-2.0.0.RELEASE/work/com.springsource.kernel.deployer_2.0.0.RELEASE/staging/greenpages-solution-0/bundle/greenpages-solution-0-greenpages.app-solution/0.0.0/greenpages.app-solution.jar/META-INF/MANIFEST.MF' as it does not exist

    Looking at the file path mentioned, indeed that file does not exist. There are no files in any of the <server>/work/com.springsource.kernel.deployer_2.0.0.RELEASE/staging/** directories at all, just a lot of empty directories.

    I'm also trying to deploy my own bundles, and they all come up with version 0.0.0 and missing manifest entries, and no services deployed. Looking into the <server>/work directory again, I see only empty directories, no deployed files (I'm not sure if I'm supposed to see any deployed files here, just commenting on what I see).

    I even created a Spring Template Shared Service Bundle project, and when I try to deploy that it shows up as version 0.0.0 and has missing manifest entries.

    Did I miss a step somewhere in setting up the dm server in STS?

    -- m@

  • #2
    I moved my dm server directory onto the same hard drive partition as my STS workspace, and the problem went away. Not sure if the partitions were the cause of the problem or not, but in my original setup, I add the dm server directory in

    /Applications/springsource/springsource-dm-server-2.0.0.RELEASE

    (this is an OS 10.6 box) while my workspace is at

    /Volumes/Renton/Users/matt/ws/solarnet-sts

    my main hard drive is split into two partitions, so I wonder if this somehow confused the deployment?

    Comment


    • #3
      Same problem with me on Windows XP. Virgo and workspace are on the same partition. Any ideas...?

      Comment


      • #4
        Same problem!
        Is there an solution now?

        Comment


        • #5
          I would recommend to ask these questions at the Virgo users forum at Eclipse:
          http://www.eclipse.org/forums/index....ead&frm_id=159

          -Martin

          Comment

          Working...
          X