Forum

Accueil » Liferay Portal » English » 3. Development

Vue combinée Vue Plate Arborescence
Sujets [ Précédent | Suivant ]
Front Line
Installing portlets locally in liferay 6.1.1 (without marketplace)
1 août 2012 14:14
Réponse

Front Line

Rang: New Member

Publications: 17

Date d'inscription: 14 avril 2011

Publications Récentes

Hi,

How can I install portlets using the old "upload" mechanism from the web gui in liferay 6.1.1? I use the same links in control panel and it just takes me to the marketplace?
Hitoshi Ozawa
RE: Installing portlets locally in liferay 6.1.1 (without marketplace)
1 août 2012 15:22
Réponse

Hitoshi Ozawa

Rang: Liferay Legend

Publications: 7990

Date d'inscription: 23 mars 2010

Publications Récentes

I'm still testing it out and didn't go through all the features, but this sound like very poor design. All of my users are intranet users without Internet access. Being able to upload portlet from the web browser was one of the major strength.
If I can't do it, I'll just have to put it back in because Marketplace is totally useless to me.
Shinn Lok
RE: Installing portlets locally in liferay 6.1.1 (without marketplace)
1 août 2012 15:44
Réponse

Shinn Lok

LIFERAY STAFF

Rang: Junior Member

Publications: 63

Date d'inscription: 14 janvier 2011

Publications Récentes

Without going into the decision making process, I thought it was transparent on what was going to happen: http://issues.liferay.com/browse/LPS-22718
Front Line
RE: Installing portlets locally in liferay 6.1.1 (without marketplace)
1 août 2012 15:51
Réponse

Front Line

Rang: New Member

Publications: 17

Date d'inscription: 14 avril 2011

Publications Récentes

Well for one I don't follow every jira issue regardimg liferay, and especially not for a 0.0.1 release...
And why on earth has the old functionality been removed completely (the deprecation notice is not the only change in this releasae)? Suddenly in a 0.0.1 release.
If I really can't upload portlet, hook and theme updates directly from the UI this is a horrible, apparently marketing driven, decision.
Shinn Lok
RE: Installing portlets locally in liferay 6.1.1 (without marketplace)
1 août 2012 16:10
Réponse

Shinn Lok

LIFERAY STAFF

Rang: Junior Member

Publications: 63

Date d'inscription: 14 janvier 2011

Publications Récentes

Sorry, I linked the JIRA ticket as a reference hopefully bringing more light to the issue. From the ticket, the warnings of future deprecation were there in the major release 6.1.0 CE GA1. I think the gui functionality (along with the warning) was left in the release as a means to install portlets before Marketplace was ready. These are my guesses on what happened as I don't have the details of the exact reasons.
Hitoshi Ozawa
RE: Installing portlets locally in liferay 6.1.1 (without marketplace)
1 août 2012 16:30
Réponse

Hitoshi Ozawa

Rang: Liferay Legend

Publications: 7990

Date d'inscription: 23 mars 2010

Publications Récentes

I think the gui functionality (along with the warning) was left in the release as a means to install portlets before Marketplace was ready. These are my guesses on what happened as I don't have the details of the exact reasons.


Well, we don't have Internet connection on liferay servers. What's the alternative to installing plugins besides using ftp to copy file to the deploy directory. Is there something like setting up local Marketplace on the local liferay server?

BTW, that's a bug! It shouldn't be displaying a depreciation message when the feature has already been dropped!
Hitoshi Ozawa
RE: Installing portlets locally in liferay 6.1.1 (without marketplace)
1 août 2012 16:11
Réponse

Hitoshi Ozawa

Rang: Liferay Legend

Publications: 7990

Date d'inscription: 23 mars 2010

Publications Récentes

Without going into the decision making process, I thought it was transparent on what was going to happen: http://issues.liferay.com/browse/LPS-22718


Yes, adding depreciation notices are good, but depreciation notices are shown BEFORE the functionalities are actually dropped. Where are the functionalities that used to be there?
Mika Koivisto
RE: Installing portlets locally in liferay 6.1.1 (without marketplace)
1 août 2012 18:10
Réponse

