[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-8743) Cannot deploy a webapp referencing a utility project using the Deploy Only server

Fred Bricon (JIRA) jira-events at lists.jboss.org
Mon Apr 18 13:36:33 EDT 2011


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

                 Key: JBIDE-8743
                 URL: https://issues.jboss.org/browse/JBIDE-8743
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: JBossAS
    Affects Versions: 3.2.0.Final
         Environment: eclipse.buildId=M20110210-1200
java.version=1.6.0_24
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=fr_FR
Framework arguments:  -product org.eclipse.epp.package.jee.product
Command-line arguments:  -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.jee.product

JBossAS Tools 2.2.0.v20110216-1758-H51-GA
            Reporter: Fred Bricon
            Assignee: Rob Stryker
         Attachments: test-web.war

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"

{noformat}
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)

{noformat}

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.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list