KonaKart Community Forum

Installation / Configuration => Installation of KonaKart => Topic started by: costis on July 23, 2008, 08:54:02 am

Title: two Konakart applications running on one machine blues......
Post by: costis on July 23, 2008, 08:54:02 am
../webapps/konakart/WEB-INF/classes/konakart.properties does not exist on the second shop and

/var/lib/wwwrun/shop2/webapps/konakart/WEB-INF/classes/konakart.properties on the other!

Why does the first site not use a full-path name? 

Thanx
Title: Re: two Konakart applications running on one machine blues......
Post by: ming on July 23, 2008, 08:59:53 am
I have no idea what you're asking  ???    Please explain what you've done.
Title: Re: two Konakart applications running on one machine blues......
Post by: costis on July 23, 2008, 09:05:16 am
The shop we just created that uses the relative path-name, gives us an error-message:
"../webapps/konakart/WEB-INF/classes/konakart.properties does not exist"

The older shop uses a full path name instead and finds the properties files.

How could we make the new shop use a full-path-name for properties and work correctly.

We used the KonakartInstall program.

Hope i explained the problem correctly this time...

Thanx
Costis
Title: Re: two Konakart applications running on one machine blues......
Post by: ming on July 23, 2008, 09:09:40 am
Where are you getting this error?  Is this when you run the Admin App to edit config files?

I'm still puzzled.  The KonaKart installer only installs one shop, so how have you created two shops?  Have you just run it twice? 

What are you hoping to achieve here?

Title: Re: two Konakart applications running on one machine blues......
Post by: costis on July 23, 2008, 09:17:39 am
Yes! It is at the konakartadmin-->Configuration-->Edit Config Files!
We are setting-up an application that creates a group of shops, that operate
under a common portal. We change the ports to have them work simultaneously.
We had 6 separate shops so far, and now we create the seventh and are getting
the relative path with the error message, so we can not configure the shop correctly.
Where is a definition of the path to the property-files? The file exists, is correct and has the correct
permissions.

suseserver:/var/lib/wwwrun # find . -name konakart.properties -print
./shop7/custom/onepagecheckout/src/konakart.properties
./shop7/webapps/konakart/WEB-INF/classes/konakart.properties
./shop5/custom/onepagecheckout/src/konakart.properties
./shop5/webapps/konakart/WEB-INF/classes/konakart.properties
./shop3/custom/onepagecheckout/src/konakart.properties
./shop3/webapps/konakart/WEB-INF/classes/konakart.properties
./shop4/custom/onepagecheckout/src/konakart.properties
./shop4/webapps/konakart/WEB-INF/classes/konakart.properties
./shop1/custom/onepagecheckout/src/konakart.properties
./shop1/webapps/konakart/WEB-INF/classes/konakart.properties
./shop2/custom/onepagecheckout/src/konakart.properties
./shop2/webapps/konakart/WEB-INF/classes/konakart.properties
./shop6/custom/onepagecheckout/src/konakart.properties
suseserver:/var/lib/wwwrun #


Thanx
Title: Re: two Konakart applications running on one machine blues......
Post by: ming on July 23, 2008, 09:35:52 am
Can't you use a full path name for each configuration file?
Title: Re: two Konakart applications running on one machine blues......
Post by: costis on July 23, 2008, 09:37:59 am
Yes! This is what i'm trying to do, but the konakartadmin of shop7 gives me the relative pathname and the error....

Title: Re: two Konakart applications running on one machine blues......
Post by: ming on July 23, 2008, 09:49:53 am
If you use full path names in your konakart_config_files.xml file, KonaKartAdmin App will find the defined files (assuming the file names are correct and the files accessible).
Title: Re: two Konakart applications running on one machine blues......
Post by: costis on July 23, 2008, 09:56:38 am
Thank you! This is exactly the file we needed!
2 beers for you!

Costis
Title: Re: two Konakart applications running on one machine blues......
Post by: ming on July 23, 2008, 10:00:51 am
Thanks for the beer  :D