Problem on Multi based queries

Hi,gurus,
   I have two DSO(BI 7.0), ZDSO1 and ZDSO2, in ZDSO1, there are three characteristics ZCH01, ZCH02, ZCH03 and one key figure ZKF01, the key is ZCH01, while in ZDSO2, there are three characteristics ZCH01, ZCH04, ZCH05 and one key figure ZKF02, the key also is ZCH01. I created a multiprovider with this two DSO, and I put all the characteristics and key figures in it.
  Now I create a query ZQ01 with ZCH01, ZCH02, ZCH03, ZCH04, ZCH05 in the row, and ZKF01 in the column, here is the problem, it displays two lines with every key:
  1001  A02 B03   #      #   100.00
  1001  #     #      C04  D05
It won't display as:
   1001 A02 B03 C04 D05 100.00
and I don't want use InfoSet to join this two DSO. How can I make it?
   Thanks a lot.

Infoset will solve this problem.However you dont want to use it.
Make a infocube with Ch1,....Ch5 , KF1 And KF2.
Use two transformation..one from DSO1 and other from DSO2.
Now, it will have one record for one key.
Based your query on this Cube now.
Thanks...
Shambhu

Similar Messages

  • The problem of function-based reuse

    I read the quoted text as follows from a book authored by a Microsoft developer. I googled and found a lots of quotes of it, but did not find any explanation.
    ============
    With languages like C, the basic unit of reuse is the function. The problem with function-based reuse is that the function is coupled to the data it manipulates. and if the data is global, a change to benefit one function in one reuse context damages another function used somewhere else.
    ============
    C uses libraries widely,which is of function-based reuse. Can anybody kindly give me a scenario when this problem happens?
    Java is typically object-based reuse, and I admit that my question is not a Java one. But I feel it would help to understand more about the concept or benefits of design of Java language. So, thank you to allow me to post this question here,
    Edited by: 799160 on Sep 30, 2010 12:38 PM
    Edited by: 799160 on Sep 30, 2010 12:57 PM

    This is what I got out of reading the quote you posted:
    I suppose something like the following could happen:
    You (being a general person) have been given a class to modify. You look at the code for the first time and it has a bunch of methods and some class variables in it. Some of the methods use the class variables. How can you be sure if you change the functionality to change a class variable in one method won't affect the other methods when they are used? This problem can be solved by learning what everything does, how it interacts and the correct way to use it. But then again, if you don't think about it and just make changes...Oops!
    Perhaps another abstract example would make sense:
    Imagine a calculator that could be used by 2 people at the same time? I bet it'd come up with some funny answers :)
    I wrote up a short example of this, hopefully it makes some sense:
    public class SuperBigProgram
         private int globalVar;
         public static void main ( String[] args )
              new SuperBigProgram();
         public SuperBigProgram()
              System.out.println("I'm a super big program.");
              globalVar = 0;
              //Let's pretend these series of events occur during the program:
              doItHighChanceActivity(); //1
              doItHighChanceActivity(); //2
              doItHighChanceActivity(); //3
              //Whoops super rare event occured!
              doesNotHappenALot();
              doItHighChanceActivity(); //4????    but is really 5.
          * This happens A LOT!
         private void doItHighChanceActivity ()
              superUtilityMethod();
              System.out.println("globalVar: " + globalVar);
          * This utility method does some awesome utility stuff for our Super Big Program.
          * This changes some global data.
         private void superUtilityMethod()
              globalVar++;
          * This does not happen a lot, if at all.
         private void doesNotHappenALot()
              //Hey I don't happen a lot but I'm reusing this really cool utility method that contains global data...
              //Code reuse for the win!
              superUtilityMethod();
    }Here is the output:
    I'm a super big program.
    globalVar: 1
    globalVar: 2
    globalVar: 3
    globalVar: 5
    Edited by: kilosi on Sep 30, 2010 1:22 PM

  • Problem with File Based replication in Weblogic Express 10

    Hi,
              We have Web application (exploded war) file deployed on Weblogic Express 10, to a Cluster of three Managed Servers (all three on different physical machines).
              We are using File based session persistance in weblogic.xml
              We have a shared location for all the three servers where we will be sharing the Session data.
              When we start the application, its works fine and is very fast, but after sometime the application slows down.
              Troubleshooting the Issue we found that its a problem with file based replication. By using File based replication every user session is stored in form of directory inside shared directory. So after sometime thousands of directories are created inside the shared directory where the session information is stored. So when we access the application, its waiting for lot of time with Message Session Monitor .... (this is because its browsing through the shared session storage directory for lot of time for session information as it has lot of directories) and finally after a long time like 10 mins we get the Application Home Page.
              When we clean up all the saved sessions inside shared directory, the application works fine, But we will see the same sometime later may be after 3 or 4 hours when the shared session directory has lot of session information stored in it.
              Is there a way to clean up the saved session information on file system as soon as that user session is closed by using file based replication.
              We cannot used Inmemory replication as our Appl doesnt support it.
              Please advice as it is a major show stopper in our Production Mirror env.
              Weblogic Consultant

    It is possible to reduce number of live session by configuring very low timeout-secs weblogic.xml. Default is 60 minutes.
              More details are here..
              http://e-docs.bea.com/wls/docs100/webapp/weblogic_xml.html#wp1071982
              Jayesh
              Yagna Sys

  • Problem Creating VirtualProviders Based on the DTP

    Problem Creating VirtualProviders Based on the Data Transfer Process .
    (1) I have created an Data Source(extract structure and extractor) on SYS1. Tested the extractor. It returns data as desired.
    (2) Then I replicated this Data Source to SYS2.
    (3) In SYS1 I created InfoCube(VirtualProvider based on data transfer process for direct access) .
    Till this point I have no issues .
    (4) But after that I am not able to "Create Data Transfer Process"  for this Virtual Infoprovider . When I try to create DTP the DTP type available for selection is "Scheduled" where as per the documentation I need to create DTP of DTP type "DTP for Direct Access".This DTP type I donot see.
    Is it a problem with the BW configuration or some user error.Any suggestions which may help would be realy appreciated.
    Thanks & Regards,
    priyadarshi

    Corrected some typo in my earlier update...
    Problem Creating VirtualProviders Based on the Data Transfer Process .
    (1) I have created an Data Source(extract structure and extractor) on SYS1. Tested the extractor. It returns data as desired.
    (2) Then I replicated this Data Source to SYS2.
    (3) In SYS2 I created InfoCube(VirtualProvider based on data transfer process for direct access) .
    Till this point I have no issues .
    (4) But after that I am not able to "Create Data Transfer Process" for this Virtual Infoprovider . When I try to create DTP the DTP type available for selection is "Standard(Scheduled)" where as per the documentation I need to create DTP of DTP type "DTP for Direct Access".This DTP type I donot see.
    Is it a problem with the BW configuration or some user error.Any suggestions which may help would be realy appreciated.
    Thanks & Regards,
    priyadarshi

  • Problem with replication based on materialized view

    Problem with replication based on materialized view...
    Given:
    1. Source: S-1
    2. Targets: T-1, T-2
    3. DB links: from T-1 to S-1, from T-2 to S-1
    Required replicate table TBL on S-1 to T-1, T-2 via db links.
    On S-1 was created materialized view log with PK on TBL. On T-1, T-2 were created mat.views as "on prebuilt table refresh fast on demand". In case of get "ORA-12034: materialized view log younger than last refresh" or initial load - perform complete refresh. Initial load on T-1 takes about 1 hour, on T-2 - about 12 hours. Refresh is executed via job with minutely interval. If refresh is running then it is not performed.
    Problem: after initial load on T-1 performs fast refresh, but on T-2 raised ORA-12034 and complete performs again.
    What's wrong?

    34MCA2K2, Google lover?
    I confess perhaps I gave a little info.
    View log was created before MV.
    It was the first initial load.
    No refresh failed.
    No DDL.
    No purge log.
    Not warehouse.
    There is no such behavior for MVs on another sites.
    P.S. I ask help someone who knows what's wrong or who faced with it or can me  follow by usefull link.
    P.P.S. It's a pity that there is no button "Useless answer"

  • Problem in form based authentication

    Hi,
    I am encountering some problem in form based authentication.
    When I try to login for the first time. It reoute me to the image
    directory and not to the request page.
    When I try it for the second time, it shows
    "Form based authentication failed. Could not find session."
    And it always show this message no matter how many time I try.
    I am not sure is it something that I did not set ...
    Thanks for any advice.
    Eric

    Hi Eric,
    It may be a problem in your web.xml, I missed the "/" slash character
    in the web.xml's in <form-login-page> element. So your web.xml
    must look like

  • SQLCMD throwing error with multi-line queries

    I get the error "Unclosed quotation mark after the character string..." when I pass multi-line queries to SQLCMD via a SQL Agent Job.  For example, the following command fails:
    SQLCMD -E -S MyServerName -Q "PRINT 'Hello';
    PRINT 'World';" -b
    SQLCMD seems to be only processing the first line, ignoring that there is more to the query.  The actual error in this case is:
    Msg 105, Level 15, State 1, Server MyServerName, Line 1
    Unclosed quotation mark after the character string 'PRINT 'Hello';\n '.
    Msg 102, Level 15, State 1, Server MyServerName, Line 1
    Incorrect syntax near 'PRINT 'HELLO';\n'.
    Where "\n" is actually an unprintable character for the line terminator.
    What am I doing something wrong for passing multi-line statements to SQLCMD?

    Hi Brandon,
    You can use sqlcmd to run a Transact-SQL script file. A Transact-SQL script file is a text file that can contain a combination of Transact-SQL statements, sqlcmd commands, and scripting variables.
    To create a simple Transact-SQL script file by using Notepad and save the file as myScript.sql in the C drive.
    To run the script file
    1. Open a command prompt window.
    2. In the Command Prompt window, type: sqlcmd -S myServer\instanceName -i C:\myScript.sql
    3. Press ENTER.
    TechNet
    Subscriber Support
    If you are TechNet Subscription user and have any feedback on our support quality, please send
    your feedback here.
    Thanks,
    Maggie
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. This can be beneficial to other community members reading the thread.

  • Problem with multi-mapping

    Hello everybody,
    we got a problem with multi-mapping.
    Source and target message-type are the same:
    <xsd:element name="MY_MESSAGE_TYPE">
    _<xsd:element name="BUSTRANS">
    __<xsd:element name="CHILD_1" maxOccurs="unbounded">
    ___<xsd:element name="SUB_CHILD_1" maxOccurs="unbounded">
    ____<xsd:element name="SUB_CHILD_1_NAME" type="xsd:string">
    __<xsd:element name="CHILD_2" maxOccurs="unbounded">
    ___<xsd:element name="SUB_CHILD_2" maxOccurs="unbounded">
    ____<xsd:element name="SUB_CHILD_2_NAME" type="xsd:string">
    The requirements are:
    <xsd:element name="MY_MESSAGE_TYPE"> should be created as often as <xsd:element name="CHILD_2"..> occurs
    a) so we mapped
    CHILD_2 -> MY_MESSAGE_TYPE
    BUSTRANS -> CopyValue -> BUSTRANS
    CHILD_1  -> CopyValue -> CHILD_1
    SUB_CHILD_1 -> CopyValue -> SUB_CHILD_1
    SUB_CHILD_1_NAME -> CopyValue -> SUB_CHILD_1_NAME
    CHILD_2 -> splitByValue(eachValue) -> CHILD_2
    The problem is:
    If we duplicated
    a) SUB_CHILD_1
    b) subtree CHILD_2 (so 2 messages will be generated)
    for testing, SUB_CHILD_1 only occurs 1 time! But we need it in every target message as often as it occurs in the source message.
    For your testing, here is the datatype:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://enbw.com/XI/SAPCRMB2B/javamappings_test" targetNamespace="http://mynamespace.com/XI/SAPCRMB2B/javamappings_test">
    <xsd:complexType name="MultipleBookingOrderRequest">
    <xsd:sequence>
      <xsd:element name="BUSTRANS">
       <xsd:complexType>
        <xsd:sequence>
         <xsd:element name="CHILD_1" maxOccurs="unbounded">
          <xsd:complexType>
           <xsd:sequence>
            <xsd:element name="SUB_CHILD_1" maxOccurs="unbounded">
             <xsd:complexType>
              <xsd:sequence>
               <xsd:element name="SUB_CHILD_1_NAME" type="xsd:string">
               </xsd:element>
              </xsd:sequence>
             </xsd:complexType>
            </xsd:element>
           </xsd:sequence>
          </xsd:complexType>
         </xsd:element>
         <xsd:element name="CHILD_2" maxOccurs="unbounded">
          <xsd:complexType>
           <xsd:sequence>
            <xsd:element name="SUB_CHILD_2" maxOccurs="unbounded">
             <xsd:complexType>
              <xsd:sequence>
               <xsd:element name="SUB_CHILD_2_NAME" type="xsd:string">
               </xsd:element>
              </xsd:sequence>
             </xsd:complexType>
            </xsd:element>
           </xsd:sequence>
          </xsd:complexType>
         </xsd:element>
        </xsd:sequence>
       </xsd:complexType>
      </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:schema>
    Regards
    Dominic

    Mario,
    <i>multimapping (split IDOC into several IDocs) is possible with IDocs. We did it!</i>
    Did you use IDOC packaging for this?
    AFAIK,when  you use multimapping that involves different adapters including one J2EE adapter and a IDOC adapter in the inbound side, multi mapping does not work.
    Regards,
    Bhavesh

  • Problems using multi-lexer in 8.1.7

    Hello,
    Have a UTF8 database and have created a
    table to hold multi-language data.
    Created an intermedia index using multi-lexer . Have problems quering data out of the table ; specifically the last 2 queries.
    Any ideas?
    SQL> exec ctxsys.ctx_ddl.create_preference('aenglish_lexer','basic_lexer');
    PL/SQL procedure successfully completed.
    SQL> exec ctxsys.ctx_ddl.set_attribute('aenglish_lexer','index_themes','YES');
    PL/SQL procedure successfully completed.
    SQL> exec ctxsys.ctx_ddl.set_attribute('aenglish_lexer','theme_language','english');
    PL/SQL procedure successfully completed.
    SQL> exec ctxsys.ctx_ddl.set_attribute('aenglish_lexer','mixed_case','YES');
    PL/SQL procedure successfully completed.
    SQL> exec ctxsys.ctx_ddl.create_preference('agerman_lexer','basic_lexer');
    PL/SQL procedure successfully completed.
    SQL> exec ctxsys.ctx_ddl.set_attribute('agerman_lexer','mixed_case','YES');
    PL/SQL procedure successfully completed.
    SQL> exec ctxsys.ctx_ddl.create_preference('afrench_lexer','basic_lexer');
    PL/SQL procedure successfully completed.
    SQL> exec ctxsys.ctx_ddl.set_attribute('afrench_lexer','mixed_case','YES');
    PL/SQL procedure successfully completed.
    SQL> execute ctx_ddl.create_preference('aglobal_lexer','MULTI_LEXER');
    PL/SQL procedure successfully completed.
    SQL>
    SQL> begin
    2 ctx_ddl.add_sub_lexer('aglobal_lexer', 'default','aenglish_lexer');
    3 ctx_ddl.add_sub_lexer('aglobal_lexer', 'german', 'agerman_lexer','ger');
    4 ctx_ddl.add_sub_lexer('aglobal_lexer', 'french', 'afrench_lexer','frn');
    5 end;
    6 /
    PL/SQL procedure successfully completed.
    SQL> create table adam (
    2 doc_id number primary key,
    3 lang varchar2(10),
    4 text varchar2(100)
    5 );
    Table created.
    SQL>
    SQL>
    SQL> insert into adam values (1, 'german', 'Ich ging Berlim. ');
    1 row created.
    SQL> insert into adam values (2, 'french', 'Je suis alli a Paris. ');
    1 row created.
    SQL> insert into adam values (3, 'english', 'I went to London. ');
    1 row created.
    SQL> commit;
    Commit complete.
    SQL> create index globalx on adam(text)
    2 indextype is ctxsys.context
    3 parameters ('lexer aglobal_lexer
    4 language column LANG'
    5 );
    Index created.
    SQL> col text format A50
    SQL> --
    SQL> -- QUERIES :
    SQL> --
    SQL> -- These are the following 3 rows in the table :
    SQL> -- (1, 'german', 'Ich ging Berlim. ')
    SQL> -- (2, 'french', 'Je suis alli a Paris. ')
    SQL> -- (3, 'english', 'I went to London. ')
    SQL> --
    SQL> alter session set nls_language=AMERICAN;
    Session altered.
    SQL> alter session set nls_territory=AMERICA;
    Session altered.
    SQL> select doc_id, text from adam
    2 where contains(text, 'London') > 0;
    DOC_ID TEXT
    3 I went to London.
    SQL> --
    SQL> -- SHOULD NOT return French data!
    SQL> --
    SQL> select doc_id, text from adam
    2 where contains(text, 'alli') > 0;
    DOC_ID TEXT
    2 Je suis alli a Paris.
    SQL> alter session set nls_language=GERMAN;
    Session altered.
    SQL> alter session set nls_territory=GERMANY;
    Session altered.
    SQL> --
    SQL> -- SHOULD NOT return ENGLISH data! Also does not return valid GERMAN data
    SQL> --
    SQL> select doc_id, text from adam
    2 where contains(text, 'I') > 0;
    DOC_ID TEXT
    3 I went to London.
    null

    First of all in your aenglish_lexer, index_themes should be 'false'.
    The attribute 'alternate_spelling' for German should help. Please read the documentation for examples.

  • Problem with ratings-based smart playlists in iOS5.

    I use ratings-based smart playlists to organize my music.  For example, a typical smart playlist will include all songs from a given genre rated 3 stars or better.  Playlists work perfectly on PC/iTunes and iPad (and used to work perfectly on iPhone/iPod before iOS5), but on iPhone 4S (iOS5) and iPod touch (iOS5), only the lowest-rated songs show up; higher rated songs omitted from the smart playlist.  However, I also always have a playlist that has the higher ratings.  So the songs are on the iPhone/iPod, but just not in all the correct playlists.  Anyone have help for me?  Thanks.

    I'm having the same problem-- my "Smart Playlists" don't seem to update. I created a new smart playlist with a single artist, and nothing comes into it-- so if I make one just for artist=devo, for example, no tracks come through despite their being hundreds.
    I also employ smart playlists on my podcasts-- so when plays=1, it disappears from the list. These are not updating, despite my making no changes to them other than upgrading to iTunes 10.
    My "recently played" list DOES seem to be updating, and I don't understand why I'm seeing this despite making no changes.

  • Problem opening Form based PDF via Safari browser with Adobe Reader 9.3 on MAC

    Hi,
    I'm mentioning below the problem that we are facing when we open a form based PDF created using a licensed version of Adobe Livecycle Designer ES (Version 8.2.1.4029.1.523496) on a MAC machine through a Safari Browser.
    We tested this PDF form on a windows machine and the PDF opens in an IE browser via the latest Adobe reader 9.3 without any problem. I then received complaints by our clients that they were unable to open the same PDF on their Safari browser on a MAC machine, I tried to resolve the problem by downloading the latest version of Adobe Reader 9.3 for MAC but noticed that the Safari browser window would just keep refreshing the page without displaying the PDF at all. I then uninstalled the Adobe Reader 9.3 version and downloaded and installed an older version i.e., Abobe Reader 8.2 version for MAC and noticed that the PDF document successfully opened in the Safari browser. My question is why does a form based PDF work with an older version of Adobe Reader for MAC and not with the latest version? Our clients are not comfortable with the fact that we are refraining them from upgrading to the latest version of Adobe Reader for MAC and that they would have to downgrade their existing Adobe Reader 9.3 to a lower version Adobe Reader 8.2 in order for the PDF forms to work when it should be the other way around.
    Is there any fix or a patch that is currently being worked on that would resolve this issue in the latest Adobe Reader for MAC? If yes then when would it be ready? This issue is quite critical for our business and would appreciate it if this would be looked into with high priority.
    Thanks and Regards,
    Sheikh Huraiz Ahmed.

    That suggestion makes sense and likely works, but only if the user is on a machine that will allow them to use Reader. I'm sending this out to a lot of teachers, who are using machines either at school, or are school-issued machines, and they don't have the admin privileges to install software-- even Reader.
    so my problem is, if they are stuck on a machine without Reader, and without the possibility of having Reader... it's just not going to work because Preview can't handle these functions.
    And, since that is not an acceptable answer with what I'm trying to do... I will find another way to create/submit forms. I think there are some online possibilities I will have to make work.
    very, very disappointing and frustrating.
    Kristi

  • Problem using file based JNDI with JMS Bridge, WL 6.1sp3

              I am trying to connect an MQ queue to a Weblogic JMS queue using the JMS bridge,
              WLS6.1sp3. I have the CR081404_61sp3.jar and CR081511_61sp3.jar patches.
              I am having trouble getting the bridge to look up the MQ queue in the file based
              JNDI. According to the log it is trying to use a weblogic.jndi.WLInitialContextFactory
              instead of a com.sun.jndi.fscontext.RefFSContextFactory, which is what it is configured
              to use. I am getting the following error:
              <Sep 29, 2002 12:16:22 PM EDT> <Info> <MessagingBridge> <Bridge "Provd Messaging
              Bridge" is getting the connections to the two adapters.>
              <Sep 29, 2002 12:16:22 PM EDT> <Debug> <MessagingBridge> <Messaging Bridge Debugging
              RUNTIME! Bridge Provd Messaging Bridge In getConnections: isStopped = false>
              <Sep 29, 2002 12:16:22 PM EDT> <Debug> <MessagingBridge> <Messaging Bridge Debugging
              RUNTIME! Bridge Provd Messaging Bridge Getting source connection: sourceConnSpec
              = weblogic.jms.adapter.JMSConnectionSpec@27166f>
              <Sep 29, 2002 12:16:22 PM EDT> <Info> <Connector> <Unable to locate context: java:/comp/env/wls-connector-resref>
              <Sep 29, 2002 12:16:22 PM EDT> <Info> <Connector> <Unable to determine Resource
              Principal for Container Managed Security Context.>
              <Sep 29, 2002 12:16:22 PM EDT> <Info> <Connector> <Unable to locate context: java:/comp/env/wls-connector-resref>
              <Sep 29, 2002 12:16:22 PM EDT> <Info> <Connector> <Unable to determine Resource
              Principal for Container Managed Security Context.>
              <Sep 29, 2002 12:16:22 PM EDT> <Warning> <Connector> << Weblogic Messaging Bridge
              Adapter (XA) > ResourceAllocationException of javax.resource.ResourceException:
              ConnectionFactory: failed to get initial context (InitialContextFactory =weblogic.jndi.WLInitialContextFactory,
              url = file:/opt/mqm/java/mq-jndi, user name = guest, password = guest on createManagedConnection.>
              <Sep 29, 2002 12:16:22 PM EDT> <Error> <Connector> <Error granting connection
              request.>
              <Sep 29, 2002 12:16:22 PM EDT> <Info> <MessagingBridge> <Bridge "Provd Messaging
              Bridge" failed to connect to the source destination and will try again in 25 seconds.
              (javax.resource.spi.ResourceAllocationException: CreateManagedConnection Error:
              ConnectionFactory: failed to get initial context (InitialContextFactory =weblogic.jndi.WLInitialContextFactory,
              url = file:/opt/mqm/java/mq-jndi, user name = guest, password = guest)>
              <
              The configuration of the bridge, printed out in the log, is:
              <Sep 29, 2002 12:16:00 PM EDT> <Debug> <MessagingBridge> <Messaging Bridge Debugging
              STARTUP! Bridge Provd Messaging Bridge's source properties are:
              AdapterJNDIName=eis.jms.WLSConnectionFactoryJNDIXA
              Classpath=null
              ConnectionFactoryJNDIName = PMS.mqQcf
              ConnectionURL = file:/opt/mqm/java/mq-jndi
              InitialConnectionFactory = com.sun.jndi.fscontext.RefFSContextFactory
              DestinationType = Queue
              DestinationJNDIName = PMS.mqProvdRequest>
              <Sep 29, 2002 12:16:00 PM EDT> <Debug> <MessagingBridge> <Messaging Bridge Debugging
              STARTUP! Bridge Provd Messaging Bridge's target properties are:
              AdapterJNDIName=eis.jms.WLSConnectionFactoryJNDIXA
              Classpath=null
              DestinationType = Queue>
              Am I correct in assuming it should be using the fscontext connection factory?
              Why is it using the weblogic one?
              Jason
              

    CR081511_61sp3.jar patch should fix the problem. Make sure that the
              jar file is picked up. It should be put before other weblogic jar files.
              You should be able to tell if it is picked up by looking at the first
              couple of lines of your server log file.
              Dongbo
              Jason Kriese wrote:
              >
              > I am trying to connect an MQ queue to a Weblogic JMS queue using the JMS bridge,
              > WLS6.1sp3. I have the CR081404_61sp3.jar and CR081511_61sp3.jar patches.
              >
              > I am having trouble getting the bridge to look up the MQ queue in the file based
              > JNDI. According to the log it is trying to use a weblogic.jndi.WLInitialContextFactory
              > instead of a com.sun.jndi.fscontext.RefFSContextFactory, which is what it is configured
              > to use. I am getting the following error:
              >
              > <Sep 29, 2002 12:16:22 PM EDT> <Info> <MessagingBridge> <Bridge "Provd Messaging
              > Bridge" is getting the connections to the two adapters.>
              > <Sep 29, 2002 12:16:22 PM EDT> <Debug> <MessagingBridge> <Messaging Bridge Debugging
              > RUNTIME! Bridge Provd Messaging Bridge In getConnections: isStopped = false>
              > <Sep 29, 2002 12:16:22 PM EDT> <Debug> <MessagingBridge> <Messaging Bridge Debugging
              > RUNTIME! Bridge Provd Messaging Bridge Getting source connection: sourceConnSpec
              > = weblogic.jms.adapter.JMSConnectionSpec@27166f>
              > <Sep 29, 2002 12:16:22 PM EDT> <Info> <Connector> <Unable to locate context: java:/comp/env/wls-connector-resref>
              >
              > <Sep 29, 2002 12:16:22 PM EDT> <Info> <Connector> <Unable to determine Resource
              > Principal for Container Managed Security Context.>
              > <Sep 29, 2002 12:16:22 PM EDT> <Info> <Connector> <Unable to locate context: java:/comp/env/wls-connector-resref>
              >
              > <Sep 29, 2002 12:16:22 PM EDT> <Info> <Connector> <Unable to determine Resource
              > Principal for Container Managed Security Context.>
              > <Sep 29, 2002 12:16:22 PM EDT> <Warning> <Connector> << Weblogic Messaging Bridge
              > Adapter (XA) > ResourceAllocationException of javax.resource.ResourceException:
              > ConnectionFactory: failed to get initial context (InitialContextFactory =weblogic.jndi.WLInitialContextFactory,
              > url = file:/opt/mqm/java/mq-jndi, user name = guest, password = guest on createManagedConnection.>
              >
              > <Sep 29, 2002 12:16:22 PM EDT> <Error> <Connector> <Error granting connection
              > request.>
              > <Sep 29, 2002 12:16:22 PM EDT> <Info> <MessagingBridge> <Bridge "Provd Messaging
              > Bridge" failed to connect to the source destination and will try again in 25 seconds.
              > (javax.resource.spi.ResourceAllocationException: CreateManagedConnection Error:
              > ConnectionFactory: failed to get initial context (InitialContextFactory =weblogic.jndi.WLInitialContextFactory,
              > url = file:/opt/mqm/java/mq-jndi, user name = guest, password = guest)>
              > <
              >
              > The configuration of the bridge, printed out in the log, is:
              >
              > <Sep 29, 2002 12:16:00 PM EDT> <Debug> <MessagingBridge> <Messaging Bridge Debugging
              > STARTUP! Bridge Provd Messaging Bridge's source properties are:
              > AdapterJNDIName=eis.jms.WLSConnectionFactoryJNDIXA
              > Classpath=null
              > ConnectionFactoryJNDIName = PMS.mqQcf
              > ConnectionURL = file:/opt/mqm/java/mq-jndi
              > InitialConnectionFactory = com.sun.jndi.fscontext.RefFSContextFactory
              > DestinationType = Queue
              > DestinationJNDIName = PMS.mqProvdRequest>
              > <Sep 29, 2002 12:16:00 PM EDT> <Debug> <MessagingBridge> <Messaging Bridge Debugging
              > STARTUP! Bridge Provd Messaging Bridge's target properties are:
              > AdapterJNDIName=eis.jms.WLSConnectionFactoryJNDIXA
              > Classpath=null
              > DestinationType = Queue>
              >
              > Am I correct in assuming it should be using the fscontext connection factory?
              > Why is it using the weblogic one?
              >
              > Jason
              

  • Problem in multi master replication creation using DBA Studio -- replication

    Hi,
    I am trying to create multi master replication using DBA studio but facing following problem at the time of master group creation.
    ORA-04052 error occured when looking up remote object SYS.SYS@CBOLDATA
    ORA-00604 error occured at recursive SQL level 2
    ORA-01017 invalid username/password, logon denied
    ORA-02063 preceding line from CBOLDATA
    If you want to know how I am trying the whole thing then here is the way I am doing comfiguration.
    First I have created master site which is created successfully.
    Here I have used two database named UPP817 & CBOLDATA
    Step of master site creation is followed like this.
    1. Master Site addition (Added both UPP817 & CBOLDATA using SYSTEM username)
    2. Default User (No change is done, Default schema and password taken)
    3. Master Site Schema (Added SCOTT/tiger)
    4. Scheduled Link (No change is done, Default values taken)
    5. Purge (No change is done, Default values taken)
    6. Finished successfully
    Master group creation there is three option available
    1. General (Only value of Name is given)
    2. Object (No object added)
    3. Master Sites (It takes UPP817 by default as a master defination site then as a Master Site I have added CBOLDATA)
    when I pressed on Create It gives me the error listed above.
    I really appreceate your help
    Mukesh

    Create public database link at master site database for CBOLDATA.
    Also see that you are using SNMP protocol and Oracle Pipe at both
    databases. This will be usefull while making replication from remote
    place.
    I hope this will work.
    regards
    Avinash Jadhav

  • Problem with Multi File upload example, help needed

    I got the code from the following location.....
    http://www.adobe.com/devnet/coldfusion/articles/multifile_upload.html
    And I've got it to work to some degree except I cant get the file transfer to work when pressing, Upload.   Below is what my debugger outputs.  Any thoughts on how to fix this or even what it means?
    At the very bottom of this message is the upload.cfm code.......
    Thanks in advance for the help
    <html>
    <head>
      <title>Products - Error</title>
    </head>
    <body>
    <h2>Sorry</h2>
    <p>An error occurred when you requested this page.
    Please email the Webmaster to report this error.
    We will work to correct the problem and apologize
    for the inconvenience.</p>
    <table border=1>
    <tr><td><b>Error Information</b> <br>
      Date and time: 12/07/09 22:25:51 <br>
      Page:  <br>
      Remote Address: 67.170.79.241 <br>
      HTTP Referer: <br>
      Details: ColdFusion cannot determine how to process the tag &lt;CFDOCUMENT&gt;. The tag name may be misspelled.<p>If you are using tags whose names begin with CF but are not ColdFusion tags you should contact Allaire Support. <p>The error occurred while processing an element with a general identifier of (CFDOCUMENT), occupying document position (41:4) to (41:70).<p>The specific sequence of files included or processed is:<code><br><strong>D:\hshome\edejham7\edeweb.com\MultiFileUpload\upload.cfm      </strong></code><br>
      <br>
    </td></tr></table>
    </body>
    </html>
    <!---
    Flex Multi-File Upload Server Side File Handler
    This file is where the upload action from the Flex Multi-File Upload UI points.
    This is the handler the server side half of the upload process.
    --->
    <cftry>
    <!---
    Because flash uploads all files with a binary mime type ("application/ocet-stream") we cannot set cffile to accept specfic mime types.
    The workaround is to check the file type after it arrives on the server and if it is non desireable delete it.
    --->
        <cffile action="upload"
                filefield="filedata"
                destination="#ExpandPath('\')#MultiFileUpload\uploadedfiles\"
                nameconflict="makeunique"
                accept="application/octet-stream"/>
            <!--- Begin checking the file extension of uploaded files --->
            <cfset acceptedFileExtensions = "jpg,jpeg,gif,png,pdf,flv,txt,doc,rtf"/>
            <cfset filecheck = listFindNoCase(acceptedFileExtensions,File.ServerFileExt)/>
    <!---
    If the variable filecheck equals false delete the uploaded file immediatley as it does not match the desired file types
    --->
            <cfif filecheck eq false>
                <cffile action="delete" file="#ExpandPath('\')#MultiFileUpload\uploadedfiles\#File.ServerFile#"/>
            </cfif>
    <!---
    Should any error occur output a pdf with all the details.
    It is difficult to debug an error from this file because no debug information is
    diplayed on page as its called from within the Flash UI.  If your files are not uploading check
    to see if an errordebug.pdf has been generated.
    --->
            <cfcatch type="any">
                <cfdocument format="PDF" overwrite="yes" filename="errordebug.pdf">
                    <cfdump var="#cfcatch#"/>
                </cfdocument>
            </cfcatch>
    </cftry>

    Just 2 things in my test:
    1) I use no accept attribute. Coldfusion is then free to upload any extenstion.
    Restricting the type to application/octet-stream may generate errors. Also, it is unnecessary, because we perform a type check anyway.
    2) I have used #ExpandPath('.')#\ in place of #ExpandPath('\')#
    <cfif isdefined("form.filedata")>
    <cftry>
    <cffile action="upload"
                filefield="filedata"
                destination="#expandPath('.')#\MultiFileUpload\uploadedfiles\"
                nameconflict="makeunique">
            <!--- Begin checking the file extension of uploaded files --->
            <cfset acceptedFileExtensions = "jpg,jpeg,gif,png,pdf,flv,txt,doc,rtf"/>
            <cfset filecheck = listFindNoCase(acceptedFileExtensions,File.ServerFileExt)/>
    <!---
    If the variable filecheck equals false delete the uploaded file immediatley as it does not match the desired file types
    --->
            <cfif filecheck eq false>
                <cffile action="delete" file="#ExpandPath('.')#\MultiFileUpload\uploadedfiles\#File.ServerFile#"/>
                <cfoutput>Uploaded file deleted -- unacceptable extension (#ucase(File.ServerFileExt)#)</cfoutput>.<br>
            </cfif>
    Upload process done!
            <cfcatch type="any">
                There was an error!
                <cfdocument format="PDF" overwrite="yes" filename="errordebug.pdf">
                    <cfdump var="#cfcatch#"/>
                </cfdocument>
            </cfcatch>
    </cftry>
    <cfelse>
    <form method="post" action=<cfoutput>#cgi.script_name#</cfoutput>
            name="uploadForm" enctype="multipart/form-data">
            <input name="filedata" type="file">
            <br>
            <input name="submit" type="submit" value="Upload File">
        </form>
    </cfif>

  • Problem in block based Query

    Respected Guru's
    I have a problem eith block bassed query.i have already used this block based query and it is working too.
    But here i am facing the the problem.why becuz i have used a global variable to pass value for execute it.
    and used 'set_block_property' to execute this query ..
    go_block('block name ')
    execute_query;
    But it si showing unable to perform the query..
    How i do this?? plez help me out...

    Dear...........
    There are some possible reasons.
    1- The items that are in data block , there is some field data is not database field and you set the property of this item is
    "Data Base Item" = 'Yes' , means this field is not in table.
    2- user right problem
    3- see the block property where set the property QUERY = NO\
    THX.

Maybe you are looking for

  • How can I remove the applications from the Content Administrator

    I had undeployed the applications from Content Administrator in two ways: A: 1. Start the tool using the go.bat located in \usr\sap\<SID>\<Instance Name>\j2ee\admin folder 2. Log in with an Administrator user. 3. Under the Server node click Services-

  • Urget problem in sales order

    Hi All While i am saving sales order i got a error , no legal regulation is active.but i am try to save the doc it ill be save and after raising the delivery doc system troughs a error   create delivery not allowed (sys status EXLS object VB000000836

  • Itunes account canceled by Itunes

    Account was cancelled by itunes due to fruadulent use. Need to find out how to transfer purchases to my new itunes account

  • Account on the fritz again... again.

    LOL didn't even have to type it all back in...

  • 5200 T128 drivers won't install in XP

    Just purchased a GeForce FX5200 T-128 and installed the driver from the accompanying CD. Then prompted to restart system which I did. Upon starting, I realised that the driver hasn't been installed yet as it still prompts me that the system has detec