Net8 Protocols?
Hi-
I installed Oracle8i this morning on RedHat 6.0. Everything
seemed to go OK except that during the pre-install configuration
questions the list that shows available (detected) protocols for
Net8 was empty. I would have expected to see TCP/IP in there. I
had to leave for the office before I could investigate this
further. Just curious if anyone else has seen this. I did not
have this problem when I installed 8.0.5
Thanks,
Tom Barry
null
Likewise.
Everything seems to be OK. I've created a database, connected
via sqlplus, etc. I'm having difficulty connecting via sqlnet,
however.
Michael
Thomas Barry (guest) wrote:
: Hi-
: I installed Oracle8i this morning on RedHat 6.0. Everything
: seemed to go OK except that during the pre-install
configuration
: questions the list that shows available (detected) protocols
for
: Net8 was empty. I would have expected to see TCP/IP in there.
I
: had to leave for the office before I could investigate this
: further. Just curious if anyone else has seen this. I did not
: have this problem when I installed 8.0.5
: Thanks,
: Tom Barry
null
Similar Messages
-
I'm currently upgrading from Weblogic 8.1 to Weblogic 9.1 on a Windows environment (Windows XP on my dev box) with an Oracle 8.1.6 database.
During the upgrade, we switched from BEA's Oracle OCI driver ( weblogic.jdbc.oci.Driver ) in Weblogic 8.1 to their Type 4 JDBC driver in Weblogic 9.1 which resulted in a "Net8 protocol error".
Does anybody know what's causing this error and how to resolve this?
Thanks
Stack trace:
####<16-Jun-2006 9:37:35 o'clock AM PDT> <Error> <HTTP> <HY119402> <HY119402.CM-Fleet-Admin> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1150475855789> <BEA-101020> <[weblogic.servlet.internal.WebAppServletContext@681e45 - name: 'CMWeb', context-path: '/CMWeb'] Servlet failed with Exception
com.abs.cmweb.main.MainRuntimeException: CMWeb: INTERNAL RUNTIME EXCEPTION: EJB Exception: ; nested exception is:
com.westech.jade.service.entity.EntityRuntimeException: INTERNAL RUNTIME EXCEPTION: INTERNAL RUNTIME EXCEPTION: <b>[BEA][Oracle JDBC Driver]Internal error: Net8 protocol error.SQL Failed</b>: SELECT OID, BOUNDARY_NAME, USER_ID, PREFERENCE_VALUE FROM CMWEB_BOUNDARY_PREFERENCE WHERE BOUNDARY_NAME = ? AND USER_ID = ?
at com.abs.cmweb.main.control.boundaryUserPreferenceController.BoundaryUserPreferenceControllerRIProxy.findBoundaryUserPreference(BoundaryUserPreferenceControllerRIProxy.java:148)
at com.abs.cmweb.main.util.boundaryUserPreferenceHelper.BoundaryUserPreferenceHelper.getBoundaryUserPreference(BoundaryUserPreferenceHelper.java:50)
at com.abs.cmweb.waterConveyance.boundary.viewingWCInstructionsAndImplementations.ViewingWCInstructionsAndImplementationsUseBean.applyUserPreference(ViewingWCInstructionsAndImplementationsUseBean.java:275)
at com.abs.cmweb.waterConveyance.boundary.viewingWCInstructionsAndImplementations.ViewingWCInstructionsAndImplementationsUseBean.processBoundaryEvent(ViewingWCInstructionsAndImplementationsUseBean.java:179)
at com.abs.cmweb.waterConveyance.boundary.viewingWCInstructionsAndImplementations.ViewingWCInstructionsAndImplementationsFromHomeUseBean.processBoundaryEvent(ViewingWCInstructionsAndImplementationsFromHomeUseBean.java:32)
at com.westech.jade.service.boundary.html.HtmlBoundaryController.fireEvent(HtmlBoundaryController.java:1303)
at com.westech.jade.service.boundary.html.HtmlBoundaryController.processHtmlBoundaryAction(HtmlBoundaryController.java:337)
at com.westech.jade.service.boundary.html.HtmlBoundaryController.processHttpServletRequest(HtmlBoundaryController.java:255)
at com.westech.jade.service.boundary.html.HtmlBoundaryController.processRequestResponse(HtmlBoundaryController.java:152)
at jsp_servlet._waterconveyance._viewingwchome.__viewingwchome._jspService(__viewingwchome.java:329)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:272)
at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:380)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:298)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:165)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:496)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:245)
at com.westech.jade.service.boundary.html.HtmlBoundaryController.doForward(HtmlBoundaryController.java:833)
at com.westech.jade.service.boundary.html.HtmlBoundaryController.doForward(HtmlBoundaryController.java:966)
at com.abs.cmweb.main.boundary.navigatingCMWeb.NavigatingCMWebUseBean.doRedirectToBoundary(NavigatingCMWebUseBean.java:290)
at com.abs.cmweb.main.boundary.navigatingCMWeb.NavigatingCMWebUseBean.processBoundaryEvent(NavigatingCMWebUseBean.java:234)
at com.westech.jade.service.boundary.html.HtmlBoundaryController.fireEvent(HtmlBoundaryController.java:1303)
at com.westech.jade.service.boundary.html.HtmlBoundaryController.processHtmlBoundaryAction(HtmlBoundaryController.java:337)
at com.westech.jade.service.boundary.html.HtmlBoundaryController.processHttpServletRequest(HtmlBoundaryController.java:255)
at com.westech.jade.service.boundary.html.HtmlBoundaryController.processRequestResponse(HtmlBoundaryController.java:152)
at jsp_servlet._main._viewingcmwebhome.__navigatingcmweb._jspService(__navigatingcmweb.java:470)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:272)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:165)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:496)
at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:426)
at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:152)
at jsp_servlet._main._viewingapplicationmessages.__viewingapplicationmessages._jspService(__viewingapplicationmessages.java:298)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:272)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:165)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3153)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1973)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1880)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1310)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)Doug Chew wrote:
I'm currently upgrading from Weblogic 8.1 to Weblogic 9.1 on a Windows environment (Windows XP on my dev box) with an Oracle 8.1.6 database.
During the upgrade, we switched from BEA's Oracle OCI driver ( weblogic.jdbc.oci.Driver ) in Weblogic 8.1 to their Type 4 JDBC driver in Weblogic 9.1 which resulted in a "Net8 protocol error".
Does anybody know what's causing this error and how to resolve this?
ThanksHi, yes. Our old, deprecated and now removed type-2 driver used OCI (whatever version
you have installed) to talk to Oracle. Our new drivers use the wire-level protocol for
all supported DBMS versions. Oracle 8.1.6 is extremely old. I don't think it's even
supported by Oracle anymore, is it? I think you have two options:
1 - Try using Oracle's driver, in the type-2 mode so it also uses OCI.
2 - If (1) doesn't work, you probably have to upgrade your DBMS.
Joe
>
>
Stack trace:
####<16-Jun-2006 9:37:35 o'clock AM PDT> <Error> <HTTP> <HY119402> <HY119402.CM-Fleet-Admin> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1150475855789> <BEA-101020> <[weblogic.servlet.internal.WebAppServletContext@681e45 - name: 'CMWeb', context-path: '/CMWeb'] Servlet failed with Exception
com.abs.cmweb.main.MainRuntimeException: CMWeb: INTERNAL RUNTIME EXCEPTION: EJB Exception: ; nested exception is:
com.westech.jade.service.entity.EntityRuntimeException: INTERNAL RUNTIME EXCEPTION: INTERNAL RUNTIME EXCEPTION: <b>[BEA][Oracle JDBC Driver]Internal error: Net8 protocol error.SQL Failed</b>: SELECT OID, BOUNDARY_NAME, USER_ID, PREFERENCE_VALUE FROM CMWEB_BOUNDARY_PREFERENCE WHERE BOUNDARY_NAME = ? AND USER_ID = ?
at com.abs.cmweb.main.control.boundaryUserPreferenceController.BoundaryUserPreferenceControllerRIProxy.findBoundaryUserPreference(BoundaryUserPreferenceControllerRIProxy.java:148)
at com.abs.cmweb.main.util.boundaryUserPreferenceHelper.BoundaryUserPreferenceHelper.getBoundaryUserPreference(BoundaryUserPreferenceHelper.java:50)
at com.abs.cmweb.waterConveyance.boundary.viewingWCInstructionsAndImplementations.ViewingWCInstructionsAndImplementationsUseBean.applyUserPreference(ViewingWCInstructionsAndImplementationsUseBean.java:275)
at com.abs.cmweb.waterConveyance.boundary.viewingWCInstructionsAndImplementations.ViewingWCInstructionsAndImplementationsUseBean.processBoundaryEvent(ViewingWCInstructionsAndImplementationsUseBean.java:179)
at com.abs.cmweb.waterConveyance.boundary.viewingWCInstructionsAndImplementations.ViewingWCInstructionsAndImplementationsFromHomeUseBean.processBoundaryEvent(ViewingWCInstructionsAndImplementationsFromHomeUseBean.java:32)
at com.westech.jade.service.boundary.html.HtmlBoundaryController.fireEvent(HtmlBoundaryController.java:1303)
at com.westech.jade.service.boundary.html.HtmlBoundaryController.processHtmlBoundaryAction(HtmlBoundaryController.java:337)
at com.westech.jade.service.boundary.html.HtmlBoundaryController.processHttpServletRequest(HtmlBoundaryController.java:255)
at com.westech.jade.service.boundary.html.HtmlBoundaryController.processRequestResponse(HtmlBoundaryController.java:152)
at jsp_servlet._waterconveyance._viewingwchome.__viewingwchome._jspService(__viewingwchome.java:329)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:272)
at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:380)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:298)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:165)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:496)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:245)
at com.westech.jade.service.boundary.html.HtmlBoundaryController.doForward(HtmlBoundaryController.java:833)
at com.westech.jade.service.boundary.html.HtmlBoundaryController.doForward(HtmlBoundaryController.java:966)
at com.abs.cmweb.main.boundary.navigatingCMWeb.NavigatingCMWebUseBean.doRedirectToBoundary(NavigatingCMWebUseBean.java:290)
at com.abs.cmweb.main.boundary.navigatingCMWeb.NavigatingCMWebUseBean.processBoundaryEvent(NavigatingCMWebUseBean.java:234)
at com.westech.jade.service.boundary.html.HtmlBoundaryController.fireEvent(HtmlBoundaryController.java:1303)
at com.westech.jade.service.boundary.html.HtmlBoundaryController.processHtmlBoundaryAction(HtmlBoundaryController.java:337)
at com.westech.jade.service.boundary.html.HtmlBoundaryController.processHttpServletRequest(HtmlBoundaryController.java:255)
at com.westech.jade.service.boundary.html.HtmlBoundaryController.processRequestResponse(HtmlBoundaryController.java:152)
at jsp_servlet._main._viewingcmwebhome.__navigatingcmweb._jspService(__navigatingcmweb.java:470)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:272)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:165)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:496)
at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:426)
at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:152)
at jsp_servlet._main._viewingapplicationmessages.__viewingapplicationmessages._jspService(__viewingapplicationmessages.java:298)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:272)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:165)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3153)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1973)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1880)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1310)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:179) -
Where do I find the Net8 protocol architecture and complete documentation? Is it a published protocol or not?
Where do I find the Net8 protocol architecture and complete documentation? Is it a published protocol or not?
-
Internal error: Net8 protocol error.
We are migrating from CFMX6.1 to CFMX7. We are using Oracle
10g.
We have been getting the following errors, most of them point
to simple stored procedures (see attached):Yes. I needed to download the latest DataDirect drivers. MX7
Updater 2 contains an older version of the drivers that are not
compatible with Oracle 10G and stored procedures will hang. That's
a bug.
This link has everything one needs:
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=42dcb10a
You can run the attached script to to check the driver
versions. (Note: The output is written to your log file, so your
screen will be blank.) -
Win2kS Install Fails at Config of Net8 asst & TNS start
Installing Oracle8.1.6 on Compaq Proliant8000 running Win2K Server OS.
It appears from the installer that it goes thru and loads 8i
At install on the setup screen that has 3 steps, the first step is to Configure Net8 protocol and from description screen it says it is starting TNSListener. It hangs at this first step, on this screen over night. No options for Next, click Stop, never stops. Mouse sits at hourglass, Net8 config step sits at 'starting...'.
The db instance doesn't get installed as a service, I tried going to services and maybe starting up the instance, however no service to select start. Only TNSListener and a couple other misc services.
Is there a tool to configure and create my database instance service on windows? Or is this install hosed.
Please help
Chrisjust an FYI
Figured it out. I had the install running off the cd rom local to the server however I had a terminal connection to the server executing the install.
I installed from a session directly on the server (at consol) and all is OK. -
CF8 cfinsert / cfupdate Error
OS: Windows Server 2003
CF: CF8 Enterprise 8.0.1
DB: 10g
There are two problems:
** NOTE: NEITHER OF THE TWO ERRORS BELOW HAPPEN IN COLDFUSION
7, ONLY IN VERSION 8. **
(1) Inserting new database records using cfinsert.
For certain tables, when attempting to insert a new record
using cfinsert, the following error is displayed:
[Macromedia][Oracle JDBC Driver]Internal error: Net8 protocol
error.
This only happens some database tables and not on others
(most seem to work, only a couple do not). The basic configuration
of all the tables tested is the same (a primary key exists). The
table is being referred to in all upper-case in the cfinsert tag,
as is required for an Oracle DB. Using an insert inside a cfquery
tag works fine. Also, deleting all data out of the table allows one
cfinsert to work correctly, with subsequent attempts causing the
error.
(2) Updating an existing database record using cfupdate.
For certain tables, when attempting to update an existing
record cfupdate, the following error is displayed:
An error occurred during the update process. Error code: The
primary key for the IRCCO table was not found in the '' datasource.
/// Ensure that the table name is in the format that the database
server expects. (For example. Oracle Server table name must be
uppercase or the server table name must be qualified in the format
"schema.table_name". For SQL Server, the format is
"databasename.username.tablename", for example,
customers.dbo.orders)
This only happens on some database tables and not on others
with a similar configuration (the same tables with the cfinsert
problem). The tables associated with the error do in fact have a
primary key, so I'm not sure why the error above indicates
otherwise. Using and update inside a cfquery tag seems to work
fine.
(I have a tech-support case, 0180152620, open for these
issues right now. I just wanted to see if anyone else out there had
seen this problem and perhaps fixed it.)That may be true, but the cfinsert/cfupdate tags afford us
the opportunity to do some framework-level automation across
multiple "modules" in our product. I suppose we could write our own
tags/code to do the dynamic-SQL ourselves (we've actually written
our own pre-processor tag for cfquery), but it would be great if
the cfinsert/cfupdate tags just worked as well as they do in CF7
now. (It would also seem to obviate what would seem to be a primary
reason for using CF in first place.) -
Recently upgraded to Coldfusion 7 using JDBC drivers (V 3.5)
with Oracle 8i. Since then we have been getting problems with some
queryparams in <cfquery> SQL statement...., eg,
<cfqueryparam
value="#ValueList(get_service.ct_service_id)#" list="yes">. This
returns the following error:
Error executing Databse query. [Macromedia][Oracle JDBC]
Internal error: Net8 protocol error.
<cfqueryPARAM value="#arguments.request_id#"
cfsqltype="cf_sql_integer" maxlength="10"> This returns the
following error:
For input string: ":099960" null.
Can anyone help?Hi, Beverley.
Thank you for visiting Apple Support Communities.
I understand that you are unable to trim clips using iMovie. I would need a little more information on how you were attempting to trim a clip to provide a better answer. However, make sure you have the movie project open and are selecting the clip that you wish to trim as this will activate the clip trimmer.
Trim clips
-Jason H. -
Coldfusion JDBC driver setting
I have coldfusionmx 7 installed on red hat linux enterprise 4
How can i change the coldfusion JDBC driver to oracle 10g
JDBC driver, that's may be help me in solving problems " Net8
protocol error" which occured when a stored procedure return ref
cursor to coldfusion?The Technotes listed
here may
help. -
Storeproc error help...any help appreciated...
Error Executing Database Query.
[Macromedia][Oracle JDBC Driver]Internal error: Net8 protocol error.
The error occurred in C:\Inetpub\wwwroot\Denemeler\Kara_tahta\RMS\NewHire.cfm: line 16
14 :
15 : <cfprocresult
16 : name="NewHire" resultset="1">
17 :
18 : </cfstoredproc>Some helpful info at the bottom of this link about this error:
http://livedocs.adobe.com/coldfusion/6.1/htmldocs/dataso15.htm
You might also try:
http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:37265 -
Weblogic8.1sp3是否支持Oracle805?
我在Weblogic8.1sp3上配置JDBC,远程数据库系统是Oracle8.0.5的,本机的Net8已装好,并已测试连接成功。可是通过Weblogic配置向导设置JDBC时,总是测试连接失败,不是报“Net8 protocol error”,就是“类型长度大于最大值”,看JDBC的驱动描述里最近的都是Oracle8.1.7,不知道Weblogic8.1sp3是否支持Oracle805?请大家帮忙指导一下,谢谢!
在Weblogic8.1sp3上连接Oracle8.0.5,在配置JDBC连接池时,测试总是失败,打电话去问,说是可能不支持低版本的Oracle,上网咨询也没有人答复,经过自己仔细查看有关文档,发现如下有关信息:
Using the Oracle Thin Driver
The 10g (10.1.0.2.0) version of the Oracle Thin driver (ojdbc14.jar) is installed in the WL_HOME\server\lib folder (where WL_HOME is the folder where WebLogic Server is installed) with weblogic.jar. The manifest in weblogic.jar lists this file so that it is loaded when weblogic.jar is loaded (when the server starts). Therefore, you do not need to add the Oracle Thin driver to your CLASSPATH.
Note: The ojdbc14.jar file replaces classes12.zip as the source for Oracle Thin driver classes. This version of the driver is for use with a Java 2 SDK version 1.4.
If you plan to use a different version of the driver, you must replace the ojdbc14.jar file in WL_HOME\server\lib with an updated version of the file from Oracle or add the new file to the front of your CLASSPATH. You can download driver updates from the Oracle Web site at http://otn.oracle.com/software/content.html.
Note: In WebLogic Server 8.1SP3, the default version of the Oracle Thin driver was changed to the 10g driver (the version in WL_HOME\server\lib). In previous releases of WebLogic Server 8.1, the 9.2.0 version of the Oracle Thin driver was the default version of the driver.
The WL_HOME\server\ext\jdbc\oracle folder (where WL_HOME is the folder where WebLogic Platform is installed) of your WebLogic Server installation includes subfolders for the 9.2.0 and 10g versions of the Oracle Thin driver. To use the 9.2.0 version of the driver, Follow these steps:
1. In Windows Explorer or a command shell, navigate to the WL_HOME\server\ext\jdbc\oracle\920 folder.
2. Copy ojdbc14.jar.
3. In Windows Explorer or a command shell, navigate to WL_HOME\server\lib and replace the existing version of ojdbc14.jar with the version you copied.
To revert to version 10g (the default), follow the instructions above, but copy from the following folder: WL_HOME\server\ext\jdbc\oracle\10g.
按照上面所述,把WL_HOME\server\ext\jdbc\oracle\920文件夹下的jdbc14.jar复制到WL_HOME\server\lib,然后不论在配置向导里还是在控制台下配置JDBC连接池,数据库选Oracle,Database Driver选“Oracle's Driver(Thin) Versions:8.1.7”,最后测试通过!
希望以上能对碰到同样问题的人有所帮助。 -
JDBC THIN on Oracle 8.1.6 (7)
Hello and firstly, happy new year.
I would like to optimize a connection between an applet the drivers of Oracle (Thin) and a data base Oracle.
I have several question about the performance of this connection because
for a transfer of 150 KB of useful data (connection plsql on oracle
on line), I note a transfer of 600 KB between the applet
and the server !!
So:
- What kind of parameters can be configure on the Oracle Server to spped this transfer time (Size of the buffer?, Multi buffer? ).
- Is something to configure on the Java applet client?
- How to optimize this type of connection?
to sum up, I use the Oracle driver, is the Sun driver more powerful?
Thank you for your help.for a transfer of 150 KB of useful data (connection
plsql on oracle on line), I note a transfer of 600 KB
between the applet and the server !!Nothing to do with Oracle or Sun.
The Oracle Thick (type-2) and thin (type-4) drivers talk to the DB server using the Oracle-proprietary "Net8" protocol. That happens to be verbose, and so that's what you get.
Using the JDBC-ODBC bridge is not going to make this any faster.
Your best bets are:
1. Have your applet talk to an intermediate server, which can query Oracle, get the results, compress it into a compact tabular format suitable for your applet (perhaps even using GZipOutputStream to really compress the data), and send it down.
2. Investigate some of the type-3 drivers out there (type-3 drivers are those that talk to an intermediate middleware server that can do query result caching and other such optimizations). See the lookup table at http://industry.java.sun.com/products/jdbc/drivers. Perhaps they do something like this with their data streams, though this would be a heavy hammer indeed if this is the only problem you're trying to solve.. -
XA overhead in call to prepare, taking up to 1000 ms
Hello everyone.
In a particular use-case on our load-test environment (similar to production) where customer data is being updated via a SOAP from a weblogic 10.3 (JDBC driver 11.2.0.2.0) to two 11gR2 RAC cluster (which leads to a lot of SQL queries, including DML and a JMS message) we experience execution times of oracle.jdbc.xa.client.OracleXAResource.prepare(Xid) (which is being called once at the end of the service-call) which are far from being acceptable, about 300-1000 ms.
We measured the execution times with java profilers (dynaTrace, MissionControl). To ensure these values are valid we put the ojdbc6_g.jar in place and saw the long times in the logs.
Example:
<record>
<date>2011-07-27T16:48:45</date>
<millis>1311785325858</millis>
<sequence>7265</sequence>
<logger>oracle.jdbc.xa.client</logger>
<level>FINE</level>
<class>oracle.jdbc.xa.client.OracleXAResource</class>
<method>prepare</method>
<thread>11</thread>
<message>41B70007 Exit [354.443ms]</message>
</record>
We took a TCP dump in order to see what is being sent to the database but couldn't decompile what exactly is being transfered via the NET8 protocol.
From what I've read (http://download.oracle.com/docs/cd/B28359_01/java.111/b31224/xadistra.htm) the thin driver should be using the native XA by default so this should not be a reason for the poor performance.
We have many other services that do similar DML but don't show this behavior, so it must be something specific.
From the profiling and TCP dumping we are pretty sure the time is being spent on the DB side.
This assumption was strengthened by the odd fact that this monday, after no usage of the system on the weekend, the overhead suddenly just dissapeared! The execution times were as low as one would expect (~5-10 ms). We saw an out of memory (ORA-4030) occured on Saturday, which is still in investigation by the provider.
I suspected that the long prepare times would come back after some load, so I initiated a load test which executes these use cases and simulates a real life scenario. After 1 or 2 hours, this was the case. Now we are in the same situation as before. Again it is reproducable with single calls and no other load on the DB. I imagined there might have been restarts of the instances or something similar in order to recover from the ORA-4030 so I initiated restarts of all instances but without success.
This is were we are right now, the experiences so far lead imho to the following conclusions/assumptions:
1. The time is being spent on the DB (maybe partly somewhere in the network)
2. We are most probably experiencing an erroneous behavior because we had a situation were the issue did not occur, but we don't know why (yet)
3. Maybe it was by accidential circumstances on monday that the problem dissapeared and it had nothing to do with our load-test later on that it is back now (since the physical hardware (DB server and storage) is shared but we see no contention on CPU,RAM or I/O)
4. JMS should not be the issue because we see a dedicated prepare call which is fast and it's handled locally on the AppServer
The big question is, how can we pin down where exactly on the DB the time is being spent? Is there a way to find out how long each participating RM takes in order to handle the prepare-call?
Any help would be greatly appreciated, these execution times can threaten our SLA.
Kind regards,
Thomas
PS: We've opened an SR as well, but there's has not been a lot of useful information so far. This statement is not very promising "There is no specific mechanism to find out why the prepare state takes time."Hi Thomas, you can do some test before recommend enable XA at RAC level.
(Please check if the jdbc driver need access to PL/SQL level of XA procedures or the JDBC just use the API XA native of Oracle 11).
check if you are using the jdbc for 11G.
- A simple test to check the response time just please do shutdown abort (one node) and check the response time on the other node.
- After do this test, shutdown the database and start the databases (both) to start a clean scenario and do some tests, if you feel the system goes slow just check the lock at RAC level if you see the same SID locking the same object on both nodes, well you need to run XA scripts on ypu database, if not keep looking. if you don't have the script to check the lock at RAC level, just let me know I can publish the scripts for you. on RAC 10G all the time just I run the XA scripts because some client need some PL/SQL api XA. EX: .COM or .NET over windows 2003 or windows 2008. -
JDBC update 3.5 gives Oracle errors
Running CF Enterprise Server 7.02 on win 2003 server.
Installed the updated Data Direct JDBC drivers (version 3.5) and
started getting following errors when run against Oracle 8i
databases:
This from queries that call stored procedures:
Error Executing Database Query.[Macromedia][Oracle JDBC
Driver][Oracle]ORA-02041: client database did not begin a
transaction ORA-06512: at ""PAMOT.LATEST_LAB_DATA"", line 25
ORA-06512: at line 1 The specific sequence of files included...
This intermittently from queries that use cfqueryparam :
Error Executing Database Query.[Macromedia][Oracle JDBC
Driver]Internal error: Net8 protocol error. The specific sequence
of files included...
Have reverted to 3.4 drivers.
Any idea what's going wrong?I just encountered this same error with CF Enterprise 7.02 on
Win 2003 server connecting to an Oracle 8i database. On a whim I
wrapped a <cftransaction> around the <cfquery> and the
error went away. I have no idea why but it worked. -
Cannot open Planning application : An error occurred while processing page
Hi,
I'm using EPM 11.1.1.3 on Linux Server (Red Hat). Recently, I had to stop and start all services after which I am unable to open any Planning application. It gives me the following error:
An error occurred while processing this page. Check the log for details.Please close the current tab and open application again
An error occurred while processing this page. Check the log for details.
I cannot open it through Workspace also. There aren't any logs in %HYPERION_HOME%/logs/Planning which mention anything about this error. Appreciate if someone could suggest a solution.
Cheers,
SahilThanks for sharing your expert opinions guys. I have checked the suggested log HYPERION_HOME/deployments/Tomcat5/HyperionPlanning/logs/catalina.out
It seems to be a JDBC connection error. This brings me to the point that I also reconfigured Planning over the existing configuration (8300). could this be the cause of the error as other utilities (Web Analysis, Essbase, Shared Services etc.) are working fine (I did not reconfigure these).
Kindly have a look at the log below from the aforementioned path and suggest a solution. Greatly appreciate any help.
Jul 17, 2011 9:45:16 AM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8300
Jul 17, 2011 9:45:16 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 441 ms
Jul 17, 2011 9:45:16 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jul 17, 2011 9:45:16 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Hyperion Embedded Java Container/1.0.0
Jul 17, 2011 9:45:16 AM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
[INFO] HyperionPlanning] - Starting Hyperion Planning...
[INFO] RegistryLogger - REGISTRY LOG INITIALIZED
[INFO] RegistryLogger - REGISTRY LOG INITIALIZED
/oracle/hyp/app/common/config/9.5.0.0/product/planning/9.5.0.0/planning_1.xml
displayName = Planning
componentTypes =
priority = 50
version = 9.5.0.0
build = 1
location = /oracle/hyp/app/products/Planning
taskSequence =
task =
*******/oracle/hyp/app/common/config/9.5.0.0/registry.properties
Creating rebind thread to RMI
[INFO] HyperionPlanning] - Hyperion Planning started in 3 seconds.
Jul 17, 2011 9:45:20 AM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8300
Jul 17, 2011 9:45:20 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8302
Jul 17, 2011 9:45:20 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/17 config=null
Jul 17, 2011 9:45:20 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 4257 ms
Jul 17, 2011 9:45:36 AM org.apache.coyote.http11.Http11BaseProtocol init
SEVERE: Error initializing endpoint
java.net.BindException: Address already in use:8300
at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:297)
at org.apache.coyote.http11.Http11BaseProtocol.init(Http11BaseProtocol.java:138)
at org.apache.catalina.connector.Connector.initialize(Connector.java:1016)
at org.apache.catalina.core.StandardService.initialize(StandardService.java:580)
at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:791)
at org.apache.catalina.startup.Catalina.load(Catalina.java:503)
at org.apache.catalina.startup.Catalina.load(Catalina.java:523)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:266)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:431)
Jul 17, 2011 9:45:36 AM org.apache.catalina.startup.Catalina load
SEVERE: Catalina.start
LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use:8300
at org.apache.catalina.connector.Connector.initialize(Connector.java:1018)
at org.apache.catalina.core.StandardService.initialize(StandardService.java:580)
at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:791)
at org.apache.catalina.startup.Catalina.load(Catalina.java:503)
at org.apache.catalina.startup.Catalina.load(Catalina.java:523)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:266)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:431)
Jul 17, 2011 9:45:36 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 407 ms
Jul 17, 2011 9:45:36 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jul 17, 2011 9:45:36 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Hyperion Embedded Java Container/1.0.0
Jul 17, 2011 9:45:36 AM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
[INFO] HyperionPlanning] - Starting Hyperion Planning...
[INFO] RegistryLogger - REGISTRY LOG INITIALIZED
[INFO] RegistryLogger - REGISTRY LOG INITIALIZED
/oracle/hyp/app/common/config/9.5.0.0/product/planning/9.5.0.0/planning_1.xml
displayName = Planning
componentTypes =
priority = 50
version = 9.5.0.0
build = 1
location = /oracle/hyp/app/products/Planning
taskSequence =
task =
*******/oracle/hyp/app/common/config/9.5.0.0/registry.properties
Creating rebind thread to RMI
[INFO] HyperionPlanning] - Hyperion Planning started in 2 seconds.
Jul 17, 2011 9:45:39 AM org.apache.coyote.http11.Http11BaseProtocol start
SEVERE: Error starting endpoint
java.net.BindException: Address already in use:8300
Jul 17, 2011 9:45:39 AM org.apache.catalina.startup.Catalina start
SEVERE: Catalina.start:
LifecycleException: service.getName(): "Catalina"; Protocol handler start failed: java.net.BindException: Address already in use:8300
Jul 17, 2011 9:45:39 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 3083 ms
Jul 17, 2011 9:45:39 AM org.apache.catalina.core.StandardServer await
SEVERE: StandardServer.await: create[8301]:
java.net.BindException: Address already in use
Jul 17, 2011 9:45:39 AM org.apache.coyote.http11.Http11BaseProtocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8300
Jul 17, 2011 9:45:39 AM org.apache.catalina.connector.Connector pause
SEVERE: Protocol handler pause failed
java.lang.NullPointerException
at org.apache.jk.server.JkMain.pause(JkMain.java:677)
at org.apache.jk.server.JkCoyoteHandler.pause(JkCoyoteHandler.java:162)
at org.apache.catalina.connector.Connector.pause(Connector.java:1031)
at org.apache.catalina.core.StandardService.stop(StandardService.java:491)
at org.apache.catalina.core.StandardServer.stop(StandardServer.java:743)
at org.apache.catalina.startup.Catalina.stop(Catalina.java:601)
at org.apache.catalina.startup.Catalina$CatalinaShutdownHook.run(Catalina.java:644)
[INFO] HyperionPlanning] - Shutting down Hyperion Planning applications...
[INFO] HyperionPlanning] - Hyperion Planning was stopped
Unable to create JDBC connection. java.sql.SQLException: [Hyperion][Oracle JDBC Driver]Internal error: Net8 protocol error.
Unable to set Planning's Oracle connection numeric character to '.'. java.lang.NullPointerException
Can not set database catalog name, skipping set of catalog name: hypdb
Unable to create JDBC connection. java.sql.SQLException: [Hyperion][Oracle JDBC Driver]Internal error: Net8 protocol error.
Unable to set Planning's Oracle connection numeric character to '.'. java.lang.NullPointerException
Can not set database catalog name, skipping set of catalog name: hypdb
Unable to create JDBC connection. java.sql.SQLException: [Hyperion][Oracle JDBC Driver]Internal error: Net8 protocol error.
Unable to set Planning's Oracle connection numeric character to '.'. java.lang.NullPointerException
Can not set database catalog name, skipping set of catalog name: hypdb
Can not get JDBC connection.
java.lang.Exception: No object were successfully created. This can be caused by any of the following: The OLAP Server is not running, The DBMS is not running, the DBMS is running on a different machine that the one specified, the name and password provided were incorrect.
at java.lang.Thread.run(Unknown Source)
java.lang.RuntimeException: Error loading objects from data source: java.lang.NullPointerException: JDBCCacheLoader.loadObjects(): jdbc connection was null.
java.lang.NullPointerException
Unable to create JDBC connection. java.sql.SQLException: [Hyperion][Oracle JDBC Driver]Internal error: Net8 protocol error.
Unable to set Planning's Oracle connection numeric character to '.'. java.lang.NullPointerException
Can not set database catalog name, skipping set of catalog name: hypdb
Can not get JDBC connection.
java.lang.Exception: No object were successfully created. This can be caused by any of the following: The OLAP Server is not running, The DBMS is not running, the DBMS is running on a different machine that the one specified, the name and password provided were incorrect.
Unable to create JDBC connection. java.sql.SQLException: [Hyperion][Oracle JDBC Driver]Internal error: Net8 protocol error.
Unable to set Planning's Oracle connection numeric character to '.'. java.lang.NullPointerException
Can not set database catalog name, skipping set of catalog name: hypdb
Unable to create JDBC connection. java.sql.SQLException: [Hyperion][Oracle JDBC Driver]Internal error: Net8 protocol error.
Unable to set Planning's Oracle connection numeric character to '.'. java.lang.NullPointerException
Can not set database catalog name, skipping set of catalog name: hypdb
Attempted to release a null connection
java.lang.NullPointerException: JDBCCacheLoader.loadObjects(): jdbc connection was null.
Unable to create JDBC connection. java.sql.SQLException: [Hyperion][Oracle JDBC Driver]Internal error: Net8 protocol error.
Unable to set Planning's Oracle connection numeric character to '.'. java.lang.NullPointerException
Can not set database catalog name, skipping set of catalog name: hypdb
Can not get JDBC connection.
java.lang.Exception: No object were successfully created. This can be caused by any of the following: The OLAP Server is not running, The DBMS is not running, the DBMS is running on a different machine that the one specified, the name and password provided were incorrect.
Attempted to release a null connection
java.lang.NullPointerException: JDBCCacheLoader.loadObjects(): jdbc connection was null.
java.lang.RuntimeException: Error loading objects from data source: java.lang.NullPointerException: JDBCCacheLoader.loadObjects(): jdbc connection was null.
java.lang.NullPointerException
Unable to create JDBC connection. java.sql.SQLException: [Hyperion][Oracle JDBC Driver]Internal error: Net8 protocol error.
Unable to set Planning's Oracle connection numeric character to '.'. java.lang.NullPointerException
Can not set database catalog name, skipping set of catalog name: hypdb
Unable to create JDBC connection. java.sql.SQLException: [Hyperion][Oracle JDBC Driver]Internal error: Net8 protocol error.
Unable to set Planning's Oracle connection numeric character to '.'. java.lang.NullPointerException
Can not set database catalog name, skipping set of catalog name: hypdb -
Problem with Sun Java Creator JDBC driver .....
Hi:
I am new to Java Studio Creator. I am using Oracle Enterprise Edition 8.0.5.0 database to get data from. Through Servers Navigator->Data Sources, I define a new datasource using default JSC JDBC driver for Oracle. However, when I try to test the connection I get the following error.
[sunm][Oracle JDBC Driver] Internal Error: Net8 Protocol Error
Can someone tell me what is going on here? By the way I also have Netbeans 4.0 IDE which works fine with the same database.
-Victor baggaI was using the following database URL.
jdbc:sun:oracle://autoserv.cqtel.com:1521;SID=autosvdb
The SID is valid because I can use other JDBC drivers such as Oracle's thin driver which uses the Database URL
jdbc:oracle:thin:@autoserv.cqtel.com:1521:autosvdb
and it works. However, I can not use the Oracle thin JDBC driver with Sun Java Creator as it seems to be incompatible. Using this driver I can successfully define a datasource and veiw all the data and make all kind of queries through the Server Navigator window but when I try to drop a database table on to a Data Table in my project, nothing happens. If I try to Edit the query on the rowset, the GUI window does not show any Column names and display names.
By the way, I also have an Oracle 9.x database which works just fine with Java Ctreator Studio. I really like Java Creator as I find it very productive but not being able to make it work with Oracle 8.0.5.0 takes the fun out of it.
Maybe you are looking for
-
Mapping a one to many relationship using fluent api
Hi I can't map my domains to match the database, since database is already created, I can't create or remove any other extra table. Database CREATE TABLE PLAYER (Id Int, Name varchar(100), PRIMARY KEY (Id)) CREATE TABLE POSITION (Id Int, Name varchar
-
I upgraded to Mavericks and can't get my Epson Perfection 4990 scanner to work. I had gotten it to work with a driver I downloaded from EPSON with Mountain Lion
-
Server-Client and collections/syncronization question
Hi guys, I am learning about server and client relationships and was playing around with some code. I have a catalog on Server machine that multiple clients need to read and modify. I set up multi thread server with sockets and I/o that work well whe
-
SELECT XMLAGG( XMLELEMENT("SCHEDULEHISTORY", XMLFOREST(SCHEDULENAME, TO_CHAR(IMPORTSTARTTIME, ''MM/DD/YYYY HH24:MI:SS.FF6'') IMPORTSTARTTIME,
-
Having issues with charts in Keynote '09
When I try to create a chart in Keynote '09, it comes in all messed up and does not allow me to edit it. It comes in inverted and a complete disaster. See below: