Foren

RE: portal-compat-hook missing ?

Siddarth Purandare, geändert vor 11 Jahren.

portal-compat-hook missing ?

New Member Beiträge: 3 Beitrittsdatum: 01.03.11 Neueste Beiträge
Hi,

I am using Liferay IDE 1.6.2 (JUNO) with Liferay 6.1.20 and any portlet i try to create and use using Plugins SDK 6.1.20, i get the following message ?

Has anybody encountered this ? Am i missing this portal-compat-hook ? I tried finding on Liferay site, i could not... i did find some source files from GitHub. Not sure how to proceed from here.

19:25:16,232 INFO [pool-2-thread-4][HotDeployEvent:109] Plugin <my-any-portlet> requires portal-compat-hook
19:25:16,498 INFO [pool-2-thread-4][HotDeployImpl:233] Queueing <my-any-portlet> for deploy because it is missing portal-compat-hook

Please advise further.

Thanks in advance,
Sid
Siddarth Purandare, geändert vor 11 Jahren.

RE: portal-compat-hook missing ?

New Member Beiträge: 3 Beitrittsdatum: 01.03.11 Neueste Beiträge
Hi,

Just a small update on this.

I tried to download the source of this portal-compat-hook from GitHub. When i search through google i see it as part of "hooks" in liferay-plugin. When i try to pull it from the site, it does not show up.

Anything i am missing here ?

Thanks,
Sid
thumbnail
Gregory Amerson, geändert vor 11 Jahren.

RE: portal-compat-hook missing ?

Liferay Legend Beiträge: 1123 Beitrittsdatum: 16.02.10 Neueste Beiträge
If you can download the source code and add it into the hooks directory of a plugins sdk, you should be able to run 'ant deploy' from the portal-compat-hook folder to deploy the war to the server.
Siddarth Purandare, geändert vor 11 Jahren.

RE: portal-compat-hook missing ?

New Member Beiträge: 3 Beitrittsdatum: 01.03.11 Neueste Beiträge
Gregory Amerson:
If you can download the source code and add it into the hooks directory of a plugins sdk, you should be able to run 'ant deploy' from the portal-compat-hook folder to deploy the war to the server.



Hi Greg,

That is the problem. I am not able to find/download the source code for portal-compat-hook. I am seeing the links for the source code on this URL.

https://github.com/liferay/liferay-plugins/pull/64/files#diff-147

but when i try to pull it through Eclipse/Github source settings i have setup. I am not able to find it.

Can you direct me further ?

Thanks,
Sid
thumbnail
Gregory Amerson, geändert vor 11 Jahren.

RE: portal-compat-hook missing ?

Liferay Legend Beiträge: 1123 Beitrittsdatum: 16.02.10 Neueste Beiträge
Hey Sid, try this: https://github.com/liferay/liferay-plugins/releases/tag/6.1.2-ga3

Then download the zip and it should have portal-compat-hook plugin inside.
thumbnail
Mariano Ruiz, geändert vor 11 Jahren.

RE: portal-compat-hook missing ?

New Member Beiträge: 10 Beitrittsdatum: 05.11.10 Neueste Beiträge
Gregory Amerson:
Hey Sid, try this: https://github.com/liferay/liferay-plugins/releases/tag/6.1.2-ga3

Then download the zip and it should have portal-compat-hook plugin inside.


Thanks Gregory. I have the same problem.

But, what is this portal-compat-hook for? Why is not included in Liferay bundle if is necessary? At least a .war link in Download section will be helpful.
thumbnail
Ramkumar Chandran, geändert vor 11 Jahren.

RE: portal-compat-hook missing ?

Junior Member Beiträge: 28 Beitrittsdatum: 15.11.11 Neueste Beiträge
Aalap Desai, geändert vor 11 Jahren.

RE: portal-compat-hook missing ?

New Member Beiträge: 14 Beitrittsdatum: 16.09.11 Neueste Beiträge
Hi Siddarth,

I have deleted a folder compact-hook from web-apps folder of tomcat. Thats why I was not able to deploy custom portlets. For this I have copy compact-hook from fresh portal/web-apps/ and I have Put in in the webapps folder of the tomcat. It works for me.

Regards,
Aalap Desai.
Jerry Pan, geändert vor 11 Jahren.

RE: portal-compat-hook missing ?

New Member Beitrag: 1 Beitrittsdatum: 29.09.13 Neueste Beiträge
Siddarth Purandare:
Hi,

I am using Liferay IDE 1.6.2 (JUNO) with Liferay 6.1.20 and any portlet i try to create and use using Plugins SDK 6.1.20, i get the following message ?

Has anybody encountered this ? Am i missing this portal-compat-hook ? I tried finding on Liferay site, i could not... i did find some source files from GitHub. Not sure how to proceed from here.

19:25:16,232 INFO [pool-2-thread-4][HotDeployEvent:109] Plugin <my-any-portlet> requires portal-compat-hook
19:25:16,498 INFO [pool-2-thread-4][HotDeployImpl:233] Queueing <my-any-portlet> for deploy because it is missing portal-compat-hook

Please advise further.

Thanks in advance,
Sid



May be inconsistent versions.Ensure that SDK and portal are the same version.