Mika Koivisto

LIFERAY STAFF

Rang: Liferay Legend

Publications: 1499

Date d'inscription: 7 août 2006

Publications Récentes

Sure there was a notice in 6.1.0 that the plugin installer will be deprecated by Marketplace but I don't think anyone including myself thought that that functionality would be completely dropped. I'm just wondering how are the people that use local software catalog to distribute their private portlets are now supposed to install those plugins.
Front Line
RE: Installing portlets locally in liferay 6.1.1 (without marketplace)
1 août 2012 22:20
Réponse

Front Line

Rang: New Member

Publications: 17

Date d'inscription: 14 avril 2011

Publications Récentes

"Buy the EE version" probably...
Front Line
RE: Installing portlets locally in liferay 6.1.1 (without marketplace)
2 août 2012 08:24
Réponse

Front Line

Rang: New Member

Publications: 17

Date d'inscription: 14 avril 2011

Publications Récentes

Do I need to buy the EE version before someone actually acknowledges that this change is real and made on purpose, and maybe elaborates on why on earth this change was made?
Mika Koivisto
RE: Installing portlets locally in liferay 6.1.1 (without marketplace)
2 août 2012 09:35
Réponse

Mika Koivisto

LIFERAY STAFF

Rang: Liferay Legend

Publications: 1499

Date d'inscription: 7 août 2006

Publications Récentes

I haven't gotten an official statement from our product management but currently it looks like it was accidentally removed. Actually the functionality should still be there but it's just hidden. I'll let you know when I hear more.
Front Line
RE: Installing portlets locally in liferay 6.1.1 (without marketplace)
2 août 2012 09:48
Réponse

Front Line

Rang: New Member

Publications: 17

Date d'inscription: 14 avril 2011

Publications Récentes

Ok, thanks.

It would also be nice to now if the feature is eventually meant to be removed completely (hopefully not)
Mika Koivisto
RE: Installing portlets locally in liferay 6.1.1 (without marketplace)
2 août 2012 10:17
Réponse

Mika Koivisto

LIFERAY STAFF

Rang: Liferay Legend

Publications: 1499

Date d'inscription: 7 août 2006

Publications Récentes

It's confirmed it was accidentally hidden and we will be releasing soon an app in Marketplace to reenable it. If I understood correctly it is only deprecated in sense that the Liferay.com plugin catalog is replaced by Marketplace. You can still continue to use your own plugin catalogs.
Front Line
RE: Installing portlets locally in liferay 6.1.1 (without marketplace)
2 août 2012 11:01
Réponse

Front Line

Rang: New Member

Publications: 17

Date d'inscription: 14 avril 2011

Publications Récentes

Great news.

Kiitokset emoticon
James Falkner
RE: Installing portlets locally in liferay 6.1.1 (without marketplace)
2 août 2012 14:32
Réponse

James Falkner

LIFERAY STAFF

Rang: Liferay Legend

Publications: 1236

Date d'inscription: 17 septembre 2010

Publications Récentes

Front Line:
Great news.

Kiitokset emoticon


Here's the ticket to watch (and a screenshot). Should be in soon, thanks to Ryan Park (and thanks to you all for the feedback!)
Hitoshi Ozawa
RE: Installing portlets locally in liferay 6.1.1 (without marketplace)
2 août 2012 14:46
Réponse

Hitoshi Ozawa

Rang: Liferay Legend

Publications: 7990

Date d'inscription: 23 mars 2010

Publications Récentes

Thanks Miko, James, and Ryan. Will keep watch on the LPS.

Just wondering if the source will also be available. If it will be, will it be in the war file and in github?
James Falkner
RE: Installing portlets locally in liferay 6.1.1 (without marketplace)
2 août 2012 15:39
Réponse

James Falkner

LIFERAY STAFF

Rang: Liferay Legend

Publications: 1236

Date d'inscription: 17 septembre 2010

Publications Récentes

Hitoshi Ozawa:
Thanks Miko, James, and Ryan. Will keep watch on the LPS.

Just wondering if the source will also be available. If it will be, will it be in the war file and in github?



