Unable to create connection pool on admin console!

Hello, i try via application server's admin console connect to my mysql database.
The jdbc.mysql.Driver is already in as_home/lib directory.
My database has no password and the root is authorized and has full access.
My Configuration on admin console look like:
Datasource Classname: Datasource Classname:
Resource Type: javay.sql.DataSource
use:root
url:jdbc:mysql://localhost:3306/mydatabase
When i ping the database i becom thes error:
Operation 'pingConnectionPool' failed in 'resources' Config Mbean. Target exception message: No PasswordCredential found
Please help
Thanks

hmm this looks like the password was not supplied. are you sure there is not password to access the db?
this is an e.g of my connection pool connection.. its for ibm db2 though. so you might change it where appropriate.
Datasource classname : COM.ibm.db2.jdbc.DB2DataSource
Resource type: javax.sql.DataSource
PortNumber: 50000
DatabaseName: (the db name)
Password: (password)
User: (username)Clarence Loh

Similar Messages

  • Unable to create connection pool on weblogic startup

    Hi, I have a problem currently with the connection pool of weblogic 8.1 not being able to be created on a scheduled restart daily.
    The weblogic server is restarted daily at 6am. However, the oracle database is shut down for maintenance daily till 7am before it is up again. It is not possible to shift either timings of restarting weblogic and oracle.
    Is there any script or option settings in weblogic to reconnect the connection pool after 7am daily without restarting the weblogic instance?
    Please help. Thanks.

    Kwee Tin Toh wrote:
    Hi, I have a problem currently with the connection pool of weblogic 8.1 not being able to be created on a scheduled restart daily.
    The weblogic server is restarted daily at 6am. However, the oracle database is shut down for maintenance daily till 7am before it is up again. It is not possible to shift either timings of restarting weblogic and oracle.
    Is there any script or option settings in weblogic to reconnect the connection pool after 7am daily without restarting the weblogic instance?
    Please help. Thanks.You can use the weblogic.Admin command line program to create, destroy, disable, or enable pools
    in a running server. However, the easiest thing to do is to define your pool to have an initial
    capacity of zero, so it is allowed to be created at startup, without needing to make any connections.
    Then it will self-populate as needed when application load starts, if/when the DBMS is available.
    Joe

  • Unable to create connection pooling

    hello everyone,
    i am trying to implement connection pooling with sybase as the database and tomcat 5 as the container. But this is the exception thats coming :
    javax.naming.NameNotFoundException: Name jdbc/TestDB2 is not bound in
    this Context
    My server.xml looks lilke this :
         <Context path="/DBTest2" docBase="DBTest2" debug="5" reloadable="true" crossContext="true" >
         <Logger classname="org.apache.catalina.logger.FileLogger"
              prefix="localhost_DBTest2_log." suffix=".txt" timestamp="true" />     
         <Resource name="jdbc/TestDB2" auth="Container" type="javax.sql.DataSource" />
         <ResourceParams name="jdbc/TestDB2">
              <parameter>
              <name>factory</name>
              <value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
              </parameter>
              <parameter>
              <name>maxActive</name>
              <value>100</value>
              </parameter>
              <parameter>
              <name>maxIdle</name>
              <value>30</value>
              </parameter>
              <parameter>
              <name>maxWait</name>
              <value>10000</value>
              </parameter>
              <parameter>
              <name>username</name>
              <value>sa</value>
              </parameter>
              <parameter>
              <name>password</name>
              <value></value>
              </parameter>
              <parameter>
              <name>driverClassName</name>
              <value>com.sybase.jdbc2.jdbc.SybDriver</value>
              </parameter>
              <parameter>
              <name>url</name>
              <value>jdbc:sybase:Tds:172.16.12.84:2048/lnk_common_dd</value>
              </parameter>
         </ResourceParams>     
         </Context>
    This is my web.xml
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
    http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
    version="2.4">
    <description>MySQL Test App</description>
    <resource-ref>
    <description>DB Connection</description>
    <res-ref-name>jdbc/TestDB2</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    </web-app>
    this is my test.jsp
    <%@ taglib uri="http://java.sun.com/jsp/jstl/sql" prefix="sql" %>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
    <sql:query var="rs" dataSource="jdbc/TestDB2">
    select id, foo, bar from testdata
    </sql:query>
    <html>
    <head>
    <title>DB Test</title>
    </head>
    <body>
    <h2>Results</h2>
    <c:forEach var="row" items="${rs.rows}">
    Foo ${row.foo}
    Bar ${row.bar}
    </c:forEach>
    </body>
    </html>
    Any help would be much appreciated as i am stuck with this since the last 2 days
    thanking you all in advance
    Bhavani

    Hi Karthikeyan,
    This is not the issue at all. I can open the management studio by the same login id and password and also i can make the database jdbc connection from plain java file.
    It does not give me any problem by them.
    I'm unable to find the actual problem. May be i'm missing something in connection pooling.
    Please help.
    Regards
    Mina

  • Error Message while creating connection pool

    Hi all,
    I got the following error message while creating connection pool for the
    SQL Server thru the Application Server Admin Console.
    The message is,
    An error has occured.
    Operation 'create.Jdbc.ConnectionPool' failed in 'resources' Config Mbean. Target exception message :
    JdbcConnectionPool Already Exists: cannot add duplicate.
    But the connection pool for the SQL Server was not there in the list.
    What may be the possible reason for this error.
    i was trying to deploy a BMP entiy bean using the Sun Application Server.
    Prior deploying i just tried to create connection pool and test the connection using the Admin Console
    Please help me by providing a solution.

    Kriti Sundar Mazumder wrote:
    Hi
    I am getting an following error message, while creating database connection pool
    in weblogic 7.
    "<Jun 18, 2004 4:52:36 AM CDT> <Error> <JDBC> <001060> <Cannot startup connection
    pool "MyJDBCConnectionPool" java.sql.SQLException: [IBM][JDBC Driver] CLI0647E
    Error allocating DB2 environment handle, rc=-1.>"
    Can anyone help me out in this regard
    Regards
    KritiHi. I am no expert, but it sounds like a problem with the privileges the user
    has... The best thing is to step back to a simpler environment. Can you try
    connecting to DB2 with a simple program like utils.dbping? Please look at our
    driver docs for the DB2 driver, because there are several variations in connect
    properties depending on the type of DB2 you are connecting to...
    Joe

  • Creating Connection Pools/ Connection Pool does not exist error

    Hi everyone -
    I have a question about when/how weblogic creates connections pools.
    Here is the scenario. Sometimes when our weblogic server starts, our
    oracle database is not available. Therefor, weblogic can't create the
    connection pool. However, after oracle comes weblogic up, weblogic
    could create the connection pool, but it doesn't appear to be smart
    enough to do this. Is there a way to ask weblogic to attempt to
    recreate a connection pool?
    We've noticed this behavior on weblogic 6.0 sp2.
    Thanks,
    Scott

    If you define the pool with an initial size of zero, you should be OK. The
    server is currently a little severe with a pool when the server cannot
    create the pool with it's initial capacity, the pool isn't created. The server
    could create it later, if told to via the console or via the admin command line,
    or via the dynamic pool API, but init=0 is easiest.
    Joe
    Scott Gilpin wrote:
    Hi everyone -
    I have a question about when/how weblogic creates connections pools.
    Here is the scenario. Sometimes when our weblogic server starts, our
    oracle database is not available. Therefor, weblogic can't create the
    connection pool. However, after oracle comes weblogic up, weblogic
    could create the connection pool, but it doesn't appear to be smart
    enough to do this. Is there a way to ask weblogic to attempt to
    recreate a connection pool?
    We've noticed this behavior on weblogic 6.0 sp2.
    Thanks,
    Scott

  • FTP error-Unable to create new pooled resource: com.sap.aii.adapter.file.ft

    Hi,
    We have a scenario where XI receives a Idoc and based on the contents of Idoc, It will generate 5 different files and send it to the external FTP server.We configured 5 receiver channels for these 5 files.
    When this interface runs, most of the files will be delivered but some of the messages will be errored out.
    The receiver channel has shown the following error-
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Error when getting an FTP connection from connection pool: com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: com.sap.aii.adapter.file.ftp.FTPEx
    I tried to resend them by temperorily stopping other channels to reduce connections to this FTP server.But these messages again resulted with same error.
    Can someone suggest what might be the cause for this error.
    Thanks in advance.

    Hi ,
    As I am not sure about the problem so U just try all of the option I am writing below. It may help u as these are the probable solutions for this problem.
    1.perform Full CPA cache refresh using PIDIRUSER
    2.The problem seems to be in establishing the connection with the File server . This could be due to
    a. Wrong user name or password in receiver adapter .
    b. Firewall connection are not open
    actually you are saying that some files are being delivered so all the file has to be deliverd on same server on diffrent directory or all files are going on diffrent server at present I am assuming that all files are going on diffrent server so please check UID & PWD properly.if they are on same server but diff. directory it can be easily done using one Communication channel only.
    3. Finally please check the errorneous communication channel .
    to check your communication channels are working fine or not you can check in channel monitoring in PI7.0, adapter monitoring in Xi3.0.
    if you are on PI7.0, goto RWBCache monitoring select AE and cilck disply-select the date todays--check everything is greent here
    4.Please check your maximal connection pool .
    Regards,
    Saurabh

  • File Adapter - FTP - Unable to Create new pooled resource

    Hi Friends,
    I am getting the following error while using file adapter with FTP protocol...
    Attempt to process file failed with Error when getting an FTP connection from connection pool: com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: FTPEx: PASS command failed
    Error MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: Error when getting an FTP connection from connection pool: com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: FTPEx: PASS command failed
    Error Exception caught by adapter framework: Error when getting an FTP connection from connection pool: com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: FTPEx: PASS command failed
    Error Delivery of the message to the application using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Error when getting an FTP connection from connection pool: com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: FTPEx: PASS command failed.
    Can someone help me to solve this probelm..
    Regards,
    Shyam.

    Hi,
    Try to check the directory you have specified in the CC and also check whether you are able to connect to the FTP server with those login credential and access the directory specified.
    Also let me know whether it is working fine for other scenario's or not.
    Regards,
    Nithiyanandam

  • Creating connection pool on Sun Application Server 8.1

    Hi All,
    I am trying to create a connection pool for my MySql database on Sun Application Server(Version 8.1) using 'asadmin'. I am also able to create the connection pool successfully but when i am trying to ping the connection pool, it is giving me the java.net.UnknownHostException. The command I am using for creating the connection pool is as follows:
    create-jdbc-connection-pool user admin password adminadmin host localhost port 4849 datasourceclassname com.mysql.jdbc.jdbc2.optional.MySqlConnectionPoolDataSource restype javax.sql.XADatasource --property User=root:Password=admin:SelectMethod=Cursor:DatabaseName=testdb:serverName=\"localhost\":portNumber=3306 MyConnectionPool
    My database and the application server are running on the same machine.
    Has anyone come across such a problem? Any help would be highly appriciated.
    Thanks in Advance,
    Anurag.

    hi Anurag,
    Check the properties in the jdbc-connection-pool tag and make sure that the values are populated correctly. You can also try specifying the actual hostname or IP address of the machine instead of localhost and see if that works.
    Cheers,
    Vasanth

  • What ACLs need to be defined to dynamically create connection pools?

    Hi,
    What ACLs do I need to define in order to dynamically (i.e. programatically)
    create connection pools? I've spent several hours reading doc
    and searching on the web but found nothing.
    I have defined the following:
    weblogic.allow.admin.weblogic.jdbc.connectionPoolcreate=someId
    But I still get the following exception when I try to invoke jdbc.createPool(aWeblogicPoolProperties);//jdbc
    is an instance of weblogic.jdbc.common.JdbcServices:
    java.lang.SecurityException: User "guest" does not have Permission
    "modify" based on ACL "weblogic.jndi.weblogic.jdbc.connectionPool"
    Can someone PLEASE list the ACLs I'd need to define for this to
    work?
    Thanks much,
    Andrew

    I'd like to know the answer to your question as well.
    On page 4-7 of the Programming WebLogic JDBC, the manual says to "modify the following
    ACLs to set up security configuration that supports the dynamic creation of connection
    pools.
    * acl.admin.dynapool
    * acl.admin.weblogic.jdbc.connectionPoolcreate
    * acl.modify.weblogic.jndi.weblogic.jdbc.connectionPool
    * acl.lookup.weblogic.jndi.weblogic.jdbc.connectionPool
    * acl.reserve.dynapool"
    These ACL's are not in my ACL list on my WLS6.1. So how can I modify these when
    they don't exist for me?
    thanks,
    Dennis
    "Andrew" <[email protected]> wrote:
    >
    Hi,
    What ACLs do I need to define in order to dynamically (i.e. programatically)
    create connection pools? I've spent several hours reading doc
    and searching on the web but found nothing.
    I have defined the following:
    weblogic.allow.admin.weblogic.jdbc.connectionPoolcreate=someId
    But I still get the following exception when I try to invoke jdbc.createPool(aWeblogicPoolProperties);//jdbc
    is an instance of weblogic.jdbc.common.JdbcServices:
    java.lang.SecurityException: User "guest" does not have Permission
    "modify" based on ACL "weblogic.jndi.weblogic.jdbc.connectionPool"
    Can someone PLEASE list the ACLs I'd need to define for this to
    work?
    Thanks much,
    Andrew

  • Could not retain the repository connections in portal admin console.

    Hi
    i have created additional WLP repository (stream based) in oracle.
    and configured as datasource in server console. and added respective JNDI name in portal admin console.
    and i could add/delete the content. But when ever i am restarting the machine i am loosing the added connection from portal admin console only.the connection configuration server console is safe.
    each time i have to configure it with same JNDI name add work with it in portal admin console only when ever i restart the machine.
    The content and datasources configuration is safe .
    but When ever i am creating additional WLP repository i could not see the respective details have updated in content-mgmt.xml in EAR meta-inf.
    is that because of that. if so why it is getting updated when it is adding new connection in admin console.

    When you create a Repository connection at run-time using the Portal Admin, the configuration is written to a Deployment Plan. By default, the Deployment Plan is written to a location which can be deleted during an application redeployment. You can specify a location for the deployment plan, which will not get deleted, via the WebLogic Server Console or you can add the information to the content-config.xml in <earProject>/meta-inf.
    http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/prodOps/deployment.html#wp1045617
    Brad

  • Error OAB-90061 unable to create connection to the remote server

    hello
    i have a problem with introspection: i want to introspect wls.
    i installed wls on a virtual machine. zip archive, no installer.
    i also installed ovab on my local virtual machine.
    start ovab, conect to serverpool: ok. now i want to start a introspection. but i got only an error:
    INTROSPECTION STARTED for: juriwls
    - remote ExecutionContext created...
    Copy AssemblyBuilder to remote machine.
    Creating local assemblybuilder.zip.
    Local assemblybuilder.zip created.
    Copying assemblybuilder.zip to remote machine.
    Copy at 10%
    Copy at 20%
    Copy at 30%
    Copy at 40%
    Copy at 50%
    Copy at 60%
    Copy at 70%
    Copy at 80%
    Copy at 90%
    Copy at 100%
    Copy of assemblybuilder.zip complete.
    Copying support scripts
    Copy of support scripts complete
    Copy of AssemblyBuilder is complete.
    Start remote AssemblyBuilder.
    Introspection failed
    Error: Error initializing the remote connection.
    Caused by: OAB-90061: Unable to create connection to remote server
    Cause: Timed out trying to connect to IPV4 and IPV6 sockets.
    Action:
    Double click on the failed node for detail
    ok may the interfaces are down: checked, ok. static ip
    tied to ping each other: no problem.
    nslookup: everything perfect.
    firewall off on each machine!
    wls is started and in runnig mode!
    variables set in .bashrc
    so i dont know what to do. anybody else?
    thanks in advance

    thanks for help
    in cli i entered: system-config-securitylevel-tui quiet port=http --port=ssh
    well done introspection starts ... but after a while another error occurs
    INTROSPECTION STARTED for: juri
    - remote ExecutionContext created...
    Copy AssemblyBuilder to remote machine.
    Copy of AssemblyBuilder is complete.
    Start remote AssemblyBuilder.
    Introspection failed
    Error: Error initializing the remote connection.
    Caused by: OAB-90061: Unable to create connection to remote server
    Cause: Timed out trying to connect to IPV4 and IPV6 sockets.
    Action:
    Double click on the failed node for details.
    INTROSPECTION STARTED for: juri
    - remote ExecutionContext created...
    Copy AssemblyBuilder to remote machine.
    Copy of AssemblyBuilder is complete.
    Start remote AssemblyBuilder.
    Remote AssemblyBuilder is started and connected.
    - START SUBMIT...
    - END SUBMIT...
    onProgress<juri>: started WLS dehydration (expect delays during domain template creation)
    onProgress<juri>: started processing WLS configuration
    onProgress<juri>: creating appliances for the servers in the domain
    onProgress<juri>: Processor: 0 completed
    onProgress<juri>: capturing application deployment plans
    onProgress<juri>: determining the list of application deployments
    onProgress<juri>: building target map
    onProgress<juri>: Processor: 1 completed
    onProgress<juri>: capturing cluster configuration
    onProgress<juri>: building list of all clusters
    onProgress<juri>: building cluster sub-assemblies
    onProgress<juri>: Processor: 2 completed
    onProgress<juri>: capturing Coherence Java option configuration
    onProgress<juri>: processing setDomainEnv.sh
    onProgress<juri>: processing config.xml
    onProgress<juri>: adding rehydration scripts
    onProgress<juri>: Processor: 3 completed
    onProgress<juri>: creating package definition for domain
    onProgress<juri>: Processor: 4 completed
    onProgress<juri>: processing inputs/outputs
    onProgress<juri>: Processor: 5 completed
    onProgress<juri>: capturing data source configuration
    onProgress<juri>: Processor: 6 completed
    onProgress<juri>: start jms message bridge processing
    onProgress<juri>: Processor: 7 completed
    onProgress<juri>: start ldap processing
    onProgress<juri>: Processor: 8 completed
    onProgress<juri>: start listen address processing
    onProgress<juri>: Processor: 9 completed
    onProgress<juri>: capturing node manager configuration
    onProgress<juri>: Processor: 10 completed
    onProgress<juri>: capturing oracle home
    onProgress<juri>: Processor: 11 completed
    onProgress<juri>: validating truststore configuration
    onProgress<juri>: server truststore configuration is valid
    onProgress<juri>: Processor: 12 completed
    onProgress<juri>: processing foreign jms connections
    onProgress<juri>: Processor: 13 completed
    onProgress<juri>: setting resource requirements
    onProgress<juri>: Processor: 14 completed
    onProgress<juri>: Processor: 15 completed
    onProgress<juri>: creating appliance connections
    onProgress<juri>: no managed servers found, nothing to do
    onProgress<juri>: Processor: 16 completed
    onProgress<juri>: capturing BAM configuration
    onProgress<juri>: processing BAM managed server specific configuration files
    onProgress<juri>: Processor: 17 completed
    onProgress<juri>: authenticating admin credentials
    onProgress<juri>: admin credentials authenticated
    onProgress<juri>: Processor: 18 completed
    onProgress<juri>: exporting security configuration
    onProgress<juri>: Processor: 19 completed
    onProgress<juri>: capturing file store configuration
    onProgress<juri>: Processor: 20 completed
    onProgress<juri>: adding ready metric data to appliance
    onProgress<juri>: Processor: 21 completed
    onProgress<juri>: adding contentdata to appliances+
    onProgress<juri>: creating common resources
    onProgress<juri>: adding admin server resources to appliance AdminServer
    onProgress<juri>: adding appliance resources
    onProgress<juri>: Processor: 22 completed
    INTROSPECTION DONE for: juri
    Introspection failed
    Error: OAB-50002: Failed to create assembly for WLS domain.
    Caused by: OAB-50042: Domain template creation failed.
    Action: Check /tmp/abRemote_oracle/ab_home/tmp/createDomainTemplate18246.out and /tmp/abRemote_oracle/ab_home/tmp/createDomainTemplate18247.log for details. These log files will be on the remote system if this is a remote introspection. This problem must be resolved before introspection can succeed.
    ok lets check these log files: cat on these logs.
    these logs are EMPTY!!!
    i dont know what to do now ...

  • IFS-10620: Unable to construct connection pool

    Hi,
    I obtain IFS-10620 error running java application. Acording with Developer Guide this error ocurrs when they are problems in the connection because TNS, ifs service or user/password problems. I verified this topics and i don't detect any problem.
    Somebody have any idea?
    Thanks,
    FABIAN.
    null

    Hi Mark!, my java code is the next:
    import java.lang.Object;
    import java.lang.Exception;
    import oracle.ifs.common.IfsException;
    import oracle.ifs.beans.Document;
    import oracle.ifs.common.IfsException;
    import oracle.ifs.beans.DirectoryUser;
    import oracle.ifs.common.IfsException;
    import oracle.ifs.beans.PrimaryUserProfile;
    import oracle.ifs.common.IfsException;
    import oracle.ifs.beans.Folder;
    import oracle.ifs.beans.DocumentDefinition;
    import oracle.ifs.beans.LibraryObject;
    import oracle.ifs.beans.LibraryService;
    import oracle.ifs.beans.LibrarySession;
    import oracle.ifs.common.CleartextCredential;
    import oracle.ifs.common.ConnectOptions;
    import oracle.ifs.common.AttributeValue;
    import oracle.ifs.beans.Selector;
    import oracle.ifs.beans.FolderPathResolver;
    class HelloWorld {
    public static void main(String args[]) throws IfsException
    //Connect to the repository.
    LibraryService ifsService = new LibraryService();
    CleartextCredential me = new CleartextCredential("user", "pass");
    ConnectOptions connectOpts = new ConnectOptions();
    connectOpts.setServiceName("ServerManager");
    connectOpts.setServicePassword("ifspass");
    LibrarySession ifsSession = ifsService.connect(me,connectOpts);
    //Create a new DocumentDefinition and a new Document.
    DocumentDefinition newDocDef = new DocumentDefinition(ifsSession);
    newDocDef.setAttribute("NAME", AttributeValue.newAttributeValue
    ("Hello_World.txt"));
    newDocDef.setContent("Hello World");
    Document doc = (Document) ifsSession.createPublicObject(newDocDef);
    //Obtain the users home folder and add the new Document to it.
    DirectoryUser thisUser = ifsSession.getDirectoryUser();
    PrimaryUserProfile userProfile = ifsSession.getPrimaryUserProfile(thisUser);
    Folder homeFolder = userProfile.getHomeFolder();
    homeFolder.addItem(doc);
    //Disconnect from the repository.
    ifsSession.disconnect();
    This code compile fine but the error to execute it is the next:
    IFS-10620: Unable to construct connection pool
    at oracle.ifs.server.LibraryConnection.<init>(LibraryConnection.java:227
    at oracle.ifs.server.ConnectionPool.createLibraryConnection(ConnectionPo
    ol.java:576)
    at oracle.ifs.server.ConnectionPool.<init>(Compiled Code)
    at oracle.ifs.server.S_LibraryService.<init>(Compiled Code)
    at oracle.ifs.server.S_LibraryService.startService(S_LibraryService.java
    :1129)
    at oracle.ifs.beans.LibraryService.connectLocal(LibraryService.java:408)
    at oracle.ifs.beans.LibraryService.connect(LibraryService.java:280)
    at HelloWorld.main(HelloWorld.java:34)
    What's the problem?
    Thanks for your help.
    null

  • IFS-10620: Unable to construct connection pool exception

    I am getting the "IFS-10620: Unable to construct connection pool" exception on the browser
    when I try to run the Airport example from the "Writing an iFS Custom Renderer" http://technet.oracle.com/products/ifs/htdocs/xsl/index.htm
    technical brief.
    Technet tells me that in this case I should (a) run it under jdk 1.1.8, and
    (b) have classes111.zip from the jdbc directory included in the classpath.
    (c) DatabaseUrl field in IfsDefault.properties is defined properly.
    I have modified one of the classes to output the relevant system parameters when
    initialised, and I get the enclosed output in (a) on loading the servlet.
    Together with paths (b) and classpath(c) settings,it seems that the requirements
    are met but it still gives the error. Any suggestions of where we go wrong?
    Oracle, IFS and JWS are installed on the same NT machine, and the iFS GUI works.
    The value of the DatabaseUrl field was empty (juts "@", I then changed it to
    "@machinename" but to no avail).
    Thanks
    Nikolay Mehandjiev
    [email protected]
    Enclosures
    (a) output from the modified servlet on loading
    javawebserver: java.version is 1.1.8
    javawebserver: java.class.version is 45.3
    javawebserver: java-vm.version is null
    javawebserver: java.class.path is \Oracle\Ora81\ifs\settings;\Oracle\Ora81\ifs\j
    re\lib\rt.jar;\Oracle\Ora81\ifs\jre\lib\i18n.jar;\Oracle\Ora81\jdbc\lib\classes1
    11.zip;\Oracle\Ora81\lib\vbjorb.jar;\Oracle\Ora81\jlib\xmlparserv2.jar;\Oracle\O
    ra81\ifs\lib\repos.jar;\Oracle\Ora81\ifs\lib\adk.jar;\Oracle\Ora81\ifs\lib\email
    .jar;\Oracle\Ora81\ifs\lib\tools.jar;\Oracle\Ora81\ifs\lib\utils.jar;\Oracle\Ora
    81\ifs\lib\release.jar;\Oracle\Ora81\assistants\jlib\jnls.jar;\Oracle\Ora81\ifs\
    custom_classes;\Oracle\Ora81\ifs\webui_classes;\Oracle\Ora81\ifs\lib\http.jar;\O
    racle\Ora81\ifs\lib\webui.jar;\Oracle\Ora81\ifs\lib\clientlib.jar;\Oracle\Ora81\
    ifs\jws\lib\servlet.jar;\Oracle\Ora81\ifs\jws\lib\jst.jar;\Oracle\Ora81\ifs\jre\
    lib\javac.jar;\Oracle\Ora81\ifs\settings;\Oracle\Ora81\ifs\jre\lib\rt.jar;\Oracl
    e\Ora81\ifs\jre\lib\i18n.jar;\Oracle\Ora81\jdbc\lib\classes111.zip;\Oracle\Ora81
    \lib\vbjorb.jar;\Oracle\Ora81\jlib\xmlparserv2.jar;\Oracle\Ora81\ifs\lib\repos.j
    ar;\Oracle\Ora81\ifs\lib\adk.jar;\Oracle\Ora81\ifs\lib\email.jar;\Oracle\Ora81\i
    fs\lib\tools.jar;\Oracle\Ora81\ifs\lib\utils.jar;\Oracle\Ora81\ifs\lib\release.j
    ar;\Oracle\Ora81\assistants\jlib\jnls.jar;\Oracle\Ora81\ifs\custom_classes;\Orac
    le\Ora81\ifs\webui_classes;\Oracle\Ora81\ifs\lib\http.jar;\Oracle\Ora81\ifs\lib\
    webui.jar;\Oracle\Ora81\ifs\lib\clientlib.jar;\Oracle\Ora81\ifs\jws\lib\servlet.
    jar;\Oracle\Ora81\ifs\jws\lib\jst.jar;\Oracle\Ora81\ifs\jre\lib\javac.jar;C:\Ora
    cle\Ora81\ifs\jre\lib\rt.jar;C:\Oracle\Ora81\ifs\jre\lib\i18n.jar;C:\Oracle\Ora8
    1\ifs\jre\lib\classes.zip;C:\Oracle\Ora81\ifs\jre\classes
    javawebserver: java.library.path is null
    (b) Path values
    C:\Oracle\Ora81\ifs\bin>set PATH
    Path="C:\Oracle\Ora81\ifs\bin";C:\Oracle\Ora81\bin;C:\jdk1.1.8\bin;C:\WINNT\syst
    em32;C:\WINNT;C:\WINNT\system32\nls\ENGLISH;C:\WINNT\system32\nls;C:\Oracle\Ora8
    1\orb\bin
    PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
    (c) Classpath values
    C:\Oracle\Ora81\ifs\bin>set CLASSPATH
    CLASSPATH=Files\Exceed.nt\hcljrcsv.jar;C:\Oracle\Ora81\orb\classes\yoj.jar;C:\Or
    acle\Ora81\orb\classes\share.zip;C:\Oracle\Ora81\jdbc\lib\classes111.zip
    null

    I have the same error when I try to connect from another machine to iFS.
    oracle.ifs.common.IfsException: IFS-10620: Unable to construct connection pool
    oracle.ifs.common.IfsException: IFS-10633: Unable to create library connection
    oracle.ifs.common.IfsException: IFS-10600: Unable to construct library connectio
    n
    iFS API is working only with jdk1.1.8 ?
    I'm just using your API and I can assure you that IfsDefault.properties is as you advice and inluded in classpath.
    Please reply if you have any solution to this
    Thank you verry much

  • Module: AppleODClientLDAP - unable to open connection to LDAP server - unable to create connection context

    Hi everybody,
    I'm running in an urgent problem, because binding to my OpenDirectory got lost. I've lots of "Module: AppleODClientLDAP - unable to open connection to LDAP server - unable to create connection context" messages in the system.log and OD service stoppped running. In the OD-section no server is listed any longer and all buttons are greyed. All network users for sure are not available, but all other services are up. I didn't changed anything to the existing services but started with the netinstall config. I got the following entries in the systemlog
    Jun 19 00:35:30 macminiserver.homenet bootpd[95005]: server name macminiserver.homenet
    Jun 19 00:35:30 macminiserver.homenet bootpd[95005]: interface en0: ip 192.168.0.11 mask 255.255.255.0
    Jun 19 00:35:30 macminiserver.homenet bootpd[95005]: subnets: Failed to convert 'domain_search': Empty array
    Jun 19 00:35:30 macminiserver.homenet bootpd[95005]: bsdpd: re-reading configuration
    Jun 19 00:35:30 macminiserver.homenet bootpd[95005]: bsdpd: shadow file size will be set to 48 megabytes
    Jun 19 00:35:30 macminiserver.homenet bootpd[95005]: bsdpd: age time 00:15:00
    Jun 19 00:35:30 macminiserver.homenet bootpd[95005]: bsdpd: no NetBoot images found
    Jun 19 00:35:30 macminiserver.homenet bootpd[95005]: bootpd: NetBoot service turned off
    Jun 19 00:35:30 macminiserver.homenet bootpd[95005]: DHCP REQUEST [en0]: 1,0:1b:77:36:47:f6 <NB01>
    Jun 19 00:35:30 macminiserver.homenet bootpd[95005]: ACK sent NB01 192.168.0.107 pktsize 304
    Since these logentries appeared, no network users and groups are available anymore. I'm running OS X ML 10.8.3 and DNS is fine.
    Are there any steps to perform to get LDAP working again? With all buttons in the server admin OD section greyed out I even can't setup a new directory.
    BR
    Jens

    I was able to restore the existing server with the automatic OD backup that Server.app creates. When my OD fails to start after a crash and db_recover commands don't work, it's always worked for me to restore the odmaster from a backup using the command:
    sudo slapconfig -restoredb /private/var/backups/ServerBackup_OpenDirectoryMaster.sparseimage
    I'm careful to keep an independent OD backup with Carbon Copy Cloner and this preflight script.
    You can also grab an earlier version of the sparse image ServerBackup_OpenDirectoryMaster.sparseimage from a Time Machine backup. It's also possible to rsync the database files directory from a Time Machine backup.

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

Maybe you are looking for