1 Reply Latest reply on Jul 19, 2004 3:36 PM by 666705

    Server fails to deploy application due to Long Path

    3004

      It seems that on an NT box if the path is too long (? chars) the server cannot
      find the files necessary to deploy.

      Has this been bug been fixed in 8.1 SP3? If not, is there some kind of workaround
      other than reinstalling 8.1 SP2 in a directory structure that has a much shorter
      name than I'm currently using?

      java.io.IOException: There are no more files
      at java.io.WinNTFileSystem.canonicalize(Native Method)
      at java.io.File.getCanonicalPath(File.java:513)
      at weblogic.utils.jars.ManifestEntry.getName(ManifestEntry.java:136)
      at weblogic.utils.jars.Manifest.addEntry(Manifest.java:65)
      at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
      va:326)
      at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
      va:322)
      at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
      va:322)
      at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
      va:322)
      at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
      va:322)
      at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
      va:322)
      at weblogic.utils.jars.JarFileObject.makeJar(JarFileObject.java:373)
      at weblogic.utils.jars.RandomAccessJarFile.save(RandomAccessJarFile.java
      :214)
      at weblogic.utils.jars.RandomAccessJarFile.close(RandomAccessJarFile.jav
      a:225)
      at weblogic.utils.classloaders.ExtractionHelper.resolveManifestName(Extr
      actionHelper.java:491)
      at weblogic.utils.classloaders.ExtractionHelper.extractClassFiles(Extrac
      tionHelper.java:238)
      at weblogic.servlet.internal.WebAppServletContext.extractClassFiles(WebA
      ppServletContext.java:5129)
      at weblogic.servlet.internal.WebAppServletContext.setDocroot(WebAppServl
      etContext.java:5001)
      at weblogic.servlet.internal.WebAppServletContext.init(WebAppServletCont
      ext.java:542)
      at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletCo
      ntext.java:493)
      at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:628)
      at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:626)

      at weblogic.j2ee.J2EEApplicationContainer.prepareWebModule(J2EEApplicati
      onContainer.java:3011)
      at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplication
      Container.java:1532)
      at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContain
      er.java:1188)
      at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContain
      er.java:1031)
      at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.
      prepareContainer(SlaveDeployer.java:2602)
      at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createCon
      tainer(SlaveDeployer.java:2552)
      at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(S
      laveDeployer.java:2474)
      at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(Sla
      veDeployer.java:798)
      at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDepl
      oyer.java:507)
      at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDep
      loyer.java:465)
      at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHan
      dler.java:25)
      at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
      at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
      <Jul 14, 2004 2:53:11 PM EDT> <Warning> <Deployer> <BEA-149004> <Failures were
      d
      etected while initiating Deploy task for application WebDemoPortalApp.>
      <Jul 14, 2004 2:53:11 PM EDT> <Error> <Deployer> <BEA-149201> <Failed to complet
      e the deployment task with ID 0 for the application WebDemoPortalApp.
      java.lang.InternalError: IO error while trying to compute name from: C:\DEVELO~1
      \APPSER~1\bea81sp2\USER_P~1\domains\WEBDEM~1\.\portalServer\.wlnotdelete\extract
      \portalServer_WebDemoPortalApp_WebDemoPortalWebPrj\jarfiles\WEB-INF\lib\jar7718\
      com\collabraspace\webapps\util\portal\PortletUrlHelper$AcceptHostnameVerifier.cl
      ass
      at weblogic.utils.jars.ManifestEntry.getName(ManifestEntry.java:148)
      at weblogic.utils.jars.Manifest.addEntry(Manifest.java:65)
      at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
      va:326)
      at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
      va:322)
      at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
      va:322)
      at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
      va:322)
      at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
      va:322)
      at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
      va:322)
      at weblogic.utils.jars.JarFileObject.makeJar(JarFileObject.java:373)
      at weblogic.utils.jars.RandomAccessJarFile.save(RandomAccessJarFile.java
      :214)
      at weblogic.utils.jars.RandomAccessJarFile.close(RandomAccessJarFile.jav
      a:225)
      at weblogic.utils.classloaders.ExtractionHelper.resolveManifestName(Extr
      actionHelper.java:491)
      at weblogic.utils.classloaders.ExtractionHelper.extractClassFiles(Extrac
      tionHelper.java:238)
      at weblogic.servlet.internal.WebAppServletContext.extractClassFiles(WebA
      ppServletContext.java:5129)
      at weblogic.servlet.internal.WebAppServletContext.setDocroot(WebAppServl
      etContext.java:5001)
      at weblogic.servlet.internal.WebAppServletContext.init(WebAppServletCont
      ext.java:542)
      at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletCo
      ntext.java:493)
      at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:628)
      at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:626)

      at weblogic.j2ee.J2EEApplicationContainer.prepareWebModule(J2EEApplicati
      onContainer.java:3011)
      at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplication
      Container.java:1532)