JDBC Driver.connect seems to hang.

I've been using DriverManager.getConnection to get a connection to MySQL. This has been working fine until I tried to use it from a Threaded part of my application.
It seems to hang when it gets to the DriverManager.getConnection line and never return.
I googled about for hours and came up with that there may be a bug in DriverManager.getConnection which causes a deadlock. So I tried using the connect method directly on the driver but got the exact same problem of it hanging on that line.
I tried running my application (in Netbeans) with the 'Debug File' mode rather than just 'Run File' and everything works perfectly! No problems, which just seemed strange.
If anyone could point me in the right direction I'd be very grateful. I can supply more details if need be :)
Cheers,
stu.

It seems to hang when it gets to the
DriverManager.getConnection line and never return.Have you actually verifed this, for example by putting System.out.println statements before and after the getConnection() call? "Seems to..." implies that you're making an assumption which may not be true.
I tried running my application (in Netbeans) with the
'Debug File' mode rather than just 'Run File' and
everything works perfectly! No problems, which just
seemed strange. Doesn't seem too strange actually. That's what "race conditions" and deadlock conditions are about -- different timing in the app will cause different results.

Similar Messages

  • JDBC stale connections and app hanging

    Hello,
    After a while idle my app stop working(it actually hangs) and after waiting all I get is the following exception message:
    Caused by: java.sql.SQLException: Invalid or Stale Connection found in the Connection Cache
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:208)
    at oracle.jdbc.pool.OracleImplicitConnectionCache.getConnection(OracleImplicitConnectionCache.java:399)
    at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:404)
    at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:189)
    at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:165)
    at org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider.getConnection(LocalDataSourceConnectionProvider.java:82)
    My datasource is using following OracleDataSource config values:
    connectionCachingEnabled: true
    connectionCacheProperties: InitialLimit=50, MinLimit=50 , MaxLimit=200, PropertyCheckInterval=300, ConnectionWaitTimeout=60, ValidateConnection=true
    Please, give me some help to figure out what is going on...
    Thanks,
    JV

    Hi,
    The class OracleConnectionCacheManager provides a set of administrative APIs applications can use to manage the connection cache. Using these APIs, applications can refresh stale connections.
    refreshCache API:
    void refreshCache(String cacheName, int mode)
    This refreshes the cache specified by cacheName. There are two modes supported, REFRESH_INVALID_CONNECTIONS and REFRESH_ALL_CONNECTIONS. When invoked with REFRESH_INVALID_CONNECTIONS, each Connection in the cache is checked for validity. If an invalid Connection is found, that connection's resources are removed and replaced with a new Connection. When invoked with REFRESH_ALL_CONNECTIONS, all available connections in the cache are closed and replaced with new valid physical connections.
    -Priyanka

  • Regarding JDBC Driver Connectivity

    Hi All,
    Presently we are using DB6 data base and how can i get JDBC driver information and connection paramters those are required for Implementing JDBC Adapters in XI. Please give u r inputs towards How can I find the connectivity details of Database
    Thanks

    Hi Yadagiri,
       Please see the below links
    /people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30 -
    > File to JDBC
      For more information see the belwo link:
       http://help.sap.com/saphelp_nw04/helpdata/en/64/ce4e886334ec4ea7c2712e11cc567c/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/64/ce4e886334ec4ea7c2712e11cc567c/content.htm
      Please let me know if you have any queriess...!
      Thanks and Regards,
      Chandu.

  • HELP!! SQL Server SP3 breaks JDBC driver connections

    Anybody ran into this problem? Just installed Sql Server 2k SP3 and all my jdbc calls fail. JDBC driver for Microsoft works find.

    Have you find a solution to your problem. I ran into the same problem. One of my
    client still use WLS 5.1 and has the problem as soon SP3 applied to MSSQL 2000/DBMS.
    I create a new accounnt in DBMS and it's not working. I tried several different
    type 4 JDBC drivers(MS, DataDirect...) and here is what I get, HELP!!!!!:
    Thu Jan 30 17:40:08 CST 2003:<I> <JDBC Pool> Sleeping in createResource()
    Thu Jan 30 17:40:09 CST 2003:<E> <JDBC Pool> Failed to create connection pool
    "E
    dSoftSQLPool"
    weblogic.common.ResourceException: weblogic.common.ResourceException:
    Could not create pool connection. The DBMS driver exception was:
    java.lang.StringIndexOutOfBoundsException: String index out of range: 0
    at java.lang.String.charAt(String.java:511)
    at com.microsoft.jdbc.base.BaseURLParser.parseURLSubProtocol(Unknown Sou
    rce)
    at com.microsoft.jdbc.base.BaseURLParser.parse(Unknown Source)
    at com.microsoft.jdbc.base.BaseDriver.connect(Unknown Source)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Con
    nectionEnvFactory.java:146)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Con
    nectionEnvFactory.java:108)
    at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllo
    cator.java:792)
    at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.j
    ava:416)
    at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.j
    ava:330)
    at weblogic.jdbc.common.internal.JdbcInfo.initPools(JdbcInfo.java:141)
    at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:255)
    at weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
    at weblogic.t3.srvr.StartupThread.doWork(StartupThread.java:109)
    at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java
    :62)
    "Jeff Reester" <[email protected]> wrote:
    >
    Joseph Weinstein <[email protected]> wrote:
    nslsk wrote:
    Anybody ran into this problem? Just installed Sql Server 2k SP3 andall my jdbc calls fail. JDBC driver for Microsoft works find.
    Show us the failure info (the whole stacktrace). Are you saying that
    the weblogic jdbc driver
    fails, but the jdbc driver from MS works?
    Joe
    We are seeing the same. Upgraded MS SQL Server 2000 SP2 to SP3. We
    cannot create
    the connection pool. We are running Weblogic Server 5.1.0 Service Pack
    11. With
    the Weblogic mssqlserver4v70 SP11 JDBC drivers.
    [exec] Sun Jan 26 16:08:31 EST 2003:<I> <JDBC Pool> Creating connection
    pool
    odbcPool with:
    [exec] aclName=weblogic.jdbc.connectionPool.odbcPool maxCapacity=200
    url=jdbc20:weblogic:mssqlserver4
    allowShrinking=true poolName=odbcPool refreshTestMinutes=6 testConnsOnReserve=true
    props=user=xxxxxx;server=Metaprise_UnitTest_415@
    VUABCDEFG:1433;capacityIncrement=1 testTable=ec_webconnect_check shrinkPeriodMins=12
    initialCapacity=4 loginDelaySecs=1 driver=MSSQLDriver20
    [exec] Sun Jan 26 16:08:31 EST 2003:<I> <JDBC Pool odbcPool> pool
    odbcPool
    will be tested at a 6 minute interval.
    [exec] Delaying 1 seconds before making a odbcPool pool connection.
    [exec] Sun Jan 26 16:08:32 EST 2003:<I> <JDBC Pool> Sleeping in
    createResource()
    [exec] Sun Jan 26 16:08:33 EST 2003:<E> <JDBC Pool> Failed to create
    connection
    pool "odbcPool"
    [exec] weblogic.common.ResourceException: weblogic.common.ResourceException:
    [exec] Could not create pool connection. The DBMS driver exception
    was:
    [exec] java.sql.SQLException: I/O exception while talking to the
    server,
    java.io.EOFException Unable to connect, please check your server's version
    and
    availability.
    [exec] at weblogic.jdbcbase.mssqlserver4.TdsStatement.microsoftLogin(TdsStatement.java:2830)
    [exec] at weblogic.jdbc20.mssqlserver4.MicrosoftConnection.beginLogin(MicrosoftConnection.java:42)
    [exec] at weblogic.jdbcbase.mssqlserver4.TdsConnection.login(TdsConnection.java:64)
    [exec] at weblogic.jdbc20.mssqlserver4.MicrosoftConnection.login(MicrosoftConnection.java:53)
    [exec] at weblogic.jdbcbase.mssqlserver4.BaseConnection.prepareConnection(BaseConnection.java:186)
    [exec] at weblogic.jdbc20.mssqlserver4.Driver.newConnection(Driver.java:32)
    [exec] at weblogic.jdbcbase.mssqlserver4.ConnectDriver.connect(ConnectDriver.java:148)
    [exec] at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(ConnectionEnvFactory.java:164)
    [exec] at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:123)
    [exec] at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllocator.java:840)
    [exec] at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.java:416)
    [exec] at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java:330)
    [exec] at weblogic.jdbc.common.internal.JdbcInfo.initPools(JdbcInfo.java:106)
    [exec] at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:220)
    [exec] at weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
    [exec] at java.lang.reflect.Method.invoke(Native Method)
    [exec] at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
    [exec] at weblogic.t3.srvr.StartupThread.doWork(StartupThread.java:109)
    [exec] at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java:62)
    [exec]
    [exec] at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(ConnectionEnvFactory.java:172)
    [exec] at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:123)
    [exec] at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllocator.java:840)
    [exec] at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.java:416)
    [exec] at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java:330)
    [exec] at weblogic.jdbc.common.internal.JdbcInfo.initPools(JdbcInfo.java:106)
    [exec] at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:220)
    [exec] at weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
    [exec] at java.lang.reflect.Method.invoke(Native Method)
    [exec] at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
    [exec] at weblogic.t3.srvr.StartupThread.doWork(StartupThread.java:109)
    [exec] at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java:62)
    [exec]
    [exec] at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:140)
    [exec] at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllocator.java:840)
    [exec] at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.java:416)
    [exec] at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java:330)
    [exec] at weblogic.jdbc.common.internal.JdbcInfo.initPools(JdbcInfo.java:106)
    [exec] at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:220)
    [exec] at weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
    [exec] at java.lang.reflect.Method.invoke(Native Method)
    [exec] at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
    [exec] at weblogic.t3.srvr.StartupThread.doWork(StartupThread.java:109)
    [exec] at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java:62)
    [exec]
    Jeff

  • How to know the location of  JDBC Driver/ connection

    unable to find JDBC driver and connection location
    How can I know the location of "JDBC Driver" for the input box JDBC Driver to confrigure this in ID.
    The same  for "Connection" too.
    urgent input (no links please) will help me.
    Thanks
    SY

    Hi,
    You can ask basis person to get the location of JDBC driver.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/80/4f34c587f05048adee640f4c346417/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/1d/756b3c0d592c7fe10000000a11405a/frameset.htm
    Hope this helps.
    Regards,
    Moorthy

  • Sql Exception on Testing Configuration with SQL Server JDBC driver for XA

    I have a requirement of analyzing the behavior of SQL Server JDBC data sources for XA transactions in our application.We have been using Non-XA drivers for both Oracle and SQL Server as we had no requirement for transactions spanning across multiple databases in past.I have setup and tested the XA driver for Oracle (Oracle Driver (Thin XA) for Instance Connections 9.0.1,9.2.0,10,11) in Weblogic 11g and its working perfectly for transactions spanning across two databases.No when I am trying to configure weblogic 11g R1 for Sql server JDBC driver to support XA transactions with driver details as follows,
    Server:Weblogic 11g R1
    Driver Type: MS Sql Server
    Database Driver :Oracle's MS SQL Server Driver(Type 4 XA) Version:7.0,2000,2005)
    Database:SQL Server 2005(Single Instance)
    and try to create a new data source and select "Test Configuration" and following error is thrown ,
    <Mar 17, 2011 4:49:49 PM GMT+05:30> <Error> <Console> <BEA-240003> <Console encountered the following error java.sql.SQLException: [OWLS][SQLServer JDBC Driver][SQLServer]xa_open (0) returns -3
    at weblogic.jdbc.sqlserverbase.BaseExceptions40.createAppropriateSQLExceptionInstance(Unknown Source)
    at weblogic.jdbc.sqlserverbase.BaseExceptions40.createSQLException(Unknown Source)
    at weblogic.jdbc.sqlserverbase.BaseExceptions.createException(Unknown Source)
    at weblogic.jdbc.sqlserverbase.BaseExceptions.getException(Unknown Source)
    at weblogic.jdbc.sqlserver.tds.TDSRequest.processErrorToken(Unknown Source)
    at weblogic.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown Source)
    at weblogic.jdbc.sqlserver.tds.TDSRPCRequest.processReplyToken(Unknown Source)
    at weblogic.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source)
    at weblogic.jdbc.sqlserver.SQLServerImplStatement.getNextResultType(Unknown Source)
    at weblogic.jdbc.sqlserverbase.BaseStatement.commonTransitionToState(Unknown Source)
    at weblogic.jdbc.sqlserverbase.BaseStatement.postImplExecute(Unknown Source)
    at weblogic.jdbc.sqlserverbase.BasePreparedStatement.postImplExecute(Unknown Source)
    at weblogic.jdbc.sqlserverbase.BaseStatement.commonExecute(Unknown Source)
    at weblogic.jdbc.sqlserverbase.BaseStatement.executeUpdateInternal(Unknown Source)
    at weblogic.jdbc.sqlserverbase.BasePreparedStatement.executeUpdate(Unknown Source)
    at weblogic.jdbcx.sqlserver.SQLServerImplXAResource.executeXaRpc(Unknown Source)
    at weblogic.jdbcx.sqlserver.SQLServerImplXAResource.executeXaRpc(Unknown Source)
    at weblogic.jdbcx.sqlserver.SQLServerImplXAResource.open(Unknown Source)
    at weblogic.jdbcx.sqlserverbase.BaseXAConnection.init(Unknown Source)
    at weblogic.jdbcx.sqlserverbase.BaseXAConnection40.init(Unknown Source)
    at weblogic.jdbc.sqlserverbase.BaseClassCreatorForJDBC40.createXaConnection(Unknown Source)
    at weblogic.jdbcx.sqlserverbase.BaseXADataSource.getXAConnection(Unknown Source)
    at com.bea.console.utils.jdbc.JDBCUtils.testConnection(JDBCUtils.java:550)
    at com.bea.console.actions.jdbc.datasources.createjdbcdatasource.CreateJDBCDataSource.testConnectionConfiguration(CreateJDBCDataSource.java:450)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.beehive.netui.pageflow.FlowController.invokeActionMethod(FlowController.java:870)
    at org.apache.beehive.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:809)
    at org.apache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:478)
    at org.apache.beehive.netui.pageflow.PageFlowController.internalExecute(PageFlowController.java:306)
    at org.apache.beehive.netui.pageflow.FlowController.execute(FlowController.java:336)
    at org.apache.beehive.netui.pageflow.internal.FlowControllerAction.execute(FlowControllerAction.java:52)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
    at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.access$201(PageFlowRequestProcessor.java:97)
    at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor$ActionRunner.execute(PageFlowRequestProcessor.java:2044)
    at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$WrapActionInterceptorChain.continueChain(ActionInterceptors.java:64)
    at org.apache.beehive.netui.pageflow.interceptor.action.ActionInterceptor.wrapAction(ActionInterceptor.java:184)
    at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$WrapActionInterceptorChain.invoke(ActionInterceptors.java:50)
    at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$WrapActionInterceptorChain.continueChain(ActionInterceptors.java:58)
    at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors.wrapAction(ActionInterceptors.java:87)
    at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processActionPerform(PageFlowRequestProcessor.java:2116)
    at com.bea.console.internal.ConsolePageFlowRequestProcessor.processActionPerform(ConsolePageFlowRequestProcessor.java:261)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
    at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequestProcessor.java:556)
    at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:853)
    at org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:631)
    at org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:158)
    at com.bea.console.internal.ConsoleActionServlet.process(ConsoleActionServlet.java:256)
    at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
    at com.bea.console.internal.ConsoleActionServlet.doGet(ConsoleActionServlet.java:133)
    at org.apache.beehive.netui.pageflow.PageFlowUtils.strutsLookup(PageFlowUtils.java:1199)
    at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.executeAction(ScopedContentCommonSupport.java:686)
    at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.processActionInternal(ScopedContentCommonSupport.java:142)
    at com.bea.portlet.adapter.scopedcontent.PageFlowStubImpl.processAction(PageFlowStubImpl.java:106)
    at com.bea.portlet.adapter.NetuiActionHandler.raiseScopedAction(NetuiActionHandler.java:111)
    at com.bea.netuix.servlets.controls.content.NetuiContent.raiseScopedAction(NetuiContent.java:181)
    at com.bea.netuix.servlets.controls.content.NetuiContent.raiseScopedAction(NetuiContent.java:167)
    at com.bea.netuix.servlets.controls.content.NetuiContent.handlePostbackData(NetuiContent.java:225)
    at com.bea.netuix.nf.ControlLifecycle$2.visit(ControlLifecycle.java:180)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:324)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:130)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:395)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:352)
    at com.bea.netuix.nf.Lifecycle.runInbound(Lifecycle.java:184)
    at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:159)
    at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:388)
    at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:258)
    at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:199)
    at com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:251)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at com.bea.console.utils.MBeanUtilsInitSingleFileServlet.service(MBeanUtilsInitSingleFileServlet.java:47)
    at weblogic.servlet.AsyncInitServlet.service(AsyncInitServlet.java:130)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    I followed the instruction in weblogic jdbc drivers guide to configure the JTA Transactions to support XA on SQL Server machine and weblogic server which included,
    1.Copying sqljdbc.dll copied to SQL_Server_Root/bin directory from WL_HOME\server\lib.
    2.Copied instjdbc.sql to sql server machine and executed the script with following output,
    Changed database context to 'master'.
    Msg 3701, Level 11, State 5, Server SQLDB, Procedure sp_dropextendedproc, Line 16
    Cannot drop the procedure 'xp_jdbc_open', because it does not exist or you do not have permission.
    Msg 3701, Level 11, State 5, Server SQLDB, Procedure sp_dropextendedproc, Line 16
    Cannot drop the procedure 'xp_jdbc_open2', because it does not exist or you do not have permission.
    Msg 3701, Level 11, State 5, Server SQLDB, Procedure sp_dropextendedproc, Line 16
    Cannot drop the procedure 'xp_jdbc_close', because it does not exist or you do not have permission.
    Msg 3701, Level 11, State 5, Server SQLDB, Procedure sp_dropextendedproc, Line 16
    Cannot drop the procedure 'xp_jdbc_close2', because it does not exist or you do not have permission.
    Msg 3701, Level 11, State 5, Server SQLDB, Procedure sp_dropextendedproc, Line 16
    Cannot drop the procedure 'xp_jdbc_start', because it does not exist or you do not have permission.
    Msg 3701, Level 11, State 5, Server SQLDB, Procedure sp_dropextendedproc, Line 16
    Cannot drop the procedure 'xp_jdbc_start2', because it does not exist or you do not have permission.
    Msg 3701, Level 11, State 5, Server SQLDB, Procedure sp_dropextendedproc, Line 16
    Cannot drop the procedure 'xp_jdbc_end', because it does not exist or you do not have permission.
    Msg 3701, Level 11, State 5, Server SQLDB, Procedure sp_dropextendedproc, Line 16
    Cannot drop the procedure 'xp_jdbc_end2', because it does not exist or you do not have permission.
    Msg 3701, Level 11, State 5, Server SQLDB, Procedure sp_dropextendedproc, Line 16
    Cannot drop the procedure 'xp_jdbc_prepare', because it does not exist or you do not have permission.
    Msg 3701, Level 11, State 5, Server SQLDB, Procedure sp_dropextendedproc, Line 16
    Cannot drop the procedure 'xp_jdbc_prepare2', because it does not exist or you do not have permission.
    Msg 3701, Level 11, State 5, Server SQLDB, Procedure sp_dropextendedproc, Line 16
    Cannot drop the procedure 'xp_jdbc_commit', because it does not exist or you do not have permission.
    Msg 3701, Level 11, State 5, Server SQLDB, Procedure sp_dropextendedproc, Line 16
    Cannot drop the procedure 'xp_jdbc_commit2', because it does not exist or you do not have permission.
    Msg 3701, Level 11, State 5, Server SQLDB, Procedure sp_dropextendedproc, Line 16
    Cannot drop the procedure 'xp_jdbc_rollback', because it does not exist or you do not have permission.
    Msg 3701, Level 11, State 5, Server SQLDB, Procedure sp_dropextendedproc, Line 16
    Cannot drop the procedure 'xp_jdbc_rollback2', because it does not exist or you do not have permission.
    Msg 3701, Level 11, State 5, Server SQLDB, Procedure sp_dropextendedproc, Line 16
    Cannot drop the procedure 'xp_jdbc_forget', because it does not exist or you do not have permission.
    Msg 3701, Level 11, State 5, Server SQLDB, Procedure sp_dropextendedproc, Line 16
    Cannot drop the procedure 'xp_jdbc_forget2', because it does not exist or you do not have permission.
    Msg 3701, Level 11, State 5, Server SQLDB, Procedure sp_dropextendedproc, Line 16
    Cannot drop the procedure 'xp_jdbc_recover', because it does not exist or you do not have permission.
    Msg 3701, Level 11, State 5, Server SQLDB, Procedure sp_dropextendedproc, Line 16
    Cannot drop the procedure 'xp_jdbc_recover2', because it does not exist or you do not have permission.
    creating JDBC XA procedures
    instxa.sql completed successfully.
    3.Verified that MSDTC service is running on both SQL Server and weblogic machines with XA Transaction enabled and DTC option enabled for both inbound and outbound connections.
    4.Copied sqljdbc.jar (version 3.0 downloaded from msdn portal) to "C:\Oracle\Middleware\wlserver_10.3\server\ext\jdbc\sqlserver" directory and updated weblogic_classpth variable in commEnv.cmd file.
    set WEBLOGIC_CLASSPATH=%JAVA_HOME%\lib\tools.jar;%BEA_HOME%\utils\config\10.3\config-launch.jar;%WL_HOME%\server\lib\weblogic_sp.jar;%WL_HOME%\server\lib\weblogic.jar;%FEATURES_DIR%\weblogic.server.modules_10.3.2.0.jar;%WL_HOME%\server\lib\webservices.jar;%ANT_HOME%/lib/ant-all.jar;%ANT_CONTRIB%/lib/ant-contrib.jar;C:\Oracle\Middleware\wlserver_10.3\server\ext\jdbc\sqlserver\server\ext\jdbc\sqlserver\sqljdbc.jar
    Can some one please provide some input on whats causing this and any other steps needs to be followed to implement XA support using SQL Server JDBC driver.

    You seem to have done everything correctly and diligently. I would ask that you open
    an official support case.

  • How to use the oracle jdbc driver

    hi all,
    i have use the jdbc driver for oracle before but this time i<m under a hp-ux system and it seems to be different
    the dba here said the odbc driver and the jdbc driver where install but i get this error when i compile the code
    Class oracle.jdbc.driver.OracleDriver not found in type declration.
    if i try to use a odbc driver i can compile(since the classes are in jdk1.3) but i get this error at run time
    java.sql.SQLException: No suitable driver
    at java.sql.DriverManager.getConnection(Compiled Code)
    at java.sql.DriverManager.getConnection(DriverManager.java:126)
    at TestOracle.<init>(TestOracle.java:33)
    at TestOracle.main(TestOracle.java:126)
    can someone help me out to better understand what is wrong
    it seems the drivers are not install but again the dba assures me they are
    import java.sql.*;
    import java.io.*;
    public class TestOracle {
    public TestOracle()
    // Load the Oracle JDBC driver
    // Connect to the database
    // search the dossiers numbers in the right table depending on criteria
    // if demands comes from extranet verify to only send back the dossier
    // numbers that are linked to the customer
    // Load the Oracle JDBC driver
    try
         //DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
         //Class.forName("oracle.djbc.driver.OracleDriver");
         Class.forName("sun.jdbc.odbc.JdbcOdbcDriver").newInstance();
    catch( Throwable t ){t.printStackTrace();}
    //SQLException,IOException,ClassNotFoundException,
    //IllegalAccessException,InstantiationException
    try
         // Connect to the database
         // You can put a database name after the @ sign in the connection URL.
         Connection conn =
              //DriverManager.getConnection ("jdbc:oracle:oci8:@COLDDEV", "USER", "PPP");
              DriverManager.getConnection("jdbc:odbc:COLDDEV","USER", "PPP");
         Statement stmt = conn.createStatement ();
         ResultSet r = stmt.executeQuery("select * from Dossier");
         stmt.close();
         System.out.println("trouver:" + r.getString("Dossier_Number"));
    catch (SQLException e){e.printStackTrace();}
    public static void main(String[] args)
    TestOracle testOracle1 = new TestOracle();
    here is the code iuse

    http://forum.java.sun.com/thread.jsp?forum=48&thread=187964&start=0&range=15#608968
    The above link is a comprehensive "How to get set up and on my way" that I made for someone else learning Oracle/jdbc. Kind of a self-help resource page. I would start from the beginning and download the newest drivers, then set up your environment,...etc.
    hope this helped,
    Jamie

  • File-xi-jdbc Driver

    Hi All
    file-xi-jdbc scenario in jdbc adaptor under d/b connections how do we give parameters like JDBC Driver, Connection, UserName and password .and where do we get them.
    pls give a response.
    Thanks & Regards

    under the JDBC connection tab: the required paramters are filled depending upon the Databse you are using....so depening upon the D/B you also have to deploy the necessary jar files to suppor the driver information you mention in the connection tab.
    Example
    MaxDB
    JDBC Driver Class: com.sap.dbtech.jdbc.DriverSapDB
    Connection url : jdbc:sapdb://DBServer/DBName
    MSAccess
    JDBC Driver Class: jdbc.odbc.JdbcOdbcDriver
    Connection url : jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=//xiserver/xitemp/db/1.mdb
    Sqlserver
    JDBC-Driver: com.microsoft.jdbc.sqlserver.SQLServerDriver
    Connection: jdbc:microsoft:sqlserver://10.94.22.99:1433;DatabaseName=COS
    check these information:
    also check this
    tther option is download JDBC Driver from Microsoft Website
    http://www.microsoft.com/downloads/details.aspx?FamilyID=6D483869-816A-44CB-9787-A866235EFC7C&displaylang=en
    and deploy the JDBC driver using SDM.
    JDBC Driver Deployment Guide...
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70ffd890-0201-0010-708f-d5dad2dfcf3a
    how to configure drivers:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3867a582-0401-0010-6cbf-9644e49f1a10
    also http://www.oracle.com/technology/software/tech/windows/odbc/index.html
    Help Required on File to JDBC scenario
    JDBC Driver?
    Check this URL for details on JDBC drivers support list -
    Re: Different Version Oracle in a SLD
    For MSacess
    /people/sameer.shadab/blog/2005/10/24/connecting-to-ms-access-using-receiver-jdbc-adapter-without-dsn

  • 3rd Party JDBC Driver in IAS6

    Hi,
    I set up a third-party JDBC driver on iPlanet App Server 6.0 SP3 Test Drive
    on WinNT 4.0. I then ran HelloDB against a data source pointing to this JDBC
    driver. I got the following exception while trying to make a connection. Any
    hint as to what's wrong would be greatly appreciated.
    Yongtao You
    [email protected]
    PS. The "Driver Classpath" is set to "k:\iPlanet\ias6\neon\scjd12ts.jar"
    which contains the class "com.neon.jdbc.Driver".
    java.sql.SQLException: A. Couldn't load or create 3rd party class:
    com.neon.jdbc.Driver
    at com.netscape.server.jdbc.Driver.connect(Unknown Source)
    at com.netscape.server.jdbc.ConnectionPool.createNewConnection(Unknown
    Source)
    at com.netscape.server.jdbc.ProxyEvaluation.createObject(Unknown Source)
    at com.kivasoft.rlop.ObjectPool.reserveObjectnative(Native Method)
    at com.kivasoft.rlop.ObjectPool.reserveObject(Unknown Source)
    at com.netscape.server.jdbc.ConnectionPool.getFromPool(Unknown Source)
    at com.netscape.server.jdbc.ConnectionPool.getConnection(Unknown Source)
    at com.netscape.server.jdbc.DataSourceImpl.getConnection(Unknown Source)
    at com.netscape.server.jdbc.DataSourceImpl.getConnection(Unknown Source)
    at
    samples.hellodb.servlet.GreeterDBServlet.doGet(GreeterDBServlet.java:91)
    at
    samples.hellodb.servlet.GreeterDBServlet.doPost(GreeterDBServlet.java:132)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:772)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
    at com.netscape.server.servlet.servletrunner.ServletInfo.service(Unknown
    Source)
    at
    com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unknown
    Source)
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
    at com.kivasoft.thread.ThreadBasic.run(Native Method)
    at java.lang.Thread.run(Thread.java:479)

    Hi,
    I fixed the problem by manually editing the Windows Registry.
    Thanks.
    Yongtao
    Yongtao You <[email protected]> wrote in message
    news:9q52qh$[email protected]..
    Hi,
    I set up a third-party JDBC driver on iPlanet App Server 6.0 SP3 TestDrive
    on WinNT 4.0. I then ran HelloDB against a data source pointing to thisJDBC
    driver. I got the following exception while trying to make a connection.Any
    hint as to what's wrong would be greatly appreciated.
    Yongtao You
    [email protected]
    PS. The "Driver Classpath" is set to "k:\iPlanet\ias6\neon\scjd12ts.jar"
    which contains the class "com.neon.jdbc.Driver".
    java.sql.SQLException: A. Couldn't load or create 3rd party class:
    com.neon.jdbc.Driver
    at com.netscape.server.jdbc.Driver.connect(Unknown Source)
    at com.netscape.server.jdbc.ConnectionPool.createNewConnection(Unknown
    Source)
    at com.netscape.server.jdbc.ProxyEvaluation.createObject(UnknownSource)
    at com.kivasoft.rlop.ObjectPool.reserveObjectnative(Native Method)
    at com.kivasoft.rlop.ObjectPool.reserveObject(Unknown Source)
    at com.netscape.server.jdbc.ConnectionPool.getFromPool(Unknown Source)
    at com.netscape.server.jdbc.ConnectionPool.getConnection(UnknownSource)
    at com.netscape.server.jdbc.DataSourceImpl.getConnection(UnknownSource)
    at com.netscape.server.jdbc.DataSourceImpl.getConnection(UnknownSource)
    at
    samples.hellodb.servlet.GreeterDBServlet.doGet(GreeterDBServlet.java:91)
    at
    samples.hellodb.servlet.GreeterDBServlet.doPost(GreeterDBServlet.java:132)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:772)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
    atcom.netscape.server.servlet.servletrunner.ServletInfo.service(Unknown
    Source)
    at
    com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unknown
    Source)
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
    at com.kivasoft.thread.ThreadBasic.run(Native Method)
    at java.lang.Thread.run(Thread.java:479)

  • Loading JDBC driver

    Q: Which of the following ways will not load a JDBC Driver?
    A.Configure the list of drivers in jdbc.driver system property
    B.call the Driver's constructor
    C.pass class name to forName method of the class
    D.use JNDI to locate the Driver

    DataFiddler wrote:
    BIJ001 wrote:
    If making the JVM load the class through Class.forName registers the driver, constructing a driver instance will register it too.... And even if it would not register (if it were worse than the example below), you could still use it after constructing an instance
    import java.sql.*;
    public class WhyRegister {
         public static void main(String[] args) {
              try {
                   Driver myDriver = new com.mysql.jdbc.Driver();
                   Connection c = myDriver.connect(
                             "jdbc:mysql://localhost/TestDB", null);
                   c.close();
              } catch (SQLException e) {
                   System.out.println(e.getMessage());
    }Option B definitely should work as well...But if your runtime can instantiate a class without loading it, you've got something very odd indeed happening.....

  • JDBC Driver details

    hello
    I have a JDBC Sender scenario. I installed the JDBC driver and I would like to know where can I get the data for the communication channel:
    JDBC Driver
    connection
    also where and how do I create username and password?
    are they u/p on the JDBC Driver or this are the U/P directly to the DB?
    Thanks
    Kfir

    > I have a JDBC Sender scenario. I installed the JDBC driver and I would like to know where can I get the data for the communication channel:
    > JDBC Driver
    > connection
    You have already installed driver in PI system,so you shoul know the driver name,which db driver you have installed??
    >
    > also where and how do I create username and password?
    > are they u/p on the JDBC Driver or this are the U/P directly to the DB?
    >
    user name and password should get from Data base team,the details what you are going to enter,the user name should have authorizations to access the data base.
    data base name also you will get it from Data Base team,like where you updating or inserting data.
    Regards,
    Raj

  • ESATA card w/ drive connected causes Windows 7 bootup to hang

    I installed the NewerTech MAXPower eSATA 6G PCIe 2.0 card in slot 2 (PCI Express 2.0) of my Mac Pro (January 2008). My Mac Pro is configured with Mac OS X 10.6.x. It also has 64-bit Windows 7 installed via Boot Camp.
    The NewerTech eSATA card works fine with Mac OS X. However, if an external drive connected to the eSATA card is powered ON at the time I natively boot-up to Windows 7, booting up hangs with the following message:
    Marvell 88SE91xx Adapter - BIOS Version 1.0.0.1003.
    Initializing...
    If the external drive is OFF at the time I boot-up Windows 7, boot-up doesn't hang. I get the following message during bootup:
    Disk Information:
    No hard disk detected!
    Then, my Mac Pro continues to boot up into Windows 7; it does not hang. However, I can't use the drive. If I turn on the drive (a LaCie D2 Quadra 1 TB hard drive) after logging into Windows 7, it is not detected by Windows 7. This is different behavior than with Mac OS X. If my LaCie drive was off when I boot-up into Mac OS X, and I turn on the LaCie drive after logging into Mac OS X, the drive is detected properly and shows up in Finder. I also have the OWC Mercury Extreme Pro Qx2. If I turn it OFF prior to booting into Windows 7 (to prevent a hang), and then turn it back ON after booting into Windows 7, then Windows 7 recognizes the Qx2.
    So, does anyone have any suggestions on how to bootup Windows 7 natively while an external drive is connected? I reported the problem to OWC and they said that their "engineers are working on it", but it's been weeks, and it seems nothing is being done. BTW, I only tried slot 2 on my Mac. Wonder if it will help to try another slot.
    Thanks.

    I haven't had any problems using the card other than Windows 7 bootup hanging if an external drive is connected to the card. Do you think it's a good chance that it's an issue with the external drive having the USB/eSATA/firewire interfaces, and not the card itself? Unfortunately, all my external drives (all of which hang during Windows 7 bootup via bootcamp) have the USB/eSATA/firewire interfaces.
    I did some write tesing (large video files) using the OWC Mercury Elite-AL Pro Qx2 (4 drives in a RAID 5 config), which has a USB/eSATA/firewire interface. Using the eSATA interface, I was getting 202 MB/sec. Using Firewire 800, I was getting 65 MB/sec. So the eSATA was 202/65 = 3.1 times faster than Firewire 800. So, eSATA is certainly desirable to use. Not sure how much better I'd get with an enclosure that has only eSATA, and whether or not I'd get rid of the Windows 7 "hanging during bootup" bug.... Not an easy test to do given how much these external enclosures cost.
    If anyone has any suggestions on alternate eSATA cards that work with Mac OS X SL, Windows 7 (natively via boot camp and via Parallels), let me know. Driverless would be great. I've done a lot of searching around for an ideal eSATA card, but seems that each one has different pros/cons.
    thanks.

  • Oracle jdbc driver spending 40 seconds to make connection to Oracle db 11g

    we are using weblogic 10.3.3 and teh default Oracle11.1.0.7 Driver ojdbc6.jar to talk to Oracle db 11.2.0.1
    After reviewing weblogic logs I see that it takes 50 secodns for each connection to db
    HHere is a snippet (note I put in a 10 sec login dleay as i was experimenting, butt eh problem still occurs with or without login delay)
    <Dec 21, 2010 1:28:19 AM GMT> <Info> <JDBC> <BEA-001516> <Connection Pool "acm_repository" connected to Database: "Oracle", Version: "Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, Automatic Storage Management, OLAP, Data Mining
    and Real Application Testing options".>
    Dec 21, 2010 1:28:19 AM GMT> <Info> <JDBC> <BEA-001517> <Connection Pool "acm_repository" using Driver: "Oracle JDBC driver", Version: "11.1.0.7.0-Production".>
    <Dec 21, 2010 1:28:19 AM GMT> <Info> <JDBC> <BEA-001132> <Initialized statement cache of size "10" for connection in pool "acm_repository".>
    <Dec 21, 2010 1:28:19 AM GMT> <Info> <JDBC> <BEA-001066> <Delaying 10 seconds before making a acm_repository pool connection.>
    <Dec 21, 2010 1:29:09 AM GMT> <Info> <JDBC> <BEA-001068> <Connection for pool "acm_repository" created.>
    There is someting wrong in this environment
    I donwloaded the _g version fo teh exact same driver and had weblogic use it so I could generate verbose logs
    Here is a snippet fo teh oracle drivers verbose log file . If you notice the key parts
    it seems like its spending 40 second to make the connection, goes into a setConnectionDuringExceptionHandling method and creates the connection
    can someone shed light on what causes itto go into an exception state
    This happens for each and every connection but only in one specific environment
    we have other environments which seem towork fine with the exact same product versions except for this environment
    Thank you for any guidance on troubleshooting this further
    -Y
    Dec 21, 2010 1:27:38 AM oracle.jdbc.driver.PhysicalConnection parseConnectionProperty_Object
    TRACE_16: Exit
    Dec 21, 2010 1:27:38 AM oracle.jdbc.driver.PhysicalConnection readOCIConnectionPoolProperties
    TRACE_16: Exit
    Dec 21, 2010 1:27:38 AM oracle.jdbc.driver.PhysicalConnection readConnectionProperties
    TRACE_16: Exit
    Dec 21, 2010 1:27:38 AM oracle.jdbc.driver.PhysicalConnection initialize
    TRACE_16: Enter: null, null, null
    Dec 21, 2010 1:27:38 AM oracle.jdbc.driver.PhysicalConnection initialize
    TRACE_16: Exit
    Dec 21, 2010 1:27:38 AM oracle.jdbc.driver.PhysicalConnection needLine
    TRACE_16: Enter:
    Dec 21, 2010 1:27:38 AM oracle.jdbc.driver.PhysicalConnection needLineUnchecked
    TRACE_16: Enter:
    Dec 21, 2010 1:27:38 AM oracle.jdbc.driver.PhysicalConnection needLineUnchecked
    TRACE_16: Exit
    Dec 21, 2010 1:27:38 AM oracle.jdbc.driver.PhysicalConnection needLine
    TRACE_16: Exit
    Dec 21, 2010 1:27:38 AM oracle.jdbc.driver.T4CConnection logon
    **TRACE_16: Enter:**
    **Dec 21, 2010 1:27:38 AM oracle.jdbc.driver.T4CConnection connect**
    **TRACE_16: Enter: "10.135.3.80:1521:EPFDSQA"**
    **Dec 21, 2010 1:28:18 AM oracle.jdbc.driver.T4CMAREngine setConnectionDuringExceptionHandling**
    **TRACE_16: Enter:**
    **Dec 21, 2010 1:28:18 AM oracle.jdbc.driver.T4CMAREngine setConnectionDuringExceptionHandling**
    TRACE_16: ExitDec 21, 2010 1:28:18 AM oracle.jdbc.driver.DBConversion findDriverCharSet
    TRACE_16: Enter: 178, 8100
    Dec 21, 2010 1:28:18 AM oracle.jdbc.driver.DBConversion findDriverCharSet
    TRACE_16: return: 178
    Dec 21, 2010 1:28:18 AM oracle.jdbc.driver.DBConversion findDriverCharSet
    TRACE_16: Exit
    Dec 21, 2010 1:28:18 AM oracle.jdbc.driver.DBConversion <init>
    TRACE_16: Enter: 178, 178, 2000
    Dec 21, 2010 1:28:18 AM oracle.jdbc.driver.DBConversion init
    TRACE_16: Enter: 178, 178, 2000

    I would file an oracle jdbc bug to begin with, but I am guessing the driver is simply waiting
    for the DBMS to respond, so yo may need a good DBA to see what the DBMS thinks is going
    on at the time. I did hear of a case where the DBMS was doing some auditing, logging
    some info during every login. This info was being written to an OS file which just happened
    to be remote-mounted and would occasionally take 30 seconds, which caused connection
    requests to timeout at the driver end.... WebLogic is just asking the driver for a connection
    using your properties, so it's not involved directly with the problem....

  • JDBC Driver 10.1.0.5 to 10.2.0.3 Upgrade Exception: Socket is not connected

    Environment -
    Oracle TopLink 10g Release 3 (10.1.3.3.0) (Build 070620)
    Oracle 10g Release 3 (10.1.3) Application Server
    Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production
    JDBC Driver: 10.2.0.3
    Problem -
    I am trying a simple upgrade of my JDBC driver from 10.1.0.5 to 10.2.0.3. I have tried via creation of a shared library according to the OC4J Configuration and Administration Gude, and I even tried a direct replacement of jar files located under <OC4J_HOME>/jdbc/lib. After many deploy/undeploys and server restarts I continually receive the same error when TopLink attemps a datasource login:
    oracle.toplink.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: Io exception: Socket is not connectedError Code: 17002
    at oracle.toplink.exceptions.DatabaseException.sqlException(DatabaseException.java:276)
    at oracle.toplink.jndi.JNDIConnector.connect(JNDIConnector.java:115)
    at oracle.toplink.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:147)
    at oracle.toplink.intersnal.databaseaccess.DatasourceAccessor.connect(DatasourceAccessor.java:228)
    Has anyone seen or experienced this before? Thanks!

    Hi Srini,
    There are other errors:
    83: Object type TABLESPACE failed to create with error:
    ORA-01119: error in creating database file '/u01/oracle/oradata/patriadb/ptlidx.dbf'
    ORA-27040: file create error, unable to create file
    Linux Error: 2: No such file or directory
    Failing sql is:
    CREATE TABLESPACE "PORTAL_IDX" DATAFILE '/u01/oracle/oradata/patriadb/ptlidx.dbf' SIZE 20971520 AUTOEXTEND ON NEXT 31457280 MAXSIZE 32767M LOGGING ONLINE PERMANENT BLOCKSIZE 8192 EXTENT MANAGEMENT LOCAL AUTOALLOCATE DEFAULT NOCOMPRESS SEGMENT SPACE MA
    ORA-39083: Object type TABLESPACE failed to create with error:
    ORA-01119: error in creating database file '/u01/oracle/oradata/patriadb/ptllog.dbf'
    ORA-27040: file create error, unable to create file
    Linux Error: 2: No such file or directory
    Failing sql is:
    CREATE TABLESPACE "PORTAL_LOG" DATAFILE '/u01/oracle/oradata/patriadb/ptllog.dbf' SIZE 4194304 AUTOEXTEND ON NEXT 31457280 MAXSIZE 32767M LOGGING ONLINE PERMANENT BLOCKSIZE 8192 EXTENT MANAGEMENT LOCAL AUTOALLOCATE DEFAULT NOCOMPRESS SEGMENT SPACE MAN
    ORA-39083: Object type TABLESPACE failed to create with error:
    ORA-01119: error in creating database file '/u01/oracle/oradata/patriadb/oca.dbf'
    47,1
    I guess the point is, should I use IMPDP using Network link?
    the doc seems to suggest this will work better

  • Receiving oracle.jdbc.driver error when trying to connect

    Setup:
    Windows 7 64bit
    4GB ram
    SQL Developer 3.2.20.09
    Java platform 1.6.0_37
    Oracle IDE 3.2.20.09.87
    Hello, I'm going to start by saying I'm a rank amateur when it comes to using and understand SQL developer. My entire need for this program is to connect to a virt server at my office and test out my SQL queries against our tables. It's been working great for this purpose until yesterday when I received this error:
    An error was encountered performing the requested operation:
    oracle.jdbc.driver.T2CConnection.getLibraryVersionNumber()I
    Vendor code 0
    I did some searching and found a few references to this error but due to my inexperience I was unable to follow the resolutions and fix the error. This connection was working fine until yesterday afternoon which seemed odd. Based on my control panel, here is what I installed yesterday, I believe I installed both Java's after the error occurred seeing if they would alleviate the issue.
    MySQL Administrator 1.1
    Java SE Development Kit 6 Update 41 (64-bit)
    MySQL Workbench 5.2 CE
    Java 6 Update 41 (64-bit)
    Could one of these be the root of the issue?
    Thanks for the help and sorry for the lack of technical expertise, my need is very narrow and up until now this program has worked great for me.
    -Brad
    Edited by: 998110 on Apr 4, 2013 9:46 AM

    >
    Could one of these be the root of the issue?
    >
    More likely to be that you are now using the wrong version of the oracle jdbc jar file.
    Post the name and version of the JDBC jar file that you think you are using.
    Search the pc for ALL such files.
    Examine the environment variables (e.g. PATH) to see if they reference jdbc jars other than the ojdbc6 jar you should be using.

Maybe you are looking for

  • Multiple users accessing the same server.

    Ok here is my issue, about 2 months ago I started having issues with Filesharing on my 2012 Mac Mini running Lion server (current update). We have 3 users that VPN into our conpany network and usually access the same folder, 2 months ago they started

  • Screen goes black, only answer is restarting phone...

    Every so often, my phone goes black, but the crazy part is that the top part of the screen works (the AT&T signal, clock)..I can't do anything since the HOME button doesnt really do anything, nor touching the screen, i usually just restart the phone.

  • Powerbook wont boot

    Hi - I recently purchased a used 12" powerbook (877:40:10.3) and within 2 days of use, when starting up, the apple will appear along with the 'timer' and it will continue to spin until out of battery (i.e. hours) without booting up (or going to the d

  • Is it possible to copy entire database when update from 32 bit to 64 bit?

    Just want to update the os from 32bit to 64bit with Oracle9i. Sinece the data amount is very large, to export and import is quite time consuming, so Is it possible to copy entire database? Or any other suggestion?

  • Casting & Parsing

    dear All what is the difference between Casting & parse .. and when i use every one ? Many Thanks