coldfusion verity error "bad key"
1) You can't make a collection with the CF administrator and then have vspider index docs into it. You have to use vspider to make the collection and/or another utility. Info on it is at:
ColdFusion MX 7: Additional files for using Verity Spider
Turns out for CF 8, the files it says to download are already installed.
2) As it says in the KB article above, you then have to create the collection in the CF Admin for it to be visible to CF. This errored the first time I did it. I just deleted the collection through CF (because it still showed up despite the error) and then deleted the directory for it, redid the spider thing and then redid it in the CF Admin and it worked. The error may have been because I'd originally done something wrong.
3) I specified the "-language englishx" attribute for vspider even though that's supposed to be the default.
Here's the batch file I'm using to run this:
net stop "ColdFusion 8 Search Server"
Here's the command file: (I don't know what the prefix file is for -- someone had set that up before me)
-common C:\CFusion8\verity\k2\common
prefixmap.txt file:
C:\CFusion8\verity\k2\_nti40\bin\vspider -cmdfile E:\
net start "ColdFusion 8 Search Server"
-style C:\CFusion8\verity\Data\stylesets\ColdFusionVspider
-collection E:
-prefixmap E:
-start http://localhost
-language englishx
-exclude *.css
-cgiok
Flex 2 and modified CairngormStore
1) Download Cairngorm source -- this should be finable on the web. I'm using the source as I want to be able to look at the underlying code instead of just using the compiled (SWC) version.
2) Download the modified CairngormStore from:
http://ntier.wordpress.com/modcairngormstore/
3) In FlexBuilder 2 create a new Flex project.
4) Do File->Import and point to the directory holding the Cairngorm source.
5) Do File->Import and pull in the unzipped CairngormStore files.
6) Open up the file com.adobe.samples.store.business.Services.mxml and change:
xmlns:cairngorm="http://www.adobe.com/2006/cairngorm" to xmlns:cairngorm="com.adobe.cairngorm.business.*"
7) In FB2, click the drop-down arrow by the Run button and select "Run..." In the interface that comes up, make sure you have the following settings:
Project: Set to name of your project Application file: Change to "Main.mxml"
Also, verify that the "Run" property is set to the right URL.
8) Select the project in the Eclipse Navigator (if not already selected) and do: Project->Properties.
Go to the "Flex Build Path" screen and in the "Source path" tab, click "Add Folder..." and add the following:
local\{locale}
and click OK.
9) In the "Flex Compiler" tab, make sure that "Additional compiler arguments" containg:
-locale en_US
With the above done, you should be able to run the CairngormStore without a database backend.