JDBC Threads stuck on reserving connections

Hello,
I am using WLS 10gR3 single server on Solaris 5.10, with Oracle 10g DB that resides on the same server as weblogic and is dedicated to WLS only.
Under load, I see several threads (10-12) that are stuck on :
"[ACTIVE] ExecuteThread: '53' for queue: 'weblogic.kernel.Default (self-tuning)'" daemon prio=3 tid=0x000000010968e800 nid=0x9d waiting for monitor entry [0xfffffffd7e0f3000..0xfffffffd7e0ff840]
java.lang.Thread.State: BLOCKED (on object monitor)
at weblogic.jdbc.common.internal.ConnectionPool.reserve(ConnectionPool.java:343)
- waiting to lock <0xfffffffdb1ca0940> (a java.util.HashSet)
at weblogic.jdbc.common.internal.ConnectionPool.reserve(ConnectionPool.java:316)
at weblogic.jdbc.common.internal.ConnectionPoolManager.reserve(ConnectionPoolManager.java:93)
at weblogic.jdbc.common.internal.ConnectionPoolManager.reserve(ConnectionPoolManager.java:106)
at weblogic.jdbc.pool.Driver.connect(Driver.java:149)
at weblogic.jdbc.jts.Driver.getNonTxConnection(Driver.java:642)
at weblogic.jdbc.jts.Driver.connect(Driver.java:124)
at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:338)
at com.xx.yy.security.HibernateManagerProvider.getConnection(HibernateManagerProvider.java:69)
at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:421)
at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144)
at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:139)
at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1538)
at org.hibernate.loader.Loader.doQuery(Loader.java:661)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224)
at org.hibernate.loader.Loader.loadEntity(Loader.java:1851)
at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:48)
"[ACTIVE] ExecuteThread: '42' for queue: 'weblogic.kernel.Default (self-tuning)'" daemon prio=3 tid=0x000000010aaf4400 nid=0x92 waiting for monitor entry [0xfffffffd7f6f3000..0xfffffffd7f6ff6c0]
java.lang.Thread.State: BLOCKED (on object monitor)
at weblogic.jdbc.common.internal.ConnectionPool.reserve(ConnectionPool.java:343)
- waiting to lock <0xfffffffdb1ca0940> (a java.util.HashSet)
at weblogic.jdbc.common.internal.ConnectionPool.reserve(ConnectionPool.java:316)
at weblogic.jdbc.common.internal.ConnectionPoolManager.reserve(ConnectionPoolManager.java:93)
at weblogic.jdbc.common.internal.ConnectionPoolManager.reserve(ConnectionPoolManager.java:106)
at weblogic.jdbc.pool.Driver.connect(Driver.java:149)
at weblogic.jdbc.jts.Driver.getNonTxConnection(Driver.java:642)
at weblogic.jdbc.jts.Driver.connect(Driver.java:124)
at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:338)
at com.xx.yy.security.HibernateManagerProvider.getConnection(HibernateManagerProvider.java:69)
The thread that holds the lock is :
[ACTIVE] ExecuteThread: '51' for queue: 'weblogic.kernel.Default (self-tuning)'" daemon prio=3 tid=0x0000000105ee8800 nid=0x9b runnable [0xfffffffd7e4f4000..0xfffffffd7e4ff740]
java.lang.Thread.State: RUNNABLE
at java.util.AbstractCollection.contains(AbstractCollection.java:89)
at java.util.AbstractCollection.containsAll(AbstractCollection.java:278)
at java.util.AbstractSet.equals(AbstractSet.java:78)
at weblogic.security.acl.internal.AuthenticatedSubject.equals(AuthenticatedSubject.java:428)
at java.util.HashMap.getEntry(HashMap.java:349)
at java.util.HashMap.containsKey(HashMap.java:335)
at java.util.HashSet.contains(HashSet.java:184)
at weblogic.jdbc.common.internal.ConnectionPool.reserve(ConnectionPool.java:343)
- locked <0xfffffffdb1ca0940> (a java.util.HashSet)
at weblogic.jdbc.common.internal.ConnectionPool.reserve(ConnectionPool.java:316)
at weblogic.jdbc.common.internal.ConnectionPoolManager.reserve(ConnectionPoolManager.java:93)
at weblogic.jdbc.common.internal.ConnectionPoolManager.reserve(ConnectionPoolManager.java:106)
at weblogic.jdbc.pool.Driver.connect(Driver.java:149)
at weblogic.jdbc.jts.Driver.getNonTxConnection(Driver.java:642)
at weblogic.jdbc.jts.Driver.connect(Driver.java:124)
at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:338)
at com.xx.yy.security.HibernateManagerProvider.getConnection(HibernateManagerProvider.java:69)
at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:421)
at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144)
at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:139)
at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1538)
at org.hibernate.loader.Loader.doQuery(Loader.java:661)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224)
at org.hibernate.loader.Loader.doList(Loader.java:2211)
at org.hibernate.loader.Loader.listUsingQueryCache(Loader.java:2127)
at org.hibernate.loader.Loader.list(Loader.java:2087)
at org.hibernate.loader.criteria.CriteriaLoader.list(CriteriaLoader.java:94)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1569)
at org.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:283)
at org.hibernate.impl.CriteriaImpl.uniqueResult(CriteriaImpl.java:305)
at com.xx.yy.db.HibernateTemplateEx$10.doInHibernate(HibernateTemplateEx.java:537)
at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:369)
*The datasource is configured within the EAR with :*
<?xml version="1.0" encoding="UTF-8"?>
<jdbc-data-source
xmlns="http://www.bea.com/ns/weblogic/jdbc-data-source"
xmlns:sec="http://www.bea.com/ns/weblogic/90/security"
xmlns:wls="http://www.bea.com/ns/weblogic/90/security/wls"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/ns/weblogic/jdbc-da
ta-source http://www.bea.com/ns/weblogic/jdbc-data-source/1.0/jdbc-data-source.xsd">
<name>OracleDS</name>
<jdbc-driver-params>
<url>jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=thehost)(PORT=1521))(CONNEC
T_DATA=(SERVER=DEDICATED)(SERVICE_NAME=ora10)))</url>
<driver-name>oracle.jdbc.driver.OracleDriver</driver-name>
<properties>
<property>
<name>user</name>
<value>myuser</value>
</property>
</properties>
<password-encrypted>{3DES}nhYBET5FfK9uUUJZNI4pVg==</password-encrypted>
</jdbc-driver-params>
<jdbc-connection-pool-params>
<initial-capacity>300</initial-capacity>
<max-capacity>300</max-capacity>
<capacity-increment>5</capacity-increment>
<test-table-name>SQL SELECT 1 FROM DUAL</test-table-name>
<statement-cache-size>10</statement-cache-size>
<statement-cache-type>LRU</statement-cache-type>
</jdbc-connection-pool-params>
<jdbc-data-source-params>
<jndi-name>OracleDS</jndi-name>
<scope>Global</scope>
<global-transactions-protocol>LoggingLastResource</global-transactions-protocol>
</jdbc-data-source-params>
</jdbc-data-source>
Monitoring the pool I see that barely 50 connections are used at peak load, and there are no waiters for connections nor wait time. DBA says there's no issue on the DB side and there's no limit to the number of connections WLS can make.
I cannot see any reason why a thread would stuck on reserving for the pool, as said before, there are plenty of free connections.
Can anyone advise please ?

