Kombinierte Ansicht Flache Ansicht Baumansicht
Threads [ Zurück | Nächste ]
Denis Signoretto
Marketplace and websphere 7.0
30. November 2012 02:41
Antwort

Denis Signoretto

Rang: Regular Member

Nachrichten: 206

Eintrittsdatum: 21. April 2009

Neue Beiträge

Hi,

I've just installed Liferay 6.1.1 GA2 on Websphere 7.0.
I know hot deployment it's not supported on Websphere. I'm wondering if Marketplace can work and if I can install additional
portlet plugins, theme, etc directly using Marketplace. If yes can you tell me which steps I must follow to install marketplace and related plugins?

Thanks,
Denis.
James Falkner
RE: Marketplace and websphere 7.0
29. November 2012 11:00
Antwort

James Falkner

LIFERAY STAFF

Rang: Liferay Legend

Nachrichten: 1198

Eintrittsdatum: 17. September 2010

Neue Beiträge

Denis Signoretto:
Hi,

I've just installed Liferay 6.1.1 GA2 on Websphere 7.0.
I know hot deployment it's not supported on Websphere. I'm wondering if Marketplace can work and if I can install additional
portlet plugins, theme, etc directly using Marketplace. If yes can you tell me which steps I must follow to install marketplace and related plugins?

Thanks,
Denis.


