JDBC connection detection failed in UNIX environment

Now I am doing the connection detection to ORACLE but it failed
in UNIX environment. I will put the error messages here
bash-2.03$ java -Dbea.home=/bea utils.dbping ORACLE ecom31@cse oracle global
Starting Loading jDriver/Oracle .....
Error encountered:
java.sql.SQLException: System.loadLibrary(weblogicoci37) threw java.lang.UnsatisfiedLinkError: no weblogicoci37 in java.library.path
at weblogic.jdbc.oci.Driver.loadLibraryIfNeeded(Driver.java:226)
at weblogic.jdbc.oci.Driver.connect(Driver.java:76)
at java.sql.DriverManager.getConnection(DriverManager.java:517)
at java.sql.DriverManager.getConnection(DriverManager.java:146)
at utils.dbping.main(dbping.java:167)
Pay attention to the System.loadLibrary(weblogicoci37) part. It's mean that
the file weblogicoci37 is not found.
Actually I have SUCCESSFULLY detect the connection on WIN2K environment. I
can found that file (weblogicoci37.dll) easily and put it on the path.
I have searched that file, but the closer folder that i can found is
file:/home/ecom31/bea/wlserver6.1/lib/linux/i686/oci816_7
but the file is libweblogicoci37.so
Can somebody give me a clue how to solve that problem ?
Thank you very much for any help.

Hi.
Make sure that your Oracle client lib is also in your shared library path.
Regards,
Michael
Hadi Ismanto wrote:
Now I am doing the connection detection to ORACLE but it failed
in UNIX environment. I will put the error messages here
bash-2.03$ java -Dbea.home=/bea utils.dbping ORACLE ecom31@cse oracle global
Starting Loading jDriver/Oracle .....
Error encountered:
java.sql.SQLException: System.loadLibrary(weblogicoci37) threw java.lang.UnsatisfiedLinkError: no weblogicoci37 in java.library.path
at weblogic.jdbc.oci.Driver.loadLibraryIfNeeded(Driver.java:226)
at weblogic.jdbc.oci.Driver.connect(Driver.java:76)
at java.sql.DriverManager.getConnection(DriverManager.java:517)
at java.sql.DriverManager.getConnection(DriverManager.java:146)
at utils.dbping.main(dbping.java:167)
Pay attention to the System.loadLibrary(weblogicoci37) part. It's mean that
the file weblogicoci37 is not found.
Actually I have SUCCESSFULLY detect the connection on WIN2K environment. I
can found that file (weblogicoci37.dll) easily and put it on the path.
I have searched that file, but the closer folder that i can found is
file:/home/ecom31/bea/wlserver6.1/lib/linux/i686/oci816_7
but the file is libweblogicoci37.so
Can somebody give me a clue how to solve that problem ?
Thank you very much for any help.--
Michael Young
Developer Relations Engineer
BEA Support

