Verity 6 Error
After installing the Verity Component (VDK6_Windows_10gR3_20070406 trough ComponentWizard, Enabling and restarting the Content Server, Indexing did not worked.
Content Server : ContentServer_Windows_10gR3_20070511
Component did not create search Folder inside shared directory, which exists in case of 7.2.1 and 7.5 versions. Is this part of Content Server Installation, or same is part of VDK6_Windows_10gR3_20070406 and need to manually copied to shared directory?
What might have went wrong?
Thanks
Following is the stack Trace of error:
'comptool' component, version '060327 (build $Rev: 52920 $)', extends comptool feature(s)
'ConfigMigrationUtility' component, version '070511T145329 (build 38)', extends ConfigurationMigration:1.0-1.0.0.38 feature(s)
'PopUpCalendar' component, version '2007_03_14 (build 3)', extends PopupCalendar feature(s)
'CoreWebdav' component, version '2007_04_05 (build 8)', extends webdav:2.0-2.0 feature(s)
'YahooUserInterfaceLibrary' component, version '2007_02_27 (build 11)', extends YahooUserInterfaceLibrary feature(s)
'NativeOsUtils' component, version '060913 (build $Rev: 52954 $)', extends NativeOsUtils feature(s)
'Helper' component, version '6.2 5/9/07 1:22 PM', extends Helper:6.2-0.0.548.1913902691 feature(s)
'Lists' component, version '2006_6_01', extends Lists feature(s)
'Folders' component, version '(build 211) 5/9/07 1:23 PM', extends folders feature(s)
'FoldersWebdav' component, version '2007_04_02 (build 7)', extends folderswebdav:1.0-1.0 feature(s)
'VDK6' component, version '2006_08_16(build 1)', extends vdk6base:8.0-1.0,vdk6locales:8.0-1.0 feature(s)
system 06.24 22:11:27.969 main !syFileUtilsDirNotFound,c:/stellent/shared/search/style/basic/!csIndexerStyleDirError-exception stack
intradoc.common.ServiceException: !syFileUtilsDirNotFound,c:/stellent/shared/search/style/basic/!csIndexerStyleDirError
at intradoc.common.FileUtils.validatePath(Unknown Source)
at intradoc.indexer.VerityHandler.validateConfig(Unknown Source)
at intradoc.indexer.IndexerExecution.validateConfig(Unknown Source)
at intradoc.indexer.IndexerDriverAdaptor.validateConfig(Unknown Source)
at intradoc.indexer.DocIndexerAdaptor.validateConfig(Unknown Source)
at intradoc.server.subject.DynamicQueriesSubjectCallback.checkSearchIndexDesign(Unknown Source)
at intradoc.server.subject.DynamicQueriesSubjectCallback.refresh(Unknown Source)
at intradoc.server.IdcSystemLoader.loadCachedTables(Unknown Source)
at intradoc.server.IdcSystemLoader.loadCaches(Unknown Source)
at intradoc.server.IdcServerManager.init(Unknown Source)
at IdcServer.init(Unknown Source)
at IdcServer.main(Unknown Source)
I have disabled, uninstalled and installed the component and error was resolved.
This time all folders were copied to custom\VDK6\ directory. Previously they were not there. Component was installed using ComponentWizard, and there was no error while installing the component.
Thanks.
Similar Messages
-
I just started a Verity search engine for a very large site,
and have gotten the following error message a couple of times:
There was a problem while attmpting to perform a search.
Query has a parsing error. (-40)
at com.verity.k2.K2Search.receive(Unknown Source)
at com.verity.search.ProcessSearch.processNormal(Unknown
Source)
at com.verity.search.ProcessK2Operation.submit(Unknown
Source)
at com.verity.search.VSearch.getPSearch(Unknown Source)
at com.verity.search.VSearch.getResult(Unknown Source)
at
coldfusion.tagext.search.SearchTag.doSearch(SearchTag.java:260)
at
coldfusion.tagext.search.SearchTag.doStartTag(SearchTag.java:157)
at
coldfusion.runtime.CfJspPage._emptyTag(CfJspPage.java:1908)
at cfsearch2ecfm246570528._factor0(...\search.cfm:36)
at cfsearch2ecfm246570528._factor5(...\search.cfm:30)
at cfsearch2ecfm246570528.runPage(...\search.cfm:1)
at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152)
at
coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:343)
at
coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
at
coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.ja...
<br>The error occurred on line 36.
The tag for the search is as follows:
<cfsearch collection="#form.collect#" language="English"
type="SIMPLE" criteria="#Session.searchTerm#"
name="Session.results">
on line 36.
I have not been able to reproduce the error, and there isn't
anything strange about the search terms submitted.
This is the first time I've used Verity, and would appreciate
any words of wisdom as to what might be the cause of this error,
and how to eliminate it.ok the value is 0
but i am not sure what that means, i havnt used verity
before?
can you help
just to let you know what i need to do,
i have a results page which show 1 surname with all that
persons information, on the same page there is a search by surname
text box, when this is submited i need to move to the first recoed
that matches the text box, so then i can still use the next and
previous buttons to navigate through.
so really what i need to do is get all the records order them
by surname then give each of them a id number
so Abbot = 1, Adcock= 2 etc
then i should be able to use the next and previous to go
through them?
i am just not sure how i can do this?
hope you can usnderstand what i am trying to do.
many thanks -
Verity Collection Errors in CF9
Hello,
We are trying to create verity collections in CF9 and have successfully done so in the past. For some reason we are now getting errors and have not been able to find a resolution. Here are the errors:
Error E0-0720 (I/O Filter): Could not load filter 'flt_kv -recognize -bifmime' which is named in your style.uni file.
Warn E2-0527 (Document Index): Document 1 (140128011): Stream error (-2) - SKIPPING
We can see in the debug info that verity is reading the database because the read record counts seem to be correct. We have played with file permissions, deleted the collections, uninstalled/re-installed Verity, still to no avail.
Coldfusion 9
CentOS 6
Thanks in advance for any help offered.
Best regards,
ShannonSeems you installed apache server into the same $ORACLE_HOME as oracle DB home. It's pretty weird since there are many subdirectories (and files inside them) in both servers with same names that interfere (conflict) with each other, such as assistants, bin, diagnostics, install, inventory, jdbc, jdk, jlib, ldap, lib, network, nls, opmn, etc. Therefore, whichever server software was installed first, it was badly overwritten by the second. For instance:
"Cannot load /u01/app/oracle/11g/ohs/modules/mod_onsint.so into server: /u01/app/oracle/11g/lib/libons.so: undefined symbol: _intel_fast_memcpy"
Note that there are two /lib/libons.so shared files - one shipped with apache server and one shipped with oracle server, and they differ. You obviously have only one libons.so (which one?) in the /u01/app/oracle/11g/lib/ that is now shared by both servers.
Reinstall 11g and apache again. Apache server must go into its own home, different from oracle DB home. My installation is as follows:
ORACLE_HOME for database: /opt/oracle/product/11.1.0/db_1
ORACLE_HOME for apache: /opt/oracle/product/10.1.3.3/OracleAS_1
NJ -
CF9 and Verity indexing error - Linux 64
I am running CF 9.0.1 Standard Edition on an openSUSE 11.3 64-bit server, with Apache 2.2.15.
I am trying to create a verity collection on the server. The service is running as the collection is created without a problem, but when I attempt to create the index, either through the administration interface or with createindex, I receive the following errors in the sysinfo.log file.
msg(1): Error E0-0720 (I/O Filter): Could not load filter 'flt_kv -recognize -bifmime' which is named in your style.uni file.
Thu Mar 10 09:44:25 2011
msg(1): Warn E2-0527 (Document Index): Document 8899 (/export/www/htdocs/lter/googlee5473098f17d334b.html): Stream error (-2) - SKIPPING
Thu Mar 10 09:44:25 2011
msg(1): Error E0-0720 (I/O Filter): Could not load filter 'flt_kv -recognize -bifmime' which is named in your style.uni file.
Thu Mar 10 09:44:25 2011
msg(1): Warn E2-0527 (Document Index): Document 8900 (/export/www/htdocs/lter/data.cfm): Stream error (-2) - SKIPPING
The log file contains an entry for every document that it attempted to index, and the index remains empty.
Searches of the problem have not been helpful. I can not seem to find any recent instances of this problem.Hi,
Look like Verity does not recognise the flt_kv_bifmime in the style.uni file. Check the style.uni and add the mime type ref.
Switch on Verity logging and check the apache log files for poss related errors.
The apache error ../lter/googlee*.html will be related to mime type as well prob same issue as above hence the ../lter/data.cfm is not being processed.
As the service is running it would be worth creating a manual test spider script to crawl / index the target files to get a confirmatory error message. The format is straightforward and examples can be found in and amongst the Verity K2 docs on Adobe Live Docs for CF 9 [ http://help.adobe.com/en_US/ColdFusion/9.0/Admin/WSc3ff6d0ea77859461172e0811cbf364104-7fb2 .html ]
If possible consider changing the search to SOLR as Verity K2 is no longer supported and Apache SOLR is the replacement. Again check the CF 9 docs and you can migrate from Verity to SOLR through the CFIDE/administrator.
Hope this helps. -
I'm getting the following error on a RedHat based system
running
ColdFusion 7 in Multi-Server mode.
Search works great, but indexing fails.
I have restarted cfmxsearch several times with no success. I
have
confirmed that k2admin is no longer running after I have
stopped it.
And it does start successfully.
Any ideas why I may get this error. I am trying to create a
new
collection from a recordset.
Unable to connect to the ColdFusion MX Search service.
On Windows you may need to start the ColdFusion MX Search
Server from
the services control panel.
On Unix, you may need to run the 'cfmxsearch' script in the
ColdFusion
MX bin directory.
Error: unable to obtain from connection pool: cannot make
connection to
server at: k2://localhost:9960Did you check the verity-install.out file for errors?
You can also run netstat -an to see if ports 9920, 9950 and
9960 are listening or connected.
You also may want to check out the following thread:
http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=1&catid=143&threadid= 1190260&highlight_key=y&keyword1=verity
Ted Zimmerman -
Re-install Verity Search error code -6062
Can someone provide information on unistalling and
reinstalling verity search? It appears that my collection files are
not being seen by the verity search system. I believe this problem
happened after a CF service patch install.
Please review error messages
Warning Log file
K2AdminConfig had warnings..
WARNING: Unable to open
C:\CFusionMX7\verity\Data\host\admin\admin.xml
styleset
1
Def_FileSystem
y
exitK2Admin Server: localhost:9950 connected. Type ? for
help.
RCADMIN - Verity, Inc. Version 5.5.0
rcadmin> Modify Type (Update=0, Insert=1):Style
Information:
Alias: Style state (store=1,active=2): Style type
(new=1,edit=2,clone=3): Admin Alias: Clone Alias:
Gateway[(o)dbc|(n)otes|(e)xchange|(d)ocumentum|(f)ilesys|(w)eb|o(t)her]:
Charmap: Description: Path:Save changes? [y|n]:Error code : -6062
Description: StyleSet exists. Cannot insert entry.
rcadmin> styleset
1
ColdFusionK2
y
exitK2Admin Server: localhost:9950 connected. Type ? for
help.
RCADMIN - Verity, Inc. Version 5.5.0
rcadmin> Modify Type (Update=0, Insert=1):Style
Information:
Alias: Style state (store=1,active=2): Style type
(new=1,edit=2,clone=3): Admin Alias: Clone Alias:
Gateway[(o)dbc|(n)otes|(e)xchange|(d)ocumentum|(f)ilesys|(w)eb|o(t)her]:
Charmap: Description: Path:Save changes? [y|n]:Error code : -6062
Description: StyleSet exists. Cannot insert entry.
y
exitK2Admin Server: localhost:9950 connected. Type ? for
help.
RCADMIN - Verity, Inc. Version 5.5.0
rcadmin> Modify Type (Update=0, Insert=1):Index Server
Alias:Port:Description:Bind:Admin Alias:Number of Listeners:Number
of Async. Threads:Number of Sync. Threads:Access
Type(Auth=0,Anonymous=1,Admin=2):Save changes? [y|n]:Error code :
-6075
Description: A Service with the same alias already exists in
the system.
When indexing plcoll I received this error message.
• Unable to optimize collection plcoll.
An error occurred while performing an operation in the Search
Engine library.
Error switching collection offline:
com.verity.api.administration.ConfigurationException: Failed to
find configuration key. (-6005)
ThanksDo a QuickTime standalone install. That usually fixes the 2093 error.
http://www.apple.com/quicktime/download/standalone.html
Save it to your your hard drive - don't install over the internet. -
I am receiving this error and not sure what to do to fix
this. I am able to create a collection but I can't add the index.
The cfindex code I have is creating an index from a query of data.
I know this all works because my development machine works fine.
When I upload to the host this breaks. Here is the error:No that directory did not exist and was not being created
under CFMX 7. Under 7 it works fine. When I move things over to a
production MX 6 server it gives me that error. I created that
custom folder and that error did stop, however it isn't actually
indexing anything now and also not giving me any errors. I'm
running test cfsearches against the collection, dumping the results
and nothing is showing. Any idea why it would not index anything?
Again, this all works fine under MX7... -
WebLogic 11g EAR EJB Classpath and class loaders
All,
I have been having issues migrating Spring based EJB applications from OC4J to WebLogic 11g (10.3.1). I have been in communication with Oracle who has suggested a work around however I am keen to see if anyone else can suggest a solution.
The application is dependant on stateless session EJB beans that communicate with a Spring managed service tier to perform the business logic and database access. PitchFork is used to inject the Spring managers into the EJB’s using the spring-ejb-jar.xml configuration file. Note originally I was using the SpringBeanAutowiringInterceptor however I could not get this to work. See WebLogic 11g and Spring beens injected into EJB for details.
When the application is deployed packaging all the dependant jars within the APP-INF\lib folder I get a verity of errors from the following InvalidClassException, NoSuchMethodError, AbstractMethodError and IllegalArgumentException. I am using Spring 2.5.3 to match the supported WebLogic version. Note within the EAR application.xml the library-directory is set to APP-INF/lib. The issue appears to be Spring, PitchFork, commons-logging and aspectj libraries are being loaded form WebLogic and do not have visibility on jars within the application or have been modified when bundled for WebLogic. An example of this is the PitchFork jar within WebLogic has been changed excluding the spi package resulting in java.lang.ClassNotFoundException: org.springframework.jee.spi.PitchforkUtilsImpl errors.
Moving the jars to the domain library path does not resolve any of the issues. I have been unable to successfully deploy the application picking up the application jars using the prefer-application-packages configuration.
Oracle has advised me to deploy the libraries into the WebLogic system classpath by modifying the startWebLogic command to load the libraries into the classpath. I am concerned that modifying the system classpath will result in an unstable WebLogic server as I will be replacing modified jar files packages with WebLogic (such as PitchFork). This will also limit the applications that can be deployed within the server as each application must use the same libraries and versions (as the application ibraries are leing ignored).
Has anyone else hit this issue and corrected it? Can anyone think of an alternative solution?
Regards
NeilHi,
I am in the process of updating the tracking bug# 331569 with copies of the eclipse EAR/WAR projects and the EAR for these scenarios. Here are some details on how I got past the 2nd CCE on the org.eclipse.persistence.jpa.PersistenceProvider class (not the javax one)
https://bugs.eclipse.org/bugs/show_bug.cgi?id=331569
Essentially an SE persistence unit running both JPA 2.0 api and the 2.0 XSD schema work fine. I will next retest the EE case with variations of the 3 types of injection on the SSB or Servlet.
Update: There are 3 (possibly 4) issues here (all of these may become obsolete when the next WLS version ships)Initially I got the same 2.0 schema error and the ClassCastException on org.eclipse.persistence.jpa.PersistenceProvider
It turns out that my import of the 2 eclipse projects from my bug # 296271 for WebLogic 10.3.2.0 lost their facets(specifically the dynamic web facet) because I associated them with a different WebLogic 10.3.3.0. - this caused the CCE I was experiencing like Sri.
Anyways, after creating an EAR/Web project combination from scratch in eclipse associated with the 10.3.3.0 instance - I predeployed/deployed/ran fine - even with the 2.0 schema - in SE bootstrap mode (no EE yet).
Reproduction Procedure:
redoing project from scratch as I noticed that the war was not at the root of the ear - it was a jar in the app-inf/lib dir - my imported eclipse project was not referenced correctly as a web module facet- create empty EAR and WAR project with references
- download and open my EAR and WAR project code from bug # 296271
https://bugs.eclipse.org/bugs/show_bug.cgi?id=296271
- do essentially all the steps in the page below (I paraphrase for re-verification)
http://wiki.eclipse.org/EclipseLink/Development/JPA_2.0/weblogic#DI_1.1:_Alternative_3:_Application_Level_Shared_Library_-InUse
- copy applicationService, entity and FrontController servlet code into new projects
- create persistence.xml and MANIFEST.MF manifest in src\META-INF
- update manifest
Class-Path: APP-INF/lib/eclipselink.jar
APP-INF/lib/javax.persistence_2.0.0.v200911041116.jar
- copy both javax.persistence 2.0 and eclipselink 2.x jars to APP-INF/lib
- change ordering of WebLogic library modules classpath reference (javax.persistence 1.0) to ear reference (2.0 version)
- update web.xml with servlet tags
- update weblogic.xml with new context root
- make the persistence unit name the same in persistence.xml and ApplicationManagedService
- update weblogic-application.xml with prefer-application-packages overrides
<wls:prefer-application-packages>
<wls:package-name>javax.persistence.*</wls:package-name>
<wls:package-name>org.eclipse.persistence.*</wls:package-name>
</wls:prefer-application-packages>
- enable server redirect logging
<!-- new for 10.3.3.0 http://wiki.eclipse.org/EclipseLink/Examples/JPA/Logging#Server_Logging -->
<property name="eclipselink.logging.logger" value="DefaultLogger"/>
- start WebLogic 10.3.3.0
- deploy (run on) server from eclipse or export ear to auto deploy directory
1) JPA 2.0 XSD usage on 10.3.3.0
- I reproduced this issue with a bad EAR
- was able to use the 2.0 schema within the WAR-only application managed EAR
persistence.xml<persistence version="2.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd">
<!-- persistence version="1.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"-->
<persistence-unit name="example2" transaction-type="JTA">
<provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
<jta-data-source>localJTA</jta-data-source>
<class>org.eclipse.persistence.example.business.Cell</class>
<shared-cache-mode>NONE</shared-cache-mode>
<properties>
<property name="eclipselink.target-server" value="WebLogic_10"/>
<property name="eclipselink.logging.level" value="FINEST"/>
<property name="eclipselink.target-database" value="Derby"/>
<!-- new for 10.3.3.0 http://wiki.eclipse.org/EclipseLink/Examples/JPA/Logging#Server_Logging -->
<property name="eclipselink.logging.logger" value="DefaultLogger"/>
<!-- property name="javax.persistence.jdbc.driver" value="org.apache.derby.jdbc.ClientDriver"/>
<property name="javax.persistence.jdbc.url" value="jdbc:derby://127.0.0.1:1527/dataparallel;create=true"/>
<property name="javax.persistence.jdbc.user" value="APP"/>
<property name="javax.persistence.jdbc.password" value="APP"/-->
<!-- turn off DDL generation after the model is stable -->
<!-- property name="eclipselink.ddl-generation" value="drop-and-create-tables"/>
<property name="eclipselink.ddl-generation.output-mode" value="both"/-->
</properties>
</persistence-unit>
</persistence>
2) CCE on JPA provider implementation class
Error instantiating the Persistence Provider class org.eclipse.persistence.jpa.PersistenceProvider of the PersistenceUnit example2: java.lang.ClassCastException: org.eclipse.persistence.jpa.PersistenceProvider
- I reproduced and fixed this one (was Eclipse project facet issue) - EAR was wrong
- was able to run JPA 2.0 code fine on an SE PU (predeploy/deploy together)
- EE injection should not work but I will post an example EAR anyway
log[EL Example]: enterprise: JPA 2.0 Metamodel: MetamodelImpl@56287508 [ 3 Types: , 1 ManagedTypes: , 1 EntityTypes: , 0 MappedSuperclassTypes: , 0 EmbeddableTypes: ]
3) CCE on JPA spec interface class
- I could not reproduce this one
Re: WebLogic 11g EAR EJB Classpath and class loaders
Error processing persistence unit PT of module pt: Error instantiating the Persistence Provider class org.eclipse.persistence.jpa.PersistenceProvider of the PersistenceUnit PT: java.lang.ClassCastException: org.eclipse.persistence.jpa.PersistenceProvider cannot be cast to javax.persistence.spi.PersistenceProvider
4) CCE on fallback Kodo JPA provider (if an invalid say 2.1 JPA XSD schema is referenced)
java.lang.ClassCastException: kodo.persistence.PersistenceProviderImpl
at javax.persistence.Persistence.findAllProviders(Persistence.java:186)
java.lang.NoSuchMethodError: javax/persistence/EntityManager.getMetamodel()Ljavax/persistence/metamodel/Metamodel;
- reproduced by using the 1.0 javax.persistence jar (but named as the 2.0 one in APP-INF/lib)
- fixed by using either the 1.0 or 2.0 JPA XSD schema and using the correct 2.0 spec jar
thank you
/michael -
Hello,
I have a PSOL server setup in a multi-PIA environment running on Enterprise Linux 5.5 64bit with PeopleSoft FCM 9.1, Tools 8.50.
All the PeopleBooks seem fine (PeopleTools+FCM), content sensitive help linking properly. However when I try to perform a search from the PeopleBooks Home page, I get the following in the PSOL log:
<Aug 20, 2010 10:09:41 AM CEST> <Error> <HTTP> <BEA-101017> <[ServletContext@45092472[app:peoplesoft module:/PSOL path:/PSOL spec-version:2.5]] Root cause of ServletException.
java.lang.UnsatisfiedLinkError: com/peoplesoft/pt/psol/psverity/psjniverity.vdkOpenSearch
at com.peoplesoft.pt.psol.psverity.VeritySearch.search(VeritySearch.java:190)
at com.peoplesoft.pt.psol.FullTextSearch.doGet(FullTextSearch.java:338)
at com.peoplesoft.pt.psol.FullTextSearch.doPost(FullTextSearch.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at com.peoplesoft.pt.psol.FullTextSearch.service(FullTextSearch.java:114)
Truncated. see log file for complete stacktrace
>I searched the forums and found a similar issue:
peoplebooks 8.5 full text search error
But the discussed JAVA_PATH solution is a no go.
The installation guide discusses editing the setEnv.sh script by adding –Xss256k to JAVA_OPTIONS_LINUX to allocate memory - that I have done.
Has someone run into a similar issue?
Regards,
Honza..Update:
I reinstalled Verity, the error seen above went away, but it introduced another problem. When I go to the index page (server:6001/PSOL/htmldoc/index.htm) there are no PeopleBooks visible, as if they weren't installed at all. When I type a search query I get "No topics found" so the search engine itself seems to be working. When I try to generate a new search collection, psolmanager.htm works fine and recognizes the installed books.
Strange part is that when I try to access the content sensitive help linking to PeopleBooks from inside the application, the PeopleBook page does load. (and it does load from the local webserver, not the online hosted books) -
CF8 verity and acrobat 9.0 errors
we have an issue where the CF8 verity engine is not indexing
PDF files created with acrobat 9.0
the same PDF files generated with acrobat 8.1 work fine.
the acrobat 9.0 PDF files generate these errr messages in the
verity logs
Tue Jan 13 14:44:44 2009
msg(1): Warn E0-1514 (Drvr): TstrIOFilter:flt_kv: KV failed
on filtering document: error = 8
Tue Jan 13 14:44:44 2009
msg(1): Warn E2-0527 (Document Index): Document 3
(d:\developers\MRC\wesinfo\version2\admin\test\wespress_testing\docs\Stark4_acrobat_9_vie w_7.pdf):
Stream error (-140) - SKIPPING
are there a new set of filters available for verity, so that
it can index acrobat 9.0 files ?
also, we found that while cf8 verity can index word 2007
.docx files, it does not pickup the Title metatag.I have figured it out....
Adobe Acrobat v8 saves PDFs in v5 (1.4) format by default. Adobe Acrobat v9 saves PDFs in v7 (1.6) format by default.
ColdFusions CFINDEX doesn't like PFDs saved in v6 (1.5) or higher. So if you upgrade to Adobe Acrobat v9 and want to use the PDFs in a CF verity search you need to configure Distiller to save in v5 (or earlier) format so they can be indexed. (Or just resave the files to be optimised for v5 after they have been created.)
My solution was to configure the application to do a CFFILE READ on the PDF when a user uploads the document into the system. The first 8 characters of the file contents indicate the PDF version. v4 and v5 will work. v6+ won't work.
<cfif Mid(fileContents, 6, 3) lte 1.4>
<!--- This is PRE version 6 - it will be fine in the search --->
<cfelseif Mid(fileContents, 6, 3) gt 1.4>
<!--- This is version 6-9 or higher - it won't work in the search - ABORT --->
</cfif>
Hope this comes in handy for someone one day! -
Verity unstable and permissions errors
Our scheduled task to purge/reindex stopped working. Verity
deleted the collections that it was supposed to index. The ws
folder filled up. I followed the instructions in the TechNote below
to clear the ws. After recreating collections that Verity deleted,
and attempting to re-index I get the following errors in the logs.
I verified that the account under which the service runs has
"modify" permission in Windows. Any idea why we would get the
errors in the log?
ColdFusion TechNote:
ColdFusion MX 7: Indexing a Verity collection fails with a Path not
found errorI forgot to mention that ColdFusion returned an error in the
browser: "General Failure (-2)" -
I've meticulously created collections of the music on my ecommerce music site. I am manually stripping off offending characters in the submitted search criteria with this code:
Trim(REReplaceNoCase(URLDecode(URL.searchcriteria),"[()<>##""'@]"," ","all"))
Then, if the user has ticked for an "exact word" search, I'm adding double quotes around it, otherwise, leaving it without. Then submitting it to the right collection for a search with this code (I've substituted ZZZ and XXX for my protection).
<CFSEARCH NAME="ZZZ" COLLECTION="XXX" type="simple" CRITERIA="#cleanedcriteria#" maxrows="300">
When a user does not tick "exact match" but types in any phrase that includes any of the Verity operators, they get the following error:
If you are using type="explicit", you must use Verity Query Language operators such as "<WORD>" or "<STEM>", or surround your search term with quotes. See the documentation for details.
Pass Me Not
will throw the error. but
"Pass Me Not"
which is passed when someone ticks "exact match" does just fine.
From what I've read, the simple search is supposed to assume the <WORD> and <MANY> operators, but it's like that's being ignored. What am I doing wrong, and/or how can I configure this so that my users can type terms, submit, and find what they're looking for?I think I finally understand, and am posting the solution here for others' benefit.
Apparently the simple search is in fact behaving properly and will recognize AND OR NOT as operators instead of part of the search string. The work around for this is to enclose those words in double quotes. So that's what I've done. If the user has not specified an "exact match" search (where I enclose the entire string in double quotes), then I single out these three words and put double quotes around them. It appears to work beautifully.
QED, and am happy to have had a complete uninterrupted discussion with myself.
<cfset cleanedcriteria = ReplaceNoCase(cleanedcriteria,"and","""and""","all")>
<cfset cleanedcriteria = ReplaceNoCase(cleanedcriteria,"not","""not""","all")>
<cfset cleanedcriteria = ReplaceNoCase(cleanedcriteria,"or","""or""","all")> -
Why is it that after all these years Verity support in
Coldfusion is still a black art when it comes to its errors and
support. I have asked numerous places with regards to what Error
(-1705), (-1703) and the dubious General Error(2) mean when
searching or indexing a collection, but know one in the community
or in these forums seems to have the answer. Does Anyone know where
I can find this information. Even the Verity Error reference does
not list these or tell us what any of the errors means other than
it was an error. This is very frustrating and we are now looking at
going to either a google search appliance or rewriting the whole
thing using Lucene.Check for a symbolic link from '_ssol26' directory to
'_solaris' directory. They should both be pointing to the same
directory so check the path. -
Hi all,
We've setup verity collections on our internet site. It has a
dynamic updating facility for when the site authors add new records
(including pdf files). Every record entry (and updates) also
updates the dynamic verity collection.
Recently, we started getting an error:
An error occurred while performing an operation in the Search
Engine library. The collection is not available:
com.verity.coll.VCollectionNotAvailableException: Collection down
after opening. (10)
Can't seem to figure out what the problem is. Anyone got any
ideas?
cheers,
-ajayoh this is the code
<CFINDEX
collection="collectcmi "
action="refresh"
type="PATH"
key="D:\www\"
extensions=".html, .htm, .cfm, .cfml"
language="spanish"
recurse="yes"
urlPath="
http://mywebsite"
> -
When doing a type="simple" in a CFSEARCH, I am replacing the
spaces in the criteria with commas. The issue comes when the words
AND or OR appear in the criteria. So,
Love and Logic changes to
Love,and,Logic. For some reason, I get an error when this
happens. The CFCATCH variables come back as follows:
erType = "SearchEngine"
erMessage = "There was a problem while attmpting[sp] to
perform a search."
erDetail = "------ Query has a parsing error. (-40) at
com.verity.k2.K2Search.receive(Unknown Source) at
com.verity.search.ProcessSearch.processNormal(Unknown Source)...
et. al."
Note the typo.
My work-around is to treat the converted criteria as a list
object and remove any AND's and OR's that are found, but I'd rather
not add the admittedly tiny processing time.
This seemed to work just fine before we went to CF7. Any
ideas?Rather than using named bind variables use positional bind variables like :1, :2, etc and bind all the variables. Don't repeat the bind variables in the SQL statement.
If you still face the problem paste the VO statement here.
Regards,
Peddi.
Maybe you are looking for
-
I am having a small problem ( Or so it seems. )
I have bought a 2.1 I-Trigue L3800 system as well as a I-Trigue 3400 system. On the websites, it says that the L3800 is far better then the 3400. However, it sounds as if the subwoofer on the 3400 was MUCH more powerful then the L3800 ( On bass level
-
NotSerializable error while trying to write arraylist
I am getting a NotSerializable error while trying to write an arraylist to a file. Here's the part of the code causing problem File temp = fileOpenerAndSaver.getSelectedFile(); // fileOpenerAndSaver is a JFileChooser object which has been created and
-
Error while data shifting from one table to another table
i have two tables. in one table i dont have constraints.in anothe rtable i have constraints. my requiremnt is i have to shift data from unconstrained table to constrained table while shifting data any constaint violation is there system hasto raise e
-
Why does my printer say it's out of paper when I try to print a photo saved in folders on my compute
Until recently my printer would print pictures saved up on my computer. All of a sudden my HP Photosmart C6380 All-in-One won't print. The photo tray goes in like it should, full of paper, but in a few seconds comes back out and the screen as well
-
Related party concept in import procurement?
Hi What is related party concept in import procurement. My client is telling that there should be 1% deposit with customs for each imported purchase with related party.. what are the exact concept and legal implications in the related party procureme