Here ya go: https://github.com/liferay/liferay-plugins/tree/master/hooks/private-plugin-installer-hook

And it'll be in the plugin too.
Hitoshi Ozawa
RE: Installing portlets locally in liferay 6.1.1 (without marketplace)
2 août 2012 17:19
Réponse

Hitoshi Ozawa

Rang: Liferay Legend

Publications: 7990

Date d'inscription: 23 mars 2010

Publications Récentes

Thanks, just could't wait until the plugin got released from the Marketplace.
Eric Goldman
RE: Installing portlets locally in liferay 6.1.1 (without marketplace)
8 août 2012 10:45
Réponse

Eric Goldman

Rang: New Member

Publications: 5

Date d'inscription: 2 mai 2012

Publications Récentes

James Falkner:
Hitoshi Ozawa:
Thanks Miko, James, and Ryan. Will keep watch on the LPS.

And it'll be in the plugin too.



When will the plug-in be available in the Marketplace?

Thanks!
James Falkner
RE: Installing portlets locally in liferay 6.1.1 (without marketplace)
8 août 2012 13:34
Réponse

James Falkner

LIFERAY STAFF

Rang: Liferay Legend

Publications: 1236

Date d'inscription: 17 septembre 2010

Publications Récentes

Eric Goldman:
James Falkner:
Hitoshi Ozawa:
Thanks Miko, James, and Ryan. Will keep watch on the LPS.

And it'll be in the plugin too.



When will the plug-in be available in the Marketplace?

Thanks!


Soon. Like, in the next day or two. Mika also attached a binary of the app for the impatient.
Eric Goldman
RE: Installing portlets locally in liferay 6.1.1 (without marketplace)
8 août 2012 13:53
Réponse

Eric Goldman

Rang: New Member

Publications: 5

Date d'inscription: 2 mai 2012

Publications Récentes

Well, considering we are staging LR GA2 for deployment in 2 weeks (there were some bug fixes we needed) and now we can't deploy themes or hooks locally except through the deploy directory, I needed to get something out pretty quick.

We downloaded and built it but got the following error on trying to deploy:

13:38:05,251 INFO [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][AutoDeployDir:182] Processing private-plugin-installer-hook-6.2.0.1.war. This is attempt 9.
13:38:05,252 INFO [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][HookAutoDeployListener:48] Copying hook plugin for /opt/liferay/deploy/private-plugin-installer-hook-6.2.0.1.war
13:38:05,252 INFO [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][BaseDeployer:763] Deploying private-plugin-installer-hook-6.2.0.1.war
13:38:05,252 ERROR [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][AutoDeployDir:210] com.liferay.portal.kernel.deploy.auto.AutoDeployException: com.liferay.portal.kernel.deploy.auto.AutoDeployException: private-plugin-installer-hook-6.2.0.1.war does not support this version of Liferay
com.liferay.portal.kernel.deploy.auto.AutoDeployException: com.liferay.portal.kernel.deploy.auto.AutoDeployException: private-plugin-installer-hook-6.2.0.1.war does not support this version of Liferay
at com.liferay.portal.tools.deploy.BaseDeployer.autoDeploy(BaseDeployer.java:201)
at com.liferay.portal.deploy.auto.HookAutoDeployListener.deploy(HookAutoDeployListener.java:51)
at com.liferay.portal.kernel.deploy.auto.AutoDeployDir.processFile(AutoDeployDir.java:193)
at com.liferay.portal.kernel.deploy.auto.AutoDeployDir.scanDirectory(AutoDeployDir.java:235)
at com.liferay.portal.kernel.deploy.auto.AutoDeployScanner.run(AutoDeployScanner.java:54)
Caused by: com.liferay.portal.kernel.deploy.auto.AutoDeployException: private-plugin-installer-hook-6.2.0.1.war does not support this version of Liferay
at com.liferay.portal.tools.deploy.BaseDeployer.deployFile(BaseDeployer.java:795)
at com.liferay.portal.tools.deploy.BaseDeployer.autoDeploy(BaseDeployer.java:198)
... 4 more
13:38:05,252 INFO [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][AutoDeployDir:216] Add private-plugin-installer-hook-6.2.0.1.war to the blacklist

