Results 1 to 10 of 10

Thread: Plans Files and Shared Repositories

  1. #1

    Exclamation Plans Files and Shared Repositories

    Here is my setup: a dm server hosting a repository will all my bundles in it; a seperate dm server which contains no bundles other than the ones out-of-box, but is configured to use the remote hosted repository; and a plan file with an artifact reference to one of the bundles in the hosted repository. Both dm server's are version 2.0.0.M2.

    If I copy the plan file to the second (in the above list) dm server's pickup directory I get the following error:

    Exception:
    java.lang.IllegalArgumentException: URI scheme is not "file"
    at java.io.File.<init>(File.java:366)
    at com.springsource.util.io.PathReference.<init>(Path Reference.java:56)
    at com.springsource.kernel.deployer.core.internal.Dep loyArea.copyToDeployArea(DeployArea.java:110)
    at com.springsource.kernel.deployer.core.module.Stand ardModuleData.<init>(StandardModuleData.java:91)
    at com.springsource.kernel.deployer.core.module.Abstr actModule.<init>(AbstractModule.java:87)
    at com.springsource.kernel.deployer.core.module.Stand ardModule.<init>(StandardModule.java:153)
    at com.springsource.kernel.deployer.core.module.Stand ardModuleFactory.create(StandardModuleFactory.java :99)
    at com.springsource.kernel.deployer.app.PlanApplicati on.createModules(PlanApplication.java:113)
    at com.springsource.kernel.deployer.app.PlanApplicati on.<init>(PlanApplication.java:91)
    at com.springsource.kernel.deployer.app.PlanApplicati onFactory.create(PlanApplicationFactory.java:109)
    at com.springsource.kernel.deployer.core.internal.Sta ndardApplicationDeployer.createDeployableArtefact( StandardApplicationDeployer.java:557)
    at com.springsource.kernel.deployer.core.internal.Sta ndardApplicationDeployer.deploy(StandardApplicatio nDeployer.java:391)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.springframework.aop.support.AopUtils.invokeJoi npointUsingReflection(AopUtils.java:307)
    at org.springframework.osgi.service.importer.support. internal.aop.ServiceInvoker.doInvoke(ServiceInvoke r.java:58)
    at org.springframework.osgi.service.importer.support. internal.aop.ServiceInvoker.invoke(ServiceInvoker. java:62)
    at org.springframework.aop.framework.ReflectiveMethod Invocation.proceed(ReflectiveMethodInvocation.java :172)
    at org.springframework.aop.support.DelegatingIntroduc tionInterceptor.doProceed(DelegatingIntroductionIn terceptor.java:131)
    at org.springframework.aop.support.DelegatingIntroduc tionInterceptor.invoke(DelegatingIntroductionInter ceptor.java:119)
    at org.springframework.aop.framework.ReflectiveMethod Invocation.proceed(ReflectiveMethodInvocation.java :172)
    at org.springframework.osgi.service.importer.support. LocalBundleContextAdvice.invoke(LocalBundleContext Advice.java:59)
    at org.springframework.aop.framework.ReflectiveMethod Invocation.proceed(ReflectiveMethodInvocation.java :172)
    at org.springframework.aop.support.DelegatingIntroduc tionInterceptor.doProceed(DelegatingIntroductionIn terceptor.java:131)
    at org.springframework.aop.support.DelegatingIntroduc tionInterceptor.invoke(DelegatingIntroductionInter ceptor.java:119)
    at org.springframework.aop.framework.ReflectiveMethod Invocation.proceed(ReflectiveMethodInvocation.java :172)
    at org.springframework.aop.framework.JdkDynamicAopPro xy.invoke(JdkDynamicAopProxy.java:202)
    at $Proxy26.deploy(Unknown Source)
    at com.springsource.kernel.deployer.hot.HotDeployment FileSystemListener.deploy(HotDeploymentFileSystemL istener.java:191)
    at com.springsource.kernel.deployer.hot.HotDeployment FileSystemListener.onChange(HotDeploymentFileSyste mListener.java:88)
    at com.springsource.util.io.FileSystemChecker.notifyL isteners(FileSystemChecker.java:182)
    at com.springsource.util.io.FileSystemChecker.check(F ileSystemChecker.java:145)
    at com.springsource.kernel.io.fs.WatchTask.run(WatchT ask.java:67)
    at java.lang.Thread.run(Thread.java:619)


    Here is the plan file:

    <?xml version="1.0" encoding="UTF-8"?>
    <plan name="service" version="2.0.0" scoped="true" atomic="true"
    xmlns="http://www.springsource.org/schema/dm-server/plan"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.springsource.org/schema/dm-server/plan
    http://www.springsource.org/schema/dm-server/plan/springsource-dm-server-plan.xsd">
    <artifact type="bundle" name="dao.hibernate" version="1.0.0"/>
    <artifact type="bundle" name="service.impl" version="1.0.0"/>
    </plan>

  2. #2
    Join Date
    Oct 2008
    Posts
    493

    Default

    This definitely looks like a bug, thanks for finding it.

    It would appear that the current plan support doesn't cope with artifacts from a remote repository. Such artifacts have an http uri scheme, rather than file as the code is expecting.

    Can you please open a JIRA?
    Andy Wilkinson
    SpringSource

  3. #3

  4. #4
    Join Date
    Oct 2008
    Posts
    493

    Default

    Thanks, Kieran.
    Andy Wilkinson
    SpringSource

  5. #5

    Default

    I just tried the same thing against dm Server 2.0.0.CI-B350, and now I'm getting the following exception:

    Code:
    com.springsource.kernel.serviceability.Assert$FatalAssertionException: Non-file URI: http://bundle-repository:8080/com.springsource.server.repository/hosted-repository/bundle/dao.hibernate/1.0.0.BUILD20090729175610
    	at com.springsource.kernel.serviceability.Assert.isTrue(Assert.java:77)
    	at com.springsource.kernel.install.artifact.internal.StandardStager.assertFileURI(StandardStager.java:101)
    	at com.springsource.kernel.install.artifact.internal.StandardStager.stageArtifact(StandardStager.java:60)
    	at com.springsource.kernel.install.artifact.internal.StandardInstallArtifactTreeInclosure.createInstallTree(StandardInstallArtifactTreeInclosure.java:94)
    	at com.springsource.kernel.deployer.core.internal.PlanResolver.createInstallArtifactTree(PlanResolver.java:74)
    	at com.springsource.kernel.deployer.core.internal.PlanResolver.operate(PlanResolver.java:63)
    	at com.springsource.kernel.install.pipeline.stage.normalize.internal.NormalizationStage.doProcessNode(NormalizationStage.java:52)
    	at com.springsource.kernel.install.pipeline.stage.AbstractPipelineStage.doProcessTree(AbstractPipelineStage.java:77)
    	at com.springsource.kernel.install.pipeline.stage.AbstractPipelineStage.process(AbstractPipelineStage.java:50)
    	at com.springsource.kernel.install.pipeline.internal.StandardPipeline.doProcessTree(StandardPipeline.java:71)
    	at com.springsource.kernel.install.pipeline.stage.AbstractPipelineStage.process(AbstractPipelineStage.java:50)
    	at com.springsource.kernel.deployer.core.internal.PipelinedApplicationDeployer.performInstall(PipelinedApplicationDeployer.java:264)
    	at com.springsource.kernel.deployer.core.internal.PipelinedApplicationDeployer.deploy(PipelinedApplicationDeployer.java:172)
    	at com.springsource.kernel.deployer.core.internal.StandardApplicationDeployer.deploy(StandardApplicationDeployer.java:367)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:597)
    	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
    	at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58)
    	at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62)
    	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
    	at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    	at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
    	at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59)
    	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
    	at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    	at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
    	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
    	at $Proxy35.deploy(Unknown Source)
    	at com.springsource.kernel.deployer.hot.HotDeploymentFileSystemListener.deploy(HotDeploymentFileSystemListener.java:191)
    	at com.springsource.kernel.deployer.hot.HotDeploymentFileSystemListener.deployIfNotDeployed(HotDeploymentFileSystemListener.java:202)
    	at com.springsource.kernel.deployer.hot.HotDeploymentFileSystemListener.onChange(HotDeploymentFileSystemListener.java:97)
    	at com.springsource.util.io.FileSystemChecker.notifyListeners(FileSystemChecker.java:182)
    	at com.springsource.util.io.FileSystemChecker.check(FileSystemChecker.java:145)
    	at com.springsource.kernel.io.fs.WatchTask.run(WatchTask.java:69)
    	at java.lang.Thread.run(Thread.java:619)
    Also noticed some issues with the remote resolver and ports. I tried localhost:9080 for the hostort, but it kept trying to connect to localhost:8080 for some reason.

  6. #6
    Join Date
    Oct 2008
    Posts
    493

    Default

    Apologies for the repeat problem.

    In the latest nightlies we're in the process of integrating a new and improved pipeline-based deployer. Support for plans with artifacts in a hosted repository should be working again before M4 is released. I've opened DMS-1258 to ensure that this is the case.

    The problem with configuring the HTTP port was introduced by the move to using the new OSGi Web Container Reference Implementation. It'll be fixed under DMS-1118.
    Andy Wilkinson
    SpringSource

  7. #7

    Default

    Thank you very much Andy. This is very exciting; I can't wait for release!

  8. #8

    Default

    Hi again, I tried this same setup with 2.0.0.RC1 and received the following exception:

    Code:
    [2010-01-04 15:27:21.605] system-artifacts             <DE0005I> Started bundle 'com.springsource.server.web.tomcat' version '2.0.0.RC1'. 
    [2010-01-04 15:27:21.941] start-signalling-1           <DE0005I> Started bundle 'com.springsource.osgi.webcontainer.tomcat' version '1.0.0.CI-102'. 
    [2010-01-04 15:27:21.963] start-signalling-1           <DE0005I> Started bundle 'com.springsource.server.web.core' version '2.0.0.RC1'. 
    [2010-01-04 15:27:21.969] start-signalling-1           <DE0005I> Started plan 'com.springsource.server.web' version '2.0.0'. 
    [2010-01-04 15:27:21.982] Thread-2                     <UR0001I> User region ready. 
    [2010-01-04 15:27:35.753] remote-repository            <RP0051I> The repository 'remote-repository' is available. 
    [2010-01-04 15:30:57.036] fs-watcher                   <HD0001I> Hot deployer processing 'CREATED' event for file 'cart.plan'. 
    [2010-01-04 15:30:57.171] fs-watcher                   <DE0000I> Installing plan 'cart.plan' version '1.2.0'. 
    [2010-01-04 15:31:03.674] fs-watcher                   <ME0003I> Dump 'serviceability/dump/2010-01-04-15-30-310' generated 
    [2010-01-04 15:31:03.678] fs-watcher                   <DE0002E> Installation of plan 'cart.plan' version '1.2.0' failed. java.lang.NullPointerException: null
    	at java.io.File.<init>(File.java:360)
    	at com.springsource.kernel.install.artifact.internal.StandardInstallArtifactTreeInclosure.createInstallTree(StandardInstallArtifactTreeInclosure.java:110)
    	at com.springsource.kernel.deployer.core.internal.PlanResolver.createInstallArtifactTree(PlanResolver.java:122)
    	at com.springsource.kernel.deployer.core.internal.PlanResolver.operate(PlanResolver.java:79)
    	at com.springsource.kernel.deployer.core.internal.PlanResolver.access$0(PlanResolver.java:71)
    	at com.springsource.kernel.deployer.core.internal.PlanResolver$1.visit(PlanResolver.java:65)
    	at com.springsource.util.common.ThreadSafeArrayListTree.visit(ThreadSafeArrayListTree.java:172)
    	at com.springsource.kernel.deployer.core.internal.PlanResolver.transform(PlanResolver.java:62)
    	at com.springsource.kernel.install.pipeline.stage.transform.internal.TransformationStage.doProcessTree(TransformationStage.java:64)
    	at com.springsource.kernel.install.pipeline.stage.AbstractPipelineStage.process(AbstractPipelineStage.java:50)
    	at com.springsource.kernel.install.pipeline.internal.StandardPipeline.doProcessTree(StandardPipeline.java:71)
    	at com.springsource.kernel.install.pipeline.internal.CompensatingPipeline.doProcessTree(CompensatingPipeline.java:81)
    	at com.springsource.kernel.install.pipeline.stage.AbstractPipelineStage.process(AbstractPipelineStage.java:50)
    	at com.springsource.kernel.install.pipeline.internal.StandardPipeline.doProcessTree(StandardPipeline.java:71)
    	at com.springsource.kernel.install.pipeline.stage.AbstractPipelineStage.process(AbstractPipelineStage.java:50)
    	at com.springsource.kernel.deployer.core.internal.PipelinedApplicationDeployer.driveInstallPipeline(PipelinedApplicationDeployer.java:277)
    	at com.springsource.kernel.deployer.core.internal.PipelinedApplicationDeployer.doInstall(PipelinedApplicationDeployer.java:160)
    	at com.springsource.kernel.deployer.core.internal.PipelinedApplicationDeployer.install(PipelinedApplicationDeployer.java:132)
    	at com.springsource.kernel.deployer.core.internal.PipelinedApplicationDeployer.deploy(PipelinedApplicationDeployer.java:196)
    	at com.springsource.kernel.deployer.hot.HotDeploymentFileSystemListener.deploy(HotDeploymentFileSystemListener.java:185)
    	at com.springsource.kernel.deployer.hot.HotDeploymentFileSystemListener.onChange(HotDeploymentFileSystemListener.java:89)
    	at com.springsource.util.io.FileSystemChecker.notifyListeners(FileSystemChecker.java:182)
    	at com.springsource.util.io.FileSystemChecker.check(FileSystemChecker.java:145)
    	at com.springsource.kernel.deployer.hot.WatchTask.run(WatchTask.java:69)
    	at java.lang.Thread.run(Thread.java:619)
    
    [2010-01-04 15:31:03.683] fs-watcher                   <DE0003E> Install failed for plan 'cart.plan' version '1.2.0'. 
    [2010-01-04 15:31:03.690] fs-watcher                   <HD0002E> Hot deploy failed for file 'cart.plan'. java.lang.NullPointerException: null
    	at java.io.File.<init>(File.java:360)
    	at com.springsource.kernel.install.artifact.internal.StandardInstallArtifactTreeInclosure.createInstallTree(StandardInstallArtifactTreeInclosure.java:110)
    	at com.springsource.kernel.deployer.core.internal.PlanResolver.createInstallArtifactTree(PlanResolver.java:122)
    	at com.springsource.kernel.deployer.core.internal.PlanResolver.operate(PlanResolver.java:79)
    	at com.springsource.kernel.deployer.core.internal.PlanResolver.access$0(PlanResolver.java:71)
    	at com.springsource.kernel.deployer.core.internal.PlanResolver$1.visit(PlanResolver.java:65)
    	at com.springsource.util.common.ThreadSafeArrayListTree.visit(ThreadSafeArrayListTree.java:172)
    	at com.springsource.kernel.deployer.core.internal.PlanResolver.transform(PlanResolver.java:62)
    	at com.springsource.kernel.install.pipeline.stage.transform.internal.TransformationStage.doProcessTree(TransformationStage.java:64)
    	at com.springsource.kernel.install.pipeline.stage.AbstractPipelineStage.process(AbstractPipelineStage.java:50)
    	at com.springsource.kernel.install.pipeline.internal.StandardPipeline.doProcessTree(StandardPipeline.java:71)
    	at com.springsource.kernel.install.pipeline.internal.CompensatingPipeline.doProcessTree(CompensatingPipeline.java:81)
    	at com.springsource.kernel.install.pipeline.stage.AbstractPipelineStage.process(AbstractPipelineStage.java:50)
    	at com.springsource.kernel.install.pipeline.internal.StandardPipeline.doProcessTree(StandardPipeline.java:71)
    	at com.springsource.kernel.install.pipeline.stage.AbstractPipelineStage.process(AbstractPipelineStage.java:50)
    	at com.springsource.kernel.deployer.core.internal.PipelinedApplicationDeployer.driveInstallPipeline(PipelinedApplicationDeployer.java:277)
    	at com.springsource.kernel.deployer.core.internal.PipelinedApplicationDeployer.doInstall(PipelinedApplicationDeployer.java:160)
    	at com.springsource.kernel.deployer.core.internal.PipelinedApplicationDeployer.install(PipelinedApplicationDeployer.java:132)
    	at com.springsource.kernel.deployer.core.internal.PipelinedApplicationDeployer.deploy(PipelinedApplicationDeployer.java:196)
    	at com.springsource.kernel.deployer.hot.HotDeploymentFileSystemListener.deploy(HotDeploymentFileSystemListener.java:185)
    	at com.springsource.kernel.deployer.hot.HotDeploymentFileSystemListener.onChange(HotDeploymentFileSystemListener.java:89)
    	at com.springsource.util.io.FileSystemChecker.notifyListeners(FileSystemChecker.java:182)
    	at com.springsource.util.io.FileSystemChecker.check(FileSystemChecker.java:145)
    	at com.springsource.kernel.deployer.hot.WatchTask.run(WatchTask.java:69)
    	at java.lang.Thread.run(Thread.java:619)
    Here is the plan file I used:

    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <plan name="cart.plan" version="1.2.0" scoped="false" atomic="true"
            xmlns="http://www.springsource.org/schema/dm-server/plan"
            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
            xsi:schemaLocation="
                http://www.springsource.org/schema/dm-server/plan 
                http://www.springsource.org/schema/dm-server/plan/springsource-dm-server-plan.xsd">
        <artifact type="bundle" name="cart.dao" version="[1.0.0, 2.0.0)"/>
        <artifact type="bundle" name="cart.service" version="[1.0.0, 2.0.0)"/>
        <artifact type="bundle" name="cart.web" version="[1.0.0, 2.0.0)"/>
    </plan>
    The same .plan file works with a watched repository, but not a remote.

  9. #9

    Default

    I should also mention that my host repository is running on an EC2 instance and my client dm server is not. Looking through the dump files I found this exception:

    Code:
    [2010-01-04 15:30:57.305] fs-watcher                   c.s.repository.internal.cacheing.cache.artifact.Downloader        Error accessing repository artifact java.net.UnknownHostException: ip-<removed>.ec2.internal
            at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
            at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
            at java.net.Socket.connect(Socket.java:525)
            at java.net.Socket.connect(Socket.java:475)
            at sun.net.NetworkClient.doConnect(NetworkClient.java:163)
            at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
            at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
            at sun.net.www.http.HttpClient.<init>(HttpClient.java:233)
            at sun.net.www.http.HttpClient.New(HttpClient.java:306)
            at sun.net.www.http.HttpClient.New(HttpClient.java:323)
            at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:860)
            at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:801)
            at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:726)
            at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1049)
            at com.springsource.repository.internal.cacheing.cache.artifact.Downloader.getArtifactInputStream(Downloader.java:104)
            at com.springsource.repository.internal.cacheing.cache.artifact.Downloader.downloadArtifact(Downloader.java:69)
            at com.springsource.repository.internal.cacheing.cache.artifact.StandardSingleArtifactCache.refresh(StandardSingleArtifactCache.java:139)
            at com.springsource.repository.internal.cacheing.cache.artifact.StandardSingleArtifactCache.getCachedUri(StandardSingleArtifactCache.java:94)
            at com.springsource.repository.internal.cacheing.cache.StandardRepositoryCache.getUri(StandardRepositoryCache.java:88)
            at com.springsource.repository.internal.cacheing.CacheingArtifactDescriptor.getUri(CacheingArtifactDescriptor.java:102)
            at com.springsource.kernel.install.artifact.internal.StandardInstallArtifactTreeInclosure.createInstallTree(StandardInstallArtifactTreeInclosure.java:105)
            at com.springsource.kernel.deployer.core.internal.PlanResolver.createInstallArtifactTree(PlanResolver.java:122)
            at com.springsource.kernel.deployer.core.internal.PlanResolver.operate(PlanResolver.java:79)
            at com.springsource.kernel.deployer.core.internal.PlanResolver.access$0(PlanResolver.java:71)
            at com.springsource.kernel.deployer.core.internal.PlanResolver$1.visit(PlanResolver.java:65)
            at com.springsource.util.common.ThreadSafeArrayListTree.visit(ThreadSafeArrayListTree.java:172)
            at com.springsource.kernel.deployer.core.internal.PlanResolver.transform(PlanResolver.java:62)
            at com.springsource.kernel.install.pipeline.stage.transform.internal.TransformationStage.doProcessTree(TransformationStage.java:64)
            at com.springsource.kernel.install.pipeline.stage.AbstractPipelineStage.process(AbstractPipelineStage.java:50)
            at com.springsource.kernel.install.pipeline.internal.StandardPipeline.doProcessTree(StandardPipeline.java:71)
            at com.springsource.kernel.install.pipeline.internal.CompensatingPipeline.doProcessTree(CompensatingPipeline.java:81)
            at com.springsource.kernel.install.pipeline.stage.AbstractPipelineStage.process(AbstractPipelineStage.java:50)
            at com.springsource.kernel.install.pipeline.internal.StandardPipeline.doProcessTree(StandardPipeline.java:71)
            at com.springsource.kernel.install.pipeline.stage.AbstractPipelineStage.process(AbstractPipelineStage.java:50)
            at com.springsource.kernel.deployer.core.internal.PipelinedApplicationDeployer.driveInstallPipeline(PipelinedApplicationDeployer.java:277)
            at com.springsource.kernel.deployer.core.internal.PipelinedApplicationDeployer.doInstall(PipelinedApplicationDeployer.java:160)
            at com.springsource.kernel.deployer.core.internal.PipelinedApplicationDeployer.install(PipelinedApplicationDeployer.java:132)
            at com.springsource.kernel.deployer.core.internal.PipelinedApplicationDeployer.deploy(PipelinedApplicationDeployer.java:196)
            at com.springsource.kernel.deployer.hot.HotDeploymentFileSystemListener.deploy(HotDeploymentFileSystemListener.java:185)
            at com.springsource.kernel.deployer.hot.HotDeploymentFileSystemListener.onChange(HotDeploymentFileSystemListener.java:89)
            at com.springsource.util.io.FileSystemChecker.notifyListeners(FileSystemChecker.java:182)
            at com.springsource.util.io.FileSystemChecker.check(FileSystemChecker.java:145)
            at com.springsource.kernel.deployer.hot.WatchTask.run(WatchTask.java:69)
            at java.lang.Thread.run(Thread.java:619)
    Which is odd, because in the repository config I'm setting it to:

    remote-repository.uri=http://ec2-<removed>.compute-1.amazonaws.com:8080/com.springsource.server.repository/hosted-repository

  10. #10

    Default

    Tried it from another EC2 instance and it worked. Any way that I use the Amazon EC2 supplied public DNS name?

Posting Permissions

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