The 'Contain' Queries on Intermedia ORDDOC fails

Hi
We are using Intemedia to Manage multimedia content. We store a lot of document using OrdDoc.
We were able to index the content using
"create index contentstoreindex on CONTENTSTORE(CNTSTR_FILE.Comments) indextype is ctxsys.context "
Now we have put some documents, the select statement does not return any rows.
SELECT SCORE(1), CNTSTR_SUBJECT
     FROM CONTENTSTORE WHERE CONTAINS(CNTSTR_FILE.Comments, 'test', 1) > 0;
No error, no rows fetched.
(There are 10 documents containing the string test in the database.
Can some one please help on what is wrong, what else we need to do.
Thanks

Some more info, when I changed my indexing method following is the dump.
SQL> create index contentstoreindex on CONTENTSTORE(CNTSTR_FILE.Comments)
2 indextype is ctxsys.context
3 parameters ('filter ctxsys.inso_filter');
Index created.
SQL> SELECT SCORE(1), CNTSTR_SUBJECT, CNTSTR_OID
2 FROM CONTENTSTORE
3 WHERE CONTAINS(CNTSTR_FILE.Comments, 'Test', 1) > 0 ;
WHERE CONTAINS(CNTSTR_FILE.Comments, 'Test', 1) > 0
ERROR at line 3:
ORA-00904: invalid column name

Similar Messages

  • Failure of the transport request containing queries

    Hi *,
    There was a transport request which after transport to Qual from Dev, failed with error code 8.
    Going into the details, the errors were:
    The request contained near about 100 queries in which some minor changes were done.
    1. Element 476FLGE6HWFAKXETNDSFCL12X is missing in version M
    2. Error when activating element 
       440YW0X722R9IRNUSMULSJCZH
    I can't figure out exactly where the error is. What should be my approach ? Also, I came to know that in Qual, some changes were already done by this request.
    Points will be assigned.
    Regards,
    Srinivas

    Hi Srinivas,
    Did you check that error in the table mentioned by our friend in the above post?
    If you still didn't find anything, go to Tcode SE09. Check Released and Modifiable and click on display. It will display all the released and non-released requests on your id. Go to your request and check all the objects transported. Find out if you have missed anything. transport the object you want with a new request. Check whether all the queries are moved into QAS in your previous transport and if any thisng is missed transport the same. You also can retransport if you want from the scratch. It will replace all the exeisting queries in QAS.
    Regards,
    KK.

  • I have windows xp sp3, run Mcaffee security software- when I open I-tunes it does open however it will not connet to the I-tunes store. I-Tunes diagnostic indicates that it does connect to internet but the secure link to I-Tunes fails.

    I have windows xp sp3, run Mcaffee security software- when I open I-Tunes it does open however it will not connet to the I-Tunes store. I-Tunes diagnostic indicates that it does connect to the internet but the secure ling to I-Tunes fails. I-Tunes diagnostic attached. Hope some one can help.                                                     Microsoft Windows XP Professional Service Pack 3 (Build 2600) Dell Inc. MP061 iTunes 11.0.2.26 QuickTime 7.7.3 FairPlay 2.3.31 Apple Application Support 2.3.3 iPod Updater Library 10.0d2 CD Driver 2.2.3.0 CD Driver DLL 2.1.3.1 Apple Mobile Device 6.1.0.13 Apple Mobile Device Driver 1.64.0.0 Bonjour 3.0.0.10 (333.10) Gracenote SDK 1.9.6.502 Gracenote MusicID 1.9.6.115 Gracenote Submit 1.9.6.143 Gracenote DSP 1.9.6.45 iTunes Serial Number 0012B5500B576CC8 Current user is an administrator. The current local date and time is 2013-04-28 10:27:11. iTunes is not running in safe mode. WebKit accelerated compositing is enabled. HDCP is not supported. Core Media is supported. Video Display Information ATI Mobility Radeon X1400 **** External Plug-ins Information **** No external plug-ins installed. iPodService 11.0.2.26 is currently running. iTunesHelper 11.0.2.26 is currently running. Apple Mobile Device service 3.3.0.0 is currently running. **** Network Connectivity Tests **** Network Adapter Information Adapter Name: {7282B8D2-078A-4414-82D6-A506F9C935D0} Description: WiMAX Network Adapter - McAfee Core NDIS Intermediate Filter Miniport IP Address: 0.0.0.0 Subnet Mask: 0.0.0.0 Default Gateway: DHCP Enabled: Yes DHCP Server: 255.255.255.255 Lease Obtained: Wed Feb 13 12:30:29 2013 Lease Expires: Mon Jan 18 21:14:07 2038 DNS Servers: Adapter Name: {9CE46F79-8015-4C15-A074-B1ACA4388E56} Description: Sierra Wireless Network Adapter - McAfee Core NDIS Intermediate Filter Miniport IP Address: 0.0.0.0 Subnet Mask: 0.0.0.0 Default Gateway: DHCP Enabled: Yes DHCP Server: Lease Obtained: Mon Jan 18 21:14:07 2038 Lease Expires: Mon Jan 18 21:14:07 2038 DNS Servers: Adapter Name: {1A876FC9-50B6-4101-8E4F-838AF1D1CB32} Description: Dell Wireless 1390 WLAN Mini-Card - McAfee Core NDIS Intermediate Filter Miniport IP Address: 0.0.0.0 Subnet Mask: 0.0.0.0 Default Gateway: DHCP Enabled: Yes DHCP Server: Lease Obtained: Mon Jan 18 21:14:07 2038 Lease Expires: Mon Jan 18 21:14:07 2038 DNS Servers: Adapter Name: {E64A2DD8-7A18-4784-8DC0-08B143E504A7} Description: Broadcom 440x 10/100 Integrated Controller - McAfee Core NDIS Intermediate Filter Miniport IP Address: 0.0.0.0 Subnet Mask: 0.0.0.0 Default Gateway: DHCP Enabled: Yes DHCP Server: 10.0.40.20 Lease Obtained: Thu Aug 23 15:54:15 2012 Lease Expires: Thu Aug 23 17:54:15 2012 DNS Servers: Adapter Name: {2A9F97F5-D693-427F-BA40-9C3AA36937B1} Description: WAN (PPP/SLIP) Interface IP Address: 107.42.83.109 Subnet Mask: 255.255.255.255 Default Gateway: 107.42.83.109 DHCP Enabled: No DHCP Server: Lease Obtained: Wed Dec 31 18:00:00 1969 Lease Expires: Wed Dec 31 18:00:00 1969 DNS Servers: 66.1.77.7 68.29.73.7 Active Connection: Mobile Connected: Yes Online: Yes Using Modem: Yes Using LAN: No Using Proxy: No Firewall Information Windows Firewall is on. iTunes is enabled in Windows Firewall. Connection attempt to Apple web site was unsuccessful. The network connection timed out. Basic connection to the store failed. The network connection timed out. Connection attempt to Gracenote server was successful. The network connection timed out. Last successful iTunes Store access was 2013-04-16 10:14:47.

    Hello cor-el, thanks for your reply. I changed my settings for downloads to desktop and it has appeared on there. When I double click I am asked which program I want to open file. I click firefox and another box "opening install" says I have chosen to open the file which is an application and do I want to save it. This is the only real option so I press save file. I get a box saying this is an executable file which may contain viruses - do you want to run. I press ok and the final box showing C drive file name and desktop appears stating application not found.
    This happens the same whenever I try to install.
    To my untrained eye the application is not being recognised as an application and I cannot work out how to get it to do that.
    My plugin is still showing as out of date.
    Is there anything you could suggest. Thanks for your time.

  • I tunes: when trying to burn a playlist I keep getting the message: the attempt to burn a disc failed. The disc could not be read from or written to. I am using version 12

    I tunes: I am using version 12 of I tunes. Ever since downloading it I get the message when trying to burn a playlist it says, The attempt to burn a disc failed. The disc could not be read from or written to.
    I uninstalled V-12 and then reinstalled it. This enabled me to burn a disc again but after a couple of tries I received the same error message again. Has Apple put out a fix to this problem that anyone is aware of?
    Thanks.

    Hi rossfrombluffton,
    Welcome to the Support Communities!  The resource below provides some general things to consider when burning a disc with iTunes.  I would also try burning a music CD and a data disc from a different application in the Windows OS and trying a different brand CD just to confirm the issue is not with the optical drive.
    Can't burn a CD in iTunes for Windows - Apple Support
    http://support.apple.com/en-ae/HT203173
    Find out what to do if you can't burn an audio CD using iTunes for Windows. Sometimes an audio disc may not burn as expected. Here are some things to check.
    Update iTunes
    Download and install the latest version of iTunes for Windows.Check for unauthorized songs
    iTunes will stop burning a disc if you purchased one or more of the songs in a playlist from the iTunes Store and the songs aren't authorized to play on your computer. This message should appear: "Some of the files can not be burned to an audio CD. Do you still want to burn the remainder of this playlist? For more information on why some files can not be burned, click below."
    To find out which songs aren't authorized, play each song in the playlist. Songs that play are authorized. Songs that don't play aren't authorized. You'll be asked to authorize any unauthorized songs.Make sure your playlist will fit on a single CD
    If there are too many songs in a playlist to fit on a single CD, iTunes should ask if you want to burn multiple discs or cancel the burn. This message should appear: "The songs in this playlist will not fit on one Audio CD. Do you want to create multiple Audio CDs with this playlist split across them? This will require more than one blank CD to complete."
    If you click the Audio CDs button, the burn will continue and you'll be asked to insert blank CDs until the playlist is completely burned. If you click cancel, the burn will be canceled.
    To make the playlist shorter so that it will fit on a single CD, select a song to remove from the playlist and choose Edit > Clear. Repeat this step until the duration of the playlist is between 60 and 80 minutes. The duration appears at the top of the playlist window. Most CD-R discs can hold 60 to 80 minutes of music.
    Check how many times you've burned the playlist
    An unchanged playlist that contains songs purchased from the iTunes Store can be burned no more than seven times.Additional steps and submitting feedback
    Go to iTunes Support to get additional troubleshooting suggestions specific to your optical drive configuration or to submit feedback to Apple.Learn more
    For additional troubleshooting, please see these steps:
    Additional troubleshooting tips for burning issues
    iTunes for Windows doesn't recognize my audio CDs
    Last Modified: Feb 3, 2015
    Have a good day ...
    - Judy

  • "XML File not found for the Container DataBindings.cpx" error after deploy

    Hello,
    I have a problem with my JSP-Javaproject. Local works all fine but when i deploy my project to a Oracle Aplication Server i allway get this XML-File-Not-found exception:
    oracle.jbo.NoXMLFileException: JBO-26001: XML File not found for the Container DataBindings.cpx
    In my EAR-File the DataBindings.cpx is at:
    \WEB-INF\classes\
    My JSP-File:
    <jbo:ApplicationModule id="AippackageModule" definition="DataBindings.DataModule" releasemode="Stateful" />
    My web.xml:
    <context-param>
    <param-name>CpxFileName</param-name>
    <param-value>DataBindings</param-value>
    </context-param>
    My DataBindings.cpx:
    <?xml version='1.0' encoding='windows-1252' ?>
    <Application xmlns="http://xmlns.oracle.com/adfm/application" id="DataBindings"
    Package="" ClientType="Generic">
    <pageMap>
    </pageMap>
    <pageDefinitionUsages>
    <page id="eonerrorPageDef"
    path="de.avacon.ahb.system.tools.pageDefs.eonerrorPageDef"/>
    </pageDefinitionUsages>
    <dataControlUsages>
    <BC4JDataControl Configuration="AppModuleLocal"
    Package="model.data"
    xmlns="http://xmlns.oracle.com/adfm/datacontrol"
    id="DataModule">
    <Parameters/>
    </BC4JDataControl>
    </dataControlUsages>
    </Application>
    What can i do?
    Thanks, steve

    Adding the dependency in the ViewController fixed this for me.
    I'm using two AppModules in the controller and the second one wasn't being picked up.
    I was able to fix this by:
    Go to the Project Properties, select Dependencies, edit the Dependent Projects and Archives, find the model that's failing and add a tick in the Build Output box.
    The model should now be picked up in the ViewController's DataBindings.cpx source file, though I did have to restart JDev for this to be picked up.
    HTH
    Phil

  • How to populate the CONTAINER, when calling a WorkFlow Task via FM?

    Hello,
    I am trying to trigger an email notification to user's SAP Inbox, if Outbound IDOC got failed. I wrote the below code in the processing FM, but, i am stucked at populating the CONTAINER parameter of this Task, pls. let me know How/with What I have to populate the CONTAINER parameter of this FM?
    DATA: wa_input_container    TYPE swr_cont,
                wa_swr_messag       TYPE swr_messag,
                wa_swragent             TYPE swragent.
    * Fill Workflow element
          wa_input_container-element = '_WI_OBJECT_ID' .
          wa_input_container-value   = wa_idoc_control-docnum.
          APPEND wa_input_container TO itab_input_container.
    * Fill Email body
          wa_swr_messag-msg_type = 'E'.
          wa_swr_messag-line = 'Error'.
          APPEND wa_swr_messag TO itab_swr_messag.
          CALL FUNCTION 'SAP_WAPI_START_WORKFLOW'
            EXPORTING
              task               = 'TS00007989'
              language           = sy-langu
              user               = sy-uname
              start_asynchronous = 'X'
            IMPORTING
              return_code        = v_sy_subrc
            TABLES
              input_container     = itab_input_container
              message_lines      = itab_swr_messag
              agents                   = itab_swragent.
        ENDIF.
    Thank you.

    Hi,
    Pls refer below link.
    FM SAP_WAPI_START_WORKFLOW Exporting container without values

  • How to increase the heap size of the container in whioch BPEL is running ?

    Hi All,
    I recently raised an SR they have asked me to do the following,
    Can you please try and start the container running the BPEL process with max
    heap space (-Xmx) of 2 GB and the eden space (-Xmn) at about 60% of 1228m and
    the option -XX:+AggressiveHeap set. (even though this option is recommended for
    multi processor machines say 4)
    can anyone kindly explain me how to increase the Heap size and Eden size of BPEL container ?
    Thank You

    Hi Deepak I cant see any attribute or element in the oc4j_opmn.xml file regarding heap memory. In the server properties I changed the size of heap memeory how can I rollback.
    I am getting the following error
    Configuration information
    Running in C:\product\10.1.3.1\OracleAS_1
    Operation mode:Startup, App Server, No Enterprise Manager, Single Instance
    Oracle home:C:\product\10.1.3.1\OracleAS_1
    Oracle home name:Unnamed
    Instance name:SOA.01hw117905.India.TCS.com
    Instance type:allProducts
    Version:10.1.3.4.0
    Uses infrastructure:false
    Not an infrastructure instance, no infrastructure information available
    Components:[j2ee, apache, orabpel, oraesb, owsm, Wsil]
    2009-08-19 09:08:51.863--Begin log output for Mid-tier services (SOA.01hw117905.India.TCS.com)
    2009-08-19 09:08:51.863--Processing Step: starting OPMN
    2009-08-19 09:09:00.394--Processing Step: starting OPMN managed processes
    2009-08-19 09:09:35.19--End log output for Mid-tier services (SOA.01hw117905.India.TCS.com)
    An unknown OPMN error has occured
    oracle.appserver.startupconsole.model.ConsoleException: An unknown OPMN error has occured
         at oracle.appserver.startupconsole.control.OPMNController.doStart(OPMNController.java:121)
         at oracle.appserver.startupconsole.control.Controller.start(Controller.java:69)
         at oracle.appserver.startupconsole.control.GroupController.doStart(GroupController.java:47)
         at oracle.appserver.startupconsole.control.Controller.start(Controller.java:69)
         at oracle.appserver.startupconsole.view.controller.ControllerAdapter.start(ControllerAdapter.java:30)
         at oracle.appserver.startupconsole.view.controller.MasterControlAdapter.run(MasterControlAdapter.java:94)
         at oracle.appserver.startupconsole.view.Runner.main(Runner.java:39)
    Caused by: oracle.ias.opmn.optic.OpticControlException: Error from opmn during process control operation
         at oracle.ias.opmn.optic.AbstractOpmnEntity.runCommand(AbstractOpmnEntity.java:174)
         at oracle.ias.opmn.optic.AbstractOpmnEntity.start(AbstractOpmnEntity.java:110)
         at oracle.appserver.startupconsole.control.OPMNController.doStart(OPMNController.java:89)
         ... 6 more
    Exception caused by
    Error from opmn during process control operation
    oracle.ias.opmn.optic.OpticControlException: Error from opmn during process control operation
         at oracle.ias.opmn.optic.AbstractOpmnEntity.runCommand(AbstractOpmnEntity.java:174)
         at oracle.ias.opmn.optic.AbstractOpmnEntity.start(AbstractOpmnEntity.java:110)
         at oracle.appserver.startupconsole.control.OPMNController.doStart(OPMNController.java:89)
         at oracle.appserver.startupconsole.control.Controller.start(Controller.java:69)
         at oracle.appserver.startupconsole.control.GroupController.doStart(GroupController.java:47)
         at oracle.appserver.startupconsole.control.Controller.start(Controller.java:69)
         at oracle.appserver.startupconsole.view.controller.ControllerAdapter.start(ControllerAdapter.java:30)
         at oracle.appserver.startupconsole.view.controller.MasterControlAdapter.run(MasterControlAdapter.java:94)
         at oracle.appserver.startupconsole.view.Runner.main(Runner.java:39)
    <?xml version='1.0' encoding='WINDOWS-1252'?>
    <response>
    <msg code="-82" text="Remote request with weak authentication.">
    </msg>
    <opmn id="01hw117905:6200" http-status="206" http-response="2 of 3 processes started.">
    <ias-instance id="SOA.01hw117905.India.TCS.com">
    <ias-component id="default_group">
    <process-type id="home">
    <process-set id="default_group">
    <process id="172" pid="2176" status="Alive" index="1" log="C:\product\10.1.3.1\OracleAS_1\opmn\logs\\default_group~home~default_group~1.log" operation="request" result="success">
    <msg code="0" text="">
    </msg>
    </process>
    </process-set>
    </process-type>
    <process-type id="oc4j_soa">
    <process-set id="default_group">
    <process id="173" pid="5556" status="Stopped" index="1" log="C:\product\10.1.3.1\OracleAS_1\opmn\logs\\default_group~oc4j_soa~default_group~1.log" operation="request" result="failure">
    <msg code="-21" text="failed to start a managed process after the maximum retry limit">
    </msg>
    </process>
    </process-set>
    </process-type>
    </ias-component>
    <ias-component id="HTTP_Server">
    <process-type id="HTTP_Server">
    <process-set id="HTTP_Server">
    <process id="171" pid="2724" status="Alive" index="1" log="C:\product\10.1.3.1\OracleAS_1\opmn\logs\\HTTP_Server~1.log" operation="request" result="success">
    <msg code="0" text="">
    </msg>
    </process>
    </process-set>
    </process-type>
    </ias-component>
    </ias-instance>
    </opmn>
    </response>

  • Server:An Error occurred in the container during the request processing

    Hi
    I am using tomcat 5.0 as for my serlvets. I get below exception when processing a request. Please let me know under what conditions do we get such exception
    2008-5-14 9:33:34 org.apache.coyote.tomcat5.CoyoteAdapter service
    Server:An exception or error occurred in the container during the request processing
    java.lang.NullPointerException
    at org.apache.tomcat.util.buf.MessageBytes.toChars(MessageBytes.java:245)
    at org.apache.tomcat.util.http.mapper.Mapper.map(Mapper.java:509)
    at org.apache.coyote.tomcat5.CoyoteAdapter.postParseRequest(CoyoteAdapter.java:279)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:158)
    at org.apache.jk.server.JKCoyoteHandler.invoke(JKCoyoteHandler.java:300)
    at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374)
    at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743)
    at org.apache.jk.common.ChannelSocke.processConnection(ChannelSocket.java:675)
    at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
    at java.lang.Thread.run(Thread.java:619)
    Thanks
    fangbinyu

    This might help (then again, it might not!):
    Here is your stack trace:
    2008-5-14 9:33:34 org.apache.coyote.tomcat5.CoyoteAdapter service
    Server:An exception or error occurred in the container during the request processing
    java.lang.NullPointerException
    at org.apache.tomcat.util.buf.MessageBytes.toChars(MessageBytes.java:245)
    at org.apache.tomcat.util.http.mapper.Mapper.map(Mapper.java:509)
    at org.apache.coyote.tomcat5.CoyoteAdapter.postParseRequest(CoyoteAdapter.java:279)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:158)
    at org.apache.jk.server.JKCoyoteHandler.invoke(JKCoyoteHandler.java:300)
    at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374)
    at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743)
    at org.apache.jk.common.ChannelSocke.processConnection(ChannelSocket.java:675)
    at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
    at java.lang.Thread.run(Thread.java:619)
    Do you see any class name in it that you created? If so, look into that class and either set breakpoints and step through it until an exception is thrown, or fill it with System.out.println() statements to see where it failed.
    If none of the items above is a class you created, I suspect its the vendor classes that failed due to them trying to configure themselves via various configuration files in the project (usually *.xml files). Check out your *.xml files for snytax error and/or incorrect configurations and/or missing configuration info. Null pointer exception means the vendor software went to call a function of a class that was not instansiated. Example: person.getName() will throw that type of error if person is null.
    If you still cant find the problem, you might try creating a simple project and add configuration info to it, get it to work, then add more configuration data, get it to work, etc until you duplicate your original project configuration setup. This way, you can isolate where the problem is.

  • A Single query with out the sub-queries

    I am using My-SQL as my back-end and it doesnot support the
    Sub-Queries. i have my table given below
    UserID..UserName..ParentUserID
    1........Admin...........0
    2........Sales...........1
    3........Sourcing........1
    4........SalesHead.......2
    5........SourcingHead....3
    6........SalesExec.......4
    7........SourExec........5
    The table contains heirarchy of users. The top most users
    has the ParentUserID as 0. and the remaining has their own ParentUserID
    I want to get the complete heirarchy of a given user in single ResultSet.
    It should be done without using sub-queries. but all joins can be used.
    e.g.
    if i say userid is 2 i should get following output:
    Sales - > SalesHead -> SalesExec->......
    Can any body please help me out!
    Sridhar.

    Hi Sridhar,
    You can use recursive method. Make a method as follows :
    public String getChildren(int UserID)
         String temp = "";
         Connection con = DriverManager.getConnection("","","");
         Statement st = con.createStatement();
         ResultSet rs = statement.executeQuery("select UserID from MyUsers where ParentUserID = " + UserID);
         while(rs.next())
              temp += " [ ";
              if(temp.equals(""))
                   temp += getChildren(rs(0));
              else
                   temp += " -> " + getChildren(rs(0));
              temp += " ] ";
         return temp;
    then call his method by providing any UserID to it and it will return you a string containing complete hierarchy in the following format :
    AAA -> BBB -> CCC -> DDD
    I hope it will help you.
    regards,
    Humayun

  • Contains Queries on Empty Collections

    I'm running into the following problem when attempting a JDO query which
    uses the .contains() operator on multiple collections, where one of the
    collections is empty.
    My class contains two vectors, both of which contain strings. I want to run
    a query that returns all instances of TestClass that contain a certain
    string in one of the two lists. I have done roughly what is outlined below.
    1) The class looks like:
    public class TestClass
    private Vector _collection1;
    private Vector _collection2;
    2) The metadata in system.jdo looks like:
    <class name="TestClass">
    <field name="_collection1">
    <collection element-type="java.lang.String"/>
    </field>
    <field name="_collection2">
    <collection element-type="java.lang.String"/>
    </field>
    </class>
    3) I construct the query as follows:
    // pm is the existing persistence manager
    Query query = pm.newQuery();
    query.setClass( TestClass.class );
    query.setCandidates( pm.getExtent( TestClass.class, true ) );
    query.setFilter( "_collection1.contains( string ) ||
    _collection2.contains( string )" );
    query.declareParameters( "String string" );
    Collection results = (Collection) query.executeWithArray( new Object[]
    { "searchString" } );
    4) The resulting SQL query (for SQL/Server) looks like:
    SELECT DISTINCT
    t0.JDOIDX,
    t0.JDOCLASSX,
    t0.JDOLOCKX
    FROM
    TESTCLASS__COLLECTION2X t2,
    TESTCLASSX t0,
    TESTCLASS__COLLECTION1X t1
    WHERE
    t1.COLLECTION1X = 'searchString'
    OR (t2.COLLECTION2X = 'searchString')
    AND t0.JDOIDX = t1.JDOIDX
    AND t0.JDOIDX = t2.JDOIDX
    Suppose that the target string is located in the first collection of some
    instance of TestClass. Also suppose that there are no strings in the second
    collection. Under these circumstances, the query will not return this
    instance.
    Is there a way to work around this other than running two separate queries?
    Is this a bug or is this the expected behaviour?
    Any help on this is much appreciated.
    Regards,
    Sasha Haghani.

    Hi David,
    I've tried this approach as well and am now getting a different error.
    Using:
    1) query filter: "( _collection1.contains( var ) && var == param ) || (
    _collection2.contains( var ) && var == param )"
    2) parameter string: "String param"
    3) variable string: "String var"
    4) parameters: new Object[] { "value" }
    The following exception raised is:
    com.techtrader.modules.jdo.impl.jdbc.sql.SQLExceptionWrapper: [SQL=SELECT
    t0.JDOIDX, t0.JDOCLASSX, t0.JDOLOCKX FROM TESTCLASSX t0 WHERE variable =
    'value' OR (*variable* = 'value')] Line 1: Incorrect syntax near '*'.
    Severity 15, State 1 <rest of exception message omitted>
    at
    com.techtrader.modules.jdo.impl.jdbc.runtime.JDBCFieldData.load(JDBCFieldDat
    a.java:127)
    at
    com.techtrader.modules.jdo.impl.jdbc.runtime.JDBCQuery.executeQuery(JDBCQuer
    y.java:33)
    at
    com.techtrader.modules.jdo.query.QueryImpl.executeWithMap(QueryImpl.java:330
    at
    com.techtrader.modules.jdo.query.QueryImpl.executeWithArray(QueryImpl.java:3
    93)
    As you can see from above, the generated SQL statement looks like:
    SELECT
    t0.JDOIDX,
    t0.JDOCLASSX,
    t0.JDOLOCKX
    FROM
    TESTCLASSX t0
    WHERE
    variable = 'value'
    OR (*variable* = 'value')
    Additionally, if I change the filter to "( (_collection1.contains( var )) &&
    (var == param) )", I get the following exception:
    com.techtrader.modules.jdo.impl.jdbc.sql.SQLExceptionWrapper: [SQL=SELECT
    t0.JDOIDX, t0.JDOCLASSX, t0.JDOLOCKX FROM TESTCLASSX t0 WHERE variable =
    'value'] Line 1: Incorrect syntax near '*'. Severity 15, State 1, <rest of
    exception message omitted>
    at
    com.techtrader.modules.jdo.impl.jdbc.runtime.JDBCFieldData.load(JDBCFieldDat
    a.java:127)
    at
    com.techtrader.modules.jdo.impl.jdbc.runtime.JDBCQuery.executeQuery(JDBCQuer
    y.java:33)
    at
    com.techtrader.modules.jdo.query.QueryImpl.executeWithMap(QueryImpl.java:330
    at
    com.techtrader.modules.jdo.query.QueryImpl.executeWithArray(QueryImpl.java:3
    93)
    Again, the generated SQL looks like:
    SELECT
    t0.JDOIDX,
    t0.JDOCLASSX,
    t0.JDOLOCKX
    FROM
    TESTCLASSX t0
    WHERE
    variable = 'value'
    We are using multiple queries for now and aggregating the results by hand,
    so this issue isn't blocking us.
    Regards,
    Sasha Haghani.
    "David Ezzio" <[email protected]> wrote in message
    news:[email protected]...
    Hi Sasha,
    One thing that appears "unusual", if you will, about your queries
    is that you are using a parameter in the contains() method rather
    than a variable. The spec mentions a different usage pattern along
    the following lines: "collection.contains(string) && string ==
    strParam" where "strParam" is declared as the parameter, and
    "string" is declared as a variable. You may have already tried this
    as a variation. Your usage appears permitted as far as the spec
    goes, but may not have been tested for Kodo.
    David Ezzio
    Sasha Haghani wrote:
    Hi Patrick,
    I tried your workaround and the following exception was thrown:
    javax.jdo.JDOUserException: The given filter/ordering String "( (
    (_collection1.isEmpty() == false) && (_collection1.contains( string )) )
    ||
    ( (_collection2.isEmpty() == false) && (_collection2.contains(
    string )) ) )" is not valid. Make sure all parentheses are properlymatched
    and that the filter uses proper Java syntax.
    at
    com.techtrader.modules.jdo.query.QueryImpl.getExpression(QueryImpl.java:371)
    at
    com.techtrader.modules.jdo.impl.jdbc.runtime.JDBCQuery.getExpression(JDBCQue
    ry.java:49)
    at
    com.techtrader.modules.jdo.query.QueryImpl.executeWithMap(QueryImpl.java:312
    at
    com.techtrader.modules.jdo.query.QueryImpl.executeWithArray(QueryImpl.java:3
    93)
    I tried three variations on the parentheses used in the filterexpression.
    All yielded the same exception. I couldn't find any glaring errors or
    omissions in the query. The string parameter is also properly declared.Is
    this possibly another bug?
    I'm executing multiple individual queries to acheive my goal for thetime
    being. Let me know if I'm doing anything wrong or if these are bugs,let me
    know when they are fixed. Thanks much.
    Regards,
    Sasha Haghani.
    "Patrick Linskey" <[email protected]> wrote in message
    news:[email protected]...
    Sasha,
    This sounds like a bug. I will enter it into our database and get back
    to you later.
    Meanwhile, you may be able to work around it using something like
    query.setFilter (
    "(_collection1.isEmpty () == false && _collection1.contains(string))"
    + " || (_collection2.isEmpty () == false &&
    _collection2.contains
    (string))" );
    -Patrick Linskey

  • The TCP/IP connection to the host localhost, port 1433 has failed.

    Hi, im using sql server 2000,
    i have declared this in my program:
    Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");
    String url = "jdbc:sqlserver://localhost:1433;databaseName=Factura";
    Connection conn = DriverManager.getConnection(url,"sa","");and is giving me this exception:
    run:
    Got an exception!
    The TCP/IP connection to the host localhost, port 1433 has failed.
    Error: "connect timed out.
    Verify the connection properties,
    check that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port,
    and that no firewall is blocking TCP connections to the port.".
    com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host localhost, port 1433 has failed.
    Error: "connect timed out. Verify the connection properties,
    check that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port,
    and that no firewall is blocking TCP connections to the port.".
            at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError(SQLServerException.java:171)
            at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(SQLServerConnection.java:1033)
            at com.microsoft.sqlserver.jdbc.SQLServerConnection.login(SQLServerConnection.java:817)
            at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(SQLServerConnection.java:700)
            at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(SQLServerDriver.java:842)
            at java.sql.DriverManager.getConnection(DriverManager.java:582)
            at java.sql.DriverManager.getConnection(DriverManager.java:185)
            at factura.FacturaView.conexion(FacturaView.java:317)
            at factura.FacturaView.jTextField1KeyPressed(FacturaView.java:268)
            at factura.FacturaView.access$900(FacturaView.java:41)
            at factura.FacturaView$5.keyPressed(FacturaView.java:150)
            at java.awt.Component.processKeyEvent(Component.java:6225)
            at javax.swing.JComponent.processKeyEvent(JComponent.java:2801)
            at java.awt.Component.processEvent(Component.java:6044)
            at java.awt.Container.processEvent(Container.java:2041)
            at java.awt.Component.dispatchEventImpl(Component.java:4630)
            at java.awt.Container.dispatchEventImpl(Container.java:2099)
            at java.awt.Component.dispatchEvent(Component.java:4460)
            at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1850)
            at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:712)
            at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:990)
            at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:855)
            at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:676)
            at java.awt.Component.dispatchEventImpl(Component.java:4502)
            at java.awt.Container.dispatchEventImpl(Container.java:2099)
            at java.awt.Window.dispatchEventImpl(Window.java:2478)
            at java.awt.Component.dispatchEvent(Component.java:4460)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
            at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
            at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    BUILD SUCCESSFUL (total time: 34 seconds)how can i solve this?
    thanks..
    Edited by: derok on Dec 8, 2010 1:31 PM
    Edited by: derok on Dec 8, 2010 9:14 PM
    Edited by: derok on Dec 11, 2010 1:51 PM
    Edited by: derok on Dec 11, 2010 1:52 PM

    tschodt wrote:
    derok wrote:
    1434 did not worked eitherWhat port is your SQL Server listening on?
    List of active ports:
    C:\> netstat -naboOn linux I would add -l and -t to only get listening TCP ports.netstat -nabo gave me this:
    Active Connections
      Proto  Local Address          Foreign Address        State           PID
      TCP    0.0.0.0:80             0.0.0.0:0              LISTENING       2004
      [httpd.exe]
      TCP    0.0.0.0:135            0.0.0.0:0              LISTENING       1148
      e:\windows\system32\WS2_32.dll
      E:\WINDOWS\system32\RPCRT4.dll
      e:\windows\system32\rpcss.dll
      E:\WINDOWS\system32\svchost.exe
      E:\WINDOWS\system32\ADVAPI32.dll
      [svchost.exe]
      TCP    0.0.0.0:443            0.0.0.0:0              LISTENING       2004
      [httpd.exe]
      TCP    0.0.0.0:445            0.0.0.0:0              LISTENING       4
      [System]
      TCP    0.0.0.0:2869           0.0.0.0:0              LISTENING       1528
      E:\WINDOWS\system32\httpapi.dll
      e:\windows\system32\ssdpsrv.dll
      E:\WINDOWS\system32\RPCRT4.dll
      [svchost.exe]
      TCP    0.0.0.0:3306           0.0.0.0:0              LISTENING       2428
      [mysqld.exe]
      TCP    0.0.0.0:4400           0.0.0.0:0              LISTENING       2592
      [nlsvc.exe]
      TCP    0.0.0.0:7511           0.0.0.0:0              LISTENING       204
      [raysat_3dsmax2010_32server.exe]
      TCP    127.0.0.1:1028         0.0.0.0:0              LISTENING       3080
      [alg.exe]
      TCP    127.0.0.1:5152         0.0.0.0:0              LISTENING       188
      [jqs.exe]
      TCP    192.168.0.101:139      0.0.0.0:0              LISTENING       4
      [System]
      TCP    127.0.0.1:5152         127.0.0.1:1163         CLOSE_WAIT      188
      [jqs.exe]
      TCP    192.168.0.101:2869     192.168.0.1:4563       CLOSE_WAIT      4
      [System]
      UDP    0.0.0.0:500            *:*                                    908
      [lsass.exe]
      UDP    0.0.0.0:445            *:*                                    4
      [System]
      UDP    0.0.0.0:4500           *:*                                    908
      [lsass.exe]
      UDP    0.0.0.0:1434           *:*                                    3036
      [sqlbrowser.exe]
      UDP    127.0.0.1:123          *:*                                    1284
      e:\windows\system32\WS2_32.dll
      e:\windows\system32\w32time.dll
      ntdll.dll
      E:\WINDOWS\system32\kernel32.dll
      [svchost.exe]
      UDP    127.0.0.1:1135         *:*                                    3508
      [iexplore.exe]
      UDP    127.0.0.1:1040         *:*                                    1284
      e:\windows\system32\WS2_32.dll
      E:\WINDOWS\system32\WINHTTP.dll
      E:\WINDOWS\system32\upnp.dll
      E:\WINDOWS\system32\RPCRT4.dll
      E:\WINDOWS\system32\ole32.dll
      [svchost.exe]
      UDP    127.0.0.1:44301        *:*                                    2880
      [PnkBstrA.exe]
      UDP    127.0.0.1:1900         *:*                                    1528
      e:\windows\system32\WS2_32.dll
      e:\windows\system32\ssdpsrv.dll
      E:\WINDOWS\system32\ADVAPI32.dll
      E:\WINDOWS\system32\kernel32.dll
      [svchost.exe]
      UDP    192.168.0.101:1900     *:*                                    1528
      e:\windows\system32\WS2_32.dll
      e:\windows\system32\ssdpsrv.dll
      E:\WINDOWS\system32\ADVAPI32.dll
      E:\WINDOWS\system32\kernel32.dll
      [svchost.exe]
      UDP    192.168.0.101:137      *:*                                    4
      [System]
      UDP    192.168.0.101:123      *:*                                    1284
      e:\windows\system32\WS2_32.dll
      e:\windows\system32\w32time.dll
      ntdll.dll
      -- unknown component(s) --
      [svchost.exe]
      UDP    192.168.0.101:138      *:*                                    4
      [System]Edited by: derok on Dec 10, 2010 11:04 AM
    Edited by: derok on Dec 10, 2010 11:11 AM

  • Continue the package execution even if task fails

    I have a send mail task in my package which sends start and end mails of the package. If the SMPT server is down and not working entire process stops as send mail task fails. Is there a way that if the SMPT server is down and also if the send mail task
    fails the package should continue executing. This is a child package which is called by a parent package.

    Is the send mail task is inside a container (loop or sequence) set "FailParentOnFailure" and the
    "FailPackageOnFailure" properties to false for those as well.
    There is also a MaximumErrorCount property that can be set to 0 in the container or in the package.
    see this link
    Jan D'Hondt - SQL server BI development

  • SOA Applicaiton is not configured in the container

    I'm running the SOAHelloApp from the JDevStudio11 installation guide. The SAO Compiler indicates "Build Successful". I then go back and execute the Deploy Method A - Run (select composite.xml and select the run button) and I get a message: Cannot run the composite! SOA application is not configured in the container.
    I then went back a re-ran step # 9 of installation to configure SOA to install the Integrated OC4J Server. Within these steps is the process to do the SOA Application Configuration Dialog which runs for about 7 minutes with a "Build Successful" mesage.
    I then re-run the deployment method A from above and get the same message.
    I setup the three environment variables as specified in the installation:
    mesage = C:\Oracle\jdevstudio1111
    JAVA_HOME = C:\Program Files\Java\jdk1.6.0_01
    JDEV_USER_DIR = C:\Oracle\jdevinstance
    The installation guide mentions that the JDB used to create jdevstudio for windows is included in the jdevstudio1111.zip but doesn't indicate where. I wasn't sure if I need to point to somewhere within the unzipped directory for my JAVA_HOME?
    Everything seems to be working correctly but I still get the error message. If someone could provide help I would greatly appreciate it.
    Thanks

    My failure was actually in the SOA Configuration. It actually ran to "Build Successful" but when I reviewed the log file it stated that "Configuring SOA Infrastructure has FAILED" and indicated that I should check the following log files: soa-infra-java.log and startsoa.log.
    However, this does not provide me with the answer to my failure. The full log has been attached below.
    I changed my JAVA_HOME to be C:\Program Files\Java\jdk1.6.0_01 instead of C:\Oracle\jdevstudio1111\jdk (pointing to an installed version of Java versus the version included in the unzipped jdevstuio) and it seemed to go further in the setup.
    Any help to get this configured would be appreciated.
    Thanks...
    [echo] Create jms queues/topics from new oc4j jms template
    [echo] Changing jms.xml to use port : 9227
    [echo] ==Setting proxy in soaenv[.bat]==
    [echo]
    * Configuring SOA Infrastructure. This will take 5-10 minutes. *
    * Summary of SOA configuration parameters: *
    ** Oracle Home = C:\Oracle\jdevstudio1111\
    ** Oracle Instance = C:\Oracle\jdevinstance\system11.1.1.0.22.47.96
    ** SOA Database = localhost:1521:XE
    ** SOA Database User = jdev_soainfra
    ** HTTP Port = 8988
    ** RMI Port = 23891
    ** Component Type = o.j2ee
    ** Component Name = embedded-oc4j
    ** Configure OWSM = false
    ** Configure Notification = true
    ** Configure SOA Console = true
    ** Configure B2B UI = false
    ** Configure XEngine = false
    ** Assemble all =
    [echo] Completed adfinstaller - standalone install
    [echo] ==Seeding SOAAdmin app roles==
    [echo] Instance home: C:\Oracle\jdevinstance\system11.1.1.0.22.47.96\o.j2ee\embedded-oc4j
    [echo] JPS config: C:\Oracle\jdevinstance\system11.1.1.0.22.47.96\o.j2ee\embedded-oc4j/config/jps-config.xml
    [echo] ==Grant SOAAdmin app role to oc4jadmin ==
    [echo] ==Storing oc4jadmin user credential in csf ==
    [java] oracle.security.jps.service.credstore.CredentialAlreadyExistsException: The credential with map name BPM-SERVICES and key BPM-SERVICES already exists.
    [java]      at oracle.security.jps.internal.credstore.ssp.SspCredentialStore.setCredential(SspCredentialStore.java:543)
    [java]      at oracle.bpel.services.common.util.CSFStore.main(CSFStore.java:129)
    [echo] ==Seeding optional demo users==
    [echo] Seed groups: ${nogroup}
    [echo] Instance home: C:\Oracle\jdevinstance\system11.1.1.0.22.47.96\o.j2ee\embedded-oc4j
    [echo] JPS config: C:\Oracle\jdevinstance\system11.1.1.0.22.47.96\o.j2ee\embedded-oc4j/config/jps-config.xml
    [echo] ==Starting standalone oc4j. Check server log C:\Oracle\jdevinstance\system11.1.1.0.22.47.96\o.j2ee\embedded-oc4j\log\startsoa.log.
    [echo] ==Waiting max 420 second(s) for startup of URL http://hart-itg-siss-l:8988...
    [echo]
    * Configuring SOA Infrastructure has FAILED. *
    * Please check following logs for possible cause: *
    * C:\Oracle\jdevinstance\system11.1.1.0.22.47.96\o.j2ee\embedded-oc4j\install\tmp\soa-infra-java.log
    * C:\Oracle\jdevinstance\system11.1.1.0.22.47.96\o.j2ee\embedded-oc4j\log\startsoa.log
    [echo] ==Stopping oc4j standalone...
    BUILD SUCCESSFUL
    Total time: 7 minutes 51 seconds

  • Avg. Total Runtime of the BW Queries.

    Hi,
    In the EWA report we have the following entry  : Avg. Total Runtime of the BW Queries.
    What is included in this average reponse time ?
    If users executes queries in dialog and backgroung modes, is the backgroung runtime inluded in the 'Avg. Total Runtime of the BW Queries/ ?
    Or it contains only the dialog response time ?
    Thank you for your help.
    Maniss

    Hi Chandran,
    Is there a way to separate the dialog resp time and the backgorund resp time ?
    in the EW report I didn't see anything regarding the backgroung resp time.
    Thanks,

  • Telent:could not open connection to the host on port 23 connect failed

    Hi,
    How to run commands of OEL5 host OS from windows XPP virtual machine(Vmware Player) on standalone desktop PC?
    While runing the telnet command on windows XPP virtual machine it's gives error
    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.
    C:\Documents and Settings\Administrator>cd\
    C:\>telnet 192.168.1.2
    Connecting To 192.168.1.2...Could not open connection to the host, on port 23: Connect failed
    C:\>
    Thanks
    Regard
    GSM

    user9230833 wrote:
    Launcher means shortcut to execute any file which is inside folder in Linux.Launcher are created on desktop to execute by one click of mouse.You need to create a command file that contains the required instructions to run putty with whatever relevant command line switches in order to start the remote program/process on Linux.
    For example, you have a trusted ssh connection (no password prompting) between your Windows account and the Linux vmware account. You need to execute command line +/home/vmware/bin/vmstart myVM+ on Linux.
    Your command file in Window will look something as follows:
    @echo off
    "c:\program files\putty\pssh.exe" vmware@my-linux-server "/home/vmware/bin/vmstart myVM"Once you've create this command file (.cmd file extention), you can create a desktop shortcut for it and assign an icon to it.
    However, first test the command file via an interactive console session to ensure it works. Also, I'm not sure you can script telnet using putty - but putty's ssh does support the standard ssh command line and one can execute programs/commands on the remote server in this fashion.
    Setting up trusted ssh connections is also important as passwords is a weak security mechanism. It requires a secret to be used and coded into scripts/software that needs to be authenticated.
    With ssh you generate a public/private key combination, and provide the public key as unique identifier for your o/s user and platform to a remote server (e.g. Linux). This now enables your platform and o/s user to be authenticated via the privatre/public key pair when your platform establishes a connection with the server.
    In putty, generate a ssh key (RSA). Copy and paste the public key into the Linux server account's "+home/vmware/.ssh/authorized_keys+" file. Make sure that the +.ssh+ directory and key have user read/write permissions only. And that's it - no password needed by your account to ssh into the Linux server account. No secrets that need to be kept secret (and that can be stolen and used from any other platform to gain access).

Maybe you are looking for

  • A few questions from a Mac newbie

    1. What kind of maintainence should I be doing on the mac? Do I need to defrag or run system cleaners (like ccleaner for windows)? 2. Will it eventually get messed up like Windows, or should be running as good as new years from now without reformatti

  • Create a spatial index on a large table

    Hi all I think that I might be starting to push XE beyond what it is capable of, but I thought I would ask here to see if anyone has some ideas how to get around my problem. I have a table with around 8,000,000 record in it. It has position data in i

  • Can't find songs after transferring to new computer

    I just moved my itunes library to a new computer and can't open any of my songs that were not purchased from the Itunes store.  How to I add them?

  • Adobe error - MS App-V application 0x80041001

    Greetings, When I open AReader X from the desktop icon, it opens no problem... BUT when I try to open a .pdf file I get the following error... Thanks for any help in fixing this error! k

  • Reinstalling Premier Elements 11

    Trying to make a clean reinstall of Premier Elements 11 and get the following error message: Exit Code: 24 Please see specific errors and warnings below for troubleshooting. For example,  ERROR: DW046 ... WARNING: DW016 ... --------------------------