JDBC Connection Help
Can anyone help me by telling me the syntax of the
Class.for.Name and the RegisterDriver classes for the case of
using an Orcle thin driver.
I know how to connect via a JDBCODBC bridge.
Also Pls tell me of a suitable java oracle thin driver.
Will this help?
Oracle
Driver Class Name
oracle.jdbc.driver.OracleDriver
JDBC URL
jdbc:oracle:thin://hostname:port/schema_name
Example
jdbc:oracle:thin:@172.19.139.58:1521:UAT02
SQL Server
Driver Class Name
com.microsoft.jdbc.sqlserver.SQLServerDriver
JDBC URL
jdbc:microsoft:sqlserver://hostname:port
Example
jdbc:microsoft:sqlserver://172.19.138.24:1433
Similar Messages
-
MySQL -- JDBC Connection help !!!
Hi everybody...Well I have MySQL Server and Java, I get the JDBC and tried this:
import java.sql.*;
public class JdbcE {
public static void main(String args[]) {
Connection con = null;
try {
Class.forName("com.mysql.jdbc.Driver").newInstance();
con = DriverManager.getConnection("jdbc:mysql://localhost/test", "user", "pass");
if(!con.isClosed())
System.out.println("Successfully connected to MySQL server...");
} catch(Exception e) {
System.err.println("Exception: " + e.getMessage());
} finally {
try {
if(con != null)
con.close();
} catch(SQLException e) {}
And with that code all works fine...but when I change the Host from LOCALHOST to [ROUTER IP] like this:
con = DriverManager.getConnection("jdbc:mysql://182.185.145.12/test", "user", "pass");
I got this exception:
Exception: Communications link failure due to underlying exception:
** BEGIN NESTED EXCEPTION **
java.net.SocketException
MESSAGE: java.net.ConnectException: Connection timed out: connect
STACKTRACE:
java.net.SocketException: java.net.ConnectException: Connection timed out: conne
ct
at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.ja
va:156)
at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:276)
at com.mysql.jdbc.Connection.createNewIO(Connection.java:2666)
at com.mysql.jdbc.Connection.<init>(Connection.java:1531)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java
:266)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at JdbcE.main(JdbcE.java:11)
** END NESTED EXCEPTION **
Last packet sent to the server was 16 ms ago.
I don't know how to solve it...
I have a 2wire 1700HG router, maybe it would be a problem of the firewall can anyone help me to solve this problem??Well I sorry...I am very new in this kind of things...I just know that I have a 2wire 1700HG, I have installed MySQL Server, Java and mysql-connector-java...
When I try this in the connection statement:
con = DriverManager.getConnection("jdbc:mysql://localhost/test", "user", "test");
Everything works fine...but when I try this to connect from a remote PC
con = DriverManager.getConnection("jdbc:mysql://189.145.185.182/test", "user", "test");
This error comes out on screen:
Exception: Communications link failure due to underlying exception:
** BEGIN NESTED EXCEPTION **
java.net.SocketException
MESSAGE: java.net.ConnectException: Connection timed out: connect
STACKTRACE:
java.net.SocketException: java.net.ConnectException: Connection timed out: conne
ct
at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.ja
va:156)
at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:276)
at com.mysql.jdbc.Connection.createNewIO(Connection.java:2666)
at com.mysql.jdbc.Connection.<init>(Connection.java:1531)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java
:266)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at JdbcE.main(JdbcE.java:11)
** END NESTED EXCEPTION **
Last packet sent to the server was 16 ms ago.
I don't know what can I do :S please help!! :D -
JBO-26061, Error while opening JDBC connection, please help
Hello
I am new to JDeveloper suite.
I tried to follow BC4J/JSP tutorial found in "JDeveloper Handbook" but every time I try to execute my starter page, I get the following error:
Error Message: JBO-29000: Unexpected exception caught: oracle.jbo.DMLException, msg=JBO-26061: Error while opening JDBC connection.
Connection test runs successfully in JDev itself and I had no trouble with creating BC4j components (entity object, view and application module), mapping fields etc. Bc4j.xcfg file looks OK as well as server.xml of OC4J server.
I guess that OC4J server is unable to connect to database, but I cannot see why and what could be done about it.
Any recommendations would be warmly appreciated. Please send cc to [email protected] as well.
Thanks in advance,
KristjanKristjan,
BC4J has a tester that can be used to test applications. Right mousew click onto the Application Module and choose tester from the menu. Use setting as defaulted. If this can't connect, then obviously the database connection defined for the Application module is different from the one you are testing. Also, make sure the database password of the connection gets deployed (checkbox option in the connection dialog)
Frank -
Need help in DB2 JDBC connection from JDeveloper extension
Hi,
I am using JDeveloper extension to build my application. Here in the preferences, I have a UI in which I need to specify DB2 database connection parameters for establishing JDBC connection. After copying the required driver jar and license jar to the extension folder and specifying the CLASSPATH in extension.xml file, I am able to get the DB Connection. But the issue here is, I do not want the user to copy the driver jars to the extension path and neither to hardcode the driver CLASSPATH in extension.xml. Instead, if the user loads the driver jar in the CLASSPATH using command line, after launching JDev plug-in, I need to still be able to connect to the DB2 JDBC which is not happening. I am getting the error which says "Missing class com.ibm.db2.jcc.DB2Driver". I have ensured that the CLASSPTH is set for the driver and licensing jars for DB2. How can I get rid of this error without specifying the classpath in extension.xml file.
Thanks,
Sudha.
Edited by: sudha.singh on Dec 13, 2010 1:08 AM
Edited by: sudha.singh on Dec 13, 2010 1:08 AMdrivers for DB2 for the JDBC adapter.
1. db2jcc.jar
2. db2_license_cu.jar
3. db2_license_cisuz.jar
Driver = com.ibm.db2.jcc.DB2Driver
URL = jdbc:db2://<hostname>:5021/<dbname>:
http://publib.boulder.ibm.com/infocenter/db2luw/v8/index.jsp?topic=/com.ibm.db2.udb.doc/ad/rjvjcdif.htm
http://publib.boulder.ibm.com/infocenter/db2luw/v9/index.jsp?topic=/com.ibm.db2.udb.apdv.java.doc/doc/t0010264.htm -
ODI11 jdbc Cannot Get Jdbc Connection Exception - HELP!
Dear
I'm trying to make a conexion a new facility in the ODI 11 in a new machine.
that occurs when you try to configure the conexion at exactly the moment that will define the repository of work the following error occurs.
==
Parameters
Odi user and password - OK (checked and is correct)
Repository User and Master password - ok (checked and is correct)
Driver List - oracle.jdbc.OracleDriver
URL>
jdbc: oracle: thin: @ (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = sss.rrr3.ttttj.ggg.br) (PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = RRR3) ))
and
Error Text>
oracle.odi.core.config.MasterRepositoryResourceFailureException: org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is java.sql.SQLException: Exception while getting connection: oracle.ucp.UniversalConnectionPoolException: Can not get connection Data Source
at oracle.odi.core.repository.Repository.getMasterRepository (Repository.java: 74)
at oracle.odi.core.OdiInstance.createMasterRepository (OdiInstance.java: 501)
at oracle.odi.core.OdiInstance. <init> (OdiInstance.java: 553)
at oracle.odi.core.OdiInstance.createInstance (OdiInstance.java: 529)
at com.sunopsis.graphical.dialog.SnpsDialogLoginDetail.jButtonRepository_ActionPerformed (SnpsDialogLoginDetail.java: 1209)
at com.sunopsis.graphical.dialog.SnpsDialogLoginDetail.connEtoC9 (SnpsDialogLoginDetail.java: 394)
com.sunopsis.graphical.dialog.SnpsDialogLoginDetail.access at $ 15 (SnpsDialogLoginDetail.java: 390)
com.sunopsis.graphical.dialog.SnpsDialogLoginDetail at $ IvjEventHandler.actionPerformed (SnpsDialogLoginDetail.java: 186)
at javax.swing.AbstractButton.fireActionPerformed (AbstractButton.java: 1995)
javax.swing.AbstractButton at $ Handler.actionPerformed (AbstractButton.java: 2318)
at javax.swing.DefaultButtonModel.fireActionPerformed (DefaultButtonModel.java: 387)
at javax.swing.DefaultButtonModel.setPressed (DefaultButtonModel.java: 242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased (BasicButtonListener.java: 236)
at java.awt.AWTEventMulticaster.mouseReleased (AWTEventMulticaster.java: 272)
at java.awt.AWTEventMulticaster.mouseReleased (AWTEventMulticaster.java: 272)
at java.awt.Component.processMouseEvent (Component.java: 6267)
at javax.swing.JComponent.processMouseEvent (JComponent.java: 3267)
at java.awt.Component.processEvent (Component.java: 6032)
at java.awt.Container.processEvent (Container.java: 2041)
at java.awt.Component.dispatchEventImpl (Component.java: 4630)
at java.awt.Container.dispatchEventImpl (Container.java: 2099)
at java.awt.Component.dispatchEvent (Component.java: 4460)
at java.awt.LightweightDispatcher.retargetMouseEvent (Container.java: 4577)
at java.awt.LightweightDispatcher.processMouseEvent (Container.java: 4238)
at java.awt.LightweightDispatcher.dispatchEvent (Container.java: 4168)
at java.awt.Container.dispatchEventImpl (Container.java: 2085)
at java.awt.Window.dispatchEventImpl (Window.java: 2478)
at java.awt.Component.dispatchEvent (Component.java: 4460)
at java.awt.EventQueue.dispatchEvent (EventQueue.java: 599)
at java.awt.EventDispatchThread.pumpOneEventForFilters (EventDispatchThread.java: 269)
at java.awt.EventDispatchThread.pumpEventsForFilter (EventDispatchThread.java: 184)
at java.awt.EventDispatchThread.pumpEventsForFilter (EventDispatchThread.java: 178)
java.awt.Dialog at $ 1.run (Dialog.java: 1046)
java.awt.Dialog at $ 3.Run (Dialog.java: 1098)
at java.security.AccessController.doPrivileged (Native Method)
at java.awt.Dialog.show (Dialog.java: 1096)
at java.awt.Component.show (Component.java: 1563)
at java.awt.Component.setVisible (Component.java: 1515)
at java.awt.Window.setVisible (Window.java: 842)
at java.awt.Dialog.setVisible (Dialog.java: 986)
at com.sunopsis.graphical.dialog.SnpsDialogLoginDetail.snpsInitializeDisplayAll (SnpsDialogLoginDetail.java: 1475)
at com.sunopsis.graphical.dialog.SnpsDialogLoginDetail.snpsInitialize (SnpsDialogLoginDetail.java: 1421)
at com.sunopsis.graphical.dialog.SnpsDialogLoginDetail.initialize (SnpsDialogLoginDetail.java: 1096)
at com.sunopsis.graphical.dialog.SnpsDialogLoginDetail. <init> (SnpsDialogLoginDetail.java: 230)
at com.sunopsis.graphical.dialog.SnpsDialogLoginDetail. <init> (SnpsDialogLoginDetail.java: 208)
at oracle.odi.ui.LoginFactory.createLoginDetailDialog (LoginFactory.java: 218)
at oracle.odi.ui.LoginFactory.createNewLogin (LoginFactory.java: 291)
at com.sunopsis.graphical.dialog.SnpsDialogLogin.jToolBarButtonNew_ActionPerformed (SnpsDialogLogin.java: 853)
at com.sunopsis.graphical.dialog.SnpsDialogLogin.connEtoC1 (SnpsDialogLogin.java: 166)
com.sunopsis.graphical.dialog.SnpsDialogLogin at $ IvjEventHandler.actionPerformed (SnpsDialogLogin.java: 120)
at javax.swing.AbstractButton.fireActionPerformed (AbstractButton.java: 1995)
javax.swing.AbstractButton at $ Handler.actionPerformed (AbstractButton.java: 2318)
at javax.swing.DefaultButtonModel.fireActionPerformed (DefaultButtonModel.java: 387)
at javax.swing.DefaultButtonModel.setPressed (DefaultButtonModel.java: 242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased (BasicButtonListener.java: 236)
at java.awt.AWTEventMulticaster.mouseReleased (AWTEventMulticaster.java: 272)
at java.awt.AWTEventMulticaster.mouseReleased (AWTEventMulticaster.java: 272)
at java.awt.Component.processMouseEvent (Component.java: 6267)
at javax.swing.JComponent.processMouseEvent (JComponent.java: 3267)
at java.awt.Component.processEvent (Component.java: 6032)
at java.awt.Container.processEvent (Container.java: 2041)
at java.awt.Component.dispatchEventImpl (Component.java: 4630)
at java.awt.Container.dispatchEventImpl (Container.java: 2099)
at java.awt.Component.dispatchEvent (Component.java: 4460)
at java.awt.LightweightDispatcher.retargetMouseEvent (Container.java: 4577)
at java.awt.LightweightDispatcher.processMouseEvent (Container.java: 4238)
at java.awt.LightweightDispatcher.dispatchEvent (Container.java: 4168)
at java.awt.Container.dispatchEventImpl (Container.java: 2085)
at java.awt.Window.dispatchEventImpl (Window.java: 2478)
at java.awt.Component.dispatchEvent (Component.java: 4460)
at java.awt.EventQueue.dispatchEvent (EventQueue.java: 599)
at java.awt.EventDispatchThread.pumpOneEventForFilters (EventDispatchThread.java: 269)
at java.awt.EventDispatchThread.pumpEventsForFilter (EventDispatchThread.java: 184)
at java.awt.EventDispatchThread.pumpEventsForFilter (EventDispatchThread.java: 178)
java.awt.Dialog at $ 1.run (Dialog.java: 1046)
java.awt.Dialog at $ 3.Run (Dialog.java: 1098)
at java.security.AccessController.doPrivileged (Native Method)
at java.awt.Dialog.show (Dialog.java: 1096)
at java.awt.Component.show (Component.java: 1563)
at java.awt.Component.setVisible (Component.java: 1515)
at java.awt.Window.setVisible (Window.java: 842)
at java.awt.Dialog.setVisible (Dialog.java: 986)
at com.sunopsis.graphical.dialog.SnpsAbstractDialog.setVisible (SnpsAbstractDialog.java: 299)
at oracle.odi.ui.OdiConnectController.handleEvent (OdiConnectController.java: 114)
at oracle.ide.controller.IdeAction.performAction (IdeAction.java: 529)
at oracle.ide.controller.IdeAction.actionPerformedImpl (IdeAction.java: 884)
at oracle.ide.controller.IdeAction.actionPerformed (IdeAction.java: 501)
oracle.odi.ui.docking.AbstractOdiDockableWindow at $ 1.actionPerformed (AbstractOdiDockableWindow.java: 203)
at javax.swing.AbstractButton.fireActionPerformed (AbstractButton.java: 1995)
javax.swing.AbstractButton at $ Handler.actionPerformed (AbstractButton.java: 2318)
at javax.swing.DefaultButtonModel.fireActionPerformed (DefaultButtonModel.java: 387)
at javax.swing.DefaultButtonModel.setPressed (DefaultButtonModel.java: 242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased (BasicButtonListener.java: 236)
at java.awt.AWTEventMulticaster.mouseReleased (AWTEventMulticaster.java: 272)
at java.awt.Component.processMouseEvent (Component.java: 6267)
at javax.swing.JComponent.processMouseEvent (JComponent.java: 3267)
at java.awt.Component.processEvent (Component.java: 6032)
at java.awt.Container.processEvent (Container.java: 2041)
at java.awt.Component.dispatchEventImpl (Component.java: 4630)
at java.awt.Container.dispatchEventImpl (Container.java: 2099)
at java.awt.Component.dispatchEvent (Component.java: 4460)
at java.awt.LightweightDispatcher.retargetMouseEvent (Container.java: 4577)
at java.awt.LightweightDispatcher.processMouseEvent (Container.java: 4238)
at java.awt.LightweightDispatcher.dispatchEvent (Container.java: 4168)
at java.awt.Container.dispatchEventImpl (Container.java: 2085)
at java.awt.Window.dispatchEventImpl (Window.java: 2478)
at java.awt.Component.dispatchEvent (Component.java: 4460)
at java.awt.EventQueue.dispatchEvent (EventQueue.java: 599)
at java.awt.EventDispatchThread.pumpOneEventForFilters (EventDispatchThread.java: 269)
at java.awt.EventDispatchThread.pumpEventsForFilter (EventDispatchThread.java: 184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy (EventDispatchThread.java: 174)
at java.awt.EventDispatchThread.pumpEvents (EventDispatchThread.java: 169)
at java.awt.EventDispatchThread.pumpEvents (EventDispatchThread.java: 161)
at java.awt.EventDispatchThread.run (EventDispatchThread.java: 122)
Caused by: org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is java.sql.SQLException: Exception while getting connection: oracle.ucp.UniversalConnectionPoolException: Unable to get Connection from Data Source
at org.springframework.jdbc.datasource.DataSourceUtils.getConnection (DataSourceUtils.java: 82)
at org.springframework.jdbc.core.JdbcTemplate.execute (JdbcTemplate.java: 524)
at org.springframework.jdbc.core.JdbcTemplate.query (JdbcTemplate.java: 588)
at org.springframework.jdbc.core.JdbcTemplate.query (JdbcTemplate.java: 613)
at org.springframework.jdbc.core.JdbcTemplate.query (JdbcTemplate.java: 645)
at org.springframework.jdbc.object.SqlQuery.execute (SqlQuery.java: 111)
at org.springframework.jdbc.object.SqlQuery.execute (SqlQuery.java: 121)
at org.springframework.jdbc.object.SqlQuery.execute (SqlQuery.java: 136)
oracle.odi.core.repository.support.RepositoryUtils at $ RepositoryInfoSource.loadRepositoryInfo (RepositoryUtils.java: 179)
at oracle.odi.core.repository.support.RepositoryUtils.loadMasterRepositoryInfo (RepositoryUtils.java: 373)
at oracle.odi.core.repository.Repository.getMasterRepository (Repository.java: 72)
... 113 more
Caused by: java.sql.SQLException: Exception while getting connection: oracle.ucp.UniversalConnectionPoolException: Unable to get Connection from Data Source
at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.doGetConnection (LoginTimeoutDatasourceAdapter.java: 133)
at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.getConnection (LoginTimeoutDatasourceAdapter.java: 62)
at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection (DataSourceUtils.java: 113)
at org.springframework.jdbc.datasource.DataSourceUtils.getConnection (DataSourceUtils.java: 79)
... 123 more
Caused by: java.sql.SQLException: Exception while getting connection: oracle.ucp.UniversalConnectionPoolException: Unable to get Connection from Data Source
at oracle.ucp.util.UCPErrorHandler.newSQLException (UCPErrorHandler.java: 541)
at oracle.ucp.jdbc.PoolDataSourceImpl.throwSQLException (PoolDataSourceImpl.java: 587)
at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection (PoolDataSourceImpl.java: 668)
at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection (PoolDataSourceImpl.java: 613)
at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection (PoolDataSourceImpl.java: 607)
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)
oracle.odi.core.datasource.support.RuntimeClassLoaderDataSourceCreator at $ DataSourceInvocationHandler.invoke (RuntimeClassLoaderDataSourceCreator.java: 41)
Proxy0.getConnection at $ (Unknown Source)
oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter at $ ConnectionProcessor.run (LoginTimeoutDatasourceAdapter.java: 217)
java.util.concurrent.Executors at $ RunnableAdapter.call (Executors.java: 441)
java.util.concurrent.FutureTask at $ Sync.innerRun (FutureTask.java: 303)
at java.util.concurrent.FutureTask.run (FutureTask.java: 138)
at java.util.concurrent.ThreadPoolExecutor $ Worker.runTask (ThreadPoolExecutor.java: 886)
at java.util.concurrent.ThreadPoolExecutor $ Worker.run (ThreadPoolExecutor.java: 908)
at java.lang.Thread.run (Thread.java: 662)
Caused by: oracle.ucp.UniversalConnectionPoolException: Unable to get Connection from Data Source
at oracle.ucp.util.UCPErrorHandler.newUniversalConnectionPoolException (UCPErrorHandler.java: 421)
at oracle.ucp.util.UCPErrorHandler.newUniversalConnectionPoolException (UCPErrorHandler.java: 389)
at oracle.ucp.jdbc.DriverConnectionFactoryAdapter.createConnection (DriverConnectionFactoryAdapter.java: 133)
oracle.ucp.common.UniversalConnectionPoolImpl at $ UniversalConnectionPoolInternal.createOnePooledConnectionInternal (UniversalConnectionPoolImpl.java: 1570)
$ UniversalConnectionPoolInternal.access oracle.ucp.common.UniversalConnectionPoolImpl at $ 600 (UniversalConnectionPoolImpl.java: 1378)
at oracle.ucp.common.UniversalConnectionPoolImpl.createOnePooledConnection (UniversalConnectionPoolImpl.java: 445)
at oracle.ucp.common.UniversalConnectionPoolImpl.borrowConnectionWithoutCountingRequests (UniversalConnectionPoolImpl.java: 302)
at oracle.ucp.common.UniversalConnectionPoolImpl.borrowConnection (UniversalConnectionPoolImpl.java: 129)
at oracle.ucp.jdbc.JDBCConnectionPool.borrowConnection (JDBCConnectionPool.java: 119)
at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection (PoolDataSourceImpl.java: 655)
... 15 more
Caused by: java.sql.SQLException: ORA-01017: password / username invalid; log-on denied
at oracle.jdbc.driver.SQLStateMapping.newSQLException (SQLStateMapping.java: 70)
at oracle.jdbc.driver.DatabaseError.newSQLException (DatabaseError.java: 133)
at oracle.jdbc.driver.DatabaseError.throwSqlException (DatabaseError.java: 206)
at oracle.jdbc.driver.T4CTTIoer.processError (T4CTTIoer.java: 455)
at oracle.jdbc.driver.T4CTTIoer.processError (T4CTTIoer.java: 406)
at oracle.jdbc.driver.T4CTTIoer.processError (T4CTTIoer.java: 399)
at oracle.jdbc.driver.T4CTTIoauthenticate.receiveOauth (T4CTTIoauthenticate.java: 799)
at oracle.jdbc.driver.T4CConnection.logon (T4CConnection.java: 368)
at oracle.jdbc.driver.PhysicalConnection. <init> (PhysicalConnection.java: 508)
at oracle.jdbc.driver.T4CConnection. <init> (T4CConnection.java: 203)
at oracle.jdbc.driver.T4CDriverExtension.getConnection (T4CDriverExtension.java: 33)
at oracle.jdbc.driver.OracleDriver.connect (OracleDriver.java: 510)
at oracle.ucp.jdbc.DriverConnectionFactoryAdapter.createConnection (DriverConnectionFactoryAdapter.java: 129)
... 22 more
==
>
I think the problem is in jdbc
but exhausted my ideas on how to fix
this
where:
ODI already reinstalled 11
checked path in SO (JAVA_HOME, ODI_JAVA_HOME am using C: \ Program Files \ Java \ bin \ jdk1.6.0_23)
ORACLE_CLASSES am using C: \ oracle \ product \ 10.2.0 \ client_1 \ jdbc \ lib \ ojdbc14.jar
and
ORACLE_HOME is using C: \ oracle \ product \ 10.2.0 \ client_1
My OS is windows vista business (the client machine odi11)
connecting to the database oracle11
have any suggestions for a procedure, something that did not, forgot or did not even know.
Thank you.Hi Ankit Jain
yes it's the second option,
exactly the error occurs when I click the icon to select the repository of work - work_dev
then this exception is generated
=
I select for the field
Drivers List -
the value >> Oracle JDBC Driver
and then is placed in the Driver Name field
value>> oracle.jdbc.OracleDriver
and after I put a URL
jdbc: oracle: thin: @ (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = sss.rrr3.ttttj.ggg.br) (PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = RRR3) ))
It should say
that
This is occurring on a machine, but others the same configuration is working
I think it's something of the environment on this machine,
but no longer know what to test
grateful for your attention. -
HELP:Problem in creating a temporary CLOB using JDBC connection pooling
Hi All,
i am inserting a large xml document in an xml type column by creating a temporary clob of this document
tempClob = CLOB.createTemporary(conn, true, CLOB.DURATION_SESSION);
I am not having any success getting the following statement working using a JDBC connection pool rather than a hard coded URL connection
it works with:
"jdbc:oracle:thin:@server:port:dbname" connection
Does NOT work with:
datasource.getConnection()
Does any one know how to successfully get this to work?
urgently plz........Hi Dharmi
Here is a quote of Dafna's post in [another thread in this forum|Re: Copy VC controls]
CE7.1.1 will be released at September 2008 for ramp-up customers.
There are many improvements and new capabilities in the new release of Visual Composer for CE7.1.1. Among the new features you can find:
The missing features from Visual Composer 7.0 (Html view, portal Eventing support (EPCM), JDBC, Undo/Redo, and more..)
Many layout & modeling improvements
Additional ALV table functionality - export to Excel, switch to chart, configure ALV behavior at design time
Integration of Visual Composer in Eclipse - additional entry point to the Visual Composer models from the NWDS. This integration provides the option to add a WD component (in case of missing functionality in Visual Composer), as a black box component to the Visual Composer model. Right-clicking the component will open the Web Dynpro perspective for creating/modifying the component.
Regards,
Shai -
Error while creating a report that uses Oracle OCI JDBC connectivity
Please let me know why my CR and LF characters are removed from my forum posting *****
Hi,
I was trying to create a report that uses Oracle OCI JDBC connectivity. I am using Eclipse3.4 download from "cr4e-all-in-one-win_2.0.2.zip". I have successfully created a JDBC OCI connection.
The connection parameters are given below:
URL: jdbc:oracle:oci8:@xe
Database: xe
username: <userName>
password: <password>
I have tested the above connection in Data source Explorer and it works fine!!!
But I am getting the following error when I drag-and-drop a table from the list of tables. Not sure what I am missing here? Any help is highly appreciated.
com.businessobjects.reports.jdbinterface.common.DBException: InvalidURLOrClassName
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:1771)
at com.crystaldecisions.reports.queryengine.Connection.bs(SourceFile:491)
at com.crystaldecisions.reports.queryengine.Connection.t1(SourceFile:2979)
at com.crystaldecisions.reports.queryengine.Table.u7(SourceFile:2408)
at com.crystaldecisions.reports.dataengine.datafoundation.AddDatabaseTableCommand.new(SourceFile:529)
at com.crystaldecisions.reports.common.CommandManager.a(SourceFile:71)
at com.crystaldecisions.reports.common.Document.a(SourceFile:203)
at com.businessobjects.reports.sdk.requesthandler.f.a(SourceFile:175)
at com.businessobjects.reports.sdk.requesthandler.DatabaseRequestHandler.byte(SourceFile:1079)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1163)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:657)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:163)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:525)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:523)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at com.businessobjects.crystalreports.designer.core.util.thread.ExecutorWithIdleProcessing$3.doWork(ExecutorWithIdleProcessing.java:182)
at com.businessobjects.crystalreports.designer.core.util.thread.AbstractCancellableRunnable.run(AbstractCancellableRunnable.java:69)
at com.businessobjects.crystalreports.designer.core.util.thread.PriorityTask.run(PriorityTask.java:75)
at com.businessobjects.crystalreports.designer.core.util.thread.PriorityCompoundCancellableRunnable.runSubtask(PriorityCompoundCancellableRunnable.java:187)
at com.businessobjects.crystalreports.designer.core.util.thread.PriorityProgressAwareRunnable.runSubtask(PriorityProgressAwareRunnable.java:90)
at com.businessobjects.crystalreports.designer.core.util.thread.PriorityCompoundCancellableRunnable.doWork(PriorityCompoundCancellableRunnable.java:144)
at com.businessobjects.crystalreports.designer.core.util.thread.AbstractCancellableRunnable.run(AbstractCancellableRunnable.java:69)
at com.businessobjects.crystalreports.designer.core.util.thread.ExecutorWithIdleProcessing$IdleTask.run(ExecutorWithIdleProcessing.java:320)
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)
Thanks
Karthik
Edited by: KARTHIK1 on Oct 14, 2009 9:38 PMHi Ted,
Thanks for the feedback. I was able to create a report in Creystal Reports Designer 2008 using OCI. It is not allowing only in the Eclipse plugin. In our environment we are not allowed to user Oracle thin connections and ONLY OCI is allowed.
1) Can you please let me know if there is a way to do this?
2) Will it allow data sources using native database driver?
3) If so, can I use JRC to create these reports from a desktop java program?
Thanks & Regards
Karthik
Edited by: KARTHIK1 on Oct 15, 2009 4:38 PM -
Issue JDBC connection pool with Glassfish 3.1.2.2 and Oracle XE 11gR2
Hello,
I am experiencing an issue with pinging a JDBC connection Pool.
I installed the following without any warnings or errors:
Operating System: Oracle Enterprise Linux 5
Oracle XE 11gR2 (11.2.0.2.0) database
Glassfish 3.1.2.2
I will refer to the steps I did after the installations
1) In the .profile file of the OS I add the following:
JRE_HOME=/usr/java/jre1.6.0_31; export JRE_HOME
JAVA_HOME=/usr/java/jdk1.6.0_31; export JAVA_HOME
GLASSFISH_DIR=/u01/glassfish3
GLASSFISH_HOME=/u01/glassfish3/glassfish
DERBY_HOME=$GLASSFISH_DIR/javadb
OPEN_MQ_HOME=$GLASSFISH_DIR/mq
PATH=:$JAVA_HOME/bin:$JRE_HOME/bin:$PATH:$HOME/bin:$GLASSFISH_HOME/bin:$DERBY_HOME/bin:$OPEN_MQ_HOME/bin
export GLASSFISH_HOME
export DERBY_HOME
export OPEN_MQ_HOME
export PATH
LD_LIBRARY_PATH=/u01/app/oracle/product/11.2.0/xe/lib; export LD_LIBRARY_PATH
. /u01/app/oracle/product/11.2.0/xe/bin/oracle_env.sh
2) I copied the ojdbc6.jar to the $GLASSFISH_HOME/domains/domain1/lib
3) I login to the Glassfish admin console and created a new JDBC Connection Pool.
Pool Name: ds_orasys
Resource Type: javax.sql.DataSource
Datasource Classname: oracle.jdbc.pool.OracleDataSource
User: [myschema]
Password: [myschema password]
URL: jdbc:oracle:thin:@localhost:1521:xe
When I ping the connection pool I get the following message in the server log:
[#|2012-10-23T12:14:37.069+0300|WARNING|glassfish3.1.2|javax.enterprise.resource.resourceadapter.com.sun.enterprise.connectors.service|_ThreadID=22;_ThreadName=Thread-2;|RAR8054: Exception while creating an unpooled [test] connection for pool [ ds_orasys ], Connection could not be allocated because: Invalid Oracle URL specified|#]
[#|2012-10-23T12:14:37.071+0300|SEVERE|glassfish3.1.2|org.glassfish.admingui|_ThreadID=19;_ThreadName=Thread-2;|RestResponse.getResponse() gives FAILURE. endpoint = 'http://212.205.62.217:4848/management/domain/resources/ping-connection-pool.json'; attrs = '{id=ds_orasys}'|#]
I tried to use different jar files. I used ojdbc6dms.jar and ojdbc14.jar.
I also copied the jar files in the $GLASSFISH_HOME/domains/domain1/lib/ext directory as some people suggested. Still no luck. I keep getting the same error messages in the server.log
Can anybody help me out or point me to the right direction.
Thank you in advanceThe error is in the URL. It was in front of my eyes and I couldn't see the error. I skipped the ':' before the '@' when I created the pool. It is working fine now.
-
JDBC connection pool failures when used by JMS stores
We are using WebLogic 6.1 sp2. We defined a separate connection pool for use by
a JMS Store.
<JDBCConnectionPool Name="sybaseJMSPool"
Targets="cluster00"
InitialCapacity="2"
MaxCapacity="10"
DriverName="com.sybase.jdbc2.jdbc.SybDriver"
Properties="[email protected]@;[email protected]@;charset=utf8"
URL="jdbc:sybase:Tds:@jms.db.host@/@jms.db.name@"/>
(note that the @xxx@ string are replaced by actual values).
We are using Sybase Jconnect 5.5 to a Sybase ASE 12.5 database.
We deployed this configuration on a number of environments (testing, staging,
..). The actual hardware and network configuration is different for the different
system, but the WebLogic domain stays the same regarding this issue.
On the test system we frequently get the following exceptions:
<Aug 13, 2002 1:56:04 PM CEST> <Alert> <JMS> <www00-test> <node00>
<ExecuteThread: '6' for queue: 'JMS.TimerClientPool'> <> <> <040048>
<JMSServer "JMSServer00", store failure while writing message for topic
OrderChangeTopic, java.io.IOException: JMS JDBC store, connection pool =
<sybaseJMSPool>, prefix = <JMS00>: write failed
java.sql.SQLException: JZ006: Caught IOException:
com.sybase.jdbc2.jdbc.SybConnectionDeadException: JZ0C0: Connection is already
closed.
at com.sybase.jdbc2.jdbc.ErrorMessage.raiseErrorCheckDead
(ErrorMessage.java:715)
at com.sybase.jdbc2.tds.Tds.handleIOE(Tds.java:3124)
at com.sybase.jdbc2.tds.Tds.cancel(Tds.java:1412)
at com.sybase.jdbc2.tds.Tds.cancel(Tds.java:1341)
at com.sybase.jdbc2.jdbc.SybStatement.doCancel(SybStatement.java:564)
at com.sybase.jdbc2.jdbc.SybStatement.updateLoop(SybStatement.java:1672)
at com.sybase.jdbc2.jdbc.SybStatement.executeUpdate
(SybStatement.java:1625)
at com.sybase.jdbc2.jdbc.SybPreparedStatement.executeUpdate
(SybPreparedStatement.java:91)
at com.p6spy.engine.logging.P6LogPreparedStatement.executeUpdate
(P6LogPreparedStatement.java:179)
at weblogic.jdbc.pool.Statement.executeUpdate(Statement.java:293)
at weblogic.jms.store.JDBCIOStream.write(JDBCIOStream.java:1246)
at weblogic.jms.store.StoreRequest.doTheIO(StoreRequest.java:250)
at weblogic.jms.store.JMSStore.execute(JMSStore.java:182)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
.>
java.io.IOException: JMS JDBC store, connection pool = <sybaseJMSPool>, prefix
= <JMS00>: write failed
java.sql.SQLException: JZ006: Caught IOException:
com.sybase.jdbc2.jdbc.SybConnectionDeadException: JZ0C0: Connection is already
closed.
at com.sybase.jdbc2.jdbc.ErrorMessage.raiseErrorCheckDead
(ErrorMessage.java:715)
at com.sybase.jdbc2.tds.Tds.handleIOE(Tds.java:3124)
at com.sybase.jdbc2.tds.Tds.cancel(Tds.java:1412)
at com.sybase.jdbc2.tds.Tds.cancel(Tds.java:1341)
at com.sybase.jdbc2.jdbc.SybStatement.doCancel(SybStatement.java:564)
at com.sybase.jdbc2.jdbc.SybStatement.updateLoop(SybStatement.java:1672)
at com.sybase.jdbc2.jdbc.SybStatement.executeUpdate
(SybStatement.java:1625)
at com.sybase.jdbc2.jdbc.SybPreparedStatement.executeUpdate
(SybPreparedStatement.java:91)
at com.p6spy.engine.logging.P6LogPreparedStatement.executeUpdate
(P6LogPreparedStatement.java:179)
at weblogic.jdbc.pool.Statement.executeUpdate(Statement.java:293)
at weblogic.jms.store.JDBCIOStream.write(JDBCIOStream.java:1246)
at weblogic.jms.store.StoreRequest.doTheIO(StoreRequest.java:250)
at weblogic.jms.store.JMSStore.execute(JMSStore.java:182)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
at weblogic.jms.store.JDBCIOStream.throwIOException
(JDBCIOStream.java:1213)
at weblogic.jms.store.JDBCIOStream.write(JDBCIOStream.java:1256)
at weblogic.jms.store.StoreRequest.doTheIO(StoreRequest.java:250)
at weblogic.jms.store.JMSStore.execute(JMSStore.java:182)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
Before that this message appeared:
<Aug 13, 2002 11:31:16 AM CEST> <Error> <ConnectionManager> <www00-test>
<node00> <ExecuteThread: '26' for queue: 'default'> <> <> <000000>
<Closing: 'weblogic.rjvm.t3.T3JVMConnection@795af6' because of: 'Server
received a message over an uninitialized connection: 'JVMMessage from: 'null'
to: '-4555218188801970213S:192.168.13.1:[7001,7001,7002,7002,7001,7002,-
1]:ADIS:node00' cmd: 'CMD_REQUEST', QOS: '101', responseId: '1',
invokableId: '287', flags: 'JVMIDs Not Sent, TX Context Not Sent', abbrev
offset: '34'''>
This problem did not occur on another system which was used during a 2 day stress
testing session.
It seems that the problem occurs after a period in which no user request where
made. The user requests trigger EJB's that start sending JMS messages.
When the problem occurs, the JMS messaging systems seems to lock up as no messages
are received anymore by the different listeners (MDBs).
Undeploying and redeploying the JBDC connection pool solves the problem. This
solution is unacceptable in case of a production system.
A similarly defined connection pool, which is used by the EJBs to make database
connection, does not manifest this problem.
<JDBCConnectionPool Name="sybasePool"
Targets="cluster00"
InitialCapacity="10"
CapacityIncrement="5"
MaxCapacity="50"
PreparedStatementCacheSize="150"
DriverName="com.sybase.jdbc2.jdbc.SybDriver"
Properties="[email protected]@;[email protected]@;JCONNECT_VERSION=6;charset=utf8"
URL="jdbc:sybase:Tds:@db.host@/@db.name@"/>
The JDBC connection pool is used as follows by the JDBC store
<JMSJDBCStore ConnectionPool="sybaseJMSPool" Name="JDBCStore00" PrefixName="JMS00"/>
<JMSServer Name="JMSServer00" Store="JDBCStore00" Targets="node00">
<JMSTopic JNDIName="ADIS.JMSError" JNDINameReplicated="false" Name="ErrorTopic"/>
<JMSTopic JNDIName="ADIS.Status"
Name="StatusTopic" RedeliveryDelayOverride="300000"/>
<JMSTopic JNDIName="ADIS.OrderChange" JNDINameReplicated="false"
Name="OrderChangeTopic" RedeliveryLimit="3"/>
</JMSServer>
Turning on the "Test Reserved Connection" with a appropriate test table does not
help.
Some sources on the internet tell us that JZ0C0 errors in the Jconnect driver
can be related to network problems. Nevertheless the connection pool should be
able to cope with this.
Can you provide any solution for this ? Or give us hints what can cause the problem
Zhenhao Qi wrote:
thanks! Joe.
The SQL statement itself can no longer be simplified, the long excuation time is due to the database size and complicated Select criteria. I can easily reproduce the problem by using this SQL. I tried "BEA's Oracle driver (Type 4): Version 8.1.7,9.0.1,9.2.0". the question can be dissect into 2 pieces:
1) why the jdbc connection (using oracle.jdbc.OracleDriver) won't return anything if the SQL execution time > 5min, that is probably the Oracle's problem
2) why the occupied connection pool won't release even I set "Statementtimeout=600", this is Weblogic's problem.
ZhenhaoHi. Yes, (1) is oracle's problem. (2) may also be. The JDBC spec has very few
allowances for one thread to interrupt a second thread's JDBC call. If we
transmit your timeout request by calling setQueryTimeout() on the oracle
statement, and if you have a weblogic-controlled transaction we call
Statement.cancel() on any ongoing statement, we end up relying on whether
the Oracle driver implements and responds to those calls.
Are you doing weblogic-controlled transactions? Are you/can you
call Statement.setQueryTimeout() on your statements, or are these
generated JDBC queries?
If you can duplicate the problem using the weblogic.jdbc.oracle.OracleDriver
we have some other debug avenues. This would be good even if you really
want to use the thin driver, because we will do the same JDBC calls to
either driver, and the debug would prove (if) we set up a query timeout
and if we call cancel(). If we do, then we can know that it is the Oracle
driver failing in these regards.
Joe -
Issues with JDBC Connection Pooling
Hi all,
I'm experiencing some unexpected behaviour when trying to use JDBC Connection Pooling with my BC4J applications.
The configuraiton is -
Web Application using BC4J in local mode
Using Default Connection Stagegy
Stateless Release Mode
Retrieving Application Modules using Configuration.createRootApplicationModule( am , cf );
Returning Application Modules using Configuration.releaseRootApplicationModule( am, false );
Three application modules
AppModuleA - connects to DatabaseConnection1
AppModuleB - connects to DatabaseConnection2
AppModuleC - connects to DatabaseConnection2
My requirement is to -
Use App Module Pooling and have individual pool for each Application Module
Use JDBC Pooling and have individual pool for each Database connection
Note: All configuration was achieved in design mode (i.e. right clicking AppModule->Configurations...)
1. Initial approach -
In the configuration for each Application Module I specified the connection type as 'JDBC Datasource' and specified to approriate datasource.
Tried setting doConnecitonPooling to 'true' as well as 'false'
In the data-sources.xml I specified all the appropriate info including min-connections and max-connections.
I would expect, with the above config that BC4J would use OC4J's built in JDBC connection pooling.
2. Second approach -
In the configuration for each Application Module I specified the connection type as JDBC URL.
In the configuration I specified doConnectionPooling = 'true' as well as the max connection, max available and min available
What I experienced in both cases was that the max connections seem to be ignored as the number of connection as reported by the database (v$session) was exceeded by more than 10.
In addition to this once the load was removed the number of JDBC connecitons did not drop (I would have expected it to drop to max available connections)
My questions are -
1. When specifying to use a 'JDBC Datasource' style of connection, is it in fact OC4J that is then responsible for pooling JDBC connections? And in this case should BC4J's doConnectionPooling parameter be set to true or false?
2. Are there any known issues with the use of the JDBC Conneciton Pool as stated by the above to approaches?Thanks for the additional info. Please see my comments. below.
Sorry should have been more specififc -
1. Is each application pool using a different JDBC user? You mentioned DatabaseConnection1 and DatabaseConnection2
above; are these connections to different schemas / users? If so, BC4J will create a separate connection pool for each
JDBC user. Each connection pool will have its own maximum pool size.
Each 'DatabaseConnection' refers to a different database, actually hosted on a seperate physical server, different
schema and different user.BC4J will maintain a separate connection pool for each permutation of JDBC URL / schema. If each user is connecting
to a different DB instance then I would expect no greater than 10 DB sessions. However, if a DB instance is hosting
more than user then I would expect greater than 10 DB sessions (though still no more than 10 DB sessions per user).
2. Are all the v$session sessions related to the JDBC clients? There should be at least one additional database
session which will be related to the session that is querying v$session.
When querying the v$session table I specifically look for connections from the user in quesiton and from the machine
name in question and in doing so eliminate the database system's connections, as well as the query tools'
connection. One area I'm not sure about is the connection BC4J uses to write to its temporary tables. I am using
Stateless release mode and have not explicetly stated to save to the database but I'm wondering if it still does if so
and how does it come into the equation with max connections?BC4J's internal connections are also pooled and the limits apply as mentioned above. So, if you have specified
internal connection info for a schema which is different than the users above I would expect the additional conns.
One helpful diagnostic tool, albeit programmatic, might be to print the information about the connection pools after
your test client(s) have finished. This may be accomplished as follows:
// get a reference to the BC4J connection pool manager
import oracle.jbo.server.ConnectionPoolManagerFactory;
import oracle.jbo.server.ConnectionPoolManagerImpl;
import oracle.jbo.pool.ResourcePool;
import java.io.PrintWriter;
import java.util.Enumeration;
// get the ConnectionPoolManager. assume that it is an instance of the supplied manager
ConnectionPoolManagerImpl mgr = (ConnectionPoolManagerImpl)ConnectionPoolManagerFactory.getConnectionPoolManager();
Enumeration keys = mgr.getResourcePoolKeys();
PrintWriter pw = new PrintWriter(System.out, true);
while (keys.hasMoreElements())
Object key = keys.nextElement();
ResourcePool pool = (ResourcePool)mgr.getResourcePool(key);
System.out.println("Dumping pool statistics for pool: " + key);
pool.dumpPoolStatistics(pw);
} -
How to configure JDBC connection in oracle BI publisher with teradata datab
Hi,
I am going to use Oracle BI publisher to create report.
Our database is Teradata.
How to create database connection for Teradata in BI publisher.
How to create JDBC connection.
What should be the Database Driver Class?
What should be the connection string format?
Please provide me the suggetion.
Thanks,
Santanu MannaHi;
I suggest please refer below which could be helpful on your issue:
How To Generate XML Output (Excel, HTML, PDF) for FSG Reports [ID 804913.1]
E-XMLP: BI Publisher Report RTF Template to Excel output is not same as PDF,RTF or HTML format.[Article ID 1515711.1]
BI Publisher Enterprise Excel Output File Size is Too Large [ID 1271544.1]
Regard
Helios -
Broken pipe, DMLException: JBO-26061: Error while opening JDBC connection
Hi,
We are facing strange problem with oc4j903 container using bc4j getConnection() method.
We are getting the following error intermitantly using bc4j getConnection() method.
ApplicationModuleProvider JBO-30003: The application pool (bc4j_paris) failed to checkout an application module due to the following exception:
oralce.jbo.DMLException: JBO-26061: Error while opening JDBC connection.
and then it says ,
java.sql.SQLException: Io exception: Broken pipe.
It gets connection automatically in a matter of minutes.
Has anybody faced these problem or anyone has the solution please help us out.
Thanks,
ChinnaBhaskar -- BC4J related questions are better directed to the JDeveloper forum; that's where the BC4J PMs and developers hang out.
cheers
-stevee -
hi,
i have developed a application and deployed in the server .....after deploying the application... if i access the application i can't see the application on the browser in the adminserver log i have seen this errors
and also deployed the other application where i can see the application.. but after loading application i am this error
Error while opening JDBC connection.
Error ORA-01005: null password given; logon denied
in adminserver log its says incomplete connection info
here i have given all the details such as in application resource of Jdev 11g wat can be the prob can anyone tell me
oracle.jbo.DMLException: JBO-26061: Error while opening JDBC connection.
at oracle.jbo.server.ConnectionPool.createConnection(ConnectionPool.java:253)
at oracle.jbo.server.ConnectionPool.instantiateResource(ConnectionPool.java:168)
at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:546)
at oracle.jbo.pool.ResourcePool.useResource(ResourcePool.java:327)
at oracle.jbo.server.ConnectionPool.getConnectionInternal(ConnectionPool.java:104)
at oracle.jbo.server.ConnectionPool.getConnection(ConnectionPool.java:70)
at oracle.jbo.server.ConnectionPoolManagerImpl.getConnection(ConnectionPoolManagerImpl.java:56)
at oracle.jbo.server.DBTransactionImpl.establishNewConnection(DBTransactionImpl.java:1004)
at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1260)
at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:6415)
at oracle.jbo.server.DBTransactionImpl2.connect(DBTransactionImpl2.java:118)
at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:217)
at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:558)
at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:414)
at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:8377)
at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4364)
at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2421)
at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2207)
at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3086)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)
at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:233)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419)
at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:494)
at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:836)
at oracle.adf.model.binding.DCDataControl.setErrorHandler(DCDataControl.java:480)
at oracle.jbo.uicli.binding.JUApplication.setErrorHandler(JUApplication.java:265)
at oracle.adf.model.BindingContext.put(BindingContext.java:998)
at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:175)
at oracle.adf.model.BindingContext.instantiateDataControl(BindingContext.java:764)
at oracle.adf.model.dcframe.DataControlFrameImpl.doFindDataControl(DataControlFrameImpl.java:911)
at oracle.adf.model.dcframe.DataControlFrameImpl.internalFindDataControl(DataControlFrameImpl.java:802)
at oracle.adf.model.dcframe.DataControlFrameImpl.findDataControl(DataControlFrameImpl.java:758)
at oracle.adf.model.BindingContext.internalFindDataControl(BindingContext.java:875)
at oracle.adf.model.BindingContext.get(BindingContext.java:834)
at oracle.adf.model.binding.DCBindingContainer.findDataControl(DCBindingContainer.java:1421)
at oracle.adf.model.binding.DCIteratorBinding.initDataControl(DCIteratorBinding.java:2388)
at oracle.adf.model.binding.DCIteratorBinding.getDataControl(DCIteratorBinding.java:2333)
at oracle.adf.model.binding.DCIteratorBinding.getAttributeDefs(DCIteratorBinding.java:3073)
at oracle.jbo.uicli.binding.JUCtrlValueBinding.fetchAttrDefs(JUCtrlValueBinding.java:471)
at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttributeDefs(JUCtrlValueBinding.java:423)
at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttributeDef(JUCtrlValueBinding.java:497)
at oracle.jbo.uicli.binding.JUCtrlValueBinding.getHintObject(JUCtrlValueBinding.java:2027)
at oracle.jbo.uicli.binding.JUCtrlValueBinding.getHint(JUCtrlValueBinding.java:2022)
at oracle.jbo.uicli.binding.JUCtrlValueBinding.getFormat(JUCtrlValueBinding.java:1941)
at oracle.jbo.uicli.binding.JUCtrlValueBinding.internalGet(JUCtrlValueBinding.java:2258)
at oracle.adfinternal.view.faces.model.binding.FacesCtrlAttrsBinding.internalGet(FacesCtrlAttrsBinding.java:248)
at oracle.adf.model.binding.DCControlBinding.get(DCControlBinding.java:722)
at javax.el.MapELResolver.getValue(MapELResolver.java:164)
at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:73)
at com.sun.el.parser.AstValue.getValue(AstValue.java:118)
at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
at com.sun.faces.el.ELUtils.evaluateValueExpression(ELUtils.java:215)
at com.sun.faces.taglib.jsf_core.ConvertNumberTag.evaluateExpressions(ConvertNumberTag.java:278)
at com.sun.faces.taglib.jsf_core.ConvertNumberTag.createConverter(ConvertNumberTag.java:236)
at javax.faces.webapp.ConverterELTag.doStartTag(ConverterELTag.java:124)
at com.sun.faces.taglib.jsf_core.ConvertNumberTag.doStartTag(ConvertNumberTag.java:224)
at jsp_servlet.__br_45_o_jspx._jspx___tag11(__br_45_o_jspx.java:612)
at jsp_servlet.__br_45_o_jspx._jspx___tag10(__br_45_o_jspx.java:574)
at jsp_servlet.__br_45_o_jspx._jspx___tag9(__br_45_o_jspx.java:524)
at jsp_servlet.__br_45_o_jspx._jspService(__br_45_o_jspx.java:252)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
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.ServletStubImpl.onAddToMapException(ServletStubImpl.java:408)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:318)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:502)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:251)
at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:415)
at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$OverrideDispatch.dispatch(FacesContextFactoryImpl.java:267)
at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:475)
at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:143)
at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:188)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
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:42)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:181)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:239)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:196)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:139)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:102)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:65)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
java.sql.SQLException: ORA-01005: null password given; logon denied
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:116)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:177)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:406)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:399)
at oracle.jdbc.driver.T4CTTIoauthenticate.receiveOauth(T4CTTIoauthenticate.java:794)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:391)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:490)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:202)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:33)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:474)
at java.sql.DriverManager.getConnection(DriverManager.java:582)
at java.sql.DriverManager.getConnection(DriverManager.java:154)
at oracle.jbo.server.ConnectionPool.createConnection(ConnectionPool.java:222)
at oracle.jbo.server.ConnectionPool.instantiateResource(ConnectionPool.java:168)
at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:546)
at oracle.jbo.pool.ResourcePool.useResource(ResourcePool.java:327)
at oracle.jbo.server.ConnectionPool.getConnectionInternal(ConnectionPool.java:104)
at oracle.jbo.server.ConnectionPool.getConnection(ConnectionPool.java:70)
at oracle.jbo.server.ConnectionPoolManagerImpl.getConnection(ConnectionPoolManagerImpl.java:56)
at oracle.jbo.server.DBTransactionImpl.establishNewConnection(DBTransactionImpl.java:1004)
at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1260)
at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:6415)
at oracle.jbo.server.DBTransactionImpl2.connect(DBTransactionImpl2.java:118)
at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:217)
at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:558)
at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:414)
at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:8377)
at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4364)
at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2421)
at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2207)
at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3086)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)
at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:233)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419)
at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:494)
at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:836)
at oracle.adf.model.binding.DCDataControl.setErrorHandler(DCDataControl.java:480)
at oracle.jbo.uicli.binding.JUApplication.setErrorHandler(JUApplication.java:265)
at oracle.adf.model.BindingContext.put(BindingContext.java:998)
at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:175)
at oracle.adf.model.BindingContext.instantiateDataControl(BindingContext.java:764)
at oracle.adf.model.dcframe.DataControlFrameImpl.doFindDataControl(DataControlFrameImpl.java:911)
at oracle.adf.model.dcframe.DataControlFrameImpl.internalFindDataControl(DataControlFrameImpl.java:802)
at oracle.adf.model.dcframe.DataControlFrameImpl.findDataControl(DataControlFrameImpl.java:758)
at oracle.adf.model.BindingContext.internalFindDataControl(BindingContext.java:875)
at oracle.adf.model.BindingContext.get(BindingContext.java:834)
at oracle.adf.model.binding.DCBindingContainer.findDataControl(DCBindingContainer.java:1421)
at oracle.adf.model.binding.DCIteratorBinding.initDataControl(DCIteratorBinding.java:2388)
at oracle.adf.model.binding.DCIteratorBinding.getDataControl(DCIteratorBinding.java:2333)
at oracle.adf.model.binding.DCIteratorBinding.getAttributeDefs(DCIteratorBinding.java:3073)
at oracle.jbo.uicli.binding.JUCtrlValueBinding.fetchAttrDefs(JUCtrlValueBinding.java:471)
at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttributeDefs(JUCtrlValueBinding.java:423)
at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttributeDef(JUCtrlValueBinding.java:497)
at oracle.jbo.uicli.binding.JUCtrlValueBinding.getHintObject(JUCtrlValueBinding.java:2027)
at oracle.jbo.uicli.binding.JUCtrlValueBinding.getHint(JUCtrlValueBinding.java:2022)
at oracle.jbo.uicli.binding.JUCtrlValueBinding.getFormat(JUCtrlValueBinding.java:1941)
at oracle.jbo.uicli.binding.JUCtrlValueBinding.internalGet(JUCtrlValueBinding.java:2258)
at oracle.adfinternal.view.faces.model.binding.FacesCtrlAttrsBinding.internalGet(FacesCtrlAttrsBinding.java:248)
at oracle.adf.model.binding.DCControlBinding.get(DCControlBinding.java:722)
at javax.el.MapELResolver.getValue(MapELResolver.java:164)
at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:73)
at com.sun.el.parser.AstValue.getValue(AstValue.java:118)
at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
at com.sun.faces.el.ELUtils.evaluateValueExpression(ELUtils.java:215)
at com.sun.faces.taglib.jsf_core.ConvertNumberTag.evaluateExpressions(ConvertNumberTag.java:278)
at com.sun.faces.taglib.jsf_core.ConvertNumberTag.createConverter(ConvertNumberTag.java:236)
at javax.faces.webapp.ConverterELTag.doStartTag(ConverterELTag.java:124)
at com.sun.faces.taglib.jsf_core.ConvertNumberTag.doStartTag(ConvertNumberTag.java:224)
at jsp_servlet.__br_45_o_jspx._jspx___tag11(__br_45_o_jspx.java:612)
at jsp_servlet.__br_45_o_jspx._jspx___tag10(__br_45_o_jspx.java:574)
at jsp_servlet.__br_45_o_jspx._jspx___tag9(__br_45_o_jspx.java:524)
at jsp_servlet.__br_45_o_jspx._jspService(__br_45_o_jspx.java:252)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
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.ServletStubImpl.onAddToMapException(ServletStubImpl.java:408)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:318)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:502)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:251)
at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:415)
at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$OverrideDispatch.dispatch(FacesContextFactoryImpl.java:267)
at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:475)
at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:143)
at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:188)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
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:42)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:181)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:239)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:196)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:139)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:102)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:65)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
>
####<May 7, 2009 12:43:16 PM GMT+05:30> <Info> <JDBC> <sys4> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1241680396250> <BEA-001128> <Connection for pool "sfa" closed.>hi timo,shymaker,jhone
plzzzz help me
i am facing this error if i run AM
oracle.jbo.DMLException) JBO-27200: JNDI failure. Unable to lookup Data Source at context java:comp/env/jdbc/FODDS
stack
oracle.jbo.jbotester.ErrorHandler$ExceptionWrapper: remaining name: env/jdbc/FODDS
at oracle.jbo.jbotester.ErrorHandler.displayError(ErrorHandler.java:90)
at oracle.jbo.jbotester.ErrorHandler.displayError(ErrorHandler.java:83)
at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:447)
Caused by: oracle.jbo.DMLException: JBO-27200: JNDI failure. Unable to lookup Data Source at context java:comp/env/jdbc/FODDS
at oracle.jbo.server.DBTransactionImpl.lookupDataSource(DBTransactionImpl.java:1557)
at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:272)
at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:207)
at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:558)
at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:414)
at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:8377)
at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4364)
at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2421)
at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2207)
at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3086)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419)
at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:494)
at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:836)
at oracle.jbo.jbotester.binding.TesterBinding.<init>(TesterBinding.java:123)
at oracle.jbo.jbotester.binding.TesterBinding.<init>(TesterBinding.java:88)
at oracle.jbo.jbotester.MainFrame.processArgs(MainFrame.java:612)
at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:439)
Caused by: javax.naming.NameNotFoundException: remaining name: env/jdbc/FODDS
at weblogic.j2eeclient.SimpleContext.resolve(SimpleContext.java:35)
at weblogic.j2eeclient.SimpleContext.resolve(SimpleContext.java:39)
at weblogic.j2eeclient.SimpleContext.lookup(SimpleContext.java:59)
at weblogic.j2eeclient.SimpleContext.lookup(SimpleContext.java:59)
at weblogic.j2eeclient.SimpleContext.lookup(SimpleContext.java:64)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at oracle.jbo.server.DBTransactionImpl.lookupDataSource(DBTransactionImpl.java:1543)
... 18 more
## Detail 0 ##
oracle.jbo.DMLException: JBO-27200: JNDI failure. Unable to lookup Data Source at context java:comp/env/jdbc/FODDS
at oracle.jbo.server.DBTransactionImpl.lookupDataSource(DBTransactionImpl.java:1557)
at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:272)
at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:207)
at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:558)
at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:414)
at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:8377)
at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4364)
at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2421)
at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2207)
at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3086)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419)
at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:494)
at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:836)
at oracle.jbo.jbotester.binding.TesterBinding.<init>(TesterBinding.java:123)
at oracle.jbo.jbotester.binding.TesterBinding.<init>(TesterBinding.java:88)
at oracle.jbo.jbotester.MainFrame.processArgs(MainFrame.java:612)
at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:439)
Caused by: javax.naming.NameNotFoundException: remaining name: env/jdbc/FODDS
at weblogic.j2eeclient.SimpleContext.resolve(SimpleContext.java:35)
at weblogic.j2eeclient.SimpleContext.resolve(SimpleContext.java:39)
at weblogic.j2eeclient.SimpleContext.lookup(SimpleContext.java:59)
at weblogic.j2eeclient.SimpleContext.lookup(SimpleContext.java:59)
at weblogic.j2eeclient.SimpleContext.lookup(SimpleContext.java:64)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at oracle.jbo.server.DBTransactionImpl.lookupDataSource(DBTransactionImpl.java:1543)
... 18 more
## Detail 0 ##
javax.naming.NameNotFoundException: remaining name: env/jdbc/FODDS
at weblogic.j2eeclient.SimpleContext.resolve(SimpleContext.java:35)
at weblogic.j2eeclient.SimpleContext.resolve(SimpleContext.java:39)
at weblogic.j2eeclient.SimpleContext.lookup(SimpleContext.java:59)
at weblogic.j2eeclient.SimpleContext.lookup(SimpleContext.java:59)
at weblogic.j2eeclient.SimpleContext.lookup(SimpleContext.java:64)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at oracle.jbo.server.DBTransactionImpl.lookupDataSource(DBTransactionImpl.java:1543)
at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:272)
at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:207)
at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:558)
at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:414)
at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:8377)
at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4364)
at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2421)
at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2207)
at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3086)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419)
at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:494)
at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:836)
at oracle.jbo.jbotester.binding.TesterBinding.<init>(TesterBinding.java:123)
at oracle.jbo.jbotester.binding.TesterBinding.<init>(TesterBinding.java:88)
at oracle.jbo.jbotester.MainFrame.processArgs(MainFrame.java:612)
at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:439)
help me plzzzz
Edited by: Naveenapps on May 7, 2009 7:55 AM -
DMLException: JBO-26061: Error while opening JDBC connection, Broken pipe
Hi,
We are facing a strange problem with oc4j903 container using bc4j getConnection() method.
We are getting the following error intermitantly using bc4j getConnection() method.
ApplicationModuleProvider JBO-30003: The application pool (bc4j_paris) failed to checkout an application module due to the following exception:
oralce.jbo.DMLException: JBO-26061: Error while opening JDBC connection.
and then it says ,
java.sql.SQLException: Io exception: Broken pipe.
It gets connection automatically in a matter of minutes.
Has anybody faced these problem or anyone has the solution please help us out.
I appreciate your inputs.
Thanks,
ChinnaBhaskar -- BC4J related questions are better directed to the JDeveloper forum; that's where the BC4J PMs and developers hang out.
cheers
-stevee -
Msg=JBO-26061: Error while opening JDBC connection
I developed an application connecting to a database and the application worked fine. After that I moved the tables into the different database user and server.
I opened the application in JDeveloper and I configured the new Database connection and New DB user test passed in “Connection Navigator”. When I run the application I am getting the following error message in the browser.
Please help me.
========================================
JBO-30003: The application pool (oracle.srtutorial.datamodel.SRPublicServiceLocal) failed to checkout an application module due to the following exception:oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.DMLException, msg=JBO-26061: Error while opening JDBC connection. at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2002) at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793) at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453) at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:233) at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424) at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419) at oracle.adf.model.bc4j.DCJboDataControl.rebuildApplicationModule(DCJboDataControl.java:1536) at oracle.adf.model.bc4j.DCJboDataControl.beginRequest(DCJboDataControl.java:1396) at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:99) at oracle.adf.model.BindingContext.get(BindingContext.java:457) at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:280) at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:248) at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:383) at oracle.adf.model.binding.DCIteratorBinding.<init>(DCIteratorBinding.java:127) at oracle.jbo.uicli.binding.JUIteratorBinding.<init>(JUIteratorBinding.java:60) at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:87) at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:51) at oracle.adf.model.binding.DCIteratorBindingDef.createExecutableBinding(DCIteratorBindingDef.java:277) at oracle.adf.model.binding.DCBindingContainerDef.createExecutables(DCBindingContainerDef.java:296) at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:425) at oracle.adf.model.binding.DCBindingContainerReference.createBindingContainer(DCBindingContainerReference.java:54) at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:44) at oracle.adf.model.BindingContext.get(BindingContext.java:483) at oracle.adf.model.BindingContext.findBindingContainer(BindingContext.java:313) at oracle.adf.model.BindingContext.findBindingContainerByPath(BindingContext.java:633) at oracle.adf.model.BindingRequestHandler.isPageViewable(BindingRequestHandler.java:265) at oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:169) at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:161) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:620) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:865) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:447) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:215) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:117) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:110) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239) at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34) at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298) at java.lang.Thread.run(Thread.java:595)## Detail 0 ##oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.DMLException, msg=JBO-26061: Error while opening JDBC connection. at oracle.jbo.pool.ResourcePool.useResource(ResourcePool.java:336) at oracle.jbo.server.ConnectionPool.getConnectionInternal(ConnectionPool.java:87) at oracle.jbo.server.ConnectionPool.getConnection(ConnectionPool.java:66) at oracle.jbo.server.ConnectionPoolManagerImpl.getConnection(ConnectionPoolManagerImpl.java:56) at oracle.jbo.server.DBTransactionImpl.establishNewConnection(DBTransactionImpl.java:911) at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1156) at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:5891) at oracle.jbo.server.DBTransactionImpl2.connect(DBTransactionImpl2.java:120) at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:194) at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:454) at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:343) at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:7763) at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4074) at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2161) at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1961) at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793) at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453) at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:233) at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424) at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419) at oracle.adf.model.bc4j.DCJboDataControl.rebuildApplicationModule(DCJboDataControl.java:1536) at oracle.adf.model.bc4j.DCJboDataControl.beginRequest(DCJboDataControl.java:1396) at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:99) at oracle.adf.model.BindingContext.get(BindingContext.java:457) at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:280) at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:248) at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:383) at oracle.adf.model.binding.DCIteratorBinding.<init>(DCIteratorBinding.java:127) at oracle.jbo.uicli.binding.JUIteratorBinding.<init>(JUIteratorBinding.java:60) at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:87) at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:51) at oracle.adf.model.binding.DCIteratorBindingDef.createExecutableBinding(DCIteratorBindingDef.java:277) at oracle.adf.model.binding.DCBindingContainerDef.createExecutables(DCBindingContainerDef.java:296) at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:425) at oracle.adf.model.binding.DCBindingContainerReference.createBindingContainer(DCBindingContainerReference.java:54) at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:44) at oracle.adf.model.BindingContext.get(BindingContext.java:483) at oracle.adf.model.BindingContext.findBindingContainer(BindingContext.java:313) at oracle.adf.model.BindingContext.findBindingContainerByPath(BindingContext.java:633) at oracle.adf.model.BindingRequestHandler.isPageViewable(BindingRequestHandler.java:265) at oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:169) at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:161) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:620) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:865) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:447) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:215) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:117) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:110) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239) at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34) at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298) at java.lang.Thread.run(Thread.java:595)## Detail 0 ##oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.DMLException, msg=JBO-26061: Error while opening JDBC connection. at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:545) at oracle.jbo.pool.ResourcePool.useResource(ResourcePool.java:326) at oracle.jbo.server.ConnectionPool.getConnectionInternal(ConnectionPool.java:87) at oracle.jbo.server.ConnectionPool.getConnection(ConnectionPool.java:66) at oracle.jbo.server.ConnectionPoolManagerImpl.getConnection(ConnectionPoolManagerImpl.java:56) at oracle.jbo.server.DBTransactionImpl.establishNewConnection(DBTransactionImpl.java:911) at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1156) at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:5891) at oracle.jbo.server.DBTransactionImpl2.connect(DBTransactionImpl2.java:120) at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:194) at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:454) at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:343) at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:7763) at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4074) at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2161) at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1961) at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793) at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453) at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:233) at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424) at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419) at oracle.adf.model.bc4j.DCJboDataControl.rebuildApplicationModule(DCJboDataControl.java:1536) at oracle.adf.model.bc4j.DCJboDataControl.beginRequest(DCJboDataControl.java:1396) at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:99) at oracle.adf.model.BindingContext.get(BindingContext.java:457) at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:280) at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:248) at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:383) at oracle.adf.model.binding.DCIteratorBinding.<init>(DCIteratorBinding.java:127) at oracle.jbo.uicli.binding.JUIteratorBinding.<init>(JUIteratorBinding.java:60) at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:87) at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:51) at oracle.adf.model.binding.DCIteratorBindingDef.createExecutableBinding(DCIteratorBindingDef.java:277) at oracle.adf.model.binding.DCBindingContainerDef.createExecutables(DCBindingContainerDef.java:296) at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:425) at oracle.adf.model.binding.DCBindingContainerReference.createBindingContainer(DCBindingContainerReference.java:54) at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:44) at oracle.adf.model.BindingContext.get(BindingContext.java:483) at oracle.adf.model.BindingContext.findBindingContainer(BindingContext.java:313) at oracle.adf.model.BindingContext.findBindingContainerByPath(BindingContext.java:633) at oracle.adf.model.BindingRequestHandler.isPageViewable(BindingRequestHandler.java:265) at oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:169) at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:161) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:620) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:865) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:447) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:215) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:117) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:110) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239) at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34) at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298) at java.lang.Thread.run(Thread.java:595)## Detail 0 ##oracle.jbo.DMLException: JBO-26061: Error while opening JDBC connection. at oracle.jbo.server.ConnectionPool.createConnection(ConnectionPool.java:220) at oracle.jbo.server.ConnectionPool.instantiateResource(ConnectionPool.java:135) at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:536) at oracle.jbo.pool.ResourcePool.useResource(ResourcePool.java:326) at oracle.jbo.server.ConnectionPool.getConnectionInternal(ConnectionPool.java:87) at oracle.jbo.server.ConnectionPool.getConnection(ConnectionPool.java:66) at oracle.jbo.server.ConnectionPoolManagerImpl.getConnection(ConnectionPoolManagerImpl.java:56) at oracle.jbo.server.DBTransactionImpl.establishNewConnection(DBTransactionImpl.java:911) at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1156) at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:5891) at oracle.jbo.server.DBTransactionImpl2.connect(DBTransactionImpl2.java:120) at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:194) at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:454) at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:343) at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:7763) at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4074) at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2161) at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1961) at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793) at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453) at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:233) at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424) at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419) at oracle.adf.model.bc4j.DCJboDataControl.rebuildApplicationModule(DCJboDataControl.java:1536) at oracle.adf.model.bc4j.DCJboDataControl.beginRequest(DCJboDataControl.java:1396) at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:99) at oracle.adf.model.BindingContext.get(BindingContext.java:457) at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:280) at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:248) at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:383) at oracle.adf.model.binding.DCIteratorBinding.<init>(DCIteratorBinding.java:127) at oracle.jbo.uicli.binding.JUIteratorBinding.<init>(JUIteratorBinding.java:60) at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:87) at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:51) at oracle.adf.model.binding.DCIteratorBindingDef.createExecutableBinding(DCIteratorBindingDef.java:277) at oracle.adf.model.binding.DCBindingContainerDef.createExecutables(DCBindingContainerDef.java:296) at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:425) at oracle.adf.model.binding.DCBindingContainerReference.createBindingContainer(DCBindingContainerReference.java:54) at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:44) at oracle.adf.model.BindingContext.get(BindingContext.java:483) at oracle.adf.model.BindingContext.findBindingContainer(BindingContext.java:313) at oracle.adf.model.BindingContext.findBindingContainerByPath(BindingContext.java:633) at oracle.adf.model.BindingRequestHandler.isPageViewable(BindingRequestHandler.java:265) at oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:169) at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:161) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:620) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:865) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:447) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:215) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:117) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:110) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239) at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34) at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298) at java.lang.Thread.run(Thread.java:595)## Detail 0 ##java.sql.SQLException: Io exception: The Network Adapter could not establish the connection at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:138) at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:175) at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:287) at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:328) at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:430) at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:151) at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32) at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:608) at java.sql.DriverManager.getConnection(DriverManager.java:525) at java.sql.DriverManager.getConnection(DriverManager.java:140) at oracle.jbo.server.ConnectionPool.createConnection(ConnectionPool.java:189) at oracle.jbo.server.ConnectionPool.instantiateResource(ConnectionPool.java:135) at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:536) at oracle.jbo.pool.ResourcePool.useResource(ResourcePool.java:326) at oracle.jbo.server.ConnectionPool.getConnectionInternal(ConnectionPool.java:87) at oracle.jbo.server.ConnectionPool.getConnection(ConnectionPool.java:66) at oracle.jbo.server.ConnectionPoolManagerImpl.getConnection(ConnectionPoolManagerImpl.java:56) at oracle.jbo.server.DBTransactionImpl.establishNewConnection(DBTransactionImpl.java:911) at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1156) at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:5891) at oracle.jbo.server.DBTransactionImpl2.connect(DBTransactionImpl2.java:120) at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:194) at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:454) at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:343) at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:7763) at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4074) at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2161) at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1961) at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793) at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453) at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:233) at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424) at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419) at oracle.adf.model.bc4j.DCJboDataControl.rebuildApplicationModule(DCJboDataControl.java:1536) at oracle.adf.model.bc4j.DCJboDataControl.beginRequest(DCJboDataControl.java:1396) at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:99) at oracle.adf.model.BindingContext.get(BindingContext.java:457) at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:280) at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:248) at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:383) at oracle.adf.model.binding.DCIteratorBinding.<init>(DCIteratorBinding.java:127) at oracle.jbo.uicli.binding.JUIteratorBinding.<init>(JUIteratorBinding.java:60) at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:87) at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:51) at oracle.adf.model.binding.DCIteratorBindingDef.createExecutableBinding(DCIteratorBindingDef.java:277) at oracle.adf.model.binding.DCBindingContainerDef.createExecutables(DCBindingContainerDef.java:296) at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:425) at oracle.adf.model.binding.DCBindingContainerReference.createBindingContainer(DCBindingContainerReference.java:54) at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:44) at oracle.adf.model.BindingContext.get(BindingContext.java:483) at oracle.adf.model.BindingContext.findBindingContainer(BindingContext.java:313) at oracle.adf.model.BindingContext.findBindingContainerByPath(BindingContext.java:633) at oracle.adf.model.BindingRequestHandler.isPageViewable(BindingRequestHandler.java:265) at oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:169) at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:161) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:620) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:865) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:447) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:215) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:117) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:110) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239) at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34) at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298) at java.lang.Thread.run(Thread.java:595)
========================================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.
Maybe you are looking for
-
SMP3 Agentry Server SQLBEException - SAInvalidLogin
Hello Experts, I am creating from scratch Agentry app. Our Department have on-Premise SMP3 SP3 PL1 Server with running Agentry Server. Steps done: On the Server installed MS SQL 2012 Expressactivated "sa" user with default password On the Server conf
-
Download previous purchase of Photoshop to new computer
How do I download a previous purchase of Photoshop to my new computer?
-
Tell me one thing what is the seqence setting, tell me one thing what is the seqence setting
hi need the seqenced setting in the fcp
-
Does LabVIEW DSC 8.5 support Windows Server 2008?
Hi, I am developing a SCADA system using LabVIEW DSC 8.5. Apparently, customer wants the Server Computer to be latest Windows Server 2008 operating System. But the Release and Upgrade note specify that DSC Module does not support Windows NT/Me/98/95/
-
How to get reference name in the class
i have a doubt in java. class x public String toString() // code here i want class y p s v main(.....) x servlets=new x(); x jsp=new x(); s.o.p(servlets); s.o.p(jsp); the result i want is : hai servlets hai jsp what code to be in toString().