Help in installing ganib using xampp in windows 7

1,789 views

Hello everyone,


I am a beginner in installing open source softwares. I have 3 urgent questions.

Question 1
I am trying to install and run ganib on a local xampp server  to check out ganib as a possible software for our projects.
I am using xampp to test ganib. I am badly stuck in the step as follows:


Now edit GANIB_HOME\conf\context.xml file to change database connection properties.


•    <Resource name="jdbc/GanibDB" auth="Container" type="javax.sql.DataSource" username="root" password="" driverClassName="com.mysql.jdbc.Driver" url="jdbc:mysql://localhost:3306/ganib?autoReconnect=true&amp;useUnicode=true&amp;characterEncoding=utf-8" maxActive="125" maxIdle="25" />
•    Replace username, password & database name from url.

I followed the steps previous to this step in the sql command line.


Can someone please write the code after changing so that I can copy paste to run ganib as a test.

We are running tomcat as the server and I downloaded the ganib with jre file. Port 8080 is the tomcat port…3306 is the mysql port and user is root with no password.  Windows 7 as platform. Xampp is running perfectly as prestashop is running on it. The ganib files are extracted in the tomcat/webapps folder in xampp.


The other method to install ie. war file way shares the same step I am stuck in. I followed the previous steps with success but I think the database is not connecting.


Can someone please write a tutorial with screen shots to help me install. We need this by Monday as we are in the deciding phase!
I did the previous steps but when I run localhost:8080/ganib it says:


 HTTP STATUS 404-/ganib
type: status report
message:/ganib
description:The requested resource is not available.

    What are the steps needed to complete installation?


Question 2:

How do we update the application once it is installed and running on our server and we are in the middle of a project?? I cant afford to lose files and progress in the update process.


Question 3:

what are the known security concerns and solutions in running the software.  How is the user feedback? Are you guys happy running and using this platform to manage projects with people who are physically located apart? We must run ganib on our servers as its policy for now.


Many thanks in advance!
 

asked Mar 9, 2014 by BEGINNER (280 points)

1 Answer

+1 vote
 
Best answer

Hi,

You can use below instructions to install ganib in xampp folder.'

1) Download latest Ganib war file from sourceforge.

2) Clean previous ganib folder/files from webapps directory which is probably located in your c:\xampp\tomcat\ directory

3) Extract latest war file in c:\xampp\tomcat\webapps directory

4) Open context.xml from c:\xampp\tomcat\conf\ & add below resource in context

 

<Resource name="jdbc/GanibDB"
auth="Container"
type="javax.sql.DataSource"
username="root" password=""
driverClassName="com.mysql.jdbc.Driver"
url="jdbc:mysql://localhost:3306/ganib?autoReconnect=true&amp;useUnicode=true&amp;characterEncoding=utf-8"
maxActive="125" maxIdle="25"
/> 
5) Now you need to set heap size for tomcat.
-- Open services from control panel
-- Right click on tomcat service -> properties -> java
-- Set initial memory pool = 256 and maximum memory pool=1024
 
Or you can add below line in catalina.bat or startup.bat locatest in  c:\xampp\tomcat\bin\
-Xms256m -Xmx1024m -Xss512k -XX:MaxPermSize=512m
6) Create new database in mysql with name "ganib" & import ganib.sql using command prompt or any GUI MySQL client. (You can download ganib.sql from sourceforge)
 
7) Now start your tomcat service from xampp  control panel or services. 
 
8) If everything goes fine you can access ganib using http://localhost:8080/ganib. If you are still unable to access then send log files from c:\xampp\tomcat\log\  so we can investigate this issues.
 
Thanks & Regards,
answered Mar 11, 2014 by Ganib (590 points)
selected Mar 14, 2014 by BEGINNER
...