Error while connecting to database
I have deployed an asp.net web application on a windows server2003 ,the database is oracle10g and the servers .net framework is version 1.
the application runs correctly on windows xp with .net framework version 1.1 ,but when I run the application on the server it returns this error:
System.Data.OracleClient requires Oracle client software version 8.1.7 or greater.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Exception: System.Data.OracleClient requires Oracle client software version 8.1.7 or greater.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[Exception: System.Data.OracleClient requires Oracle client software version 8.1.7 or greater.]
System.Data.OracleClient.DBObjectPool.GetObject(Object owningObject, Boolean& isInTransaction) +207
System.Data.OracleClient.OracleConnectionPoolManager.GetPooledConnection(String encryptedConnectionString, OracleConnectionString options, OracleConnection owningObject, Boolean& isInTransaction) +165
System.Data.OracleClient.OracleConnection.OpenInternal(OracleConnectionString parsedConnectionString, Object transact) +600
System.Data.OracleClient.OracleConnection.Open() +32
BusinessLayer.DbLayer.DAL.Select(String selectStr) in e:\mansouri\voisual studio projects\rims\businesslayer\dblayer\dal.cs:45
RIMS.Common.Public.FillGrid(UltraWebGrid grid, String cmdStr) in E:\Mansouri\Voisual Studio Projects\RIMS\Common\Public.cs:135
RIMS.MainInitialInfo.FrmSemat.Page_Load(Object sender, EventArgs e) in E:\Mansouri\Voisual Studio Projects\RIMS\MainInitialInfo\FrmSemat.aspx.cs:52
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +750
Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET Version:1.1.4322.2300
I have changed the permissions to the Oracle_home folder to read & execute for everyone and restarted the server but still recieve the error msg.
Can AnyOne Help Me With This Problem?
Hi
DId you end up resolving this as I am getting a similar error and not sure how to fix it.
Thanks
Alex
Similar Messages
-
Error while connecting MYSQL Database
Hi,
I use a 30 days trial of Crystal Reports 2008. When i try to connect with the database i always get the next error: [http://www.visiscan.nl/error.jpg]
The database is 4.1GB large and there is 10GB free space on the database.
Anybody can tell me what to do?Hi Tom,
As I understand the error while connecting to database is
u201CFailed to retrieve data from databaseu201D
There could be some could be multiple reasons for this.
If you are using an ODBC connection then try to check the DSN. Recreate the same and then try.
If the database is oracle check if native client is installed and try to ping from the native client to check if it responds.
When connecting to Oracle, ensure that the Service name is identical to that used in the <ORA_HOME>/network/admin/tnsnames.ora file on the BusinessObjects XI Release 2 server.
For ODBC databases, ensure that the ODBC DSN is exactly the same in the ODBC Manager as on the BusinessObjects XI Release 2 server.
Please let us know if this helps
Regards,
Aditya Joshi -
Error while connecting to Database after Database upgradation
Hi All,
I installed and worked with BAM and used Oracle Database 9i previously. After the Database
was upgraded to 10g (10.2.0.4.0 which is compatible for BAM), I am trying to ReInstall BAM
which is throwing me an error.
It accepts the Database Login Information but at the step of building Repository for
Enterprise Link it gives up the following error:
' A connection with the database cannot be made '
Can anyone please help me to figure out this one.
Thanks,
VishalHi,
I also have the same problem.Could you plz tell us what configuration I need to add in tnsnames.ora file.
content of my tnsnames.ora file is below
# tnsnames.ora Network Configuration File: C:\DevSuiteHome_2\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = Rahul-PC)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = PLSExtProc)
) -
Getting error while connecting to database
while i try to connect to the database i'm getting the foollowing error
java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.sun.jdbc.odbc)
the part of my code which is used to connect to the database is as follows
<applet code="Part1" width=500 height=500>
</applet>
public class Part1 extends Applet implements ActionListener
public void init()
try
//Class.forName ("oracle.jdbc.driver.OracleDriver");
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
catch(ClassNotFoundException e)
System.out.println("EXCEPTION--"+e.getMessage());
System.out.println("DRIVER NOT FOUND");
Connection conn=null;
try
//Making the database connection
conn= DriverManager.getConnection("jdbc:odbc:xyz");
catch(Exception e)
System.out.println("EXCEPTION IN CONNECTION::"+e.getMessage());
System.exit(-1);
}public class Applet1 extends JApplet {
private JButton DbConnect = new JButton();
private JTextArea empValues = new JTextArea();
private Connection con;
private JLabel jLabel1 = new JLabel();
public Applet1() {
public void init() {
try {
jbInit();
} catch(Exception e) {
e.printStackTrace();
private void jbInit() throws Exception {
this.getContentPane().setLayout(null);
DbConnect.setText("Click to Connect to DB");
DbConnect.setBounds(new Rectangle(90, 225, 175, 40));
DbConnect.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
connectToDB(e);
empValues.setBounds(new Rectangle(40, 50, 310, 150));
jLabel1.setText("Emp Records :");
jLabel1.setBounds(new Rectangle(45, 20, 155, 20));
this.getContentPane().add(jLabel1, null);
this.getContentPane().add(empValues, null);
this.getContentPane().add(DbConnect, null);
private void connectToDB(ActionEvent e) {
try {
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
con = DriverManager.getConnection
("jdbc:oracle:thin:@localhost:1521:ora9202","scott","tiger");
empValues.setText("Connected to the Database.
Fetching Values from DEPT Tables.\n");
fetchValues();
} catch (SQLException ex) {
System.out.println("Connection Error = " + ex.toString());
} -
Hi,
I have installed Oracle Workflow Builder 2.6.3 recently on my system and after installation, when I am trying to connect the workflow builder (using database username/password of that particular instance), it is throwing me the following error:
220: Unable to set NLS_LANGUAGE.
210: Oracle Error: ORA-01403: no data found
. SQL text: SELECT NLS_LANGUAGE FROM WF_LANGUAGES WHERE :l IN (NLS_LANGUAGE, CODE)
In the previous threads when I searched for the same issue, I found that if
select value from v$nls_parameters
where parameter='NLS_CHARACTERSET';
returns the value other then WE8ISO8859P1 then that is what I should change my NLS_LANG entry for the builder - i.e. AMERICAN_AMERICA.<character set>.
But I am not getting where should I change NLS_LANG, it is located where...some file? I am new to Workflow.
Please help me. I tried a lot. Any type of help will be highly appreciated.
Thanks,
SumirThis issue (and solution) is described in ML Doc 577905.1 (Error While Connecting To Database Via Workflow Builder)
HTH
Srini -
Hi,
We are getting the error while connecting the database.
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
IBM AIX RISC System/6000 Error: 2: No such file or directory
Error persists only for second or two & again connection comes back.
NOTE-- When this happens only new connection recives the error while existing connection work properly.
On metalink the error description is.
Cause: Unable to locate shared memory realm
Action: Verify that the realm is accessible
also I have checked
SQL> select resource_name,current_utilization,max_utilization,limit_value from v$resource_limit;
RESOURCE_NAME CURRENT_UTILIZATION MAX_UTILIZATION LIMIT_VALU
processes 1044 1091 1100
sessions 1052 1097 1400
enqueue_locks 208 437 17404
enqueue_resources 248 335 UNLIMITED
ges_procs 0 0 0
Kindly advice urgent.IBM AIX 5L
10.2.0.3
Client OS is Windows XP & oracle client using is oracle 8 & 9i client.
TNS Entery of client
AIX.WORLD =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (COMMUNITY = tcp.world)(PROTOCOL = TCP)(Host = 192.168.16.50)(Port = 1521))
(ADDRESS = (COMMUNITY = tcp.world)(PROTOCOL = TCP)(Host = 192.168.16.50)(Port = 1526))
(CONNECT_DATA =
(SID = ORCL)
There is only one oracle home on the client mechine
entries in sql* net are
names.directory_path = (TNSNAMES)
names.default_domain = world
name.default_zone = world
names.default_domain=world
erro in the listener log is
18-MAY-2009 16:42:25 * (CONNECT_DATA=(SID=ORCL)(CID=(PROGRAM=UdyogGrid.Exe)(HOST=Windows NT PC)(USER=vmittal))) * (ADDRESS=(PROTOCOL=tcp)(HOST=221.135.27.180)(PORT=2021)) * establish * ORCL * 0
18-MAY-2009 16:42:33 * ping * 0
WARNING: Subscription for node down event still pending.
NOTE-- Problem started from the day we have set the password for the listener.
Kindly advice.
Edited by: Sachin A on May 18, 2009 10:08 PM -
Error while connecting to DB, when checking installation type of NW04S-Inst
Hi,
i installed a new netweaver 04s - system on sles10sp2 as distributed system.
SCS is ok, Database DB6 installation is also successfull.
Now i install the central instance, but when sapinst checks the installation type (i select nothing), the installation failed with:
Execution of the command "/usr/lib64/jvm/java/bin/java -classpath /tmp/sapinst_instdir/NW04S/SYSTEM/DB6/DISTRIBUTED/AS/CI/install/sharedlib/launcher.jar -showversion com.sap.engine.offline.OfflineToolStart com.sap.inst.jsourcecheck.JSourceCheck /tmp/sapinst_instdir/NW04S/SYSTEM/DB6/DISTRIBUTED/AS/CI/install/lib/iaik_jce.jar:/mnt/sapcd/NW04S_SR2n/BS_2005_SR2_SAP_Installation_Master/IM_LINUX_X86_64/COMMON/INSTALL/jsourcecheck.jar:/tmp/sapinst_instdir/NW04S/SYSTEM/DB6/DISTRIBUTED/AS/CI/install/lib:/tmp/sapinst_instdir/NW04S/SYSTEM/DB6/DISTRIBUTED/AS/CI/install/sharedlib:/home_sap/db2i33/sqllib/java/db2jcc.jar:/home_sap/db2i33/sqllib/java/db2jcc_license_cu.jar -systemName I33 -ssPropFile /usr/sap/I33/SYS/global/security/data/SecStore.properties -ssKeyFile /usr/sap/I33/SYS/global/security/data/SecStore.key -trace all" finished with return code 101. Output:
java version "1.4.2"
Java(TM) 2 Runtime Environment, Standard Edition (build 2.2)
IBM J9SE VM (build 2.2, J2RE 1.4.2 IBM J9 2.2 Linux amd64-64 j9xa64142-20080130 (JIT enabled)
J9VM - 20071205_1933_LHdSMr
JIT - r7_level20071016_1845)
PerfTimes : loadNativeLayer: loading jperflib failed. jperflib (Not found in java.library.path)
com.sap.engine.frame.core.configuration.ConfigurationException: Error while connecting to DB.
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
Caused by: com.ibm.db2.jcc.b.SqlException: [ibm][db2][jcc][t4][2013][11249] Connection authorization failure occurred. Reason: User ID or Password invalid.
at com.ibm.db2.jcc.c.b.i(b.java:2002)
at com.ibm.db2.jcc.c.b.c(b.java:1657)
at com.ibm.db2.jcc.c.bb.r(bb.java:792)
I see the reason, but i don't know which user is mean ?
Can anyone help me ?
Best Regards,
TomThis issue (and solution) is described in ML Doc 577905.1 (Error While Connecting To Database Via Workflow Builder)
HTH
Srini -
Error while connecting to the database from a JSP Page
Hi,
I am using a simple JSP page which is based on the sample JSP pages from OTN.
When I try to connect to my database using the following code:
InitialContext ic = new InitialContext();
OracleDataSource ds = (OracleDataSource)ic.lookup("jdbc/OTN9iDS");
m_connection = ds.getConnection();
I get the following error:
Naming exception Error while connecting to the database : javax.naming.NameNotFoundException: jdbc/OTN9iDS not found in JDBCTest-JDBCTestProject-webapp
Does anybody know wht this is happening?
Any help would be appreciated
FRankHi Frank,
Are you using standalone OC4J or 9iAS ? If you are using standalone OC4J then you need to add a proper data source entry in %OC4J_HOME%j2ee\home\config\data-sources.xml file.
If you are using 9iAS the you can log in to the Enterprise Manager console and add the data source entry by using wizard provided by 9iAS.
Ensure the case of the JNDI lookup string, since, it is case sensitive.
Hope this helps.
Abhijeet -
Gating error while creating standby database in oracle 11g
Dear Gurus
I am getting following error while creating standby database. My database version is oracle 11g 11.2.0.1 in Redhat 5.2
RMAN> duplicate target database for standby from active database;
Starting Duplicate Db at 10-MAY-12
using channel ORA_AUX_DISK_1
contents of Memory Script:
backup as copy reuse
targetfile '/oracle/product/11.2.0/dbhome_1/dbs/orapworcl' auxiliary format
'/oracle/product/11.2.0/dbhome_1/dbs/orapwstdb' ;
executing Memory Script
Starting backup at 10-MAY-12
using channel ORA_DISK_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 05/10/2012 15:44:18
RMAN-03015: error occurred in stored script Memory Script
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 05/10/2012 15:44:18
ORA-17629: Cannot connect to the remote database server
ORA-17627: ORA-12528: TNS:listener: all appropriate instances are blocking new connections
ORA-17629: Cannot connect to the remote database server
RMAN>
Regards
RabiHello;
Generally for the connection to work you need to add something like this to the listener.ora file :
(SID_DESC =
(global_dbname = STANDBY.hostname)
(ORACLE_HOME = /u01/app/oracle/product/11.2.0.2)
(sid_name = STANDBY)
)You should stop and start the listener on the Standby after adding this. Also your tnsnames.ora must be correct on both the primary and the Standby.
Also you need an INIT for the Standby side :
STANDBY.__db_cache_size=343932928
STANDBY.__java_pool_size=4194304
STANDBY.__large_pool_size=4194304
STANDBY.__oracle_base='/u01/app/oracle'#ORACLE_BASE set from environment
STANDBY.__pga_aggregate_target=281018368
STANDBY.__sga_target=834666496
STANDBY.__shared_io_pool_size=0
STANDBY.__shared_pool_size=469762048
STANDBY.__streams_pool_size=0
audit_file_dest='/u01/app/oracle/admin/PRIMARY/adump'
audit_trail='db'
compatible='11.2.0.0.0'
control_files='/u01/app/oracle/oradata/PRIMARY/control01.ctl','/u01/app/oracle/oradata/PRIMARY/control02.ctl'
db_block_size=8192
db_domain='SOME.DOMAIN.COM'
db_flashback_retention_target=2880
db_name='PRIMARY'
db_recovery_file_dest_size=2147483648
db_recovery_file_dest='/u01/app/oracle/flash_recovery_area'
diagnostic_dest='/u01/app/oracle'
dispatchers='(PROTOCOL=TCP) (SERVICE=PRIMARYXDB)'
log_archive_dest_1='LOCATION=USE_DB_RECOVERY_FILE_DEST'
open_cursors=300
pga_aggregate_target=277872640
processes=150
remote_login_passwordfile='EXCLUSIVE'
sga_target=833617920
undo_tablespace='UNDOTBS1'
log_archive_dest_1='LOCATION=USE_DB_RECOVERY_FILE_DEST VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=STANDBY'
log_archive_dest_2='SERVICE=PRIMARY LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) '
LOG_ARCHIVE_DEST_STATE_1=ENABLE
LOG_ARCHIVE_DEST_STATE_2=DEFER
LOG_ARCHIVE_MAX_PROCESSES=30
FAL_SERVER=STANDBY
STANDBY_FILE_MANAGEMENT=AUTO
DB_UNIQUE_NAME=STANDBYFinally
startup nomount
Start RMAN and issue duplicate command
$ORACLE_HOME/bin/rman target=sys/@primary auxiliary=sys/@standby
RMAN>duplicate target database for standby from active database NOFILENAMECHECK;
Keys to success
1. New Standby start NOMOUNT on new password file. ( On Oracle 11 you must copy and rename the file from Primary server )
2. Hard coded listener on new Standby server.
3. Correct tnsnames.ora files.
4. Correct duplicate command.
Please consider closing some of you old answered questions
Best Regards
mseberg
Edited by: mseberg on May 10, 2012 7:06 AM -
Installing Java Dialog Instance - Error while connecting to DB
We would like to add a dialog instance to our production Portal server. We installed Portal as stand-alone on the central instance. We have another server we would like to setup to serve as a Portal dialog instance.
So far I have installed Windows 2003 Server Standard. Installed MSSQL server client tools (database is mssql server). Installed jdk 1.4.62. Set java home and path environmental variables. I'm now installing the Java dialog instance (I can't find any documentation on this). From Netweaver installation CD> SAP NetWeaver '04 Support Release 1> Java System> MS SQL Server> Dialog Instance Installation>
SAP System ID: (sid) ES2
Central Host: SAPEPS02
Path to JAVA DVD supplied> JDK Directory confirmed> Domain paramaters confirmed> domain<sid> account passwords supplied> domain<service><sid> account password supplied> Instance number confirmed>
Installation started> It gets to step 8 and fails stating "Error while connecting to DB". I looked through all the log files and couldn't come up with anything (i'm very thorough).
I tried adding the users to the database as dbowners (no luck). I installed SQL server 2000 with SP4. No where during this installation did I get prompted for database parameters?
Is there something basic i'm missing? Does this scenario not work? Any help would be greatly appreciated. Pointing me in the right direction of the correct documentation would also be appreciated. Thank you in advance.
Sincerely,
Brad DridiHi Brad,
I am facing the same problem. I hope by now you must have got the solution for this.
Can you please let me know how did you overcome this situation?
Thank you!!
Regards,
Abhijeet Bhagat -
JCONTROL - dies with Error while connecting to DB
Hi....Experts
DB : Oracle 10.2.0.4.0
OS ; AIX 5.3
NW : 7.0 SP22
UT : EP
Yesterday the above server got rebooted by a power failure. after that
The server's DB is coming up as ora<sid> user, listener is also up
But as <sid>adm user - when i am starting . The jcotnrol dies and in thee work directory
....log_bootstrap_ID1168012.0.log fiel shows the below messages in the tail end,
================================================================
ERROR-1 : OBSERVED
================================================================
==[ Caused by: ]==----
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>(PersistenceHandler.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:473)
at com.sap.engine.bootstrap.Bootstrap.<init>(Bootstrap.java:146)
at com.sap.engine.bootstrap.Bootstrap.main(Bootstrap.java:971)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:61)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.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: There is no process to read data written to a pipe.
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(T4CDriverExtension.java:35)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
at com.sap.sql.jdbc.NativeConnectionFactory.createNativeConnection(NativeConnectionFactory.java:215)
at com.sap.sql.connect.OpenSQLDataSourceImpl.createPooledConnection(OpenSQLDataSourceImpl.java:608)
at com.sap.sql.connect.OpenSQLDataSourceImpl.getPooledConnection(OpenSQLDataSourceImpl.java:285)
at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.createConnection(DBConnectionPool.java:307)
... 15 more
[Feb 10, 2012 4:46:28 PM ] [Bootstrap module]> Problem occurred while performing synchronization.
================================================================
ERROR-2 : OBSERVED
================================================================
also i see error in work directory ...sapcpe.log as below
Host:d45adm> more sapcpe.log
2012/02/10 19:01:45
sapcpe version UC: @(#) $Id: //bas/700_REL/src/ccm/sapstart/sapxxcpe.c#20 $ SAP
Command line:
0: /usr/sap/D45/SYS/exe/run/sapcpe
1: name=D45
Trace level (profile): 1
INFO: Try to find file table sapcpeft (default:sapcpeft)
INFO: Try to find file table in the central directory /usr/sap/D45/SYS/exe/ctrun/sapcpeft
INFO: not found any file table.
source: /usr/sap/D45/SYS/exe/ctrun
target: /usr/sap/D45/SYS/exe/run
ERROR: sapcpe: find <src> /usr/sap/D45/SYS/exe/ctrun failed, 2, No such file or directory, [sapxxcpe.c:1464]
sapcpe.log: END
================================================================
any thoughts & advises, clues ???
Rgds
PRISSUE - RESOLVED
####Summary######################################
Key Word of this Issue :
Exception in thread "main" java.sql.SQLException: Io exception: There is no process to read data written to a pipe.
Reason
Name resolution by conflict / failure by netsvc.conf even we have hostfile & ping works with host name for Every user.
Solution
Adjusted netsvc.conf file to use the hostfile.
DETAILS OF RESOLUTION
OSS Experts asked me to copy the results
SAP Note No. 867176: FAQ: Oracle JDBC (JdbcCheckup) - Point 10
01. I copied JdbcCheckup.sar to location /home/sidadm/867176-jdbchkup/
02. Extracted the same in same foler with command : SAPCAR -xvf JdbcCheckup.sar
03. Now folder contained 2 files ""JdbcCheckup.java"" and "" JdbcCheckup.sar""
04. my JDBC driver file ojdbc14.jar is in location /oracle/client/10x_64/instantclient/
05. To determine the JDBC driver version issued the below command as per note
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
$Command : java -classpath /oracle/client/10x_64/instantclient/ojdbc14.jar:. JdbcCheckup
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
Please enter information to test connection to the database
user: SAPSR3DB
password: PASSWORD
database(a TNSNAME entry): SID
Hostname: portalserver
Port (1521): 1527
Connecting to the database...Connecting...
jdbc:oracle:thin:@portalserver:1527:SID, SAPSR3DB, PASSWORD
Exception in thread "main" java.sql.SQLException: Io exception: There is no process to read data written to a pipe.
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:441)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
at java.sql.DriverManager.getConnection(DriverManager.java:559)
at java.sql.DriverManager.getConnection(DriverManager.java:189)
at JdbcCheckup.main(JdbcCheckup.java:128)
portalserver:sidadm>
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
06. Immediately id did google with above Syntax of error.
"""java.sql.SQLException: Io exception: There is no process to read data
written to a pipe"""
https://forums.oracle.com/forums/thread.jspa?threadID=1320173
which was referring about netsvc.conf
With UNIX Team discussions, adjusted the host file as first name
resolution source and DNS servers list followed in same(netsvc.conf) file. which
fixed the issue and "JdbcCheckup" passed.
07. JdbcCheckup Command - Passed output.
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
$Command : java -classpath /oracle/client/10x_64/instantclient/ojdbc14.jar:. JdbcCheckup
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
Command : java -classpath /oracle/client/10x_64/instantclient/ojdbc14.jar:. JdbcCheckup
Please enter information to test connection to the database
user: SAPSR3DB
password: PASSWORD
database(a TNSNAME entry): SID
Hostname: portalserver
Port (1521): 1527
Connecting to the database...Connecting...
jdbc:oracle:thin:@portalserver:1527:SID, SAPSR3DB, PASSWORD
connected.
=============
Database Product Name is ... Oracle
Database Product Version is Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, Data Mining and Real Application Testing options
=============
JDBC Driver Name is ........ Oracle JDBC driver
JDBC Driver Version is ..... 10.2.0.4.0
=============
Hello World
Your JDBC installation is correct.
portalserver:sidadm>
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
BIG THANK TO EVERYONE !!!!!!!!!!!!!!!!
REGARDS
PR -
Error while Registering the Database with Catalog..
I m creating recovery catalog in same database, and getting the errors.
1. I have created TOOLS tablespace
2.CREATE USER RMAN2
SQL> CREATE USER rman IDENTIFIED BY cat
2 TEMPORARY TABLESPACE temp
3 DEFAULT TABLESPACE tools
4 QUOTA UNLIMITED ON tools;
CREATE USER rman IDENTIFIED BY cat
ERROR at line 1:
ORA-01920: user name 'RMAN' conflicts with another user or role name
SQL> ed
Wrote file afiedt.buf
1 CREATE USER rman2 IDENTIFIED BY cat
2 TEMPORARY TABLESPACE temp
3 DEFAULT TABLESPACE tools
4* QUOTA UNLIMITED ON tools
SQL> /
User created.
3. GRANT RECOVERY_CATALOG_OWNER
SQL> GRANT RECOVERY_CATALOG_OWNER TO rman2;
Grant succeeded.
4. To create the recovery catalog:
1. Connect to the database that will contain the catalog as the catalog owner.
H:\>rman catalog rman2/cat@rock
Recovery Manager: Release 10.2.0.1.0 - Production on Fri Sep 5 10:45:52 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
connected to recovery catalog database
2. Run the CREATE CATALOG command to create the catalog.
RMAN> CREATE CATALOG;
recovery catalog created
3. Optionally, start SQL*Plus and query the recovery catalog to see which tables were created:
H:\>sqlplus
SQL*Plus: Release 10.2.0.1.0 - Production on Fri Sep 5 11:53:36 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Enter user-name: rman2/cat
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> select count(*) from cat;
COUNT(*)
91
SQL> ed
Wrote file afiedt.buf
1 select owner, table_name, tablespace_name
2 from dba_tables
3* where table_name='DB'
SQL> /
OWNER TABLE_NAME
TABLESPACE_NAME
RMAN2 DB
TOOLS
RMAN DB
ABAMCO_TEST
Next step is to registering the Database in the Recovery Catalog.
Registering a Database in the Recovery Catalog
H:\>rman TARGET / CATALOG rman2/cat@rock
Recovery Manager: Release 10.2.0.1.0 - Production on Fri Sep 5 11:56:09 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00554: initialization of internal recovery manager package failed
RMAN-04005: error from target database:
ORA-01031: insufficient privileges
I m getting above error while registering the Database with Catalog,
Can anybody help me how can I register the Database with Catalog.????
Waiting for Reply!!!!!!!Dear Manoj I can log in at TARGET Database.
H:\>rman
Recovery Manager: Release 10.2.0.1.0 - Production on Fri Sep 5 12:41:59 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
RMAN> connect target sys/rock
connected to target database: ROCK (DBID=3255117147)
RMAN>
============================================================
USING CONNECT STRING as you said.
H:\>rman target "sys/rock@rock as sysdba" catalog rman2/cat@rock
Argument Value Description
target quoted-string connect-string for target database
catalog quoted-string connect-string for recovery catalog
nocatalog none if specified, then no recovery catalog
cmdfile quoted-string name of input command file
log quoted-string name of output message log file
trace quoted-string name of output debugging message log file
append none if specified, log is opened in append mode
debug optional-args activate debugging
msgno none show RMAN-nnnn prefix for all messages
send quoted-string send a command to the media manager
pipe string building block for pipe names
timeout integer number of seconds to wait for pipe input
checksyntax none check the command file for syntax errors
Both single and double quotes (' or ") are accepted for a quoted-string.
Quotes are not required unless the string contains embedded white-space.
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00552: syntax error in command line arguments
RMAN-01009: syntax error: found "as": expecting one of: "append, at, auxiliary, catalog, cmdfile, clone, checksyntax, debug, log, msglog, mask, msgno, nocatalog, pipe, rcvcat, script, slaxdebug, send, target, timeout, trace"
RMAN-01007: at line 0 column 16 file: command line arguments
H:\>rman
It didnt work either.
I have only one database rock, and created recovery catalog in it. I want to register rock database with recovery catalog. -
I am getting error while connecting to sqlplus by using apps account in 11i
i am getting error while connecting to sqlplus by using apps account in 11i. Does anyone has similar error.
[applmgr@appsc05t01 admin]$ sqlplus
SQL*Plus: Release 8.0.6.0.0 - Production on Mon Sep 13 14:34:52 2010
(c) Copyright 1999 Oracle Corporation. All rights reserved.
Enter user-name: apps
ERROR:
ORA-12514: Message 12514 not found; product=RDBMS; facility=ORA
Enter user-name:
Thanks
Raoyes.
login as: gorantla
[email protected]'s password:
Last login: Mon Sep 13 14:39:23 2010 from glng3wy9g1.actuant.pri
[gorantla@appsc05t01 ~]$ sudo su - applmgr
[applmgr@appsc05t01 ~]$ ora_setup
Available databases:
x = ATUXX
y = ATUYY
z = ATUZZ
Select database: \c
y
ORACLE_SID=ATUYY
IAS_ORACLE_HOME=/apps/ATUYY/atuyyora/iAS
ORACLE_HOME=/apps/ATUYY/atuyyora/8.0.6
APPL_TOP=/apps/ATUYY/atuyyappl
[applmgr@appsc05t01 ~]$
[applmgr@appsc05t01 ~]$
[applmgr@appsc05t01 ~]$
[applmgr@appsc05t01 ~]$ tnsping ATUYY
TNS Ping Utility for Linux: Version 8.0.6.3.0 - Production on 13-SEP-2010 15:42:32
(c) Copyright 1997 Oracle Corporation. All rights reserved.
Attempting to contact (ADDRESS=(PROTOCOL=tcp)(HOST=dbrac05t01-vip.actuant.pri)(PORT=1611))
OK (0 msec)
[applmgr@appsc05t01 ~]$ sqlplus
SQL*Plus: Release 8.0.6.0.0 - Production on Mon Sep 13 15:42:40 2010
(c) Copyright 1999 Oracle Corporation. All rights reserved.
Enter user-name: apps
ERROR:
ORA-12514: Message 12514 not found; product=RDBMS; facility=ORA
Enter user-name:
Thanks
Rao -
Getting error while connecting Utility Customer E-Services
I am getting the following error while connecting to Utility Customer E-Services through the browser.
Error: Your user master has not been created correctly. Contact your system administrator.
Please advise some fix for this problem.
Thanks in advance.
Regards,
NitinHi Mattia,
yes, I had resolved this problem. It requires some configuration in ume database of the WebAS, where UCES application is hosted.
1) Create a user in ume.
2) Assign group "Everyone" and "Authenticated Users" to the user
3) Within Customized Information tab, create the mapping between your web user, reference user and business partner.
fscm_refuser: Use reference user id. ( user id to login to ISU system )
objtype_0: BUS1006
objkey_0: User business partner details ( business partner number in ISU)
If there is no customized Information tab, then open visual administrator and do the following.
1) Navigate to Services->Configuration Adapter
2) Click on Runtime tab -> Display configuration
3) Navigate to cluster_data -> server -> cfg -> services -> Propertysheet com.sap.security.core.ume.service
4) Add the following in ume.admin.addattrs.
com.sap.security.core.user.refuser:fscm_refuser;com.sap.security.core.user.references:objtype_0;com.sap.security.core.user.references:objkey_0;com.sap.security.core.user.references:objtype_1;com.sap.security.core.user.references:objkey_1;com.sap.security.core.user.references:objtype_2;com.sap.security.core.user.references:objkey_2;com.sap.security.core.user.references:objtype_3;com.sap.security.core.user.references:objkey_3;com.sap.security.core.user.references:objtype_4;com.sap.security.core.user.references:objkey_4;com.sap.security.core.user.references:objtype_5;com.sap.security.core.user.references:objkey_5;com.sap.security.core.user.references:objtype_6;com.sap.security.core.user.references:objkey_6;com.sap.security.core.user.references:objtype_7;com.sap.security.core.user.references:objkey_7;com.sap.security.core.user.references:objtype_8;com.sap.security.core.user.references:objkey_8;com.sap.security.core.user.references:objtype_9;com.sap.security.core.user.references:objkey_9;com.sap.security.core.useces:objtype_10;com.sap.security.core.user.references:objkey_10;com.sap.security.core.user.references:objtype_11;com.sap.security.core.user.references:objkey_11;com.sap.security.core.user.references:objtype_12;com.sap.security.core.user.references:objkey_12;com.sap.security.core.user.references:objtype_13;com.sap.security.core.user.references:objkey_13;com.sap.security.core.user.references:objtype_14;com.sap.security.core.user.references:objkey_14;com.sap.security.core.user.references:objtype_15;com.sap.security.core.user.references:objkey_15;com.sap.security.core.user.references:objtype_16;com.sap.security.core.user.references:objkey_16;com.sap.security.core.user.references:objtype_17;com.sap.security.core.user.references:objkey_17;com.sap.security.core.user.references:objtype_18;com.sap.security.core.user.references:objkey_18;com.sap.security.core.user.references:objtype_19;com.sap.security.core.user.references:objkey_19;
5) Save the changes, exit visual administrator and restart the server.
Now. your application will work perfectly fine. -
Error while connecting to DB's - java.lang.NullPointerException
I am getting this error while connecting to any db using SQL dev.
1. I was able to connect to all before something happaned (unrealted install/uninstalls)
2. I also have two errors in the "Logging Page- Log" window
I have seen this errors in other threads, but dont think thay have a resolution to this.
Let me know if any other info is required and I will append to this thread.
-MAIN ERROR-
java.lang.NullPointerException
at oracle.dbtools.raptor.conntypes.RaptorClassLoader.findClassLoader(RaptorClassLoader.java:48)
at oracle.dbtools.raptor.conntypes.RaptorConnectionWrapper.createConnectionImpl(RaptorConnectionWrapper.java:213)
at oracle.dbtools.raptor.conntypes.RaptorConnectionWrapper.createConnection(RaptorConnectionWrapper.java:171)
at oracle.dbtools.raptor.conntypes.RaptorConnectionWrapper.getJdbcConnection(RaptorConnectionWrapper.java:202)
at oracle.dbtools.raptor.conntypes.RaptorConnectionWrapper.getPresentation(RaptorConnectionWrapper.java:68)
at oracle.dbtools.raptor.utils.Connections$ConnectionInfo.createConnection(Connections.java:1004)
at oracle.dbtools.raptor.utils.Connections$ConnectionInfo$ConnectRunnable.doWork(Connections.java:876)
at oracle.ide.dialogs.ProgressRunnable.run(ProgressRunnable.java:159)
at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:553)
at java.lang.Thread.run(Thread.java:619)
-Two ERRORs in the log window-
1 ------------------
SEVERE 88 0 oracle.jdbc.driver.OracleDriver Error while registering Oracle JDBC Diagnosability MBean.
2---------------
SEVERE 95 63 oracle.ideimpl.extension.AddinManagerImpl Failed to create addin oracle.report.addin.ReportAddin
Thanks
-SJInterestingly when I go to Preferences/Database I get this error:
Internal Error when attempting to create this panel: - Do you think I should just reinstall the whole thing?
java.lang.NullPointerException
at oracle.dbtools.raptor.config.AdvancedInfo.onEntry(AdvancedInfo.java:40)
at oracle.ide.panels.MDDPanel.enterTraversableImpl(MDDPanel.java:921)
at oracle.ide.panels.MDDPanel.enterTraversable(MDDPanel.java:894)
at oracle.ide.panels.MDDPanel.mav$enterTraversable(MDDPanel.java:104)
at oracle.ide.panels.MDDPanel$Tsl.updateSelectedNavigable(MDDPanel.java:1343)
at oracle.ide.panels.MDDPanel$Tsl.updateSelection(MDDPanel.java:1211)
at oracle.ide.panels.MDDPanel$Tsl.actionPerformed(MDDPanel.java:1205)
at javax.swing.Timer.fireActionPerformed(Timer.java:271)
at javax.swing.Timer$DoPostEvent.run(Timer.java:201)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:177)
at java.awt.Dialog$1.run(Dialog.java:1045)
at java.awt.Dialog$3.run(Dialog.java:1097)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Dialog.java:1095)
at java.awt.Component.show(Component.java:1422)
at java.awt.Component.setVisible(Component.java:1375)
at java.awt.Window.setVisible(Window.java:806)
at java.awt.Dialog.setVisible(Dialog.java:985)
at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
at oracle.ide.dialogs.WizardLauncher.runDialog(WizardLauncher.java:55)
at oracle.ide.panels.TDialogLauncher.showDialog(TDialogLauncher.java:202)
at oracle.ide.config.IdeSettings.showDialog(IdeSettings.java:795)
at oracle.ide.config.IdeSettings.showDialog(IdeSettings.java:580)
at oracle.ide.cmd.IdeSettingsCommand.doit(IdeSettingsCommand.java:47)
at oracle.ide.controller.CommandProcessor.invoke(CommandProcessor.java:265)
at oracle.ide.controller.IdeAction.performAction(IdeAction.java:571)
at oracle.ide.controller.IdeAction$2.run(IdeAction.java:804)
at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:823)
at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:521)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1220)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1261)
at java.awt.Component.processMouseEvent(Component.java:6041)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
at java.awt.Component.processEvent(Component.java:5806)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4413)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4243)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2440)
at java.awt.Component.dispatchEvent(Component.java:4243)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Maybe you are looking for
-
Sending a PDF document as a file attachment
Hi, I have encountered the following problem: When attaching a pdf document to an email and sending it via Javamail, the resulting PDF document on the other end (i.e. when opened via an email client, such as Outlook) is corrupted and cannot be opened
-
Dear all, I am using a simple load balacing based on static routing, running V 3.8.4. Although checking route and cef details confirms load balancing is as it should be...load on interfaces is very much apart for outpout traffic (input looks fiine).
-
Error while undeploying application
When I try to undeploy an application from Oracle AppServer 9.0.4 on Windows I receive the following message: No ApplicationInfo is associated with application named [somename]. What is ApplicationInfo and why normally deployed application cannot be
-
CIF: When multiple regions work on same SCM and ECC box
Hi All We have a situation where North America and Europe use the same SCM and ECC box. Currently SNP/PPDS is live in Europe only. So ,before taking the network/deployment optimizer run,we stop the CIF using program RSTRFCI1. This stops the CIF for
-
I would like to swap 2 charts: 1 is inside a Tab control, the other is located outside the TAB control. Problem: The tab control extends when I swap position and I don't want that. I just want the charts to swap without modifying the TAB-control.