thanks Alistair,

unfortunately that didn't solve the problem. I have copied the 
store.cfg file in the following dir:

Flex\jrun4\servers\default\cairngormstore\WEB-INF\classes

then I changed the path inside the store.cfg file like this:

db_path=c:\cairngormstore\db
connection_manager_impl=org.nevis.cairngorm.samples.store.dao.HSQLDBC
onnectionManager
#connection_manager_impl=org.nevis.cairngorm.samples.store.dao.MySQLC
onnectionManager

I then copied the contents of the db directory into 
c:\cairngormstore\db.
restarted the server but still geting: Product could not be retrived!

I tried using the netConnectionDebugger to see the call to the 
serveces and here they are:
MethodName: "productServiceImpl.getProducts"
Parameters (object #2)
.....[0] (object #3)
.........._flag: "Envelope"
..........data (object #4)
...............No properties
..........headers (object #5)
...............[0] (object #6)
....................[0]: "ServiceType"
....................[1]: (boolean) false
....................[2]: "stateless-class"



Status (object #2)
.....code: "Server.Processing"
.....description: "org/apache/log4j/Layout"
.....details: ""
.....level: "error"
.....type: ""
.....rootcause (object #3)
..........code: (undefined) 
..........description: "org/apache/log4j/Layout"
..........details: ""
..........level: "error"
..........type: ""

is there a problem in reaching the service?

BTW. in the Cairngorm RIA Microarchitecture pdf is written:

Copy (contents of) webapp/ into WEBAPP_DIR/cairngormstore/
Copy conf/store.cfg and conf/log4j.properties to
WEBAPP_DIR/WEB-INF/classes

shouldn't it be 

WEBAPP_DIR/cairngormstore/WEB-INF/classes ?












--- In [email protected], "Alistair McLeod" <[EMAIL PROTECTED]> 
wrote:
> "...the path to the database can be relative to your webapp 
context root..."
> 
> Actually, that's wrong, its relative to the directory in which the 
command
> to start the JVM was exectuted. On tomcat, if you start via 
the .bat files,
> this will usually be TOMCAT_HOME.
> 
> Because JRun expands WAR files into its own directory structure, 
in that
> case, it might be easier to set an absolute path in store.cfg.
> 
> Cheers,
> 
> Ali
> 
> 
> --
> Alistair McLeod
> Development Director
> iteration::two
> [EMAIL PROTECTED]
>  
> Office:  +44 (0)131 338 6108
>  
> This e-mail and any associated attachments transmitted with it may 
contain
> confidential information and must not be copied, or disclosed, or 
used by
> anyone other than the intended recipient(s). If you are not the 
intended
> recipient(s) please destroy this e-mail, and any copies of it, 
immediately.
>  
> Please also note that while software systems have been used to try 
to ensure
> that this e-mail has been swept for viruses, iteration::two do not 
accept
> responsibility for any damage or loss caused in respect of any 
viruses
> transmitted by the e-mail. Please ensure your own checks are 
carried out
> before any attachments are opened.
>  
> 
> -----Original Message-----
> From: [email protected] 
[mailto:[EMAIL PROTECTED] On
> Behalf Of Alistair McLeod
> Sent: 18 May 2005 11:31
> To: [email protected]
> Subject: RE: [flexcoders] Re: Cairngorm 0.99
> 
> Hi,
> 
> The store.cfg file should be in your WEB-INF/classes directory. 
Within that,
> the path to the database can be relative to your webapp context 
root, or
> absolute. The simplest way to get ti working is to change the path 
an
> absolute path, (eg, c:\cairngorm\db), create that directory and 
copy the
> contents of the db directory from the distribution into it. 
Restart your app
> server and it should all work.
> 
> Cheers,
> 
> Ali 
> 
> 
> --
> Alistair McLeod
> Development Director
> iteration::two
> [EMAIL PROTECTED]
>  
> Office:  +44 (0)131 338 6108
>  
> This e-mail and any associated attachments transmitted with it may 
contain
> confidential information and must not be copied, or disclosed, or 
used by
> anyone other than the intended recipient(s). If you are not the 
intended
> recipient(s) please destroy this e-mail, and any copies of it, 
immediately.
>  
> Please also note that while software systems have been used to try 
to ensure
> that this e-mail has been swept for viruses, iteration::two do not 
accept
> responsibility for any damage or loss caused in respect of any 
viruses
> transmitted by the e-mail. Please ensure your own checks are 
carried out
> before any attachments are opened.
>  
> 
> -----Original Message-----
> From: [email protected] 
[mailto:[EMAIL PROTECTED] On
> Behalf Of violabg2002
> Sent: 18 May 2005 11:24
> To: [email protected]
> Subject: [flexcoders] Re: Cairngorm 0.99
> 
> great work!!
> 
> I'm having same problem with the installation of the cairgormstore 
example,
> (I think the problem is whit the db files) after installing 
everything the
> application start but I get e message saying:
> 
> Product could not be retrived!
> 
> Like I said I think the problem is with db files (I'm a flash/flex 
developer
> and not very good with db), I'm not sure I put the store.cfg (do I 
need to
> copy it with the conf folder or just put the file in the classes 
dir) end db
> file in the right folders.
> 
> Any help would be appriciated.
> 
> PS. I'm using e flex developer edition on a integrated jrun 
installation.
> 
> 
> 
> 
>  
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 
>  
> Yahoo! Groups Links




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to