Oracle 11g client: TNS-illegal ADDRESS parameter
Hi,
I am working on a database application. The application uses OCI interface to connect and query to the Oracle Database
The application used to work with Oracle 10g client, but using Oracle 11gR1 or 11gR2 client application is failing to connecto the Database
The sqlnet.log on client machine is showing following error
Fatal NI connect error 12533, connecting to:
(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=vm-oedsdev1)(PORT=1521))(CONNECT_DATA
=(SERVICE_NAME=orcl)(CID=(PROGRAM=_orasrv@bespin)(HOST=bespin)(USER=sgarg))))
VERSION INFORMATION:
TNS for Solaris: Version 11.1.0.6.0 - Production
TCP/IP NT Protocol Adapter for Solaris: Version 11.1.0.6.0 - Production
Time: 07-JUL-2011 05:48:50
Tracing to file: /scratch/sgarg/wrk/bug/OE00175173/oe102b/64bit/trace/cli_8585
.trc
Tns error struct:
ns main err code: 12533
TNS-12533: TNS:illegal ADDRESS parameters
ns secondary err code: 0
nt main err code: 0
nt secondary err code: 0
nt OS err code: 0
Following is my test environment
Platform and OS - Solaris 2.9 SPARC V9
Oracle client version - 11.1.0.6.0
Oracle Server version - 11.1.0.6.0
On Database server which is running on 64 bit Windows, listener log and listener trace have following error logs
listenr.log:
TNS-12502: TNS:listener received no CONNECT_DATA from client.
Following is the header of the listener.log file
TNSLSNR for 64-bit Windows: Version 11.1.0.6.0 - Production on 07-JUL-2011 09:04:56
listener.trc:
The corresponding listner trace has following trace entry
[07-JUL-2011 11:51:51:668] ntt2err: Read unexpected EOF ERROR on 460
The Oracle client (version 11.1.0.6.0) is running on Solrias 64 bit machine.
Please help me understanding why are these errors appearing with Oracle 11g client.
Regards,
Sachin
Hi,
Thanks for your reply, but your assumption is incorrect that I did not read the error message in the documentation. I read it many times, but could not correlate it with any wrongdoing.
solaris64:102b$ oerr TNS 12533
12533, 00000, "TNS:illegal ADDRESS parameters"
// *Cause: An illegal set of protocol adapter parameters was specified. In
// some cases, this error is returned when a connection cannot be made to the
// protocol transport.
// *Action: Verify that the destination can be reached using the specified
// protocol. Check the parameters within the ADDRESS section of
// TNSNAMES.ORA. Legal ADDRESS parameter formats may be found in the
// Oracle operating system specific documentation for your platform.
// Protocols that resolve names at the transport layer (such as DECnet object
// names) are vulnerable to this error if not properly configured or names are
// misspelled.
The above says that, illegal set of protocol adapters was specified...., I am using 'Local Naming (tnsnames.ora)' connection method and using TCP/IP protocol.
Following are the tnsnames.ora content
solaris64:102b$ cat tnsnames.ora
oeora11g1 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = vm-oedsdev1)(PORT = 1521))
(CONNECT_DATA =
(service_name = orcl)
and the following are the sqlnet.ora content
solaris64:102b$ cat sqlnet.ora
# sqlnet.ora Network Configuration File: /gateways/solaris64/oracle/client/10.2/network/admin/sqlnet.ora
# Generated by Oracle configuration tools.
NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES)
DIAG_ADR_ENABLED=NO
trace_level_client=SUPPORT
trace_directory_client=/scratch/sgarg/wrk/bug/OE00175173/oe102b/64bit/trace
My bad that the information was not enough to comment on anything on the problem.
I think, the above info would be helpful
Thanks,
Sachin
Similar Messages
-
ORA-12533 TNS illegal ADDRESS parameters
Hi all
Im getting this error when i try to connect from my laptop to the databases on the server. (new RAC installation)
Enter user-name: sys/passwd@duarfnam as sysdba
ERROR:
ORA-12533: TNS:illegal ADDRESS parameters
The listener is running.
I was connecting bofore then i edited the tnsnames file on the server and my laptop then it giving the error above this are the
listener.ora entry on the server
================
LISTENER_TSAVO-WEST =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = tsavo-west-vip.mydomain)(PORT = 1521)(IP = FIRST))
(ADDRESS = (PROTOCOL = TCP)(HOST = public ip)(PORT = 1521)(IP = FIRST))
SID_LIST_LISTENER_TSAVO-WEST =
(SID_LIST =
(SID_DESC =
(SID_NAME = +ASM2)
(ORACLE_HOME = /oracle/ocr/oracleasm/product/asm)
==================================
then on the database home $ORACLE_HOME/network/admin
i have this entry on tnsnames.ora
NB# public ipnode1 and public ipnode1 i have changed this for me to post this
dware1 =
(DESCRIPTION =
(CONNECT_DATA =
(ADDRESS = (PROTOCOL = TCP)(HOST = public ipnode1)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = public ipnode2)(PORT = 1521))
(LOAD_BALANCE = yes)
(SERVER = DEDICATED)
(SERVICE_NAME = dware)
(INSTANCE_NAME = dware1)
dware2 =
(DESCRIPTION =
(CONNECT_DATA =
(ADDRESS = (PROTOCOL = TCP)(HOST = public ipnode1)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = public ipnode2)(PORT = 1521))
(LOAD_BALANCE = yes)
(SERVER = DEDICATED)
(SERVICE_NAME = dware)
(INSTANCE_NAME = dware2)
dware =
(DESCRIPTION =
(CONNECT_DATA =
(ADDRESS = (PROTOCOL = TCP)(HOST = public ipnode1)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = public ipnode2)(PORT = 1521))
(SERVER = DEDICATED)
(SERVICE_NAME = dware)
please assistEnter user-name: sys/passwd@duarfnam as sysdbaabove done by OP
Below aliases from tnsnames.ora file
dware1
dware2
dwareSo of course "duarfnam" is not found
12533, 00000, "TNS:illegal ADDRESS parameters"
// *Cause: An illegal set of protocol adapter parameters was specified. In
// some cases, this error is returned when a connection cannot be made to the
// protocol transport.
// *Action: Verify that the destination can be reached using the specified
// protocol. Check the parameters within the ADDRESS section of
// TNSNAMES.ORA. Legal ADDRESS parameter formats may be found in the
// Oracle operating system specific documentation for your platform.
// Protocols that resolve names at the transport layer (such as DECnet object
// names) are vulnerable to this error if not properly configured or names are
// misspelled.
Total Questions: 10 (10 unresolved) How sad! -
TNS-12533: TNS:illegal ADDRESS parameters
Hi
I need to connect from BI system to external Oracle system by using DBCONNECT For this i am trying establish a connection while doing this TNSPING is giving error. as
TNS-12533: TNS:illegal ADDRESS parameters
entry in the file is
DB0.WORLD=
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(COMMUNITY = SAP.WORLD)
(PROTOCOL = TCP)
(HOST = relmetrodev)
(PORT = 1523)
(CONNECT_DATA =
(SID = DB0)
(GLOBAL_NAME = DB0.WORLD)
DBCON.WORLD =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(COMMUNITY = SAP.WORLD)
(PROTOCOL = TCP)
(HOST = 10.125.10.213)
(PORT = 1521)
(CONNECT_DATA =
(SID = METRODB)
(GLOBAL_NAME = DBCON.WORLD)
Kindly help i need to do nay change in SQLNET.ORA file or not required.
where exactly the TNS entry is wrong.
error shows while pinging is
tnsping DBCON
TNS Ping Utility for Solaris: Version 10.2.0.4.0 - Production on 19-MAY-2010 15:53:46
Copyright (c) 1997, 2007, Oracle. All rights reserved.
Used parameter files:
/oracle/DB0/102_64/network/admin/sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact
TNS-12533: TNS:illegal ADDRESS parameters
Regards
VijayYou have to enter the settings for your external system into the tnsnames.ora on your BI system.
On the external system, you should check if tcp.invited_nodes is set. If so, add your BI system to it and reinitialize your listener.
Kind regards,
Mark -
Oracle 11g client / oracle 10g express edition in one computer
Hi All,
I already have Oracle 11g Client installed in my computer. I wanted to Install Oracle 10g Express Edition in the same computer. So that I shall work with that even when I am not in the network. My Question is : Will installing both of 11g Client and 10g XE will cause conflict in my computer or is it ok to install both. Any suggestion/information is appreciated.
Regards,
RRRHi,
i have installed oracle oraclient11g_home1, want to know the changes in tnsnames.ora.
below tnsnames.ora file got created after installation. I dont know
CONNECT_DATA=
(SID=<oracle_sid>)
[ (GLOBAL_NAME=<global_database_name>) ]
<alias>= [ (DESCRIPTION_LIST = # Optional depending on whether u have
# one or more descriptions
# If there is just one description, unnecessary ]
(DESCRIPTION=
[ (SDU=2048) ] # Optional, defaults to 2048
# Can take values between 512 and 32K
[ (ADDRESS_LIST= # Optional depending on whether u have
# one or more addresses
# If there is just one address, unnecessary ]
(ADDRESS=
[ (COMMUNITY=<community_name>) ]
(PROTOCOL=tcp)
(HOST=<hostname>)
(PORT=<portnumber (1521 is a standard port used)>)
[ (ADDRESS=
(PROTOCOL=ipc)
(KEY=<ipckey (PNPKEY is a standard key used)>)
[ (ADDRESS=
[ (COMMUNITY=<community_name>) ]
(PROTOCOL=decnet)
(NODE=<nodename>)
(OBJECT=<objectname>)
... # More addresses
[ ) ] # Optional depending on whether ADDRESS_LIST is used or not
[ (CONNECT_DATA=
(SID=<oracle_sid>)
[ (GLOBAL_NAME=<global_database_name>) ]
[ (SOURCE_ROUTE=yes) ]
(DESCRIPTION=
[ (SDU=2048) ] # Optional, defaults to 2048
# Can take values between 512 and 32K
[ (ADDRESS_LIST= ] # Optional depending on whether u have more
# than one address or not
# If there is just one address, unnecessary
(ADDRESS
[ (COMMUNITY=<community_name>) ]
(PROTOCOL=tcp)
(HOST=<>)
(PORT=<1521>)
[ (ADDRESS=
(PROTOCOL=ipc)
(KEY=<ipckey (PNPKEY is a standard key used)>)
... # More addresses
[ ) ] # Optional depending on whether ADDRESS_LIST
# is being used
[ (CONNECT_DATA=
(SID=<oracle_sid>)
[ (GLOBAL_NAME=<global_database_name>) ]
[ (SOURCE_ROUTE=yes) ]
[ (CONNECT_DATA=
(SID=<oracle_sid>)
[ (GLOBAL_NAME=<global_database_name>) ]
... # More descriptions
[ ) ] # Optional depending on whether DESCRIPTION_LIST is used or not -
Hi
Please give the oracle support document or link with instructions for installing
Oracle 11g client (latest version) on windows server 2008 64 bit.
Please also give the link for downloading the oracle 11g client too.
Many thanksHi
I did the full installation of the database 11g R2 using the universal installer.So the client dlls and database dlls will be installed in the same location?(oracle home\bin) or will it be separate locations?how will i check this?Its just a matter of pointing the path settings to the client dlls for our app to run correctly, as no separate client installation will be needed then.
Another question related to this is,
we have got a few clients who use 10g database who import our data to their 10g databases.
We used to use 10g exp utility before.
Now, its documented that the 11g exp utility wont import to 10g database.
So if we have to use 11g (not installing 10g at all on our side), expdp instead , what should be the value of VERSION parameter to be used?COMPATIBLE or specific version?(Different customers are different versions of 10g yet single application running export)?
Thanks&Regards..
Edited by: Krithi on 22-Apr-2013 09:27 -
Error :TNS illegal address parameters
Hi all
error ORA-12533 : TNS illegal address parameters
I am getting an error while trying to access the oracle database.
this is what i have in my tnsnames.ora
# tnsnames.ora Network Configuration File: C:\OraHome_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
LISTENER_ORCL =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.101)(PORT = null))
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.101)(PORT = null))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
The port number is showing null....is there a problem with the port number...if so what shd it be??
Thanksthis is the output of the set cmd
oMicrosoft Windows [Version 6.0.6002]
Copyright (c) 2006 Microsoft Corporation. All rights reserved.
C:\Users\Jai Sai Ram>set
ALLUSERSPROFILE=C:\ProgramData
APPDATA=C:\Users\Jai Sai Ram\AppData\Roaming
CommonProgramFiles=C:\Program Files\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
COMPUTERNAME=JAISAIRAM-PC
ComSpec=C:\Windows\system32\cmd.exe
DFSTRACINGON=FALSE
FP_NO_HOST_CHECK=NO
HOMEDRIVE=C:
HOMEPATH=\Users\Jai Sai Ram
LOCALAPPDATA=C:\Users\Jai Sai Ram\AppData\Local
LOGONSERVER=\\JAISAIRAM-PC
NUMBER_OF_PROCESSORS=2
OS=Windows_NT
Path=C:\OraHome_1\bin;C:\Program Files (x86)\JavaFX\javafx-sdk1.2\bin;C:\Program
Files (x86)\JavaFX\javafx-sdk1.2\emulator\bin;C:\OracleBI\server\Bin;C:\OracleB
I\web\bin;C:\OracleBI\web\catalogmanager;C:\OracleBI\SQLAnywhere;C:\Program File
s (x86)\Java\jdk1.5.0_11\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\
Wbem;C:\Program Files (x86)\Common Files\Roxio Shared\DLLShared\;C:\Program File
s (x86)\Common Files\Roxio Shared\10.0\DLLShared\;C:\Program Files (x86)\Common
Files\DivX Shared\
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PERL5LIB=C:\OraHome_1\perl\5.8.3\lib\MSWin32-x86;C:\OraHome_1\perl\5.8.3\lib;C:\
OraHome_1\perl\5.8.3\lib\MSWin32-x86;C:\OraHome_1\perl\site\5.8.3;C:\OraHome_1\p
erl\site\5.8.3\lib;C:\OraHome_1\sysman\admin\scripts;C:\OraHome_1\perl\lib\5.8.3
\MSWin32-x86;C:\OraHome_1\perl\lib\5.8.3;C:\OraHome_1\perl\5.8.3\lib\MSWin32-x86
-multi-thread;C:\OraHome_1\perl\site\5.8.3;C:\OraHome_1\perl\site\5.8.3\lib;C:\O
raHome_1\sysman\admin\scripts
PROCESSOR_ARCHITECTURE=AMD64
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 23 Stepping 10, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=170a
ProgramData=C:\ProgramData
ProgramFiles=C:\Program Files
ProgramFiles(x86)=C:\Program Files (x86)
PROMPT=$P$G
PUBLIC=C:\Users\Public
RoxioCentral=C:\Program Files (x86)\Common Files\Roxio Shared\10.0\Roxio Central
36\
SADATADIR=C:\OracleBIData
SAROOTDIR=C:\OracleBI
SATEMPDIR=C:\OracleBIData\tmp
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\Windows
TEMP=C:\Users\JAISAI~1\AppData\Local\Temp
TMP=C:\Users\JAISAI~1\AppData\Local\Temp
TRACE_FORMAT_SEARCH_PATH=\\NTREL202.ntdev.corp.microsoft.com\34FB5F65-FFEB-4B61-
BF0E-A6A76C450FAA\TraceFormat
USERDOMAIN=JaiSaiRam-PC
USERNAME=Jai Sai Ram
USERPROFILE=C:\Users\Jai Sai Ram
windir=C:\Windows -
Windows 7, Oracle 11g Client Post-Installation Error
Hello all--
Background Info:
- I have installed Oracle 11g Client (32-bit) on my Windows 7 Professional (32-bit) workstation.
- The ORACLE_HOME directory (in my case C:\Oracle\Ora11g) is in the PATH environment variable.
- I have created TNS_ADMIN as an environment variable that points to a network folder that contains our tnsnames.ora and sqlnet.ora.
- I can tnsping our servers and sqlplus connects without issue.
- I am logged in as a regular network user (added into the local Administrators group on my machine).
The problem is that I cannot connect using a user or system DSN in the Microsoft ODBC Administrator, BUT, I can connect with a DSN when I am logged in with the local Administrator account. I have verified the DSNs are setup correctly. The error I get is the ORA-12154 error.
Here is the exact error as it appears:
Unable to connect
SQLState=08004
[Oracle][ODBC][Ora]ORA-12154: TNS:could not resolve the connect identifier specified
If I copy the tnsnames.ora file from the network to my machine and remove/redirect TNS_ADMIN to the %ORACLE_HOME%\NETWORK\ADMIN folder, it works with my user account.
Any thoughts?
Thanks!
MattHi All--
I figured out what the problem was and I wanted to share what our solution was.
Basically, when you open the Microsoft ODBC Administrator in Windows 7, it has to run with elevated privileges and loads the Administrator profile. Our tnsnames.ora and sqlnet.ora files are on a network share that we map to a drive letter for all users across our organization. The Administrator profile does not have this drive mapping. So I created the TNS_ADMIN environment variable with the full UNC path and I was able to test DSNs successfully.
Regards,
Matt -
ORA12533 TNS illegal ADDRESS parameters
Hi all
Im getting this error when i try to connect from my laptop to the databases on the server. (new RAC installation)
Enter user-name: sys/passwd@duarfnam as sysdba
ERROR:
ORA-12533: TNS:illegal ADDRESS parameters
The listener is running.
I was connecting bofore then i edited the tnsnames file on the server and my laptop then it giving the error above this are the
listener.ora entry on the server
================
LISTENER_TSAVO-WEST =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = tsavo-west-vip.mydomain)(PORT = 1521)(IP = FIRST))
(ADDRESS = (PROTOCOL = TCP)(HOST = public ip)(PORT = 1521)(IP = FIRST))
SID_LIST_LISTENER_TSAVO-WEST =
(SID_LIST =
(SID_DESC =
(SID_NAME = +ASM2)
(ORACLE_HOME = /oracle/ocr/oracleasm/product/asm)
==================================
then on the database home $ORACLE_HOME/network/admin
i have this entry on tnsnames.ora
NB# public ipnode1 and public ipnode1 i have changed this for me to post this
dware1 =
(DESCRIPTION =
(CONNECT_DATA =
(ADDRESS = (PROTOCOL = TCP)(HOST = public ipnode1)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = public ipnode2)(PORT = 1521))
(LOAD_BALANCE = yes)
(SERVER = DEDICATED)
(SERVICE_NAME = dware)
(INSTANCE_NAME = dware1)
dware2 =
(DESCRIPTION =
(CONNECT_DATA =
(ADDRESS = (PROTOCOL = TCP)(HOST = public ipnode1)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = public ipnode2)(PORT = 1521))
(LOAD_BALANCE = yes)
(SERVER = DEDICATED)
(SERVICE_NAME = dware)
(INSTANCE_NAME = dware2)
dware =
(DESCRIPTION =
(CONNECT_DATA =
(ADDRESS = (PROTOCOL = TCP)(HOST = public ipnode1)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = public ipnode2)(PORT = 1521))
(SERVER = DEDICATED)
(SERVICE_NAME = dware)
please assistDuplicate of ORA-12533 TNS illegal ADDRESS parameters
-
Oracle 11g client installation on Windows 7 Home Premium (64-bit)
I'm having trouble installing the Oracle 11g client installation on Windows 7 Home Premium (64-bit) machine.
Can Oracle 11g client even be installed on the Windows 7 Home Premium 64?
Thanks!Hi;
As mention here home OS not supported, so as mention here again if you make some googling you can find link&blog which is mention to create WM machine, install linux(you can use OEL linux which is free and can be download from e-delivery site) than you can make 11g installation on it
Regard
Helios -
Deinstall Oracle 11g client hangs on Windows 7 Enterprise 64-bit
Hi,
I am trying to dinstall Oracle 11g client on Windows 7 Enterprise 64-bit but the process hangs when it reaches the following:
Removing Windows and .NET products configuration START
It just hangs there for ever!
Checking the log file C:\Program Files\Oracle\Inventory\logs\winprod_cleanup.out and I can see the last thing in there is ""Deconfiguring ODP.NET Component...""
Any idea what could be the reason?
Thanks,
Firas
Edited by: user10442582 on Apr 13, 2011 1:13 PM
Edited by: user10442582 on Apr 13, 2011 1:15 PM
Edited by: user10442582 on Apr 13, 2011 1:28 PMI was able to resolve it...Apparently I was logged on as administrator when I invoked deinstall which caused it to hang when it came to the part where it was getting ready to deinstall the .NET components...I logged off and loged in as myself and invoked the deinstall and it completed successfully...
-
JDBC-ORACLE CONNECTIVITY ISSUE WITYH OCI8 DRIVER using oracle 11g client..
JDBC-ORACLE CONNECTIVITY ISSUE WITYH OCI8 DRIVER using oracle 11g client..
I am getting below error when i m trying to access oracle db using oracle 11g client. It works with earlier oracle client versions. how do i resolve this. is there any issue with version of ojdbc6.jar that i am using??? I cant use thin driver since its an old application for which i dont have source files.
Apr 6, 2013 1:00:59 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet jsp threw exception
java.lang.UnsatisfiedLinkError: no ocijdbc9 in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
at java.lang.Runtime.loadLibrary0(Runtime.java:822)
at java.lang.System.loadLibrary(System.java:992)
at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:262)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:346)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:468)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:314)
at java.sql.DriverManager.getConnection(DriverManager.java:525)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at PettyCash.SysDate.getSysSubSys(SysDate.java:232)
at org.apache.jsp.PettyCash.index_jsp._jspService(org.apache.jsp.PettyCash.index_jsp:186)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
Code is as follow for reference
import oracle.jdbc.driver.*;
DriverManager.registerDriver(new oracle.jdbc.OracleDriver());
conn = DriverManager.getConnection ("jdbc:oracle:oci8:@" + database,db_user, db_pass);
eNVIRONMENT VARIABLES set are as follows:
classpath
C:\Program Files\apache-tomcat-5.5.12\common\lib\servlet-api.jar;C:\Program Files\apache-tomcat-5.5.12\webapps\ROOT\WEB-INF\lib\classes12.jar;C:\Program Files\apache-tomcat-5.5.12\webapps\ROOT\WEB-INF\lib\ojdbc6.jar;
JAVA_HOME
C:\Program Files\Java\jdk1.5.0_04
PATH
C:\Program Files\Java\jdk1.5.0_04\bin
ORACLE_HOME
D:\Oracle11\product\11.2.0\client_1\BINApr 8, 2013 5:24:06 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet jsp threw exception
java.lang.NullPointerException
at org.apache.jsp.abc.index_jsp._jspService(org.apache.jsp.abc.index_jsp:280)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595) -
Oracle 11g client in Windows XP platform connect to 9i database
Hi,
Is there anyone know whether using oracle 11g client in Windows XP platform can connect to Oracle 9i database?
Urgent and Many thanks,
SamWelcome to the forums !
Pl see MOS Doc 207303.1 - Client / Server / Interoperability Support Between Different Oracle Versions
HTH
Srini -
Oracle 11g client installation on Solaris in non GUI mode
Hi,
I want to know if there is a way i can install Oracle 11g client on Solaris 10 machine in non GUI mode (ie. i want to do it from a command based terminal)
Thanks
AnupHi Anup
You have two ways to install it
1) Client installation without response file
Please Refer to Doc ID 885643.1
2) With Response file
Refer to the document available in Document library
Document Oracle® Database Client Installation Guide
11g Release 2 (11.2) for Solaris Operating System
Note: from 11gR2 onwards you can create a response file from GUI also and then use it later on for silent installation.
Hope this is helpful for You
Regards
Sudhir
Edited by: user13090769 on Sep 1, 2010 10:55 AM
Edited by: user13090769 on Sep 1, 2010 10:56 AM -
Oracle 11g Client Installation on Ubuntu
Hi, I tried to install the Oracle 11g Client on my Dell Inspiron laptop running ubuntu, the thing is that I did every step described in the Installation Guide but when I ran the ./runInstaller file, at the installation point the assistant raises an error and prompts for an action (Ignore, Retry, Cancel), and even if I choose ignore it keeps raising the same error, then I noticed in my terminal that the errors was because ubuntu couldn't find some commands used in the installation script, and that there was no installation steps for ubuntu in my guide, so I think the Client Installer I downloaded wasn't for ubuntu... could be the reason why I can't install the client? is there a script or some way to install the client on ubuntu?
Thanks!
Edited by: user10232758 on Oct 23, 2008 7:34 AMUnfortunately there's no (official) installation guide from Oracle,because it's not supported. If you want to continue go to the Linux Technology Center on OTN and follow the instructions for unsupported platforms (under Installation Guides):
http://www.oracle.com/technology/tech/linux/index.html
http://www.pythian.com/blogs/968/installing-oracle-11g-on-ubuntu-804-lts-hardy-heron
Werner -
Oracle 11g Client Certification Matrix
hi all,
Can someone point me to Oracle 11g client certification matrix? I was trying to install it on Windows Server 2008R2, but looks like this platform is unsupported. If I manually verify the options the installer thinks are unsafe, will I create an unsupported environment?
Please advise.
Thanks in advance,
AllaWhich version of 11g ? 11gR1 is not certified with Win2008
http://download.oracle.com/docs/cd/B28359_01/install.111/b32306/toc.htm#BABEHGHH
For 11gR2, pl see MOS Doc 867040.1 (Statement of Direction: Oracle Database 11g Release 2 – Microsoft Windows 7 and Windows Server 2008 R2)
HTH
Srini
Maybe you are looking for
-
I need help putting Classical Music CDs into iTunes
I need help - this question has lots of subquestions, sorry. I have found just a few discussions that deal with this but I am still confused. Forgive me if I get wordy and misuse technical terms - I am trying to learn this thing... I'm an iPod newbie
-
I need to publish to a local folder on my desk top and I am getting this error message. can't create the file "header.jpg." The disk may be damaged or full, or you may not have suuficient access priveleges. Please help... I need to copy to a disk...
-
CDATA - XSLT mappping - Encoding problem
Hi folks, I have a ABAP proxy to webservice scenario... I am sending out data from ECC to a external web service... The requirement here is the external web service input message has only two input fields and in the first field it accepts the transa
-
I'm having 'Trust' issues when trying to connect our iPads to our PC's.
Our teachers have been taking photos on our iPads. In the past they were able to connect via USB, click 'trust' and download them onto our PC's. Suddenly this is not happening anymore. The PC recognises the iPad, we click 'trust', you find the iPad o
-
ActiveX renaming worksheet name in Excel
Hi! I'm trying to use ActiveX to add a sheet to existing Excel file. There is an ActiveX Add function for sheets, but it doesn't give me a chance to name the new sheet. Does anyone know how to rename a sheet in Excel with ActiveX? or Add a new shee