01.02.2013 Views

Publishing Reports to the Web - Downloads - Oracle

Publishing Reports to the Web - Downloads - Oracle

Publishing Reports to the Web - Downloads - Oracle

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Troubleshooting Information<br />

8.4.2 Trace Information<br />

Table 8–12 (Cont.) Isolating driver / pds issues<br />

Error Message Cause Action<br />

No entry is<br />

present for <strong>the</strong><br />

driver {0} in <strong>the</strong><br />

jdbcpds.conf file.<br />

Use <strong>the</strong> detailed trace information (ORACLE_HOME\reports\logs\) generated by<br />

<strong>Oracle</strong> <strong>Reports</strong> <strong>to</strong> debug your JDBC query.<br />

■ Design time (building a JDBC query) and run time (running a JDBC query)<br />

The trace information generated is helpful <strong>to</strong> find out <strong>the</strong> following:<br />

■ Lexical and bind parameters.<br />

■ Final connect string formed <strong>to</strong> connect <strong>to</strong> <strong>the</strong> driver.<br />

■ Metadata information received from <strong>the</strong> driver.<br />

■ Final query submitted <strong>to</strong> <strong>the</strong> database.<br />

See Example 8–1 for a sample design-time trace output.<br />

See Example 8–2 for a sample run-time trace output.<br />

Sample trace output<br />

The driver used in <strong>the</strong> query<br />

is not mentioned in <strong>the</strong><br />

jdbcpds.conf file.<br />

Example 8–1 Building a JDBC Query from JDBC Query Dialog<br />

Connection handling trace showing final connect string<br />

[2003/4/7 5:41:38:686] Debug 50103 (jdbcpds): handleConnectBut<strong>to</strong>nEvent : start<br />

[2003/4/7 5:41:38:686] Debug 50103 (jdbcpds): handleConnectBut<strong>to</strong>nEvent :<br />

subPro<strong>to</strong>col :sybase-merant<br />

[2003/4/7 5:41:38:686] Debug 50103 (jdbcpds): handleConnectBut<strong>to</strong>nEvent :<br />

connection class :oracle.reports.plugin.datasource.jdbcpds.JDBCConnectionHandling<br />

[2003/4/7 5:41:38:696] Debug 50103 (jdbcpds): handleConnectBut<strong>to</strong>nEvent : combine<br />

string :jdbc:merant:sybase://server1.us.oracle.com:1300<br />

[2003/4/7 5:41:38:696] Debug 50103 (jdbcpds): JDBCDataSource : setJDBCQueryType:<br />

sybase<br />

[2003/4/7 5:41:41:350] Debug 50103 (jdbcpds): JDBCUIEventHandler :<br />

handleConnectEvent : Valid Connection<br />

com.oracle.ias.jdbc.sybase.SybaseConnection@56fc16<br />

[2003/4/7 5:41:41:350] Debug 50103 (jdbcpds): JDBCUIEventHandler :<br />

handleConnectEvent : END com.oracle.ias.jdbc.sybase.SybaseConnection@56fc16<br />

Design time metadata of query<br />

[2003/3/31 6:35:46:363] Debug 50103 (jdbcpds): JDBCUIEventHandler : handleOKEvent<br />

: Serialize XMLjdbcpdspkg.proc_with_<br />

param(1,2,3,4,5)1oracle<br />

oracle.reports.plugin.datasource.jdbcpds.JDBCConnect<br />

ionHandlingP_<br />

JDBCPDS

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!