For me who use a mac (OS X Tiger) is an absolute path the solution too.

@Mac-Users: You have to change the slash syntax for the db_path at store.cfg as follows:

db_path=/{absolutePathToTomcat}/db/

Took me some minutes to figure this out ;)

sectore

--
www.websector.de 



--- In [email protected], "pmaegerman" <[EMAIL PROTECTED]> wrote:
>
> I have encountered a similar problem with Tomcat, it doesn't seem to
> find the 'db' directory. Unfortunately for me, it doesn't create
> itself the directory.
> I managed to have it work with db_path=c:\\DB\\
> I thought it might be due to the spaces in Tomcat's location
> (c:\program files ...) but trying db_path=c:\\D B\\ did work so I
> guess that's not the problem.
> My file structure is C:\Program Files\Apache Software
> Foundation\Tomcat 5.5\webapps\store\
> I have tried to put the 'db' directory in all levels of directory,
> restarting the server every time, but no success :(
> At least it works with an absolute path, I'll be able to dig into the
> application now ;)
>
> Cheers
>
> --- In [email protected], "Daniel Harfleet" [EMAIL PROTECTED]
> wrote:
> > Tom,
> >
> > thanks for the feedback on the docs, I will ammend the typos.
> >
> > There seems to be some inconsistancy at where Tomcat thinks the
> > current directory is, maybe on some operating systems and/or some
> > versions of Tomcat, it thinks it is in the web context and others, it
> > thinks it is under the webapps directory.
> >
> > I'd be interested to see if this is a common problem.
> >
> > Just out of interest, are you using the Ant script, or are you doing
> > all the configuration manually ?
> >
> > By the way, you can ignore the warning messages for Log4J, the log4J
> > configuration should be picked up from the classes directory, where
> > the store.cfg is, but maybe it is not happening for some reason, when
> > I get time I will look into it.
> >
> > thanks for your feedback and glad you got it working eventually,
> >
> > dan
> >
> >
> > --- In [email protected], Tom Fitzpatrick [EMAIL PROTECTED] wrote:
> > > At 10:29 AM 5/26/2005, you wrote:
> > > >So .... please ensure that you hve the catalog.script file copied
> into
> > > >the db/ directory that you have created;
> > >
> > > This did work - thanks!
> > >
> > > But - for the sake of others who might be confused - the odd thing
> > is that
> > > I didn't create that db folder, it was created automatically (one
> level
> > > higher) after I had created a db folder, with the script file in it,
> > at the
> > > level indicated in the docs and in Alex's email. Then, when I
> moved the
> > > script file to that newly created folder, the product images
> showed up.
> > >
> > > I am still getting the log4j error messages - I take it I can safely
> > ignore
> > > them.
> > >
> > > Thanks again for your help in getting this going. Onward and upward!
> > >
> > > - Tom
>
__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to