Foros de discusión

liferay war file does not get deployed liferay 6.0.6

Zoheb Athar Siddiqui, modificado hace 11 años.

liferay war file does not get deployed liferay 6.0.6

New Member Mensajes: 24 Fecha de incorporación: 15/05/12 Mensajes recientes
hi all

i am using liferay 6.0.6 , i have i am build my war using ant but when i deploy it is giving me error that this version of liferay is not supported, my question from where liferay version is decided iam using liferay-display.xml,liferay-plugin-package.xml,liferay-portlet.xml,portlet.xml in my WEB-INF folder are these files are responsible for liferay version or something else. i am not understanding what is happending. i am literally trapped in it.


and one more thing is that i have downloaded liferay 6.0.6 bundelled version of jboss 1.5.0 inside the JBOSS_HOME\server\default\lib it is having portal-service.jar
this jar i copied from above mentioned location and used it into my project lib folder now i want to know is that,is this jar sufficient for implemending liferay 6.0.6 in my project as when it is used or some is also to be used.any body help as this is not compeltely understandable.

Error

2012-07-11 11:02:24,994 INFO [com.liferay.portal.kernel.deploy.auto.AutoDeployDir] (com.liferay.portal.kernel.deploy.auto.AutoDeployScanner) Processing Sakri.war
2012-07-11 11:02:25,020 INFO [com.liferay.portal.deploy.auto.PortletAutoDeployListener] (com.liferay.portal.kernel.deploy.auto.AutoDeployScanner) Copying portlets for D:\deploy\Sakri.war
2012-07-11 11:02:25,031 ERROR [STDERR] (com.liferay.portal.kernel.deploy.auto.AutoDeployScanner) com.liferay.portal.kernel.deploy.auto.AutoDeployException: Sakri.war does not support this version of Liferay
2012-07-11 11:02:25,032 ERROR [STDERR] (com.liferay.portal.kernel.deploy.auto.AutoDeployScanner) at com.liferay.portal.tools.deploy.BaseDeployer.deployFile(BaseDeployer.java:690)
2012-07-11 11:02:25,033 ERROR [STDERR] (com.liferay.portal.kernel.deploy.auto.AutoDeployScanner) at com.liferay.portal.tools.deploy.BaseDeployer.deploy(BaseDeployer.java:454)
2012-07-11 11:02:25,033 ERROR [STDERR] (com.liferay.portal.kernel.deploy.auto.AutoDeployScanner) at com.liferay.portal.deploy.auto.PortletAutoDeployer.autoDeploy(PortletAutoDeployer.java:92)
2012-07-11 11:02:25,034 ERROR [STDERR] (com.liferay.portal.kernel.deploy.auto.AutoDeployScanner) at com.liferay.portal.deploy.auto.PortletAutoDeployListener.deploy(PortletAutoDeployListener.java:78)
2012-07-11 11:02:25,035 ERROR [STDERR] (com.liferay.portal.kernel.deploy.auto.AutoDeployScanner) at com.liferay.portal.kernel.deploy.auto.AutoDeployDir.processFile(AutoDeployDir.java:180)
2012-07-11 11:02:25,035 ERROR [STDERR] (com.liferay.portal.kernel.deploy.auto.AutoDeployScanner) at com.liferay.portal.kernel.deploy.auto.AutoDeployDir.scanDirectory(AutoDeployDir.java:221)
2012-07-11 11:02:25,036 ERROR [STDERR] (com.liferay.portal.kernel.deploy.auto.AutoDeployScanner) at com.liferay.portal.kernel.deploy.auto.AutoDeployScanner.run(AutoDeployScanner.java:49)

Zoheb
thumbnail
David H Nebinger, modificado hace 11 años.

RE: liferay war file does not get deployed liferay 6.0.6

Liferay Legend Mensajes: 14919 Fecha de incorporación: 2/09/06 Mensajes recientes
Are you using the 6.0.6 version of the SDK to create your plugins? If you're using a 6.1.0 SDK, you'll get this error (and it is correct).
thumbnail
Jignesh Vachhani, modificado hace 11 años.

RE: liferay war file does not get deployed liferay 6.0.6

Liferay Master Mensajes: 803 Fecha de incorporación: 10/03/08 Mensajes recientes
I agreed with David

Zoheb try to create portlet in within the same plugin sdk.
Zoheb Athar Siddiqui, modificado hace 11 años.

RE: liferay war file does not get deployed liferay 6.0.6

New Member Mensajes: 24 Fecha de incorporación: 15/05/12 Mensajes recientes
thanks david finally it worked and closing this thread

zoheb