• Welcome to KonaKart Community Forum. Please login or sign up.
 
May 07, 2024, 07:35:49 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.

Topics - sinoea

1
Hi there,
I have a few questions regarding the installation of the konakart
plugin with the dotcms.


This is what I have done:

1. I have installed dotcms_1.9.1.3 under C:\dotcms_1.9.1.3
2. Configured database properties in ROOT.xml
3. I have installed KonaKart-5.2.0.0
4. Created an empty database called konakart and imported the konakart_demo.sql file
5. Created an empty database called dotcms
6. Added the konakart plugin under the plugins folder (C:\dotcms_1.9.1.3\plugins\com.konkart)
7. From the root of the project (C:\dotcms_1.9.1.3) I run the "ant deploy-plugins" command to get all generated files
   moved to the WEB-INF/classes and WEB-INF/lib folder
   
   6.1 When the "ant deploy-plugins" command is run, the konakart.properties and the konakart_app.properties are
       never moved to the WEB-INF/classes folder. So I move those two files to WEB-INF/classes folder manually
       before starting the server. I also move the konakart_velocity.properties file to the WEB-INF/classes folder
       (in case it is needed).
   
   6.2 I configure the database properties in the konakart.properties file
   
---------------------------------------------------------------
       
   Now, here is the problem:   
       
1. If I start the server (C:\dotcms_1.9.1.3\bin\startup.bat)
   and leave the starter.zip (C:\dotcms_1.9.1.3\dotCMS\starter.zip)
   that came with the original DOTCMS installation then
   I will see the DOTCMS starter site, not the integrated Konkart plugin.
   
   Even if the konakart_dotcms_1.9.1.3.zip is there (C:\dotcms_1.9.1.3\dotCMS\html\plugins\com.konkart\konakart_dotcms_1.9.1.3.zip)
   and the dotmarketing-config.properties is updated with the following values:
   STARTER_DATA_LOAD=/html/plugins/com.konakart/konakart_dotcms_1.9.1.3.zip
   URLMAP_FALLTHROUGH=false
   
   
2. If I remove the original DOTCMS starter.zip and put the konakart_dotcms_1.9.1.3.zip there.
   C:\dotcms_1.9.1.3\dotCMS\konakart_dotcms_1.9.1.3.zip and then rename konakart_dotcms_1.9.1.3.zip
   to starter.zip and start the server then things work better (I get a few exceptions in the log).
   
   
   

My questions are:
1. Have I missed anything
2. Which is the right way to install a plugin?
   Should I remove the original DOTCMS starter.zip and replace it
   it with the new plugin zip and rename it to starter.zip as I have done
   in option 2 above?
   
   Or leave the original DOTCMS starter.zip there as in option 1.
   It never worked for me, but maybe I have missed something else.
   
   
   
   
Please help, it is important I get this right with a proper install!



Thanks,
Sinoe