Uploaded image for project: 'Pluto'
  1. Pluto
  2. PLUTO-241

maven deploy fails when http://castor.org is not reachable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 1.0.1
    • unspecified
    • deployer
    • None

    Description

      Today http://castor.org was down, and when I attempted to deploy a portlet using 'maven deploy' I crashed and burned:
      [esm@clue pluto-descriptor-fixes]$ tomcat clean msel-eres-webapp ; maven -Ddeploy=/home/esm/workspace/EreservesPortlet/msel-eres-webapp/target/msel-eres-webapp.war deploy
      Done.
      __ __

      \/ __ Apache_ ___
        \/ / ` \ V / -) ' \ ~ intelligent projects ~
      _   _,_ _/___ _ _ v. 1.0.2

      build:start:

      deploy:
      [echo]
      ************************************************

      • Please ensure that a fullDeployment has *
      • previously been run if this deploy attempt *
      • fails. It is the fullDeployment that *
      • deploys pluto container and portal driver. *
        ************************************************

      Starting the reactor...
      Our processing order:
      Pluto Portlet Deployment
      +----------------------------------------

      Deploy a portlet Pluto Portlet Deployment
      Memory: 2M/4M
      +----------------------------------------
      build:start:

      deploy:
      [java] <VERBOSE> Source WebApp: /home/esm/workspace/EreservesPortlet/msel-eres-webapp/target/msel-eres-webapp.war
      [java] <VERBOSE> Destination: /home/esm/tc55/webapps
      [java] <VERBOSE> Portal WebApp: /home/esm/tc55/webapps/pluto
      [java] <VERBOSE> Portlet Context: /home/esm/tc55/webapps/msel-eres-webapp
      [java] java.net.ConnectException: Connection refused
      [java] at java.net.PlainSocketImpl.socketConnect(Native Method)
      [java] at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
      [java] at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
      [java] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
      [java] at java.net.Socket.connect(Socket.java:452)
      [java] at java.net.Socket.connect(Socket.java:402)
      [java] at sun.net.NetworkClient.doConnect(NetworkClient.java:139)
      [java] at sun.net.www.http.HttpClient.openServer(HttpClient.java:402)
      [java] at sun.net.www.http.HttpClient.openServer(HttpClient.java:618)
      [java] at sun.net.www.http.HttpClient.<init>(HttpClient.java:306)
      [java] at sun.net.www.http.HttpClient.<init>(HttpClient.java:267)
      [java] at sun.net.www.http.HttpClient.New(HttpClient.java:339)
      [java] at sun.net.www.http.HttpClient.New(HttpClient.java:320)
      [java] at sun.net.www.http.HttpClient.New(HttpClient.java:315)
      [java] at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:521)
      [java] at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:498)
      [java] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:626)
      [java] at java.net.URL.openStream(URL.java:913)
      [java] at org.exolab.castor.util.DTDResolver.resolveEntity(DTDResolver.java:249)
      [java] at org.apache.xerces.util.EntityResolverWrapper.resolveEntity(Unknown Source)
      [java] at org.apache.xerces.impl.XMLEntityManager.resolveEntity(Unknown Source)
      [java] at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown Source)
      [java] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
      [java] at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
      [java] at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
      [java] at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      [java] at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
      [java] at org.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:605)
      [java] at org.exolab.castor.mapping.Mapping.loadMappingInternal(Mapping.java:532)
      [java] at org.exolab.castor.mapping.Mapping.loadMapping(Mapping.java:435)
      [java] at org.apache.pluto.descriptors.services.impl.AbstractWebAppDescriptorService.getCastorMapping(AbstractWebAppDescriptorService.java:134)
      [java] at org.apache.pluto.descriptors.services.impl.AbstractCastorDescriptorService.readInternal(AbstractCastorDescriptorService.java:66)
      [java] at org.apache.pluto.descriptors.services.impl.AbstractWebAppDescriptorService.read(AbstractWebAppDescriptorService.java:77)
      [java] at org.apache.pluto.driver.deploy.Deploy.updateDescriptors(Deploy.java:142)
      [java] at org.apache.pluto.driver.deploy.Deploy.deploy(Deploy.java:130)
      [java] at org.apache.pluto.driver.deploy.CLI.main(CLI.java:59)
      [java] Exception in thread "main" java.io.IOException: Nested error: java.net.ConnectException: Connection refused
      [java] at org.apache.pluto.descriptors.services.impl.AbstractCastorDescriptorService.readInternal(AbstractCastorDescriptorService.java:77)
      [java] at org.apache.pluto.descriptors.services.impl.AbstractWebAppDescriptorService.read(AbstractWebAppDescriptorService.java:77)
      [java] at org.apache.pluto.driver.deploy.Deploy.updateDescriptors(Deploy.java:142)
      [java] at org.apache.pluto.driver.deploy.Deploy.deploy(Deploy.java:130)
      [java] at org.apache.pluto.driver.deploy.CLI.main(CLI.java:59)
      [java] [ERROR] Java Result: 1
      BUILD SUCCESSFUL
      Total time: 3 seconds
      Finished at: Thu May 18 14:54:16 EDT 2006

      Attachments

        1. PLUTO-214.patch
          10 kB
          Elliot Metsger

        Activity

          People

            Unassigned Unassigned
            emetsger Elliot Metsger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: