Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Ecommerce options not available after install
hi!
i`m currently testing brand new Liferay Commerce. I installed Liferay Portal 7.1 and then the commerce repo as read in its github site https://github.com/liferay/com-liferay-commerce everyting seems to go fine. However, in my installation can't access to any commerce feature in control panel, the tab "Commerce" is missing. No error logs found, neither.
Any help will be appreciated.
Best regards,
Antonio.
I found that the commerce modules won't work after restarting the server. I have to start the Liferay server and only after it is started, I deploy the com.liferay.commerce modules. And then it works.
For some reasons, when I start up with the modules installed, they are only shown in osgi as "Resolved". I didn't dive into the issue, what the problem might be, the documentation already mentions to start the server first, then deploy, I guess, this is a known issue.
Christoph: Again thanks for your posts.
I was able to build. I can see the modules in bundles. However nothing shows up in control panel. I use linux show its not a windows issue.
I now have it working. I copied the modules from bundles to osgi/modules. Restarted the server and now I can see everything. Thanks again to Christoph for sharing his insights.
After a lot of tests i was able to see the commerce options by copying manually the config files to the proper folder and the modules to deploy folder.
Now I'm facing other issue, the settings portlet throws this exception
Current URL
/group/tienda-test/~/control_panel/manage?p_p_id=com_liferay_commerce_admin_web_internal_portlet_CommerceAdminPortlet&p_p_lifecycle=0&p_p_state=maximized&p_v_l_s_g_id=34250&p_p_auth=p7wvczsV
generates exception: java.lang.IllegalArgumentException: Someone may
be trying to circumvent the permission checker: {companyId=20099,
name=com.liferay.commerce.notification,
primKey=com.liferay.commerce.notification, scope=4}
com.liferay.portal.kernel.exception.NoSuchResourcePermissionException:
{companyId=20099, name=com.liferay.commerce.notification,
primKey=com.liferay.commerce.notification, scope=4}
And no options are visible in the portlets nav-bar
Regards
I am facing the same issue. I have followed the github link and build all the modules. When i try to deploy them most of the modules are just in processing/installed state. And in the commerce tab in control panel, I can just see the Settings option under it.
Any resolution on how to get all the modules deployed?
I also tried copying all the conf files to config folder.
Thanks,
Deveshree
I've solved starting all Commerce bundles manually throught the gogo shell.
Now, even after a Liferay restart all Commerce bundles are started and in Active state.
How did you manually install them through Gogo shell?
Can you please share?
I've installed them copying bundles in osgi/modules and related configs file in osgi/config.
Added to portal-setup-wizard.properties these properties to get access to gogo shell via telnet and to skip bundle validation (for a faster startup).
module.framework.properties.lpkg.index.validator.enabled=false module.framework.properties.osgi.console=localhost:11311
When Liferay has successfully started, I've manually started all commerce bundles (with a minimum of scripting to extract all bundle id) through Gogo shell.
start bundleid1 bundleid2 ... bundleidn
I followed the same steps, I can just see the "Currencies" and "Exchange rate" tab under Commerce-> Settings in control panel.
Any other help is appreciated.
Thanks,
Deveshree
From Control Panel > Configuration > Gogo Shell if I type lb commerce I get this result with all module in Active State:
What about your? what's the state of all commerce modules?
Output
START LEVEL 20 ID|State |Level|Name 941|Active | 10|Liferay Commerce Address Content Web (1.0.3) 942|Active | 10|Liferay Commerce Address Web (1.0.3) 943|Active | 10|Liferay Commerce Admin API (1.0.2) 944|Active | 10|Liferay Commerce Admin Web (1.0.3) 945|Active | 10|Liferay Commerce API (1.1.1) 946|Active | 10|Liferay Commerce Application List (1.0.3) 947|Active | 10|Liferay Commerce Availability Estimate Web (1.0.3) 948|Active | 10|Liferay Commerce Cart Content Web (1.0.3) 949|Active | 10|Liferay Commerce Cart Taglib (1.0.3) 950|Active | 10|Liferay Commerce Checkout Web (1.0.3) 951|Active | 10|Liferay Commerce Currency API (1.0.3) 952|Active | 10|Liferay Commerce Currency Service (1.0.4) 953|Active | 10|Liferay Commerce Currency Web (1.0.3) 954|Active | 10|Liferay Commerce Discount API (1.0.3) 955|Active | 10|Liferay Commerce Discount Content Web (1.0.4) 956|Active | 10|Liferay Commerce Discount Rule Added All (1.0.3) 957|Active | 10|Liferay Commerce Discount Rule Added Any (1.0.3) 958|Active | 10|Liferay Commerce Discount Rule Cart Total (1.0.3) 959|Active | 10|Liferay Commerce Discount Service (1.0.4) 960|Active | 10|Liferay Commerce Discount Web (1.0.4) 961|Active | 10|Liferay Commerce Elasticsearch6 (1.0.2) 962|Active | 10|Liferay Commerce Geocoder Bing (1.0.2) 963|Active | 10|Liferay Commerce Health Status API (1.0.2) 964|Active | 10|Liferay Commerce Health Status Web (1.0.4) 965|Active | 10|Liferay Commerce Initializer Utilities (1.0.0) 966|Active | 10|Liferay Commerce Inventory Web (1.0.3) 967|Active | 10|Liferay Commerce Item Selector API (1.0.2) 968|Active | 10|Liferay Commerce Item Selector Web (1.0.3) 969|Active | 10|Liferay Commerce Lang (1.0.3) 970|Active | 10|Liferay Commerce Notification API (1.0.3) 971|Active | 10|Liferay Commerce Notification Service (1.0.3) 972|Active | 10|Liferay Commerce Notification Web (1.0.3) 973|Active | 10|Liferay Commerce Order Content Web (1.0.3) 974|Active | 10|Liferay Commerce Order Web (1.0.4) 975|Active | 10|Liferay Commerce Organization API (1.0.3) 976|Active | 10|Liferay Commerce Organization Order Web (1.0.4) 977|Active | 10|Liferay Commerce Organization Service (1.0.4) 978|Active | 10|Liferay Commerce Organization Web (1.0.3) 979|Active | 10|Liferay Commerce Payment Engine Money Order (1.0.3) 980|Active | 10|Liferay Commerce Payment Engine PayPal (1.0.3) 981|Active | 10|Liferay Commerce Payment Method Web (1.0.3) 982|Active | 10|Liferay Commerce Price List API (1.0.3) 983|Active | 10|Liferay Commerce Price List Service (1.0.3) 984|Active | 10|Liferay Commerce Price List Web (1.0.5) 985|Active | 10|Liferay Commerce Product API (1.2.0) 986|Active | 10|Liferay Commerce Product Asset Categories Navigation Web (1.0.3) 987|Active | 10|Liferay Commerce Product Asset Categories Web (1.0.3) 988|Active | 10|Liferay Commerce Product Catalog Rule Web (1.0.4) 989|Active | 10|Liferay Commerce Product Content API (1.0.3) 990|Active | 10|Liferay Commerce Product Content Category Web (1.0.3) 991|Active | 10|Liferay Commerce Product Content Search Web (1.0.4) 992|Active | 10|Liferay Commerce Product Content Web (1.0.4) 993|Active | 10|Liferay Commerce Product Definitions Web (1.0.4) 994|Active | 10|Liferay Commerce Product Item Selector API (1.0.2) 995|Active | 10|Liferay Commerce Product Item Selector Web (1.0.3) 996|Active | 10|Liferay Commerce Product Measurement Unit Web (1.0.3) 997|Active | 10|Liferay Commerce Product Options Web (1.0.3) 998|Active | 10|Liferay Commerce Product Service (1.0.4) 999|Active | 10|Liferay Commerce Product Taglib (1.0.3) 1000|Active | 10|Liferay Commerce Product Tax Category Web (1.0.3) 1001|Active | 10|Liferay Commerce Product Type Grouped API (1.0.3) 1002|Active | 10|Liferay Commerce Product Type Grouped Service (1.0.3) 1003|Active | 10|Liferay Commerce Product Type Grouped Web (1.0.3) 1004|Active | 10|Liferay Commerce Product Type Simple (1.0.3) 1005|Active | 10|Liferay Commerce Product Type Virtual API (1.0.3) 1006|Active | 10|Liferay Commerce Product Type Virtual Order API (1.0.3) 1007|Active | 10|Liferay Commerce Product Type Virtual Order Content Web (1.0.4) 1008|Active | 10|Liferay Commerce Product Type Virtual Order Service (1.0.3) 1009|Active | 10|Liferay Commerce Product Type Virtual Service (1.0.3) 1010|Active | 10|Liferay Commerce Product Type Virtual Web (1.0.3) 1011|Active | 10|Liferay Commerce Service (1.0.4) 1012|Active | 10|Liferay Commerce Shipment Content Web (1.0.4) 1013|Active | 10|Liferay Commerce Shipment Web (1.0.4) 1014|Active | 10|Liferay Commerce Shipping Engine Fixed API (1.0.3) 1015|Active | 10|Liferay Commerce Shipping Engine Fixed Service (1.0.3) 1016|Active | 10|Liferay Commerce Shipping Engine Fixed Web (1.0.3) 1017|Active | 10|Liferay Commerce Shipping Origin Locator Address (1.0.3) 1018|Active | 10|Liferay Commerce Shipping Origin Locator Warehouse (1.0.2) 1019|Active | 10|Liferay Commerce Shipping Web (1.0.3) 1020|Active | 10|Liferay Commerce Support Web (1.0.3) 1021|Active | 10|Liferay Commerce Taglib (1.0.3) 1022|Active | 10|Liferay Commerce Tax API (1.0.3) 1023|Active | 10|Liferay Commerce Tax Engine Fixed API (1.0.3) 1024|Active | 10|Liferay Commerce Tax Engine Fixed Service (1.0.3) 1025|Active | 10|Liferay Commerce Tax Engine Fixed Web (1.0.3) 1026|Active | 10|Liferay Commerce Tax Service (1.0.3) 1027|Active | 10|Liferay Commerce Tax Web (1.0.3) 1028|Active | 10|Liferay Commerce User API (1.0.3) 1029|Active | 10|Liferay Commerce User Segment API (1.0.3) 1030|Active | 10|Liferay Commerce User Segment Item Selector API (1.0.2) 1031|Active | 10|Liferay Commerce User Segment Item Selector Web (1.0.3) 1032|Active | 10|Liferay Commerce User Segment Service (1.0.3) 1033|Active | 10|Liferay Commerce User Segment Web (1.0.3) 1034|Active | 10|Liferay Commerce User Service (1.0.4) 1035|Active | 10|Liferay Commerce User Web (1.0.3) 1036|Active | 10|Liferay Commerce Warehouse Web (1.0.4) 1037|Active | 10|Liferay Commerce Wish List API (1.0.3) 1038|Active | 10|Liferay Commerce Wish List Service (1.0.4) 1039|Active | 10|Liferay Commerce Wish List Web (1.0.4)
Please see my output below :
I get very few modules in the active state.
Output
START LEVEL 20 ID|State |Level|Name 1004|Installed | 10|Liferay Commerce Address Content Web (1.0.3) 1005|Installed | 10|Liferay Commerce Address Web (1.0.3) 1006|Active | 10|Liferay Commerce Admin API (1.0.2) 1007|Active | 10|Liferay Commerce Admin Web (1.0.3) 1008|Active | 10|Liferay Commerce Application List (1.0.3) 1009|Installed | 10|Liferay Commerce Availability Estimate Web (1.0.3) 1010|Installed | 10|Liferay Commerce Cart Content Web (1.0.3) 1011|Installed | 10|Liferay Commerce API (1.1.1) 1012|Installed | 10|Liferay Commerce Cart Taglib (1.0.3) 1013|Installed | 10|Liferay Commerce Checkout Web (1.0.3) 1014|Active | 10|Liferay Commerce Currency API (1.0.3) 1015|Active | 10|Liferay Commerce Currency Service (1.0.4) 1016|Active | 10|Liferay Commerce Currency Web (1.0.3) 1017|Installed | 10|Liferay Commerce Discount API (1.0.3) 1018|Installed | 10|Liferay Commerce Discount Content Web (1.0.4) 1019|Installed | 10|Liferay Commerce Discount Rule Added All (1.0.3) 1020|Installed | 10|Liferay Commerce Discount Rule Added Any (1.0.3) 1021|Installed | 10|Liferay Commerce Discount Rule Cart Total (1.0.3) 1022|Installed | 10|Liferay Commerce Discount Service (1.0.4) 1023|Installed | 10|Liferay Commerce Discount Web (1.0.4) 1024|Active | 10|Liferay Commerce Elasticsearch6 (1.0.2) 1025|Installed | 10|Liferay Commerce Geocoder Bing (1.0.2) 1026|Active | 10|Liferay Commerce Health Status API (1.0.2) 1027|Installed | 10|Liferay Commerce Health Status Web (1.0.4) 1028|Installed | 10|Liferay Commerce Inventory Web (1.0.3) 1029|Active | 10|Liferay Commerce Item Selector API (1.0.2) 1030|Installed | 10|Liferay Commerce Item Selector Web (1.0.3) 1031|Active | 10|Liferay Commerce Lang (1.0.3) 1032|Active | 10|Liferay Commerce Notification API (1.0.3) 1033|Installed | 10|Liferay Commerce Notification Service (1.0.3) 1034|Installed | 10|Liferay Commerce Notification Web (1.0.3) 1035|Installed | 10|Liferay Commerce Order Content Web (1.0.3) 1036|Installed | 10|Liferay Commerce Order Web (1.0.4) 1037|Active | 10|Liferay Commerce Organization API (1.0.3) 1038|Installed | 10|Liferay Commerce Organization Order Web (1.0.4) 1039|Active | 10|Liferay Commerce Organization Service (1.0.4) 1040|Installed | 10|Liferay Commerce Organization Web (1.0.3) 1041|Installed | 10|Liferay Commerce Payment Engine Money Order (1.0.3) 1042|Installed | 10|Liferay Commerce Payment Engine PayPal (1.0.3) 1043|Installed | 10|Liferay Commerce Payment Method Web (1.0.3) 1044|Installed | 10|Liferay Commerce Price List API (1.0.3) 1045|Installed | 10|Liferay Commerce Price List Service (1.0.3) 1046|Installed | 10|Liferay Commerce Price List Web (1.0.5) 1047|Installed | 10|Liferay Commerce Product API (1.1.1)
On doing diag on a particular bundle i get the below error:
com.liferay.commerce.address.content.web [1004] Unresolved requirement: Import-Package: com.liferay.commerce.exception; version="[1.0.0,2.0.0)" -> Export-Package: com.liferay.commerce.exception; bundle-symbolic-name="com.liferay.commerce.api"; bundle-version="1.1.1"; version="1.0.0"; uses:="com.liferay.commerce.order,com.liferay.portal.kernel.exception,com.liferay.portal.kernel.util" com.liferay.commerce.api [1011] Unresolved requirement: Import-Package: com.liferay.commerce.price.list.model; version="[1.0.0,2.0.0)" -> Export-Package: com.liferay.commerce.price.list.model; bundle-symbolic-name="com.liferay.commerce.price.list.api"; bundle-version="1.0.3"; version="1.0.0"; uses:="com.liferay.commerce.currency.model,com.liferay.commerce.product.model,com.liferay.expando.kernel.model,com.liferay.exportimport.kernel.lar,com.liferay.portal.kernel.annotation,com.liferay.portal.kernel.bean,com.liferay.portal.kernel.exception,com.liferay.portal.kernel.model,com.liferay.portal.kernel.service,com.liferay.portal.kernel.util" com.liferay.commerce.price.list.api [1044] Unresolved requirement: Import-Package: com.liferay.commerce.product.model; version="[1.0.0,2.0.0)" -> Export-Package: com.liferay.commerce.product.model; bundle-symbolic-name="com.liferay.commerce.product.api"; bundle-version="1.1.1"; version="1.0.0"; uses:="com.liferay.commerce.user.segment.model,com.liferay.expando.kernel.model,com.liferay.exportimport.kernel.lar,com.liferay.portal.kernel.annotation,com.liferay.portal.kernel.bean,com.liferay.portal.kernel.exception,com.liferay.portal.kernel.model,com.liferay.portal.kernel.repository.model,com.liferay.portal.kernel.service,com.liferay.portal.kernel.theme,com.liferay.portal.kernel.trash,com.liferay.portal.kernel.util,com.liferay.trash.kernel.model" com.liferay.commerce.product.api [1047] Unresolved requirement: Import-Package: com.liferay.commerce.user.segment.model; version="[1.0.0,2.0.0)"
Which version of Liferay are you using to install Commerce?
Are you sure you have successfully compiled and deployed all 99 jars (at the moment I'm writing) of Liferay Commerce 7.1.x?
For example, in your extract I can't see the "Liferay Commerce Initializer Utilities (1.0.0)"
This is the output of my "bundles\osgi\modules" directory after a successfull compilation.
-rw-r--r-- 1 denis 1049089 410958 ago 7 11:10 com.liferay.commerce.address.content.web.jar -rw-r--r-- 1 denis 1049089 386842 ago 7 10:53 com.liferay.commerce.address.web.jar -rw-r--r-- 1 denis 1049089 3788 ago 7 10:53 com.liferay.commerce.admin.api.jar -rw-r--r-- 1 denis 1049089 353315 ago 7 10:53 com.liferay.commerce.admin.web.jar -rw-r--r-- 1 denis 1049089 573749 ago 7 10:53 com.liferay.commerce.api.jar -rw-r--r-- 1 denis 1049089 343122 ago 7 10:53 com.liferay.commerce.application.list.jar -rw-r--r-- 1 denis 1049089 360905 ago 7 10:53 com.liferay.commerce.availability.estimate.web.jar -rw-r--r-- 1 denis 1049089 468166 ago 7 11:10 com.liferay.commerce.cart.content.web.jar -rw-r--r-- 1 denis 1049089 734707 ago 7 10:56 com.liferay.commerce.cart.taglib.jar -rw-r--r-- 1 denis 1049089 448268 ago 7 11:10 com.liferay.commerce.checkout.web.jar -rw-r--r-- 1 denis 1049089 66657 ago 7 10:56 com.liferay.commerce.currency.api.jar -rw-r--r-- 1 denis 1049089 478088 ago 7 11:10 com.liferay.commerce.currency.service.jar -rw-r--r-- 1 denis 1049089 414413 ago 7 11:10 com.liferay.commerce.currency.web.jar -rw-r--r-- 1 denis 1049089 148351 ago 7 10:57 com.liferay.commerce.discount.api.jar -rw-r--r-- 1 denis 1049089 381156 ago 7 11:11 com.liferay.commerce.discount.content.web.jar -rw-r--r-- 1 denis 1049089 24654 ago 7 10:57 com.liferay.commerce.discount.rule.added.all.jar -rw-r--r-- 1 denis 1049089 24861 ago 7 10:57 com.liferay.commerce.discount.rule.added.any.jar -rw-r--r-- 1 denis 1049089 21951 ago 7 10:57 com.liferay.commerce.discount.rule.cart.total.jar -rw-r--r-- 1 denis 1049089 303794 ago 7 10:57 com.liferay.commerce.discount.service.jar -rw-r--r-- 1 denis 1049089 479554 ago 7 11:11 com.liferay.commerce.discount.web.jar -rw-r--r-- 1 denis 1049089 5297 ago 7 10:57 com.liferay.commerce.elasticsearch6.jar -rw-r--r-- 1 denis 1049089 23844 ago 7 10:57 com.liferay.commerce.geocoder.bing.jar -rw-r--r-- 1 denis 1049089 2419 ago 7 10:57 com.liferay.commerce.health.status.api.jar -rw-r--r-- 1 denis 1049089 424931 ago 7 11:11 com.liferay.commerce.health.status.web.jar -rw-r--r-- 1 denis 1049089 30195 ago 7 10:57 com.liferay.commerce.initializer.util.jar -rw-r--r-- 1 denis 1049089 358881 ago 7 10:57 com.liferay.commerce.inventory.web.jar -rw-r--r-- 1 denis 1049089 3606 ago 7 10:57 com.liferay.commerce.item.selector.api.jar -rw-r--r-- 1 denis 1049089 372967 ago 7 10:57 com.liferay.commerce.item.selector.web.jar -rw-r--r-- 1 denis 1049089 341706 ago 7 10:57 com.liferay.commerce.lang.jar -rw-r--r-- 1 denis 1049089 123866 ago 7 10:57 com.liferay.commerce.notification.api.jar -rw-r--r-- 1 denis 1049089 249374 ago 7 10:57 com.liferay.commerce.notification.service.jar -rw-r--r-- 1 denis 1049089 432612 ago 7 11:11 com.liferay.commerce.notification.web.jar -rw-r--r-- 1 denis 1049089 402683 ago 7 11:11 com.liferay.commerce.order.content.web.jar -rw-r--r-- 1 denis 1049089 171553 ago 7 10:58 com.liferay.commerce.order.web.jar -rw-r--r-- 1 denis 1049089 14313 ago 7 10:58 com.liferay.commerce.organization.api.jar -rw-r--r-- 1 denis 1049089 485452 ago 7 11:11 com.liferay.commerce.organization.order.web.jar -rw-r--r-- 1 denis 1049089 40278 ago 7 10:58 com.liferay.commerce.organization.service.jar -rw-r--r-- 1 denis 1049089 453477 ago 7 11:11 com.liferay.commerce.organization.web.jar -rw-r--r-- 1 denis 1049089 35980 ago 7 10:58 com.liferay.commerce.payment.engine.money.order.jar -rw-r--r-- 1 denis 1049089 529320 ago 7 10:58 com.liferay.commerce.payment.engine.paypal.jar -rw-r--r-- 1 denis 1049089 381800 ago 7 10:58 com.liferay.commerce.payment.method.web.jar -rw-r--r-- 1 denis 1049089 143644 ago 7 10:58 com.liferay.commerce.price.list.api.jar -rw-r--r-- 1 denis 1049089 309341 ago 7 10:58 com.liferay.commerce.price.list.service.jar -rw-r--r-- 1 denis 1049089 528044 ago 7 11:11 com.liferay.commerce.price.list.web.jar -rw-r--r-- 1 denis 1049089 661966 ago 7 10:58 com.liferay.commerce.product.api.jar -rw-r--r-- 1 denis 1049089 54159 ago 7 10:58 com.liferay.commerce.product.asset.categories.navigation.web.jar -rw-r--r-- 1 denis 1049089 398798 ago 7 10:58 com.liferay.commerce.product.asset.categories.web.jar -rw-r--r-- 1 denis 1049089 432031 ago 7 11:11 com.liferay.commerce.product.catalog.rule.web.jar -rw-r--r-- 1 denis 1049089 10518 ago 7 10:58 com.liferay.commerce.product.content.api.jar -rw-r--r-- 1 denis 1049089 398357 ago 7 11:11 com.liferay.commerce.product.content.category.web.jar -rw-r--r-- 1 denis 1049089 464297 ago 7 11:11 com.liferay.commerce.product.content.search.web.jar -rw-r--r-- 1 denis 1049089 642276 ago 7 11:11 com.liferay.commerce.product.content.web.jar -rw-r--r-- 1 denis 1049089 1353874 ago 7 10:59 com.liferay.commerce.product.definitions.web.jar -rw-r--r-- 1 denis 1049089 4409 ago 7 11:00 com.liferay.commerce.product.item.selector.api.jar -rw-r--r-- 1 denis 1049089 383439 ago 7 11:00 com.liferay.commerce.product.item.selector.web.jar -rw-r--r-- 1 denis 1049089 363465 ago 7 11:00 com.liferay.commerce.product.measurement.unit.web.jar -rw-r--r-- 1 denis 1049089 924210 ago 7 11:13 com.liferay.commerce.product.options.web.jar -rw-r--r-- 1 denis 1049089 1792588 ago 7 11:13 com.liferay.commerce.product.service.jar -rw-r--r-- 1 denis 1049089 351793 ago 7 11:13 com.liferay.commerce.product.taglib.jar -rw-r--r-- 1 denis 1049089 361254 ago 7 11:13 com.liferay.commerce.product.tax.category.web.jar -rw-r--r-- 1 denis 1049089 37088 ago 7 11:13 com.liferay.commerce.product.type.grouped.api.jar -rw-r--r-- 1 denis 1049089 60886 ago 7 11:13 com.liferay.commerce.product.type.grouped.service.jar -rw-r--r-- 1 denis 1049089 422782 ago 7 11:14 com.liferay.commerce.product.type.grouped.web.jar -rw-r--r-- 1 denis 1049089 398003 ago 7 11:14 com.liferay.commerce.product.type.simple.jar -rw-r--r-- 1 denis 1049089 42706 ago 7 11:14 com.liferay.commerce.product.type.virtual.api.jar -rw-r--r-- 1 denis 1049089 39490 ago 7 11:14 com.liferay.commerce.product.type.virtual.order.api.jar -rw-r--r-- 1 denis 1049089 411834 ago 7 11:14 com.liferay.commerce.product.type.virtual.order.content.web.jar -rw-r--r-- 1 denis 1049089 77494 ago 7 11:14 com.liferay.commerce.product.type.virtual.order.service.jar -rw-r--r-- 1 denis 1049089 73588 ago 7 11:14 com.liferay.commerce.product.type.virtual.service.jar -rw-r--r-- 1 denis 1049089 467725 ago 7 11:14 com.liferay.commerce.product.type.virtual.web.jar -rw-r--r-- 1 denis 1049089 1570922 ago 7 11:14 com.liferay.commerce.service.jar -rw-r--r-- 1 denis 1049089 388380 ago 7 11:14 com.liferay.commerce.shipment.content.web.jar -rw-r--r-- 1 denis 1049089 430851 ago 7 11:14 com.liferay.commerce.shipment.web.jar -rw-r--r-- 1 denis 1049089 64219 ago 7 11:14 com.liferay.commerce.shipping.engine.fixed.api.jar -rw-r--r-- 1 denis 1049089 102516 ago 7 11:14 com.liferay.commerce.shipping.engine.fixed.service.jar -rw-r--r-- 1 denis 1049089 440505 ago 7 11:14 com.liferay.commerce.shipping.engine.fixed.web.jar -rw-r--r-- 1 denis 1049089 38826 ago 7 11:14 com.liferay.commerce.shipping.origin.locator.address.jar -rw-r--r-- 1 denis 1049089 20743 ago 7 11:14 com.liferay.commerce.shipping.origin.locator.warehouse.jar -rw-r--r-- 1 denis 1049089 396959 ago 7 11:14 com.liferay.commerce.shipping.web.jar -rw-r--r-- 1 denis 1049089 381834 ago 7 11:14 com.liferay.commerce.support.web.jar -rw-r--r-- 1 denis 1049089 379168 ago 7 11:15 com.liferay.commerce.taglib.jar -rw-r--r-- 1 denis 1049089 32791 ago 7 11:15 com.liferay.commerce.tax.api.jar -rw-r--r-- 1 denis 1049089 61268 ago 7 11:15 com.liferay.commerce.tax.engine.fixed.api.jar -rw-r--r-- 1 denis 1049089 116806 ago 7 11:15 com.liferay.commerce.tax.engine.fixed.service.jar -rw-r--r-- 1 denis 1049089 419303 ago 7 11:15 com.liferay.commerce.tax.engine.fixed.web.jar -rw-r--r-- 1 denis 1049089 396807 ago 7 11:15 com.liferay.commerce.tax.service.jar -rw-r--r-- 1 denis 1049089 401146 ago 7 11:15 com.liferay.commerce.tax.web.jar -rw-r--r-- 1 denis 1049089 12429 ago 7 11:15 com.liferay.commerce.user.api.jar -rw-r--r-- 1 denis 1049089 68529 ago 7 11:15 com.liferay.commerce.user.segment.api.jar -rw-r--r-- 1 denis 1049089 3068 ago 7 11:15 com.liferay.commerce.user.segment.item.selector.api.jar -rw-r--r-- 1 denis 1049089 386045 ago 7 11:15 com.liferay.commerce.user.segment.item.selector.web.jar -rw-r--r-- 1 denis 1049089 150310 ago 7 11:15 com.liferay.commerce.user.segment.service.jar -rw-r--r-- 1 denis 1049089 458265 ago 7 11:15 com.liferay.commerce.user.segment.web.jar -rw-r--r-- 1 denis 1049089 24224 ago 7 11:15 com.liferay.commerce.user.service.jar -rw-r--r-- 1 denis 1049089 414865 ago 7 11:15 com.liferay.commerce.user.web.jar -rw-r--r-- 1 denis 1049089 385936 ago 7 11:15 com.liferay.commerce.warehouse.web.jar -rw-r--r-- 1 denis 1049089 65829 ago 7 11:15 com.liferay.commerce.wish.list.api.jar -rw-r--r-- 1 denis 1049089 154990 ago 7 11:15 com.liferay.commerce.wish.list.service.jar -rw-r--r-- 1 denis 1049089 76802 ago 7 11:15 com.liferay.commerce.wish.list.web.jar
I do have all the jars compiled.
The Liferay version I am using is liferay-dxp-7.1.10-ga1
Thanks!
Hi
can you send me the git hash of your commerce?
We don't see problems in the build process at the moment.
I will be very happy to help you in get Commerce deployed correctly.
Let me know.
Marco
Well if i am not wrong, it is pack-c191637aef7074470e5358cb368353b773a3e088
Thanks,
Deveshree
Hey @Deveshree,
If you're still experiencing this issue, can you update your commerce repo and try deploying the modules again? We had a bug recently in our dependency jar versions which prevented things from running correctly on 7.1 DXP GA1, but it should be fixed now -- hopefully just updating your code will do the trick.
Let us know if this resolves things for you!
It brings up a lot of questions right out of the gate, such as: Is it a good choice for my small business? Is it powerful enough to meet my needs? Which solution is right for me? While I can’t answer the last question for you,I have collected a list of options and basic information about each to help you decide.
[url redacted]
I can help you answering all your questions.
Marco: you said there is no build issues. However, following the github instructions the software builds without errors but does not install into modules directory. So, even with restart of server commerce does not show up in portal. Any thoughts?
thanks
@Marco: Would like to hear from you about why build says it works but no modules are deployed.
Hi @Gordon, I think the issue you're experiencing (build succeeds, but deployment has problems) is due to a bug we had in master recently involving dependency versions -- but it should be fixed now. Can you run this command in your commerce repo and paste the output?
git rev-parse HEAD
EDIT: The other possibility is that the gradle command is outputting files to the wrong location on your machine. When you run
./gradlew deploy
part of the output should be something like
Files of project ':apps:commerce:{module}' deployed to {path}
Can you confirm the files are being output to the expected location (i.e., your $liferay_home/osgi/modules directory)?
Ethan: thank you for the reply. I will run commands right now and post.
Ethan: Here is key:
38f43ee0fbae04768039ef4a5c9643daafa509ca
gordon daniels:Ethan: Here is key:
38f43ee0fbae04768039ef4a5c9643daafa509ca
Interesting... I don't seem to have that commit. Have you made customizations on top of the code available on GitHub?
To deploy the version that I can confirm is working, you can run
git fetch https://github.com/liferay/com-liferay-commerce.git 7.1.x:7.1.x && git checkout 7.1.x && ./gradlew -Dbuild.profile=portal deploy
If you have customizations that you want to deploy, the best way will probably be to rebase on top of 7.1.x and then run the deploy script.
Ethan: I have not made any customizations. Just wanted to test and see how it worked. Will try your link.
thanks
Ethan: ran build deploy. while it says its deploying modules it does not show any path or where modules are deployed.
Interesting, no paths printed.... What command are you using to deploy the modules?
Ethan: ./gradlew deploy -Dbuild.profile=portal from github instructions.
that link did not work for me. It says not a git repository
Sorry -- it was a formatting issue. I intended to list a series of commands, but it was turned into a link. Please see that post again.
Essentially the idea is to fetch the latest commerce code (branch 7.1.x) and deploy that, instead of what you have locally at the moment. I still haven't been able to find the commit you listed, so I'm not sure why it's failing for you more specifically than the code isn't up-to-date.
I also just saw that you posted above
I now have it working. I copied the modules from bundles to osgi/modules. Restarted the server and now I can see everything. Thanks again to Christoph for sharing his insights.
That's a sensible thing to do and should contribute to a solution to your problems. An easier way make be, since you're running Linux, to create a symlink at ../bundles/osgi/modules pointing to the appropriate deploy location, so that you don't have to copy the files manually every time.
However, this also means that deploying to the wrong location is not the source of your issues. Hopefully updating your repo does the trick.
Ethan: thanks for the help! I will try your suggestions and will post back here tomorrow.
thanks again
Ethan: Well, that linked worked. It built properly. I see the modules in the '/bundles/osgi/modules/ directory. However, after restarting the server, commerce does not show up in the portal. No error messages in logs.
BTW, saw path that it was installed into and its correct :-)
Try to check the gogo shell.
Control Panel > Configuration > Gogo Shell and check with lb | grep commerce in what state the modules are.
If they aren't active, try to remove them (with server running) from the modules folder. Then add them again.
Shows modules are active, but does not show in portal.
@Gordon, try running dm wtf
in gogo shell. It'll tell
you any modules that have dependency issues. If it tells you any
modules are "in the INSTALLED state", try running
start ${bundleId}
for each and it'll tell you what (if
anything) is keeping them from being activated.
LOL. After I ran the gogo shell command, commerce now shows up. Go figure. :-)
thanks for all your help
Weird! haha
Well, glad it's working now :). Hope it stays that way
Ethan: thanks for the suggestion. Will do.
thanks again for your help.
Antonio Morcillo:hi!
i`m currently testing brand new Liferay Commerce. I installed Liferay Portal 7.1 and then the commerce repo as read in its github site https://github.com/liferay/com-liferay-commerceeveryting seems to go fine. However, in my installation can't access to any commerce feature in control panel, the tab "Commerce" is missing. No error logs found, neither.
Any help will be appreciated.
Best regards,
Antonio.
I have faced the same issues, can you find an appropriate answer for
this? Please help me.
Thanks & Regards,
James
James Thomas:Antonio Morcillo:hi!
i`m currently testing brand new Liferay Commerce. I installed Liferay Portal 7.1 and then the commerce repo as read in its github site https://github.com/liferay/com-liferay-commerce everyting seems to go fine. However, in my installation can't access to any commerce feature in control panel, the tab "Commerce" is missing. No error logs found, neither.
Any help will be appreciated.
Best regards,
Antonio.
I have faced the same issues, can you find an appropriate answer for this? Please help me.
Thanks & Regards,
James
Hi James
Could you, please, try to perform a full content reindexing? After the indexation all options must be shown.
It worked for me but after this I came across some other issues
Regards
I did the same from the site https://github.com/liferay/com-liferay-commerce but i'm facing the issue. I hope your issue is resolved now
Sam Roger:I did the same from the site https://github.com/liferay/com-liferay-commerce but i'm facing the issue. I hope your issue is resolved now
Yes, Resolved :)
Thanks everyone for pointing out the bug. We're already working on its fix.
Antonio Morcillo:hi!
i`m currently testing brand new Liferay Commerce. I installed Liferay Portal 7.1 and then the commerce repo as read in its github site https://github.com/liferay/com-liferay-commerceeveryting seems to go fine. However, in my installation can't access to any commerce feature in control panel, the tab "Commerce" is missing. No error logs found, neither.
Any help will be appreciated.
Best regards,
Antonio.
Hey! Antonio.
Can you find the solution to this issue?
Please, help me too.
Regards, Tom :)
Tom Alex:Antonio Morcillo:hi!
i`m currently testing brand new Liferay Commerce. I installed Liferay Portal 7.1 and then the commerce repo as read in its github site https://github.com/liferay/com-liferay-commerce everyting seems to go fine. However, in my installation can't access to any commerce feature in control panel, the tab "Commerce" is missing. No error logs found, neither.
Any help will be appreciated.
Best regards,
Antonio.
Hey! Antonio.
Can you find the solution to this issue?
Please, help me too.
Regards, Tom :)
Hi Tom, you can try to follow the instructions Ethan gave to Gordon, it worked for him. :)
@Gordon, try
running dm
wtf
in
gogo shell. It'll tell you any modules that have dependency
issues. If it tells you any modules are "in the INSTALLED
state", try running
start ${bundleId}
for each and it'll tell you what (if anything) is keeping them
from being activated.
Powered by Liferay™