Cfindex: path attribute issue

I am currently trying to index a network directory
recursively so that all of our HR files will be in a verity index.
This way a user could just search for "benefits" and view all
related benefit documentation that were placed in the HR hierarchy.
The issue occurs when trying to specify the path attribute for
cfindex. The files are stored on a network drive, so that ideal
path would be: "\\hrdata\documents". We do have an IIS mapping so
that if you want to our intranet and typed "
http://#ourintranet#/documents/"
you could reach any file. If I do a cfdirectory action="list" or
try to use cffile with the network paths, everything returns
correctly so I know that CF can see the propper mappings. However,
when I run the attached code it does not index any documents. Does
anyone have any ideas? I have been working on this for quite awhile
and I am really stumped.
Thanks in advance:
Brendan
Currently we are using CF MX 7.02 with Hot Fix 3

Brendan
I know that lucene (sp?) works on a unix implementation and
you can find some information over at coldfusionjedi.com, but are
there any other possible solutions you can use? I am unaware of how
you should proceed short of contacting the K2 (or whomever owns
verity now).

Similar Messages

  • How to pass a value to path attribute of jpf:forward at run time.

    Hi all,
    I have a public variable in my controller and I am getting a value from my jsp
    and assigning it to that variable.
    Now the question is how to pass that variable value to path attribute of jpf:forward.
    @jpf:forward name="success" path="promoLink"
    Here in this case promoLink is a public variable in my controller.
    Pls suggest.
    Thanks.

    Hi Vijay,
    You posted this a while ago -- not sure if you've found a solution already,
    but in case you haven't...
    If you want to construct the Forward dynamically, you can do it without
    annotations. There are constructors that take URI and URL, which you can
    use like this:
    * @jpf:action
    public Forward goSomewhere()
    return new Forward( new URI( promoLink ) );
    Does this address your question?
    Rich
    "Vijay Bijjargi" <[email protected]> wrote in message
    news:3f5739f8$[email protected]..
    >
    Hi all,
    I have a public variable in my controller and I am getting a value from myjsp
    and assigning it to that variable.
    Now the question is how to pass that variable value to path attribute ofjpf:forward.
    >
    @jpf:forward name="success" path="promoLink"
    Here in this case promoLink is a public variable in my controller.
    Pls suggest.
    Thanks.

  • Alternate drives in Jar file Class-Path attribute

    Hello, all. I am working on a project that I would like to package into a single jar file for simple execution. At my place of work classes from EJB are stored on a different drive from where I am doing the development. I am having trouble accessing those classes from the Jars I am creating. When I try the following manifest:
    Main-Class: MyPackage.MyClass
    Class-Path: U:\someFolder
    the application will not start, saying that MyPackage.MyClass cannot be found. This is despite MyPackage.MyClass being properly packaged into the Jar file, as verified by a jar t operation. When I leave off the drive letter in the Class-Path attribute:
    Main-Class: MyPackage.MyClass
    Class-Path: someFolder
    the application starts and executes properly right up until a class from someFolder is needed, at which point exceptions begin to be thrown.
    Any ideas will be much appreciated!
    John Todd

    I was eventually able to find the answer to my own question: Jars do not accept absolute paths at all, only relative paths. Thus, the alternate drive approach will not work. Fortunately I was able to find an alternate solution.
    John Todd

  • Multiple Class-Path: attributes in Jar files

    Hello,
    I'm packaging a set of jar files for distribution with Class-Path: attributes in them. In the documentation I read and in one of the java trails it said that I could have a manifest file like:
    Class-Path: log4j.jar log4j-core.jar
    Class-Path: jsse.jar jcert.jar jnet.jar
    But this doesn't work. It only works when I do this:
    Class-Path: log4j.jar log4j-core.jar jsse.jar jcert.jar jnet.jar
    Here is how I'm running the jar:
    java -jar server.jar
    Is the documentation wrong? Or this is a bug?
    thanks
    charlie

    Certain attributes were only meant to be specified once. Like Main-Class and Class-Path for example. If these were listed two or more times, then the last occurance is the one that gets recognized (basically, each new instance overwrites the previous instance). Some attributes are listed as "per-entry" and are freely duplicated for each entry. For example signed jars could have a number of Name: and xxx-Digest: attributes.
    This link is to the manifest spec:
    http://java.sun.com/products/jdk/1.2/docs/guide/jar/manifest.html
    To answer the original posters question, the doc's are in error. Actually, the error was not in the docs, it was in the tutorial, but none the less its still in error. He could have done this:
    Class-Path: log4j.jar log4j-core.jar
    jsse.jar jcert.jar jnet.jar
    ^-- two spaces before the start of jsse.jar
    because the docs allow for line continuation (although it's not exactly clear if you read the docs). The docs are also apparently in error regarding the max line length of 72 bytes. I have tested this with over 100 char's on a win32 machine and it works fine for me. The limitation must therefore apply to some other operating system, or it could just be in error.
    -Ron

  • Who knows about Jar/Manifest: Class-Path-Attribute

    My question is:
    When packaging my classes and ressource files into a jar file, everything works fine as long as I put the manifest-file into the parent directory of the package folders (there's the main class too) and set its Class-Path-Attribut just as . (a dot).
    I'm working with WinXP Prof.
    As soon as I fill in a path with backslashes or slashes as separator, the produced jar-file doesn't work (class loader does'nt find main-class).
    Is the problem the drive-letter (D:) in the path or do you know something else?
    Greetings
    Frank

    Yes, and likely the . is what you need ...saying: I want the packages which begin in the same directory as the jar running this application. Even if your class is in a package hierarchy like tst.test.Support.class, if the directory tst is in the same directory as the application jar, you would use classpath . not tst/test/Support.class. If you put the tst package in a directory under the folder where the jar resides, say called testit ...you would then have a classpath in the mainifest like testit/. The class path always needs to get you to the root of any package you want to use ...but not into the package itself. Java recognizes when it is looking at a package nesting due to the package declaration syntax in the files, the classpath just points to the location of the root of that package and nothing more. Does this make sense?

  • Jar Class-Path attribute configuration problems

    java version 1.5.0_14
    OS: Windows Server 2003
    Problem description: Executable jar file needs to access external jar file resources on the same server that executable jar file resides.
    Scenario: Executable jar file resides in a directory called c:\Java. External jar file resides in a directory called c:\Java\itext1
    I have attempted configuring the Class-Path attribute in the manifest with the following:
    java/itext1/itext1.jar or entering itext1/itext1.jar
    I receive the following error message, from the java command:
    c:\>java -jar /java/MyJar.jar
    Exception in thread "main" java.lang.NoClassDefFoundError: com/lowagie/text/pdf/
    BaseFont
    I even unpacked the jar file, to see if I could access the class using the following command below (The class does not have a main method, so I did not expect it to execute, but I would have thought the class would have been located)
    C:\>java java/itext1/com/lowagie/tools/BaseFont
    Exception in thread "main" java.lang.NoClassDefFoundError: java/itext1/com/lowa
    ie/tools/BaseFont
    I am at my wit's end. Does anyone have any suggestions?

    The -jar flag tells the interpreter that the application is packaged in the JAR file format, and to my knowledge, has nothing to do with the classpath attribute within the manifest
    At any rate, I found my problem. When packaging the jar via Eclipse, I had 2 .classpath resource files within the project, which was causing the jar fiile to be built incorrectly.

  • Class-path attribute & exploded structure

    hi all,
    I've got an exploded app and I'm trying to deploy a session bean
    which has some dependencies on other helper classes.. I've wrote a manifest file
    and I've specified the class-path attribute, but I still get java.lang.NoClassDefFoundError..
    I wonder if manifest file is working for an exploded structure...
    did anybody tried that ?
    thanks for your time,
    cheers

    Manifest classpath (aka JAR dependencies) is a J2EE 1.3 concept. Expect to see it when iAS supports J2EE 1.3.

  • [svn:bz-trunk] 20725: Update the ClientConfigurationParser to match the ServerConfigurationParser changes that support destination-include directory-path attribute .

    Revision: 20725
    Revision: 20725
    Author:   [email protected]
    Date:     2011-03-09 10:56:05 -0800 (Wed, 09 Mar 2011)
    Log Message:
    Update the ClientConfigurationParser to match the ServerConfigurationParser changes that support destination-include directory-path attribute.
    Remove the unchecked assignment in ServerConfigurationParser and just cast elements of the list.
    Modified Paths:
        blazeds/trunk/modules/common/src/flex/messaging/config/ClientConfigurationParser.java
        blazeds/trunk/modules/core/src/flex/messaging/config/ServerConfigurationParser.java

    Remember that Arch Arm is a different distribution, but we try to bend the rules and provide limited support for them.  This may or may not be unique to Arch Arm, so you might try asking on their forums as well.

  • Direct Path Loading Issues with Global Temporary Tables - OCI & OCILib

    I am writing some code to import data into a warehouse from a CPU grid which computes risk data. Due to the fact a computing grid is used there will be many clients which can load the data concurrently and at any point in time.
    Currently the import uses Binding in OCCI and chunking with a prepared statement to import the data into a global temporary table in a staging area after which a stored procedure is called within the same session which will process the data and load the data into a star schema.
    The GTT has the advantage that if any clients have issues no dirty data will be left and each client only sees their own instance of the data.
    I have been looking at using direct path loading to increase the performance of the load and have written some OCI code to perform the same task. I have manged to import the data into a regular heap based table using the OCI direct path apis. However when I try and use the same code to import against a Global Temporary Table I get an OCI Error (ORA-00600: internal error code, arguments: [6979], [16], [1], [1318528], [], [], [], [], [], [], [], [])
    I get error when the function OCIDirPathPrepare is executed. The same issue occurs in both OCI and OCILib.
    Is it not possible to use Direct Path Loading against a Global Temporry Table ? Because you can use the /*+ APPEND */ hint and load global temporary tables this way from tools like SQL Devloper / toad which is surely informing the SQL Engine to use Direct Path ?
    Looking at the table USER_OBJECTS I can see that for a Global Temporary Table the DATA_OBJECT_ID is null. Does this mean that it is impossible to us a direct path load into Global Temporary Tables ?
    Any ideas / suggestions would be really appreciated. If this means redesigning the application then I would appreciate suggestions which would allow many client to quick write processes in a parallel fashion. If this means creating a new parition in a Heap Table for each writer and direct path loading into this table then so be it.
    Thanks
    H
    Edited by: 813640 on 19-Nov-2010 11:08

    Replying to my own message in case anyone else is interested.
    I have now managed to successfully load data using direct path into a global temporary table with OCI. There appears to be no reason why this approach will not work.
    I loaded data into the temporary table and then issued a select count(*) on the table from within the session and from a new session. The results were as expected.
    The resaon for the ORA-006000 error was due to the fact that I had enabled table level parallel loading
    ie
    OCIAttrSet((dvoid *) context, (ub4) OCI_HTYPE_DIRPATH_CTX, *(ub1) 1*, (ub4)0, (ub4) OCI_ATTR_DIRPATH_PARALLEL, errhp)
    When loading a Global Temporary Table the OCI_ATTR_DIRPATH_PARALLEL attribute needs to be zero
    This makes sense, since the temp table does not have any partitions so it would not be possible to write in parallel to multiple paritions.
    Edited by: 813640 on 22-Nov-2010 08:42

  • Set-ADUser based on .csv file - empty attributes issue

    Hi, after a few months without working with PowerShell my knowledge is slowly fading away but fortunately every time this happened before, I was able to rebuild my knowledge again and now it is the same story. However I want to optimize my simple
    code which populates three AD user object attributes: manager, officephone and fax with values stored in .csv file. Everything works well, but my code looks not so good in my opinion. Is there any more elegant solution?
    $AddressBook = Import-CSV -Path D:\AddressBookFinal.csv
    foreach($Employee in $AddressBook)
         if([string]::IsNullOrEmpty($Employee.ManagerUserName)) {
                  Set-ADUser -Identity $Employee.EmployeeUserName -Manager $null
        } else {
                  Set-ADUser -Identity $Employee.EmployeeUserName -Manager $Employee.ManagerUserName
        <#similar code here for checking value of OfficePhone and Fax attributes and populating             AD attributes depending on if attribute value in .csv file is empty or not#> 

    Hi BoxiKG,
    If there is any other question regarding this issue, please feel free to reply this post directly so we will be notified to follow it up.
    If you have any feedback on our support, please click here.
    Best Regards,
    Anna Wang
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Transaction Attribute issue in weblogic 8.1

    Hi,
    I have problem with the transaction attribute of my session bean in Weblogic8.1 and SQLServer. Following is the description.
    I have two beans, say SampleBeanOne and SampleBeanTwo. The transaction attribute of SampleBeanOne is "Required" and that of the SampleBeanTwo is "RequiresNew".
    In SampleBeanOne i am trying the execute the a batch of insert quires using PreparedStatement.addBach() and PreparedStatement.executBatch() in a loop that runs of 5 times.
    Inside the loop i am calling a method in SampleBeanTwo to get the next sequence. In that method i am updating the squence and selecting the new value.
    Now the problem i am facing is that when i call the executeBatch() in the PreparedStatement only the final insert statement added to the batch is called and the insert statement added gets vanished.
    If i change the transaction attribute of the SampleBeanTwo to "Required" the code is working fine. But i can't do that since the SampleBeanTwo is accessed throught out my application.
    The same peace of code is working properly with Websphere5 and SQL server combination.
    Kindly help me out in this issue.
    Regards

    Hi
    ThanX for your reply. I raised the issue to the BEA support, they said that the issue is the driver that i am using. It got resolved when i tried with the BEA provided driver. They call it the BEA branded driver for SQL Server.
    Regards
    Muthu

  • Path Selection issue in Table Test

    Hi All
    I got issue in adding Form actions (ex:- Table test, Text matching test ) in my Oracle Forms and report product. It is not selecting the Path..
    Can any one suggest why the Path is not selecting ...?
    Appreciate your feed back.
    Regards,
    Sairam

    Hi Deepu,
    Please find the code below while doing text matching test
    web.window("//forms:window[(@name='WIN1')]").verifyText(
                                  "uniform", "365", Source.DisplayContent,
                                  TextPresence.PassIfPresent, MatchOption.Exact);
    Regards,
    Sairam

  • Path selection issue

    Hi All
    I got issue in adding Form actions (ex:- Table test, Text matching test ) in my Oracle Forms and report product. It is not selecting the Path..
    Can any one suggest why the Path is not selecting ...?
    Appreciate your feed back.
    Regards,
    Sairam

    Hi Deepu,
    We are using OATS version 12.2, JAVA Version 6.0.350 and erp application is our own application developed in oracle 10g forms. We did not get any errors while installing OATS.
    Regards,
    Sairam

  • Navigational attribute issue in query

    Hi gurus,
    Here is a very tricky issue that I am facing. If anyone could please help me with a workaround for the same.
    I have an infoObject called ZDIV_CUS which is basically 0CUSTOMER with 0DIVISION compounded to it. Hence, when I load data into ZDIV_CUS, I would have one record for a unique combination of customer and division. In functional words, I would have one customer maintained for multiple divisions. ZDIV_CUS also has other navigational attributes as 0SALES_OFF, 0SALES_DIST & 0SALES_GRP. Also, I have 0MATERIAL, which has 0DIVISION as a navigational attribute in my cube.
    Hence the master data for ZDIV_CUS looks as follows -
    0DIVISION    0CUSTOMER    0SALES_OFF    0SALES_GRP    0SALES_DIST
    01           100000       L001          L01           L010100
    02           100000       L005          L08           L020150
    01           100001       L001          L01           L050150
    03           100001       L005          L02           L052542
    The transactional data in my cube is as follows -
    0MATERIAL    0CUSTOMER    0DIVISION    0SALES_OFF   0NET_SALES   0MATERIAL_DIVISION (Material master div)
    102152          100000       01           L002         110000       02
    102545          100001       02           L002         12000000     02
    The above data is all transactional except for 0MATERIAL_DIVISION which comes from material division.
    My query is built in such a way that the division comes from 0MATERIAL (restricted to variable in the selection screen). ZDIV_CUS and its navigational attributes are being used in my query. The initial display is shown as per ZDIV_CUS_0SALES_OFF (i.e. sales office from ZDIV_CUS)
    The problem is that say for eg for the above mentioned scenario, the user executes the query for division 01 and the below mentioned output comes up -
    0MATERIAL_DIVISION     ZDIV_CUS    0MATERIAL    ZDIV_CUS_0SALES_OFF     0NET_SALES
    02                     100000      102152       L001                    110000
    If we take a closer look, we would know that ZDIV_CUS_0SALES_OFF should pick up value L005 and not L001 since the division for which the query is run is 0MATERIAL_DIVISION and not 0DIVISION.
    Request help to resolve the abovementioned issue.
    Thank you,
    Sree

    Can any one answer for Issue-2. Even I am also facing the same.
    Thanks in Advance.

  • Attributes Issue in FIX Statement Calculation

    Hi All,
    I have issue with calculating FTE. I have a dimension call Employees and has an attributes (Full-Time / Part-Time). I'm trying to calculate FTE. Below is my code. It seems to be ignoring Attribute in the Fix Statement. when I run this calc script FTE for every employees is 0.5 since that's the last thing it does. If I comment out the second fix statement FTE for every employees is 1. I'm not sure why it's not it's ignoring my statement on the Attributes.
    FIX(@LEVMBRS("Time Periods",0),"FY11","WP","Working Version",@LEVMBRS("Measures",0),"USD",@LEVMBRS("Entities",0),@LEVMBRS("Sites",0),@LEVMBRS("Employees",0),@LEVMBRS("Job Codes",0),@LEVMBRS("Cost Centers",0),@LEVMBRS("SBU",0),@LEVMBRS("EE_Status",0),@ATTRIBUTE("Full-Time"))
    FTE(
    IF
    ("Base_Salary">0);
    "FTE"=1;
    ELSE
    "FTE"==#MISSING;
    ENDIF;
    ENDFIX;
    FIX(@LEVMBRS("Time Periods",0),"FY11","WP","Working Version",@LEVMBRS("Measures",0),"USD",@LEVMBRS("Entities",0),@LEVMBRS("Sites",0),@LEVMBRS("Employees",0),@LEVMBRS("Job Codes",0),@LEVMBRS("Cost Centers",0),@LEVMBRS("SBU",0),@LEVMBRS("EE_Status",0),@ATTRIBUTE("Part-Time"))
    FTE(
    IF
    ("Base_Salary">0);
    "FTE"=0.5;
    ELSE
    "FTE"==#MISSING;
    ENDIF;
    ENDFIX;
    Edited by: user8988798 on Mar 26, 2010 9:57 AM

    Having both @LEVMBRS("Employees",0) and @ATTRIBUTE("Full-Time") is your problem. You are saying give me all of the level zero members of employee and also give me the members that have Full time. Since attributes are tied to the base members you would just need @ATTRIBUTE("Full-Time") to get the full time employees

Maybe you are looking for

  • I used to get infinity but now can't?

    Hey, I've recently moved house and reluctantly said good bye to really fast and reliable net from virgin. However, before moving I checked to ensure I would be able to get at least some kind of fast internet. And yes I was, I could get upto 76mbps fr

  • Method.invoke

    Hi, I'm trying to dynamically load various classes at runtime but have encountered a problem with the Method.invoke() method. Class c = Class.forName( "car" ); Method m = c.getDeclaredMethod("Execute", new Class [] { String.class } ); object res = m.

  • BufferedImage causing OutOfMemoryError not getting GC'd

    I'm writing a photo library application just for practice. I'm trying to display all the jpegs in an album by displaying thumbnails of them as ImageIcons in JLabels on a JFrame. To get the images I use ImageIO.read(File) into a BufferedImage. Then us

  • Stop IMAP junk GMail?

    My question is simple: Is there ANY way to configure Apple Mail or GMail such that I don't have to see all the junk mail that GMail puts in the Spam mailbox? Any solution is welcome--either if GMail could automatically and immediately delete all inco

  • Some albums only match 90% of songs while some are uploaded. Is this fixable?

    I have a few well known albums like "Universal Religion Chapter 4" where only a few tracks are correctly matched. Others are uploaded. Is it possible to fix this situation like asking iTunes Match for re-analysis or having some kind of assistent to m