Hey Dennis - you can still use the Marketplace within Liferay (Control Panel) or downloading the raw .lpkg file directly from liferay.com. You will then need to copy the lpkg file to the hot deploy directory. This is the same behavior on JBoss 7 + LR 6.1 CE GA2 (which cannot detect JBoss 7's ability to deploy). So check out this thread for how to workaround it.
Denis Signoretto
RE: Marketplace and websphere 7.0
30. November 2012 01:09
Antwort

Denis Signoretto

Rang: Regular Member

Nachrichten: 206

Eintrittsdatum: 21. April 2009

Neue Beiträge

James Falkner:


Hey Dennis - you can still use the Marketplace within Liferay (Control Panel) or downloading the raw .lpkg file directly from liferay.com. You will then need to copy the lpkg file to the hot deploy directory. This is the same behavior on JBoss 7 + LR 6.1 CE GA2 (which cannot detect JBoss 7's ability to deploy). So check out this thread for how to workaround it.



Hi James,

I have manullay installed only liferay.war as described in the documentation. Actually Marketplace it's not included in liferay.war.
I would like to install it within Liferay. Can you tell me if there is a place where I can download and install Liferay Marketplace .war ?

Thanks,
Denis.
James Falkner
RE: Marketplace and websphere 7.0
30. November 2012 11:37
Antwort

James Falkner

LIFERAY STAFF

Rang: Liferay Legend

Nachrichten: 1198

Eintrittsdatum: 17. September 2010

Neue Beiträge

Denis Signoretto:
James Falkner:


Hey Dennis - you can still use the Marketplace within Liferay (Control Panel) or downloading the raw .lpkg file directly from liferay.com. You will then need to copy the lpkg file to the hot deploy directory. This is the same behavior on JBoss 7 + LR 6.1 CE GA2 (which cannot detect JBoss 7's ability to deploy). So check out this thread for how to workaround it.



Hi James,

I have manullay installed only liferay.war as described in the documentation. Actually Marketplace it's not included in liferay.war.
I would like to install it within Liferay. Can you tell me if there is a place where I can download and install Liferay Marketplace .war ?

Thanks,
Denis.


Unfortunately we did not build the Marketplace portlet as a separately downloadable thing for GA2 (but we should have). I am working with the release team to go back and build it, but for now you can always build it yourself from the source code. Here's a super-impatient-person set of commands to build Liferay and the Marketplace plugin from a unix (linux mac os x) command line (windows would be similar, but different, if ya know what I mean):

 1$ mkdir /tmp/foo
 2$ cd /tmp/foo
 3$ wget --output-document=portal.zip --no-check-certificate https://github.com/liferay/liferay-portal/archive/6.1.1-ga2.zip
 4$ wget --output-document=plugins.zip --no-check-certificate https://github.com/liferay/liferay-plugins/archive/6.1.1-ga2.zip
 5$ mkdir bundles
 6$ unzip -q portal.zip
 7$ unzip -q plugins.zip
 8$ cd liferay-portal-6.1.1-ga2
 9$ ant -f build-dist.xml unzip-tomcat
10$ ant all
11$ cd ../liferay-plugins-6.1.1-ga2/portlets/marketplace-portlet
12$ ant war


The results will be a marketplace-portlet-xxxx.war file in /tmp/foo/liferay-plugins-6.1.1-ga2/dist directory - copy that to your Liferay installation's hot deploy directory, then you should have Marketplace in your control panel (and a nice copy of portal and plugins source to play with in the future).
Denis Signoretto
RE: Marketplace and websphere 7.0
4. Dezember 2012 03:25
Antwort

Denis Signoretto

Rang: Regular Member

Nachrichten: 206

Eintrittsdatum: 21. April 2009

Neue Beiträge

Hi James,

many thanks for your reply!!


Unfortunately we did not build the Marketplace portlet as a separately downloadable thing for GA2 (but we should have). I am working with the release team to go back and build it, but for now you can always build it yourself from the source code. Here's a super-impatient-person set of commands to build Liferay and the Marketplace plugin from a unix (linux mac os x) command line (windows would be similar, but different, if ya know what I mean):


It could be a nice idea add marketplace war in the additional files.

Anyway, the scripts worked very well!!
I was able to generate marketplace-portlet-6.1.1.1.war. Actually I'm still having some trouble with websphere 7.0.0.0. It generates the following exception:

==> /opt/ibm/websphere/appserver/profiles/AppSrv01/liferay/logs/liferay.2012-12-04.log <==
12:13:12,793 ERROR [WebContainer : 7][render_portlet_jsp:154] java.lang.StackOverflowError
at com.ibm.ws.webcontainer.srt.SRTServletRequest.setAttribute(SRTServletRequest.java:483)
at javax.servlet.ServletRequestWrapper.setAttribute(ServletRequestWrapper.java:295)
at javax.servlet.ServletRequestWrapper.setAttribute(ServletRequestWrapper.java:295)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:62)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)

Any suggestion ?

Thanks,
Denis.
James Falkner
RE: Marketplace and websphere 7.0
4. Dezember 2012 09:01
Antwort

James Falkner

LIFERAY STAFF

Rang: Liferay Legend

Nachrichten: 1198

Eintrittsdatum: 17. September 2010

Neue Beiträge

When does it generate that stack trace? When you deploy the Marketplace portlet? Or does it just randomly show that? Any specific actions that cause it? Does it happen with other plugins?
Denis Signoretto
RE: Marketplace and websphere 7.0
4. Dezember 2012 09:17
Antwort

Denis Signoretto

Rang: Regular Member

Nachrichten: 206

Eintrittsdatum: 21. April 2009

Neue Beiträge

James Falkner:
When does it generate that stack trace? When you deploy the Marketplace portlet? Or does it just randomly show that? Any specific actions that cause it? Does it happen with other plugins?


Hi James,

when I deploy the portlet everything goes right.

18:08:25,256 INFO [WebContainer : 7][HotDeployImpl:178] Deploying marketplace-portlet from queue
18:08:25,256 INFO [WebContainer : 7][PluginPackageUtil:1033] Reading plugin package for marketplace-portlet
18:08:25,617 INFO [WebContainer : 7][HookHotDeployListener:550] Registering hook for marketplace-portlet
18:08:25,625 INFO [WebContainer : 7][HookHotDeployListener:690] Hook for marketplace-portlet is available for use

The stacktrace appears as soon as I go to Control Panel and I click on "store". More over icons of Marketplace portlet (close to "store" and "purchased" that I usually see on Tomcat) are not shown.

18:09:59,098 INFO [com.liferay.portal.plugin.PluginPackageUtil][PluginPackageUtil:1421] Checking for available updates
18:09:59,102 INFO [com.liferay.portal.plugin.PluginPackageUtil][PluginPackageUtil:1465] Finished checking for available updates in 4 ms

==> /opt/ibm/websphere/appserver/profiles/AppSrv01/logs/server1/SystemOut.log <==
[04/12/12 18.10.55:984 CET] 0000001b SystemOut O 18:10:55,983 ERROR [WebContainer : 4][render_portlet_jsp:154] java.lang.StackOverflowError
at com.ibm.ws.webcontainer.srt.SRTServletRequest.setAttribute(SRTServletRequest.java:689)
at javax.servlet.ServletRequestWrapper.setAttribute(ServletRequestWrapper.java:295)
at javax.servlet.ServletRequestWrapper.setAttribute(ServletRequestWrapper.java:295)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:62)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)

