DataSource setRepo WebLogic 9.2 DB 9.5

IdM 7.1 (20070523)
WebLogic 9.2
JDK 1.5
Repository - DB2 9.5
I read the manual. Supported versions are 7.X 8.1 and 8.2. My client has 9.5 and does not want to go to an earler version.
setRepo Command
lh setRepo -tDataSource -icom/sun/jndi/fscontext/RefFSContextFactory.class -f jdbc/idm
C:\STAGE71\bin>lh setRepo -tDataSource -icom/sun/jndi/fscontext/RefFSContextFactory.class -f jdbc/idm
Starting internal database server ...
DB Server @ jdbc:hsqldb:hsql://127.0.0.1:43237/idm
javax.naming.NoInitialContextException: Cannot instantiate class: com/sun/jndi/fscontext/RefFSContextFactory.class
[Root exception is java.lang.ClassNotFoundException: com/sun/jndi/fscontext/RefFSContextFactory.class]
Failed to load JDBC DataSource 'jdbc/idm':
==> javax.naming.NoInitialContextException: Cannot instantiate class: com/sun/jndi/fscontext/RefFSContextFactory.class
com/sun/jndi/fscontext/RefFSContextFactory.class is in the fscontext.jar file.
The fscontext.jar file is in $WSHOME/lib.
I also explicity set the CLASSPATH placing the fscontext.jar file at the beginning of the CLASSPATH.
We suspect the ClassNotFoundException is not the root cause. I am looking for ideas and comments on my setRepo command above. I have setRepo examples from working WebLogic implementations I have done. My setRepo command is based on those working examples. Thanks in advance. Mike

We have had experience with the 5 license temp in the past.
Basically, if there are 5 unique IP addresses accessing any of the web logic based applications (planning,workspace, etc..). It will not allow a 6th to communicate with the backend. You'll receive some sort of 404 web error, I don't recall the error number. But it's pretty vague. You have to do some digging to determine the issue.....
If you are aware of this restriction, and you will only have a couple of users accessing the DEV/QA environment, then I don't see why it wouldn't be an issue....
But in that case, why not just run the packaged tomcat provider? For only a handful of users, I don't think the performance gained by running WebLogic would be that big. Just my opinion........
Nate

Similar Messages

  • Different Options while creating a Datasource in Weblogic

    Hi
    I am using Weblogic 11 as Application Server .
    While in the process of creating a DataSource in Weblogic , i came across different options such as for Instance Connections , for Service Connections.
    Please tell me whats the difference in these two ??
    Whats the difference in Oracle Drivers (Thin) for Instance Connections versions 9 , 10 , 11
    Whats the difference in Oracle Drivers (Thin) for Service Connections 9 , 10 , 11
    Thanks in advance .

    Hi,
    Your query is replied by Joe Weistine (JDBC Expert) Please find the answer:
    http://forums.oracle.com/forums/message.jspa?messageID=4029371
    You can directly post your JDBC related querries to JDBC Forum directly to get to get Quick/appropriate/correct answers and attention from JDBC experts... WebLogic Server - JDBC (Forum ID)
    Thanks
    Jay SenSharma
    Edited by: Jay SenSharma on Jan 16, 2010 10:38 AM

  • Can  not connect datasource in weblogic server

    I have written a test class. I create datasource in weblogic server 11g(datasource name =fdbusionline jndi name = 'jdbc/fdbusionline' ) and start weblogic server. but always report the following error:
    javax.naming.NameNotFoundException: Unable to resolve 'fdbusionline'. Resolved '' [Root exception is javax.naming.NameNotFoundException: Unable to resolve 'fdbusionline'. Resolved '']; remaining name 'fdbusionline'
    at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)
    at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
    at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
    at weblogic.jndi.internal.ServerNamingNode_1035_WLStub.lookup(Unknown Source)
    at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:423)
    at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:411)
    at com.fd.busionline.test.appinterface.impl.DataSourceTest.testConnectDataSource(DataSourceTest.java:54)
    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:597)
    at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
    at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
    at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
    at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
    at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
    at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:73)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:46)
    at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180)
    at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41)
    at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173)
    at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
    at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
    at org.junit.runners.ParentRunner.run(ParentRunner.java:220)
    at oracle.jdevimpl.junit.runner.junit4.JUnit4Testable.run(JUnit4Testable.java:24)
    at oracle.jdevimpl.junit.runner.TestExecution.run(TestExecution.java:27)
    at oracle.jdevimpl.junit.runner.JUnitTestRunner.main(JUnitTestRunner.java:88)
    Caused by: javax.naming.NameNotFoundException: Unable to resolve 'fdbusionline'. Resolved ''
    at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139)
    at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:252)
    at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:182)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206)
    at weblogic.jndi.internal.RootNamingNode_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)
    at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
    at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    @test
    public void testConnectDataSource(){
    Connection conn = null;
    Context ctx = null;
    try{
    // Hashtable env = new Hashtable();
    // env.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
    // env.put(Context.PROVIDER_URL, "t3://localhost:7001");
    // env.put(InitialContext.SECURITY_PRINCIPAL, "weblogic");
    // env.put(InitialContext.SECURITY_CREDENTIALS, "!QAZ2wsx");
    Environment env=new Environment();
    env.setProviderUrl("t3://localhost:7001");
    env.setSecurityPrincipal("weblogic");
    env.setSecurityCredentials("!QAZ2wsx");
    ctx = new InitialContext();
    ctx=env.getInitialContext();
    Object obj = ctx.lookup("fdbusionline");// can not work
    Object obj = ctx.lookup("jdbc/fdbusionline"); // can not work
    DataSource ds = (DataSource) PortableRemoteObject.narrow(obj, DataSource.class);
    conn = ds.getConnection();
    Statement stmt = conn.createStatement();
    String sql = "select sysdate from dual";
    ResultSet rs = stmt.executeQuery(sql);
    while (rs.next()) {
    System.out.println(rs.getDate(1));
    } catch (Exception e) {
    e.printStackTrace();
    }finally{
    System.out.println("Test Datasource Connection");
    who can help me? Any help will be appreciated greatly

    Okay, but are you sure that the datasource is actually deployed? Does the server log or the management interface of weblogic actually report that the datasource was deployed succesfully under the name you specify? And did you double check if you don't have any name mismatches (such as a typo or an upper/lowercase mismatch)?
    I ask because the connection to the server appears to be working, but the lookup of the name gives no results - the only thing I can think of is that the resource really is not deployed even if you believe it is.
    A few observations:
    - you may want to put your JNDI credentials in a jndi.properties file in the root of the classpath in stead of hardcoding them (but you may hardcode for now as a quick test of course)
    - the correct lookup should be to "jdbc/fdbusionline", in other words you use the jndi-name.
    ctx = new InitialContext();
    ctx=env.getInitialContext();the env.getInitialContext() really is not necessary, I would remove it.

  • Creating txn datasource in weblogic 10.3

    Hi,
    Can anyone help me to create transactional datasources in weblogic 10.3. We are migrating our application from 8.1 to 10.3 and migrated existing datasources to 10.3. While executing ejb's it is giving the following error.
    java.sql.SQLException: Connection has already been created in this tx context for pool named <Pool 1> Illegal attempt to create connection from another pool: <Pool 2>
    In 8.1, we have only one connection pool associated with many txn datasources. In 10.3 created separate pool for each data source from same DB with following properties for txn.
    --Supports global transaction with one-phase commit.
    Used oracle.jdbc.OracleDriver driver class.
    Thanks in advance.

    You need to use an XA driver to span multiple resources such as oracle.jdbc.xa.client.OracleXADataSource
    See this article, which has some info on XA even if you aren't using RAC
    http://www.oracle.com/technology/products/weblogic/OracleWLS_RAC.pdf

  • Connecting to TimesTen using DataSource in WebLogic on Linux

    We are trying to use weblogic 9.2 to connect to TimesTen7.0, both are on Linux.
    We have installed Oracle 10g client and then installed TimesTen 7.0 Client on the Linux server hosting weblogic.
    Created Client DSN in /var/TimesTen/sys.odbc.ini file as follows:
    [ODBC Data Sources]
    TTclientMaster=TimesTen 7.0 Client Driver
    [TTclientMaster]
    TTC_SERVER="TTServerHostName"
    TTC_SERVER_DSN=TTmaster
    When we are trying to create DataSource in weblogic Admin console it does not show up TTClient Driver in the list.
    We tried setting up using "Others" for driver and databasetype but then it asks for databasename which we don't have since TT uses DSN.
    We are looking for any pointers or references that can explain how to configure weblogic to use TimesTen using TT 7.0 client DSN.

    If you have access to a copy of TimesTen 6.0 you can look in the AppServer Configuration Guide (appsrv.pdf) that was shipped with that release. This guide is currently being rewritten and so is not yet available for 7.0.
    If you can't get hold of a copy, e-mail me at [email protected] and I'll send it to you.
    Chris

  • Creating JDBC datasource in Weblogic 10

    I have a requirement to create JDBC datasource at runtime if necessary. Weblogic provides JMX services for creating datasource however this required credential of Admin Server (node manager).
    As my application is deployed in one of the managed node and as per the security policies admin credential will not be available..
    so how can I create a datasource at runtime on fly applicable only for my node.. this should not require admin credentials?
    Edited by: user5798282 on Apr 28, 2010 12:50 PM

    Thanks for your reply. However both seems to be way of creating datasource in weblogic 8 . The first one is deprecated in Weblogic 10, the 2nd one requires weblogic admin username and password

  • EBS datasource in WebLogic cluster using the EBS dbc file

    Hi All
    Please let me know if someone has successfully created EBS datasource in WebLogic cluster using the EBS dbc file.
    I have successfully created the datasource with one managed server but I am getting 'OAuth Mashaling Failure' error while adding the second managed server to this datasource.
    Thanks

    Thanks Hussein
    Here is the complete error:
    [wlst] Caused by: weblogic.common.ResourceException: weblogic.common.ResourceException: OAUTH marshaling failure
    [wlst] at weblogic.jdbc.common.internal.PooledConnectionEnvFactory.createResource(PooledConnectionEnvFactory.java:133)
    [wlst] at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1249)
    [wlst] at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1166)
    [wlst] at weblogic.common.resourcepool.ResourcePoolImpl.start(ResourcePoolImpl.java:249)
    [wlst] at weblogic.jdbc.common.internal.ConnectionPool.doStart(ConnectionPool.java:1154)
    [wlst] at weblogic.jdbc.common.internal.ConnectionPool.start(ConnectionPool.java:154)
    [wlst] at weblogic.jdbc.common.internal.ConnectionPoolManager.createAndStartPool(ConnectionPoolManager.java:454)
    [wlst] at weblogic.jdbc.common.internal.ConnectionPoolManager.createAndStartPool(ConnectionPoolManager.java:372)
    [wlst] at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:255)

  • Adding an XE DataSource in WebLogic 10gR3

    I have Oracle 10g XE installed on my Windows XP Pro box. It is runing on port 17969.
    I am trying to add a dataSource in Weblogic 10gR3 Server. I tripled checked the port, IP and all other parameters. I have also checked the TNSListener for the correct SID and port, etc. Everything looks correcct. I can log into the Oracle dB thru it's home page.
    Can someone please take a look at my stack trace and offer advice as to what is wrong between the Weblogic Server and the Oracle dB? Thanks. Phil
    When I click to test the configuration, this is the error that I see:
    Connection test failed.
    Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor The Connection descriptor used by the client was: higgled.dnsalias.com:17969:XE
    oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
    oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:112)
    oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:173)
    oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:460)
    oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:411)
    oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:490)
    oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:202)
    oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:33)
    oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:474)
    com.bea.console.utils.jdbc.JDBCUtils.testConnection(JDBCUtils.java:505)
    com.bea.console.actions.jdbc.datasources.createjdbcdatasource.CreateJDBCDataSource.testConnectionConfiguration(CreateJDBCDataSource.java:369)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:597)
    org.apache.beehive.netui.pageflow.FlowController.invokeActionMethod(FlowController.java:870)
    org.apache.beehive.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:809)
    org.apache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:478)
    org.apache.beehive.netui.pageflow.PageFlowController.internalExecute(PageFlowController.java:306)
    org.apache.beehive.netui.pageflow.FlowController.execute(FlowController.java:336)
    ...

    I have Oracle 10g XE installed on my Windows XP Pro boxlog onto system above as the OS user which owns the Oracle software (oracle?)
    open a command window & issue the following commands
    lsnrctl status
    lsnrctl service
    post back here the commands above & output from them
    post the last 30 - 40 lines from listener.log

  • Can't find the J2EE Application JDBC Module Datasource in Weblogic

    Hello,
    I am trying to locate the JDBC Module J2EE application Datasource details in weblogic but I cant find it.
    Can someone help me where I can find any Mbean in Weblogic which will specify all the details about the DataSource.
    You can see in the image that under deployment I have an application which has Data source(saasreporef).
    I have already discovered this target in one of my agent and I want to locate some Mbean which can give me details about this Datasource in Weblogic.

    I've solved it myself. It changed to NWDS from the Visual Administrator. It can be undepolyed using undepoly view in the NWDS.
    I can find the answer using keword 'Deploying and Running the Application from NWDS' in the help portal.

  • XE Datasource for Weblogic 10.3?

    Am attempting to create a XE JDBC datasource for WebLogic 10.3.
    Where do I find the driver for this database?
    Are there any 'tricks' to configuring this datasource?
    THANKS - Casey

    The Oracle JDBC drivers supplied with WebLogic 10.3 are for Oracle 11 and compatible with Oracle 10. Oracle XE is a stripped down Oracle 10.2. Therefore no need to install the Oracle XE specific JDBC drivers.
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Unable to resolve JNDI DataSource in weblogic 12c When you upgrade web application

    I create a datasource which jndi name is jdbc/allianzB2CDataSource and the target is AdminServer ,and i deploy a web application in AdminServer.In that web application,the code(base on spring framework) is:
    public static DataSource getJndiDataSource(String name) {
      JndiDataSourceLookup dsLookup = new JndiDataSourceLookup();
      Properties jndiEnvironment = new Properties();
      jndiEnvironment.put("java.naming.factory.initial",
      "weblogic.jndi.WLInitialContextFactory");
      dsLookup.setJndiEnvironment(jndiEnvironment);
      try {
      dsLookup.setResourceRef(false);
      return dsLookup.getDataSource(name);
      } catch (Exception e) {
      dsLookup.setResourceRef(true);
      return dsLookup.getDataSource(name);
    And the parameter is jdbc/allianzB2CDataSource,everything work fine,but when i restart or upgrate the web application,i got the error like this:
    javax.naming.NameNotFoundException: Unable to resolve 'jdbc.allianzB2CDataSource'. Resolved 'jdbc'; remaining name 'allianzB2CDataSource'
    Unable to resolve 'jdbc.allianzB2CDataSource'. Resolved 'jdbc'; remaining name 'allianzB2CDataSource'

    I create a datasource which jndi name is jdbc/allianzB2CDataSource and the target is AdminServer ,and i deploy a web application in AdminServer.In that web application,the code(base on spring framework) is:
    public static DataSource getJndiDataSource(String name) {
      JndiDataSourceLookup dsLookup = new JndiDataSourceLookup();
      Properties jndiEnvironment = new Properties();
      jndiEnvironment.put("java.naming.factory.initial",
      "weblogic.jndi.WLInitialContextFactory");
      dsLookup.setJndiEnvironment(jndiEnvironment);
      try {
      dsLookup.setResourceRef(false);
      return dsLookup.getDataSource(name);
      } catch (Exception e) {
      dsLookup.setResourceRef(true);
      return dsLookup.getDataSource(name);
    And the parameter is jdbc/allianzB2CDataSource,everything work fine,but when i restart or upgrate the web application,i got the error like this:
    javax.naming.NameNotFoundException: Unable to resolve 'jdbc.allianzB2CDataSource'. Resolved 'jdbc'; remaining name 'allianzB2CDataSource'
    Unable to resolve 'jdbc.allianzB2CDataSource'. Resolved 'jdbc'; remaining name 'allianzB2CDataSource'

  • How to use jndi datasource on Weblogic instead of adding a DB data source

    Hi All,
    version: 11.1.1.4
    I am trying to figure out how in my ADF applications I can use an existing jndi datasource out on our weblogic servers instead of having to bury the Database db source in my adf applications. Like SOA I would like to reference the DB directly during design so I can pull in entities and build view objects, but when I deploy I want it to reference the jndi datasource out on the weblogic server.
    Is this possible? If so I am not sure how to configure it like I would a DB adapter in SOA.
    As always appreciate the info.
    Thanks,
    S

    If you use ADF in the model layer (application modules) you can configure them to use JNDI Datasources. Just right click on the application module and select 'Configurations...'. In the next dialog you see all the configurations currently available (one named xxxxxlocal and one named xxxxxshared at least). Select the local and hit the edit button. This open the DB connect dialog where you can change the connection from JDBC URL to JDBC Datasource (JNDI). Save your work and when you now start the app it will use the JNDI name.
    Timo

  • Use DataSource of weblogic in a standalone Java file

    Hi,
    We have a requirement to run a java file at a scheduled time in a day using cron scheduler on our linux server.
    We need to fetch data from the database & perform some business logic in this standalone JAVA file.
    Our application has an EAR which is deployed on Weblogic 10.3 server & in our application, we are utilizing the datasource created in that domain using Hibernate.
    Now, can we create a standealone Java file & use exisitng datasource (without Hibernate) instead of legacy JDBC code to connect to DB.
    Also, do we need to keep this JAVA file a part of this EAR, WAR or can we put the class file in anylocation outside this EAR & then utilize datasource feature.
    Please help on the same in implementation.
    Thanks,
    Uttam

    Hi Ravi,
    I did create Datasource domain & put wlclient.jar in my application classpath (Add jar in Java Build path of application), but, when I ran application, its giving below error
    Exception in thread "Main Thread" java.lang.NoClassDefFoundError: weblogic/kernel/KernelStatus
         at weblogic.jndi.Environment.<clinit>(Environment.java:78)
         at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
         at javax.naming.InitialContext.init(InitialContext.java:223)
         at javax.naming.InitialContext.<init>(InitialContext.java:198)
         at TestDataSource.main(TestDataSource.java:37)
    Also, I'm putting code here as I there is no provision to attach the file here. Please let me know whats wrong here.
    Also, I've given the name of datasource as testDataSource through Admin console of the domain. Do we need to prefix the name with jdbc/ in the code or without that also it works?
    import java.sql.Connection;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.sql.Statement;
    import java.util.Hashtable;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    import javax.sql.DataSource;
    public class TestDataSource {
         public static void main(String[] args)
              DataSource ds=null;
              Connection conn=null;
              Statement stmt=null;
              ResultSet rs=null;
              Context ctx=null;
              try
                   Hashtable ht = new Hashtable();
                   ht.put(Context.INITIAL_CONTEXT_FACTORY,
                   "weblogic.jndi.WLInitialContextFactory");
                   ht.put(Context.PROVIDER_URL,
                   "t3://172.19.244.180:7001");
                   System.out.println("HERE");
                   ctx=new InitialContext(ht);
                   ds=(DataSource)ctx.lookup("jdbc/testDataSource");
                   System.out.println("HERE AFER CONTEXT CREATION");
                   conn=ds.getConnection();
                   stmt=conn.createStatement();
                   rs=stmt.executeQuery("select distinct(circle) from AIRCEL_STORE_FINDER order by 1 ");
                   while (rs.next())
                        System.out.println("circle name "+rs.getString(1));
              }catch (Exception e) {
                   System.out.println("Error in Main "+e.toString());
                   e.printStackTrace();
              finally{
                   try{
                   if(rs!=null)
                        rs.close();
                   if(stmt!=null)
                        stmt.close();
                   if(conn!=null)
                        conn.close();
                   if(ds!=null)
                        ds=null;
                   if(ctx!=null)
                        ctx.close();
                   }catch (SQLException e) {
                        System.out.println("Error in SQLException Finally "+e.toString());
                   catch (NamingException e) {
                        System.out.println("Error in NamingException Finally "+e.toString());
    }

  • Regarding datasource in weblogic server

    Hi All,
    while creating datasource i am getting the following error
    An error occurred during activation of changes, please see the log for details.
    weblogic.application.ModuleException:
    weblogic.common.ResourceException: Could not create pool connection. The DBMS driver exception was: invalid arguments in call
    i am connecting to oracle server and i am giving all The
    details eventhough i am getting exception
    i am using weblogic 10.0 version
    please help me as soon as possible
    thanks in advance'
    tirumal

    I am getting the same error as he is getting with Weblogic Server 10.0 MP1. We are going from Version 7.0 to 10 :
    I am configuring an Oracle Data Source from the console.
    I selected Other for Oracle driver
    I specify the following driver: oracle.jdbc.driver.OracleDriver.
    I test the new jdbc configuration and I get a successful Connection test.
    When I then assign it to my AdminServer and activate the changes is when I get the same error:
    weblogic.common.ResourceException: Could not create pool connection. The DBMS driver exception was: invalid arguments in call.
    I go to the \pending\jdbc\CtTxDataSource-3770-jdbc.xml
    Below is what the JDBC Datasource Configuration built:
    <?xml version='1.0' encoding='UTF-8'?>
    <jdbc-data-source xmlns="http://www.bea.com/ns/weblogic/90" xmlns:sec="http://www.bea.com/ns/weblogic/90/security" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wls="http://www.bea.com/ns/weblogic/90/security/wls" xsi:schemaLocation="http://www.bea.com/ns/weblogic/920 http://www.bea.com/ns/weblogic/920.xsd">
    <name>CtTxDataSource</name>
    <jdbc-driver-params>
    <url>jdbc:oracle:thin:@oims-npe-dev1:1521:oimsdev1</url>
    <driver-name>oracle.jdbc.driver.OracleDriver</driver-name>
    <password-encrypted>{3DES}oKK0HLMQ9oRN05wfBXY7sQ==</password-encrypted>
    </jdbc-driver-params>
    <jdbc-connection-pool-params>
    <test-table-name>SELECT * FROM APP</test-table-name>
    </jdbc-connection-pool-params>
    <jdbc-data-source-params>
    <jndi-name>CtTxDataSource</jndi-name>
    <global-transactions-protocol>EmulateTwoPhaseCommit</global-transactions-protocol>
    </jdbc-data-source-params>
    </jdbc-data-source>
    It didn't put in the <property> defining user logon and the database which I provided when I ran thru the configuration steps. Is this a bug on the 10.0 mp1 version of Weblogic? I had to manually add the property values to make it work. The same occurred when I configured a DB2 for ZOS.
    Thanks.

  • Error while creating Datasource in Weblogic 9.2

    Hi
    I have supplied all the connection pool parameters and all and in the last step of deploying the datasouce on a server in the targets section when I am getting the below error
    Bean already exists: "weblogic.j2ee.descriptor.wl.JDBCPropertyBeanImpl@176f6ab6([sybasePool]/JDBCDriverParams/Properties/Properties[user])"
    Could any one please suggest.
    I already tried deleting the datasource and starting afresh, but I am still facing the problem

    Hi phani_sridhar,
    It's possible you have a duplicate item mapped in your weblogic.xml file.

Maybe you are looking for

  • Funny align problem....

    Link to online page : http://www.episodesoft.com/demo/index_fr.html Hello. I have a funny probleme dealing with alignment when you must have a webpage that can resize itself depending of the screen resolution. i know i am not a pro, but this is kindr

  • Playlist creator for mp3s and wma's

    I wrote the following pretty quickly this morning to traverse a directory and it's child directories to look for any mp3/wma files in that directory and make a windows media m3u playlist (basically, the file names separated by newlines). I thought I'

  • Mantain state of hide show region

    hi to all, have someone been able to modify hide / show region to mantain state? This would be a great and if nobody has found a way, this would be really nice to have in next apex release. thanx

  • Using POP Mail With Two Macs?

    Is it possible to use two Macs with Apple Mail? I use Mail on my iMac, and I would like to set it up on my PowerBook as well. The only problem is accessing the same mail on both computers. It seems like if I were to open a message, it would store it

  • Gstreamer, the easy way

    Since I like to have a way to install all gstreamer packages, I thought others might like to have them all displayed and formatted for a quick installation. All you need is current and extra repo's pacman -Sy gstreamer0.10 gstreamer0.10-a52dec gstrea