Unable to connect to oracle 8i
Hi there,
I have been trying to connect to oracle 8i.
The database is in another workstation in the network.
The sqlexception i as follows:
java.sql.SQLException: Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNU
M=135294976)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4))))
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:210)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:323)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:260)
I have browse through the forum. There are people who encounter the same error as me. However, none of the replies provided a workable solution.
Should anyone happen to have any idea, what the error is about, pls help me. Thanks in advance.
Check to make sure that the SID specified is correct.
The SIDs that are currently registered with the listener can be obtained by
typing "LSNRCTL SERVICES ". These SIDs correspond to
SID_NAMEs in TNSNAMES.ORA, or db_names in INIT.ORA.
*Comment: This error will be returned if the database instance has not
registered with the listener; the instance may need to be started.
Similar Messages
-
Unable to connect to oracle driver
I am unable to connect to oracle driver. My code is as follows --
try {
Class.forName("oracle.jdbc.OracleDriver").newInstance();
} catch (ClassNotFoundException e) {
System.out.println("Can't find class oracle.jdbc.OracleDriver");
System.exit(1);
} catch (Exception e){
e.printStackTrace();
When I run the code, I am getting the 'ClassNotFoundException'. I have JVM 1.4 and have included classes12.zip and ojdbc.jar in the class path.
What am I missing?or better yet, upgrade to a less ancient driver jar.
The driver classname you supplied is correct for Oracle 9i and later, but the driver jar you use is for Oracle 8. It's also for Java 1.2 (hence the "classes12" name), and seriously lacking in features and performance compared to more modern versions.
Of course if you're stuck with a 10 year old database version you have little recourse but to use it, but no reputable company would use something that old any longer, especially since it's been out of support for ages. -
Compile 시 PCC-F-02104, Unable to connect to Oracle 관련 문의드립니다.
안녕하세요..
PCC-F-02104, Unable to connect to Oracle 관련 문제점을 해결하고자 글을 올립니다.
Oracle Client 10.2.0.1 -> Oracle DB 10.2.0.4 로 접속이 되는 구에서 아래와 같이
Client에서 Compile이 안되는 현상이 있습니다.
사례가 있으셨던 분들의 도움을 요청합니다.
$ make all
/user/oracle/product/11.2.0/bin/proc SQLCHECK=SEMANTICS userid=dbmuser/palm_7256@IBQMDB2 MODE=ORACLE DBMS=V8 parse=full
include=/user/ibqm/ibqm/include include=/user/ibqm/ibqm/libs/include pclqf_sql.pc pclqf_sql.c
Pro*C/C++: Release 11.2.0.1.0 - Production on Tue Nov 17 10:10:02 2009
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
System default option values taken from: /user/oracle/product/11.2.0/precomp/admin/pcscfg.cfg
PCC-F-02104, Unable to connect to Oracle
*** Error code 1
make: Fatal error: Command failed for target `pclqf_sql.c'
$
확인해본 내용
1. sqlplus로 원격 접속은 잘 이루어집니다
2. 양 Client 및 DB를 모두 재구성 해도 결과는 동일합니다.
3. sqlcheck=syntax 또는 none 으로 해서 compile 하면 SQLCHECK=SEMANTICS 으로 해야 한다는 Error 메시지가 계속 나옴It's my GNUmakefile:
# can't use -fno-rtti yet because it causes problems with exception
# handling in GCC 2.95.2
CXXFLAGS = -g
# uncomment the next two lines to do a release build
# CXXFLAGS = -O2 -DNDEBUG -ffunction-sections -fdata-sections
# LDFLAGS = -Wl,--gc-sections
export LD_LIBRARY_PATH = /home/oracle/db_1/lib
ARFLAGS = -cr # ar needs the dash on OpenBSD
RANLIB = ranlib
UNAME = $(shell uname)
CXXFLAGS := $(CXXFLAGS) -pipe -I/home/oracle/db_1/precomp/public -I/home/oracle/db_1/rdbms/public -I/home/oracle/db_1/rdbms/demo -I/home/oracle/db_1/plsql/public -I/home/oracle/db_1/network/public
ifeq ($(UNAME),SunOS)
LDLIBS =
endif
ifeq ($(CXX),gcc) # for some reason CXX is gcc on cygwin 1.1.4
CXX = g++
endif
PROC = $(ORACLE_HOME)/bin/proc
PROCPPFLAGS = code=cpp cpp_suffix=cpp threads=yes lines=yes sqlcheck=full userid=user/pw@tnsname
ORA_LIB = -L/hone/oracle/db_1/lib `cat /home/oracle/db_1/lib/ldflags` -lclntst9 `cat /home/oracle/db_1/lib/sysliblist` -ldl -lm
PCS = $(wildcard *.pc)
ifeq ($(PCS),) # workaround wildcard function bug in GNU Make 3.77
PCS = $(shell ls *.pc)
endif
ORAS = $(PCS:.pc=.cpp)
CPPS = $(wildcard *.cpp)
ifeq ($(CPPS),) # workaround wildcard function bug in GNU Make 3.77
CPPS = $(shell ls *.cpp)
endif
OBJS = $(CPPS:.cpp=.o)
all:
$(MAKE) precomp
$(MAKE) citycardpro
clean:
$(RM) citycardpro $(ORAS) $(OBJS)
precomp: $(ORAS)
citycardpro: $(OBJS)
$(CXX) -o $@ $(CXXFLAGS) $(OBJS) $(LDFLAGS) $(ORA_LIB) -lpthread -lcryptopp
.SUFFIXES: .pc
.pc.cpp:
$(PROC) $(PROCPPFLAGS) $<
.cpp.o: .pc
$(CXX) $(CXXFLAGS) -c $<
Proc as and sqlplus locate in $ORACLE_HOME/bin
Thanks for reply.
Andrew. -
Unable to connect to Oracle Applications database (afscpgcs) after clone
Hi,
I have just moved (clone using rapidclone) two of our 11.5.10.2 install from a solaris SPARC 8 to 10 . After the clone, while discoverer 10g works perfectly well in one environment, it is giving the error below in the another environment.
- Failed to connect to database - Unable to connect to Oracle Applications database (afscpgcs)
Notes:
1. For the 2 environments, nothing as changed apart from the hostnames.
2. The password has not changed on both - from source to targets.
3. This happens when launching discoverer 10g from Apps.... discoverer works well on it own if not launched from apps.
I raised a SR with oracle and the 2 things they said have not worked. they said
1. change signon password case parameter - but I cannot find that in the list of system parameters on our system.
2. The other note says apply patch 6430269 and I can confirm this patch has been on the system for sometime.
Please advise on this if you have come accross this before and you can help here.
ThanksThanks for your concern. I have used the notes you listed but no luck. One thing I have to point out here is that I have always cloned from solaris 8 to 8 for years without this problem. Now I am cloning from solaris 8 to 10 and the problems is on just one environment. The other is working well. The problem seems to be related to the apps password but the password has not changed at all. Also, I have tried to change the password to something else and ran autoconfig but no luck. Please help
-
Unable to connect to Oracle Weblogic Administration Server
Hi Folks,
As part of installation steps, I am facing error with " Unable to connect to Oracle Weblogic Administration Server"
Below is AdminServer Log, So please guide me reolving this impending issue.
####<12 Jun, 2014 2:46:01 PM IST> <Info> <Deployer> <obia111171w64> <AdminServer> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <0000KQFMukk5yW^5xV_AiW1JaMxv000002> <1402564561284> <BEA-149059> <Module adminservicesmbeans of application biadminservices [Version=11.1.1] is transitioning from STATE_ADMIN to STATE_PREPARED on server AdminServer.>
####<12 Jun, 2014 2:46:05 PM IST> <Info> <Deployer> <obia111171w64> <AdminServer> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <0000KQFMukk5yW^5xV_AiW1JaMxv000002> <1402564565300> <BEA-149061> <Module adminservicesmbeans of application biadminservices [Version=11.1.1] failed to transition from STATE_ADMIN to STATE_PREPARED on server AdminServer.>
####<12 Jun, 2014 2:46:11 PM IST> <Error> <Deployer> <obia111171w64> <AdminServer> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <0000KQFMukk5yW^5xV_AiW1JaMxv000002> <1402564571861> <BEA-149231> <Unable to set the activation state to true for the application 'biadminservices [Version=11.1.1]'.
weblogic.management.DeploymentException: Unexpected error encountered
at weblogic.deploy.internal.targetserver.AppContainerInvoker.getOrCreateDeploymentException(AppContainerInvoker.java:299)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:84)
at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:261)
at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:220)
at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)
at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Caused By: java.lang.OutOfMemoryError: PermGen space
at weblogic.j2ee.J2EELogger.logIgnoringUndeploymentError(J2EELogger.java:2902)
at weblogic.application.internal.BaseDeployment$2.logRollbackError(BaseDeployment.java:682)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:65)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:59)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:261)
at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:220)
at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)
at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
>
Thanks,
WjDid you manage to solve this issue?
I'm running into the exact same error, but installing 11.1.1.7.0 on Windows 2003
Haven't found anything on MOS yet :(
Kind regards,
Rob
Edited by: rgouw on 10-apr-2013 1:10 -
Unable to connect to Oracle Discover Application: ORB Initialization failure
We are running Discoverer 4.1.37 in a DMZ. Some of our internal users receive a "Unable to connect to Oracle Discoverer Application: ORB Initialization failure ..." error when trying to use Discoverer Plus. Our external users are able to connect using Discoverer Plus. We have SSL and Gatekeeper was configured with the machine's IP address (Exterior address), port 443 (exterior port), and exterior proxy address. Networking changes were made to enable users to use one web address instead of two (one for external and one for internal). Also, if I trying to use the machine's IP address in the web address, Discoverer just says "Loading" in the Discoverer Plus status box. If I use the one web address (originally, the external web address), I can log into Discoverer.
How are you trying to connect the database using JPA?
Has your datasource got bind successfully. You should check all these things first. If your datasource has not got binded then debug for that. -
Unable to connect to Oracle Applications database invalid username/password
Hi,
Ou Requirement is we want to connect to Oracle Applications using discoverer plus and discoverer viewer.
Application Server used : 10.1.2.0.2
Oracle Applications : R12 RUP4
We have installed application server 10g with OID and when we try to connect to oracle applications we are getting
A connection error has occurred.
- Failed to connect to database - Unable to connect to Oracle Applications database: invalid username/password.
Regards
KetanHi,
I think better to check with your sysadmin or DBA on this, I had the same isuse before but Apps 11i with Discoverer, I talked to ERP sysadmin and worked fine.
Since applications userid cannot talk with Discoverer schema (eul10_us) and it should directly talk with APPS user and then APPS user can talk with Discoverer user.
To the best of my knowledge I provided.
--skat -
Client unable to connect to Oracle 10g on linux
I have installed Oracle 10g on an Intel box running RedHat AS 3.0. The database installation was succesful but I am unable to connect to it from the client on my laptop running Oracle 10g client and Winfdows XP Pro. The server ip is 192.168.1.10 and I can ping it from the client:
C:\>ping attila.n3kje.net
Pinging attila.n3kje.net [192.168.1.10] with 32 bytes of data:
Reply from 192.168.1.10: bytes=32 time<1ms TTL=64
Reply from 192.168.1.10: bytes=32 time<1ms TTL=64
Reply from 192.168.1.10: bytes=32 time<1ms TTL=64
Reply from 192.168.1.10: bytes=32 time<1ms TTL=64
Ping statistics for 192.168.1.10:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
Here is some info about the 2 environments:
[oracle@attila bin]$ uname -a
Linux attila.n3kje.net 2.4.21-9.0.1.ELsmp #1 SMP Mon Feb 9 22:26:51 EST 2004 i686 i686 i386 GNU/Linux
Server hosts file
======================================================
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 attila.n3kje.net attila localhost.localdomain localhost
hostname output
======================================================
[root@attila root]# hostname
attila.n3kje.net
ifconfig output
=======================================================
[root@attila root]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:C0:9F:1D:0C:C8
inet addr:192.168.1.10 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:13772171 errors:0 dropped:0 overruns:0 frame:0
TX packets:13748842 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1269613311 (1210.7 Mb) TX bytes:4065314800 (3876.9 Mb)
Interrupt:16 Base address:0xecc0 Memory:fe100000-fe120000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:5513840 errors:0 dropped:0 overruns:0 frame:0
TX packets:5513840 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:865454291 (825.3 Mb) TX bytes:865454291 (825.3 Mb)
Client TNSNAMES.ORA
======================================================
# tnsnames.ora Network Configuration File: C:\Oracle\product\10.1.0\Client_1\NETWORK\ADMIN\tnsnames.ora
# Generated by Oracle configuration tools.
ORACLE10G =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.10)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = DEV10G)
PRDSRR =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.10)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = dev10g)
Client SQLNET.ORA
======================================================
# sqlnet.ora Network Configuration File: C:\Oracle\product\10.1.0\Client_1\network\admin\sqlnet.ora
# Generated by Oracle configuration tools.
SQLNET.AUTHENTICATION_SERVICES= (NTS)
NAMES.DIRECTORY_PATH= (EZCONNECT, TNSNAMES)
Server TNSNAMES.ORA
======================================================
# tnsnames.ora Network Configuration File: /u01/app/oracle/product/10.1.0/db_1/n
etwork/admin/tnsnames.ora
# Generated by Oracle configuration tools.
DEV10G =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = attila.n3kje.net)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = DEV10G)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
Server LISTENER.ORA
======================================================
# listener.ora Network Configuration File: /u01/app/oracle/product/10.1.0/db_1/n
etwork/admin/listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /u01/app/oracle/product/10.1.0/db_1)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = attila.n3kje.net)(PORT = 1521))
Results from the TNSPING command issued at the client
=================================================================
C:\>tnsping prdsrr
TNS Ping Utility for 32-bit Windows: Version 10.1.0.2.0 - Production on 02-APR-2
004 09:26:11
Copyright (c) 1997, 2003, Oracle. All rights reserved.
Used parameter files:
C:\Oracle\product\10.1.0\Client_1\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
(HOST = 192.168.1.10)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = dev10g)))
TNS-12541: TNS:no listener
C:\>tnsping oracle10g
TNS Ping Utility for 32-bit Windows: Version 10.1.0.2.0 - Production on 02-APR-2
004 09:26:38
Copyright (c) 1997, 2003, Oracle. All rights reserved.
Used parameter files:
C:\Oracle\product\10.1.0\Client_1\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
(HOST = 192.168.1.10)(PORT = 1521))) (CONNECT_DATA = (SERVER = DEDICATED) (SERVI
CE_NAME = DEV10G)))
TNS-12541: TNS:no listener
C:\>
Trying to connect to the database from the server
==================================================
[oracle@attila bin]$ echo $ORACLE_SID
DEV10G
[oracle@attila bin]$ ./sqlplus system
SQL*Plus: Release 10.1.0.2.0 - Production on Fri Apr 2 12:22:29 2004
Copyright (c) 1982, 2004, Oracle. All rights reserved.
Enter password:
Connected to:
Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> exit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Pr
oduction
With the Partitioning, OLAP and Data Mining options
[oracle@attila bin]$ ./sqlplus system@dev10g
SQL*Plus: Release 10.1.0.2.0 - Production on Fri Apr 2 12:23:09 2004
Copyright (c) 1982, 2004, Oracle. All rights reserved.
Enter password:
ERROR:
ORA-12154: TNS:could not resolve the connect identifier specified
tnsping issued at the server
======================================================
[oracle@attila bin]$ tnsping dev10g
TNS Ping Utility for Linux: Version 10.1.0.2.0 - Production on 02-APR-2004 12:3
:44
Copyright (c) 1997, 2003, Oracle. All rights reserved.
Used parameter files:
/u01/app/oracle/product/10.1.0/db_1/network/admin/sqlnet.ora
TNS-03505: Failed to resolve name
What am I doing wrong?
Thanks
RenatoOk, I was able to succesfully connect to the database from the client. I made the following changes to the sqlnet.ora, tnsnames and listener. Here are the changes I made:
sqlnet.ora
==============================
# SQLNET.ORA Network Configuration File: /u01/app/oracle/product/9.2.0.1.0/netwo
rk/admin/sqlnet.ora
# Generated by Oracle configuration tools.
# NAMES.DIRECTORY_PATH= (EZCONNECT)
NAMES.DIRECTORY_PATH= (EXCONNECT, TNSNAMES, ONAMES, HOSTNAME)
listener.ora
==============================
# listener.ora Network Configuration File: /u01/app/oracle/product/10.1.0/db_1/n
etwork/admin/listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /u01/app/oracle/product/10.1.0/db_1)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME = DEV10G)
(ORACLE_HOME = /u01/app/oracle/product/10.1.0/db_1)
(SID_NAME = DEV10G)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.10)(PORT = 1521))
tnsnames.ora
===========================================
# tnsnames.ora Network Configuration File: /u01/app/oracle/product/10.1.0/db_1/n
etwork/admin/tnsnames.ora
# Generated by Oracle configuration tools.
DEV10G =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.10)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = DEV10G)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
Here is the new problem!
I start the dbconsole using the folowing command:
[oracle@attila bin]$ ./emctl start dbconsole
TZ set to US/Eastern
Oracle Enterprise Manager 10g Database Control Release 10.1.0.2.0
Copyright (c) 1996, 2004 Oracle Corporation. All rights reserved.
http://attila.n3kje.net:5500/em/console/aboutApplication
Starting Oracle Enterprise Manager 10g Database Control ........................
... started.
Logs are generated in directory /u01/app/oracle/product/10.1.0/db_1/attila.n3kje
.net_DEV10G/sysman/log
When I try and access it from the client I get the following error message:
"The database status is currently unavailable. It is possible that the database is in mount or nomount state. Click 'Startup' to obtain the current status and open the database. If the database cannot be opened, click 'Perform Recovery' to perform an appropriate recovery operation."
What am I doing wrong this time?
Your help would be greatly appreciated
Thanks
Renato -
Unable to connect to Oracle using OCI Drivers on Linux
Hi Everyone!
I am facing a peculiar issue while using Instant Client on Linux ( 64Bit ) running on Red Hat 4.1.
I have downloaded the instant client version 10.2.0.3(.zip) .so files from the below URL
http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/linuxx86_64soft.html
UPloaded all the files to a directory under /opt and changed the .bash_profile file, the latest content looks like
ORACLE_HOME=/opt/instantclient_10_2
export ORACLE_HOME
PATH=$PATH:$ORACLE_HOME
export PATH
TNS_ADMIN=/opt/instantclient_10_2
export TNS_ADMIN
LD_LIBRARY_PATH=/opt/instantclient_10_2
export LD_LIBRARY_PATH
PATH=$PATH:$LD_LIBRARY_PATH
export PATH
CLASSPATH=/opt/instantclient_10_2:/opt/instantclient_10_2/ojdbc.jar
export CLASSPATH
Java.library.path=/opt/instantclient_10_2
export Java.library.path
As i have downloaded the Sqlplus utility as well, i am able to connect to the Oracle FARM via sqlplus.
On the other hand, i am unable to connect to the same database via the application. It constantly gives me the following exception,
java.lang.UnsatisfiedLinkError: no ocijdbc10 in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1030)
at oracle.jdbc.driver.T2CConnection$1.run(T2CConnection.java:3138)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.jdbc.driver.T2CConnection.loadNativeLibrary(T2CConnection.java:3134)
at oracle.jdbc.driver.T2CConnection.logon(T2CConnection.java:220)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:438)
at oracle.jdbc.driver.T2CConnection.<init>(T2CConnection.java:131)
at oracle.jdbc.driver.T2CDriverExtension.getConnection(T2CDriverExtension.java:77)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:752)
at oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:296)
at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:220)
at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:164)
at com.sun.gjc.spi.DSManagedConnectionFactory.createManagedConnection(DSManagedConnectionFactory.java:105)
at com.sun.enterprise.resource.LocalTxConnectorAllocator.createResource(LocalTxConnectorAllocator.java:68)
at com.sun.enterprise.resource.AbstractResourcePool.createSingleResource(AbstractResourcePool.java:891)
at com.sun.enterprise.resource.AbstractResourcePool.createResourceAndAddToPool(AbstractResourcePool.java:1752)
at com.sun.enterprise.resource.AbstractResourcePool.createResources(AbstractResourcePool.java:917)
at com.sun.enterprise.resource.AbstractResourcePool.initPool(AbstractResourcePool.java:225)
at com.sun.enterprise.resource.AbstractResourcePool.internalGetResource(AbstractResourcePool.java:516)
at com.sun.enterprise.resource.AbstractResourcePool.getResource(AbstractResourcePool.java:443)
at com.sun.enterprise.resource.PoolManagerImpl.getResourceFromPool(PoolManagerImpl.java:248)
at com.sun.enterprise.resource.PoolManagerImpl.getResource(PoolManagerImpl.java:176)
at com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnection(ConnectionManagerImpl.java:327)
at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:235)
at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:165)
at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:158)
at com.sun.gjc.spi.base.DataSource.getConnection(DataSource.java:108)
at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:113)
at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:79)
at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:922)
at org.springframework.jdbc.core.JdbcTemplate.call(JdbcTemplate.java:984)
at org.springframework.jdbc.object.StoredProcedure.execute(StoredProcedure.java:117)
at com.gecf.uk.pca.dcs.util.SystemParametersDAO$SysParamsStoredProcedure.execute(SystemParametersDAO.java:150)
at com.gecf.uk.pca.dcs.util.SystemParametersDAO.getSystemParametersList(SystemParametersDAO.java:67)
at com.gecf.uk.pca.dcs.util.SystemParametersDAO.getSystemParametersMap(SystemParametersDAO.java:94)
at com.gecf.uk.pca.dcs.util.SystemParameters.loadParameters(SystemParameters.java:44)
at com.gecf.uk.pca.dcs.util.SystemParameters.<init>(SystemParameters.java:33)
at com.gecf.uk.pca.dcs.util.SystemParameters.getInstance(SystemParameters.java:72)
at org.apache.jsp.common.secure.mypayment_jsp._jspService(mypayment_jsp.java from :86)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:93)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:470)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:364)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:317)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
at com.gecf.uk.pca.dcs.web.util.SessionFilter.doFilter(SessionFilter.java:97)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:288)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:271)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:202)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:272)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:568)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:813)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
|#]
I have used the classes12.jar and ojdbc.jar which came with the download and nothing seems to work. A bit surprising when sqlplus works and not the application. I suspect there could be an issue with the driver class. I have been struggling to figure this out for days now...
Can anyone please share their thoughts if something similar was observed earlier please.
Any quick help will highly be appreciated.ORACLE_HOME=/opt/instantclient_10_2
export ORACLE_HOMEYou don't set ORACLE_HOME with Instant Client.
PATH=$PATH:$LD_LIBRARY_PATH
export PATHThis is unnecessary.
CLASSPATH=/opt/instantclient_10_2:/opt/instantclient_10_2/ojdbc.jar
export CLASSPATHThis is wrong.
It should be:
CLASSPATH=/opt/instantclient_10_2/ojdbc14.jar:<whatever else you need there>
Java.library.path=/opt/instantclient_10_2
export Java.library.pathThis is useless; java.library.path is not an environment variable.
java.lang.UnsatisfiedLinkError: no ocijdbc10 in java.library.pathThe case is pretty clear. You want to use the OCI driver (your URL starts with "jdbc:oracle:oci:"), so the Java Virtual Machine is looking for libocijdbc10.so in the Java library path but cannot find it.
What is also clear is that the program does not use the CLASSPATH environment variable you set, because then it would never have found the Oracle Driver.
So it seems that your program is ignoring the environment you set (which would explain why it also ignores LD_LIBRARY_PATH which you set correctly).
You must have the environment variables set and exported in the shell that starts the "java" executable.
Also, check that there is no other ojdbc14.jar on this machine (use "find").
To help you debug your problem, let me explain how Sun Java sets Java library path on Linux:
- If you start java with "java -Djava.library.path=/some/dir:/other/dir ...", the Java library path is set to exactly that value.
- If you do not specify -Djava.library.path, the Java library path is taken from the environment variable LD_LIBRARY_PATH.
- Directories listed in /etc/ld.so.conf have no influence on the Java library path (which gave me quite a headache in the beginning).
Do you really need the OCI Driver? If you can do with the Thin Driver (i.e., use an URL that starts with "jdbc:oracle:thin:") you don't need any shared libraries at all.
Yours,
Laurenz Albe -
Unable to connect to Oracle database on RHEL4
Hi,
I have completed installation of Oracle 10g release 2. on RHEL 4.
On logging on to the RHEL 4 machine, I am able to start Oracle database and use sqlplus.
However, I am unable to connect to it from my desktop, which is windows xp. The tnsnames.ora file in the windows desktop has been updated. However its not able to connect to this machine. The RHEL4 machine is configured with DHCP. Could this be the problem? I would not be able to configure it with static IP, is there a way to configure it with DHCP? tnsping does not identify the database instance either. I get the following error.
TNS-12560: TNS:protocol adapter error
Regards,
Rishikeshrishikesh,
On the RHEL4 machine
1. check the listener:
-check if the service name of your database is registered
-check on which NIC/ip address the listener is listening
2. check if you can login using TCP
-do a tnsping of the connection descriptor you are using
If both tests succeed, go to the client (windows XP machine)
1. check if the RHEL4 machine responds to the ping command
if that works:
2. check if the hostname used in ping is the same as the hostname in the connectstring
3. check if the service name in the connectstring is the same as in the listener
4. check if the port number in the connectstrings is the same as in the listener -
Unable to connect to Oracle 9i from Forms 6i
Hi,
I have Oracle 9.2.0 (Personal edition) and Forms 6i installed on a Win2K PC.
I am able to connect to the DB from SQLPLUS. But, I am unable to connect to the DB from Forms 6i. Can anyone suggest where am I going wrong and what is that I need to do to resolve the problem.
Thanks in advance!!!Normaly forms6i uses Tnsnames.ora file to connect to the database. You need to setup your Tnsnames.ora file correctly by clicking Start---Programs---Directory for Oracle--Oracle net8 easy config, and configure your database connection.
-
Unable to connect to Oracle 8i using the JDBC - OCI8
I am unable to connect to the to the Oracle 8i database using
JDBC 8.1.5. er. Each time I try I get the message:
"java.lang.UnsatisfiedLinkError: no ocijdbc8 in
java.library.path"
When I try to establich a "connection" using the connection
manager with JDeveloper 2.0 I get the message:
"No ocijdbc8 in shared library path"
What's the problem? Is it that I do not have the appropriate
driver? It is unlikely because the thin driver works...
nullI dealt with this problem. For some reason OCI drivers
installation is not included in typiclal Jdev 2.0 instalation.
(bug?). In your instalation kit find Oracle 8i instalation disk,
and run the installer on the client machine (i.e. the same
machine where Jdev is installed where you were not able to
connect with OCI-8). Choose client installation and choose
custom installation. Than in the product list choose JDBC
drivers. Make sure OCI drivers are included. Install it. Now you
can find file ocijdbc8.dll in your ORACLE_HOME/bin directory.
Now you should be able to connect using OCI-8.
Best of luck,
Michael Gantman
Preslav Nakov (guest) wrote:
: I am unable to connect to the to the Oracle 8i database using
: JDBC 8.1.5. er. Each time I try I get the message:
: "java.lang.UnsatisfiedLinkError: no ocijdbc8 in
: java.library.path"
: When I try to establich a "connection" using the connection
: manager with JDeveloper 2.0 I get the message:
: "No ocijdbc8 in shared library path"
: What's the problem? Is it that I do not have the appropriate
: driver? It is unlikely because the thin driver works...
null -
Unable to Connect to Oracle VMs from network
Hi,
I have problem connectivity problem in my virtual machines.I am unable to connect to XEN VMs from my network. But my domU is visible in my route in the network as an attached device with the correct mac address. But I am unable to connect to other computers from my domU and vise versa. Please help.
Output of ifconfig from dom0 is given below
eth0 Link encap:Ethernet HWaddr 00:0C:29:8C:E2:B3
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1051 errors:0 dropped:0 overruns:0 frame:0
TX packets:493 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:96109 (93.8 KiB) TX bytes:76110 (74.3 KiB)
Interrupt:17 Base address:0x2000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:246 errors:0 dropped:0 overruns:0 frame:0
TX packets:246 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:38762 (37.8 KiB) TX bytes:38762 (37.8 KiB)
vif1.0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:71 errors:0 dropped:0 overruns:0 frame:0
TX packets:350 errors:0 dropped:37 overruns:0 carrier:0
collisions:0 txqueuelen:32
RX bytes:8906 (8.6 KiB) TX bytes:31618 (30.8 KiB)
xenbr0 Link encap:Ethernet HWaddr 00:0C:29:8C:E2:B3
inet addr:192.168.100.32 Bcast:192.168.100.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fe8c:e2b3/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1096 errors:0 dropped:0 overruns:0 frame:0
TX packets:432 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:89115 (87.0 KiB) TX bytes:67364 (65.7 KiB)
Output of brctl show is
bridge name bridge id STP enabled interfaces
xenbr0 8000.000c298ce2b3 no vif1.0
eth0
output of ifconfig from domU is
eth0 Link encap:Ethernet HWaddr 00:16:3E:6E:64:3C
inet addr:192.168.100.33 Bcast:192.168.100.255 Mask:255.255.255.0
inet6 addr: fe80::216:3eff:fe6e:643c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:479 errors:0 dropped:0 overruns:0 frame:0
TX packets:71 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:43609 (42.5 KiB) TX bytes:9900 (9.6 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:329 errors:0 dropped:0 overruns:0 frame:0
TX packets:329 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:24394 (23.8 KiB) TX bytes:24394 (23.8 KiB)
My vm.cfg file looks like
bootloader = '/usr/bin/pygrub'
disk = ['file:/OVS/seed_pool/OracleDB/System.img,xvda,w',
'file:/OVS/seed_pool/OracleDB/oracle11g_x86_asm.img,xvdb,w']
memory = '2048'
name = 'OracleDB'
on_crash = 'restart'
on_reboot = 'restart'
vcpus = 2
vfb = ['type=vnc,vncunused=1,vnclisten=0.0.0.0']
vif = ['bridge=xenbr0,ip=192.168.100.33,type=netfront,mac=00:16:3E:6E:64:3C']
vif_other_config = []
xend-config.sxp has following two lines:
(network-script network-bridge)
(vif-script vif-bridge)
Please let me know if any other information is needed.
Thanks,
RuchinI have a Dell Power Edge Server with 1 network card. I have installed VMWare ESXi 5 on it. Created several Windows 2003 Servers Virtual Machines. Networking is working fine all these windows machines. On one of the virtual machines I have installed Oracel VM Server 2.2.2 (Dom0) and on top of it I am trying to install Oracle VM Template for Oracle 11g provided by Oracle. I am having connectivity issues on the Oracle 11gDB (DomU). I can ping and ssh from Dom0 to DomU and vice versa. But I cannot connect the Oracle DB machine from any other machine. I can connect the Oracle VM Server (Dom0) from other computers in my network.
Any clue what the issue is ?
Thanks,
Ruchin -
Unable to connect to oracle as sysdba
Hi All,
Am unable to connect as sysdba
see below error-----------
-bash-2.05b$ export ORACLE_SID=TST
-bash-2.05b$ sqlplus
SQL*Plus: Release 9.2.0.8.0 - Production on Tue Jun 30 03:54:14 2009
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Enter user-name: /as sysdba
ERROR:
ORA-01031: insufficient privileges
Thanks,
Bhanu ChanderDear Bhanu Chander!
You have tried to use OS-Authentication "/ as sysdba". Is your OS-User a member of the dba group? If not this will not work. It will also not work if you tried to connect from a remote host to your database with OS-Authentication because the parameter REMOTE_OS_AUTHEN has a default value of FALSE and it should remain to FALSE.
Yours sincerely
Florian W. -
Istore unable to connect to oracle application
I am able to connect to istore but when istore internally tries to connect to oracle application , I am getting this error
+"Application Error.+
+Input contained illegal parameters, please re-enter your input or contact the system administrator"+
Please advice.
EBS 11.5.10.2Please see these docs.
iStore Errors Out with "Input Contained Illegal Parameters" [ID 1302824.1]
"Input contained illegal parameters" Error Launching Configurator from iStore [ID 1196684.1]
Unable To Access iStore after CPU patches applied - Site: Application Error Input contained Illegal parameters [ID 1166903.1]
Information Center: Troubleshooting Oracle iStore [ID 1356839.2]
Thanks,
Hussein -
Unable to connect to Oracle 11g server using instantclient_11_1 in AIX
Hi,
I downloaded instantclient-basic-11.1.0.7.0-aix-ppc64.zip from oracle site and used the same for connection to 11g server for testing my application on AIX 5.3 machine. I am also using easysoft driver for the connection. But I am uhnable to connect to Oracle 11g server from AIX 5.3 using instantclient_11_1 client
libraries. I get the error "Could not load oracle libraries". Error is as below:
WARNING: Setup was unable to contact your ORACLE
WARNING: server by using the connection options
WARNING: you specified.
WARNING: Error connecting to DB: -1
WARNING: HY000: [unixODBC][Easysoft][Oracle]Could not load oracle libraries
But I could connect to the same server from AIX 5.3 machine using instantclient_10_2 libraries and same eaysoft drivers successfully.
Looks like there is issue with connecting with instantclient_11_1 client libraries from AIX 5.3. I also tried with using 11.1.0.6.0. Same issue is observed.
Did anybody else face similar issue?
Thanks and Regards,
Prema S
Edited by: user6404935 on Jan 27, 2010 9:47 PMI you find nobody who has the same problem, here are some hints:
- Try to connect using "sqlplus" from the instant client. If that fails, there is probably a problem with your setup.
- Look if the Easysoft driver supports Oracle 11.1 as client.
Yours,
Laurenz Albe
Maybe you are looking for
-
Unsupported Data Type (migration from Access 2000)
Hi, I'm trying to convert an MS Access 2000 database, which contains a table with 2 'Binary' data type columns. The OMWB does not seem to know this Data Type, and the GUI does not allow me to add it. Is there any other way to add this Data Type ?? I
-
Dumb Question: Count of Rows Returned?
I am using a dbcontrol to get rows from the database. I am using the netui-repeater to display the results. The repeater datasource is "request.results". My question is how do I get the total number of records returned from the query? I know this is
-
How to set a pageBreak for a panel which is scrolling vertically ?
HI, my swing application has a panel which 'll scroll vertically dynamically according to the input.It has to get printed.I used panel.printAll(g) in the printable interface.But the problem is, it is printing only that is visible in the panel.The rem
-
Whats's the difference between MacBook Pro 13 and 13.3 ?
This, Whats's the difference between MacBook Pro 13 and 13.3 ?
-
Can i create IC without unit/currency dimention?
i am not having the key figures of type amount and quantity, in that case can i create the infocube with out creating unit/currency dimention.