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

EAP 5 does not support fetching http resource for deployment

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: EAP_EWP 5.1.2
    • Fix Version/s: EAP_EWP 5.3.0.ER1
    • Component/s: Web
    • Labels:
      None
    • Steps to Reproduce:
      Hide

      Configure URI as

      <property name="applicationURIs">
      <list elementClass="java.net.URI">
      <value>${jboss.server.home.url}deploy</value>
      <value>http://www.random.com/resource</value>
      </list>
      </property>

      Show
      Configure URI as <property name="applicationURIs"> <list elementClass="java.net.URI"> <value>${jboss.server.home.url}deploy</value> <value> http://www.random.com/resource </value> </list> </property>
    • Affects:
      Compatibility/Configuration
    • Docs QE Status:
      NEW

      Description

      Unlike EAP 4.x, EAP 5 does not support deployment of http resources.

      The following exception is thrown when attempting to deploy http resources

      2012-02-15 17:43:05,370 ERROR [org.jboss.system.server.profileservice.repository.ScopedProfileServiceController] Error installing to Create: name=ProfileKey@115cca9[domain=default, server=default, name=applications] state=Configured mode=On Demand requiredState=Installed
      java.lang.reflect.InvocationTargetException
      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.jboss.system.server.profileservice.repository.AbstractProfileLifeCycleAction.invoke(AbstractProfileLifeCycleAction.java:97)
      at org.jboss.system.server.profileservice.repository.AbstractProfileLifeCycleAction.invoke(AbstractProfileLifeCycleAction.java:77)
      .. .. ..

      Caused by: java.io.IOException: No context factory for http://www.random.com/resource
      at org.jboss.virtual.VFS.getVFS(VFS.java:200)
      at org.jboss.virtual.VFS.createNewRoot(VFS.java:228)
      at org.jboss.virtual.VFS.getRoot(VFS.java:244)
      at org.jboss.system.server.profileservice.repository.AbstractVFSProfileSource.getCachedVirtualFile(AbstractVFSProfileSource.java:353)
      at org.jboss.system.server.profileservice.repository.BasicDeploymentRepository.load(BasicDeploymentRepository.java:114)
      at org.jboss.system.server.profile.repository.AbstractProfile.create(AbstractProfile.java:158)
      ... 22 more

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  rmaucher Remy Maucherat
                  Reporter:
                  lakagwu Lami Akagwu
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: