Problem with creating Connection pool and JNDI, driver is not detected

Hi,
I have an issue with creating Connection Pool and JNDI.
I'm using:
- JDK 1.6
- OS: Linux(ubuntu 8.10)
- Netbeans IDE 6.5.1
- Java EE 5.0
- Apache Tomcat 6.0.18 Its lib directory contains all necessary jar files for Oracle database driver
- Oracle 11g Enterprise
My problem is that the Oracle database driver is not detected when I want to create a pool (it works pretty well and is detected without any problem when I create ordinary connection by DriverManager)
Therefore after running:
InitialContext ic = new InitialContext();
Context context = (Context)ic.lookup("java:comp/env");
DataSource dataSource = (DataSource)context.lookup("jdbc/oracle11g");
Connection connection = dataSource.getConnection();and right after dataSource.getConnection() I have the following exception:
org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot load JDBC driver class 'oracle.jdbc.OracleDriver'
at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1136)
at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:880)
at servlets.Servlet1.doPost(Servlet1.java:47)
at servlets.Servlet1.doGet(Servlet1.java:29)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at sun.misc.Launcher$ExtClassLoader.findClass(Launcher.java:229)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1130)
... 17 more
My application context file (context.xml) is:
<?xml version="1.0" encoding="UTF-8"?>
<Context path="/WebApplication3">
  <Resource auth="Container"
                  driverClassName="oracle.jdbc.OracleDriver"
                  maxActive="8"
                  maxIdle="4"
                  name="jdbc/oracle11g"
                  username="scott"
                  password="tiger"
                  type="javax.sql.DataSource"
                  url="jdbc:oracle:thin:@localhost:1521:database01" />
</Context>and my web.xml is:
    <resource-ref>
        <description>Oracle Datasource example</description>
        <res-ref-name>jdbc/oracle11g</res-ref-name>
        <res-type>javax.sql.DataSource</res-type>
        <res-auth>Container</res-auth>
    </resource-ref>
...I found similar threads in different forums including sun, such as
http://forums.sun.com/thread.jspa?threadID=567630&start=0&tstart=0
http://forums.sun.com/thread.jspa?threadID=639243&tstart=0
http://forums.sun.com/thread.jspa?threadID=5312178&tstart=0
, but no solution.
As many suggest, I also tried to put context directly in the server.xml (instead of my application context) and referencing it by <ResourceLink /> inside my application context but it didn't work and instead it gave me the following message:
org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '   ' for connect URL 'null'
Has anyone succeeded in creating a connection pool with JNDI by using Tomcat 6 or higher ? If yes, could kindly explain about the applied method.
Regards,

Hello again,
Finally I managed to run my application also with Tomcat 6.0.18. There was only two lines that had to be modified
in the context.xml file (the context of my application project and not server's)
Instead of writing
<Context antiJARLocking="true" path="/WebApplication2">
    type="javax.sql.DataSource"
    factory="org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory"
</Context>we had to write:
<Context antiJARLocking="true" path="/WebApplication2">
    type="oracle.jdbc.pool.OracleDataSource"
    factory="oracle.jdbc.pool.OracleDataSourceFactory"
</Context>- No modification was needed to be done at server level (niether server.xml nor server context.xml)
- I just added the ojdbc6.jar in $CATALINA_HOME/lib (I didn't even need to add it in WEB-INF/lib of my project)
- The servlet used to do the test was the same that I presented in my precedent post.
For those who have encountered my problem and are interested in the format of the web.xml and context.xml
with Tomcat 6.0, you can find them below:
Oracle server: Oracle 11g Enterprise
Tomcat server version: 6.0.18
Oracle driver: ojdbc.jar
IDE: Netbeans 6.5.1
The context.xml file of the web application
<?xml version="1.0" encoding="UTF-8"?>
<Context antiJARLocking="true" path="/WebApplication2">
    <Resource name="jdbc/oracle11g"
              type="oracle.jdbc.pool.OracleDataSource"
              factory="oracle.jdbc.pool.OracleDataSourceFactory"
              url="jdbc:oracle:thin:@localhost:1521:database01"
              driverClassName="oracle.jdbc.OracleDriver"
              userName="scott"
              password="tiger"
              auth="Container"
              maxActive="100"
              maxIdle="30"
              maxWait="10000"
              logAbandoned="true"
              removeAbandoned="true"
              removeAbandonedTimeout="60" />
</Context>The web.xml of my web application
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
    <resource-ref>
        <description>Oracle Database 11g DataSource</description>
        <res-type>oracle.jdbc.pool.OracleDataSource</res-type>
        <res-auth>Container</res-auth>
        <res-ref-name>jdbc/oracle11g</res-ref-name>
    </resource-ref>
    <servlet>
        <servlet-name>Servlet1</servlet-name>
        <servlet-class>servlets.Servlet1</servlet-class>
    </servlet>
    <servlet-mapping>
        <servlet-name>Servlet1</servlet-name>
        <url-pattern>/Servlet1</url-pattern>
    </servlet-mapping>
    <session-config>
        <session-timeout>
            30
        </session-timeout>
    </session-config>
    <welcome-file-list>
        <welcome-file>index.jsp</welcome-file>
    </welcome-file-list>
</web-app>Ok, now I'm happy as the original problem is completely solved
Regards

Similar Messages

  • Problem with JCo Connection Pool

    Hi,
    I have a problem with using an RFC Model in my WebApplication. So sometimes the access to the function block works, and sometimes it doesn't work. Now I know, that there is a problem with the connection pool. Look at this message:
    com.sap.mw.jco.JCO$Exception: (106) JCO_ERROR_RESOURCE: Connection pool WD_X24_MODELDATA_DEST_CPIC_REKTO_DE_useDefinedUser is exhausted. The current pool size limit (max connections) is 10 connections.
    So it looks like a problem with closing the JCo Connections after using. Do know where the problem is? Because I'm using many other function blocks with no problems.

    Hello,
    You need to increase the pool size via Visual Administrator.
    Server 0 -> Services -> JCO RFC Connections.
    Change the pool size from there. I believe a restart is in order.
    Regards,
    Jan

  • How dynamically create connection pool and Datasource

    Hi
    How I can dynamically create a connection pool and Data source in Oracle 10g Application server. In our J2EE application the user will be login with db user name, password and database name. I want to create connection pool and data source on the fly while login the user with database name. I our application we have access approximate 80 Databases. so my approach is given bellow
    1) Planning to create 80 connection pools and 80 Data sources so when user logs in while selecting the db name i will call the appropriate data source and create the DB connection. Is there any limitation to create number of data sources in oracle app server?
    2) Create DB connection with out using connection pool and data source. But i am not prefer this approach coz we need to handle some transaction in our application.
    Kindly throw some light on managing connection pool programmatically or in application run time.
    I would really appreciate if any one can provide any links or any inormation on this issue.
    Thanks in advance.

    Kindly let me know is there any drawbacks to create 80 Data Sources to connect 80 database in Oracle 10G App server and each data sources should have one connection pool. so i need to create 80 connection pool. Please let me know is this right approach or any work around to create Data source on fly for each request for corresponding database.

  • Problem with the connection to the hard drive.

    G5 Single core 1.8GHz stop working. I was told that there is a problem with the connection to the hard drive.
    It boots but freezes after a few minutes and fans go full blast.....
    Is this a logicboard problem, or something that can be fixed with a little work?

    Hi j hallow-
    Whose diagnosis declared a bad connection?
    Have you opened it up and looked inside? It may need to be cleaned out.
    You could install a second know good SATA drive and see what happens: Hard Drive Replacement Instructions
    Luck-
    -DaddyPaycheck

  • I can't text a contact but can voice phone them. I don't have the problem with any other contact and the contact is not blocked. I have an iphone5.0 OS 8.1.3

    I can't text a contact but can voice phone them. I don't have the problem with any other contact and the contact is not blocked. I have an iphone5.0 OS 8.1.3. I used to be able to text them with no problem. The only difference I can think is that this problem may have started since I downloaded the OS I am using now
    cycleluke

    Wasn't responding to you. Please show me links where this helped.
    Apple isn't showing any system problems: https://www.apple.com/support/systemstatus/

  • Error while creating connection pool "FATAL: database "null" does not exist

    Hi,
    Iam trying to create a XA connection pool using postgres driver (postgresql-8.3-603.jdbc3.jar) on Weblogic 8.1.6.0 from the Admin Console.
    I have provided the following info in the JDBC config
    Driver Class Name: org.postgresql.xa.PGXADataSource.
    JDBC URL: jdbc:postgresql://192.168.192.112:5432/sample1
    UserName: postgres
    Password: Postgres
    When i click Test Driver Configuration. Iam getting the following error
    "FATAL: database "null" does not exist"
    if i change the Driver Class Name to "org.postgresql.Driver", it is working fine. But as iam trying to create XA datasource i need to use the XA Driver class name.
    Can someone tell me how to resolve this issue ?
    The postgres version iam using is 8.3.1

    Hi Joe,
    The driver is in the classpath.
    Please find the stack trace.
    org.postgresql.util.PSQLException: FATAL: database "null" does not exist
    at org.postgresql.core.v3.ConnectionFactoryImpl.readStartupMessages(Conn
    ectionFactoryImpl.java:444)
    at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(Conne
    ctionFactoryImpl.java:99)
    at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactor
    y.java:66)
    at org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Conn
    ection.java:124)
    at org.postgresql.jdbc3.AbstractJdbc3Connection.<init>(AbstractJdbc3Conn
    ection.java:30)
    at org.postgresql.jdbc3.Jdbc3Connection.<init>(Jdbc3Connection.java:24)
    at org.postgresql.Driver.makeConnection(Driver.java:386)
    at org.postgresql.Driver.connect(Driver.java:260)
    at java.sql.DriverManager.getConnection(DriverManager.java:512)
    at java.sql.DriverManager.getConnection(DriverManager.java:171)
    at org.postgresql.ds.common.BaseDataSource.getConnection(BaseDataSource.
    java:83)
    at org.postgresql.xa.PGXADataSource.getXAConnection(PGXADataSource.java:
    47)
    at org.postgresql.xa.PGXADataSource.getXAConnection(PGXADataSource.java:
    32)
    at weblogic.management.console.utils.JDBC.testConnection(JDBC.java:185)
    at weblogic.management.console.actions.mbean.JDBCConnectionPoolTestActio
    n.prePerform(JDBCConnectionPoolTestAction.java:114)
    at weblogic.management.console.actions.mbean.DoMBeanWizardAction.perform
    (DoMBeanWizardAction.java:215)
    at weblogic.management.console.actions.internal.ActionServlet.doAction(A
    ctionServlet.java:182)
    at weblogic.management.console.actions.internal.ActionServlet.doPost(Act
    ionServlet.java:86)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
    (ServletStubImpl.java:1077)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:465)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:348)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
    n.run(WebAppServletContext.java:7047)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    121)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
    rvletContext.java:3902)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
    pl.java:2773)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)

  • Problem with creating new user in portal = portlet is not visible

    Hi,
    I've got a problem with creating new users in portal. In the Administer tab of the builder is the user portlet not visible.
    How can I make this portlet visible?
    Please Help
    thank you...
    Gilbert

    Hi..my problem slightly similar.
    I created one new user, and didn't select anything from "Public Groups Assignment" and "Privilege Assignment" for him.
    I expect the user will be a public user.
    But, when he try to logged in the portal,
    He cannot see all the PORTLETS related to database values..
    All he can see just LINKS -that all in my portal right now beside the report from database that the user cannot see :)
    So, what did i do wrong?
    Plz Advise, and thanks.

  • Startup problems with XA connection pools on Oracle and WLS 6.1

    I am having starup problems trying to set up a WLS 6.1 connection pool using
    XA. When I try to start the server, I get the following exception:
    <Nov 19, 2001 3:06:28 PM EST> <Error> <JDBC> <Cannot startup connection pool
    "dbdev1XAPool" weblogic.common.ResourceException: java.sql.SQLException:
    open failed for XAResource 'dbdev1' with error XAER_RMERR : A resource
    manager error has occured in the transaction branch. Check Oracle XA trace
    file(s) (if any) for database errors. The Oracle XA trace file(s) are
    located at the directory where yo
    u start the Weblogic Server, and have names like
    xa_<pool_name><MMDDYYYY>.trc.
    at weblogic.jdbc.oci.xa.XAConnection.<init>(XAConnection.java:58)
    at
    weblogic.jdbc.oci.xa.XADataSource.getXAConnection(XADataSource.java:600)
    at
    weblogic.jdbc.common.internal.XAConnectionEnvFactory.makeConnection(XAConnec
    tionEnvFactory.java:194)
    at
    weblogic.jdbc.common.internal.XAConnectionEnvFactory.createResource(XAConnec
    tionEnvFactory.java:54)
    at
    weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllocator.j
    ava:698)
    at
    weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.java:282
    at
    weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java:620
    at
    weblogic.jdbc.common.JDBCService.addDeployment(JDBCService.java:107)
    at
    weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentT
    arget.java:329)
    The contents of the Oracle trace file:
    ORACLE XA: Version 8.1.7.0.0. RM name = 'Oracle_XA'.
    150627.1312:344.344.330727191:
    xaoopen:
    xa_info=Oracle_XA+Acc=P/cmauser/admin+SesTm=100+DB=dbdev1+Threads=true+LogDi
    r=.+DbgFl=0x15,rmid=330727191,flags=0x0
    150627.1312:344.344.330727191:
    ORA-12560: TNS:protocol adapter error
    150627.1312:344.344.330727191:
    xaolgn_help: XAER_RMERR; OCIServerAttach failed. ORA-12560.
    150627.1312:344.344.330727191:
    xaoopen: return -3
    I am running WLS 6.1 and Oracle 8.1.7 on windows (separate machines). The
    connection pool settings are:
    <JDBCConnectionPool CapacityIncrement="0"
    DriverName="weblogic.jdbc.oci.xa.XADataSource" InitialCapacity="40"
    MaxCapacity="40" Name="dbdev1XAPool"
    Properties="user=cmauser;password=admin;dataSourceName=dbdev1"
    RefreshMinutes="15" ShrinkingEnabled="false" SupportsLocalTransaction="true"
    Targets="cmatest" TestTableName="hppcontentsource" />
    I have not had any problems connecting to the same database through regular
    JDBC connection pools or through the utils.dbping utility.
    What am I doing wrong?

    This is a dup message. Add "DebugConfigInfo OFF" in httpd.conf.
    Jong
    [email protected] (Olaf Foellinger) wrote:
    >
    Hi,
    we're trying to setup apache on linux so that it's forwarding all jsp
    requests to Bea WLS 6.0 on Solaris. We've installed the mod_wl.so
    modules according to the documentation. When apache starts it shows the
    following warning:
    [Tue Jan  9 13:22:55 2001] [warn] Loaded DSO
    /usr/lib/apache/1.3/mod_wl.so uses plain Apache 1.3 +API, this module
    might crash under EAPI! (please recompile it with -DEAPI)
    and in fact, when we try to load a jsp page we get
    [Tue Jan  9 13:29:14 2001] [notice] child pid 5780 exit signal
    Segmentation fault (11)
    Does anyone have a working solution ? Can bea provide us with a plugin
    compiled with EAPI ?
    Greetings Olaf

  • Problem when creating connection pool for Informix

    Hi all,
    could you please help me to create a connection pool for informix?
    I use a com.informix.jdbcx.IfxXADataSource driver and here are the properties
    user=informix
    password=informix
    url=jdbc:informix-sqli://TW010766:1526/vka:informixserver=TW010766
    dataSourceName=TestEntityPool2
    portNumber=1526
    databaseName=vka
    ifxIFXHOST=TW010766
    serverName=vka
    Here is the error message :
    Error during Data Source creation: weblogic.common.ResourceException: DataSource(TestEntity)
    can't be created with non-existent Pool (connection or multi) (TestEntityPool2)
         at weblogic.jdbc.common.internal.JdbcInfo.validateConnectionPool(JdbcInfo.java:127)
         at weblogic.jdbc.common.internal.JdbcInfo.startDataSource(JdbcInfo.java:189)
         at weblogic.jdbc.common.internal.JDBCService.addDeploymentx(JDBCService.java:293)
         at weblogic.jdbc.common.internal.JDBCService.addDeployment(JDBCService.java:270)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:375)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:303)
         at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:256)
         at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:207)
    Could you please tell me what's wrong with the configuration?
    Many thanks in advance.
    Hoang

    Hoang Nguyen wrote:
    For JBuilder :
    URL : jdbc:informix-sqli://tra019746:1526/vka:informixserver=vka
    Driver : com.informix.jdbcx.IfxXADataSource
    username : informix; password : informix
    For WebLogic :
    URL : jdbc:informix-sqli://tra019746:1526/vka:informixserver=vka
    Driver : com.informix.jdbcx.IfxXADataSource
    Properties : password=informix
    user=informixOk. The problem may have to do with your reiterating all the properties below.
    url=jdbc:informix-sqli://tra019746:1526/vka:informixserver=vka
    portNumber=1526
    databaseName=vka
    serverName=vka
    ifxIFXHOST=tra019746All these above are implicit in the URL you give to jBuilder and weblogic.
    Try defining the pool with only the user and password as properties.
    >
    >
    Error:
    Error during Data Source creation: weblogic.common.ResourceException:
    DataSource(TestEntity)
    can't be created with non-existent Pool (connection or multi) (TestEntityPool2)
    at weblogic.jdbc.common.internal.JdbcInfo.validateConnectionPool(JdbcInfo.java:127)
    at weblogic.jdbc.common.internal.JdbcInfo.startDataSource(JdbcInfo.java:189)
    at weblogic.jdbc.common.internal.JDBCService.addDeploymentx(JDBCService.java:293)
    at weblogic.jdbc.common.internal.JDBCService.addDeployment(JDBCService.java:270)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:375)
    Thanks Joe
    Hoang Nguyen wrote:
    Joseph,
    The driver that I use comes from informix.
    I've tried with JBuilder and no problem. JBuilder can connect to informixand
    I can see the tables from JBuilder.
    There's something wrong in the configuration with Weblogic.
    Many thanks for your help.I understand that there's something wrong with the configuration with
    weblogic,
    but the problem is due to a mistake in the input you gave to the pool
    definition,
    and I want to solve that. Please show me the URL, driver name and properties
    you give to JBuilder to make Informix connections. Also, show me the
    first few lines
    that get printend out when you run the weblogic start script. I want
    to see the
    line that prints out the classpath used in the script for starting the
    server.
    thanks,
    Joe
    Joseph Weinstein <[email protected]> wrote:
    Ok, I would like you to download Informix's driver from them, and
    run one of their example programs, just to prove you can connect to
    informix, using their driver, with no weblogic in the picture. We
    have
    to establish that, because that's all weblogic will be doing anyway.
    Once
    we know how to connect to informix via JDBC, we can do weblogic stuff.
    Joe
    Hoang Nguyen wrote:
    Hi,
    I forgot to mention that I'm working with Weblogic server 7 and
    Informix 2000 9.20.
    For the configuration, I followed the example given by Weblogic
    http://edocs.bea.com/wls/docs70/jdbc/thirdparty.html#thirdparty001,
    table 5.2
    Here is the example given by weblogic :
    user=username
    url=jdbc:informix-sqli://dbserver_name_or_ip:port_num/dbname:informixserver=dbserver_name_or_ip
    password=password
    portNumber =port_num;
    databaseName=dbname
    serverName=dbserver_name
    ifxIFXHOST=dbserver_name_or_ip
    If you take a look at the link, you'll see a note :
    "In the Properties string, there is a space between portNumber and=". I've tried
    that but it seems that this bug had been resolved. When I put the
    space,
    I've
    an number exception.
    Thanks for your help.
    Hoang
    Joseph Weinstein <[email protected]> wrote:
    Nguyen Hoang wrote:
    Hi all,
    could you please help me to create a connection pool for informix?
    I use a com.informix.jdbcx.IfxXADataSource driver and here are
    the
    properties
    user=informix
    password=informix
    url=jdbc:informix-sqli://TW010766:1526/vka:informixserver=TW010766
    dataSourceName=TestEntityPool2
    portNumber=1526
    databaseName=vka
    ifxIFXHOST=TW010766
    serverName=vka
    Here is the error message :
    Error during Data Source creation: weblogic.common.ResourceException:DataSource(TestEntity)
    can't be created with non-existent Pool (connection or multi)
    (TestEntityPool2)
    This means the pool was unable to make an informix connection withthe
    properties
    you gave. Please show me the few lines from an informix driver
    example
    program
    that makes a successful JDBC connection to the DBMS you want, andI will
    show
    you how to define a pool for weblogic to do the same.
    Joe
    at weblogic.jdbc.common.internal.JdbcInfo.validateConnectionPool(JdbcInfo.java:127)
    at weblogic.jdbc.common.internal.JdbcInfo.startDataSource(JdbcInfo.java:189)
    at weblogic.jdbc.common.internal.JDBCService.addDeploymentx(JDBCService.java:293)
    at weblogic.jdbc.common.internal.JDBCService.addDeployment(JDBCService.java:270)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:375)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:303)
    at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:256)
    at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:207)
    Could you please tell me what's wrong with the configuration?
    Many thanks in advance.
    Hoang

  • Problem with severe connection fail and slow inter...

    Havin problem with several automatic disconnection, slow internet and cant get inside online bt repair centre coz its sayin - this no is not provided by bt business...
    ADSL Line Status
    Connection Information
    Line state: Connected
    Connection time: 2 days, 06:57:44
    Downstream: 1.122 Mbps
    Upstream: 80 Kbps
    ADSL Settings
    VPI/VCI: 0/38
    Type: PPPoA
    Modulation: G.992.5 Annex A
    Latency type: Interleaved
    Noise margin (Down/Up): 4.0 dB / 7.2 dB
    Line attenuation (Down/Up): 65.0 dB / 34.6 dB
    Output power (Down/Up): 19.1 dBm / 10.0 dBm
    FEC Events (Down/Up): 9019906 / 503
    CRC Events (Down/Up): 656 / 131
    Loss of Framing (Local/Remote): 0 / 0
    Loss of Signal (Local/Remote): 0 / 0
    Loss of Power (Local/Remote): 0 / 0
    HEC Events (Down/Up): 5492 / 23
    Error Seconds (Local/Remote): 62 / 33

    as you are a business user you need to post on the business forum https://business.forums.bt.com/
    this forum is for residential customer
    If you like a post, or want to say thanks for a helpful answer, please click on the Ratings star on the left-hand side of the post.
    If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’.

  • Problem with camera connection kit and IOS 5

    Since I upgraded my IPAD 2 to IOS 5 camera connection kit is no longer working properly:
    - when importing from a given CF card for the first time camera connection kit it is working with my camera (Canon EOS 7D)
    - however, as soon as i take additional photos on a non-empty CF card, things start getting weird when importing:
       - duplicates are no longer reliably recognized (some of the photos imported before are indicated as duplicates others not), hence an incremental upload of photos is no longer viable
         - some RAW photos are corrupted during import (it shows an "RAW" icon in the photo app, but no preview and the photo cannot be enlarged)
    I never had such problems with IOS 4.x I'm really frustrated about IOS 5.0 since camera conenction kit and the ability to deal with RAW photos were my main reasons to buy an IPAD...
    Anybody experiencing  similiar problems? Any viable workarounds?
    Thanks
    Claudio

    Friend, you say "The files must have a filename with exactly 8 characters long (no spaces)"  What if one has several hundred photos/files. Renameing them on my computer each 8 characters long adds an extension (1), (2), (3), and so on. For example, "JUNE2014(1).  The connection kit won't read the photos due to the extra (1).  How can I fix this without having to rename each of the hundreds of photos one by one?
    Thank you, Cisco.

  • Login problems with create pdf,share and my files

    Hello ,
    When I currently go to www.acrobat.com on my windows xp
    computer and try to go to one of the create pdf,share and my files
    and click on begin I get a message saying sorry this service is
    temporary unavailable but when I click on learn more it says all
    service are up and runing. Does anyone know what is wrong and if
    the service is down when will it be fixed.?

    Hi Sue!
    This seems like a separate issue you're running into. It is
    good that you can get logged in, but odd that you're only seeing
    partial functionality in your user.
    How many files are missing? Is this affecting certain file
    types?
    Did you ever see files in your My Files section?
    How long have they been unavailable/missing?
    When uploaded, did they complete making it through the
    scanning process?
    Can you see files in your Buzzword organizer? (which is a
    different section than your My files organizer)
    Create new documents?
    It would be good to get another browser as a comparison test
    here as well, to see if there is any different behavior!
    It could be firewall related, but what you could do is maybe
    try logging into your account from another person's computer for a
    moment, to see if the files are visible there?
    Otherwise, the test from home, or laptop at a coffee shop,
    would be another good test!
    Get back to us with some of these questions answered, and
    we'll see about getting you up and running!
    Cheers,
    Pete

  • Problem with a j2se program and mysql driver

    Hi,
    We are developing an application which needs accessing to a mysql database. I have packed the application in a .jar. and inside the jar I have created a folder lib. And inside that folder I have put mysql driver.
    As the same way, I have been reading in SDN forum, I have edited manifiest file and I have writen this:
    Manifest-Version: 1.0
    Sealed: true
    Class-Path: lib/mysql-connector-java-5.0.4-bin.jar
    Main-Class: package1.Main
    When I introduce this command java -jar program1.jar, the jvm says this:
    java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:164)
    I know when I use java -jar, classpath system variable doesn't mind. But even this variable is set up properly. If you could help me it would be great. I'm getting stuck with this.
    Thanks in advance.

    @CiMaBuE wrote:
    Hi,
    We are developing an application which needs accessing to a mysql database. I have packed the application in a .jar. and inside the jar I have created a folder lib. And inside that folder I have put mysql driver.That's the problem. JARs don't look inside themselves for 3rd party JARs. That /lib directory needs to be relative to the program1.jar that you created.
    I believe modules or OSGi are supposed to address this, but executable JARs do not today.
    %

  • Problem with network connection names and cluster

    Hi,
    Before talking about my problem, I want to apologize if this is not the correct forum, but it is the more adecuated that I have found. Is about a problem in Windows 2000, which I know it is out of support, but in my company I still have to administer several
    hundreds of them.
    I have several Windows 2000 failover clusters, and all of them show the same problem, which consists of the following:
    Each cluster has two nodes. Each node has 5 network adapters. Each adapter hosts a connection  name: Lan-1 is the name of the network associated to adapter 1, Lan-2 to adapter 2, and so on till Lan-5 to adapter 5.
    Lan-5 is used as heartbeat for the cluster: is connected to the Lan-5 in the other node via a cross-over UTP cable. 
    Lan-1 and Lan-2 in each node, forms a network team named TEAM, used to access to the nodes for administration via remote desktop.
    Last, each node has Lan-3 and Lan-4. Lan-3 is used for the cluster resources, and Lan-4 as a backup, just in case Lan-3 fails. 
    And now, the strange and surprising thing: if I change the name of Lan-4, or change any configuration of the connection, the name changes to Lan-4(2). If I make any other change, the name changes again to Lan-4(2)(2). I can't get rid of the numbers between
    parentesis, and the number of them grows and grows.
    Any idea about what is happening?

    Hi,
    As you mentioned, the Windows 2000 has already stop supported, personal experience is you can try to use the cmdlet ipconfig /all to show if the network adapter name is right
    or not, or you can try to remove the lan3 adapter register information (backup first) and driver then restart to monitor the status
    More information:
    How to remove network adapters from the registry
    http://support.microsoft.com/kb/146333/EN-US
    Manually Removing Network Adapter Entries from the Registry
    http://support.microsoft.com/kb/146333/EN-US
    Hope this helps.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Problem with oracle 9i personal and thin driver

    hi all,
    this is the code i test the connection of thin driver and oracle 9i personal database.
    but i got the error below, could someone tell me where i did wrong.
    thank you...
    import java.sql.*;
    import java.math.*;
    import java.io.*;
    import java.awt.*;
    import oracle.jdbc.driver.*;
    class JdbcTest
      public static void main(String arg[])
        try
          // load oracle driver
          DriverManager.registerDriver(new oracle.jdbc.OracleDriver());
          //connect to the local database
          Connection connection = DriverManager.getConnection
                                 ("jdbc:oracle:thin:@myhost:1521:ORCL","scott","tiger");
          Statement statement = connection.createStatement();
          ResultSet resultset = statement.executeQuery("SELECT ename FROM emp");
          //print the name out
          while(resultset.next())
            System.out.println(resultset.getString(1));
          //close the resultset, statement, and connection
          resultset.close();
          statement.close();
          connection.close();
        catch(SQLException sqle)
          System.err.println(sqle);
    }  C:\CODE-JDBC\ORACLE\TEST-CONNECT>java JdbcTest
    java.sql.SQLException: Io exception: The Network Adapter could not establish the connection

    Replace this line:
    DriverManager.registerDriver(new racle.jdbc.OracleDriver());with this one:
    Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();

Maybe you are looking for