How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!
While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.
legacy-article
learn-legacy-article-disclaimer-text
問題
文字列「-ext」を含むライセンス XML ファイルを展開すると、次のようなエラーが表示されます。
12:28:30,346 INFO [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][BaseDeployer:863] Deploying license-portalproduction-extension-6.2ee-test.xml Expanding: /home/user1/liferay/bundles/licensetest/liferay-portal-6.2-ee-sp9/deploy/license-portalproduction-extension-6.2ee-test.xml into /home/user1/liferay/bundles/licensetest/liferay-portal-6.2-ee-sp9/tomcat-7.0.42/temp/20150318122830347 12:28:30,376 ERROR [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][AutoDeployDir:220] com.liferay.portal.kernel.deploy.auto.AutoDeployException: Error while expanding /home/user1/liferay/bundles/licensetest/liferay-portal-6.2-ee-sp9/deploy/license-portalproduction-extension-6.2ee-test.xml_java.io.IOException: Negative seek offset com.liferay.portal.kernel.deploy.auto.AutoDeployException: Error while expanding /home/user1/liferay/bundles/licensetest/liferay-portal-6.2-ee-sp9/deploy/license-portalproduction-extension-6.2ee-test.xml_java.io.IOException: Negative seek offset at com.liferay.portal.tools.deploy.BaseDeployer.autoDeploy(BaseDeployer.java:216) at com.liferay.portal.deploy.auto.ThreadSafeAutoDeployer.autoDeploy(ThreadSafeAutoDeployer.java:36) at com.liferay.portal.deploy.auto.ExtAutoDeployListener.deploy(ExtAutoDeployListener.java:54) at com.liferay.portal.kernel.deploy.auto.AutoDeployDir.deploy(AutoDeployDir.java:50) at com.liferay.portal.kernel.deploy.auto.AutoDeployDir.processFile(AutoDeployDir.java:211) at com.liferay.portal.kernel.deploy.auto.AutoDeployDir.scanDirectory(AutoDeployDir.java:275) at com.liferay.portal.kernel.deploy.auto.AutoDeployScanner.run(AutoDeployScanner.java:58) Caused by: Error while expanding /home/user1/liferay/bundles/licensetest/liferay-portal-6.2-ee-sp9/deploy/license-portalproduction-extension-6.2ee-test.xml_java.io.IOException: Negative seek offset at org.apache.tools.ant.taskdefs.Expand.expandFile(Expand.java:192) at org.apache.tools.ant.taskdefs.Expand.execute(Expand.java:132) at com.liferay.util.ant.ExpandTask.expand(ExpandTask.java:33) at com.liferay.portal.tools.deploy.BaseDeployer.deployFile(BaseDeployer.java:1062) at com.liferay.portal.tools.deploy.BaseDeployer.deployFile(BaseDeployer.java:996) at com.liferay.portal.tools.deploy.BaseDeployer.autoDeploy(BaseDeployer.java:213) ... 6 more Caused by: java.io.IOException: Negative seek offset at java.io.RandomAccessFile.seek(Native Method) at org.apache.tools.zip.ZipFile.positionAtCentralDirectory(ZipFile.java:467) at org.apache.tools.zip.ZipFile.populateFromCentralDirectory(ZipFile.java:313) at org.apache.tools.zip.ZipFile.<init>(ZipFile.java:185) at org.apache.tools.ant.taskdefs.Expand.expandFile(Expand.java:170) ... 11 more 12:28:30,377 INFO [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][AutoDeployDir:224] Add license-portalproduction-extension-6.2ee-test.xml to the blacklist