Similar Messages

  • JDBC  Connection Test Fails

    After a successful install, I am missing files and directories per this document:
    Oracle® Database JDBC Developer's Guide and Reference
    10g Release 2 (10.2)
    I am trying to run a JDBC connection test to the 10g Rel 2 database per these instructions, and the verification of the installed directories fails. There is no /demo directory in ORACLE_HOME/jdbc, nor are there any jar files in the /lib directory except the ojdbc14 and ojdbc_14g ones. There is no /doc directory. There is no readme.txt. There is only ORACLE_HOME/jdbc/lib containing the ojdbc14 jar files (no classes12.jar or orai18n.jar).
    Basically, almost the entire verification as outlined in 2.2.1 at this page
    http://download-east.oracle.com/docs/cd/B19306_01/java.102/b14355/getsta.htm#i1005373
    fails.
    Shouldn't all these files and directories have been installed?
    Any help appreciated.

    As David says, the version of Oracle you have installed has a reduced feature set. The entire Java subsystem has been left out to provide a lighter footprint.
    Please refer to the thread titled Strawman Feature Factoring List - Feedback requested (Strawman Feature Factoring List - Feedback requested to get a list of features currently in, and a discussion around possible changes.

  • Clarification needed on JDBC Connection Pool in  Clustered enviornment

    Hi All,
              Although I went through the bea online documentation , its not clear how
              JDBC connection pool works in clustered environment.
              If anyone can please answer following questions, it would be a great help.
              1) Do I need to create identical connection pools (with identical ACLs) on
              each WebLogic Server in the cluster ?
              2) Online documentation says " If you create an identical JDBC DataSource in
              each clustered WebLogic Server instance and configure those DataSources to
              use different connection pools, the cluster can support load balancing for
              JDBC connections. " what actually this means
              3) What's the use of "JDBC MultiPools " ? Is it same as "JDBC metapool "
              Thanks
              Regards
              Nalika
              

    See comments inline...
              Nalika wrote:
              > Hi All,
              >
              > Although I went through the bea online documentation , its not clear how
              > JDBC connection pool works in clustered environment.
              > If anyone can please answer following questions, it would be a great help.
              >
              > 1) Do I need to create identical connection pools (with identical ACLs) on
              > each WebLogic Server in the cluster ?
              I don't believe that it is strictly necessary to do this but it is certainly the
              most common configuration and probably the preferred one as well. WLS is smart
              enough to automatically use its Type 3 driver to route requests to a connection
              on another server but this type of server-to-server communication can have an
              impact on performance and scalability.
              > 2) Online documentation says " If you create an identical JDBC DataSource in
              > each clustered WebLogic Server instance and configure those DataSources to
              > use different connection pools, the cluster can support load balancing for
              > JDBC connections. " what actually this means
              Don't read too much into this. All that this is saying is that application
              components in each server will "prefer" to use their local DataSource (all other
              things being equal) and since other clustering technology (or things like
              hardware load balancers) are spreading the load across the servers, you will
              also spread the load across the different connection pools.
              > 3) What's the use of "JDBC MultiPools " ? Is it same as "JDBC metapool "
              Yes, these are one and the same.
              Hope this helps,
              Robert
              

  • Infinite loop - A stale JDBC connection was detected in the connection pool

    Hello.
    I have a simple JSP (no servlets) application with a single Fastlane Reader style view object to back it up. I'm deploying my application under OC4J 10g 9.0.4 using BC4J 9.0.3.11.50 (JDev 9.0.3.3) on RHEL 3.0, j2sdk1.4.2_03.
    I run with -Djbo.debugoutput=console
    Every so often, intermittently, and totally unpredictably, I see this on stdout for OC4J:
    03/12/23 07:42:07 [33326] A stale JDBC connection was detected in the connection pool
    03/12/23 07:42:07 [33327] Creating a new pool resource
    03/12/23 07:42:07 [33328] Trying connection/2: url='jdbc:oracle:thin:@somedb:1521:somedbsid' info='{user=someuser, password=somepass, dll=ocijdbc9, protocol=thin}' ...
    This message occurs over and over ultimately resulting in hundreds upon thousands of failed connections to the database. I have to forcibly restart OC4J to stop it.
    The weird thing about it is that it seems to only start doing this on one system (which is our internal deployment site); it works fine under an OC4J running in IDE or on a preproduction machine.
    Has anyone experienced this before - or at the very least, can clue me in on getting BC4J to be a little more verbose on the connection failure?
    Thanks and Happy Holidays,
    Sean

    Hi did you find an answer?
    if so, could you post it here?
    thanks

  • JDBC Connection between Unix and SQL Server 2000

    I have SQL Server 2000 installed in a pc as a data server and SQL Server 2000 JDBC Drive installed in a Unix machine. Both machines are connected and can ping each other. After setting up the environment data, I ran a test code to test the connection and got exceptions. ( I did the same process between a pc and the data server, it works well.)
    Attached are the test code and error message. Hope someone can help me.
    ******* Test Code ********
    import java.sql.*;
    * Microsoft SQL Server JDBC test program
    public class Test {
    public Test() throws Exception {
    // Get connection
    DriverManager.registerDriver(new
    com.microsoft.jdbc.sqlserver.SQLServerDriver());
    Connection connection = DriverManager.getConnection(
    "jdbc:microsoft:sqlserver://<hostname>","<username>","<password>");
    if (connection != null) {
    System.out.println();
    System.out.println("Successfully connected");
    System.out.println();
    // Meta data
    DatabaseMetaData meta = connection.getMetaData();
    System.out.println("\nDriver Information");
    System.out.println("Driver Name: "
    + meta.getDriverName());
    System.out.println("Driver Version: "
    + meta.getDriverVersion());
    System.out.println("\nDatabase Information ");
    System.out.println("Database Name: "
    + meta.getDatabaseProductName());
    System.out.println("Database Version: "+
    meta.getDatabaseProductVersion());
    } // Test
    public static void main (String args[]) throws Exception {
    Test test = new Test();
    ******* error message ********
    Exception in thread "main" java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket.
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at java.sql.SQLException.<init>(SQLException.java:64)
    at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source)
    at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
    at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
    at com.microsoft.jdbc.sqlserver.tds.TDSConnection.<init>(Unknown Source)
    at com.microsoft.jdbc.sqlserver.SQLServerImplConnection.open(Unknown Source)
    at com.microsoft.jdbc.base.BaseConnection.getNewImplConnection(Unknown Source)
    at com.microsoft.jdbc.base.BaseConnection.open(Unknown Source)
    at com.microsoft.jdbc.base.BaseDriver.connect(Unknown Source)
    at java.sql.DriverManager.getConnection(Compiled Code)
    at java.sql.DriverManager.getConnection(DriverManager.java:137)
    at Test.<init>(Test.java:10)
    at Test.main(Test.java:32)
    ************ end of message ***********

    If it works from a PC and not from the Unix box then you may have a network issue of some sort, I.E. firewall not letting it through etc.
    Try using telnet on the Unix box to see if you can connect to the sql server on the port that the SQL server is listening.
    E.G.
    telnet server_name 1433
    You may need to change the port number to the one that the SQL server is using.
    Col

  • How to create odbc (dsn) connection for OBIEE AND INFOR in unix environment

    Hi,
    we are establishing OBIA in Unix environment we set all the things fine but we are getting problem how to create ODBC connection
    for INFORMATICA AND OBIEE. I searched some blogs thats telling there is a ODBC.INI file we need to configure.
    but i am not getting clear idea to give parameters and it will not showing any TNSNAME ..........etc
    please any body give clear idea about how to create ODBC connection and LOCATION of that file AND parameter which i need to give.
    Thanks,
    charan....

    Hi Dpka,
    yah i already checked that one but i have not find out any parameter for TNS NAME information.
    is OBIEE connected to ORACLE DATA BASE without giving TNS information?............in UNIX OPERATING SYSTEM.
    pls give me the clear idea abt how to connect OBIEE, INFORMATICA to ORACLE DATA BASE IN UNIX ENVRNMENT
    thanks,
    charan.

  • SQL Developer 3.1 JDBC connect to Teradata fail

    I have the 3.1 release of Oracle SQL developer. I have the JDBC drivers for Teradata. I am tyring to get it to connect but it is failing. The error is very nondescript and of not much benefit. When I create the connection and put in the host name, user ID, default db, and password and click Test I get:
    Status: Failure - Test failed: (null)
    Below is the detail.
    I put this same info into another SQL editor to test the drivers and it connected fine. So the driver and the info I am passing do not seem to be the problem.
    Is there any insight into this error. ( I did see a thread about turning off SSO, except it is already turned off so that is not my issue)
    Please help.
    java.lang.NullPointerException
         at com.teradata.tdgss.jtdgss.TdgssConfigApi.GetMechanisms(Unknown Source)
         at com.teradata.tdgss.jtdgss.TdgssManager.<init>(Unknown Source)
         at com.teradata.tdgss.jtdgss.TdgssManager.getInstance(Unknown Source)
         at com.teradata.jdbc.jdbc.GenericTeraEncrypt.getGSSM(GenericTeraEncrypt.java:623)
         at com.teradata.jdbc.jdbc.GenericTeraEncrypt.getConfig(GenericTeraEncrypt.java:641)
         at com.teradata.jdbc.jdbc.GenericTeraEncrypt.getUserNameForOid(GenericTeraEncrypt.java:734)
         at com.teradata.jdbc.AuthMechanism.<init>(AuthMechanism.java:50)
         at com.teradata.jdbc.jdbc.GenericLogonController.run(GenericLogonController.java:121)
         at com.teradata.jdbc.jdbc_4.TDSession.<init>(TDSession.java:209)
         at com.teradata.jdbc.jdk6.JDK6_SQL_Connection.<init>(JDK6_SQL_Connection.java:30)
         at com.teradata.jdbc.jdk6.JDK6ConnectionFactory.constructConnection(JDK6ConnectionFactory.java:22)
         at com.teradata.jdbc.jdbc.ConnectionFactory.createConnection(ConnectionFactory.java:130)
         at com.teradata.jdbc.jdbc.ConnectionFactory.createConnection(ConnectionFactory.java:120)
         at com.teradata.jdbc.TeraDriver.doConnect(TeraDriver.java:220)
         at com.teradata.jdbc.TeraDriver.connect(TeraDriver.java:153)
         at oracle.jdeveloper.db.adapter.AbstractConnectionCreator.getConnection(AbstractConnectionCreator.java:153)
         at oracle.dbtools.thirdparty.teradata.TeradataConnectionCreator.getConnection(TeradataConnectionCreator.java:31)
         at oracle.jdeveloper.db.adapter.DatabaseProvider.getConnection(DatabaseProvider.java:325)
         at oracle.jdeveloper.db.adapter.DatabaseProvider.getConnection(DatabaseProvider.java:254)
         at oracle.jdevimpl.db.adapter.CADatabaseFactory.createConnectionImpl(CADatabaseFactory.java:60)
         at oracle.javatools.db.DatabaseFactory.createConnection(DatabaseFactory.java:534)
         at oracle.javatools.db.DatabaseFactory.createDatabase(DatabaseFactory.java:208)
         at oracle.jdeveloper.db.DatabaseConnections.getDatabase(DatabaseConnections.java:607)
         at oracle.dbtools.raptor.utils.Connections$ConnectionInfo.getDatabase(Connections.java:156)
         at oracle.dbtools.raptor.utils.Connections.getConnection(Connections.java:1043)
         at oracle.dbtools.raptor.utils.Connections.getConnection(Connections.java:1024)
         at oracle.dbtools.raptor.navigator.DatabaseConnection.openConnectionImpl(DatabaseConnection.java:115)
         at oracle.dbtools.raptor.navigator.AbstractConnectionNode.getConnection(AbstractConnectionNode.java:30)
         at oracle.dbtools.raptor.navigator.ConnectionFilter.getFactory(ConnectionFilter.java:94)
         at oracle.dbtools.raptor.navigator.ConnectionFilter$1.doWork(ConnectionFilter.java:119)
         at oracle.dbtools.raptor.navigator.ConnectionFilter$1.doWork(ConnectionFilter.java:104)
         at oracle.dbtools.raptor.backgroundTask.RaptorTask.call(RaptorTask.java:193)
         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
         at oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$RaptorFutureTask.run(RaptorTaskManager.java:515)
         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
         at java.lang.Thread.run(Thread.java:662)

    Hi,
    I did a web search for TdgssConfigApi.GetMechanisms null pointer and got lots of hits, but couldn't find any one specific cause. Some had issues with the version of the driver, some with placement of jar files in the correct location (depending on the version, there are 2 or 3), others with the format of the jdbc connect string.
    Try searching for and reading over some of these. Perhaps you can determine if any match your situation.
    Good luck,
    Gary

  • JDBC connection Oracle for UNIX

    I use Servlet to connect Oracle installed in UNIX.
    When I ran the java program, it happened some exceptions.
    I have spent much time to research this problem, but I still don't know what's the problem.
    Is the syntax wrong (unix syntax is different with nt syntax)???
    Do anyone tell me How I can solve this problem??
    Very thanks.
    The followings are the code I wrote in program :
    //==================================================
    String driver = "oracle.jdbc.driver.OracleDriver";
    String url = "jdbc:oracle:thin:@<HOST>:<PORT>:<SIDNAME>"          
    Class.forName(driver);
    connect = DriverManager.getConnection(url,username,passwords );
    //===================================================
    //HOST: ex. 10.1.1.1
    //PORT: ex. 1521
    //SIDNAME: ex. TEST
    The followings are Exceptions:
    //===================================================
    java.sql.SQLException: IO Exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=135291648)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4))))
    at oracle.jdbc.dbaccess.DBError.throwSqlExceptionDBError.java:169)
    at oracle.jdbc.dbaccess.DBError.throwSqlExceptionDBError.java:211)
    at oracle.jdbc.dbaccess.DBError.throwSqlExceptionDBError.java:324)
    at oracle.jdbc.driver.OracleConnection.<init>OracleConnection.java:266)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:365)
    at Oracle.jdbc.driver.OracleDriver.connectOracleDriver.java:260)
    at java.sql.DriverManager.getConnectionDriverManager.java:512)
    at java.sql.DriverManager.getConnectionDriverManager.java:171)
    at com.ust.spc.servlet.ServletConnectDB.setDatas(ServletConnectDB.java:73)
    //===================================================

    Java and JDBC are platform neutral .. or so I like to imagine.
    In your case there can by possibilities
    the jdbc url, username and or password any one or more could have been mistyped
    OR
    the data base is not running or able to provide more connections
    Try to connect using sqlplus to the database ... it you are able to the problem is with the jdbc url or username/password

  • Connection Source for .... failed because the environment is not trusted

    I got a message like this -
    Connection Source for .... failed because the environment is not trusted
    when trying to bind a field to a data connection field. What does this mean? I setup the data connection and it tested out fine.

    I am not exactly sure what you are referring to by the see "Note". I didn't find a "Note" that was related. The only thing I did find was the following:
    "If you are using external data sources in a form design that you want users to fill in Adobe Reader, you must set usage rights for the form by using Reader Extensions Server."
    I am only trying to display back information out of a database. I don't want to write information. Is there any way to get around this?
    Matt

  • Connection for Source failed because the environment is not trusted

    Good day all,
    This is the second time I come across this error on two different forms.
    This happens whenever I have a form connected to my database(SQL) and configured my ODBC.
    My form is Reader Extended, when I load it outside LC Designer I get this error : "Connection for Source failed because the environment is not trusted".
    I have searched for solution, one that I saw says one must change bindings from None to Normal, I've done that and didnt solve my problem.
    Can someone please assist me.
    Regards,
    Ace

    Check the two below links and see if they can be of any helpful to resolve your issue.
    In this thread Paul is asking to change the DSN setting.
    "If you set up your DSN as a system DSN instead of a user DSN then that message shoudl disappear."
    http://forums.adobe.com/message/2873482
    In the below blog, Steve is mentioning to clone the connection to get rid of the issue.
    You should be able to get around this by changing this line:
    var oDB = xfa.sourceSet.nodes.item(nIndex);
    to this:
    var oDB = xfa.sourceSet.nodes.item(nIndex).clone(1);
    http://forms.stefcameron.com/2006/10/12/displaying-all-records-from-an-odbc-data-connectio n/
    Thanks
    Srini

  • Connection for srouce dataconnection failed because the environment is not trusted

    HI all I keep gettng this message when I
    preview the page
    i get this message that sayd he the connection for the source dataconnection failed because the environment is not trusted
    can anyone help??

    Here is a blog entry that discusses how to deal with getting specific records etc....
    http://forms.stefcameron.com/2006/09/29/selecting-specific-database-records/
    Note at the bottom of the blog he mentions new security rules in version 8. Make sure you follow that link and look at the section on cloning ....you will need to do that in your script.
    Once you are on that blog you can search for your "Environment not Trusted" error. There were a couple of hits in the Q/A sections at the bottom of the blog. There is no definitive answer but there was a couple of suggestion there.
    Also if you go a google serach on "Environment not Trusted" there are numerous hits on different discussion forums. You may get your answer from one of those. If you  find the answer can you post it back here please?
    paul

  • Deadlock detected  (JNDI vs JDBC connection)

    Hello to all..
    this is my parallel thread as a subquestion about Struts in JDeveloper and Datasources..
    I'am developing a struts application for a large assicuration company...
    In my struts application I use JNDI to connect to my database (I'am developing in Jdeveloper 10 but i like to migrate do Jdeveloper 11)
    the xml file is this:
    This is the Error (in Jdeveloper 10) when two or three users acess a database procedure via Oc4J (struts) using JNDI!
    ORA-00060: deadlock detected while waiting for resource
    if I change the connection to use a normal JDBC connection ie: Connection con = DriverManager.getConnection(....);
    all works fine...
    What is the difference? why in the first example i get deadlock and why in second example all is ok?
    (my datasource definition from Jdeveloper 10 is )
    <?xml version = '1.0' encoding = 'windows-1250'?>
    <!DOCTYPE data-sources PUBLIC "Orion data-sources" "http://xmlns.oracle.com/ias/dtds/data-sources.dtd">
    <data-sources>
      <data-source
         name="jdev-connection-RAZ"
         class="com.evermind.sql.DriverManagerDataSource"
         location="jdbc/RAZCoreDS"
         xa-location="jdbc/xa/RAZXADS"
         ejb-location="jdbc/RAZDS"
         pooled-location="jdbc/RAZPooledDS"
         connection-driver="oracle.jdbc.driver.OracleDriver"
         username="xxxx"
         password="xxxx"
         url="jdbc:oracle:thin:@xxxxx:1521:xxxx" inactivity-timeout="30"/>
    </data-sources>
    and the struts "Action" code is like this:
    InitialContext ic = new InitialContext();
    Datasource ds = (Datasource)ic.lookup("jdbc/RAZDS");
    Connection con = ds.getConnection()
    Statement st = con.createStatement();
    st.execute(...);
    st.execute(...);
    st.execute(...);
    st.execute(...);
    st.execute(...);
    st.execute(...);
    con.commit;
    con.close();If I run my example (2-3 users at the same time) which call many pl/sql functions I get the error:
    ORA-00060: deadlock detected while waiting for resource
    If I change the JNDI connection to normal JDBC connection for example
    Connection con = DriverManager.getConnection(....);all works fine!
    what is the difference? why I get locking when using JNDI connection?
    Message was edited by:
    user618280

    Well, JDBC resources should be freed in general, even if the documentation claims that a specific driver could do this. Ie. st.close(), conn.close() each wrapped by a try-catch-Block. Apache Commons DbUtils has methods helping you to do this without re-inventing the wheel (org.apache.commons.dbutils.DbUtils).
    Using DriverManager is not Java EE conformant and you'll lose Connection Pooling, Transaction Management, etc.
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • JDBC connection fails with "java.rmi.NoSuchObjectException" message

    When connecting a JDBC client to a FireSIGHT Management Center, the following error message appears:
    SEVERE: java.rmi.NoSuchObjectException
            at java.net.PlainSocketImpl.socketConnect(Native Method)
            at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
            at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
            at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
            at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
            at java.net.Socket.connect(Socket.java:579)
            at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:618)
            at sun.security.ssl.SSLSocketImpl.<init>(SSLSocketImpl.java:407)
            at sun.security.ssl.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryImpl.java:88)
            at InstallCert.main(InstallCert.java:81)

    Cause
    Without the Server Hostname field filled in, a FireSIGHT Management Center (also known as Defense Center) tells the JDBC client that it has an address of localhost, or 127.0.0.1, which causes the connection to fail.
    Solution
    Step 1: Log in to your FireSIGHT Management Center where the JDBC is trying to connect to.
    Step 2: Navigate to System > Local > Configuration.
    Step 3: When the page loads, select Database on the left pane.
    Step 4: Ensure that the Server Hostname field is filled out with the Fully Qualified Domain Name, or the IP address of the FireSIGHT Management Center.

  • Coldfusion application fails to conect database(JDBC connection)

    Hi,
    I am facing some problem in my application producion box,
    Problem details::
    My Coldfusion application fails to conect database(JDBC connection) .After restarting cold fusion services it again work smoothly.
    Below are the production coldusion details.
    Server Product: ColdFusion MX.
    Version: 6,1,0,83762
    Edition: Enterprise.
    Please suggest its urgent.

    Hi
    Yes I have examined all the code as well as all the log files but unable to find any issue there. I am giving its error massage.
    Error Massage:
    Java.SQL.sqlexception. No more available statements please create your package with a larger dynamic section value
    The application within that has reported to be a FAILURE.
    Some times has no error massage it displayed blank page.
    Below are the system details.
    1. Operating system: windows 2000.
    2. ColdFusion version: 6.1(6,1,0,83762)
    3. Webservices: IIS
    4. database: SqlServer 2000 and DB2.
    5.  Java VM Version : 1.4.2-b28
    Kindly update its urgent, because its a production issue.
    Let me know if you have any questions regarding my explanation.....
    Thanks.
    Gautam Kumar.

  • APEX fails with Java stored procedure that creates a JDBC connection

    Hello!
    We are facing a strange problem since we have upgraded from Oracle 10g and Apache to Oracle 11g with Embedded Gateway.
    Here is what we do:
    ** APEXX calls a PL/SQL package function "OPEN_CONNECTION" that wraps a Java stored procedure called "openConnection".*
    FILE_READER_REMOTE_API.openConnection(user, password, host, port, service);
    ** The Java stored procedures "openConnection" opens a JDBC connection to an other database:*
    public class FileReaderRemote {
    private static Connection conn = null;
    private static DefaultContext remoteContext = null;
    public static void openConnection(String user, String password, String host, String port, String service) throws SQLException {
    // Load the Oracle JDBC driver
    DriverManager.registerDriver(new oracle.jdbc.OracleDriver());
    java.util.Properties props = new java.util.Properties();
    props.put ("user", user);
    props.put ("password", password);
    //props.put ("database", "//" + host + ":" + port + "/" + service);
    props.put ("database", host + ":" + port + ":" + service);
    props.put("v$session.program", "FileReaderRemote2");
    // Connect to the database
    remoteContext = Oracle.getConnection("jdbc:oracle:thin:", props);
    This procedure used to work fine before the upgrade, but now we see the following:
    * It still works when called directly from TOAD or SQL*Plus, even under the user ANONYMOUS.
    * When called from APEX and the target database is Oracle 11g, it still works.
    * When called from APEX and the target database is Oracle 10g, it takes several minutes and we receive this error:
    *"Socket read timed out"*
    We have tested the following workaround:
    We have created a database link to our own database and called the stored procedure through that database link.
    FILE_READER_REMOTE_API.openConnection*@loopback*(user, password, host, port, service);
    This works, but is not really an option.
    I hope some one of you can explain this strange behaviour to me.
    Best regards,
    Matthias

    You wrote
    "Java stored procedures -- by definition - are stored in the 8i rdbms. !!"
    From the Oracle8i Java Stored Procedures Developer's Guide
    Release 8.1.5
    A64686-01
    "If you create Java class files on the client side, you can use loadjava to upload them into the RDBMS. Alternatively, you can upload Java source files and let the Aurora JVM compile them. In most cases, it is best to compile and debug programs on the client side, then upload the class files for final testing within the RDBMS"
    This means that you can create shared classes that are used on both the client and server side. The source does not need to reside within the server (according to their documentation). Please also note the following from the Oracle8i JDBC Developer's Guide and Reference Release 8.1.5 A64685-01 for using the getConnection() method on the server:
    "If you connect to the database with the DriverManager.getConnection() method, then use the connect string jdbc:oracle:kprb:. For example:
    DriverManager.getConnection("jdbc:oracle:kprb:");
    Note that you could include a user name and password in the string, but because you are connecting from the server, they would be ignored."
    So if you're coding a shared class that is to run on both the client and server side, you might do something like this:
    Connection conn =
    DriverManager.getConnection(
    System.getProperty("oracle.server.version") == null
    ? "jdbc:oracle:thin:@hostname:1521:ORCL"
    : "jdbc:oracle:kprb:"),
    "youruserid","yourpassword");
    As stated earlier, the userid and password are supposedly ignored for server connections retrieved in this manner. I haven't tried this yet, but it is documented by Oracle.
    Regards,
    Steve
    null

Maybe you are looking for

  • Submit report with dynamic selections

    Hi All, I am trying to Submit a report with dynamic selections. I am using the option SUBMIT REPORT WITH FREE SELECTIONS. But the dynamic selections are not getting passed. Request you to kindly provide some inputs My code is DATA: trange TYPE rsds_t

  • Photoshop/Bridge CS4 PDF Presentation Update or Plug-in

    Full Parameter PDF Presentation is essential for me. PDF Presentation (as in Photoshop - Bridge CS2 and CS3) with panels for selection of presentation prameters and saving with various levels of jpeg compression and image quality, presets and output

  • Lion shut down

    I have been following some of the discussions re Lion not shutting down, and have the same problem for the past three months or so (never had a problem with it before - it just suddenly started with the grey screen and the icon turning and nothing fu

  • Why can't I buy and upload pages for my ipad2

    why can't I buy and upload Pages for my Ipad2? get error message not compatible with this ipad

  • AP1522 with WLC 2106

    Hi. I want to know how to join the AP1522 to a WLC 2106. The Controller and the AP are in the network, but the AP can't be joined to the controller. What is missing?