So it is telling us even though we built it with GA2 that it does not support this version of Liferay (as I looked at it again - are we pulling from the wrong branch as it is building as 6.2.0.1??), plus what is the blacklist that it is now on and how will we clear it from there once we figure this out?

Thanks!
Mika Koivisto
RE: Installing portlets locally in liferay 6.1.1 (without marketplace)
8 août 2012 14:03
Réponse

Mika Koivisto

LIFERAY STAFF

Rang: Liferay Legend

Publications: 1499

Date d'inscription: 7 août 2006

Publications Récentes

Did you use the war I built or did you build it yourself? I'm looking at the one I built and it seems to have correct version 6.1.1.1 but the one you are deploying has 6.2.0.1 which would suggest to me that it was built against 6.2.x and not 6.1.x.
Eric Goldman
RE: Installing portlets locally in liferay 6.1.1 (without marketplace)
8 août 2012 14:18
Réponse

Eric Goldman

Rang: New Member

Publications: 5

Date d'inscription: 2 mai 2012

Publications Récentes

Yup, that's what happened. As soon as I posted the errors I noticed it and went back to my developer.
No, we built it before you posted yours today.
He rebuilt another from the right branch and it worked.
Thanks for the info on the blacklist issue. Looks like we are good to go.

Thanks all!
James Falkner
RE: Installing portlets locally in liferay 6.1.1 (without marketplace)
8 août 2012 14:06
Réponse

James Falkner

LIFERAY STAFF

Rang: Liferay Legend

Publications: 1236

Date d'inscription: 17 septembre 2010

Publications Récentes

Eric Goldman:
Well, considering we are staging LR GA2 for deployment in 2 weeks (there were some bug fixes we needed) and now we can't deploy themes or hooks locally except through the deploy directory, I needed to get something out pretty quick.

We downloaded and built it but got the following error on trying to deploy:
...

So it is telling us even though we built it with GA2 that it does not support this version of Liferay (as I looked at it again - are we pulling from the wrong branch as it is building as 6.2.0.1??), plus what is the blacklist that it is now on and how will we clear it from there once we figure this out?

Thanks!


Yeah, you built the trunk version - that is targeted at 6.2 (which does not exist as a release yet). You need to take the version from the 6.1.x branch - Notice the liferay-plugin-package.properties declares it to be compatible with 6.1.1.

Or just grab the one that Mika posted in the ticket. To clear the blacklist, you can just restart the server.
Brian Kim
RE: Installing portlets locally in liferay 6.1.1 (without marketplace)
8 août 2012 18:39
Réponse

Brian Kim

LIFERAY STAFF

Rang: Expert

Publications: 319

Date d'inscription: 16 août 2004

Publications Récentes

James Falkner:

Eric Goldman:

When will the plug-in be available in the Marketplace?

Thanks!


Soon. Like, in the next day or two. Mika also attached a binary of the app for the impatient.


Update: today or tomorrow.
James Falkner
RE: Installing portlets locally in liferay 6.1.1 (without marketplace)
9 août 2012 13:11
Réponse

James Falkner

LIFERAY STAFF

Rang: Liferay Legend

Publications: 1236

Date d'inscription: 17 septembre 2010

Publications Récentes

Brian Kim:
James Falkner:

Eric Goldman:

When will the plug-in be available in the Marketplace?

Thanks!


Soon. Like, in the next day or two. Mika also attached a binary of the app for the impatient.


Update: today or tomorrow.


It's on the marketplace now. Enjoy!
Pedro Salirrosas
RE: Installing portlets locally in liferay 6.1.1 (without marketplace)
12 juin 2013 20:40
Réponse

Pedro Salirrosas

Rang: New Member

Publications: 2

Date d'inscription: 12 juin 2013

Publications Récentes

hi!

I've installed private-plugin-installer-hook-6.1.1.1.war at liferay 6.1.1 successfully but when I upload my portlet I can't see it to add on a page. Someone has the same problem? how could resolved it?