Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-3580

RESTEasy examples, resteasy-springMVC: Invalid URL in README.txt

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • EWP 5.0.0.CR3
    • EWP 5.0.0.CR1, EWP 5.0.0.CR2
    • Documentation, RESTEasy
    • None
    • Documentation (Ref Guide, User Guide, etc.)

      RESTEasy example: resteasy-springMVC

      README.txt contains following URL in example instructions:

      http://localhost:9095/contacts

      but should be:

      http://localhost:8080/contacts

      Jetty server is configured to listen on the port 8080. See Maven log: 2009-10-23 15:07:28.354::INFO: Started SelectChannelConnector@0.0.0.0:8080

      This is a standalone example which works, but if you take prepared war and try to deploy war to the EWP you get following exception:
      org.springframework.beans.factory.BeanDefinitionStoreException: I/O failure during classpath scanning; nested exception is java.util.zip.ZipException: error in opening zip file
      org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.findCandidateComponents(ClassPathScanningCandidateComponentProvider.java:222)
      org.springframework.context.annotation.ClassPathBeanDefinitionScanner.doScan(ClassPathBeanDefinitionScanner.java:201)
      org.springframework.context.annotation.ComponentScanBeanDefinitionParser.parse(ComponentScanBeanDefinitionParser.java:84)
      org.springframework.beans.factory.xml.NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:69)

              rhn-ecs-lbailey Laura Bailey
              pslavice@redhat.com Pavel Slavicek
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: