Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
6.1.1 CE GA2, 6.1.20 EE GA2
-
Websphere
-
6.1.x
-
Committed
-
5
Description
When ${auto.deploy.websphere.dest.dir} folder does not exist, plugin deployment fails with the following exception:
[6/12/13 10:42:04:313 GMT] 00000032 SystemOut O Building war: D:\IBM\WebSphere7\AppServer\profiles\liferay\wsadmin-deploy\batman-portlet.war [6/12/13 10:42:04:315 GMT] 00000032 SystemOut O 10:42:04,315 ERROR [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][AutoDeployDir:218] com.liferay.portal.kernel.deploy.auto.AutoDeployException: Problem creating war: D:\IBM\WebSphere7\AppServer\profiles\liferay\wsadmin-deploy\batman-portlet.war (The system cannot find the path specified.) (and the archive is probably corrupt but I could not delete it) com.liferay.portal.kernel.deploy.auto.AutoDeployException: Problem creating war: D:\IBM\WebSphere7\AppServer\profiles\liferay\wsadmin-deploy\batman-portlet.war (The system cannot find the path specified.) (and the archive is probably corrupt but I could not delete it) at com.liferay.portal.tools.deploy.BaseDeployer.autoDeploy(BaseDeployer.java:209) at com.liferay.portal.deploy.auto.ThreadSafeAutoDeployer.autoDeploy(ThreadSafeAutoDeployer.java:36) at com.liferay.portal.deploy.auto.PortletAutoDeployListener.deploy(PortletAutoDeployListener.java:88) at com.liferay.portal.kernel.deploy.auto.AutoDeployDir.deploy(AutoDeployDir.java:50) at com.liferay.portal.kernel.deploy.auto.AutoDeployDir.processFile(AutoDeployDir.java:209) at com.liferay.portal.kernel.deploy.auto.AutoDeployDir.scanDirectory(AutoDeployDir.java:267) at com.liferay.portal.kernel.deploy.auto.AutoDeployScanner.run(AutoDeployScanner.java:54) Caused by: Problem creating war: D:\IBM\WebSphere7\AppServer\profiles\liferay\wsadmin-deploy\batman-portlet.war (The system cannot find the path specified.) (and the archive is probably corrupt but I could not delete it) at org.apache.tools.ant.taskdefs.Zip.executeMain(Zip.java:573) at org.apache.tools.ant.taskdefs.Zip.execute(Zip.java:350) at com.liferay.util.ant.WarTask.war(WarTask.java:48) at com.liferay.portal.tools.deploy.BaseDeployer.deployDirectory(BaseDeployer.java:799) at com.liferay.portal.tools.deploy.BaseDeployer.deployFile(BaseDeployer.java:1059) at com.liferay.portal.tools.deploy.BaseDeployer.deployFile(BaseDeployer.java:991) at com.liferay.portal.tools.deploy.BaseDeployer.autoDeploy(BaseDeployer.java:206) ... 6 more Caused by: java.io.FileNotFoundException: D:\IBM\WebSphere7\AppServer\profiles\liferay\wsadmin-deploy\batman-portlet.war (The system cannot find the path specified.) at java.io.FileOutputStream.<init>(FileOutputStream.java:179) at java.io.FileOutputStream.<init>(FileOutputStream.java:131) at org.apache.tools.zip.ZipOutputStream.<init>(ZipOutputStream.java:249) at org.apache.tools.ant.taskdefs.Zip.executeMain(Zip.java:467) ... 12 more
Lets fix this simple annoyance
Attachments
Issue Links
- relates
-
LPE-9264 Plugin hotdeployment fails on WAS when auto.deploy.websphere.dest.dir does not exist
-
- Closed
-