• Welcome to KonaKart Community Forum. Please login or sign up.
 

two Konakart applications running on one machine blues......

Started by costis, July 23, 2008, 08:54:02 am

Previous topic - Next topic

costis

../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

ming

I have no idea what you're asking  ???    Please explain what you've done.

costis

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

ming

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?


costis

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

ming

Can't you use a full path name for each configuration file?

costis

Yes! This is what i'm trying to do, but the konakartadmin of shop7 gives me the relative pathname and the error....


ming

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).

costis

Thank you! This is exactly the file we needed!
2 beers for you!

Costis

ming