Unable to use PL/SQL Developer on Oracle 10g express edition
Hello,
i have installed oracle 10g XE and PL/SQL developer 8.
The contents of .ora files are as follows
tnsnames.ora file:
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = pravindasari)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
listener.ora
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
(PROGRAM = extproc)
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(ADDRESS = (PROTOCOL = TCP)(HOST = pravindasari)(PORT = 1521))
DEFAULT_SERVICE_LISTENER = (XE)
sqlnet.ora
# This file is actually generated by netca. But if customers choose to
# install "Software Only", this file wont exist and without the native
# authentication, they will not be able to connect to the database on NT.
SQLNET.AUTHENTICATION_SERVICES = (NTS)
i am able to login thru database home page.
When connecting to oracle through PL/SQL developer, m using the following details
username: system
pwd: system
database: XE
connect as: Normal
But i get the error as follows:
ORA-12154: TNS: could not resolve the connect identifier specified
Its working completely fine on my desktop which has windows XP, bt having problem while logging on laptop which has windows 7 home edition.
Please help me how to login thru developer.....
Edited by: user9243989 on Jun 13, 2010 12:36 AM
Set the environment variable ORACLE_HOME to point to the XE database.
Similar Messages
-
SQL*Plus with Oracle 10g Express Edition
How Can I do to log in using SQL*Plus into Oracle 10g?
My Schema is: Banco.Global
My Password is: 111111
I need to write SET SERVEROUTPUT ON to get answer?
I opened the Prompt, but i don't know to log in.
Thanks and my english is not as well as you.If i write:
SQL>connect "Banco.Global"/111111
a error message is raised: Invalid username/password; logon denied
but if I log in into Home Page with the same Username and Password, I get to log in.
There is difference to connect SQL*Plus and the connect with Home Page the Oracle?
I need to connect with SQL*Plus, because i need to make a test. -
Unable to Access the home page of oracle 10g express edition.
I have installed enterprise manager 10g and also express edition 10g .But after installing the enterprise manager 10g and trying to access the url http://127.0.0.1:8080/apex .The xdb username and password is prompted.I deleted the entry in init.ora for the xdb parameter to avoid the userid prompt but still the xdb login credentials are prompted.How can I avoid this message in order to access the 10g express edition home page.
Regards
PanduIt appears you've got two things listening on port 8080, or more accurately two things that want to listen on port 8080. The winner is probably the Enterprise Manager. The easiest way to check this would be to connect as SYSDBA and run the following to reset the 10gXE XDB listener port:
EXEC dbms_xdb.sethttpport(8181);
Then, attempt to reconnect to the 10gXE on the new port. I suspect a new attempt to connect at the old port 8080 will return the same message. If it doesn't fix it, you should probably inspect the configuration file for XDB. You can do that by running the following:
SET LONG 10000
SET PAGESIZE 9999
SELECT dbms_xdb.cfg_get() FROM dual;
You'll find the template for configuration in the $ORACLE_HOME/rdbms/xml directory. Hope this helps. -
OS-Authentication for a Oracle 10g Express Edition
I want to use OS-Authentication for an Oracle 10g Express Edition. What value must be set in sqlnet.ora ? Where are the possible authentcation modes described ? I only found the description KERBEROS5.
I tryed the value all, but with all no connect is possible.
Tanks for help
Josef Springer>
Thanks for your link.
A special username with prefix is needed. This user must be created for external authentication. This user must be known by the OS. Am i right ?
>Right.
>
As i understand, to login with OS-Authentication i need a new windows user. This is not usable, because my users have their login and do not want to use another, when working with the database.
Is there another way to use OS-Authentication ?As far as I know, this is not possible especially with Oracle XE which has not all features of Entreprise Edition.
>
Must the prefix be used in any case ?
>You can have an empty prefix: you should use OS_AUTHENT_PREFIX init. parameter http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/initparams147.htm#REFRN10152 -
Unable to upload sql scripts in oracle database express edition 10g
Hi!
To start, I inform you that I am beginner with Oracle. I installed Oracle 10g Express Edition on my Ubuntu 9.10 like this:
:~$ dpkg -i oracle-xe-universal_10.2.0.1-1.0_i386.deb
:~$ /etc/init.d/oracle-xe configure
and I keep default value. Then I go on http://127.0.01:8080/apex, I login with system account, I create another dba account etc ... all looks very well ! Then I follow this tutorial: http://st-curriculum.oracle.com/tutorial/DBXETutorial/index.htm
and I am unable to load sql script which is given in this tutorial: load_sample.sql (page:What to do first> Loading Data). I try with a little sql script and same result. I use gedit with UTF-8 and load in UTF-8, my browser is Firefox (I try with Epiphany also).
The result is: when I upload a script, The browser returns "script uploaded." Then I can click on my script but the file is empty ! Nothing is done when i click on "run". Also I can' create a script; With Epiphany browser, the frame to write is all red. To import a script I have to copy one by one request in sql commands. I try also to change the owner of load_sample.sql:
-rw-r--r-- 1 oracle dba 49969 2010-01-10 12:05 load_sample.sql
But it doesn't work. If someone has an idea ? Thanks for your help.
regards
Alex.
load_sample.sql:
CREATE TABLE regions
( region_id NUMBER
CONSTRAINT region_id_nn NOT NULL
, region_name VARCHAR2(25)
CREATE UNIQUE INDEX reg_id_pk
ON regions (region_id);
ALTER TABLE regions
ADD ( CONSTRAINT reg_id_pk
PRIMARY KEY (region_id)
) ;Hi,
So, go to shell ,position yourself in the path where load_sample.sql is, login to the XE as the user with whom you need to run load_sample.sql , and execute
+@load_sample.sql.+
Sorry to hijack this thread but I am having exactly the same problem in Ubuntu, it seems as if IE is the only browser that allows you to do this, but installing that in Ubuntu looks like a whole other world of pain I do not really want to get involved in at the moment.
I like the sound of just shortcutting the sql upload through the shell but I'm a beginner and I do not understand your comment well enough to implement it myself.
Could you please explain these in more granular layman's terms for someone who is unfamiliar with Linux syntax?
By 'Shell' do you mean the Terminal or the SQL Command Line? What exactly should I be typing in there to execute the sql?
I have saved the SQL file on my desktop (jon@jon-pc, it's a virtual Ubuntu machine on a Windows Vista host).
Thanks in advance
Jon -
Using JDeveloper with Oracle 10g Express Edition
Hi,
can JDeveloper 11g 11.1.1.4.0 Studio Edition be used to develop applications connection with Oracle 10g Express Edition?
If not, is there a version downloadable that can?
TIAYes, it can.
John -
How to connect to ORACLE 10g Express Edition using struts?
HI! There
I am using Oracle Jdeveloper as IDE, JBoss as application server, Oracle 10G Express edition as DBMS. As I am new to Struts & Jboss, so Can anybody tell me that How to connect to Database? Please also give Struts-config.xml datasource config too.
If someone can give a set of codes to enter and retrieve the data to/from database it will be really help full for me. Well connectivity with any version e.g. 9i, 10g, 10g XE will do......
ThanksWell I have already configure a datasource in struts-config.xml as Stated below:
<data-sources>
<data-source>
<set-property property="autoCommit" value="false"/>
<set-property property="description" value="Data Source Config. for SMS"/>
<set-property property="driverClass" value="oracle.jdbc.OracleDriver"/>
<set-property property="maxCount" value="4"/>
<set-property property="minCount" value="2"/>
<set-property property="password" value="password"/>
<set-property property="url" value="jdbc:oracle:thin:@127.0.0.1:1521:XE"/> <set-property property="user" value="sms"/>
</data-source>
</data-sources>
Now the Only problem That I am facing is how to look up this data source from a Java file of Model layer.
Please Guide me further -
Not able to create partitions using Oracle 10g express edition
Hello Everyone,
I downloaded Oracle 10g express edition as the documentation for the same says that it supports partitioning of the table.
But when I try to run a command like
CREATE TABLE sales_range
(salesman_id NUMBER(5),
salesman_name VARCHAR2(30),
sales_amount NUMBER(10),
sales_date DATE)
PARTITION BY RANGE(sales_date)
PARTITION sales_jan2000 VALUES LESS THAN(TO_DATE('02/01/2000','DD/MM/YYYY')),
PARTITION sales_feb2000 VALUES LESS THAN(TO_DATE('03/01/2000','DD/MM/YYYY')),
PARTITION sales_mar2000 VALUES LESS THAN(TO_DATE('04/01/2000','DD/MM/YYYY')),
PARTITION sales_apr2000 VALUES LESS THAN(TO_DATE('05/01/2000','DD/MM/YYYY'))
I get the following error
"ORA-00439: feature not enabled: Partitioning"
Please let me know what is causing the issue/error and how to resolve it.
Thanks.Where did you read that the express edition supports partitioning? I would strongly suspect that there was an error in the documentation-- partitioning is an extra cost option on top of an enterprise edition database. Perhaps you are confusing the personal edition (which does support partitioning) with the express edition?
Justin -
How can i create a new database instance in oracle 10g express edition?
hello everybody
i'm a student
i am developing a database application
i'm using oracle 10g express edition
to run my application i need to create another database instance
but i didn't find any option for doing so in that product
if there is pls tell me where it is?
if not pls tell me how to manually create it?
regards,
ChaitanyaChaitanya Babu M wrote:
yaa i'm sure about that .
i want one more instance of database.Can you perhaps explain why? I have a fair share of production and development servers - and not a single one of them needs to run more than one database instance.
So I'm interested in what requirement you are trying to satisfy by using two database instances on a single platform.
Oh yeah - if you want to create a custom XE instance (different SID, different tablespace sizes, more/less PL/SQL stuff installed, hack standard), make a copy of your XE db creation script (in your XE's +$ORACLE_HOME/bin+ and called createdb.sh ) and modify that for your needs.
PS. even with a different SID, only a single XE instance can be run at a time - you can however have 2 different ones defined and then use one at a time (e.g. testing international settings, init param differences, etc.) -
What we actually doing with oracle 10g Express Edition???
Hi all,
i'm a housewife.... i like to work on oracle which is very new to me.... so i recently downloaded "oracle 10g Express Edition" from oracle.com....
i got
run sql commamd line
get started
backup database
start database
stopdatabase
go to database homepage
why those all above???? how i can practice myself on exp' edition???.... actually what the s/w engineers do with express edition???
i follow the instructions given for get started....
i can view sometables which already exist....
what is the use with that.....i don't have any idea when work with get started.....i just follow the instruction given on help and create a table....
what is the actual use of express edition???Hi,
10g express edition (XE) is free database version of 10g. Application Express (Apex) is already installed to it.
Apex version that comes with XE is 2.1.
You can upgrade it to version 3.2.1 witch is latest one. New version of Apex comes with some nice features like interactive reports.
If you have installed XE you are ready to go developer Apex applications and practice Oracle database
Edit:
http://www.oracle.com/technology/products/database/application_express/html/apex_and_xe.html
Br, Jari
Edited by: jarola on Aug 31, 2009 7:48 AM -
Issues during reinstallation Oracle 10g express edition and Forms 6i
I've been racking my head over this issue for the past two three days. Exasperated, I tried searching in the forums but could not find a specific scenario like this.
I am facing issues while trying to get forms 6i to work with oracle 10g Express edition
i have windows XP home edition (installed service pack 2) and installed oracle 10g express edition as well as the oracle 10g express client and SQL developer on the same machine. The database started fine and I was able to use Enterprise manager.
After that I tried installing Forms 6i and whatever i try i am not able to connect to the database from Forms though I was able to connect easily from SQL developer. I used to get the error 12154 "TNS:could not resolve service name"
I dont know if Forms 6i expects the database connector string in some particular format. I searched on the net and found some people solved the issue by reinstalling the database software.
My machine name was complex so I changed it as well and reinstalled the software. Again the DB was fine and connections were fine but no way I could get forms to connect to the DB. All the time
I tried installing Forms to the same folder that Oracle express edition home in the hope that it might fix the problem. That only caused my database to crash. The oracle xe service shows as started but the Enterprise manager link does not work and it seems the database is down. I tried uninstalling and reinstalling client and server to no avail.
Has anyone gone through such a situation and solved this ? Appreciate your help.The statement about XP Home is correct, but in this case I would say the initial problem (Forms and ORA-12154) is independent of that, it also happens in a supported environment. I think it's the old problem, a second Oracle home was installed, but tnsnames.ora containing the connect informations is located in the first home.
Either tnsnames.ora is copied from to <Second_ORACLE_HOME>\network\admin or the environment variable TNS_ADMIN is set system-wide to <First_ORACLE_HOME>\network\admin.
I think now it's necessary to create a clean machine (remove all Oracle components as explained in the database installation guide for Windows). Then repeat the installation , but XE and Forms 6i in different ORACLE_HOMEs.
Werner -
How to plugin oracle 10g express edition in Eclipse Java EE
Hi guys,
I have downloaded Eclipse Java EE and also downloaded Oracle 10g express edition. Please some one guide me how do I plugin the database in Eclipse and use DTP in Eclipse. I am new to Oracle and Java, Please help me.
ThanksHi,
I have installed OEPE through Eclipse Update Manager for Eclipse Galileo 3.5. I have already installed oracle10g express edition and Appache tomcat 6.0 for web development.
Now I have unlocked the hr user and following instruction from white paper to use OEPE
http://www.oracle.com/technology/pub/articles/cioroianu-eclipse-jpa.html
Now you can configure the database connection in Eclipse. Click Window > Show View > Other..., select Data Management > Data Source Explorer, and click OK. Right click Database Connections, click New, select Oracle Database Connection, enter the hr name for the connection, and click Next.
Select Oracle Database 10g Driver Default, change the server name in the jdbc:oracle:thin:@localhost:1521:xe URL if necessary, enter the hr user name and its password, click Test Connection to verify that everything is correct, and click Finish
But here when I tried to connect to the database, it give me error - Creating connection to New oracle database connection has encountered a problem
Couldn't connect to New Oracle Database Connection.
Error creating SQL Model Connection connection to New Oracle Database Connection.(Error: IO exception: The Network Adapter could not establish the connection)
Io exception: The Network Adapter could not establish the connection
Error creating SQL Model Connection connection to New Oracle Database Connection.(Error: IO exception: The Network Adapter could not establish the connection)
Io exception: The Network Adapter could not establish the connection
I know i am wrong some where, Please tell me where I am going wrong? Do I need to download and configure weblogic 10g first? Is this don't work with Apache tomcat server instead?
Thanks
Edited by: Jay Virk on 02-Oct-2009 04:36 -
Oracle 10g Express Edition Beta 3 ODBC Driver Always Crashes
I find that if you set up an ODBC Data Source for Oracle 10g Express Edition on Windows XP SP2 using the "Oracle in XE" driver, anything that tries to access it will crash, even the Windows ODBC Data Source Administratior if you click the "Test Connection" button.
Having clicked the button, you get a window coming up entitled "Oracle ODBC Driver" with a yellow exclamation mark in it, with no other text in the window except for an OK button.
If you press OK, then it crashes and goes through the "Please tell Microsoft about this problem" process....Hi,
Thanks for your comment, but I can't get onto the XE forum.
I found http://www.oracle.com/technology/products/database/xe/forum.html which says:
Forum registration is possible only by downloading and installing Oracle Database XE. After installation, click on the "Registration" link from the Database homepage.
However I find that the "Database Homepage" does not exist.
Choosing the Oracle XE "Go To Database Home Page" takes my browser to http://127.0.0.1:8080/apex which is not available even though my oracle server is running and sqlplus can talk to it.
There's definitely nothing serving on tcp port 8080, as follows:
[dcampbel@clevo]~> telnet localhost 8080
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused
Regards,
-- Dave -
How get scott user database schema in oracle 10g express edition
hi
plz any on can tell me how to get the scott user database table details into the oracle 10g express edition
Iam created the user as scott but but i didn't get the table details
...plz give me the details correctly.You will go into this path C:\oraclexe\app\oracle\product\11.2.0\server\rdbms\admin\scott.sql. You can get scott.sql script yhen you need to run the script like @C:\oraclexe\app\oracle\product\11.2.0\server\rdbms\admin\scott.sql. Otherwise you just copy the below script and save it into one file then run that file using @
Rem Copyright (c) 1990 by Oracle Corporation
Rem NAME
REM UTLSAMPL.SQL
Rem FUNCTION
Rem NOTES
Rem MODIFIED
Rem gdudey 06/28/95 - Modified for desktop seed database
Rem glumpkin 10/21/92 - Renamed from SQLBLD.SQL
Rem blinden 07/27/92 - Added primary and foreign keys to EMP and DEPT
Rem rlim 04/29/91 - change char to varchar2
Rem mmoore 04/08/91 - use unlimited tablespace priv
Rem pritto 04/04/91 - change SYSDATE to 13-JUL-87
Rem Mendels 12/07/90 - bug 30123;add to_date calls so language independent
Rem
rem
rem $Header: utlsampl.sql 7020100.1 94/09/23 22:14:24 cli Generic<base> $ sqlbld.sql
rem
SET TERMOUT OFF
SET ECHO OFF
rem CONGDON Invoked in RDBMS at build time. 29-DEC-1988
rem OATES: Created: 16-Feb-83
GRANT CONNECT,RESOURCE,UNLIMITED TABLESPACE TO SCOTT IDENTIFIED BY TIGER;
ALTER USER SCOTT DEFAULT TABLESPACE USERS;
ALTER USER SCOTT TEMPORARY TABLESPACE TEMP;
CONNECT SCOTT/TIGER
DROP TABLE DEPT;
CREATE TABLE DEPT
(DEPTNO NUMBER(2) CONSTRAINT PK_DEPT PRIMARY KEY,
DNAME VARCHAR2(14) ,
LOC VARCHAR2(13) ) ;
DROP TABLE EMP;
CREATE TABLE EMP
(EMPNO NUMBER(4) CONSTRAINT PK_EMP PRIMARY KEY,
ENAME VARCHAR2(10),
JOB VARCHAR2(9),
MGR NUMBER(4),
HIREDATE DATE,
SAL NUMBER(7,2),
COMM NUMBER(7,2),
DEPTNO NUMBER(2) CONSTRAINT FK_DEPTNO REFERENCES DEPT);
INSERT INTO DEPT VALUES
(10,'ACCOUNTING','NEW YORK');
INSERT INTO DEPT VALUES (20,'RESEARCH','DALLAS');
INSERT INTO DEPT VALUES
(30,'SALES','CHICAGO');
INSERT INTO DEPT VALUES
(40,'OPERATIONS','BOSTON');
INSERT INTO EMP VALUES
(7369,'SMITH','CLERK',7902,to_date('17-12-1980','dd-mm-yyyy'),800,NULL,20);
INSERT INTO EMP VALUES
(7499,'ALLEN','SALESMAN',7698,to_date('20-2-1981','dd-mm-yyyy'),1600,300,30);
INSERT INTO EMP VALUES
(7521,'WARD','SALESMAN',7698,to_date('22-2-1981','dd-mm-yyyy'),1250,500,30);
INSERT INTO EMP VALUES
(7566,'JONES','MANAGER',7839,to_date('2-4-1981','dd-mm-yyyy'),2975,NULL,20);
INSERT INTO EMP VALUES
(7654,'MARTIN','SALESMAN',7698,to_date('28-9-1981','dd-mm-yyyy'),1250,1400,30);
INSERT INTO EMP VALUES
(7698,'BLAKE','MANAGER',7839,to_date('1-5-1981','dd-mm-yyyy'),2850,NULL,30);
INSERT INTO EMP VALUES
(7782,'CLARK','MANAGER',7839,to_date('9-6-1981','dd-mm-yyyy'),2450,NULL,10);
INSERT INTO EMP VALUES
(7788,'SCOTT','ANALYST',7566,to_date('13-JUL-87')-85,3000,NULL,20);
INSERT INTO EMP VALUES
(7839,'KING','PRESIDENT',NULL,to_date('17-11-1981','dd-mm-yyyy'),5000,NULL,10);
INSERT INTO EMP VALUES
(7844,'TURNER','SALESMAN',7698,to_date('8-9-1981','dd-mm-yyyy'),1500,0,30);
INSERT INTO EMP VALUES
(7876,'ADAMS','CLERK',7788,to_date('13-JUL-87')-51,1100,NULL,20);
INSERT INTO EMP VALUES
(7900,'JAMES','CLERK',7698,to_date('3-12-1981','dd-mm-yyyy'),950,NULL,30);
INSERT INTO EMP VALUES
(7902,'FORD','ANALYST',7566,to_date('3-12-1981','dd-mm-yyyy'),3000,NULL,20);
INSERT INTO EMP VALUES
(7934,'MILLER','CLERK',7782,to_date('23-1-1982','dd-mm-yyyy'),1300,NULL,10);
DROP TABLE BONUS;
CREATE TABLE BONUS
ENAME VARCHAR2(10) ,
JOB VARCHAR2(9) ,
SAL NUMBER,
COMM NUMBER
DROP TABLE SALGRADE;
CREATE TABLE SALGRADE
( GRADE NUMBER,
LOSAL NUMBER,
HISAL NUMBER );
INSERT INTO SALGRADE VALUES (1,700,1200);
INSERT INTO SALGRADE VALUES (2,1201,1400);
INSERT INTO SALGRADE VALUES (3,1401,2000);
INSERT INTO SALGRADE VALUES (4,2001,3000);
INSERT INTO SALGRADE VALUES (5,3001,9999);
COMMIT;
SET TERMOUT ON
SET ECHO ON -
Deployment of product in Oracle 10g Express Edition
Hello guys:
I developed a web application with PHP 5 + Oracle 10g Express Edition . If I want sell my application ( using as database Oracle 10g XE) to one big enterprise , I must buy a licence or it is not necesary.
Thanks for your help.See Oracle Database Express Edition License Agreement
Maybe you are looking for
-
Using NI-IMAQ imgSnap (ANSI C) with Windows 7 x64
Hello, I am trying to perform some basic image acquisition using ANSI C calls to NI-IMAQ (as distributed by the November 2009 release of NI Vision). I am developing on Windows 7 x64. Setup seems to work fine, but when I make the following call: vo
-
Where can i find the database?
im using the discovery server now. and i need to update some data in. however i could not find where is the database store and how i can edit/add/update it. please advise.
-
Change value of condition in SD pricing procedure
Dear All, I have requirement to change value of condition type in SD pricing procedure. Example: the value calculated by SAP in pricing procedure (up to the step) is 123, but i want to change this value to 100 sothat the next step in pricing procedur
-
PLEASE HELP-Is there a way to spell check footnotes in indesign cs2 separately
Is there a way to spell check footnotes in indesign or in incopy cs2 separately?
-
Separator problem after opening a exported CSV file in Excel
Dear experts, After exporting a report to .CSV file from BEX browser, I opened this file with Excel. I found that "," is considered as separator, but not ";" which is by default the separator in CSV file exported. For example, when i open the CSV in