Hi Joe and thanks for having a look at this.
During 6 thread dumps, taken at 10 seconds interval, the thread did stay there.
The JVM is SUN's 1.6 64bit that comes with the Solaris Installation, I believe. I'll try to upgrade or switch to Jrockit.

Similar Messages

  • Thread stuck in socketConnect() while openning JDBC connection

    We are suferring a very strange behaviour in one of our servers.
    Sometimes a thread stucks for serveral minutes while obtaining a JDBC connection, this is the stack trace down to our method:
    "[STUCK] ExecuteThread: '82' for queue: 'weblogic.kernel.Default (self-tuning)'" RUNNABLE native
         java.net.PlainSocketImpl.socketConnect(Native Method)
         java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
         java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
         java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
         java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
         java.net.Socket.connect(Socket.java:529)
         oracle.net.nt.TcpNTAdapter.connect(TcpNTAdapter.java:150)
         oracle.net.nt.ConnOption.connect(ConnOption.java:130)
         oracle.net.nt.ConnStrategy.execute(ConnStrategy.java:353)
         oracle.net.resolver.AddrResolution.resolveAndExecute(AddrResolution.java:422)
         oracle.net.ns.NSProtocol.establishConnection(NSProtocol.java:686)
         oracle.net.ns.NSProtocol.connect(NSProtocol.java:246)
         oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1056)
         oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:308)
         oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:538)
         oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:228)
         oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
         oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:521)
         oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:280)
         oracle.jdbc.xa.client.OracleXADataSource.getPooledConnection(OracleXADataSource.java:482)
         oracle.jdbc.xa.client.OracleXADataSource.getXAConnection(OracleXADataSource.java:156)
         oracle.jdbc.xa.client.OracleXADataSource.getXAConnection(OracleXADataSource.java:101)
         weblogic.jdbc.common.internal.XAConnectionEnvFactory.makeConnection(XAConnectionEnvFactory.java:477)
         weblogic.jdbc.common.internal.XAConnectionEnvFactory.createResource(XAConnectionEnvFactory.java:177)
         weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1249)
         weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1166)
         weblogic.common.resourcepool.ResourcePoolImpl.reserveResourceInternal(ResourcePoolImpl.java:450)
         weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:342)
         weblogic.jdbc.common.internal.ConnectionPool.reserve(ConnectionPool.java:419)
         weblogic.jdbc.common.internal.ConnectionPool.reserve(ConnectionPool.java:324)
         weblogic.jdbc.common.internal.ConnectionPoolManager.reserve(ConnectionPoolManager.java:94)
         weblogic.jdbc.common.internal.ConnectionPoolManager.reserve(ConnectionPoolManager.java:63)
         weblogic.jdbc.jta.DataSource.getXAConnectionFromPool(DataSource.java:1677)
         weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1445)
         weblogic.jdbc.jta.DataSource.getConnection(DataSource.java:446)
         weblogic.jdbc.jta.DataSource.connect(DataSource.java:403)
         weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:364)
         org.eclipse.persistence.sessions.JNDIConnector.connect(JNDIConnector.java:126)
         org.eclipse.persistence.sessions.JNDIConnector.connect(JNDIConnector.java:94)
         org.eclipse.persistence.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:162)
         org.eclipse.persistence.internal.databaseaccess.DatasourceAccessor.connectInternal(DatasourceAccessor.java:327)
         org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.connectInternal(DatabaseAccessor.java:291)
         org.eclipse.persistence.internal.databaseaccess.DatasourceAccessor.reconnect(DatasourceAccessor.java:558)
         org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.reconnect(DatabaseAccessor.java:1433)
         org.eclipse.persistence.internal.databaseaccess.DatasourceAccessor.incrementCallCount(DatasourceAccessor.java:302)
         org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:570)
         org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:526)
         org.eclipse.persistence.sessions.server.ServerSession.executeCall(ServerSession.java:529)
         org.eclipse.persistence.internal.sessions.IsolatedClientSession.executeCall(IsolatedClientSession.java:133)
         org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:206)
         org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:192)
         org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.selectOneRow(DatasourceCallQueryMechanism.java:664)
         org.eclipse.persistence.internal.queries.ExpressionQueryMechanism.selectOneRowFromTable(ExpressionQueryMechanism.java:2582)
         org.eclipse.persistence.internal.queries.ExpressionQueryMechanism.selectOneRow(ExpressionQueryMechanism.java:2553)
         org.eclipse.persistence.queries.ReadObjectQuery.executeObjectLevelReadQuery(ReadObjectQuery.java:439)
         org.eclipse.persistence.queries.ObjectLevelReadQuery.executeDatabaseQuery(ObjectLevelReadQuery.java:1076)
         org.eclipse.persistence.queries.DatabaseQuery.execute(DatabaseQuery.java:740)
         org.eclipse.persistence.queries.ObjectLevelReadQuery.execute(ObjectLevelReadQuery.java:1036)
         org.eclipse.persistence.queries.ReadObjectQuery.execute(ReadObjectQuery.java:407)
         org.eclipse.persistence.queries.ObjectLevelReadQuery.executeInUnitOfWork(ObjectLevelReadQuery.java:1122)
         org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.internalExecuteQuery(UnitOfWorkImpl.java:2908)
         org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1291)
         org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1273)
         org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1233)
         org.eclipse.persistence.internal.jpa.EntityManagerImpl.executeQuery(EntityManagerImpl.java:778)
         org.eclipse.persistence.internal.jpa.EntityManagerImpl.findInternal(EntityManagerImpl.java:722)
         org.eclipse.persistence.internal.jpa.EntityManagerImpl.find(EntityManagerImpl.java:616)
         org.eclipse.persistence.internal.jpa.EntityManagerImpl.find(EntityManagerImpl.java:495)
         sun.reflect.GeneratedMethodAccessor182.invoke(Unknown Source)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:597)
         weblogic.deployment.BasePersistenceContextProxyImpl.invoke(BasePersistenceContextProxyImpl.java:106)
         weblogic.deployment.TransactionalEntityManagerProxyImpl.invoke(TransactionalEntityManagerProxyImpl.java:77)
         weblogic.deployment.BasePersistenceContextProxyImpl.invoke(BasePersistenceContextProxyImpl.java:87)
         weblogic.deployment.TransactionalEntityManagerProxyImpl.invoke(TransactionalEntityManagerProxyImpl.java:18)
         $Proxy71.find(Unknown Source)
         com.ericsson.adm.ejb.PromoProcessorMDB.processRequest(PromoProcessorMDB.java:181)
    I checked OS tcp_syn_retries, is 5, an exception should be raised after 180 seconds, isnt?
    Even more weird is that sometimes a entityManager.find() give us null object even if the database record of the sougth persisted object exists.
    It seems that we have a network problem here but WLS / JVM is not throwing exceptions so we cant show to network administrators this problem.
    Our Weblogic is version 10.3.4 running on Redhat 5 with kernel 2.63.18-194.e15.
    JDK reports itself as "Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)".
    We have the exact replica of the faulty server (hardware and configuration) running the same application in the same domain connected to the same network switch connecting to the same Oracle instance but in that server we haven't suffer such problem.
    Edited by: user13413948 on 15-feb-2012 15:37
    Edited by: user13413948 on 15-feb-2012 15:38

    Io exception: The Network Adapter could not establish the connection..
    I'd check in tools->embedded oc4j server preferences (current workspace app / data sources) and do a refresh now.
    Next, make sure your app module config files reference the right connection by right clicking the app module and selecting configuration. lastly, make sure the project points to the right database connection by right clicking project -> properties, business components.

  • I did a reset on my iphone 4 now it's stuck on the connect to itunes screen.. I've tried EVERYTHING. please HELP!!!

    I did a reset on my iphone 4.. now it's stuck on the connect to itunes screen.. I have tried EVERY troubleshooting thing on the apple site. I've reinstalled to a later date of itunes. I've rebooted.. please HELP!! iTunes stopped recognising my iPhone after I undated hence the reverte back to an older iTunes version. My phone's cord is fine it will charge in the wall on the dock as well iTunes just isn't recognising it?!?!

    iTunes will also NOT recognize my iPod Touch.. I've reinstalled iTunes several times on all THREE of my computers to the same result.. I'm going insane.. The newest iTunes has made it a real hassle!! Before I updated my iTunes both connected just FINE!! Now neither my computers (3 of them) or iTunes will recognize the iphone4, or the iPod Touch. The threads that people are posting to go back to the SAME 6 troubleshooting steps aren't really helping. ANYONE else had the same problem but was able to resolve?? A little desperate here!! HELP!!

  • HT4097 my ipad 3 is stuck in the "connect to itunes" mode. whether i restart or try to restore. when i try to restore itunes gives an error message saying an unknown error occurred (-1). any help.

    my ipad 3 is stuck in the "connect to itunes" mode. whether i restart or try to restore. when i try to restore itunes gives an error message saying an unknown error occurred (-1). any help.

    That error sometimes indicates a hardware problem. See 2nd link below.
    Update and restore alert messages on iPhone, iPad, and iPod touch
    http://www.buybuyla.com/tech/view/012953a0d412000e.shtml
    iOS: Resolving update and restore alert messages
    http://support.apple.com/kb/TS1275
    iPad: Unable to update or restore
    http://support.apple.com/kb/ht4097
    Take it to an Apple Store for evaluation.
    Make a Genius Bar Reservation
    http://www.apple.com/retail/geniusbar/
     Cheers, Tom

  • Jdbc adapter stuck

    Hi All:
    We are facing problems with the JDBC adapter, for unknown reason the JDBC Adapter stuck and do not pick the table entries. The only way to fix the issue is
                          - copy sender JDBC adapter
                          - rename sender JDBC adapter
                          - change old sender JDBC adapter on Sender agreement
    and I know that this is not a good solution. 
    We are using SAP PI 7.1 and connecting into Oracle database.
    Any of you are facing the same problem? What do you do to fix the issue?
    Warm Regards,
    PM

    There are two possible causes.
    1) Adapter locks in PI. Logic into NWA. go to Resource Monitoring and then go to locks. Delete JDBC locks if there are any.
    2) Open session in the database which you are trying to connect. please ask your DBA to kill all open session with the user what you are trying to connect.
    make sure you stop the communication channel before you do the above activities.Once done, please restart them.

  • Info reg reciever JDBC adapter's driver and connection

    Hello,
    I have following questions related to JDBC receiver adapter.
    1. can I supply jdbc driver and jdbc connection dynamically to supply the DB parameters dynamically?
    2. if I cant supply dynamically, how do i achieve this purpose?
    3. What are the receiver adapter parameters of JDBC receiver adapter that i can change dynamically?
    thanks and regards,
    Nikhil.

    Hi,
    To install JDBC driver follow the how to guide.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/xi-how-to-guides/how%20to%20install%20and%20configure%20external%20drivers%20for%20jdbc%20and%20jms%20adapters.pdf
    Configuration of JDBC Adapter for SQL Server
    JDBC Driver = com.microsoft.jdbc.sqlserver.SQLServerDriver
    Connection = jdbc:microsoft:sqlserver://hostname:<port>;DatabaseName=<DBName>
    UserID and Password.
    If the connection is not working find the correct port number.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40b92770-db81-2a10-8e91-f747188d8033
    JDBC- X I -  R/3 Scenario
    /people/bhavesh.kantilal/blog/2006/07/03/jdbc-receiver-adapter--synchronous-select-150-step-by-step
    /people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30
    Please check the driver path as mentioned below.
    JDBC Driver : sun.jdbc.odbc.JdbcOdbcDriver
    Connection:jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=//location of DB table.mdb;
    No JDBC driver required.
    Receiver JDBC scenario MS access - /people/sameer.shadab/blog/2005/10/24/connecting-to-ms-access-using-receiver-jdbc-adapter-without-dsn
    follow this thread
    Re: Problem when connecting to MS Access through JDBC Adapter.
    SAP Note 850116 has details
    Thanks,
    Satya Kumar
    Reward Points If it is Useful..

  • Cannot create JDBC driver of class '' for connect URL 'null'

    HI,
    Can any one help why i am getting the below error:
    Cannot create JDBC driver of class '' for connect URL 'null'
    The Error Stack Trace is:
    Cannot create JDBC driver of class '' for connect URL 'null'
    java.lang.NullPointerException
        at sun.jdbc.odbc.JdbcOdbcDriver.getProtocol(Unknown Source)
        at sun.jdbc.odbc.JdbcOdbcDriver.knownURL(Unknown Source)
        at sun.jdbc.odbc.JdbcOdbcDriver.acceptsURL(Unknown Source)
        at java.sql.DriverManager.getDriver(Unknown Source)
        at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createConnectionFactory(BasicDataSource.java:1437)
        at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1371)
        at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044)
        at com.crystaldecisions.reports.queryengine.driverImpl.jdbc.JDBCConnection.Open(Unknown Source)
        at com.crystaldecisions.reports.queryengine.JDBConnectionWrapper.Open(SourceFile:123)
        at com.crystaldecisions.reports.queryengine.Connection.br(SourceFile:1786)
        at com.crystaldecisions.reports.queryengine.Connection.bs(SourceFile:505)
        at com.crystaldecisions.reports.queryengine.Connection.t4(SourceFile:3020)
        at com.crystaldecisions.reports.dataengine.dfadapter.DFAdapter.a(SourceFile:697)
        at com.businessobjects.reports.sdk.requesthandler.DatabaseRequestHandler.a(SourceFile:309)
        at com.businessobjects.reports.sdk.requesthandler.DatabaseRequestHandler.long(SourceFile:264)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1150)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:660)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:166)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:528)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:526)
        at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(SourceFile:102)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(SourceFile:524)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(SourceFile:423)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(SourceFile:351)
        at com.businessobjects.sdk.erom.jrc.a.a(SourceFile:54)
        at com.businessobjects.sdk.erom.jrc.a.execute(SourceFile:67)
        at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(SourceFile:716)
        at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(SourceFile:125)
        at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:537)
        at com.crystaldecisions.sdk.occa.report.application.ds.a(SourceFile:186)
        at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(SourceFile:878)
        at com.crystaldecisions.sdk.occa.report.application.ReportSource.getPromptDatabaseLogOnInfos(SourceFile:815)
        at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.getPromptDatabaseLogOnInfos(SourceFile:338)
        at com.businessobjects.report.web.a.e.a(SourceFile:174)
        at com.businessobjects.report.web.a.e.a(SourceFile:97)
        at com.businessobjects.report.web.a.e.a(SourceFile:343)
        at com.businessobjects.report.web.a.t.a(SourceFile:1726)
        at com.businessobjects.report.web.event.bw.broadcast(SourceFile:97)
        at com.businessobjects.report.web.event.am.a(SourceFile:53)
        at com.businessobjects.report.web.a.t.if(SourceFile:2104)
        at com.businessobjects.report.web.e.a(SourceFile:300)
        at com.businessobjects.report.web.e.a(SourceFile:202)
        at com.businessobjects.report.web.e.a(SourceFile:135)
        at com.crystaldecisions.report.web.ServerControl.a(SourceFile:607)
        at com.crystaldecisions.report.web.ServerControl.processHttpRequest(SourceFile:342)
        at org.apache.jsp.CrystalReport_jsp._jspService(CrystalReport_jsp.java:205)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
        at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
    Cannot create JDBC driver of class '' for connect URL 'null'
    java.lang.NullPointerException
        at sun.jdbc.odbc.JdbcOdbcDriver.getProtocol(Unknown Source)
        at sun.jdbc.odbc.JdbcOdbcDriver.knownURL(Unknown Source)
        at sun.jdbc.odbc.JdbcOdbcDriver.acceptsURL(Unknown Source)
        at java.sql.DriverManager.getDriver(Unknown Source)
        at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createConnectionFactory(BasicDataSource.java:1437)
        at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1371)
        at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044)
        at com.crystaldecisions.reports.queryengine.driverImpl.jdbc.JDBCConnection.Open(Unknown Source)
        at com.crystaldecisions.reports.queryengine.JDBConnectionWrapper.Open(SourceFile:123)
        at com.crystaldecisions.reports.queryengine.Connection.br(SourceFile:1786)
        at com.crystaldecisions.reports.queryengine.Connection.
    Thanks
    Penchal

    HI Shailendra,
    I think your expecting code. The Code is as follows. and also for few reports i am getting Unexpected Database Error help me in this also
    if(reportName != null && !"".equals(reportName) && reportSource==null){
            //Initializing report
            ReportClientDocument boReportClientDocument = new ReportClientDocument();
            boReportClientDocument.open(reportName, 0);
              Fields<IParameterField> parameterFields = boReportClientDocument.getDataDefController().getDataDefinition().getParameterFields();
              System.out.println("Param Fields Size:"+parameterFields.size());
         if (parameterFields.size() > 0) {
            ParameterFieldController paramController = boReportClientDocument.getDataDefController().getParameterFieldController();
            for (int i = 0; i < parameterFields.size(); i++) {
                String paramName = parameterFields.getField(i).getName().trim();
                System.out.println("                    -          "+paramName);
                if(request.getParameter(paramName) != null) {
                    paramController.setCurrentValue("", paramName, request.getParameter(paramName));
                    System.out.println(paramName+":"+request.getParameter(paramName));
                }else {
                    System.out.println("Param is Null:"+paramName+":"+request.getParameter(paramName));
                    paramController.setCurrentValue("", paramName, "");
        reportSource = boReportClientDocument.getReportSource();
        //session.setAttribute("ReportSource", reportSource);
        boReportClientDocument.close();
        CrystalReportViewer crystalReportViewer = new CrystalReportViewer();
        crystalReportViewer.setName(reportName);
        crystalReportViewer.setOwnPage(true);
        crystalReportViewer.setBestFitPage(true);
        crystalReportViewer.setToolPanelWidth(0);
        crystalReportViewer.setHasToggleParameterPanelButton(false);
        crystalReportViewer.setHasToggleGroupTreeButton(false);
        crystalReportViewer.setReportSource(reportSource);
        crystalReportViewer.setEnableDrillDown(false);
                crystalReportViewer.processHttpRequest(request, response,getServletConfig().getServletContext(),null);
    Thanks
    Penchal

  • My iphone is stuck,  it says connect to itunes, and when I aconnect it to my pc, my pc says restore data but everything will be erased and I don't wanna lose everything. please help me

    my iphone is stuck,  it says connect to itunes, and when I aconnect it to my pc, my pc says restore data but everything will be erased and I don't wanna lose everything. please help me

    If you have a graphic of iTunes and a cable displayed on your iDevice then it is in Recovery mode.
    Check this to try an "exit"
    http://osxdaily.com/2011/01/08/iphone-recovery-mode/

  • I have a Ipod Touch 2G that is stuck on the connect to Itunes. How do I get it back to work without the access of a Home Computer?

    I have a Ipod Touch 2G that is stuck on the "Connect to Itunes Logo" How can I get it back in operating order with out the access to a home computer? Can anybody Help me? I need it back to work.....

    Connect the iOS device to your computer restore via iTunes.  Place the iOS device in Recovery Mode if necessary to allow the restore.
    If recovery mode does not work try DFU mode.
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    For how to restore:
    iTunes: Restoring iOS software
    To restore from backup see:
    iOS: How to back up    
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload most iTunes purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store    

  • I have an ipod touch and it is disabled cause my cousin changed the password and forgot what it is so now it is stuck .. i connected it to the itunes but still the keypad didnt appear and couldnt remember the password.. anyone can help me ?

    i have an ipod touch and it is disabled cause my cousin changed the password and forgot what it is so now it is stuck .. i connected it to the itunes but still the keypad didnt appear and couldnt remember the password.. anyone can help me ?

    Place the iPod in Recovery Mode and restore via iTunes.
    iOS: Wrong passcode results in red disabled screen
    If not successful, try DFU mode.
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings

  • HT201263 My iPhone 4 is stuck on the "Connect to iTunes screen" after trying to update to iOS 7.0.4! Help!

    I was attempting to update my iPhone 4 to the new iOS 7.0.4 via my computer after I plugged it in to create a backup copy and something went wrong before it could finish and I recieved an error message. Now my phone is stuck on the "Connect to iTunes screen". I've tried everything to reset & restore my phone with no luck!
    I have:
    -Restarted my computer
    -Updated iTunes to most current version
    -Turned phone on and off several times, waiting up to a half hour before turning on (to be greeted directly with apple logo then the connect to iTunes screen)
    -Turned on, turned on and held home button (nothing happens)
    -My computer is NOT recognizing my device at ALL! But when I plugged my boyfriends iPhone in, it detected it no problem.
    I tried calling my phone from the other phone and it goes straight to voicemail. I am super frustrated! Does anybody know what is going on?

    I was able to restore my phone!!!
    I called Apple and they said there was nothing more I could do. I called my carrier Verizon and was able to get my computer to recognize my device after trying this-
    Solution:
    After trying EVERYTHING this is the ONLY thing that worked-
    I took the USB connector cable out of the USB port it was in, and tried another one on the otherside of my laptop and iTunes was able to discover my phone in recovery mode. My phone was reset and everything is fine ( thank gosh for backup copies!)

  • HT1212 got an ipod from a friend and tryed to start it up and it is stuck in the connect to itunes screen and it will not pop up on itunes all in all it says i have to enter my password but i cant because its in the connet to itunes screen. help please!!!

    i got an ipod from a friend and i tryed to start it up and it is stuck on the connect to itunes screen, it wont even pop up on itunes it says i have to put in my password to continue but i cant because it is stuck please help me!!!!!!!

    Disabled
    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Wrong passcode results in red disabled screen                         
    If recovery mode does not work try DFU mode.                        
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings        
    For how to restore:
    iTunes: Restoring iOS software
    To restore from backup see:
    iOS: How to back up     
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload most iTunes purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store        

  • HT201210 restoring ipod and it say's can't find software and use a cd-rom if necessary. what am i supposed to do? my ipod is stuck on the connect to itunes screen and wont do anything.

    Restoring ipod and it say's can't find software and use a cd-rom if necessary. My ipod is stuck on the connect to itunes screen and wont do anything. What am i supposed to do?
    Please help, i will be very grateful

    you can do is go to ijailbreak.com then select downloads section.......scroll down and see the latest version of ipod touch second generation is available for download.....when it gets downloaded connect your iPod to itunes or keep it connected then hold option and click restore (mac) search the software by writing in search "iPod" a thing with white cube will show up if it is the file you just downloaded click it and wait for itunes to do its work......you can ask more if you are on windows

  • Ipod touch 4g wont connect to itunes or come out of recovery mode, its just stuck on the connect to itunes screen and will not come out, i tried doing a restore but something happened and now it wont finish or do anything else please help

    ipod touch 4g wont connect to itunes or come out of recovery mode, its just stuck on the connect to itunes screen and will not come out, i tried doing a restore but something happened and now it wont finish or do anything else please help and my itunes will not see that its connected. i also tried going though control panel and restarting the service and nothing happens. also i tried redoing the driver but its saying it cannot find any drivers for it

    lol ok nvm i fixed it

  • After updating firefox today to 6.0, firefox is unable to load multiple tabs at the same time. When I try, firefox refuses to load any pages, and instead is stuck trying to connect to each page.

    After I updated firefox to 6.0 today firefox has developed a problem loading multiple tabs. When I try to load 10+ tabs, either at the same time or by opening each tab separately, each tab is stuck trying to connect to the desired page. This continues if I close all the tabs and try to load a single page, the single page is unable to get pass connecting. In order to load a new page when this situation arises I must close down firefox and start again, and the program has no history of the previous session.

    Other solutions
    * https://support.mozilla.com/en-US/kb/Basic%20Troubleshooting#w_other-solutions
    Do a MALWARE check with these Malware Scanning programs. You need to scan with all programs because each program detects different malware. Make sure that you UPDATE each program to get the latest version of their databases before doing a scan.
    * Malwarebytes' Anti-Malware - http://www.malwarebytes.org/mbam.php
    * SuperAntispyware - http://www.superantispyware.com/
    * Windows Defender Home Page -
    http://www.microsoft.com/windows/products/winfamily/defender/default.mspx
    * Spybot Search & Destroy - http://www.safer-networking.org/en/index.html
    * Ad-Aware Free - http://www.lavasoft.com/products/ad_aware_free.php
    There are also specialized forums for Malware Removal such as those listed below, where you might be able to get more help:
    * Bleeping Computer Forums - http://www.bleepingcomputer.com/forums/
    * Spyware Warrior Forums - http://www.spywarewarrior.com/index.php
    * SWI Forums - http://www.spywareinfoforum.com/
    Check and tell if its working.

Maybe you are looking for

  • New to Mac

    Hi, I just bought my first Mac, it's a MacBook with OS 10.5.6. I have a cable internet connection with a Modem, and I have been able to receive email, ping shows an IP address, diagnostics says there's no problem with my internet connection, but MAIL

  • Volume buttons on iPhone 5 loose and clicky

    My iPhone 5 (black) has been having problems, the side buttons (volume) have been really loose. When I first got the phone (December) it didn't make that noise or feel like how it does now. http://youtu.be/W2phgzTIfXA - that's exactly my problem, I'v

  • Unlocked Tour in Colombia-browser won't show up

    Hello, I've got an unlocked Verizon Tour that I'm trying to use in Colombia.  I can currently make/receive calls and send and receive texts but I can't find my dad gum browser.  Phone info: Tour 9630 v4.7.1.61(Platform 4.1.0.81) Carrier:  Comcel I ha

  • Accessing/Extracting content from a DVD

    I have several DVDs that contain old family films from which the original media has been damaged or destroyed. I would like to be able to import these home movies into iMovie for editing. I can create a disc image on my desktop from the DVDs, but do

  • Asynchronous update and View customization

    Hello! I faced with an issue: I have a custom view of the some list with about 9 columns with long header title. For best viewing in properties of header cells we unchecked No Wrap option. And that view became looks good. After that we enabled Asynch