Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-8743

Cannot deploy a webapp referencing a utility project using the Deploy Only server

XMLWordPrintable

    • Hide
      • create a deploy only server pointing to AS7 deployment folder
      • create a web project
      • create a java project
      • add the java project to the web project via the deployment assembly page
      • on the server view, choose the deploy only server, add the web project
      • a new error appears in the errors view
      Show
      create a deploy only server pointing to AS7 deployment folder create a web project create a java project add the java project to the web project via the deployment assembly page on the server view, choose the deploy only server, add the web project a new error appears in the errors view
    • I cannot reproduce this bug. I suspect strongly the user's Deploy root folder, provided by himself, did not actually exist, either via a typo or something.

      While testing maven projects deployment on AS7 via the deploy only server, I was struck by the following error : "Full publish failed for module test-util"

      java.io.IOException: Aucun fichier ou dossier de ce type
      	at java.io.UnixFileSystem.createFileExclusively(Native Method)
      	at java.io.File.checkAndCreate(File.java:1704)
      	at java.io.File.createTempFile(File.java:1792)
      	at org.jboss.ide.eclipse.as.core.publishers.AbstractServerToolsPublisher.fullPublish(AbstractServerToolsPublisher.java:194)
      	at org.jboss.ide.eclipse.as.core.publishers.AbstractServerToolsPublisher.publishModule(AbstractServerToolsPublisher.java:105)
      	at org.jboss.ide.eclipse.as.core.publishers.AbstractPublishMethod.publishModule(AbstractPublishMethod.java:77)
      	at org.jboss.ide.eclipse.as.core.server.internal.DeployableServerBehavior.publishModule(DeployableServerBehavior.java:67)
      	at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModule(ServerBehaviourDelegate.java:1029)
      	at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModules(ServerBehaviourDelegate.java:1119)
      	at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:952)
      	at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:775)
      	at org.eclipse.wst.server.core.internal.Server.publishImpl(Server.java:2893)
      	at org.eclipse.wst.server.core.internal.Server$PublishJob.run(Server.java:337)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
      
      

      IOException message says "No file or folder of this type".

      I managed to reproduce the problem using simple, stock WTP projects. As a matter of fact, when a web project references a utility project, then the latter cannot be deployed.
      Web project is deployed correctly to the deployment directory, so this is not a rights issue. If I remove the utility project from the equation, there's no error.

            rob.stryker Rob Stryker (Inactive)
            fbricon@redhat.com Fred Bricon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: