DataSource problem in Jdev10.1.3.4

I am running OC4J in Jdeveloper 10.1.3.4 and setup a DataSource to connect to the DB on remote machine.
Context ctx = new InitialContext();
DataSource ds = (DataSource)ctx.lookup("jdbc/name");
if I am trying to get connection this way :
Connection con = ds.getConnection();
I am getting "java.sql.SQLException: User credentials doesn't match the existing ones" exception , though I am 100% sure username/password are correct.
If I am trying to get connection like :
Connection con = ds.getConnection("username","password");
then : "java.sql.SQLException: Io exception: The Network Adapter could not establish the connection"
any ideas?

I had a problem with URL and after I fixed it I was able to connect using :
Connection con = ds.getConnection("username","password");
however while trying to connect using :
Connection con = ds.getConnection();
still gives me an exception "java.sql.SQLException: User credentials doesn't match the existing ones"

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.

  • 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

  • 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

  • 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).

  • Oralce datasource - problem

    Hello,
    I tried to create a datasource using Visual Administrator to Oracle Database. I have a webdynpro application accessing the datasource to pull the data from the Database and display to the user.
    I am working on Oracle 10.2 and using ojdbc14.jar. I am using JDBC 2.x driver for this. Here are the configuration parameters used for the Datasource
    JDBC Version : 2.0 (with XA Support)
    Object Factory : oracle.jdbc.pool.OracleDataSourceFactory
    DataSource Type : ConnectionPoolDataSource
    CPDS Classname : oracle.jdbc.pool.OracleConnectionPoolDataSource
    [Additional] Properties:
    url = jdbc:oracle:thin:@localhost:1521:orcl817
    user = scott
    password = tiger
    My application is not able to pull up any data from the database and is not showing any data. I found an exception on the defaultTrace file. Here is the stack trace of the exception thrown.
    #1.5_#0003BA1D8303004F0000005700000B5F00043969ECC1420E#
    1189027013280#com.sap.engine.services.connector##
    com.sap.engine.services.connector#Administrator#11205####
    1da526b05bf511dc907a0003ba1d8303#SAPEngine_Application_Thread[impl:3]
    _37##0#0#Error##Plain###ResourceObjectFactory.getConnectionSet(MDM_SandBox),
    Exception: com.sap.engine.services.connector.exceptions.BaseResourceException:
    ConnectionFactory "MDM_SandBox" does not exist.
    Possible reasons: the connector in which ConnectionFactory "MDM_SandBox" is
    defined is not deployed or not started.
          at com.sap.engine.services.connector.ResourceObjectFactory.getConnectionSet(ResourceObjectFactory.java:671)
          at com.sap.engine.services.dbpool.deploy.DataSourceManagerImpl.listUsedConnections(DataSourceManagerImpl.java:565)
          at com.sap.engine.services.dbpool.deploy.DataSourceManagerImpl.getUsedConnectionsCount(DataSourceManagerImpl.java:967)
          at sun.reflect.GeneratedMethodAccessor459.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:324)
          at com.sap.pj.jmx.introspect.DefaultMBeanInvoker.invoke(DefaultMBeanInvoker.java:58)
          at com.sap.pj.jmx.mbeaninfo.AdditionalInfoProviderMBean.invoke(AdditionalInfoProviderMBean.java:289)
          at com.sap.pj.jmx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:944)
          at com.sap.pj.jmx.server.interceptor.MBeanServerWrapperInterceptor.invoke(MBeanServerWrapperInterceptor.java:288)
          at com.sap.engine.services.jmx.CompletionInterceptor.invoke(CompletionInterceptor.java:409)
          at com.sap.pj.jmx.server.interceptor.BasicMBeanServerInterceptor.invoke(BasicMBeanServerInterceptor.java:277)
          at com.sap.jmx.provider.ProviderInterceptor.invoke(ProviderInterceptor.java:258)
          at com.sap.engine.services.jmx.RedirectInterceptor.invoke(RedirectInterceptor.java:340)
          at com.sap.pj.jmx.server.interceptor.MBeanServerInterceptorChain.invoke(MBeanServerInterceptorChain.java:330)
          at com.sap.engine.services.jmx.MBeanServerSecurityWrapper.invoke(MBeanServerSecurityWrapper.java:287)
          at com.sap.engine.services.jmx.MBeanServerInvoker.invokeMbs(MBeanServerInvoker.java:131)
          at com.sap.engine.services.jmx.ClusterInterceptor.invokeMbs(ClusterInterceptor.java:212)
          at com.sap.engine.services.jmx.ClusterInterceptor.invoke(ClusterInterceptor.java:766)
          at com.sap.engine.services.jmx.MBeanServerInterceptorInvoker.invokeMbs(MBeanServerInterceptorInvoker.java:102)
          at com.sap.engine.services.jmx.connector.p4.P4ConnectorServerImpl.invokeMbs(P4ConnectorServerImpl.java:61)
          at com.sap.engine.services.jmx.connector.p4.P4ConnectorServerImplp4_Skel.dispatch(P4ConnectorServerImplp4_Skel.java:64)
          at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:312)
          at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:199)
          at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129)
          at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
          at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
          at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
          at java.security.AccessController.doPrivileged(Native Method)
          at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
          at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    The excpetion says that the Datasource is not deployed or not started. However, I can see my datasource running in the Visual Administrator.
    Any help on fixing this problem is appreciated.
    Thanks
    Suman

    Suman,
    We had a lot of trouble figuring out how to setup Data Source for Oracle also so you're not alone.  : )
    Before setting up the datasource, did you create a driver in Visual Administrator? You can name it anything you want but it should point to the classes*.zip file that contains the Oracle drivers.
    Then you need to specify that driver in the Data Source.
    The rest looks OK. The only other thing I can suggest right now is for you to set the Initial Connections to a non-zero value. Then when you save the Data Source, it will attempt to create the connection. If it fails you know there is something wrong with your data source. If it saves OK then the problem is somewhere else.
    Oh, and we haven't been able to get it to work with Native SQL option under SQL Engine. We use Vendor SQL radio button.
    Good luck!

  • 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

  • Transport ERP and BW DataSource problem

    Hi,
    I´m trying to transport from the Development system to Quality. During this transport I have figured out that the Quality BW has a connection problem with the Quality ERP. Then I decided to transport to the Productive system.
    The transports of the ERP works fine (Dev > Quality > Productive). But every time I have a transport error for the BW transports in Quality and Productive. It says that the DataSource and DTP is not available in BW (each system Quality and Productive) and I am activating the DataSource and DTP manually afterwards.
    Is this the normal way?
    I am asking because in Productive I can´t activate anything afterwards.

    Normally check whether is there any change in R/3 data source when you are transporting the changes in BW system.
    So as a practice you need to transport the source system related transport first and then replicate the data source, before moving the transport in BW system. As a practice after the replication you can also activate the data source using the standard program avaialble.
    Also you can check the connection between R/3 and BI system before moving the BW related transport which might require the source system should be active in order to check whether the DS is present in R/3 or not. So make sure this point always.
    About the DTP's, we are facing this issue in BI7.0 , you need to findout what is causing the issue to deactivate the DTP's.. if there is any change at transformation, then this might can also cause the DTP to go deactivated.
    Hope this helps.
    Murali
    Edited by: Murali M on Aug 24, 2010 1:09 PM

  • Hyperion configure interface datasource problem

    i installed hyperion 11.1.2.2 and installation finished succesfully.
    I login to console http://ip:19000/workspace and i try to call "configure interface datasource" menu
    i get error message.
    ; nested exception is:
    HTTP transport error: java.net.MalformedURLException: no protocol: Sessions.asmx
    Code: java.rmi.RemoteException
    Description: An error occurred processing the result from the server.
    Actor: none
    Any thoughts would be great. Thanks...

    l Use this URL:
    http(s)://Local_machine_name/hyperion-bpma-server/Sessions.asmx
    If a Sessions page is displayed, then IIS is correctly configured. If there is any error in IIS, check the Event Log to identify the problems. Check the System and Application Log to see if errors were logged by ASP.NET or IIS, and fix any errors. A possible cause is incorrect privileges for the user for the TEMP directory.
    l Check the Event Logs from sources starting with HyS9EPMA. Possible causes are communication errors with Shared Services or the database.
    l The ASPNET user may not have access to certain folders. If the Event Log displays any security-related errors, assign rights to the ASPNET user.
    1. From the command prompt, go to this directory: C:\Windows\Microsoft.NET\Framework\v2.0.50727.
    2. Enter run aspnet_regiis.exe -ga.
    Refer: Pg 105 of http://docs.oracle.com/cd/E17236_01/epm.1112/epm_install_troubleshooting_1112200.pdf
    HTH-
    Jasmine.

  • JMF Datasource problem..i need help with this one error

    This the error i get when i try to run my program
    Error: Unable to realize com.sun.media.amovie.AMController@18b81e3Basically i have a mediapanel class that initialize and play the media as datasource
    import java.awt.BorderLayout;
    import java.awt.Component;
    import java.io.*;
    import java.net.URL;
    import javax.media.*;
    import javax.swing.JPanel;
    import java.nio.ByteBuffer;
    public class MediaPanel extends JPanel
       InputStream stream;
       String name = "";
       ByteBuffer inputBuffer;
       byte[] store = null;
       public MediaPanel( InputStream in )
       try{
          this.stream = in;
          //store stream as ByteBuffer
          store = new byte[stream.available()];
          stream.read(store);
          inputBuffer.allocate(store.length);
          inputBuffer.wrap(store);
          //get contentType
          DrmDecryption drm = new DrmDecryption();
          name = drm.naming;
          setLayout( new BorderLayout() ); // use a BorderLayout
          ByteBufferDataSource ds = new ByteBufferDataSource(inputBuffer,name);
          // Use lightweight components for Swing compatibility
          Manager.setHint( Manager.LIGHTWEIGHT_RENDERER, true );
             // create a player to play the media specified in the URL
             Player mediaPlayer = Manager.createRealizedPlayer(ds);
             // get the components for the video and the playback controls
             Component video = mediaPlayer.getVisualComponent();
             Component controls = mediaPlayer.getControlPanelComponent();
             if ( video != null )
                add( video, BorderLayout.CENTER ); // add video component
             if ( controls != null )
                add( controls, BorderLayout.SOUTH ); // add controls
             mediaPlayer.start(); // start playing the media clip
           }catch(Exception e){}
       } // end MediaPanel constructor
    } // end class MediaPanelThe ByteBufferDataSource class is use to create the datasource for the player
    import javax.media.protocol.ContentDescriptor;
    import javax.media.protocol.PullDataSource;
    import java.nio.ByteBuffer;
    import java.io.IOException;
    import javax.media.MediaLocator;
    import javax.media.Duration;
    import javax.media.Time;
    public class ByteBufferDataSource extends PullDataSource {
    protected ContentDescriptor contentType;
    protected SeekableStream[] sources;
    protected boolean connected;
    protected ByteBuffer anInput;
    protected ByteBufferDataSource(){
    * Construct a ByteBufferDataSource from a ByteBuffer.
    * @param source The ByteBuffer that is used to create the
    * the DataSource.
    public ByteBufferDataSource(ByteBuffer input, String contentType) throws IOException {
    anInput = input;
    this.contentType = new ContentDescriptor(
                   ContentDescriptor.mimeTypeToPackageName(contentTyp  e));
    * Open a connection to the source described by
    * the ByteBuffer/CODE>.
    * The connect method initiates communication with the source.
    * @exception IOException Thrown if there are IO problems
    * when connect is called.
    public void connect() {
    sources = new SeekableStream [1];
    sources[0] = new SeekableStream(anInput);
    * Close the connection to the source described by the locator.
    * The disconnect method frees resources used to maintain a
    * connection to the source.
    * If no resources are in use, disconnect is ignored.
    * If stop hasn't already been called,
    * calling disconnect implies a stop.
    public void disconnect() {
    * Get a string that describes the content-type of the media
    * that the source is providing.
    * It is an error to call getContentType if the source is
    * not connected.
    * @return The name that describes the media content.
    public String getContentType() {
    return contentType.getContentType();
    public Object getControl(String str) {
    return null;
    public Object[] getControls() {
    return new Object[0];
    public javax.media.Time getDuration() {
    return Duration.DURATION_UNKNOWN;
    * Get the collection of streams that this source
    * manages. The collection of streams is entirely
    * content dependent. The MIME type of this
    * DataSource provides the only indication of
    * what streams can be available on this connection.
    * @return The collection of streams for this source.
    public javax.media.protocol.PullSourceStream[] getStreams() {
    return sources;
    * Initiate data-transfer. The start method must be
    * called before data is available.
    *(You must call connect before calling start.)
    * @exception IOException Thrown if there are IO problems with the source
    * when start is called.
    public void start() throws IOException {
    * Stop the data-transfer.
    * If the source has not been connected and started,
    * stop does nothing.
    public void stop() throws IOException {
    }i have a SeekableStream to manipulate the control of the streaming position.
    import java.lang.reflect.Method;
    import java.lang.reflect.Constructor;
    import java.io.IOException;
    import java.nio.ByteBuffer;
    import java.nio.BufferUnderflowException;
    import javax.media.protocol.PullSourceStream;
    import javax.media.protocol.Seekable;
    import javax.media.protocol.ContentDescriptor;
    public class SeekableStream implements PullSourceStream, Seekable {
    protected ByteBuffer inputBuffer;
    * a flag to indicate EOF reached
    /** Creates a new instance of SeekableStream */
    public SeekableStream(ByteBuffer byteBuffer) {
    inputBuffer = byteBuffer;
    this.seek((long)(0)); // set the ByteBuffer to to beginning
    * Find out if the end of the stream has been reached.
    * @return Returns true if there is no more data.
    public boolean endOfStream() {
    return (! inputBuffer.hasRemaining());
    * Get the current content type for this stream.
    * @return The current ContentDescriptor for this stream.
    public ContentDescriptor getContentDescriptor() {
    return null;
    * Get the size, in bytes, of the content on this stream.
    * @return The content length in bytes.
    public long getContentLength() {
    return inputBuffer.capacity();
    * Obtain the object that implements the specified
    * Class or Interface
    * The full class or interface name must be used.
    * The control is not supported.
    * null is returned.
    * @return null.
    public Object getControl(String controlType) {
    return null;
    * Obtain the collection of objects that
    * control the object that implements this interface.
    * No controls are supported.
    * A zero length array is returned.
    * @return A zero length array
    public Object[] getControls() {
    Object[] objects = new Object[0];
    return objects;
    * Find out if this media object can position anywhere in the
    * stream. If the stream is not random access, it can only be repositioned
    * to the beginning.
    * @return Returns true if the stream is random access, false if the stream can only
    * be reset to the beginning.
    public boolean isRandomAccess() {
    return true;
    * Block and read data from the stream.
    * Reads up to length bytes from the input stream into
    * an array of bytes.
    * If the first argument is null, up to
    * length bytes are read and discarded.
    * Returns -1 when the end
    * of the media is reached.
    * This method only returns 0 if it was called with
    * a length of 0.
    * @param buffer The buffer to read bytes into.
    * @param offset The offset into the buffer at which to begin writing data.
    * @param length The number of bytes to read.
    * @return The number of bytes read, -1 indicating
    * the end of stream, or 0 indicating read
    * was called with length 0.
    * @throws IOException Thrown if an error occurs while reading.
    public int read(byte[] buffer, int offset, int length) throws IOException {
    // return n (number of bytes read), -1 (eof), 0 (asked for zero bytes)
    if ( length == 0 )
    return 0;
    try {
    inputBuffer.get(buffer,offset,length);
    return length;
    catch ( BufferUnderflowException E ) {
    return -1;
    public void close() {
    * Seek to the specified point in the stream.
    * @param where The position to seek to.
    * @return The new stream position.
    public long seek(long where) {
    try {
    inputBuffer.position((int)(where));
    return where;
    catch (IllegalArgumentException E) {
    return this.tell(); // staying at the current position
    * Obtain the current point in the stream.
    public long tell() {
    return inputBuffer.position();
    * Find out if data is available now.
    * Returns true if a call to read would block
    * for data.
    * @return Returns true if read would block; otherwise
    * returns false.
    public boolean willReadBlock() {
    return (inputBuffer.remaining() == 0);
    }

    can u send me ur DrmDecryption.java file so that i can help

  • 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

  • SAPMEWIP DataSource Problem

    Hi I am trying to configure and start SAPMEWIP and SAPMEINT datasource in NW (as in Installation guide of ME pag 25). But I received this problem (see below)...any idea?
    error 2010-05-06 13:10:38:860 ContainerImpl.clearNaming(): Failed to remove ConnectionFactory for 'SAPMEWIP' DataSource. Reason: com.sap.engine.services.connector.exceptions.BaseResourceException: ConnectionFactory "G/SAPMEWIP" does not exist. Possible reasons: the adapter in which ConnectionFactory "G/SAPMEWIP" is defined is not... [see details] com.sap.engine.services.dbpool.deploy.ContainerImpl com.sap.engine.services.dbpool.deploy.ContainerImpl  
    error 2010-05-06 13:10:38:860 ResourceObjectFactory.removeConnectionFactory(), ConnectionFactory: G/SAPMEWIP, Alias: SAPMEWIP, Exception: com.sap.engine.services.connector.exceptions.BaseResourceException: ConnectionFactory "G/SAPMEWIP" does not exist. Possible reasons: the adapter in which ConnectionFactory "G/SAPMEWIP" is defined... [see details] com.sap.engine.services.connector com.sap.engine.services.connector  
        error 2010-05-06 13:10:38:858 ContainerImpl.clearNaming(): Failed to stop 'SAPMEWIP' DataSource. Reason: com.sap.engine.services.connector.exceptions.BaseResourceException: ConnectionFactory "G/SAPMEWIP" does not exist. Possible reasons: the adapter in which ConnectionFactory "G/SAPMEWIP" is defined is not deployed or not starte... [see details] com.sap.engine.services.dbpool.deploy.ContainerImpl com.sap.engine.services.dbpool.deploy.ContainerImpl  
        error 2010-05-06 13:10:38:858 ResourceObjectFactory.stopConnectionFactory(), ConnectionFactory: G/SAPMEWIP, Alias: SAPMEWIP, Exception: com.sap.engine.services.connector.exceptions.BaseResourceException: ConnectionFactory "G/SAPMEWIP" does not exist. Possible reasons: the adapter in which ConnectionFactory "G/SAPMEWIP" is defined... [see details] com.sap.engine.services.connector com.sap.engine.services.connector  
        error 2010-05-06 13:10:38:857 [ERROR CODE DPL.DS.5029] Exception in operation [startApp] with application [sap.com/SAPMEWIP].
    [EXCEPTION]
    com.sap.engine.services.deploy.exceptions.ServerDeploymentException: [ERROR CODE DPL.DS.5029] Exception in operation [startApp] with application [sap.com/SAPMEWIP].... [see details] com.sap.engine.services.deploy com.sap.engine.services.deploy  
        error 2010-05-06 13:10:38:856 ContainerImpl.startDataSources(): Cannot create DataSource: SAPMEWIP. Reason: java.lang.NullPointerException: There cannot be a NullPointerException at bci 0 of method java.lang.Class.forName0(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;

    Hi Seng,
    This is the SAP-MII forum.  SAP-ME now has its own forum and this question would be better posted there.  Good luck!
    Regards,
    Mike

Maybe you are looking for

  • How do I get my wifi to work again? It is grey

    My wifi has been grayed out for over a week now. I can't use it at all. It won't turn on or off. It's like it's blocked. And I have to have the wifi. How do I get this fixed???

  • Trying to create HTML5 Video Playlist in Edge Animate - I can't get it to work. Please help!?!?

    Hi All, I am creating an interactive site through Edge Animate and am in the process of trying to create a HTML 5 Video Playlist to function within Edge Animate. Current Process - Example: I have 3 videos that need to be played on a certain page. I c

  • How to view videos in iPhoto '08

    Using iPhoto '08 with latest version for iMac OS X version 10.9.4. Had this problem previously and had to call apple support representative some time ago. It was corrected but has happened again. Don't remember what was changed to correct this issue.

  • Two problems with my Z2

    These two have persisted for several firmware updates. I am currently on 23.0.1.A.0.167. The album app flickr part, says "Could not authenticate" The messaging app, when I choose to respond with a phonecall (upper right corner button), offers Phone a

  • LabVIEW developer with 7 years experience looking for a contract or permanent position

    Hello all, I'm a 7 years experience LabVIEW Programmer with BSc. I'm expert in the following field: -LabVIEW (5.x, 6.x, 7.x, 8.0) -DAQ, RS232, GPIB, USB -Vision (Imaq) -LabVIEW RT (PXI, fieldpoint, Desktop PC Real Time), Embedded development -Goop -D