7 Replies Latest reply: Apr 21, 2011 4:38 AM by 649153 RSS

    deployment issues java.io.IOException: [J2EE Deployment SPI:260]"

    674225
      I m using weblogic.Deployer to deploy webservice and getting this error

      java.io.IOException: [J2EE Deployment SPI:260080]Unable to define application install directory at '/tmp/WebService.war'. Directory could not be created or is a file.
      at weblogic.deploy.api.internal.utils.InstallDir.<init>(InstallDir.java:60)
      at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.upload(ServerConnectionImpl.java:624)
      at weblogic.deploy.api.spi.deploy.internal.BasicOperation.uploadFiles(BasicOperation.java:300)
      at weblogic.deploy.api.spi.deploy.internal.BasicOperation.execute(BasicOperation.java:385)
      at weblogic.deploy.api.spi.deploy.internal.BasicOperation.run(BasicOperation.java:169)
      at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.deploy(WebLogicDeploymentManagerImpl.java:369)
      at weblogic.deploy.api.tools.deployer.DeployOperation.execute(DeployOperation.java:47)
      at weblogic.deploy.api.tools.deployer.Deployer.perform(Deployer.java:145)
      at weblogic.deploy.api.tools.deployer.Deployer.runBody(Deployer.java:93)
      at weblogic.utils.compiler.Tool.run(Tool.java:158)
      at weblogic.utils.compiler.Tool.run(Tool.java:115)
      at weblogic.Deployer.run(Deployer.java:70)
      at weblogic.Deployer.main(Deployer.java:54)

      I tried to set different tmp dir location as "-Djava.io.tmpdir=${WL_DOMAIN_HOME}/tempdir", but still i get the same Error.

      Any thoughts/help, how to set the location while deploying using weblogic.Deployer.

      Thanks
      Kraz

      Edited by: user10687441 on Dec 5, 2008 4:57 PM