• Welcome to KonaKart Community Forum. Please login or sign up.
 
May 05, 2024, 07:59:45 pm

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - scout23DF

1
I'm building both storefront and admin portlets as described at "LiferayPortletInstallation.pdf" file. The steps were:

1) I'm using PostgreSQL 9.2, then I removed from "konakart\webapps\konakart\WEB-INF\lib" the jdbc drivers that won't be used (MySQL, MS SQL Server, Oracle);
2) I've edited the config file "konakart\webapps\konakart\WEB-INF\classes\konakart.properties" with my right database connection settings;
3) I typed the command: "[Drive]\KonaKart\custom>.\bin\kkant make_liferay_portlet_war -DLR6120=true -Djboss=true -Djbossliferay=true" ;
4) I extracted the "konakart.war" generated and included the following jars at "\WEB-INF\lib":
   - portal-service-6.1.2.jar
   - portlet.jar
   - util-taglib.jar
5) I've checked the liferay-portlet config files: "liferay-plugin-package.xml", "liferay-plugin-package.properties", "portlet.xml";
6) I've zipped my directory and make a new "konakart.war";
6) I started my Liferay 6.1.2-GA3 JBossAS 7.1.1 Bundle:
7) I deployed the "konakart.war" at the right directory. The Liferay starts and finishes the deploy successfully;
8) I go to the Control Panel and I cannot see the "KonaKart Storefront" portlet available for use.

My environment is:
  - Linux Ubuntu 12;
  - Oracle JDK 6.0;
  - Apache Ant 7;
  - KonaKart-7.1.1.1  (I've downloaded the "KonaKart-7.1.1.1.zip" file);
  - Liferay 6.1.2-GA3  (And I've tested with Liferay 6.2.0-GA1 too);
  - PostgreSQL 9.2;

Can you see any wrong step?

Please, help me. I need to make this work fine until next wednesday, january, 22.

Thanks.
2
I'm trying to make the KonaKart 7.1.1.1 - StoreFront portlet run in a Liferay 6.1.2 / JBoss 7.1 bundle. I'm using Linux Ubuntu 12.

I've installed KonaKart in a separated box on Tomcat and everything works well. The tables and demo data were created with no problem at my PostgreSQL 9.2.

But I need the webshop working inside my Liferay Portal. Then I've made the database connection changes at config files and generated the .war file successfully as said the docs. Then I deploy it to the Liferay bundle and It was deployed with no error. The console shows the messages below:

17:02:15,112 INFO  [stdout] (com.liferay.portal.kernel.deploy.auto.AutoDeployScanner) 17:02:15,111 INFO  [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][PortletAutoDeployListener:89] Portlets for /java/AmbDesLiferayNT/AppServers/BundlesLiferay-6.1.2-GA3/deploy/konakart.war copied successfully. Deployment will start in a few seconds.
17:02:18,191 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 2) JBAS015003: Found konakart.war in deployment directory. To trigger deployment create a file called konakart.war.dodeploy
17:02:18,197 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-6) JBAS015876: Starting deployment of "konakart.war"
17:02:19,324 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-8) Class Path entry jsr173_1.0_api.jar in "/java/AmbDesLiferayNT/AppServers/BundlesLiferay-6.1.2-GA3/jboss-7.1.1/standalone/deployments/konakart.war/WEB-INF/lib/jaxb-impl.jar"  does not point to a valid jar for a Class-Path reference.
17:02:19,324 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-8) Class Path entry jaxb1-impl.jar in "/java/AmbDesLiferayNT/AppServers/BundlesLiferay-6.1.2-GA3/jboss-7.1.1/standalone/deployments/konakart.war/WEB-INF/lib/jaxb-impl.jar"  does not point to a valid jar for a Class-Path reference.
17:02:19,863 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-7) JBAS010404: Deploying non-JDBC-compliant driver class org.postgresql.Driver (version 9.2)
17:02:19,945 INFO  [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-1) Inicializando Mojarra 2.1.7-jbossorg-1 (20120227-1401) para o contexto '/konakart'
17:02:20,083 INFO  [com.konakart.al.KKAppEng] (MSC service thread 1-1) Initialising From Servlet
17:02:20,083 INFO  [com.konakart.al.KKAppEng] (MSC service thread 1-1) Single Store
17:02:20,084 INFO  [com.konakart.al.KKAppEng] (MSC service thread 1-1) kkAppEng using configuration file: vfs:/java/AmbDesLiferayNT/AppServers/BundlesLiferay-6.1.2-GA3/jboss-7.1.1/standalone/deployments/konakart.war/WEB-INF/classes/konakart_app.properties
17:02:20,861 INFO  [stdout] (MSC service thread 1-1)
17:02:20,861 INFO  [stdout] (MSC service thread 1-1) **********************************************************************************
17:02:20,861 INFO  [stdout] (MSC service thread 1-1) * KONAKART LICENSE AGREEMENT                                                     *
17:02:20,861 INFO  [stdout] (MSC service thread 1-1) * You may not use this software except in compliance with the licenses.          *
17:02:20,861 INFO  [stdout] (MSC service thread 1-1) * Please study the licenses on the KonaKart website  for the rights, obligations *
17:02:20,862 INFO  [stdout] (MSC service thread 1-1) * and limitations governing the use of this software.                            *
17:02:20,862 INFO  [stdout] (MSC service thread 1-1) * For users of the Community Edition of KonaKart see:                            *
17:02:20,862 INFO  [stdout] (MSC service thread 1-1) *         http://www.konakart.com/documents/COMMUNITY-LICENSE.txt                *
17:02:20,862 INFO  [stdout] (MSC service thread 1-1) * For users of the Enterprise Extensions of KonaKart see:                        *
17:02:20,862 INFO  [stdout] (MSC service thread 1-1) *         http://www.konakart.com/documents/ENTERPRISE-LICENSE.txt               *
17:02:20,862 INFO  [stdout] (MSC service thread 1-1) **********************************************************************************
17:02:20,863 INFO  [stdout] (MSC service thread 1-1) KonaKart V7.1.1.1-C built 5:53AM 12-Sep-2013 BST [DB: 7.1.1.0 PostgreSQL]
17:02:20,863 INFO  [stdout] (MSC service thread 1-1)
17:02:20,883 WARN  [com.konakart.al.KKAppEng] (MSC service thread 1-1) Thread Storefront-Cache-Updater - store1 not registered for shutdown - no kkContextListener found
17:02:20,883 WARN  [com.konakart.servlet.AppEngServlet] (MSC service thread 1-1) Thread KonaKartAppEngineServlet - com.konakart.servlet.AppEngServlet not registered for shutdown - no kkContextListener found
17:02:20,884 INFO  [org.jboss.web] (MSC service thread 1-1) JBAS018210: Registering web context: /konakart
17:02:21,115 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 1) JBAS018559: Deployed "konakart.war"