In the meanwhile I applyed fixpak 7.0.0.21 to WebSphere.

Thanks,
Denis.
James Falkner
RE: Marketplace and websphere 7.0
4. Dezember 2012 10:26
Antwort

James Falkner

LIFERAY STAFF

Rang: Liferay Legend

Nachrichten: 1198

Eintrittsdatum: 17. September 2010

Neue Beiträge

Denis Signoretto:
James Falkner:
When does it generate that stack trace? When you deploy the Marketplace portlet? Or does it just randomly show that? Any specific actions that cause it? Does it happen with other plugins?


Hi James,

when I deploy the portlet everything goes right.

18:08:25,256 INFO [WebContainer : 7][HotDeployImpl:178] Deploying marketplace-portlet from queue
18:08:25,256 INFO [WebContainer : 7][PluginPackageUtil:1033] Reading plugin package for marketplace-portlet
18:08:25,617 INFO [WebContainer : 7][HookHotDeployListener:550] Registering hook for marketplace-portlet
18:08:25,625 INFO [WebContainer : 7][HookHotDeployListener:690] Hook for marketplace-portlet is available for use

The stacktrace appears as soon as I go to Control Panel and I click on "store". More over icons of Marketplace portlet (close to "store" and "purchased" that I usually see on Tomcat) are not shown.

18:09:59,098 INFO [com.liferay.portal.plugin.PluginPackageUtil][PluginPackageUtil:1421] Checking for available updates
18:09:59,102 INFO [com.liferay.portal.plugin.PluginPackageUtil][PluginPackageUtil:1465] Finished checking for available updates in 4 ms

==> /opt/ibm/websphere/appserver/profiles/AppSrv01/logs/server1/SystemOut.log <==
[04/12/12 18.10.55:984 CET] 0000001b SystemOut O 18:10:55,983 ERROR [WebContainer : 4][render_portlet_jsp:154] java.lang.StackOverflowError
at com.ibm.ws.webcontainer.srt.SRTServletRequest.setAttribute(SRTServletRequest.java:689)
at javax.servlet.ServletRequestWrapper.setAttribute(ServletRequestWrapper.java:295)
at javax.servlet.ServletRequestWrapper.setAttribute(ServletRequestWrapper.java:295)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:62)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)

In the meanwhile I applyed fixpak 7.0.0.21 to WebSphere.

Thanks,
Denis.


Well.. a bit of searching didn't turn up much. This wiki might help if you haven't configured websphere to auto deploy.

Is it possible to download the version of WS you are using? Can you file an issue at issues.liferay.com ? Perhaps our WS experts can help out.
Denis Signoretto
RE: Marketplace and websphere 7.0
4. Dezember 2012 11:20
Antwort

Denis Signoretto

Rang: Regular Member

Nachrichten: 206

Eintrittsdatum: 21. April 2009

Neue Beiträge

Hi James,

many thanks for your help.

I opened this issue http://issues.liferay.com/browse/LPS-31406
I'm using WAS 7.0 for Developer that you can download from IBM site.

Thanks,
Denis.
Denis Signoretto
RE: Marketplace and websphere 7.0
23. Januar 2013 00:44
Antwort

Denis Signoretto

Rang: Regular Member

Nachrichten: 206

Eintrittsdatum: 21. April 2009

Neue Beiträge

Hi James,

I have seen that under marketplace menu of Liferay web site it's now available marketplace war for download.
Thanks for your support.

Regards.
Denis