Trying to run SQLPlus: Unable to initialize Oracle call interface (again)
Dear all
I am trying to install Oracle Instant Client on my powerpc-32bit running Linux. I just obtained these packages:
instantclient-basic-linuxppc32-10.2.0.2-20060327.zip
instantclient-sqlplus-linuxppc32-10.2.0.2-20060327.zip
According to the document <http://download.oracle.com/docs/cd/B19306_01/server.102/b14357/ape.htm> these two are enough for me to use.
I also followed the instruction on the document, by:
1. Extract everything to /usr/local/instantclient_10_2/
/usr/local:$ unzip instantclient-basic-linuxppc32-10.2.0.2-20060327.zip
/usr/local:$ unzip instantclient-sqlplus-linuxppc32-10.2.0.2-20060327.zip
2. export variables:
$ export LD_LIBRARY_PATH=/usr/local/instantclient_10_2/
$ export SQLPATH=/usr/local/instantclient_10_2/
$ export NLS_LANG=AMERICAN_AMERICA.UTF8
$ export PATH=/usr/local/instantclient_10_2:$PATH
($LD_LIBRARY_PATH and $SQLPATH was empty before I do the above.)
(I didn't set $ORACLE_HOME because the document didn't require me to do so when I install sqlplus/oracle-client-basic from zip files. However I do tried to set it, doesn't help either.)
3. run:
$ sqlplus jxpado/[email protected]/XEXDB
SP2-1503: Unable to initialize Oracle call interface
SP2-0152: ORACLE may not be functioning properly
I looked up causes of SP2-1503:
Check that the Oracle environment or registry entries are consistent and correct.Yes. Environment is correct (only 3 variables);
If using the SQL*Plus Instant Client make sure the SQL*Plus
and Oracle libraries are from the same release. Yes, as you can tell from package zip file names.
Make sure you have read access to the libraries.True. I am very sure I have read access to all files there.
So what can I do here? I tried to follow instructions as clear / complete as possible.
I am sure sqlplus didn't even try to connect to the server at gtz.ods.org because I put a network traffic listener there to monitor access to the server.
Message was edited by:
user609663
Unfortunately there's a bunch of possible reasons for this error combination. I recommend you search metalink for SP2-1503 to get a list.
Werner
Similar Messages
-
[sqlplus] - SP2-1503: Unable to initialize Oracle call interface
Hello,
I've just reinstall an new Oracle DB 10.2.0.1.0 and when i type SQLPLUS i've this error:
$sqlplus /nolog
SP2-1503: Unable to initialize Oracle call interface
SP2-0152: ORACLE may not be functioning properly
what's hapening ???
thanks for your help.found !!
it's a stupid and strange error.... because i re-use my old settings and it's worked.
now i remove the last '/' on $ORACLE_HOME path... and all works fine.
thanks... -
SP2-1503: Unable to initialize Oracle call interface
Hello All,
I have installed Oracle 10g R1 on my new HP laptop with OS as Windows 7 and the installation was successful.
But, unfortunately while trying to connect to the DB with the sqlplus /nolog command, the below error is re- occuring
SP2-1503: Unable to initialize Oracle call interface
SP2-0152: ORACLE may not be functioning properly.
Please, let me know if this is an oracle bug and suggest me if i need to install an upgrade patch.
Regards,
OracleHi.. from oracle metalink
Oracle Database releases "9iR2 (9.2.0.x), 10gR1 (10.1.0.x), 10gR2 (10.2.0.x) and 11gR1 (11.1.0.x)" are not Certified/Supported to install/run on Microsoft Windows 7.
"Microsoft Windows 7" certification will begin with "Oracle Database 11gR2 (11.2.0.x)". That means, Oracle Database 11gR2 will be the first Oracle Database product certified/supported to install/run on "Microsoft Windows 7".
*T -
P2-1503: Unable to initialize Oracle call interface
version 10.2 on windows, any idea?
E:\>sqlplus /nolog
SP2-1503: Unable to initialize Oracle call interface
SP2-0152: ORACLE may not be functioning properlyE:\>set
ALLUSERSPROFILE=C:\Documents and Settings\All Users
APPDATA=C:\Documents and Settings\agulzar\Application Data
ASSISTANTS_COMMON_CLASSPATH=E:\oracle\product\10.2.0\assistants\jlib\assistantsC
ommon.jar
BALISHARE_CLASSPATH=E:\oracle\product\10.2.0\jlib\share.jar
CANDLE_HOME=C:\IBM\ITM
CLASSPATH=E:\oracle\product\10.2.0\jdk\jre\lib\rt.jar;E:\oracle\product\10.2.0\j
dk\jre\lib\i18n.jar;E:\oracle\product\10.2.0\assistants\dbca\jlib\dbca.jar;E:\or
acle\product\10.2.0\assistants\jlib\assistantsCommon.jar;E:\oracle\product\10.2.
0\jlib\ewt3.jar;E:\oracle\product\10.2.0\jlib\ewtcompat-3_3_15.jar;E:\oracle\pro
duct\10.2.0\jlib\share.jar;E:\oracle\product\10.2.0\jlib\swingall-1_1_1.jar;E:\o
racle\product\10.2.0\jlib\oracle_ice5.jar;E:\oracle\product\10.2.0\jlib\help4.ja
r;E:\oracle\product\10.2.0\jlib\jewt4.jar;E:\oracle\product\10.2.0\jlib\kodiak.j
ar;E:\oracle\product\10.2.0\lib\xmlparserv2.jar;E:\oracle\product\10.2.0\jlib\or
ai18n.jar;E:\oracle\product\10.2.0\jlib\orai18n-mapping.jar;E:\oracle\product\10
.2.0\jlib\orai18n-utility.jar;E:\oracle\product\10.2.0\jlib\orai18n-collation.ja
r;E:\oracle\product\10.2.0\jlib\netcfg.jar;E:\oracle\product\10.2.0\jlib\ojmisc.
jar;E:\oracle\product\10.2.0\jlib\oraclepki103.jar;E:\oracle\product\10.2.0\jlib
\ldapjclnt10.jar;E:\oracle\product\10.2.0\jlib\opm.jar;E:\oracle\product\10.2.0\
jdbc\lib\classes12.zip;E:\oracle\product\10.2.0\jlib\srvm.jar;E:\oracle\product\
10.2.0\jlib\srvmhas.jar;E:\oracle\product\10.2.0\jlib\srvmasm.jar;E:\oracle\prod
uct\10.2.0\classes;E:\oracle\product\10.2.0\jlib\oemlt-10_1_0.jar;E:\oracle\prod
uct\10.2.0\jlib\emca.jar;E:\oracle\product\10.2.0\sysman\jlib\emCORE.jar;E:\orac
le\product\10.2.0\oc4j\j2ee\home\oc4j.jar;E:\oracle\product\10.2.0\oc4j\j2ee\hom
e\db_oc4j_deploy.jar;E:\oracle\product\10.2.0\jlib\emConfigInstall.jar;E:\oracle
\product\10.2.0\oui\jlib\OraInstaller.jar
CLIENTNAME=WMSTUTCTX02
ClusterLog=C:\WINDOWS\Cluster\cluster.log
CommonProgramFiles=C:\Program Files\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
COMPUTERNAME=WMSTUTGIS02
ComSpec=C:\WINDOWS\system32\cmd.exe
DBCA_CLASSPATH=E:\oracle\product\10.2.0\assistants\dbca\jlib\dbca.jar
EM_CLASSPATH=E:\oracle\product\10.2.0\classes;E:\oracle\product\10.2.0\jlib\oeml
t-10_1_0.jar;E:\oracle\product\10.2.0\jlib\emca.jar;E:\oracle\product\10.2.0\sys
man\jlib\emCORE.jar;E:\oracle\product\10.2.0\oc4j\j2ee\home\oc4j.jar;E:\oracle\p
roduct\10.2.0\oc4j\j2ee\home\db_oc4j_deploy.jar;E:\oracle\product\10.2.0\jlib\em
ConfigInstall.jar
EWT_CLASSPATH=E:\oracle\product\10.2.0\jlib\ewt3.jar;E:\oracle\product\10.2.0\jl
ib\ewtcompat-3_3_15.jar
FP_NO_HOST_CHECK=NO
GDK_CLASSPATH=E:\oracle\product\10.2.0\jlib\orai18n.jar;E:\oracle\product\10.2.0
\jlib\orai18n-mapping.jar;E:\oracle\product\10.2.0\jlib\orai18n-utility.jar;E:\o
racle\product\10.2.0\jlib\orai18n-collation.jar
HELP_CLASSPATH=E:\oracle\product\10.2.0\jlib\help4.jar;E:\oracle\product\10.2.0\
jlib\jewt4.jar
HOMEDRIVE=W:
HOMEPATH=\
HOMESHARE=\\wmstutfpcb\itdata\users\agulzar
I18N_CLASSPATH=E:\oracle\product\10.2.0\jdk\jre\lib\i18n.jar
ICE_BROWSER_CLASSPATH=E:\oracle\product\10.2.0\jlib\oracle_ice5.jar
INSTALLER_CLASSPATH=E:\oracle\product\10.2.0\oui\jlib\OraInstaller.jar
JAVA_HOME=C:\java\java5_01\jdk
JDBC_CLASSPATH=E:\oracle\product\10.2.0\jdbc\lib\classes12.zip
JRE_CLASSPATH=E:\oracle\product\10.2.0\jdk\jre\lib\rt.jar
KODIAK_CLASSPATH=E:\oracle\product\10.2.0\jlib\kodiak.jar
KUIFILEPATH=C:\IBM\ITM\bin\xml
LIBPATH=C:\IBM\ITM\bin\dll;C:\IBM\ITM\TMAITM6;C:\IBM\ITM\InstallITM
LOGONSERVER=\\WMSTUTDC01
NETCFG_CLASSPATH=E:\oracle\product\10.2.0\jlib\netcfg.jar;E:\oracle\product\10.2
.0\jlib\ojmisc.jar;E:\oracle\product\10.2.0\jlib\oraclepki103.jar;E:\oracle\prod
uct\10.2.0\jlib\ldapjclnt10.jar;E:\oracle\product\10.2.0\jlib\opm.jar
NLSLANG=AMERICAN_AMERICA.UTF8
NLSPATH=C:\Program Files (x86)\IBM\SCM\msg\%L\%N.cat;C:\Program Files (x86)\IBM\
SCM\msg\C\%N.cat
NUMBER_OF_PROCESSORS=4
OH=E:\oracle\product\10.2.0
ORACLE_HOME=E:\oracle\product\10.2.0
ORACLE_SID=ARCSERVP
OS=Windows_NT
Path=E:\oracle\product\10.2.0\BIN
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PERL5LIB=E:\oracle\product\10.2.0\perl\5.8.3\lib\MSWin32-x86;E:\oracle\product\1
0.2.0\perl\5.8.3\lib;E:\oracle\product\10.2.0\perl\5.8.3\lib\MSWin32-x86;E:\orac
le\product\10.2.0\perl\site\5.8.3;E:\oracle\product\10.2.0\perl\site\5.8.3\lib;E
:\oracle\product\10.2.0\sysman\admin\scripts;
PROCESSOR_ARCHITECTURE=AMD64
PROCESSOR_IDENTIFIER=EM64T Family 6 Model 15 Stepping 6, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=0f06
ProgramFiles=C:\Program Files
ProgramFiles(x86)=C:\Program Files (x86)
PROMPT=$P$G
SCM_CLIENT_INST_DIR=C:\Program Files (x86)\IBM\SCM\client
SCM_HOME=C:\Program Files (x86)\IBM\SCM
SDEHOME=E:\ArcGIS\ArcSDE\ora10gexe\
SESSIONNAME=RDP-Tcp#14
SRVM_CLASSPATH=E:\oracle\product\10.2.0\jlib\srvm.jar;E:\oracle\product\10.2.0\j
lib\srvmhas.jar;E:\oracle\product\10.2.0\jlib\srvmasm.jar
SWING_CLASSPATH=E:\oracle\product\10.2.0\jlib\swingall-1_1_1.jar
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\DOCUME~1\agulzar\LOCALS~1\Temp\3
TISDIR=C:\Program Files (x86)\IBM\SCM\codeset
TMP=C:\DOCUME~1\agulzar\LOCALS~1\Temp\3
TNS_ADMIN=E:\oracle\product\10.2.0\NETWORK\ADMIN
TSM=C:\Program Files\Tivoli\TSM\baclient\dsmc.exe
USERDNSDOMAIN=WILLIAMS.COM
USERDOMAIN=WILLIAMS
USERNAME=agulzar
USERPROFILE=C:\Documents and Settings\agulzar
windir=C:\WINDOWS
XMLPARSER_CLASSPATH=E:\oracle\product\10.2.0\lib\xmlparserv2.jar -
Hello,
We are unable to connect to sqlplus on our Linux server.
Errors:
SP2-1503: Unable to initialize Oracle call interface
SP2-0152: ORACLE may not be functioning properly
Thanks..user8969 wrote:
Hello,
We are unable to connect to sqlplus on our Linux server.
Errors:
SP2-1503: Unable to initialize Oracle call interface
SP2-0152: ORACLE may not be functioning properly
Thanks..I've not seen this, but looks like you don't have all your environment correctly set. PATH, ORALCE_HOME, LD_LIBRARY_PATH, etc. -
Need suggestion for a topic in Oracle Call Interface
Dear All,
I am kiran working as a TSE for EAI project.
I need a small clarification with respect to Oracle Call Interface.
My problem is as follows:
"I am doing a delete transaction in my application and not committing it, but when my program is killed externally, I observed that the transactions are being committed.
I thought it is a very strange behavior, as an aborted transaction should be rolled back.
But my PL told me that it the behavior OCI and got nothing to do with our application."
Now My question is, whether can we stop/(switch off) that auto commit option for OCI( Oracle Call Interface.
Awaiting for an earlier response.
Any kind of help is highly appreciated.
Thanks in advance,
KiranHere is some information from Oracle's documentation (Oracle Call Interface Programmer's Guide.
Commit or Rollback
An application commits changes to the database by calling OCITransCommit(). This call uses a service context as one of its parameters. The transaction is associated with the service context whose changes are committed. This transaction can be explicitly created by the application or implicitly created when the application modifies the database.
Note:
Using the OCI_COMMIT_ON_SUCCESS mode of the OCIExecute() call, the application can selectively commit transactions at the end of each statement execution, saving an extra round trip.
To roll back a transaction, use the OCITransRollback() call.
If an application disconnects from Oracle in some way other than a normal logoff, such as losing a network connection, and OCITransCommit() has not been called, all active transactions are rolled back automatically. -
I am getting stack overflow error. While trying to bring expense creation screen on windows 8.
I trying couple of settings in eclipse.ini file to increase the size but nothing helped. Can someone please advice?
Below is eclipse.ini file
-showsplash
fuego.eclipse.studio
--launcher.XXMaxPermSize
--256m
-vmargs
-Xms600m
-Xmx600m
-Xss500m
-Dfuego.fstudio=true
-DprodMode=preProduction
-Dbea.home=C:\OraBPMStudioHome\..
-Djava.endorsed.dirs=""
-Dsun.lang.ClassLoader.allowArraySyntax=true
-Dfuego.studio.engine.java.options=-Dsun.lang.ClassLoader.allowArraySyntax=true
-XX:PermSize=512M
-XX:MaxPermSize=1024M
-Xbootclasspath/a:C:\OraBPMStudioHome\eclipse\jre\lib\ext\tools.jarIt looks like you are trying to run OSX on a Windows PC with VMware Workstation...
This is NOT supported by VMware and doing so will break Apples EULA, you need Apple hardware to run OSX.
No one here will be able to help you and you should investigate other legal and supported alternatives.
// Linjo -
Hello There
i have created Project with Visual Studio 2003 and when i try to run my project i faced this problem .
i was search about it and read all solution that related to this problem but no luck
so please any help will be appreciated
Mohammad Khader IT-Technical SupportWell, you would have to go to the Web.config and enable debugging.
http://ppe.blogs.msdn.com/b/zainnab/archive/2010/12/14/enable-debugging-in-web-config-vstipproj0026.aspx
Then you have to know how to Attach to the ASP.NET Worker Process w3wp.exe. All ASP.NET solutions run on the ASP.NET Worker Process thread on IIS, which means that the ASP.NET program must be already running before you can Attach the Debugger to ASP.NET
Worker Process. You set a breakpoint I the codebehind file, you attach the debugger to w3wp.exe and you hit the Run with Debugger button.
http://www.codeproject.com/Articles/37182/Debug-your-ASP-NET-Application-while-Hosted-on-IIS -
Trying to run a bat file from oracle
I have followed these steps, see bottom for results, everything is valid but the bat file does not run???? PLease need your help. Doug
CREATE OR REPLACE AND COMPILE JAVA SOURCE NAMED "getbatx" AS
class getbatx //class pdfopen
public static void execmd(String c) //main function
try
System.out.println("Executing:" + c);
Runtime.getRuntime().exec("C:\\WINDOWS\\system32
cmd.exe /c "+c);
System.out.println("Executing:" + c + " ...done");
} catch (Exception e) //catch any exceptions here
System.out.println("Error" + e ); //print the error
CREATE OR REPLACE PROCEDURE host_command2 (p_command IN VARCHAR2)
AS LANGUAGE JAVA
NAME 'getbatx.execmd (java.lang.String)';
/Then as sysdba I put in in the following.
exec dbms_java.grant_permission( 'CAPRS', 'SYS:java.io.FilePermission', '<<ALL FILES>>', 'execute' );
EXEC Dbms_Java.Grant_Permission('CAPRS', 'SYS:java.lang.RuntimePermission', 'writeFileDescriptor', '');
EXEC Dbms_Java.Grant_Permission('CAPRS', 'SYS:java.lang.RuntimePermission', 'readFileDescriptor', '');Then I make the call.
SET SERVEROUTPUT ON SIZE 1000000
CALL DBMS_JAVA.SET_OUTPUT(1000000);
BEGIN
host_command2 (p_command => 'c:\mybook.bat');
END;
/***** I run this, it completes but does not run the bat file and there is no error message
SQL> BEGIN
2 host_command2 (p_command => 'mybook.bat');
3 END;
4 /
Executing:mybook.bat
Executing:mybook.bat ...done
PL/SQL procedure successfully completed.Yes it should open a dos box, but you forgot to add the .bat file witch you like to run: String[] command = {"cmd", "/c", "start", "c:/Batch files/Cardiobackup/cardiobackup_v1.4"}
-
Oracle Call Interface Code (OCI)
Does anyone know a good source of example code or tutorials for OCI (Oracle 8i)?
(Have already looked at the demo code and the docs, which aren't overly helpful.)
nullquit wasting your time with the oci
& check this out
http://home.sprynet.com/~skuchin/home.htm
c++ wrapper for the oci thats really easy
to use with excellent examples
null -
Hi,
I didn't find the OCI lib on the Oracle 8.0.5/Linux cdrom. does
anybody know if Oracle has planed to port it on this plateform?
Thanks
Raphal
nullIf the original SQL statement did not require a bind it
should not require a bind when moving to OCI 9i
(this is a property of the statement and not
of the OCI version).
There should be no issues with reusing a statement
handle after allocation. I think that they are reusable
as long as you do StmtPrepare and any necessary
define/bind for any new statements, i.e.:
OCIHandleAlloc (stmthp, ... OCI_HTYPE_STMT);
OCIStmtPrepare (stmthp, sqlstmt1,...);
/* optional bind/defines */
OCIStmtExec (stmthp, ...);
OCIStmtPrepare (stmthp, sqlstmt2,...);
/* optional bind/defines */
OCIStmtExec (stmthp, ...);
As for the kghalo error, you may want to confirm that
the stmtp is being allocated correctly, with
OCIHandleAlloc. If this doesn't fix your problem,
it might be helpful to post a code snippet here. -
-bash: sqlplus: command not found / Oracle file permissons
Hi,
I am running Oracle EE 10.2.0.1.0, on a RHEL 4-U2 server.
When I try to use sqlplus from a non dba account I get the following error:
[pemarten@orclserv ~]$ sqlplus pemarten/mypassword
-bash: sqlplus: command not foundAll my environment variables are set and $ORACLE_HOME/bin has been added to the PATH.
The problem seems to be that the file permissions of the oracle flexible architecture are wrong:
[oracle@orclserv 10.2.0]$ pwd
/u01/app/oracle/product/10.2.0
[oracle@orclserv 10.2.0]$ ls -l
totaal 8
drwx--x--- 56 oracle oinstall 4096 dec 12 14:15 db_1
drwxr-x--- 46 oracle oinstall 4096 dec 12 14:14 htmldbThe permission of the db_1 directory is to strict (should be at least chmod 711 I think)
On my other test server (DB version 10.1) the permissions are:
[oracle@locserv 10.1.0]$ pwd
/u01/app/oracle/product/10.1.0
[oracle@locserv 10.1.0]$ ls -l
total 4
drwxr-xr-x 53 oracle oinstall 4096 Oct 12 02:54 db1So I have tried to chmod the directories to at least 711 up to the sqlplus binary, but when I try to execute sqlplus after that I get the following error:
[pemarten@orclserv ~]$ sqlplus pemarten/mypassword
sqlplus: error while loading shared libraries: libsqlplus.so: cannot open shared object file: No such file or directorySo this doesn't seem to be an option. My biggest concern is why are the file permissons wrong after installation?
Before installing the oracle software umask 022 was added to the .bash_profile of the oracle user (used to install the software)
Has anyone experienced similar problems?
Does anyone knows how to solve this?
Thank You.
PieterIvan,
Thanks for your reply.
I have changed the file permissions of +- 5 files in the lib directory, every time that I changed the permission of 1 file, I got an error for another one.
Now I am getting the following error
[pemarten@orclserv ~]$ sqlplus pemarten/mypassword
SP2-1503: Unable to initialize Oracle call interface
SP2-0152: ORACLE may not be functioning properlyAccording to oerr there are still lib files with wrong permissions...
What I would like to know is :
1) Are the file permissions changed in 10.2 (only DBA's can use sqlplus on the database server) ? If not I probably did something wrong and I will do a reinstall
2) Can anyone who has version 10.2 installed post an ls -l of his $ORACLE_HOME directory please, so I can compare the file permissions ?
Thank You,
Pieter -
Hello,
I'm trying to run a simple OpenScript script in Eclipse that creates a record (a Supplier in this case) in Oracle E-Business Suite. So I copied the the script file from OpenScript and created it as a Class in Eclipse. Then I created a main class to call the methods within the script class but no matter what method I call (initialize, run or finalize) I'm getting the java.lang.NullPointerException message. The error doesn't seem to be related with any specific line in the script but with the way that I'm calling it.
Should I call the OpenScript class from my main class in a different way? (see my examples below)
BTW, all external .jar files coming with OATS have been added to my project in Eclipse.
1) Here's the main class I created to call the OpenScript method (Eclipse auto-corrected my main class adding a Try and Catch around the method call):
public class Test {
public static void main(String[] args) {
nvscript nvs = new nvscript();
try {
nvs.initialize();
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
2) Here's the script from OpenScript (the actual script has more steps but I'm just using the first one for a proof of concept):
import oracle.oats.scripting.modules.basic.api.*;
import oracle.oats.scripting.modules.browser.api.*;
import oracle.oats.scripting.modules.functionalTest.api.*;
import oracle.oats.scripting.modules.utilities.api.*;
import oracle.oats.scripting.modules.utilities.api.sql.*;
import oracle.oats.scripting.modules.utilities.api.xml.*;
import oracle.oats.scripting.modules.utilities.api.file.*;
import oracle.oats.scripting.modules.webdom.api.*;
import oracle.oats.scripting.modules.formsFT.api.*;
import oracle.oats.scripting.modules.applet.api.*;
public class nvscript extends IteratingVUserScript {
@ScriptService oracle.oats.scripting.modules.utilities.api.UtilitiesService utilities;
@ScriptService oracle.oats.scripting.modules.browser.api.BrowserService browser;
@ScriptService oracle.oats.scripting.modules.functionalTest.api.FunctionalTestService ft;
@ScriptService oracle.oats.scripting.modules.webdom.api.WebDomService web;
@ScriptService oracle.oats.scripting.modules.applet.api.AppletService applet;
@ScriptService oracle.oats.scripting.modules.formsFT.api.FormsService forms;
public void initialize() throws Exception {
this.getSettings().set("formsft.useformsonly",true);
browser.launch();
public void run() throws Exception {
beginStep(
"[1] E-Business Suite Home Page Redirect (/ebs12cloud.winshuttle.com:8000/)",
0);
web.window(2, "/web:window[@index='0' or @title='about:blank']")
.navigate("http://ebs12.xxxxxxx.com:8000/");
web.window(4, "/web:window[@index='0' or @title='Login']")
.waitForPage(null);
think(4.969);
web.textBox(
7,
"/web:window[@index='0' or @title='Login']/web:document[@index='0']/web:form[@id='DefaultFormName' or @name='DefaultFormName' or @index='0']/web:input_text[@id='usernameField' or @name='usernameField' or @index='0']")
.setText("winshuttle_user");
think(2.0);
web.textBox(
8,
"/web:window[@index='0' or @title='Login']/web:document[@index='0']/web:form[@id='DefaultFormName' or @name='DefaultFormName' or @index='0']/web:input_password[@id='passwordField' or @name='passwordField' or @index='0']")
.click();
think(1.109);
web.textBox(
9,
"/web:window[@index='0' or @title='Login']/web:document[@index='0']/web:form[@id='DefaultFormName' or @name='DefaultFormName' or @index='0']/web:input_password[@id='passwordField' or @name='passwordField' or @index='0']")
.setPassword(deobfuscate("kjhkjhkj=="));
think(1.516);
web.button(
10,
"/web:window[@index='0' or @title='Login']/web:document[@index='0']/web:form[@id='DefaultFormName' or @name='DefaultFormName' or @index='0']/web:button[@id='SubmitButton' or @value='Login' or @index='0']")
.click();
endStep();
public void finish() throws Exception {
3) Here's the error messages I'm getting based on the method I call from my main class:
3.a) when calling Initialize():
java.lang.NullPointerException
at oracle.oats.scripting.modules.basic.api.IteratingVUserScript.getSettings(IteratingVUserScript.java:723)
at nvscript.initialize(nvscript.java:22)
at Test.main(Test.java:9)
3 b) when calling Run():
java.lang.NullPointerException
at oracle.oats.scripting.modules.basic.api.IteratingVUserScript.beginStep(IteratingVUserScript.java:260)
at nvscript.run(nvscript.java:30)
at Test.main(Test.java:9)
Any help and/or constructive comment will be appreciated it.
Thanks.
Federico.UPDATE
Compiling from command line I found out that the class definition for oracle.oats.scripting.modules.basic.api.IteratingVUserScript is missing. Do you know what .jar file contains this class?
Thanks.
Fede. -
Oracle ODBC - Internal Error - unable to initialize NLS during driver load
I'm having some trouble with my ODBC connections which I hope someone can please help me with!
About 6 weeks ago all was working as normal.
As far as I know there have been no updates to the ORacle DB, the Windows XP operating system or the ODBC Drivers.
Today when I opened access and visual case 2 to connect to Oracle I was at first greeted with a:
unable to connect SQLState=IM004 SQL_HANDLE_ENV
error. ODBC also kept crashing.
I restarted the computer and was confronted with a different error:
odbc SQLSTate 08004 ORA 12154 TNS could not resolve the connect identifier specified
I was able to fix this error by setting the environment variable TNS_ADMIN in windows xp environment variables. I'm extremely confused about how this happened though as it was working and I don't think anything has changed.
I was then able to connect to the database via Microsoft Access but when I opened Visual Case 2 and tried to make an update, I was confronted with the following error:
Oracle ODBC Driver - internal error - unable to initialize NLS during driver load
I looked in the registry at:
HKEY_LOCAL_MACHINE\SOFTWARE\Oracle\KEY_OraClient10g_home1
HKEY_LOCAL_MACHINE\SOFTWARE\Oracle\KEY_OraClient10g_home2
HKEY_LOCAL_MACHINE\SOFTWARE\Oracle\KEY_OraDb10g_home1
and NLS_LANG was set to "AMERICAN_AMERICA.WE8MSWIN1252" in all 3 places.
(Though KEY_OraClient10g_home2 only had 4 entries as opposed to KEY_OraClient10g_home1's 13 entries)...
Since I made those changes I can no longer connect through Access.
I just receive a ODBC - connection to 'xxx' failed
Advice greatly appreciated!!!!
Edited by: user11150264 on Aug 25, 2009 10:21 PMActually it sort of does...
I switched the ODBC connection to use instant client and now it's all working again.
The biggest mystery is what changed to make it suddenly stop working the old way... -
Exception caught while trying to initialize Oracle RouteServer
Hi,
While starting my application server, i am facing this error.
05/09/02 14:32:53 Exception caught while trying to initialize Oracle RouteServer
05/09/02 14:32:53 oracle.spatial.router.engine.RoutingEngineException: [REE-0126: Node reference for start node 42788087 of
edge -23202655 is missing in partition 0]
05/09/02 14:32:53 at oracle.spatial.router.engine.Partition.fillNonBoundaryEdgesWithNodeReferences(Partition.java:183)
05/09/02 14:32:53 at oracle.spatial.router.engine.Partition.readPartition(Partition.java:110)
05/09/02 14:32:53 at oracle.spatial.router.engine.PartitionCache.loadPartitionFromDatabase(PartitionCache.java:276)
05/09/02 14:32:53 at oracle.spatial.router.engine.PartitionCache.obtainPartitionReference(PartitionCache.java:234)
05/09/02 14:32:53 at oracle.spatial.router.engine.Network.<init>(Network.java:62)
05/09/02 14:32:53 at oracle.spatial.router.server.RouteServerImplementation.<init>(RouteServerImplementation.java:128)
05/09/02 14:32:53 at oracle.spatial.router.server.RouteServerServlet.init(RouteServerServlet.java:191)
05/09/02 14:32:53 at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2094)
05/09/02 14:32:53 at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4523)
05/09/02 14:32:53 at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4617)
05/09/02 14:32:53 at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:765)
05/09/02 14:32:53 at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:497)
05/09/02 14:32:53 at com.evermind.server.Application.getHttpApplication(Application.java:886)
05/09/02 14:32:53 at com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.java:688)
05/09/02 14:32:53 at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:570)
05/09/02 14:32:53 at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:263)
05/09/02 14:32:53 at com.evermind.server.http.HttpServer.setSites(HttpServer.java:259)
05/09/02 14:32:53 at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:160)
05/09/02 14:32:53 at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2325)
05/09/02 14:32:53 at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1498)
05/09/02 14:32:53 at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:93)
05/09/02 14:32:53 at java.lang.Thread.run(Thread.java:534)
Can you suggest something on this..!
Thanks and Regards
Ashish DhawanHi,
Please refer to the answers for your questions:
Q) I assume you imported this data, what tables did you import? Was it non-Router schema data that was massaged into the Routers schema? Was is it limited data from another Router schema (NODE, EDGE and SIGN_POST tables)? How was the data exported/imported? Could you run the following query and post the result?
Ans:) The data had been downloaded from the
http://www.adci.com/products/navteq/index.html.
This was a sample oracle 10g data of "pinellas-county"
Import statments used were:
1. Create User that will "house" the Spatial data. Should be the same name as the user being exported.
CREATE USER ADCI PROFILE "DEFAULT"
IDENTIFIED BY "ADCI" DEFAULT TABLESPACE "USERS"
TEMPORARY TABLESPACE "TEMP"
ACCOUNT UNLOCK;
GRANT "CONNECT" TO "ADCI";
GRANT imp_full_database, create table, create sequence TO ADCI;
2. Create directory for import (The directory will be the location of the dump file)
CREATE DIRECTORY adci_dump_dir AS '<location of dump file>';
GRANT READ, WRITE ON DIRECTORY adci_dump_dir TO adci;
ALTER USER adci QUOTA UNLIMITED ON USERS;
3. Import Tablespace by running the following command. (Modify the datafile location)
** Note - You may need to convert the endian format before importing the datafile.
(The source datafile is from platform id #10 - See below)
impdp adci@<database alias> DIRECTORY=adci_dump_dir DUMPFILE=tts.dmp TRANSPORT_DATAFILES='<directory location>\adci_data.ora'
** Ignore ORA-31684 Errors on MDSYS objects
Oracle10g Release 1 note:
Oracle 10g Release 1 may report several errors when importing the transportable tables. These errors can be safely ignored. There are two types of errors:
ORA-31684: Object type TYPE:"MDSYS"."XXXXX" already exists
ORA-39083: Object type TYPE failed to create with error:
ORA-02311: cannot alter with COMPILE option a valid type with type or table dependents
Failing sql is:
ALTER TYPE "MDSYS"."XXXXX" COMPILE SPECIFICATION
and:
ORA-31684: Object type TYPE_BODY:"MDSYS"."SDO_GEOMETRY" already exists
At the end of the import, the message will be:
Job "MAPPER"."SYS_IMPORT_TRANSPORTABLE_01" completed with 11 error(s)
4. Alter tablespace to be in read write mode.
ALTER TABLESPACE ADCI_DATA READ WRITE;
5. Grant unlimited quota on transportable tablespace to user created in step 1
ALTER USER ADCI QUOTA UNLIMITED ON ADCI_DATA;
6. Initialize Spatial Indexes as owner of all spatial indexes
EXEC SDO_UTIL.INITIALIZE_INDEXES_FOR_TTS
7. Run the following script to build indexes, add metadata
CONNECT ADCI@<ALIAS NAME>
INSERT INTO USER_SDO_MAPS SELECT * FROM SDO_MAPS;
INSERT INTO USER_SDO_THEMES SELECT * FROM SDO_THEMES;
INSERT INTO USER_SDO_STYLES SELECT * FROM SDO_STYLES;
COMMIT;
8. Collect Schema statistics
Run following command while connected as a priviledged user.
exec dbms_stats.gather_schema_stats(ownname=>'ADCI',cascade=>TRUE,estimate_percent=>15);
Q) select index_name from USER_INDEXES where table_name='EDGE';
Ans:)
INDEX_NAME
EDGE_NAME_IDX
START_NODE_ID_IDX
END_NODE_ID_IDX
EDGE_ID_IDX
EDGE_SIN
SYS_IL0000095839C00014$$
SYS_IL0000095839C00015$$
Step>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>Drop tables:
drop table EDGE_PART; Table Dropped
drop table NODE_PART; Table Dropped
drop table PARTITION; Table Dropped
drop table NEW_PARTITION; Table doesnot exist
Step>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> If the delete works, great. If the delete doesn't work drop all of the Router shema tables, reimport the data and try the above delete command again.
Processing object type TRANSPORTABLE_EXPORT/PLUGTS_BLK
Processing object type TRANSPORTABLE_EXPORT/TYPE/TYPE_SPEC
ORA-31684: Object type TYPE:"MDSYS"."NUM_ARRAY" already exists
ORA-31684: Object type TYPE:"MDSYS"."SDO_ORDINATE_ARRAY" already exists
ORA-39083: Object type TYPE failed to create with error:
ORA-02311: cannot alter with COMPILE option a valid type with type or table dependents
Failing sql is:
ALTER TYPE "MDSYS"."SDO_ORDINATE_ARRAY" COMPILE SPECIFICATION PLSQL_OPTIMIZE_LEVEL= 2 PLSQ
L_CODE_TYPE= INTERPRETED PLSQL_DEBUG= FALSE
ORA-31684: Object type TYPE:"MDSYS"."SDO_ELEM_INFO_ARRAY" already exists
ORA-39083: Object type TYPE failed to create with error:
ORA-02311: cannot alter with COMPILE option a valid type with type or table dependents
Failing sql is:
ALTER TYPE "MDSYS"."SDO_ELEM_INFO_ARRAY" COMPILE SPECIFICATION PLSQL_OPTIMIZE_LEVEL= 2 PLS
QL_CODE_TYPE= INTERPRETED PLSQL_DEBUG= FALSE
ORA-31684: Object type TYPE:"MDSYS"."SDO_POINT_TYPE" already exists
ORA-39083: Object type TYPE failed to create with error:
ORA-02311: cannot alter with COMPILE option a valid type with type or table dependents
Failing sql is:
ALTER TYPE "MDSYS"."SDO_POINT_TYPE" COMPILE SPECIFICATION PLSQL_OPTIMIZE_LEVEL= 2 PLSQL_CO
DE_TYPE= INTERPRETED PLSQL_DEBUG= FALSE
ORA-31684: Object type TYPE:"MDSYS"."SDO_KEYWORDARRAY" already exists
ORA-31684: Object type TYPE:"MDSYS"."SDO_GEOMETRY" already exists
ORA-39083: Object type TYPE failed to create with error:
ORA-02311: cannot alter with COMPILE option a valid type with type or table dependents
Failing sql is:
ALTER TYPE "MDSYS"."SDO_GEOMETRY" COMPILE SPECIFICATION PLSQL_OPTIMIZE_LEVEL= 2 PLSQL_CODE
TYPE= INTERPRETED PLSQLDEBUG= FALSE
Processing object type TRANSPORTABLE_EXPORT/TYPE/GRANT/OBJECT_GRANT
Processing object type TRANSPORTABLE_EXPORT/TYPE/TYPE_BODY
ORA-31684: Object type TYPE_BODY:"MDSYS"."SDO_GEOMETRY" already exists
Processing object type TRANSPORTABLE_EXPORT/TABLE
Processing object type TRANSPORTABLE_EXPORT/INDEX
Processing object type TRANSPORTABLE_EXPORT/INDEX_STATISTICS
Processing object type TRANSPORTABLE_EXPORT/TABLE_STATISTICS
Processing object type TRANSPORTABLE_EXPORT/DOMAIN_INDEX/TABLE
Processing object type TRANSPORTABLE_EXPORT/DOMAIN_INDEX/INDEX
Processing object type TRANSPORTABLE_EXPORT/TTE_POSTINST/PLUGTS_BLK
Job "ADCI"."SYS_IMPORT_TRANSPORTABLE_01" completed with 11 error(s) at 12:11
As the data already exists in MDSYS user for the same data, thus these errors have started cropping up. What do you suggest..Now i think the data has crashed completely. What do you suggest...??
Thanks and Regards
Ashish Dhawan
Maybe you are looking for
-
Crystal Report Viewer and Windows Vista
Hi, We are using RDC methodology for launching the crystal reports in the web using ASP. The web server operating system is Windows 2003, Crystal Reports XI is installed in it. Report is not launching in only one client machine. For all the other c
-
Adobe reader doesnt work :(
Adobe Reader 9.0 has encountered a problem and needs to close. We are sorry for the inconvenience. I tryed the new update and does the same thing at first it would close internet explorer 7 but i disabled pdf linker helper and the pdf file downloads
-
Why I cannot open a restored domain.sites2 file with iweb?? Message: "
Why I cannot open a restored domain.sites2 file with iweb?? Message: "domain.sites2 couldn't be opend"
-
IOS7 Photo App pinch complaint. Help or comments?
When viewing photographs taken with the camera in iOS7, by default the screen is slightly zoomed in on the picture. In iOS6 all we had to do was pinch your fingers together and the photo would zoom out and then be in full view. Now in iOS7 if you pin
-
Hi my mum just did a sync of her iphone and lost all the old photos(it didnt warn her this would happen) of her dad who passed away, there not on her computer as she had a virus and lost the lot and now there off her phone, please someone tell me tha