Uploaded image for project: 'JBoss Enterprise Application Platform 6'
  1. JBoss Enterprise Application Platform 6
  2. JBPAPP6-450

creation of new JBoss Messaging Queue via ProfileService ManagementView.applyTemplate(componentName, template) API sometimes fails with "Failed to process template" error with root cause of FileNotFoundException

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Out of Date
    • Affects Version/s: None
    • Fix Version/s: EAP 6.0.0 ER 4
    • Component/s: Other
    • Labels:
      None

      Description

      It appears to be due to spaces in the generated temp filename.

      Looks like for some reasons there are spaces in the temp file path, that may no
      be correctly handled.
      Exception happens in CreateChildResourceFacetDelegate:103

      managementView.applyTemplate(componentName, template);

      EAP 5.0.1 server log shows

      2010-06-04 11:49:51,253 DEBUG
      [org.jboss.profileservice.management.client.upload.StreamingDeploymentTarget]
      (WorkerThread#1
      [172.31.7.7:51719]) Begin distribute: names=[queue_MyQ-service.xml],
      copyContent=true,
      description=vfsfile:/var/folders/m9/m9pXAK2WHoyq22G2P9J8L++++TI/Tmp/JmsDestinationTemplate1027497348895621707-service.xml

      snert:~ hrupp$ ls
      /var/folders/m9/m9pXAK2WHoyq22G2P9J8L++++TI/Tmp/JmsDestinationTemplate1027497348895621707-service.xml
      ls:
      /var/folders/m9/m9pXAK2WHoyq22G2P9J8L++++TI/Tmp/JmsDestinationTemplate1027497348895621707-service.xml:
      No such file or directory
      snert:~ hrupp$ ls /var/folders/m9/m9pXAK2WHoyq22G2P9J8L++++TI/Tmp/
      25f6ca5f-128f808e80a--6c31567341063383340175.upload
      Jetty_0_0_0_0_50090_secondary____y6aanv
      3F2B3850-4B74-4B2F-94AD-5AC60CB8F42D MediaCache
      Jetty_0_0_0_0_50030_job____yn7qmk WebStartIcon_90470
      Jetty_0_0_0_0_50060_task____.2vcltf com.apple.notify.196.22
      Jetty_0_0_0_0_50070_hdfs____w2cu08 hsperfdata_hrupp
      Jetty_0_0_0_0_50075_datanode____hwtdwq sprite.jpg

      Here is the RHQ issue that depends on this bug: https://bugzilla.redhat.com/show_bug.cgi?id=598991

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                ips Ian Springer
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: