Null pointer in Data Source deployment in WebLogic 8.1

I'm using WebLogic 8.1 in Eclipse 3.0.
In the Weblogic console, my datasource tests out fine. But when I startup the WebLogic Server in Eclipse I get the error:
Data Source "Datasource-Secondary" deployment failed with the following error: null.
Here are the details and Stack Trace:
####<Feb 28, 2006 3:13:09 PM PST> <Info> <JDBC> <MYMACHINE_NAME> <myserver> <main> <<WLS Kernel>> <> <BEA-001177> <Creating Connection Pool named Pool-XI5G, URL = jdbc:db2://z555.mycomputer.com:5054/XI5G, Properties = {user=MYUSERID, driverType=4, readOnly=true}.>
####<Feb 28, 2006 3:13:09 PM PST> <Info> <Common> <MYMACHINE_NAME> <myserver> <main> <<WLS Kernel>> <> <BEA-000626> <Free resources in pool "Pool-XI5G" will be tested every "600" seconds.>
####<Feb 28, 2006 3:13:09 PM PST> <Info> <JDBC> <MYMACHINE_NAME> <myserver> <main> <<WLS Kernel>> <> <BEA-001068> <Connection for pool "Pool-XI5G" created.>
####<Feb 28, 2006 3:13:09 PM PST> <Info> <JDBC> <MYMACHINE_NAME> <myserver> <main> <<WLS Kernel>> <> <BEA-001132> <Initialized statement cache of size "100" for connection in pool "Pool-XI5G".>
####<Feb 28, 2006 3:13:10 PM PST> <Info> <Common> <MYMACHINE_NAME> <myserver> <main> <<WLS Kernel>> <> <BEA-000628> <Created "1" resources for pool "Pool-XI5G", out of which "1" are available and "0" are unavailable.>
####<Feb 28, 2006 3:13:10 PM PST> <Info> <JDBC> <MYMACHINE_NAME> <myserver> <main> <<WLS Kernel>> <> <BEA-001124> <Created Connection Pool named Pool-XI5G.>
####<Feb 28, 2006 3:13:10 PM PST> <Info> <JDBC> <MYMACHINE_NAME> <myserver> <main> <<WLS Kernel>> <> <BEA-001177> <Creating Connection Pool named Pool-XT5G, URL = jdbc:db2://z555.mycomputer.com:5051/XT5G, Properties = {user=MYUSERID, driverType=4, readOnly=true}.>
####<Feb 28, 2006 3:13:10 PM PST> <Info> <Common> <MYMACHINE_NAME> <myserver> <main> <<WLS Kernel>> <> <BEA-000626> <Free resources in pool "Pool-XT5G" will be tested every "600" seconds.>
####<Feb 28, 2006 3:13:10 PM PST> <Info> <JDBC> <MYMACHINE_NAME> <myserver> <main> <<WLS Kernel>> <> <BEA-001068> <Connection for pool "Pool-XT5G" created.>
####<Feb 28, 2006 3:13:10 PM PST> <Info> <JDBC> <MYMACHINE_NAME> <myserver> <main> <<WLS Kernel>> <> <BEA-001132> <Initialized statement cache of size "100" for connection in pool "Pool-XT5G".>
####<Feb 28, 2006 3:13:10 PM PST> <Info> <Common> <MYMACHINE_NAME> <myserver> <main> <<WLS Kernel>> <> <BEA-000628> <Created "1" resources for pool "Pool-XT5G", out of which "1" are available and "0" are unavailable.>
####<Feb 28, 2006 3:13:10 PM PST> <Info> <JDBC> <MYMACHINE_NAME> <myserver> <main> <<WLS Kernel>> <> <BEA-001124> <Created Connection Pool named Pool-XT5G.>
####<Feb 28, 2006 3:13:10 PM PST> <Info> <JDBC> <MYMACHINE_NAME> <myserver> <main> <<WLS Kernel>> <> <BEA-001175> <Creating TX Data Source named jdbc/ODR for Pool MultiPool-Primary.>
####<Feb 28, 2006 3:13:10 PM PST> <Error> <JDBC> <MYMACHINE_NAME> <myserver> <main> <<WLS Kernel>> <> <BEA-001151> <Data Source "Datasource-Primary" deployment failed with the following error: null.>
####<Feb 28, 2006 3:13:10 PM PST> <Info> <JDBC> <MYMACHINE_NAME> <myserver> <main> <<WLS Kernel>> <> <BEA-001156> <Stack trace associated with message 001151 follows:
weblogic.common.ResourceException
     at weblogic.jdbc.common.internal.DataSourceManager.createDataSource(DataSourceManager.java:254)
     at weblogic.jdbc.common.internal.DataSourceManager.createAndStartDataSource(DataSourceManager.java:109)
     at weblogic.jdbc.common.internal.JDBCService.addDeployment(JDBCService.java:192)
     at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:331)
     at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:591)
     at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:569)
     at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:241)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:324)
     at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:731)
     at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:710)
     at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:484)
     at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
     at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
     at weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(RemoteMBeanServerImpl.java:985)
     at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:943)
     at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:946)
     at weblogic.management.internal.MBeanProxy.invokeForCachingStub(MBeanProxy.java:481)
     at weblogic.management.configuration.ServerMBean_Stub.updateDeployments(ServerMBean_Stub.java:7351)
     at weblogic.management.deploy.slave.SlaveDeployer.updateServerDeployments(SlaveDeployer.java:1304)
     at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:347)
     at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:229)
     at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131)
     at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:966)
     at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:361)
     at weblogic.Server.main(Server.java:32)
>
Any idea?
- SB

Steve Bialek wrote:
I'm using WebLogic 8.1 in Eclipse 3.0.
In the Weblogic console, my datasource tests out fine. But when I startup the WebLogic Server in Eclipse I get the error:
Data Source "Datasource-Secondary" deployment failed with the following error: null.
Here are the details and Stack Trace:
####<Feb 28, 2006 3:13:09 PM PST> <Info> <JDBC> <MYMACHINE_NAME> <myserver> <main> <<WLS Kernel>> <> <BEA-001177> <Creating Connection Pool named Pool-XI5G, URL = jdbc:db2://z555.mycomputer.com:5054/XI5G, Properties = {user=MYUSERID, driverType=4, readOnly=true}.>
####<Feb 28, 2006 3:13:09 PM PST> <Info> <Common> <MYMACHINE_NAME> <myserver> <main> <<WLS Kernel>> <> <BEA-000626> <Free resources in pool "Pool-XI5G" will be tested every "600" seconds.>
####<Feb 28, 2006 3:13:09 PM PST> <Info> <JDBC> <MYMACHINE_NAME> <myserver> <main> <<WLS Kernel>> <> <BEA-001068> <Connection for pool "Pool-XI5G" created.>
####<Feb 28, 2006 3:13:09 PM PST> <Info> <JDBC> <MYMACHINE_NAME> <myserver> <main> <<WLS Kernel>> <> <BEA-001132> <Initialized statement cache of size "100" for connection in pool "Pool-XI5G".>
####<Feb 28, 2006 3:13:10 PM PST> <Info> <Common> <MYMACHINE_NAME> <myserver> <main> <<WLS Kernel>> <> <BEA-000628> <Created "1" resources for pool "Pool-XI5G", out of which "1" are available and "0" are unavailable.>
####<Feb 28, 2006 3:13:10 PM PST> <Info> <JDBC> <MYMACHINE_NAME> <myserver> <main> <<WLS Kernel>> <> <BEA-001124> <Created Connection Pool named Pool-XI5G.>
####<Feb 28, 2006 3:13:10 PM PST> <Info> <JDBC> <MYMACHINE_NAME> <myserver> <main> <<WLS Kernel>> <> <BEA-001177> <Creating Connection Pool named Pool-XT5G, URL = jdbc:db2://z555.mycomputer.com:5051/XT5G, Properties = {user=MYUSERID, driverType=4, readOnly=true}.>
####<Feb 28, 2006 3:13:10 PM PST> <Info> <Common> <MYMACHINE_NAME> <myserver> <main> <<WLS Kernel>> <> <BEA-000626> <Free resources in pool "Pool-XT5G" will be tested every "600" seconds.>
####<Feb 28, 2006 3:13:10 PM PST> <Info> <JDBC> <MYMACHINE_NAME> <myserver> <main> <<WLS Kernel>> <> <BEA-001068> <Connection for pool "Pool-XT5G" created.>
####<Feb 28, 2006 3:13:10 PM PST> <Info> <JDBC> <MYMACHINE_NAME> <myserver> <main> <<WLS Kernel>> <> <BEA-001132> <Initialized statement cache of size "100" for connection in pool "Pool-XT5G".>
####<Feb 28, 2006 3:13:10 PM PST> <Info> <Common> <MYMACHINE_NAME> <myserver> <main> <<WLS Kernel>> <> <BEA-000628> <Created "1" resources for pool "Pool-XT5G", out of which "1" are available and "0" are unavailable.>
####<Feb 28, 2006 3:13:10 PM PST> <Info> <JDBC> <MYMACHINE_NAME> <myserver> <main> <<WLS Kernel>> <> <BEA-001124> <Created Connection Pool named Pool-XT5G.>
####<Feb 28, 2006 3:13:10 PM PST> <Info> <JDBC> <MYMACHINE_NAME> <myserver> <main> <<WLS Kernel>> <> <BEA-001175> <Creating TX Data Source named jdbc/ODR for Pool MultiPool-Primary.>
####<Feb 28, 2006 3:13:10 PM PST> <Error> <JDBC> <MYMACHINE_NAME> <myserver> <main> <<WLS Kernel>> <> <BEA-001151> <Data Source "Datasource-Primary" deployment failed with the following error: null.>
####<Feb 28, 2006 3:13:10 PM PST> <Info> <JDBC> <MYMACHINE_NAME> <myserver> <main> <<WLS Kernel>> <> <BEA-001156> <Stack trace associated with message 001151 follows:
weblogic.common.ResourceException
     at weblogic.jdbc.common.internal.DataSourceManager.createDataSource(DataSourceManager.java:254)
     at weblogic.jdbc.common.internal.DataSourceManager.createAndStartDataSource(DataSourceManager.java:109)
     at weblogic.jdbc.common.internal.JDBCService.addDeployment(JDBCService.java:192)
     at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:331)
     at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:591)
     at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:569)
     at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:241)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:324)
     at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:731)
     at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:710)
     at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:484)
     at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
     at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
     at weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(RemoteMBeanServerImpl.java:985)
     at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:943)
     at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:946)
     at weblogic.management.internal.MBeanProxy.invokeForCachingStub(MBeanProxy.java:481)
     at weblogic.management.configuration.ServerMBean_Stub.updateDeployments(ServerMBean_Stub.java:7351)
     at weblogic.management.deploy.slave.SlaveDeployer.updateServerDeployments(SlaveDeployer.java:1304)
     at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:347)
     at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:229)
     at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131)
     at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:966)
     at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:361)
     at weblogic.Server.main(Server.java:32)
Any idea?
- SBI'd like to see the config.xml file, and also if yo could turn on JDBC logging,
and show me the jdbc.log file? From the line numbers in the stacktrace, I am
guessing this is 8.1sp4. If that's correct, can you take this attached debug
jar, and then edit your start-weblogic script to add this jar in front of
the CLASSPATH the script creates, just before calling java. Reboot, reproduce
the problem, and the stack trace printed out will be more understandable.
thanks
Joe
thanks
Joe

Similar Messages

  • Copy the JDBC data sources to another weblogic domain?!

    we have a weblogic domain that has around 20 JDBC data sources
    is there an easy way to copy the JDBC data sources to another weblogic domain?!

    You can make a WLST script that creates the datasource(s) and target it to whatever servers/clusters you like,
    but as implemented, for security reasons, certain aspects of the datasources themselves are encrypted to
    operate only in their originating environment, so for instance, you cannot inadvertently email access to the
    company's DBMS to your new friend in Nigeria.

  • Problem in accessing Data Source Deployed in JBoss using JNDI

    Hi everybody!
    I need your help in the next question:
    I have created a data source to connect to my MySql data base using the following entry in mysql-ds.xml (JBOSS 3.2.5)
    <datasources>
        <local-tx-datasource>
            <jndi-name>MySqlDS</jndi-name>
            <connection-url>jdbc:mysql://localhost:3306/mytest</connection-url>
            <driver-class>com.mysql.jdbc.Driver</driver-class>
            <user-name>root</user-name>
            <password>1</password>
        </local-tx-datasource>
    </datasources> in Eclipse SDK 3.1.2 i trying get access to the datasource
    InitialContext initialContext = new InitialContext();
    DataSource  ds = (DataSource)initialContext.lookup("java:/MySqlDS");
    if (ds != null) {
        result = ds.getConnection();
                       System.out.println("OK");
        else {
             System.out.println("Failed to lookup datasource.");
        } http://localhost:8080/jmx-console service = JNDI name equal "java:/MySqlDS"
    I have error "Cannot get connection: javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial"
    Error happen in
    DataSource  ds = (DataSource)initialContext.lookup("java:/MySqlDS");I trying
    DataSource  ds = (DataSource)initialContext.lookup("MySqlDS");and i had such error.
    Can anybody help me?

    hi,
    please check is your error corrected
    public class DBConnection {
         static DataSource dataSource = null;
         * To get the datsource
         public static DataSource getDatasource() {
              InitialContext ctx=null;
         if (dataSource == null){
         try {
              ctx=new InitialContext();
    dataSource = (DataSource) ctx.lookup("java:/MySqlDS");
         } catch (Exception e) {
         System.out.println("eror in DataSource class"+e);
         try {
         ctx.close();
         } catch (Exception e) {
              System.out.println("eror in DataSource class context closing"+e);
         return dataSource;
         * To get connection from Database.
         public static Connection getConnection() {
                   Connection con = null;
                   DataSource dataSource = null;
                   try {
                        dataSource =getDatasource();
                        con = dataSource.getConnection();
                   } catch (SQLException e) {
                        e.printStackTrace();
                   } catch (Exception e) {
                        e.printStackTrace();
                   return con;
    if you want a connetion then call Connection con=DBConnection .getConnection()
    hope this helps you

  • Performance Point Services data source pointing towards wrong datasource after production instance copied in development

    Hi
    We have copied our Project Server 2010 production databases to development server. We have few reports created by using Performance Point Services, but here when we try to open the reports the data source is  pointing towards production data source
    instead of dev.
    We are getting some issue while executing the reports
    Request you to let me know what exactly the cause and steps to rectify the issue.
    Thanks 
    Geeth If you feel that the answer which i gave you is Helpful please select it as Answer/helpful.

    As you have copied data from Prod to Dev reports are pointing to production data sources and reports are unable to display data. Whenever we copy the data from one environment to other then this kind if issue occurs.
    We need to modify the data source of all the reports manually so that report point to dev data source.
    You have to open data source for your reports and change it from prod to dev then reports will display correct data.
    http://blogs.msdn.com/b/performancepoint/archive/2011/09/19/performancepoint-data-connection-libraries-and-content-lists-in-sharepoint.aspx
    http://www.networkworld.com/community/node/57687
    kirtesh

  • Performance Point Services Data Source Sql Server Table.

    Hi,
    I have a requirement where I need to create a matrix report which shows resource capacity and deomand fromProject Server 2010 databases which involves joining of multiple tables and views from the database.
    But in Performance Point Service 2010 I am not able to write query to join multiple tables it'sjust showing one option in Data Connection to create connection to a database and specific one table not like SSRS where we can connect to database and can query
    multiple tables and views to render the report as required.
    So can any body suggest in case I am missing something in PPS 2010 or we cant joing or write sql query in PPS 2010
    Thanks

    I would join the tables in a view as Regis suggested or simply pull the information into a PowerPivot model and use that in SharePoint to connect to in PPS.  If you go that route then you will be able to use a multidimensional source and can create
    Analytical Reports.
    http://denglishbi.wordpress.com/2011/01/03/using-powerpivot-with-performancepoint-services-pps-2010/
    http://denglishbi.wordpress.com/2012/02/09/using-performancepoint-services-pps-with-powerpivot-sql-server-2012-rc0/

  • Weblogic & JNDI Data Source with proxy user.

    We're trying to use Oracle proxy user authentication on a data source configured in WebLogic 10.3.6, however, we want to approach it in a programatic way. So we want to obtain the DataSource, and set the proxy related properties inside the application.
    We came up with the following snippet:
    Hashtable<String, Object> env = new Hashtable<String, Object>();
    env.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
    env.put(Context.PROVIDER_URL, "t3://10.1.1.10:7003");
    env.put(Context.SECURITY_PRINCIPAL, "weblogic");
    env.put(Context.SECURITY_CREDENTIALS, "weblogic");
    Context context = new InitialContext(env);
    javax.sql.DataSource ds = (javax.sql.DataSource) context.lookup("ds_puser");
    OracleConnection oconn = (OracleConnection) ds.getConnection();
    The problem comes up when we try to cast the connection to OracleConnection, the thing is that the returned type is actually a 1036_WLStub.
    How can we avoid that type or cast to it to something useful? I found this reference on Oracle forums and he's being able to cast it directly:
    Re: My problem in using weblogic Datasource and proxy user
    Can someone help us out?
    Thanks a lot in advance!
    Edited by: 990800 on 27-feb-2013 13:26

    A DataSource is an Interface. What the code gets from the jndi tree is some concrete object that
    the code doesn't need to know the name of, or anything specific about it, as long as it implements
    the DataSource Interface, which it successfully casts to, to allow calling the methods defined in the
    DataSource Interface. If you call for a plumber, you don't need to know his name as long as you
    can get a plumber, and can call the "Fix this leak" method, defined in the Plumber Interface.

  • Weblogic will encrypt the Data which are accesssed by using its Data Source

    The Connection Pool and Data Source created from Weblogic , will encrypt the data which are accessed by using this Data source and Connection Pool from the DB?
    If not how we can secure the data which are accessed from this Data Source?
    Bye
    Srinivasan

    The connection between WL and the database can be encrypted; your DBA needs to configure the encryption on the database and then you set properties in the connection pool.
    If you want to encrypt the data within the database, some databases can also do that.

  • Problem with finding data-source

    I get the following exception: javax.naming.NameNotFoundException: jdbc/localDatabaseDS not found
    when i try to initiate my ds (datasource). Does anybody know what to do?
    class =
    import java.sql.Connection;
    import java.sql.SQLException;
    import javax.sql.DataSource;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    import javax.naming.NameNotFoundException;
    * This class handles handles the connectionpool business <br>
    * @author Taeke de Jong
    public class DbConnectionPool {
    private DataSource ds = null;
    * constructor with datasource from JNDI
    public DbConnectionPool(String dataSource)
    try {
    Context context = new InitialContext();
    ds = (DataSource) context.lookup('jdbc/localDatabaseDS');
    catch(NameNotFoundException nox) {System.out.println(nox.toString());}
    catch(NamingException nex) {System.out.println(nex.toString());}
    web.xml =
    <servlet>
    <servlet-name>DbConnectionServlet_2</servlet-name>
    <servlet-class>minlnv.ifw.common.connection.DbConnectionServlet</servlet-class>
    <init-param>
    <param-name>databaseName</param-name>
    <param-value>localDatabase</param-value>
    </init-param>
    <init-param>
    <param-name>dataSource</param-name>
    <param-value>jdbc/localDatabaseDS</param-value>
    </init-param>
    <load-on-startup>2</load-on-startup>
    </servlet>
    <resource-ref>
    <description>JNDI DataSource localDatabase IFW</description>
    <res-ref-name>jdbc/localDatabaseDS</res-ref-name>
    <res-type>javax.sql.Datasource</res-type>
    <res-auth>APPLICATION</res-auth>
    </resource-ref>
    data-sources.xml =
    <data-source class="com.evermind.sql.DriverManagerDataSource"
    connection-driver="oracle.jdbc.driver.OracleDriver"
    ejb-location="jdbc/localDatabaseDS"
    inactivity-timeout="30"
    location="jdbc/localDataseCorDS"
    name="localDatabase"
    pooled-location="jdbc/localDatabasePooledDS"
    url="jdbc:oracle:thin:@10.160.140.30:1521:ifwt"
    // left out password and username
    min-connections="7" max-connections="10" connection-retry-interval="1" xa-location="jdbc/xa/OracleXADS"
    />

    Do not use the "hardcoded" examples from the book. Check the deployed data-sources and use them as parameter calling lookup method.
    The following have been tested using a simple servlet with Jdeveloper 9.0.5.2 but I think other Jdeveloper/OC4J versions work similar.
    My application is called ds.
    The following command lists the datasources which are deployed with the application.
    I ran the following command against the %JDEV_HOME%\j2ee\home standalone OC4J server but it should work against the embedded OC4J server too.
    Here is the command to list the available datasources:
    C:\jdev9052\j2ee\home>\jdk142_04\bin\java -jar admin.jar ormi://localhost admin welcome -application ds -dataSourceInfo
    And here is the output of the command.
    DataSource info:
    com.evermind.sql.DriverManagerXADataSource/ds/jdbc/xa/BookDBXADS - cached: 0 used: 0 total: 0
    com.evermind.sql.OrionPooledDataSource/ds/jdbc/BookDBPooledDS - cached: 0 used: 0 total: 0
    com.evermind.sql.OrionCMTDataSource/ds/jdbc/BookDBDS - cached: 0 used: 0 total: 0
    com.evermind.sql.DriverManagerXADataSource/ds/jdbc/xa/DEVXADS - cached: 0 used: 0 total: 0
    com.evermind.sql.OrionPooledDataSource/ds/jdbc/DEVPooledDS - cached: 1 used: 0 total: 1
    com.evermind.sql.OrionCMTDataSource/ds/jdbc/DEVDS - cached: 1 used: 0 total: 1
    ds = ds my application
    jdbc/DEVDS = string parameter used in lookup method
    jdbc/DEVPooledDS = string parameter used in lookup method
    Checking the j2ee application directory we can find the same:
    C:\>dir C:\jdev9052\j2ee\home\applications\ds\META-INF
    Volume in drive C has no label.
    Volume Serial Number is A83F-C94A
    Directory of C:\jdev9052\j2ee\home\applications\ds\META-INF
    08/12/2004 10:14 AM <DIR> .
    08/12/2004 10:14 AM <DIR> ..
    08/12/2004 10:14 AM 395 application.xml
    08/12/2004 10:14 AM 933 data-sources.xml
    08/12/2004 10:14 AM 283 orion-application.xml
    3 File(s) 1,611 bytes
    2 Dir(s) 10,078,003,200 bytes free
    The orion-application.xml points the data-sources.xml file in the same directory. ds application uses the datasources which are listed in this file, not data-sources.xml in C:\jdev9052\j2ee\home\config directory.
    And here is the content of C:\jdev9052\j2ee\home\applications\ds\META-INF\data-sources.xml
    C:\>more C:\jdev9052\j2ee\home\applications\ds\META-INF\data-sources.xml
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <!DOCTYPE data-sources PUBLIC "Orion data-sources" "http://xmlns.oracle.com/ias/dtds/data-sources.dtd">
    <data-sources>
    <data-source name="jdev-connection-BookDB" class="com.evermind.sql.DriverManagerDataSource" location="jdbc/BookDBCoreDS" x
    a-location="jdbc/xa/BookDBXADS" ejb-location="jdbc/BookDBDS" pooled-location="jdbc/BookDBPooledDS" connection-driver="oracle
    .jdbc.driver.OracleDriver" username="myname" password="mypw" url="jdbc:oracle:thin:@122.118.222.17:1521:DXX" inactivity-timeout
    ="30"/>
    <data-source name="jdev-connection-DEV" class="com.evermind.sql.DriverManagerDataSource" location="jdbc/DEVCoreDS" xa-loca
    tion="jdbc/xa/DEVXADS" ejb-location="jdbc/DEVDS" pooled-location="jdbc/DEVPooledDS" connection-driver="oracle.jdbc.driver.Or
    acleDriver" username="myname" password="mypw" url="jdbc:oracle:thin:@122.118.222.17:1521:DXX" inactivity-timeout="30"/>
    </data-sources>
    ...location="jdbc/DEVDS"
    or
    ...location="jdbc/BookDBPooledDS"
    The lookup method needs the string(s) above (between "")

  • How create animated power view reports using sharepoint list as a data source in sharepoint 2010?

    Hi All,
    I got a client requirement to create reports using SharePoint List as data source. The report should show reflection depends on values changed (I mean animation).
    I have heard about the power view/power pivot which does this kind of animations in reports.
    Can someone please guide me on creating reports which shows animations
    In power view/power pivot using SharePoint List as data source in SharePoint 2010.
    Thanks in advance.
    MercuryMan

    Hi MercuryMan,
    Yes, Power View, a feature of SQL Server 2012 Reporting Services Add-in for Microsoft SharePoint Server 2010 or SharePoint 2013 Enterprise Edition, is an interactive data exploration, visualization, and presentation experience.
    It provides multiple views featuring tiles, slicers, a chart filter, and a number of visualizations, including cards, small multiples, and a bubble chart. So, we can use Power View to do intuitive ad-hoc reporting for business users such as data analysts, business
    decision makers, and information workers.
    Currently, Power View report only supports two types of data models: PowerPivot Worksheet, and data models based on Analysis Services Tabular Model or Multidimensional Cube.
    In your scenario, you can create PowerPivot worksheets using SharePoint List as data source, deploy the PowerPivot worksheet to a SharePoint Library or PowerPivot Gallery, and then generate Power View reports based on the PowerPivot worksheets on the SharePoint
    site.
    To use SharePoint List as data source in Excel PowerPivot, you can refer to the following resource:
    http://blogs.technet.com/b/excel_services__powerpivot_for_sharepoint_support_blog/archive/2013/07/11/excel-services-using-a-sharepoint-list-as-a-data-source.aspx 
    http://technet.microsoft.com/en-us/library/hh230322.aspx 
    To create a Power View report based on PowerPivot model, you can refer to the following links:
    http://technet.microsoft.com/en-us/library/hh231522.aspx 
    http://technet.microsoft.com/en-us/library/hh759325.aspx 
    Regards,
    Mike Yin
    If you have any feedback on our support, please click
    here
    Mike Yin
    TechNet Community Support

  • BI Admin Tool and XSLT transformation for XML data source - How it works ?

    Hello,
    There is a possibility to import data from XML data source using BI Admin Tool.
    In the import window we can point XSLT file. What is the purpose of that XSLT field?
    Why I am asking ?
    I thought it is smth like XSLT processor, but simply it doesnt work.
    What I did:
    - I pointed XML data source file
    - I pointed XSLT transformation file
    - Click OK, and still get the message that the XML file structure is not supported
    After that I transformed that XML file with some desktop XSLT processor using the same XSLT file, and I tried to connect that file directly using BI Admin tool.Then it works. So it means that the transformation is ok.
    So basically one question comes to my mind in that situation:
    What is the purpose of XSLT field in BI Admin Tool when it comes to XML data source ?
    (it doesnt look like XSLT processor)
    Greetings
    /Michal

    Hi Mariano
    Why you need to use XSLT for transforming XML file into ABAP table
    Code is a part of some ABAP report. Looks like it is reading a file from file system and updating table after transformation
    If you have requirement like you need to read XML file and then insert the data into a SAP table
    You can use
    File to RFC
    File to Proxy scenario using SAP PI.
    Please provide more inputs on requirement to help
    Thanks
    Gaurav

  • Access enforcer and User Data Source for HR

    We are on Access Enforcer 5.2 - service pack 2:
    My problem is that when creating a new request in AE, I able to get a list of all users when I point my User Data Source to either SAP or UME. However when I attempt to create a request whilst pointing the User Data Source at the SAPHR system, I do not get any users back (and we have user set up in the SAP HR system).
    I’ve changed the connector to ‘YES’ under the HR System box, I’ve changed the Data Source Type and Details Source Type to point at the SAPHR and still it fails to fetch any users.
    I've tried looking at the log, but can't get much out of it.
    I would appreciate it, if anyone could provide any assistance.
    Thanks you in advance.
    Amarjit
    Message was edited by:
            amarjit singh

    Hi Micheal,
    Thanks for your reply.
    I'm pointing both Data Source Type and Details Source Type to the same system SAPHR and to the same system name (which is our dev system)
    Regards,
    Amarjit

  • Column Modification impact to Data foundation, Business layer and Data source in DS 1.2

    Issue
    An existing Business Layer that is consumed by a Data Source definition in Design Studio 1.2 Version: 12.0.2.201311041742 seems to invalidate the entire Data Source object after modification to the base tables DDL (data definition).  Information Design Tool used is Information Design Tool 4.1, Build:14.1.1.1036, Version: 4.1 Support Pack 1.
    Background
    A modification was needed a base tables DDL (data definition).  Specifically a column that stores the Date value as a varchar needed to update to a Date data type.  After the modification was completed the Data Foundation and Business Layer in the Information Design Tool (IDT) needed
    modification as well to reflect the updated column data type.  Refreshing the Data Foundation and/or the Business Layer did not update the column Data Type.  The step of dropping and re-inserting the updated table in the Data Foundation and subsequently the Business Layer updated
    the expected columns Data Type as expected. All the existing Data Source definitions that were in use throughout the application (Design Studio) were invalidated causing the following error after the DDL update.
    After rebuilding the Data Source definition in Design Studio, the issue was no longer there however, the existing Data Sources were still non-functional and were subsequently deleted.
    In Sum
    Is there another way to make changes to the base table(s) without negatively impacting the Data Foundation (IDT)àBusiness Layer (IDT)àData Source Definition (Design Studio) to the point where Data Sources on the Design Studio have to be redone preceded with similar effort at the IDT level?  Is there a step(s) that I missed?
    Any insight would be appriciated.
    Regards,
    Kris

    Hi Kris - it looks like you have not downloaded the latest SP's for Design Studio 1.2
    http://service.sap.com/sap/support/notes/1954748
    I recall in late May SAP issues SP2, and earlier in the year they issued SP1 - could you apply both SP's, client-side and platform-side?

  • Data Source Target/Untarget

    Hi,
    Is there any way to find out if one of the Data Source created on weblogic serve is untargetted to the managed servers configured there?
    How to check when it was untargetted from the managed servers ?

    Hii,
             You can check on in the weblogic console.
    Click on the datasource and check the target tab to find out  target details of the datasource i.e to which managed server data source is targeted.
    Regards,
    Abdul

  • BAM Data Source and deployment setting in weblogic

    like In db adapter we need to create datasource and deployment plan in weblogic. what I want to know is this same process is valid for BAM adapter also? If yes, what we will specify in baam data source (What configuration i need to give).
    one more thing i noticed that, Outbound connection pool option is also not coming under BAM configuration
    Please help!!
    Thanks,

    hello,
    For BAM related settings are out of the box in web-logic server,here below points are describes steps to setup the Datasource whatever you call;
    1. In the Settings for oracle-bam-adapter page, select the Configuration tab, and then the Outbound Connection Pools tab.
    2. Configure the connection factory interface that you intend to use in Oracle JDeveloper, by expanding the appropriate Group and Instance target and clicking the Java Naming and Directory Interface (JNDI) name.
    3.     To configure the connection factory for RMI-based calls, click to expand the oracle.bam.adapter.adc.RMIConnectionFactory group and select the JNDI name that the user uses in Oracle JDeveloper. The eis/bam/rmi connection factory is provided out of the box.
    4.     To configure the connection factory for SOAP-based calls, click to expand the oracle.bam.adapter.adc.SOAPConnectionFactory group and select the JNDI name that the user uses in Oracle JDeveloper. The eis/bam/soap connection factory is provided out of the box.
    Hostname : local host (host name of BAM server)
    Instance Name: ADCServer1 (default for RMI)
    Password : welcome1 (password of BAM server)
    Port Number : 9001(port number of BAM server)
    Username : weblogic (user name of BAM server)
    5. after saving it need to re-deploy OracleBAMAdaper, In deployments select OracleBAMAdapter click Update button.
    I hope these steps are helpful.
    PS Outbound connection pool option is also not coming under BAM configuration -- for this check BAM server is running or not or any other BAM server installation or ect.
    Thanks
    Siva Sankar
    TechDemocracy

  • Error when deploying JDBC file data source for J2EE agent in weblogic

    Hi ODI experts!
    we're using ODI 11g and we've installed J2EE agents on weblogic. We need to configure a connection pool within weblogic for a file data source. Thus, we've added snpsFile.jar (that was shipped with ODI 10g...) to the weblogic config so that we can configure a JDBC connection to file.
    As we validate the config, an error occurs (see below):
    Obviously, driver is found but cannot be deployed.
    ####<4 août 2011 09 h 39 CEST> <Error> <Deployer> <ppdlodi001> <SRVPPDODI_001> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <c53bfd6260db74bb:-485a441a:13193b42397:-7ffc-0000000000000027> <1312443551325> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1312443550020' for task 'weblogic.deploy.configChangeTask.6'. Error is: 'weblogic.application.ModuleException: '
    weblogic.application.ModuleException:
    at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:290)
    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
    at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:508)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:149)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:47)
    at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:1223)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
    at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:367)
    at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:43)
    at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:208)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:749)
    at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:218)
    at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:160)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.prepare(DeploymentReceiverCallbackDeliverer.java:41)
    at weblogic.deploy.service.internal.statemachines.targetserver.AwaitingContextUpdateCompletion.callDeploymentReceivers(AwaitingContextUpdateCompletion.java:164)
    at weblogic.deploy.service.internal.statemachines.targetserver.AwaitingContextUpdateCompletion.handleContextUpdateSuccess(AwaitingContextUpdateCompletion.java:66)
    at weblogic.deploy.service.internal.statemachines.targetserver.AwaitingContextUpdateCompletion.contextUpdated(AwaitingContextUpdateCompletion.java:32)
    at weblogic.deploy.service.internal.targetserver.TargetDeploymentService.notifyContextUpdated(TargetDeploymentService.java:225)
    at weblogic.deploy.service.internal.DeploymentService$1.run(DeploymentService.java:190)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused By: weblogic.common.ResourceException: com.sunopsis.jdbc.driver.file.a.i
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:263)
    at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1193)
    at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1117)
    at weblogic.common.resourcepool.ResourcePoolImpl.start(ResourcePoolImpl.java:244)
    at weblogic.jdbc.common.internal.ConnectionPool.doStart(ConnectionPool.java:1110)
    at weblogic.jdbc.common.internal.ConnectionPool.start(ConnectionPool.java:147)
    at weblogic.jdbc.common.internal.ConnectionPoolManager.createAndStartPool(ConnectionPoolManager.java:386)
    at weblogic.jdbc.common.internal.ConnectionPoolManager.createAndStartPool(ConnectionPoolManager.java:326)
    at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:254)
    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
    at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:508)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:149)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:47)
    at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:1223)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
    at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:367)
    at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:43)
    at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:208)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:749)
    at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:218)
    at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:160)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.prepare(DeploymentReceiverCallbackDeliverer.java:41)
    at weblogic.deploy.service.internal.statemachines.targetserver.AwaitingContextUpdateCompletion.callDeploymentReceivers(AwaitingContextUpdateCompletion.java:164)
    at weblogic.deploy.service.internal.statemachines.targetserver.AwaitingContextUpdateCompletion.handleContextUpdateSuccess(AwaitingContextUpdateCompletion.java:66)
    at weblogic.deploy.service.internal.statemachines.targetserver.AwaitingContextUpdateCompletion.contextUpdated(AwaitingContextUpdateCompletion.java:32)
    at weblogic.deploy.service.internal.targetserver.TargetDeploymentService.notifyContextUpdated(TargetDeploymentService.java:225)
    at weblogic.deploy.service.internal.DeploymentService$1.run(DeploymentService.java:190)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Thanks in advance for your help.
    Fredd.

    Hi!
    Some information: I found this website [http://gerardnico.com/doc/odi/webhelp/en/refmanual/connexion/jdbcdriversample.htm] explaining that the 'old' snpsFile.jar driver was deprecated and that a new one was existing... but I can't find it anywhere!
    My questions are:
    - Can the problem (original problem. See initial post) be due to driver version?
    - Does someone know where to find this 'new' driver?
    Thanks for your help.
    Fredd.
    Edited by: fredd2 on Aug 5, 2011 10:04 AM
    Edited by: fredd2 on Aug 5, 2011 10:07 AM

Maybe you are looking for