Error while making connection with remote oracle database
Dear,
I am trying to make connection with oracle database but when i run java file it's raise an error "classnotfoundexception oracle.jdbc.driver.oracledriver"
DriverManager.getConnection(
"jdbc:oracle:thin:@erp:1521:ORCL", "apps",
"apps");
Pls any body have idea.
Thanks.
Thanks for support.
Below is error which i am getting while making connection with remote database.
C:\Program Files\Java\jdk1.7.0_05\bin>java OracleJDBC
-------- Oracle JDBC Connection Testing ------
Where is your Oracle JDBC Driver?
java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:186)
at OracleJDBC.main(OracleJDBC.java:13)
Advice.
Similar Messages
-
"Error while accessing porting layer for ORACLE database via getSessionId()
Hi,
My ejb3.0 Entity is created from Emp table in scott/tiger schema of an Oracle 10g database. I am guessing I made some mistake creating the datasource or uploading the driver, because when I run my application, I get a long exception stack trace. The bottom-most entry in the stack trace is:
Caused by: com.sap.sql.log.OpenSQLException: Error while accessing porting layer for ORACLE database via getSessionId().
at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:148)
at com.sap.sql.jdbc.direct.DirectConnectionFactory.createPooledConnection(DirectConnectionFactory.java:527)
at com.sap.sql.jdbc.direct.DirectConnectionFactory.createDirectPooledConnection(DirectConnectionFactory.java:158)
at com.sap.sql.jdbc.direct.DirectConnectionFactory.createDirectPooledConnection(DirectConnectionFactory.java:118)
at com.sap.sql.connect.factory.PooledConnectionFactory.createPooledConnection(PooledConnectionFactory.java:119)
at com.sap.sql.connect.factory.DriverPooledConnectionFactory.getPooledConnection(DriverPooledConnectionFactory.java:38)
at com.sap.sql.connect.datasource.DBDataSourceImpl.createPooledConnection(DBDataSourceImpl.java:685)
at com.sap.sql.connect.datasource.DBDataSourcePoolImpl.matchPool(DBDataSourcePoolImpl.java:1081)
at com.sap.sql.connect.datasource.DBDataSourcePoolImpl.matchPooledConnection(DBDataSourcePoolImpl.java:919)
at com.sap.sql.connect.datasource.DBDataSourcePoolImpl.getConnection(DBDataSourcePoolImpl.java:67)
at com.sap.engine.core.database.impl.DatabaseDataSourceImpl.getConnection(DatabaseDataSourceImpl.java:36)
at com.sap.engine.services.dbpool.spi.ManagedConnectionFactoryImpl.createManagedConnection(ManagedConnectionFactoryImpl.java:123)
... 90 moreActually, now (after the GRANT described in my reply before) the Exception has changed to:
Caused by: com.sap.sql.log.OpenSQLException: Error while
accessing porting layer for ORACLE database via
<b>getDatabaseHost</b>().
at com.sap.sql.log.Syslog.createAndLogOpenSQLException
(Syslog.java:148)
at com.sap.sql.jdbc.direct.DirectConnectionFactory.
createPooledConnection(DirectConnectionFactory.java:527)
at com.sap.sql.jdbc.direct.DirectConnectionFactory.
createDirectPooledConnection(DirectConnectionFactory.java:158)
at com.sap.sql.jdbc.direct.DirectConnectionFactory.
createDirectPooledConnection(DirectConnectionFactory.java:118)
at com.sap.sql.connect.factory.PooledConnectionFactory.
createPooledConnection(PooledConnectionFactory.java:119)
at com.sap.sql.connect.factory.DriverPooledConnectionFactory.
getPooledConnection(DriverPooledConnectionFactory.java:38)
at com.sap.sql.connect.datasource.DBDataSourceImpl.
createPooledConnection(DBDataSourceImpl.java:685)
at com.sap.sql.connect.datasource.DBDataSourcePoolImpl.
matchPool(DBDataSourcePoolImpl.java:1081)
at com.sap.sql.connect.datasource.DBDataSourcePoolImpl.
matchPooledConnection(DBDataSourcePoolImpl.java:919)
at com.sap.sql.connect.datasource.DBDataSourcePoolImpl.
getConnection(DBDataSourcePoolImpl.java:67)
at com.sap.engine.core.database.impl.DatabaseDataSourceImpl.
getConnection(DatabaseDataSourceImpl.java:36)
at com.sap.engine.services.dbpool.spi.
ManagedConnectionFactoryImpl.createManagedConnection(ManagedConnectionFactoryImpl.java:123)
... 90 more -
Error while Test Connection with Connector
hi all:
there is an error while Test Connection with Connector , I also test it through sys administration->sys configuration->
suport -> sap transaction, I got all errors, I put these two errors as folows, could you please tell me how to sovle it
***************ERROR 1 while *error while Test Connection with Connector ******************************************************
Test Details:
The test consists of the following steps:
1. Retrieve the default alias of the system
2. Check the connection to the backend application using the connector defined in this
system object
Results
Retrieval of default alias successful
Connection failed. Make sure that Single Sign-On is configured correctly
************error sys administration->sys configuration-> suport -> sap transaction ********************** 1.5 #0025B3E02892006100000A0800001798000487530FB0122E#1274690722265#com.sap.portal.prt.runtime#sap.com/irj#com.sap.portal.prt
.runtime#guodongdong#47472##n/a##690347f0670e11df98cc0025b3e02892#SAPEngine_Application_Thread[impl:3]
9##0#0#Error##Java###04:4524/05/10_0077_6087550
[EXCEPTION]
#1#com.sapportals.portal.prt.runtime.PortalRuntimeException: Exception in SAP Application Integrator occured: Application URL
&\#39;:///sap(ZT1KVXBWektldldTeV9QQXBXRjNaWTRBLS1OZmRvZzBRWWY2QmN0WThNUmgqdUlRLS0=)/bc/gui/sap/its/webgui&\#39; is not valid!
Please check the protocol and host entries for system &\#39;sapdev&\#39;.
at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doContentPass
(AbstractIntegratorComponent.java:123)
at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doContent(AbstractIntegratorComponent.java:98)
at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:523)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:412)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process
(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)Hi,
As per this part of the trace:
Exception in SAP Application Integrator occured: Application URL &\#39;:///sap(ZT1KVXBWektldldTeV9QQXBXRjNaWTRBLS1OZmRvZzBRWWY2QmN0WThNUmgqdUlRLS0=)/bc/gui/sap/its/webgui&\#39; is not valid! Please check the protocol and host entries for system &\#39;sapdev&\#39;. at ...
You can clearly see that the system object 'sapdev' is not configured correctly/at all - you are trying to launch transaction iView
(WEBGUI) and in order to do so you should configure the 'internet transaction server' category of the system object
with the hostname of the ITS server.
Generally the template is
<System.Access.ITS.protocol>://<System.Access.ITS.hostname>/sap<ESID>/bc/gui/sap/its/webgui?\....
So that's why you got
Please check the protocol and host entries for system .. -
Connect to Remote Oracle Database
I am unsuccessfully trying to connect to remote Oracle database using OleDB/ODBC/Oracle Client.
Do I have to install Oracle Client in order to use those drivers and which version?
I would really appreciate any help. THANK YOU!Marina,
Please refer this question to the general Installation forum. Thanks!
The short answer is yes, you need to have the Oracle client software installed. -
I'm trying to pull data from an Oracle database using SSIS. When I try to select a few fields from the source table, it returns the following error message:
[OLE DB Source [47]] Error: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80040E14.
An OLE DB record is available. Source: "OraOLEDB" Hresult: 0x80040E14 Description: "ORA-01858: a non-numeric character was found where a numeric was expected".
An OLE DB record is available. Source: "OraOLEDB" Hresult: 0x80004005 Description: "ORA-01858: a non-numeric character was found where a numeric was expected".
The source columns are a combination of numeric and texts, and I've also tried selecting one of them, which didn't work. I'm using the Oracle client 11.2.0.1, and it works fine with any other data sources I have connected to so far. How can I resolve this
error?Hi H.James,
According to your description, the issue is a non-numeric character was found where a numeric was expected while pulling data from an Oracle database in SSIS.
Based on the error message, the issue should be you are comparing a number column to a non-number column in a query. Such as the query below (ConfID is a number, Sdate is a date):
where C.ConfID in (select C.Sdate
from Conference_C C
where C.Sdate < '1-July-12')
Besides, a default behavior for the Oracle OleDb Provider that change the NLS Date Format of the session to 'YYYY-MM-DD HH24:MI:SS can also cause the issue. For more details about this issue, please refer to the following blog:
http://blogs.msdn.com/b/dataaccesstechnologies/archive/2012/01/20/every-bug-is-a-microsoft-bug-until-proven-otherwise.aspx
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
Trouble connecting to remote oracle database
Hi,
i'm having trouble connecting to an oracle database (Release 9.2.0.6.0) using the ojdbc14.jar from the oracle website. Can anybody spot the problems that i need to sort out to get it working? Code and error stack below.
Thanks,
Pat
Code:
import java.sql.*;
public class Query1 {
public static void main (String[] args) {
try {
Class.forName("oracle.jdbc.driver.OracleDriver");
String url = "jdbc:oracle:thin:@175.3.41.248/KNWAPROD";
String user = "username";
String password = "password";
Connection conn = DriverManager.getConnection(url,user,password);
Statement stmt = conn.createStatement();
ResultSet rs;
rs = stmt.executeQuery("select count(*) from FACT_FAULT;");
while ( rs.next() ) {
// String lastName = rs.getString("Lname");
System.out.println("In while loop!");
conn.close();
} catch (Exception e) {
e.printStackTrace();
System.err.println("Got an exception! ");
System.err.println(e.getMessage());
Error stack:
java.sql.SQLException: Io exception: SO Exception was generated
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:162)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:274)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:319)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:344)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:148)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:545)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at Query1.main(Query1.java:13)
Got an exception!
Io exception: SO Exception was generatedYou have:
String url = "jdbc:oracle:thin:@175.3.41.248/KNWAPROD";Example URLs I've seen/used are:
String url = "jdbc:oracle:thin:@//myhost:1521/orcl";
String URL = "jdbc:oracle:thin:scott/tiger@//myhost:1521/orcl"In other words, I think you've munged your URL; you need some slashes and a port number (1521 is the default). -
Sqlplus to connect to remote oracle database server
Hi,
I have oracle 10g database server on solaris 10 and I usually connect using my solaris account and run sqlplus on the server itself. this works !
I have downloaded and installed oracle instant client for solaris 64 and I can run sqlplus command but I am confused on what should be the syntax on the command to connect to remote solaris 10 databse server where I have both system and oracle account.
I have tried sqlplus help but still I could not get correct sysntax which could be used to authenticate myself to oracle server.
I tried
sqlplus user@hostname:1512/SID
then it asked for password but when I typed password and pressed enter, it gave some error
but it again asked for username so I type user@SID and then password prompt - typed password and this works!
so I don't understand what should be the correct syntax so that in the first attempt only I am able to connect.
if possible please give the exact command with realworld examples,(I have tried with sqlplus -help already)
Thanks in advance.wonder what if I did not have tnsnames.ora on the client machine, how will be the syntax?You generally need (or at least strongly want) a tnsnames.ora file on the client machine.
- You could configure Oracle Internet Directory and let that product provide TNS alias resolution for the organization (similar to setting up DNS for a local network).
- Many tools (I haven't personally tried SQL*Plus and it may be version dependent) allow you to specify the entire TNS alias from the tnsnames.ora file (i.e. everything after the abcd.domain.com = entry) but that is hugely cumbersome to type
- Depending on the Oracle client version, the sqlnet.ora file, the complexity of your configuration (i.e. if you are trying to use more sophisticated features like failover), you may be able to use the EZConnect syntax
sqlplus username/password@host:port:SID/service_nameWhere host is the server that the database is running on, port is the port the listener is listening on (i.e. 1521 by default) and SID/service_name is the SID or service name you're trying to connect to.
Justin -
Error while making iview with visual composer
I am trying to make an iview usign visual composer.
In the document that i have for making the iview , it says that when you have the bapi list you need to drag and drop the bapi to the empty iview pane . When i do so it gives me the following error ...
"Portal request failed
(com/sap/mdi/ObjectFactory)"
What do i do ?
Would appreciate a prompt help!
thanks again for making me move ahead
I had a conversation with a parson on the forum named Venkat . I am posting the same for other people in the forum to understand what exactly is my problem and how much have we explored .
Regards
Deepak Singh
Hi Venkat ,
I tried to do so research on the problem and it is being talked about in a thread on the forum . They ask to refer to the sap note 765461 to resolve the mdi reference . In the note they ask you to refer the installation guide of the installed version of EP . I have EP 6.0 SP2 . The installation guide says the following ...
7.1.2 Adding References
To enable some of the features in the portal environment, add references to reference file.
To add a reference:
1. With a text editor, open the file:
Windows: <installation drive>:\usr\sap\<SAP J2EE instance name>\j2ee\<instance
number>\cluster\state\services\file\work\managers\reference.txt
Unix: /usr/sap/<SAP J2EE instance name>/j2ee/j2ee_<instance number>/
cluster/state/services/file/work/managers/reference.txt
2. Look for the line:
reference service:eisconnector library:jco
3. After the line mentioned in previous step, add the following in a new line:
reference service:eisconnector library:com.sap.mdi
4. Save your changes and close the file.
5. Delete the file:
Windows: <installation drive>:\usr\sap\<SAP J2EE instance name>\j2ee\<instance
number>\cluster\state\services\file\work\managers.bin
Unix: /usr/sap/<SAP J2EE instance name>/j2ee/j2ee_<instance number>/
cluster/state/services/file/work/managers.bin
6. Restart the SAP J2EE Engine. See Starting the SAP J2EE Engine [Page 60].
7. Restart the SAP J2EE Engine again.
I did the same ....but now my server is not starting . By chance i didn't keep a bakup of the file which they asked me to delete .
Now what do i do ?
I think i am stuck up badly here .
EVERYBODY IN THE FORUM PLEASE HELP
I am not sure how a thing that is mentioned in the installation guide cannot work !
Regards
Deepak Singh
Deepak,
It is not that bad. By deleting you are recreating that managers.bin file during startup based on the reference.txt and library.txt (recollecting from my memory). This could also happen if there is a typo or some special characters in the reference.txt
I don't know what J2EE patch you are at, but after PL22 you can actually add the reference using the "add reference" command from the administrator console.
could you please send the error you are getting? To revert back the simplest thing is removing the line you have added and restart.
Hope this helps.
-Venkat Malempati
Note: Please reward points if your problem is solved or useful.
Venkat ,
I am using J2EE engine 6.20 SP2 .I tried to get the server started by the following two methods
1) I removed my entry in the reference.txt file and then start the engine by running go.bat from the required path .
2) I got the original file managers.bin which i deleted and then placed in the required path and restarted the server
Both the options didn't work .
I am not getting any error when i restart the server. When i run the batch file go.bat it starts the console and shows me the various managers loading . After it shows the Clustermanager loading , it stops and gets stuck .
Not sure what should i do now .Is reinstallation the only solution ?
Is there a solution from the administrator console ?
Regards
Deepak Singh
Deepak,
No you don't need to re-install. Try the following.
1. First start the state controller by runing go.bat in the following directory.
/usr/sap/xxx/j2ee/cluster/state/go.bat
You get the message waiting for cluster manager.
2. start the server in a different window
/usr/sap/xxx/j2ee/cluster/server/go.bat
You get the message waiting for cluster manager
3. Start the dispatcher
/usr/sap/xxx/j2ee/cluster/dispatcher/go.bat
Please let me the know the error messages.
You can chat with me between 10:00 - 11:00 PM US EST.
Regards
-Venkat MalempatiPeople ,
I tried to do what venkat suggested . Infact I had mailed him the snapshot of the screen when i start the state controller as he suggested . For other people in the forum this is what is happening . When i start the state controller it displays an error and then the window closes immediately . I have managed the screen shots somehow and in those i could find two messeges in the begining and the end which could be useful for debugging the problem ...they are
1) [DBMS]: ID3004:DB file header do not match exception .
com.inqmy.services.dbms.server.interfaces.DatabaseException: Error while opening database ...
2) ID000544: Error statrting service dbms. DBMS service not started properly due to: Errro while opening database
[Framework -> criticalShutdown] Service dbms startup error !
After the state controller window closes i run the server in a different window and i get a message waiting for the cluster manager as suggested . Now i start the dispatcher and i get the same messege there as well ie waiting for the cluster manager .
What is to be done now . Is this information sufficient to suggest me something ? Please let me know if you require any other information .
Regards
Deepak singh -
How to connect to remote Oracle Database 10g Express Edition
Hi,
I am very new to Oracle. I have created a successful application using OCCI call (createConnection()) to connect to local (resided on the same PC) Oracle Database. Now I would like to move the application to resided on a different PC and try to connect to Oracle Database. Can anyone points me to the right direction in doing this?
Thanks in advance.Can anyone points me to the right direction in doing this? Well at least for me, self study on OCCI documentation is pointing to the right direction ;-)
OCCI requires only four shared libraries (or dynamic link libraries, as they are called on some operating systems) to be loaded by the dynamic loader of the operating system.
Installing Instant Client resolve this.
Cheers! -
Error 12545 on Connecting with sqlplus to Database. Remote connect hangs.
Hi there,
i'am new to Oracle.
After installing 11g on Windows 2008 x64 Server i had solved many Problems. But this Problem now i do not get fixed.
If i connect through SQLPlus local to DB it works. But if i connect on client (Win XP Service Pack 3) it hangs.
Firewalls are turned off.
Ping and TNSping works fine.
Listener.ora:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = D:\app\Administrator\product\11.2.0\dbhome_1)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:D:\app\Administrator\product\11.2.0\dbhome_1\bin\oraclr11.dll")
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = de0-vsidcoes-p1)(PORT = 1521))
ADR_BASE_LISTENER = D:\app\Administrator
tnsname.ora:
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
INDACO11 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = de0-vsidcoes-p1)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = INDACO11)
sqlnet.ora:
SQLNET.AUTHENTICATION_SERVICES= (NTS)
NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
Alert.log:
Fatal NI connect error 12545, connecting to:
(LOCAL=NO)
VERSION INFORMATION:
TNS for 64-bit Windows: Version 11.2.0.1.0 - Production
Oracle Bequeath NT Protocol Adapter for 64-bit Windows: Version 11.2.0.1.0 - Production
Windows NT TCP/IP NT Protocol Adapter for 64-bit Windows: Version 11.2.0.1.0 - Production
Time: 09-APR-2013 10:10:33
Tracing not turned on.
Tns error struct:
ns main err code: 12545
TNS-12545: CONNECT nicht erfolgreich, da Ziel-Host oder -Objekt nicht vorhanden
ns secondary err code: 12560
nt main err code: 0
nt secondary err code: 0
nt OS err code: 0
opiodr aborting process unknown ospid (2208) as a result of ORA-609
Listener.Log:
09-APR-2013 10:10:33 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=indaco11)(CID=(PROGRAM=D:\app\Cyber\product\11.2.0\client_1\sqlplus.exe)(HOST=XPSUPCLNT)(USER=Cyber))) * (ADDRESS=(PROTOCOL=tcp)(HOST=169.254.238.212%11)(PORT=1047)) * establish * indaco11 * 0
lsnrctl services
LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 09-APR-2013 10:35:31
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Anmeldung bei (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
Services ▄bersicht...
Dienst "CLRExtProc" hat 1 Instanzen.
Instanz "CLRExtProc", Status UNKNOWN, hat 1 Handler f³r diesen Dienst...
Handler:
"DEDICATED" eingerichtet:0 abgewiesen:0
LOCAL SERVER
Dienst "INDACO11XDB" hat 1 Instanzen.
Instanz "indaco11", Status READY, hat 1 Handler f³r diesen Dienst...
Handler:
"D000" eingerichtet:0 abgewiesen:0 aktuell:0 max:1022 Status:ready
DISPATCHER <machine: DE0-VSIDCOES-P1, pid: 1296>
(ADDRESS=(PROTOCOL=tcp)(HOST=de0-vsidcoes-p1)(PORT=49168))
Dienst "indaco11" hat 1 Instanzen.
Instanz "indaco11", Status READY, hat 1 Handler f³r diesen Dienst...
Handler:
"DEDICATED" festgelegt:3 abgelehnt:0 Status:ready
LOCAL SERVER
Der Befehl wurde erfolgreich ausgef³hrt.
lsnrctl status
LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 09-APR-2013 10:36:05
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Anmeldung bei (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
STATUS des LISTENER
Alias LISTENER
Version TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Production
Startdatum 09-APR-2013 10:02:57
Uptime 0 Tage 0 Std. 33 Min. 8 Sek.
Trace-Ebene off
Sicherheit ON: Local OS Authentication
SNMP OFF
Parameterdatei des Listener D:\app\Administrator\product\11.2.0\dbhome_1\network\admin\listener.ora
Log-Datei des Listener d:\app\administrator\diag\tnslsnr\de0-vsidcoes-p1\listener\alert\log.xml
Zusammenfassung Listening-Endpunkte...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=de0-vsidcoes-p1)(PORT=1521)))
Services ▄bersicht...
Dienst "CLRExtProc" hat 1 Instanzen.
Instanz "CLRExtProc", Status UNKNOWN, hat 1 Handler f³r diesen Dienst...
Dienst "INDACO11XDB" hat 1 Instanzen.
Instanz "indaco11", Status READY, hat 1 Handler f³r diesen Dienst...
Dienst "indaco11" hat 1 Instanzen.
Instanz "indaco11", Status READY, hat 1 Handler f³r diesen Dienst...
Der Befehl wurde erfolgreich ausgef³hrt.
Variables are set to:
ORACLE_HOME=D:\app\Administrator\product\11.2.0\dbhome_1
ORACLE_SID=INDACO11
TWO_TASK=INDACO11
I hope this is all information you need.
Any Idea to solve this problem?
Thanks!
Jens
Edited by: 998906 on 09.04.2013 01:40
Edited by: 998906 on 09.04.2013 01:53Ok. Sorry, i solved this.
Set the local_listener helps:
alter system set local_listener='(ADDRESS=(PROTOCOL=TCP)(HOST=169.254.154.98)(PORT=1521))' sid='INDACO11';
Thanks! -
How to connect to remote Oracle database
hi everybody!
i am using LabVIEW with LabSQL locally and Oracle 10.2 database remotely.The remote computer's name is zkz,IP is 192.168.1.2,database name is 'test',TNS listener name is 'listener'.On local computer i have a instantclient.The problem is i can not connect to the database from local computer.What should be the connection string?
thankshelp me please!
-
Error while accessing a Table on Oracle Database 10.2
Hi Experts,
We have a table that contains a CLOB datatype in one of its column. However when i tried to access the table i get the below error.
<b>Table Name:</b> discrete_jobs
<b>Error:</b>
(Error starting at line 1 in command:
select * from [email protected]
Error report:
SQL Error: ORA-22992: cannot use LOB locators selected from remote tables
22992. 00000 - "cannot use LOB locators selected from remote tables"
*Cause: A remote LOB column cannot be referenced.
*Action: Remove references to LOBs in remote tables.)
Pleas Help!
Regards,
Ravi RSee some work arounds - "How to select table from remote database having clob field</a>
-
Error While Loading XMl Doc into Oracle Database 10g
Hi all,
I have a task that , I have to make a utillity by which we can load XML Doc into a Table. While searching on Internet i found following Procedure on ASK Tom
CREATE OR REPLACE
procedure insert_xml_emps(
p_directory in varchar2, p_filename in varchar2, vtableName in varchar2 )
as
v_filelocator bfile;
v_cloblocator clob;
l_ctx dbms_xmlsave.ctxType;
l_rows number;
begin
dbms_lob.createtemporary(v_cloblocator,true);
v_filelocator := bfilename(p_directory, p_filename);
dbms_lob.open(v_filelocator, dbms_lob.file_readonly);
DBMS_LOB.LOADFROMFILE(v_cloblocator, v_filelocator,
dbms_lob.getlength(v_filelocator));
l_ctx := dbms_xmlsave.newContext(vTableName);
l_rows := dbms_xmlsave.insertxml(l_ctx,v_cloblocator);
dbms_xmlsave.closeContext(l_ctx);
dbms_output.put_line(l_rows || ' rows inserted...');
dbms_lob.close(v_filelocator);
DBMS_LOB.FREETEMPORARY(v_cloblocator);
end ;
when i try to run this procedure
BEGIN
insert_xml_emps('XML_LOAD','load.xml','IBSCOLYTD');
END;
it gaves me following Error
ORA-29532: java call terminated by uncaught java exception : Oracle.xml.sql.OracleXMLSQLException:No
rows to modify-- the row enclosing tag missing. Specify the correct row enclosing tag.
ORA-06512: at "SYS.DBMS_XMLSAVE", line 115
ORA-06512: at "EXT_TEST.INSERT_XML_EMPS", line 18
ORA-06512: at line 2
Can anyone describe me this error
Thanks.
Best Regards.SQL> /* Creating Your table */
SQL> CREATE TABLE IBSCOLYTD
2 (
3 ACTNOI VARCHAR2 (8),
4 MEMONOI NUMBER (7,0),
5 MEMODTEI DATE,
6 AMOUNTI NUMBER (8,0),
7 BRCDSI NUMBER (4,0),
8 TYPEI NUMBER (4,0),
9 TRANSMONI NUMBER (6,0)
10 );
Table created.
SQL> CREATE OR REPLACE PROCEDURE insert_xml_emps(p_directory in varchar2,
2 p_filename in varchar2,
3 vtableName in varchar2) as
4 v_filelocator BFILE;
5 v_cloblocator CLOB;
6 l_ctx DBMS_XMLSTORE.CTXTYPE;
7 l_rows NUMBER;
8 v_amount_to_load NUMBER;
9 dest_offset NUMBER := 1;
10 src_offset NUMBER := 1;
11 lang_context NUMBER := DBMS_LOB.DEFAULT_LANG_CTX;
12 warning NUMBER;
13 BEGIN
14 dbms_lob.createtemporary(v_cloblocator, true);
15 v_filelocator := bfilename(p_directory, p_filename);
16 dbms_lob.open(v_filelocator, dbms_lob.file_readonly);
17 v_amount_to_load := DBMS_LOB.getlength(v_filelocator);
18 --- ***This line is changed*** ---
19 DBMS_LOB.LOADCLOBFROMFILE(v_cloblocator,
20 v_filelocator,
21 v_amount_to_load,
22 dest_offset,
23 src_offset,
24 0,
25 lang_context,
26 warning);
27
28 l_ctx := DBMS_XMLSTORE.newContext(vTableName);
29 DBMS_XMLSTORE.setRowTag(l_ctx, 'ROWSET');
30 DBMS_XMLSTORE.setRowTag(l_ctx, 'IBSCOLYTD');
31 -- clear the update settings
32 DBMS_XMLStore.clearUpdateColumnList(l_ctx);
33 -- set the columns to be updated as a list of values
34 DBMS_XMLStore.setUpdateColumn(l_ctx, 'ACTNOI');
35 DBMS_XMLStore.setUpdateColumn(l_ctx, 'MEMONOI');
36 DBMS_XMLStore.setUpdatecolumn(l_ctx, 'MEMODTEI');
37 DBMS_XMLStore.setUpdatecolumn(l_ctx, 'AMOUNTI');
38 DBMS_XMLStore.setUpdatecolumn(l_ctx, 'BRCDSI');
39 DBMS_XMLStore.setUpdatecolumn(l_ctx, 'TYPEI');
40 DBMS_XMLStore.setUpdatecolumn(l_ctx, 'TRANSMONI');
41 -- Now insert the doc.
42 l_rows := DBMS_XMLSTORE.insertxml(l_ctx, v_cloblocator);
43 DBMS_XMLSTORE.closeContext(l_ctx);
44 dbms_output.put_line(l_rows || ' rows inserted...');
45 dbms_lob.close(v_filelocator);
46 DBMS_LOB.FREETEMPORARY(v_cloblocator);
47 END;
48 /
Procedure created.
SQL> BEGIN
2 insert_xml_emps('TEST_DIR','load.xml','IBSCOLYTD');
3 END;
4 /
PL/SQL procedure successfully completed.
SQL> SELECT * FROM ibscolytd;
ACTNOI MEMONOI MEMODTEI AMOUNTI BRCDSI TYPEI TRANSMONI
28004125 251942 05-SEP-92 400 513 1 0
28004125 251943 04-OCT-92 400 513 1 0
SQL> -
Error while using RSCRM_BAPI with remote cubes
Hi,
We are getting short dump while trying to use RSCRM_BAPI with hierarchies i.e.display hierarchies to extract data to a flat file.
We do get a warning that display hierachies are not longer supported in 2004s with RSCRM_BAPI and have been going on and on with SAP development. They are saying we need to find alternatives.
I wanted to know if anybody has tried using display hierarchies with RSCRM_BAPI in 2004s if not then I would like to know what are my options in getting a flat hierarchy report on to a flat file?
I dont think infospoke supports flat hierarchy extracts as infoproviders dont store hierarchy information.
ThanksHeres my thought -
to use Bex Broadcaster to download the information,am not sure if RSCRM_BAPI is replaced by new functionality ,might wait for SAP to confirm.
<b>Key capabilities:-</b>
1)The right information:Based on BExqueries, views, workbooks, Web applications & enterprise reports
2)In different formats:HTML, MHTML, PDF, ZIP, printer formats, online links, SAP alerts
3)To the right people:e.g., single users, groups, distribution lists, user-specific or role-specific (incl. non-SAP users)
4)In different channels:e-mail, Portal, BExPortfolio (unified access based on Knowledge Management folders), collaboration rooms, Universal Work List
At the right time:event driven, exception driven, ad-hoc, scheduled
Bex Broadcaster + Information Broadcasting
Note 760775 - Settings for Information Broadcasting
Functions of Bex broadcaster
http://help.sap.com/saphelp_nw04/helpdata/en/bf/220c40ac368f5ce10000000a155106/frameset.htm
Hope it Helps
Chetan
@CP.. -
Error 1858: The connection with Remote Managment Agent had timed out.
Every workstations seem the same result. I cannot remote or execute file.
Please help me. Thanks
Ps. All of them install Zenwork 6.5 Agent only ,which was deployed at the
sub branch, connected to the same server which using NAT IP address.On Thu, 16 Dec 2004 11:54:47 GMT, [email protected] wrote:
> Ps. All of them install Zenwork 6.5 Agent only ,which was deployed at the
> sub branch, connected to the same server which using NAT IP address.
hmm.. same issue like your other mail?
Marcus Breiden
Please change -- to - to mail me.
The content of this mail is my private and personal opinion.
http://www.edu-magic.net
Maybe you are looking for
-
Please Help - My iTunes library won't recognize my iPod classic
My iTunes library won't recognize my iPod classic 80gb. I try doing the trouble shooting steps on apple, but they still did not work. Any help would be greatly appreciated. I'd love to add some newer music to my old iPod for listening in the car or w
-
[AS] How to change a paragraph style within any folder in Find Grep?
I want to change both text and paragraph style I do that job very easily until I put paragraph styles in a folder How to express the paragraph style "passage" within the folder "1st" in AppleScript? In line 18 below, "1st:passage" may be wrong... so
-
Should I be concerned about hackers?
-
Relationship Of cost Center & Profit Center
Hello Can anybody explain what could be cons of having relations of 1:N between profit center & Cost center Regards
-
I dont understand the file.encoding parameter
Im running Windows Vista and using Intellij Jetbrans. I have a file with the name divisionǿ (In case not displayed this is unicode charcter \u01ff) the filename displays fine on In Windows Explorer, and fine within my programs gui, but on StandardOut