Replicating Datasources Problem

All,
   When I try replicating the datasources from ECC, after replication, the data sources in 7.0 show that M is not equal to A version. This is happening in case of all the Datasources. What is the problem? How to I make in M = A

Hi,
Before going for data source replication in bi side. check weather that data source is active in r/3 side and also do the transfer datasoure in r/3 side.
first install that data source from BI content. then do transfer from r/3 side. finally replicate that DS in bi. check with it.
Regards
Harikrishna N

Similar Messages

  • DataSource problems after BW upgrade

    DataSource problems after BW upgrade
    Upgrade from
    SAP NetWeaver 2004s: SAP_BW 700 0012 SAPKW70012
    to
    SAP EHP 1 for SAP NetWeaver 7.0: SAP_BW 701 0007 SAPKW70107
    BW system: PI_BASIS 7.01 SP 6
    ECC/source system: PI_BASIS 2005_1_700 SP 11
    Problem exists throughout, both with generic and standard DataSources.
    Here is one specific example:
    Generic DataSource ZXXXXXXXX
    InfoPackage "ZXXXXXXXX(ZXXXXXXXX)" does not run. Error:
    DataSource ZXXXXXXXX(SOURCESYS) must be activated
    Message no. RSDS179
    Then followed these steps:
    1. Replicate Metadata from source system
    2. Report RSDS_DATASOURCE_ACTIVATE_ALL from SE38 for source system SOURCESYS and DataSource ZXXXXXXXX
    Errors returned:
    Inconsistent user object ZXXXXXXXX SOURCESYS for PSA /BIC/B000XXXX
    Error saving DataSource ZXXXXXXXX SOURCESYS
    DataSource ZXXXXXXXX (SOURCESYS) could not be activated
    When I try to choose "Manage" from the context menu for the DataSource, I see an error:
    Invalid DataStore object name /BIC/B000XXXX: Reason: No valid entry in table RSTS
    Message no. RSM1294
    The following notes have not helped:
    https://service.sap.com/sap/support/notes/1377274
    https://service.sap.com/sap/support/notes/1383711
    https://service.sap.com/sap/support/notes/1489064
    https://service.sap.com/sap/support/notes/1056060
    And no other SDN threads seem to give fruitful suggestions.
    Any ideas?

    Hi,
    Just to help the folks out here.
    In my case,
    Inspite of going through several valid NOTES & program, my issue didnt resolve (you reply was pretty accurate - but dint help me :-)).
    I have resolved the issue by adjusting the PSA table for the same.
    Procedure:
    Take the psa name  --> go to table rstsods --> find the ODSNAME_TECH name for the relevant psa  --> se38 t.code --> enter ODSNAME_TECH and click on 'adjust & activate database table' (make sure you have selected 'save data' radio button.
    Just in case anyone who come across this problem, can do the above steps.
    Regards,
    Dubbu.

  • What will Happen in R3 side while Replicating Datasource

    Hi Friends,
    what will happen in R3 side and BW side while replicating datasource in BW side
    Thanks & Regards,
    Gowri

    Hi Gowri,
    Replication needs to be done only when you change the extract structure which in turn would change your datasource. The simplest way to know when replication needs to be done is each time you save you datasource in R/3. This causes the timestamp of the datasource to be changed and hence the timestamp of the datasource in R/3 and BW are not in sync. Replication would make the timestamp in sync in both R/3 and BW.
    Hence you would notice the error "Timestamp error" when you do not replicate the datasource after changing it.
    Also check this link:
    Re: time stamp
    Bye
    Dinesh

  • Replicated datasources transportation

    i have created TR for  all the datasources (3 generic and 1std(3.5)) in ecc DEV.I ahve also created TR for replicated datasources for the above in BWDev.
    so, once the ECC DEV to ECCQA moves , DO I NEED TO REPLICATE THE DATA SOURCES AS I  HAVE GOT REPLICATED DATAOUSRCES   IN BWD ev?
    2. what would happen if i manually replicate the datas soruces in BWQA, then transport replicated datasources from BWD evto BWQA
    3.  if i need not activate manually the  datasoruce in ECCQA, then  i should wait for the replicated datasources to reach BWQA, and then only transport other request?
    4. how to transport  ONLY PSA? what are the necessary steps to be taken?

    Hello,
    There is no harm in replicating the datasource in BI QA box...once you replicate them to get them activated you can send the transport request...
    ARE u saying that after manually replicating in BIQA, the replicated datasources request from BIDEV to BIQA would activate the dataosources in BIQA?
    Even if you dont replicate and send the replicated request it will do.
    What i understand is that i can simply transport the ECC request to ECCQA , then just transport the replicated datasources from BIDEV t BIQA for replicating the datasources and then after this all the other BI requests should be imported?
    my concern is that if i manually replicate the datasources in BIQ, then start importing all the BI request and  i ahve got first 3 replicated datasources followed by other requests. so ,after the manual activation, once these replicated datasources moves, should i wait for reactivation  of all the datasources and only then transport request of the  transports?

  • Error while Replicating Datasource from R/3

    In R/3 extraction, after activating the datasource in R/3 and replicating the datasource in BI, I received an error saying that 'SQL error occured when accessing a table' with Message no. RSAR051... Help me in this.

    I checked in ST22. But there is no problem in it. Pls give me the solution..

  • RDA Datasource problem

    THis is my first attempt at an RDA Extractor.   THe problem I am getting is that the daemon job is failing with the message in the job log, "Error during extraction: 0 rowa in l_t_tid, 0 rows in l_t_data - Message RSCRT 360.
    Here's how I got to this point:
    1) Wrote an ABAP in ECC to set the REALTIME to 'X' for this CO-PA datasource (<- Not sure this is even possible for a CO-PA extractor)
    2) Replicated the DS into BI 7
    3) Created a transformation and DTP.
    4) Created an infopack to initialize deltas and ran it (Successfully)
    5) Created an RDA enabled infopack and assigned a daemon to it.

    Never could get it to work

  • External datasource problem(tns error)

    hi,
    i got and error while working with external datasource in BAM architect, how to fix it? Moreover i got tns error when i use tnsping utility for my XE db from command prompt
    ======================================
    C:\Documents and Settings\rehanfa>tnsping xe
    TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 06-JUN-2
    008 15:26:18
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    Used parameter files:
    C:\OracleBAM\ClientForBAM\network\admin\sqlnet.ora
    TNS-03505: Failed to resolve name
    ======================================
    and BAM archtect error while viewing contents of data model based on this external datasource
    ========================================
    ADC Server exception in OpenViewset().
    Details <<
    ADC Server exception in OpenViewset().
    Source: "ActiveDataCache" ID: "ADCServerException"
    ERROR [08001] [Microsoft][ODBC driver for Oracle][Oracle]ORA-12154: TNS:could not resolve the connect identifier specified ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed ERROR [01000] [Microsoft][ODBC Driver Manager] The driver doesn't support the version of ODBC behavior that the application requested (see SQLSetEnvAttr).
    Source: ""
    Internal debugging information >>
    Oracle.BAM.ActiveDataCache.Common.Exceptions.CacheException: ADC Server exception in OpenViewset(). ---> System.Data.Odbc.OdbcException: ERROR [08001] [Microsoft][ODBC driver for Oracle][Oracle]ORA-12154: TNS:could not resolve the connect identifier specified
    ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed
    ERROR [01000] [Microsoft][ODBC Driver Manager] The driver doesn't support the version of ODBC behavior that the application requested (see SQLSetEnvAttr).
    at System.Data.Odbc.OdbcConnection.Open()
    at Oracle.BAM.ActiveDataCache.ExternalDataSources.ODBC.Open(String strXml)
    at Oracle.BAM.ActiveDataCache.Kernel.Datasets.ExternalStorageEngine.GetDataReader(DSEQuery oDseQuery)
    at Oracle.BAM.ActiveDataCache.Kernel.Viewsets.Utilities.ExternalData.DataImporter.ExecuteQuery()
    at Oracle.BAM.ActiveDataCache.Kernel.Viewsets.Utilities.ExternalData.ExternalDataManager.ImportExternalData(String strDatasetID, String strTempName, FilterExpression filter)
    at Oracle.BAM.ActiveDataCache.Kernel.Viewsets.Utilities.ExternalData.ExternalDataManager.ImportExternalFactData()
    at Oracle.BAM.ActiveDataCache.Kernel.Viewsets.Utilities.ExternalData.ExternalDataManager.GetExternalData()
    at Oracle.BAM.ActiveDataCache.Kernel.Viewsets.Viewset.LoadData()
    at Oracle.BAM.ActiveDataCache.Kernel.Viewsets.ViewsetBase.Initialize()
    at Oracle.BAM.ActiveDataCache.Kernel.Viewsets.Viewset.Initialize()
    at Oracle.BAM.ActiveDataCache.Kernel.Viewsets.ViewsetBase.Open()
    at Oracle.BAM.ActiveDataCache.Kernel.Viewsets.ViewsetManager.InitViewset(Modifier oModifier, ViewsetOptions oViewsetOptions, Boolean bSynchronized, Int32 iTransactionID)
    at Oracle.BAM.ActiveDataCache.Kernel.Viewsets.ViewsetManager.OpenViewset(Modifier modifier, ViewsetOptions options, Int32 iTransactionID)
    at Oracle.BAM.ActiveDataCache.Kernel.Server.DataStoreServer.OpenViewset(Modifier modifier, ViewsetOptions options, Int32 iTransactionID)
    --- End of inner exception stack trace ---
    Server stack trace:
    at Oracle.BAM.ActiveDataCache.Kernel.Server.DataStoreServer.OpenViewset(Modifier modifier, ViewsetOptions options, Int32 iTransactionID)
    at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(MethodBase mb, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
    at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)
    Exception rethrown at [0]:
    at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
    at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
    at Oracle.BAM.ActiveDataCache.Common.Core.IDataStore.OpenViewset(Modifier oModifier, ViewsetOptions options, Int32 iTransactionID)
    at Oracle.BAM.ActiveDataCache.Remoting.ServerWrapper.OpenViewset(Modifier oModifier, ViewsetOptions options, Int32 iTransactionID)
    at Oracle.BAM.ActiveDataCache.Viewset.Open(Context ctxAdcContext, Modifier oModifier, ViewsetOptions options)
    at Oracle.BAM.Architect.DataObjectsContents.InternalContentsByRowID(String strEventParam, Boolean bEdit, Int64 lHighlightRowID, Boolean bAddBegin)
    ==========================================================

    Dear, I am facing that problem and I need some help. please tell me how the issue was resolved

  • MX7 SQL SERVER Datasource problem

    hello
    I installed MX7 and I do not manage to create a datasource
    which
    point towards my dB MSSQL SERVER on local, it posts me this:
    Connection verification failed for data source: blanko
    java.sql.SQLException: [Macromedia][SQLServer JDBC
    Driver]Error
    establishing socket. Unknown host: (local)
    The root cause was that: java.sql.SQLException:
    [Macromedia][SQLServer
    JDBC Driver]Error establishing socket. Unknown host: (local)
    under Coldfiusion server 5.5 there was the possibility of
    checked “Trusted connnection” and it had no prob with
    MSQLSERVER there Apparently it is necessary to work with the JDBc
    drivers but I do not have any idea of how to install it I am sure
    that it is a traditional error, if somebody has already encountered
    the problem,
    thank you to light me
    thks Sam
    Configuration: Windows 2003 Internet Explorer 7.0

    I found why it did not recognize localhost, because I placed
    (localhost) between bracket because on CF 5.5 it was the case for
    (local), therefore now it recognizes apparently the localhost as
    server but it is another problem now: it did not recognize the
    username and password,
    however I configured SQL SERVER 2005 in mixed mode and thus
    I test with login: Administrator and password empty (because I
    don't have password on Windows authentication) and I also test with
    username: sa and my password admin but without success, here what
    it indicates as error:
    Connection verification failed for data source: blanko
    java.sql.SQLException: [Macromedia][SQLServer JDBC
    Driver]Error establishing socket. Connection refused: connect
    The root cause was that: java.sql.SQLException:
    [Macromedia][SQLServer JDBC Driver]Error establishing socket.
    Connection refused: connect
    in addition I do not know if there is a bond, (I work under
    win 2003 standard edition) and according to what I read on the Net,
    it may be that it is a problem of port, can be the port 1433 is not
    open? If I make on DOS prompt: telnet localhost 1433 ==> failure
    to connect whereas telnet localhost 80 works
    I even tried to connect with
    username: sa
    pwd: mypwd
    port: 80 (I know that 80 is the port for HTTP)
    it posts the following message:
    Connection verification failed for data source: blanko
    java.sql.SQLException: [Macromedia][SQLServer JDBC Driver]No
    more data available to read.
    The root cause was that: java.sql.SQLException:
    [Macromedia][SQLServer JDBC Driver]No more data available to read
    thanks for your help

  • Prolblem while replicating datasources in BW, source system tab in modellin

    hi friends,
    I have a problem. we are using SAP NetWeaver 2004s and we are implementing for the first time. The problem is we have activated the datasources of 0FI_AR_4, 0FI_AP_4, 0FI_GL_4 from delivery version RSA5, After activation we checked in RSA6, and even the data is available we checked in RSA3 also. when we go to SAP NetWeaver 2004s to replicate the datasources, i went to source system and after double clicking on the Source system a new datasource screen is opened, there i found the datasource to replicate and i selected the datasource context menu there i got a option to replicate metadata i clicked it.
    Here the real problem is coming i am getting a NOTEQUALLY symbol is coming (msg is M Version is different from A version).
    After this i went to Business content and acvtivate related infocube and related infosource. I click on the infosource and assigned the SS and ther i am not getting the datasource, can u any one please guide the entire process in BW to replicate the Datasources from SS.
    Kindly Reply me ASAP
    PAVAN KUMAR K

    Heads up...
    <a href="https://www.sdn.sap.com/irj/sdn/thread?forumID=154&threadID=145443&messageID=1640573">https://www.sdn.sap.com/irj/sdn/thread?forumID=154&threadID=145443&messageID=1640573</a>
    <a href="https://www.sdn.sap.com/irj/sdn/thread?forumID=154&threadID=171086&messageID=1917978">https://www.sdn.sap.com/irj/sdn/thread?forumID=154&threadID=171086&messageID=1917978</a>
    <a href="https://www.sdn.sap.com/irj/sdn/thread?forumID=154&threadID=163462&messageID=1859808">https://www.sdn.sap.com/irj/sdn/thread?forumID=154&threadID=163462&messageID=1859808</a>
    Hope it Helps
    Chetan
    @CP..

  • Hierachy datasource problem

    Hi,
    I have to load hierarchies from r/3 to BW.when i test my hierarchy DataSource in RSA6 number of records its showing is 40,where as my R/3 system has 45 records for the same hierarchy.Can any one please let me know why its showing different number of records and how to overcome this problem.

    Hi,
    Thank for your suggestion, but it is not work, when i put my query the result is nothing display.
    Another problem is i_que portion
    SYS_CONNECT_BY_PATH() can only retrieve BLENDED_WGT level is only 2nd level. Actual Result_table of BLENDED_WGT display 3rd level.
    I doubt is because of main select portion or all my query is wrong.
    Thanks

  • Datasource problem - error 8 when starting extraction program

    Hello,
    we are using a datasource (data mart) to write data from one cube to another.
    When running the infopackage we get the 2 errors below. When testing with the extractor checker, everything was fine. Datasource was replicated, transfer rules are active.
    1. Message no. R3019 - Error 8 when starting extraction program
    2. Message no. RSM340 - Errors in source system
    more error info...
    " Error message from the source system
    Diagnosis
    An error occurred in the source system.
    System response
    Caller 09 contains an error message.
    Further analysis:
    The error occurred in Service API ."
    Has anybody any ideas?
    Thank you,
    Ruairi

    Hi Friend,
    Check the following OSS notes
    947690
    511475
    23538
    Even though the note 947690 is for process chain the steps mentioned in this note could cause Error 8 when scheduling a package for extraction. I think in your case the server name or the host name is incorrect. Check the host and the server name in TCODE SM51 and ask basis to look for the same in RFC entries using SM59 as well.
    Regards,
    varun.

  • Replicating DataSource in BW

    I have check that the data source's (2LIS_08TRFKP, 2LIS_08TRFKZ, 2LIS_08TRTK, 2LIS_08TRTS, 2LIS_08TRTLP) are in RSA6 and active in the LBWE.  When going to RSA1 to replicate the metadata the only datasource that I can see after searching is 2LIS_08TRFKP.  Any suggestions/help would be much appreciated.

    are you able to do Test Extraction @ RSA3 for the DS which were not replicated to BI ?
    Normally when you do replicate you should get all the DS which are activated @source system .. RSA6  - select DS - click on Transport icon and replicate in BI again
    What is the Version of R/3 ?

  • External DataSource problem

    Hi
    I have created an external datasource.I completed all steps as given in
    http://www.oracle.com/technology/products/integration/bam/10.1.3/TechNotes/TechNote_BAM_ExternalDataSource.pdf
    Problem is : While verifying data in BAM architect console it is giving error saying
    ADC Server exception in OpenViewset().
    Source: "ActiveDataCache" ID: "ADCServerException"
    Format of the initialization string does not conform to specification starting at index 82.
    Source: "System.Data".
    what is the error in this kindly revert back
    ,Thanks

    hi,
    i get the same error, ho you fixed it.Moreover i get an tns error when i use tnsping utility for my XE db from command prompt
    ADC Server exception in OpenViewset().
    Details <<
    ADC Server exception in OpenViewset().
    Source: "ActiveDataCache" ID: "ADCServerException"
    ERROR [08001] [Microsoft][ODBC driver for Oracle][Oracle]ORA-12154: TNS:could not resolve the connect identifier specified ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed ERROR [01000] [Microsoft][ODBC Driver Manager] The driver doesn't support the version of ODBC behavior that the application requested (see SQLSetEnvAttr).
    Source: ""
    Internal debugging information >>
    Oracle.BAM.ActiveDataCache.Common.Exceptions.CacheException: ADC Server exception in OpenViewset(). ---> System.Data.Odbc.OdbcException: ERROR [08001] [Microsoft][ODBC driver for Oracle][Oracle]ORA-12154: TNS:could not resolve the connect identifier specified
    ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed
    ERROR [01000] [Microsoft][ODBC Driver Manager] The driver doesn't support the version of ODBC behavior that the application requested (see SQLSetEnvAttr).
    at System.Data.Odbc.OdbcConnection.Open()
    at Oracle.BAM.ActiveDataCache.ExternalDataSources.ODBC.Open(String strXml)
    at Oracle.BAM.ActiveDataCache.Kernel.Datasets.ExternalStorageEngine.GetDataReader(DSEQuery oDseQuery)
    at Oracle.BAM.ActiveDataCache.Kernel.Viewsets.Utilities.ExternalData.DataImporter.ExecuteQuery()
    at Oracle.BAM.ActiveDataCache.Kernel.Viewsets.Utilities.ExternalData.ExternalDataManager.ImportExternalData(String strDatasetID, String strTempName, FilterExpression filter)
    at Oracle.BAM.ActiveDataCache.Kernel.Viewsets.Utilities.ExternalData.ExternalDataManager.ImportExternalFactData()
    at Oracle.BAM.ActiveDataCache.Kernel.Viewsets.Utilities.ExternalData.ExternalDataManager.GetExternalData()
    at Oracle.BAM.ActiveDataCache.Kernel.Viewsets.Viewset.LoadData()
    at Oracle.BAM.ActiveDataCache.Kernel.Viewsets.ViewsetBase.Initialize()
    at Oracle.BAM.ActiveDataCache.Kernel.Viewsets.Viewset.Initialize()
    at Oracle.BAM.ActiveDataCache.Kernel.Viewsets.ViewsetBase.Open()
    at Oracle.BAM.ActiveDataCache.Kernel.Viewsets.ViewsetManager.InitViewset(Modifier oModifier, ViewsetOptions oViewsetOptions, Boolean bSynchronized, Int32 iTransactionID)
    at Oracle.BAM.ActiveDataCache.Kernel.Viewsets.ViewsetManager.OpenViewset(Modifier modifier, ViewsetOptions options, Int32 iTransactionID)
    at Oracle.BAM.ActiveDataCache.Kernel.Server.DataStoreServer.OpenViewset(Modifier modifier, ViewsetOptions options, Int32 iTransactionID)
    --- End of inner exception stack trace ---
    Server stack trace:
    at Oracle.BAM.ActiveDataCache.Kernel.Server.DataStoreServer.OpenViewset(Modifier modifier, ViewsetOptions options, Int32 iTransactionID)
    at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(MethodBase mb, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
    at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)
    Exception rethrown at [0]:
    at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
    at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
    at Oracle.BAM.ActiveDataCache.Common.Core.IDataStore.OpenViewset(Modifier oModifier, ViewsetOptions options, Int32 iTransactionID)
    at Oracle.BAM.ActiveDataCache.Remoting.ServerWrapper.OpenViewset(Modifier oModifier, ViewsetOptions options, Int32 iTransactionID)
    at Oracle.BAM.ActiveDataCache.Viewset.Open(Context ctxAdcContext, Modifier oModifier, ViewsetOptions options)
    at Oracle.BAM.Architect.DataObjectsContents.InternalContentsByRowID(String strEventParam, Boolean bEdit, Int64 lHighlightRowID, Boolean bAddBegin)

  • Studio Creator and configurable datasources problem

    At design time we've binded components to a creator-configured datasource. As a result the Studio Creators generates in a '_init' method of a session bean code like
    'rowSet.setDataSourceName("java:comp/env/jdbc/mydb");'
    (where 'rowSet' is a 'CachedRowSetXImpl').
    So far so good.
    In the next step we tried to make the datasource jndi name configurable to use this code to connect to different databases. It works fine in a web/app-server environment at run time.      
    But unfortunately the Studio Creator doesn't accept this code. Using something other than the shown hard-coded jndi string in a statement like the example above results in a component error...
    This means that we've to use different code at design time and build/runtime? At the moment after working at the design every time we change the code (substitution using ant, e.g.: "java:comp/env/jdbc/mydb" --> getDatasourceName() ) and build the archive.
    Is there is any other way to avoid this problem? We dislike such one code patching...
    Regards, Thomas

    Hi I found solution, i puted on the page a table -component (with brand new automaticly created dataprovider) , then i set properties visible= false for table, and now I can bind statictext with database field and deploy on tomcat server .
    But i think it is not a elegant solution in page source i habe noused-code.
    Have Any another Ideas. HELP PEOPLE !!!!
    Mariuszek: I use Creator.because right now I can see result of my job and i can qickly change ideas ,
    I tried with JDeveleper but i did'nt find this functionality (wich version do you prefered ?) , unfortunately i have to deploy my application on Tomcat. This is my study project, and i make this to become a Master of Techinal Univeristy ;), Deadline time is 30 th September :(
    greetings

  • Multiple Datasources Problem WSAD4.0.3

    Hi,
    I am using WSAD4.0.3 in our project. For our application we have an Oracle 9i DB. I created a Datasource in WSAD Test Server with JNDI name as jdbc/ds1. For one of the task i have to connect to a entire different Oracle 9i DB. This is only for this module. The rest of the application uses the first DB. I have created a second Datatsource with JNDI name as jdbc/ds2. From my DAOs i pass the jndi name to get the connection to the corresponding database. From the EJB test client i was able to run my EJBs, connect using ds2 and run my queries.
    The problem i am facing is once the server connects to a database, and afterwards for my next task if i was trying to get connection to the other database, i am not getting any code errors. But apparently the datasource is still connected to the first database and that is giving me a Table or View does not exist error. Its happening both ways. First connects through ds1 when i login to our project. If i do something related to that same database, it works. But if i try getting connection through ds2, i get table does not exist error, because its executing the query in the first database and those tables obviously dont exit in that DB.
    I was able to get direct connection to the second database from my DAO. But thats not what i want to do, because i foresee us updating table in 3-4 different databases for this task and we want to use Datatsources because we have change the code whenever they make changes to the Database or the machines where it is.
    Could someone please help me on my problem. Any kind of input is appreciated.
    Thanks,
    Ravi.

    Hi Ravi,
    I'm not sure I understand your problem. I too use WSAD and have multiple datasources configured for each database I need to connect to without issue. However, it sounds as if you are trying to use the datasources to connect to different db's such as 1 for dev, 1 for test, 1 for qa(?). So you want the datasources to dynamically allow you to run the same code against different db instances. Is this the case?
    If so, I'd suggest using the same datasource as default, but configure your system (and I think it can be done in the datasource but I'm not positive) to use property file which defines the db you wish to connect to. You'd still need a restart, but no code changes other than to tweak the property file (and WSAD can be set up to store the data in memory which allows you to write a seperate class which could refresh the memory on changes without a restart).

Maybe you are looking for

  • Problem with built in Sound

    I have this simple PE NEO-2 motherboard .. and i use the built in sound of the board... the problem i m having is that the sound suddenly disappears during the game.. or other music application... sometime it disappear after 2 min or some time after

  • Creative Cloud subscription invoicing per email

    Is it possible to get invoices for Creative Cloud subscription periodically per email with pdf attached?

  • Abap Error CALL_FUNCTION_WAIT_ERROR in program SAPMSSY1

    I am getting abap error " CALL_FUNCTION_WAIT_ERROR  ". The termination occurred in the ABAP/4 program "SAPMSSY1 " in "REMOTE_FUNCTION_CALL". The main program was "SAPMSSY1 ". The termination occurred in line 69 of the source code of program "SAPMSSY1

  • Data is not updating in Bapi_po_Create1

    Hi Gurus, I have Small Problem regarding Bapi_po_create1 bapi is running succesfully and in return table it is returning po number generated but this po number is not getting updated to databse table ekko or any where. Can You plz give me soln what i

  • How to retrieve deleted delivery docs

    While confirming the transfer order using LT12 in warehouse mgmt active site for retail industry, system gives error "there were no deliveries that matched the criteria you specified". I tried to checked the delivery document in the system but system