No start instance Java (problem connection database DB2)
Hi, I have problem with start instance Java, problem connectio database.
S.O: Solaris
Database: DB2
show log db2:
ADM7519W DB2 could not allocate an agent. The SQLCODE is "-1225".
show log directory work:
com.sap.engine.frame.core.configuration.ConfigurationException: Error while connecting to DB.
at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.createConnection(DBConnectionPool.java:365)
at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.<init>(DBConnectionPool.java:130)
at com.sap.engine.core.configuration.impl.persistence.rdbms.PersistenceHandler.<init>(Persistence
Handler.java:38)
at com.sap.engine.core.configuration.impl.cache.ConfigurationCache.<init>(ConfigurationCache.java:149)
at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.init(ConfigurationManagerBootstrapImpl.java:236)
at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.<init>(ConfigurationManagerBootstrapImpl.java:49)
at com.sap.engine.bootstrap.Synchronizer.<init>(Synchronizer.java:74)
at com.sap.engine.bootstrap.Bootstrap.initDatabaseConnection(Bootstrap.java:474)
at com.sap.engine.bootstrap.Bootstrap.<init>(Bootstrap.java:147)
at com.sap.engine.bootstrap.Bootstrap.main(Bootstrap.java:946)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:331)
at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
Caused by: com.ibm.db2.jcc.am.SqlException: DB2 SQL Error: SQLCODE=-10003, SQLSTATE=57011, SQLERRMC=null, DRIVER=3.59.81
[Bootstrap module]> Problem occurred while performing synchronization.
Help please.
Hey Eli,
It looks like a memory issue. It would be good if you could provide more lines from db2diag.log file.
Please make sure that DB2 configuration complies with the default suggested. Below link would help you understand better.
http://publib.boulder.ibm.com/infocenter/db2luw/v9r5/index.jsp?topic=/com.ibm.db2.luw.qb.server.doc/doc/t0008238.html
More over set the ulimit for virtual memory and maximum memory size to unlimited in order to maximize the use of your current physical memory, after that restart DB2.
Please let us know if issue gets resolved.
Cheers!!!
Vishi Rajvanshi
Similar Messages
-
Problem connecting DataBase Link from windows oracle to oracle on Linux
I'm facing a problem with database links from windows oracle to Oracle hosted on Linux server.
I'm able to successfully create the Database Link using the following query on oracle database hosted on a windows server
CREATE DATABASE LINK SampleDB
CONNECT TO myuser IDENTIFIED BY password
USING 'sample';
The tns names entry on windows for database in Linux server is as follows
DSOFT =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.100)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = sample)
But while executing the query "select count(*) from doctor@SampleDB;" in sql developer on windows, I'm getting the following error
SQL Error: ORA-12154: TNS:could not resolve the connect identifier specified
12154. 00000 - "TNS:could not resolve the connect identifier specified"
*Cause: A connection to a database or other service was requested using
a connect identifier, and the connect identifier specified could not
be resolved into a connect descriptor using one of the naming methods
configured. For example, if the type of connect identifier used was a
net service name then the net service name could not be found in a
naming method repository, or the repository could not be
located or reached.
Using the above tns entries, i'm successfully able to connect to the database in Linux server through sql developer installed on the windows machine. Then why i'm getting this error while executing the query on Database Link?. Can any one help me?1005745 wrote:
I'm facing a problem with database links from windows oracle to Oracle hosted on Linux server.
I'm able to successfully create the Database Link using the following query on oracle database hosted on a windows server
CREATE DATABASE LINK SampleDB
CONNECT TO myuser IDENTIFIED BY password
USING 'sample';
The tns names entry on windows for database in Linux server is as follows
DSOFT =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.100)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = sample)
But while executing the query "select count(*) from doctor@SampleDB;" in sql developer on windows, I'm getting the following error
SQL Error: ORA-12154: TNS:could not resolve the connect identifier specified
12154. 00000 - "TNS:could not resolve the connect identifier specified"
*Cause: A connection to a database or other service was requested using
a connect identifier, and the connect identifier specified could not
be resolved into a connect descriptor using one of the naming methods
configured. For example, if the type of connect identifier used was a
net service name then the net service name could not be found in a
naming method repository, or the repository could not be
located or reached.
Using the above tns entries, i'm successfully able to connect to the database in Linux server through sql developer installed on the windows machine. Then why i'm getting this error while executing the query on Database Link?. Can any one help me?A database link is acting as a client to the target, remote database in exactly the same fashion and using exactly the same tns infrastructure as any other client trying to connect to that remote database. your ORA-12154 when querying a db link means exactly the same as if you had gotten it trying to connect with sqlplus, from the same server. Check the link SB provided. Keep in mind that the tnsnames file of concern is the one on the source database server. -
Dear all,
Please help with my Java problem. Thanks in advance.
After successfully installed Oracle 9.2.0.4.0 on EL4, I tried to start netca but I received this error message:
[oracle@localhost bin]$ ./netca: line 138: /u01/app/oracle/product/9.2.0.4.0/JRE/bin/jre: No such file or directory
The JRE link at $ORACLE_HOME is as follows:
lrwxrwxrwx 1 oracle oinstall 21 Oct 27 17:41 JRE -> /usr/java/jre1.6.0_03
.bash_profile as follows:
ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/9.2.0.4.0; export ORACLE_HOME
ORACLE_TERM=xterm; export ORACLE_TERM
PATH=$ORACLE_HOME/bin:$PATH; export PATH
ORACLE_OWNER=oracle; export ORACLE_OWNER
ORACLE_SID=OSIM; export ORACLE_SID
LD_LIBRARY_PATH=$ORACLE_HOME/lib; export LD_LIBRARY_PATH
CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib
CLASSPATH=$CLASSPATH:$ORACLE_HOME/network/jlib; export CLASSPATH
LD_ASSUME_KERNEL=2.6.9; export LD_ASSUME_KERNEL
What do you guys think my problem is?I managed to solve this one. For more information you can search the forum with much earlier dates, as far as 2002. I'm very outdated.
In case you need the solution:
I tried using java 1.3.1 provided together with the Oracle9iR2 installation Disks instead of 1.1.8.
1. Delete the JRE link in $ORACLE_HOME
2. Relink it to 1.3.1 directory
3. create a jre symbolic link in the bin directory to the .java_wrapper
4. create another jre symbolic link in the i386/nativethreads directory to the java file
Good luck -
SQL Developer Problem: Connect Database Windows Wont Show
Hi,
I have Windows Vista Home Basic and I have installed Oracle XE 10g which works great. However, I need to install SQL Developer too but it wont work. I think it may be a compatibility issue, or else some problem with Java. The thing is that no matter how hard I've tried I couldn't beat all the problems I had with the interface. First of all, when I try to make a new Database connection, the option window won't show. Second, when I enter in Preferences, I cannot choose anything but the general option. Also, I don't know where is the connection window.
I would appreciate all the help you can provide. Trying to start with my school project....
Have a nice day. Thanks in advance.
Mikywan.
P.S.: Sorry about my english.I add these lines at <sqldeveloper>\ide\bin\ide.conf and worked.
AddVMOption -Duser.language=en
AddVMOption -Duser.country=US -
Hi gurus,
I having a very documented problem but can't resolved by myself. I need a bit of help.
I have two databases in my laptop, both 11.2.0.1 running in windows 7 (i know that it was unsupported yet but this is not the problem).
Now i want duplicate ORIGINAL to COPY database with rman but i'm having:
RMAN-04006: error from auxiliary database: ORA-12505: TNS:listener does not currently know of SID given in connect
Both databases are running and working well, i can connect in different windows:
set ORACLE_SID=ORIGINAL
sqlplus / as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Jue Ago 2 11:02:47 2012
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Conectado a:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> select name from v$database;
NAME
ORIGINAL
in other window:
set ORACLE_SID=COPY
sqlplus / as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Jue Ago 2 11:02:47 2012
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Conectado a:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> select name from v$database;
NAME
COPYso i check the tnsnames:
# tnsnames.ora Network Configuration File: C:\Users\my_user\miBBDD\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
COPY=
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = copy)
ORIGINAL=
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = ORIGINAL)
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
LISTENER_COPY =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
LISTENER_ORIGINAL =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))All shows normal so check listener services:
C:\Users\my_user>lsnrctl services;
LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 02-AGO-2012 11:30
:28
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Conectßndose a (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
Resumen de Servicios...
El servicio "CLRExtProc" tiene 1 instancia(s).
La instancia "CLRExtProc", con estado UNKNOWN, tiene 1 manejador(es) para este
servicio...
Manejador(es):
"DEDICATED" establecido:0 rechazado:0
LOCAL SERVER
El servicio "DDBBXDB" tiene 1 instancia(s).
La instancia "original", con estado READY, tiene 1 manejador(es) para este servicio...
Manejador(es):
"D000" establecidos:0 rechazados:0 actuales:0 mßximo:1022 estado:ready
DISPATCHER <machine: MY_USER, pid: 4356>
(ADDRESS=(PROTOCOL=tcp)(HOST=MY_USER)(PORT=54428))
El servicio "original" tiene 1 instancia(s).
La instancia "original", con estado READY, tiene 1 manejador(es) para este servicio...
Manejador(es):
"DEDICATED" establecido:0 rechazado:0 estado:ready
LOCAL SERVER
El comando ha terminado correctamenteListener.ora
# listener.ora Network Configuration File: C:\Users\my_user\miBBDD\product\11.2.0\dbhome_1\network\admin\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = C:\Users\my_user\miBBDD\product\11.2.0\dbhome_1)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:C:\Users\my_user\miBBDD\product\11.2.0\dbhome_1\bin\oraclr11.dll")
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
ADR_BASE_LISTENER = C:\Users\my_user\miBBDDand sqlnet.ora
# sqlnet.ora Network Configuration File: C:\Users\my_user\miBBDD\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
# Generated by Oracle configuration tools.
# 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)
NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)I don't know why and how to resolve it, so any idea will be apreciated.
Thanks,I have two databases in my laptop, both 11.2.0.1 running in windows 7 (i know that it was unsupported yet but this is not the problem).+
how could not be problem , please describe to us this sentence ?
It is recommended to run the duplicate database from the Auxiliary database only.
Please run the RMAN duplicate from auxiliary database only.
OR
Make a static entry of the service used in the service name to connect to the auxiliary database.
Back to
RMAN-04006 And ORA-12514 During RMAN Duplicate [ID 883490.1] -
Problems connecting Database by THIN-Driver
Hi,
I can4t connect to the database by the thin-driver. Only the oci8-driver works!
Where do I fail?
oci8-syntax is: jdbc:oracle:oci8:@ICCM","login","password"
thin-syntax is:
jdbc:oracle:thin:@host:port:sid","login","password"
What means "host" in the thins-syntax? The IP-Address or what else???
Any help would be appreciated.
Thanks
Bernd
nullthe host means the ipadress of the server, in number (and this point I'm not sure, if a name server also startet (either on ur local network or via internet, ur can also type the chracter hostname) try both
good luck
Andre
now I have a similar question with tomcat: by trying connecting via tomcat and jdbc thin driver(I'm sure the oracle driver is in the class path, I got a error setting DBURL
no suitbel driver exception.
my string is
<form name="loginform" action="http://localhost:8080/Result.jsp" method="post">
<input type="hidden" name="loginresult" value ="
<member:loginmember
dblogin = "system"
dbpassword = "manager"
dburl = "jdbc:oracle:thin:@the ip adress:1521:databaseid"
dbclass = "oracle.jdbc.driver.OracleDriver"
dbsqlquery = '<%=sSQL %>'
dbstoredproc = "0"
dbshowresults = "0"
dbdebugmode = "0" />
">
any help to me will also be aprriciated
Andre -
after some time my system show message ('Oracle Shutdown or intializaion is in progress'
is there is any solution for this problem because i have to install new windows to rectify this problem so kindly help me out
regardszahid wrote:
after some time my system show message ('Oracle Shutdown or intializaion is in progress'
is there is any solution for this problem because i have to install new windows to rectify this problem so kindly help me out
regardswhat is your oracle version and operation system?
'Oracle Shutdown or intializaion is in progress' the message comes when startup oracle and post your error message from alert log file also.
sqlplus
/ as sysdba
shutdown abort
startup
Edited by: rajeysh on Aug 7, 2010 12:03 PM -
Urgent: Cannot start a Java only dialog instance
We have a JAVA only EP7(CI+DB) running well.
We have installed a dialog instance (Java only) for above CI.
However anyway we cannot start the DI.
Here is the log:
more jvm_bootstrap.out
Bootstrap MODE:
<INSTANCE GLOBALS>
determined by parameter ID0069640.
Exception occurred:
com.sap.engine.bootstrap.SynchronizationException: Database initialization faile
d! Check database properties!
at com.sap.engine.bootstrap.Bootstrap.initDatabaseConnection(Bootstrap.j
ava:422)
at com.sap.engine.bootstrap.Bootstrap.<init>(Bootstrap.java:144)
at com.sap.engine.bootstrap.Bootstrap.main(Bootstrap.java:814)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81
== Caused by: ==----
com.sap.engine.frame.core.configuration.ConfigurationException: Error while conn
ecting to DB.
at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnection
Pool.createConnection(DBConnectionPool.java:360)
at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnection
Pool.<init>(DBConnectionPool.java:125)
at com.sap.engine.core.configuration.impl.persistence.rdbms.PersistenceH
andler.<init>(PersistenceHandler.java:38)
at com.sap.engine.core.configuration.impl.cache.ConfigurationCache.<init
(ConfigurationCache.java:149)
at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBoots
trapImpl.init(ConfigurationManagerBootstrapImpl.java:236)
at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBoots
trapImpl.<init>(ConfigurationManagerBootstrapImpl.java:49)
at com.sap.engine.bootstrap.Synchronizer.<init>(Synchronizer.java:60)
at com.sap.engine.bootstrap.Bootstrap.initDatabaseConnection(Bootstrap.j
ava:419)
at com.sap.engine.bootstrap.Bootstrap.<init>(Bootstrap.java:144)
at com.sap.engine.bootstrap.Bootstrap.main(Bootstrap.java:814)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81
Caused by: java.sql.SQLException: Io exception: Connection reset
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java
:112)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java
:146)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java
:255)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:387)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:
420)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtensio
n.java:35)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
at com.sap.sql.jdbc.NativeConnectionFactory.createNativeConnection(Nativ
eConnectionFactory.java:215)
at com.sap.sql.connect.OpenSQLDataSourceImpl.createPooledConnection(Open
SQLDataSourceImpl.java:608)
at com.sap.sql.connect.OpenSQLDataSourceImpl.getPooledConnection(OpenSQL
DataSourceImpl.java:285)
at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnection
Pool.createConnection(DBConnectionPool.java:302)
... 15 more
Bootstrap module> Problem occurred while performing synchronization.
velssi03:pd5adm 76>
We found some notes but no fix.
Please help! Points guaranteed. Thanks!!Check whether environment variables are correctly set.
-Pinkle -
Can not start instance SAP - ABAP Database is not available via R3trans
Dear all !
My OS : Linux RHEL 4U7 32bit
Oracle 10G R2 32bit 10.2.0.2
when system running but power off suddenly
and when power on ->
i am having problem as below when i start instance SAP (Databse Oracle Started)
Step 1 : I login user (ora<sid>) of Oracel to start up database
Database startup -> OK
then i tried to shutdown database -> OK too
and start up again -> OK
Query -> OK
I think Database do not problem
Step 2: start listener -> OK
Step 3: i login user (<sid>adm) and startup instance SAP (command : startsap r3) with error:
Checking SED Database
ABAP Database is not available via R3trans
Starting SAP-Collector Daemon
11:11:48 10.02.2010 LOG: Effective User Id is root
This is Saposcol Version COLL 20.90 700 - Intel x86 with Linux, PL:75, Aug 29 2006
Usage: saposcol -l: Start OS Collector
saposcol -k: Stop OS Collector
saposcol -d: OS Collector Dialog Mode
saposcol -s: OS Collector Status
The OS Collector (PID 6870) is already running .....
saposcol already running
ABAP Database SED must be started first
Please help me to resolve this problem
Thanks for your adviceDear all !
1. output of tnsping SED :
TNS Ping Utility for Linux: Version 10.2.0.2.0 - Production on 11-FEB-2010 13:51:24
Copyright (c) 1997, 2005, Oracle. All rights reserved.
Used parameter files:
/oracle/SED/102_32/network/admin/sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (COMMUNITY = SAP.WORLD)(PROTOCOL = TCP)(HOST = sapsed)(PORT = 1527))) (CONNECT_DATA = (SID = SED) (GLOBAL_NAME = SED.WORLD)))
OK (0 msec)
2. output startsap_.log
Checking SED Database
ABAP Database is not available via R3trans
Starting SAP-Collector Daemon
saposcol already running
ABAP Database SED must be started first
---> output above repeats many
3. output trans.log
4 ETW000 R3trans version 6.14 (release 700 - 18.09.06 - 09:35:00).
4 ETW000 unicode enabled version
4 ETW000 ===============================================
4 ETW000
4 ETW000 date&time : 11.02.2010 - 13:49:36
4 ETW000 control file: <no ctrlfile>
4 ETW000 R3trans was called as follows: R3trans -d
4 ETW000 trace at level 2 opened for a given file pointer
4 ETW000 [dev trc ,00000] Thu Feb 11 13:49:36 2010 159 0.000159
4 ETW000 [dev trc ,00000] db_con_init called 27 0.000186
4 ETW000 [dev trc ,00000] create_con (con_name=R/3) 55 0.000241
4 ETW000 [dev trc ,00000] Loading DB library '/usr/sap/SED/SYS/exe/run/dboraslib.so' ...
4 ETW000 63 0.000304
4 ETW000 [dev trc ,00000] load shared library (/usr/sap/SED/SYS/exe/run/dboraslib.so), hdl 0
4 ETW000 16430 0.016734
4 ETW000 [dev trc ,00000] Library '/usr/sap/SED/SYS/exe/run/dboraslib.so' loaded
4 ETW000 56 0.016790
4 ETW000 [dev trc ,00000] function DbSlExpFuns loaded from library /usr/sap/SED/SYS/exe/run/dboraslib.so
4 ETW000 41 0.016831
4 ETW000 [dev trc ,00000] Version of '/usr/sap/SED/SYS/exe/run/dboraslib.so' is "700.08", patchlevel (0.73)
4 ETW000 94 0.016925
4 ETW000 [dev trc ,00000] function dsql_db_init loaded from library /usr/sap/SED/SYS/exe/run/dboraslib.so
4 ETW000 38 0.016963
4 ETW000 [dev trc ,00000] function dbdd_exp_funs loaded from library /usr/sap/SED/SYS/exe/run/dboraslib.so
4 ETW000 68 0.017031
4 ETW000 [dev trc ,00000] New connection 0 created 44 0.017075
4 ETW000 [dev trc ,00000] 0: name = R/3, con_id = -000000001 state = DISCONNECTED, perm = YES, reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
4 ETW000 46 0.017121
4 ETW000 [dev trc ,00000] db_con_connect (con_name=R/3) 38 0.017159
4 ETW000 [dev trc ,00000] find_con_by_name found the following connection for reuse:
4 ETW000 37 0.017196
4 ETW000 [dev trc ,00000] 0: name = R/3, con_id = 000000000 state = DISCONNECTED, perm = YES, reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
4 ETW000 39 0.017235
4 ETW000 [dev trc ,00000] Oracle Client Version: '10.2.0.2.0' 480 0.017715
4 ETW000 [dev trc ,00000] -->oci_initialize (con_hdl=0) 42 0.017757
4 ETW000 [dev trc ,00000] Client NLS settings: AMERICAN_AMERICA.UTF8 3789 0.021546
4 ETW000 [dev trc ,00000] Logon as OPS$-user to get SAPSR3's password 48 0.021594
4 ETW000 [dev trc ,00000] Connecting as /@SED on connection 0 (nls_hdl 0) ... (dbsl 700 110706)
4 ETW000 51 0.021645
4 ETW000 [dev trc ,00000] Nls CharacterSet NationalCharSet C EnvHp ErrHp ErrHpBatch
4 ETW000 43 0.021688
4 ETW000 [dev trc ,00000] 0 UTF8 1 0x9511ea0 0x951750c 0x9516d94
4 ETW000 40 0.021728
4 ETW000 [dev trc ,00000] Allocating service context handle for con_hdl=0 40 0.021768
4 ETW000 [dev trc ,00000] Allocating server context handle 52 0.021820
4 ETW000 [dev trc ,00000] Attaching to DB Server SED (con_hdl=0,svchp=0x9516d20,svrhp=0x9528504)
4 ETW000 88 0.021908
4 ETW000 [dboci.c ,00000] *** ERROR => OCI-call 'OCIServerAttach' failed: rc = 12505
4 ETW000 4712 0.026620
4 ETW000 [dbsloci. ,00000] *** ERROR => CONNECT failed with sql error '12505'
4 ETW000 49 0.026669
4 ETW000 [dev trc ,00000] Try to connect with default password 62 0.026731
4 ETW000 [dev trc ,00000] Connecting as SAPSR3/<pwd>@SED on connection 0 (nls_hdl 0) ... (dbsl 700 110706)
4 ETW000 39 0.026770
4 ETW000 [dev trc ,00000] Nls CharacterSet NationalCharSet C EnvHp ErrHp ErrHpBatch
4 ETW000 56 0.026826
4 ETW000 [dev trc ,00000] 0 UTF8 1 0x9511ea0 0x951750c 0x9516d94
4 ETW000 47 0.026873
4 ETW000 [dev trc ,00000] server_detach(con_hdl=0,stale=0,svrhp=0x9528504)
4 ETW000 37 0.026910
4 ETW000 [dev trc ,00000] Detaching from DB Server (con_hdl=0,svchp=0x9516d20,srvhp=0x9528504)
4 ETW000 37 0.026947
4 ETW000 [dev trc ,00000] Deallocating server context handle 0x9528504 45 0.026992
4 ETW000 [dev trc ,00000] Allocating server context handle 48 0.027040
4 ETW000 [dev trc ,00000] Attaching to DB Server SED (con_hdl=0,svchp=0x9516d20,svrhp=0x9528504)
4 ETW000 60 0.027100
4 ETW000 [dboci.c ,00000] *** ERROR => OCI-call 'OCIServerAttach' failed: rc = 12505
4 ETW000 1538 0.028638
4 ETW000 [dbsloci. ,00000] *** ERROR => CONNECT failed with sql error '12505'
4 ETW000 41 0.028679
4 ETW000 [dblink ,00431] ***LOG BY2=>sql error 12505 performing CON [dblink#3 @ 431]
4 ETW000 131 0.028810
4 ETW000 [dblink ,00431] ***LOG BY0=>ORA-12505: TNS:listener does not currently know of SID given in connect descriptor [dblink#3 @ 431]
4 ETW000 39 0.028849
2EETW169 no connect possible: "DBMS = ORACLE --- dbs_ora_tnsname = 'SED'"
thansk for your help
Edited by: myfriend280985 on Feb 11, 2010 7:53 AM -
After Installing Application Server - Problem connecting to my Databases
I have 10g installed on my Windows server, and have no problems connecting to my database(s). After I install Application Server 10g, I am no longer able to connect to any of them, as if the TNSNAMES.ORA file is no longer configured correctly. I am training myself on these applications. Anyone have any suggestions what is happening behind the scenes?
Thank you,
Daniel NadlerAfter deploying a jsf application via the web interface of the application server enterprise manager I tried to connect to the 10g database - and it failed with the same error as yesterday?
I really don't unterstand what is going on. I would really appreciate it if someone could point me out where to start digging for a solution / unterstanding of the problem.
Quoting this thread (installing db on same server as AS): 10gAS and Database Server on the same machine
>
Yes, you can do this. Here are some guidelines:
(1) Make sure your system requirements are sufficient to handle the application server and the database. The recommendation is to add the AS system requirements and the DB system requirements together.
(2) Install each product into its own Oracle home. For example:
- Oracle Home 1: AS Mid-tier
- Oracle Home 2: AS Infrastructure (including Metadata Repository)
- Oracle Home 3: Database
(3) If your AS installation includes a Metadata Repository, make sure that the
Metadata Repository and the database use a different SID and global db name.
(4) It is possible that the Metadata Repository and the database can share
port 1521. Review this information before you start your AS installation:
http://download.oracle.com/docs/cd/B14099_19/win.1012/install.1012/install/reqs.htm#CIHEBFDG
The installation guide under (4) tells me that I don't have to worry since I use a new listener version.
To complete the confusion: on my virtual test machine oracle 10g and oracle AS 10g work fine side by side?? Perhaps because I did a Standard Edition install of the database (on the real machine I used Enterprise Edition)? Is there a way to figure out what kind of install I did?
Lots of questions, any help or links are really appreciated! Thanks in advance!
------------------ EDIT -------------------
Whoops, I might had a problem with a not correctly shut down database (just shutted windows down without killing the instance - didn't know this wasn't ok). Still evaluating the issue. But to say the least, it seems the application server has nothing to do with my problem :)
Message was edited by:
mathias.ringhof -
Problem while connecting to DB2 through JDBC...Help PLZZZZZZZZZZZ
Hi Everyone, I am facing this exception when I try to connect to DB2 to which installed on Z/OS. Please help me
for your ref I am pasting my code below exception
com.ibm.db2.jcc.b.SqlException: IO Exception opening socket to server 10.108.45.151 on port 446. The DB2 Server may be down.
at com.ibm.db2.jcc.a.a.<init>(a.java:137)
at com.ibm.db2.jcc.a.b.a(b.java:1542)
at com.ibm.db2.jcc.b.o.<init>(o.java:795)
at com.ibm.db2.jcc.a.b.<init>(b.java:298)
at com.ibm.db2.jcc.DB2Driver.connect(DB2Driver.java:162)
my code is:--
try {
Class.forName("com.ibm.db2.jcc.DB2Driver");
} catch (ClassNotFoundException se) {
se.printStackTrace();
System.out.println(se);
try {
cn =DriverManager.getConnection("jdbc:db2://11.112.41.12:446/dbname","uname","pwd");
} catch (Exception e) {
e.printStackTrace();
}You will need to check this error message on metalink and likely on an SR.
But with RAC you should not be connecting to the database, or in most cases, to a specific instance: You should be connecting to a TAF (or FCF) service. -
Error trying to connect to DB2 database....
Am using the following code to connect to db2 database, but when run am getting error messgae as shown,
try
Class.forName("COM.ibm.db2.jdbc.net.DB2Driver").newInstance();
catch(Exception exception)
System.err.println("Unable to load driver.");
exception.printStackTrace();
try
Connection connection = DriverManager.getConnection("jdbc:db2://xxx.xxx.xxx.xxx:port/dbname");
error message.....
Exception in thread "main" java.lang.NoClassDefFoundError:
.....Any suggestions gratefully recieved....It does not matter whether your database server is running locally or on a remote server. Most of the times it will be on a remote server.
But the driver and the related stuff must be in your local machine's classpath. Only then you can compile or run your application locally. Include db2 package in the classpath and then try to compile your program. You can search in this forum about setting the classpath details.
Every fourth thread in this forum will be about classpath or related problems.
Sudha -
Agent Connection to Instance error in Oracle Database 11G EM
Hi
I am getting the following error message when logging into EM on Oracle 11G Database.
Failed to connect to database instance: ORA-12541: TNS:no listener (DBD ERROR: OCIServerAttach).
Users can connect to the database no problem and it shows the Database Instance down, Agent Connection to Instance failed. The General tab shows green and the database is up.
I have checked the emctl status and lsnrctl commands and the listener is up and servicing the database. I checked the ORACLE_SID environment (in Windows Server 2003) and this is correct.
I have recently changed the passwords for SYSMAN and DBNSMP which were due to expire and since then the EM console has not loaded correctly.
As I said the database is up and can service users through their application.
Any help would be appreciated.
Respect.Hi
The listener is up and is handling the database and users are connecting succesfully. I think it is more to do with the Enterprise Manager.
Can anyone give me some further info to troubleshoot?
Regards
Spencer -
Problem with connecting to DB2 from ADFBC
I have a problem with connection to DB2 data using ADF BC components. Everything looks fine till I run the page(JSF) to see the data of a db2 table. I created a read only view object. This view is registered in the AM and from AM the view is returning the rows without any problem. But when I am running the page which has the view as a table these errors are thrown. Please help me to fix this.
JBO-30003: The application pool (od.mft.views.MFTServiceLocal) failed to checkout an application module due to the following exception:
oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.DMLException, msg=JBO-26061: Error while opening JDBC connection.
at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2002)
## Detail 0 ##
oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.DMLException, msg=JBO-26061: Error while opening JDBC connection.
at oracle.jbo.pool.ResourcePool.useResource(ResourcePool.java:336)
## Detail 0 ##
oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.DMLException, msg=JBO-26061: Error while opening JDBC connection.
at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:545)
## Detail 0 ##
oracle.jbo.DMLException: JBO-26061: Error while opening JDBC connection.
at oracle.jbo.server.ConnectionPool.createConnection(ConnectionPool.java:220
## Detail 0 ##
java.sql.SQLException: No suitable driver
at java.sql.DriverManager.getConnection(DriverManager.java:545)
Thanks
GangsSteve, the tester works good as expected and its retreiving the rows. As I said earlier the problem is with the JSF page when I ran the page on Embeded Oc4j of Jdev the page showing the above. The exception does not show on the console.
Please let me know if you need any more details.
thanks
Gangs -
Problem connecting Oracle 9i Lite to Oracle 9i Database
Hi,
I have just started working with Oracle 9i Lite and I am having
problems connecting to an Oracle 9i (9.0.1) database using the
packaging wizard. I can connect ok using SQL*Plus but when I connect
using this wizard the database is located i.e. no errors arise, but
the database schemas and tables are not found i.e. list is not
popluated.
However if I try to connect to an Oracle 8i (8.1.7) database there is
no problem and the schemas and tables are found with the list being
popluated.
Does anyone know what the problem could be?
Regards
Andrew.I am having a similar problem, where I couldn't connect to Oracle 8i database (817). I am getting a error message when I tried to use Packaging Wizard -> Snapshot -> Import -> Username/password and jdbc:oracle:oci8:@connect string or jdbc:oracle:thin:@host:1521:Sid
The error message is 'No Suitable Driver. Make Sure the Proper JDBC drive for "jdbc:oracle:oci8i:@<connect string>" is in the classpath"
I would appricated if someone can send me any help on this.
My email address is [email protected]
Thanks
Joshua
Maybe you are looking for
-
Satellite P50-B-103 - Connect my HDMI output to a VGA monitor
Hello everyone, I have just bought a satellite *P50-B-103*, which only has a HDMI output and I would like to connect it to an external VGA monitor. I thought I only need to buy a HDMI - VGA converter but the buyer said to me that Toshiba, unless this
-
Why does Premiere Pro not show in the Creative Cloud
I just bought the montly membership, paid, got the confirmation, but still Premiere Pro does not show in my Creative Cloud options - under audio/video it only shows and Photoshop, Prelude and Audition. When I use the link in the email confirmation t
-
Hi all, When an employee clock in by his magnetic card on time machine, some times the machine take two clock ins and the same in out, and that occurs error in time evaluation in TD20. i want the system take the first clock in and the last clock out
-
Help. HTMLDocument.getElement(id) doesn't work, return me null.
i think the method getElement(String id) would get me the whole tag with the specific id, but it returns me null value. The following is my html and a test program. What's wrong with it? Please Help. Thank you very much. here is my boo.html file <htm
-
When I try to download a new version of Itunes I get : the older version of bonjour cannot be removed. Any sugestions?