But when I go to the Liferay Control Panel, at "Plugins Installation" I could not see the KonaKart StoreFront portlet available. I don't get to add the KonaKart portlet to any page, because It's not shown at the Applications list.

It happens too with Liferay 6.2.0, even after I've made the changes said at this topic: http://www.konakart.com/forum/index.php/topic,1889.msg7350.html#msg7350

Could anyone help me with this mistery?

Thanks a lot.
3
Using KonaKart as a Portlet / Re: Liferay 6.2?
January 13, 2014, 08:17:45 pm
Hello, Ming,


      I'm trying to make KonaKart StoreFront 7.1.1.1 compatible with Liferay 6.2.0-GA1.

      I've tried to make the two changes at the files "liferay-plugin-package.properties" and "liferay-plugin-package.xml", as you said above. The portlet is deployed successfully, but when try to Activate the portlet, through the "Application Manager" option at the "Control Panel", it shows the following error at console:

17:40:22,085 INFO  [stdout] (http--0.0.0.0-8080-2) java.lang.NullPointerException
17:40:22,086 INFO  [stdout] (http--0.0.0.0-8080-2) at com.liferay.marketplace.appmanager.portlet.AppManagerPortlet.updatePluginSettings(AppManagerPortlet.java:206)

      Then the portlet is not shown anymore at the Portal.

      I'm using JBossAS 7.1 and PostgreSQL 9.2.

      Is there any sugestion about this error?

      Thanks !
4
Using KonaKart as a Portlet / Re: Liferay 6.2?
December 26, 2013, 05:06:09 pm
When the next version with Liferay 6.2.0-GA1 support will be released?

Which changes at the WAR files are necessary to make them compatible?

Thanks!