Forum

Accueil » Liferay Portal » English » 3. Development

Vue combinée Vue Plate Arborescence
Sujets [ Précédent | Suivant ]
Ajay Jha
Liferay 6.1.2 ga3 with resin
6 septembre 2013 05:46
Réponse

Ajay Jha

Rang: New Member

Publications: 14

Date d'inscription: 1 février 2012

Publications Récentes

Hi,

can anyone tell me is Liferay is going to Release Liferay 6.1.2 ga3 with resin.
James Falkner
RE: Liferay 6.1.2 ga3 with resin
6 septembre 2013 13:16
Réponse

James Falkner

LIFERAY STAFF

Rang: Liferay Legend

Publications: 1198

Date d'inscription: 17 septembre 2010

Publications Récentes

Ajay Jha:
Hi,

can anyone tell me is Liferay is going to Release Liferay 6.1.2 ga3 with resin.


Hey Ajay,

I'll see if we can make an official bundle, but in the meantime you can build this yourself, if you have a JDK and ant handy:

1. Download the GA3 source
2. Create an app.server.<username>.properties in the liferay-portal-src-6.1.2-ce-ga3 subdirectory (the same directory that contains the base app.server.properties file). The <username> should be replaced with your OS username. In this file, put this line:
1app.server.type=resin

3. Create a build.<username>.properties in the liferay-portal-src-6.1.2-ce-ga3 subdirectory (the same directory that contains the base build.properties file). In this file, put these lines:
1jsp.precompile=on
2jdk.6.home=<path to a JDK 6 -- yes, it has to be version 6>

4. Go to the liferay-portal-src-6.1.2-ce-ga3 directory and run ant clean start
5. Run ant -f build-dist.xml build-dist-resin (This step will fail, and this is why Liferay didn't make a Resin bundle)
6. Patch the source, by applying the below diff to the liferay-portal-src-6.1.2-ce-ga3/portal-web/docroot/html/portlet/users_admin/view_tree.jspf file (just edit the two lines to replace organizationsTree with organizationsTreeBuffer).
 1
 2--- a/portal-web/docroot/html/portlet/users_admin/view_tree.jspf
 3+++ b/portal-web/docroot/html/portlet/users_admin/view_tree.jspf
 4@@ -178,7 +178,7 @@ if (filterManageableOrganizations && organizations.isEmpty()) {
 5                 </c:if>
 6             </liferay-util:buffer>
 7
 8-            <liferay-util:buffer var="organizationsTree">
 9+            <liferay-util:buffer var="organizationsTreeBuffer">
10
11                 <%
12                 SearchContainer organizationSearch = new OrganizationSearch(renderRequest, "cur1", currentURLObj);
13@@ -350,7 +350,7 @@ if (filterManageableOrganizations && organizations.isEmpty()) {
14                         </liferay-util:buffer>
15
16                         <liferay-ui:panel collapsible="<%= true %>" extended="<%= true %>" id="usersAdminOrganizationsPanel" persistState="<%= true %>" title="<%= organizationsPanelTitle %>">
17-                            <%= organizationsTree %>
18+                            <%= organizationsTreeBuffer %>
19                         </liferay-ui:panel>
20                     </c:if>

7. Re-run ant -f build-dist.xml build-dist-resin - it should work and leave you with an unzipped "bundle" in the ../bundles/resin-4.0.33 directory (you could zip this up to make a "real" bundle). Note that this isn't exactly identical to the bundles on sourceforge - in particular, it will be missing things like the welcome theme, and marketplace portlet. But you can start the bundle directly by running bin/resin.sh start.
Ajay Jha
RE: Liferay 6.1.2 ga3 with resin
8 septembre 2013 23:08
Réponse

Ajay Jha

Rang: New Member

Publications: 14

Date d'inscription: 1 février 2012

Publications Récentes

We are using currently liferay 6.0.6 resin version on which we are working but when we try to migrate on liferay 6.1.2 ga3 it gets fail.
I have followed the whole procedure which you have mentioned on https://www.liferay.com/documentation/liferay-portal/6.1/user-guide/-/ai/upgrading-lifer-5.
But its not working when we try to execute step in this process to convert legacy algo it throws duplicacy key error and stop.
Can you tell me is this possible to migrate on current liferay version.

And also what is the price of assistance if we take from liferay to migrate our DB to current liferay version.