Oracle OCI connectivity issue
Hi All,
We have jave code, that resides in the same server as the Oracle DB( HP-Ux). It uses OCI driver to connect to the server.
jdbc.url=jdbc:oracle:oci8:@
jdbc.username=
jdbc.password=
These are the properties that had been set. The code was working fine in Oracle 9.i. On migrating the server to 10g we get an error saying that
java.java.sql.SQLException: SimpleDataSource:connect - java.sql.SQLException: ORA-01017: invalid username/password; logon denied.
OfCourse the basic idea would be that userid/pwd is not being passed. But we have not been setting the user id and pwd in 9i and it is working there, but not in 10g. So does OCI driver use the os userid/pwd or something for connecting.
Thanks in Advance,
Vignesh
No, we have no such file. In fact i just wrote a simple connection class. The code is as below.
import java.sql.Connection;
import java.sql.*;
class SimpleCon {
public static void main(String args[]){
getConnection();
public static void getConnection() {
try {
Connection con = connect();
System.out.println("Connected");
} catch(SQLException ex) {
ex.printStackTrace();
public static Connection connect() throws SQLException
final String methodSig = "SimpleDataSource:connect";
String jdbcUrl = "jdbc:oracle:oci:@" ;
String jdbcUsername = "" ;
String jdbcPassword = "";
Connection conn = null;
try
Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
conn = DriverManager.getConnection
(jdbcUrl, jdbcUsername, jdbcPassword);
DatabaseMetaData dbm = conn.getMetaData();
System.out.println(dbm.getUserName());
System.out.println(dbm.getDriverName());
System.out.println(dbm.getDriverVersion());
//setConnectionProperties(conn);
return conn;
catch (SQLException e) {
e.printStackTrace();
System.err.println("SQL error: " + e.getErrorCode());
System.err.println("SQL state: " + e.getSQLState());
throw(e);
}catch(Exception ie){
ie.printStackTrace();
return null;
This particular code works in HP-UX - Oracle 9.i . If we do not pass userid/pwd it usually connects in as OS user, and Oracle has a User id Setup corresponding to the os user.
But the same code does not work in Oracle 10g, even though we have the Oracle User corresponding to the OS user set up. If we pass that particular user id and pwd, it works fine.
Does it throw and light.
Thanks
Vignesh
Similar Messages
-
Oracle database Connectivity issue
We are using Oracle 11g database with java 1.6
When i am deploying my application i am getting below error
09:48:13,604 INFO [STDOUT] SQL Exception occured:
09:48:13,605 ERROR [STDERR] java.sql.SQLException:
09:48:13,607 ERROR [STDERR] at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
09:48:13,607 ERROR [STDERR] at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:131)
09:48:13,607 ERROR [STDERR] at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:204)
09:48:13,608 ERROR [STDERR] at oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java:650)
09:48:13,608 ERROR [STDERR] at oracle.jdbc.driver.T2CConnection.processOCIConnectionPooling(T2CConnection.java:997)
09:48:13,608 ERROR [STDERR] at oracle.jdbc.driver.T2CConnection.logon(T2CConnection.java:239)
09:48:13,609 ERROR [STDERR] at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:508)
09:48:13,609 ERROR [STDERR] at oracle.jdbc.driver.T2CConnection.<init>(T2CConnection.java:133)
09:48:13,609 ERROR [STDERR] at oracle.jdbc.driver.OracleOCIConnection.<init>(OracleOCIConnection.java:60)
09:48:13,610 ERROR [STDERR] at oracle.jdbc.driver.OracleOCIConnection.<init>(OracleOCIConnection.java:44)
09:48:13,610 ERROR [STDERR] at oracle.jdbc.oci.OracleOCIConnection.<init>(OracleOCIConnection.java:36)
09:48:13,610 ERROR [STDERR] at oracle.jdbc.driver.T2CDriverExtension.getConnection(T2CDriverExtension.java:49)
09:48:13,611 ERROR [STDERR] at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:510)
09:48:13,611 ERROR [STDERR] at oracle.jdbc.pool.OracleOCIConnectionPool.createConnectionPool(OracleOCIConnectionPool.java:864)
09:48:13,611 ERROR [STDERR] at oracle.jdbc.pool.OracleOCIConnectionPool.<init>(OracleOCIConnectionPool.java:149)
09:48:13,614 ERROR [STDERR] at javax.servlet.GenericServlet.init(GenericServlet.java:242)
09:48:13,615 ERROR [STDERR] at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1208)
09:48:13,615 ERROR [STDERR] at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1108)
09:48:13,615 ERROR [STDERR] at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3628)
09:48:13,616 ERROR [STDERR] at org.apache.catalina.core.StandardContext.start(StandardContext.java:3851)
09:48:13,616 ERROR [STDERR] at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:299)
09:48:13,616 ERROR [STDERR] at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:138)
09:48:13,617 ERROR [STDERR] at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)
09:48:13,617 ERROR [STDERR] at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
09:48:13,617 ERROR [STDERR] at org.jboss.web.deployers.WebModule.start(WebModule.java:95)
09:48:13,617 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
09:48:13,618 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
09:48:13,618 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
09:48:13,618 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
09:48:13,619 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
09:48:13,619 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
09:48:13,619 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
09:48:13,620 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:271)
09:48:13,620 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:670)
09:48:13,620 ERROR [STDERR] at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
This error come when my application is trying to connect to data base
try {
proxyPool = new OracleOCIConnectionPool(strUserId ,strPassword, url,poolConfig); // error is coming at this line
System.out.println("Connection pool created");
} catch (SQLException sqle) {
System.out.println("SQL Exception occured:");
sqle.printStackTrace();
if(proxyPool != null) {
proxyPool.close();
proxyPool = null;
throw sqle;
Please help me find resolution of this problem
Thanks,
Kumar
Edited by: 906270 on Jan 9, 2012 3:01 AM906270 wrote:
We are using Oracle 11g database with java 1.6Err...no that is not all you are doing. Looks like a whole bunch of stuff is in there.
Please help me find resolution of this problemWrite a command line application in java. That means it does NOT run in jboss.
It should do nothing but connect to oracle with the OCI connection string and report the results.
Run it on the same box as jboss.
Run it as the same user as jboss.
If it succeeds then your problem is jboss or the user.
If it doesn't then report the exception that that throws. And post the code (using code tags.) -
Could you please help me?
When I try to access Oracle using TopLink and OCI this error occurred
# An unexpected error has been detected by Java Runtime Environment:
# EXCEPTION_IN_PAGE_ERROR (0xc0000006) at pc=0x10007774, pid=3504, tid=3716
# Java VM: Java HotSpot(TM) Client VM (1.6.0_03-b05 mixed mode)
# Problematic frame:
# C [OCI.dll+0x7774]
# An error report file with more information is saved as hs_err_pid3504.log
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
[error occurred during error reporting, step 270, id 0xc0000006]
I have used these libraries
- ojdbc14.jar
- toplink-essentials.jar
- toplink-essentials-agent.jar
Also I used netbeans v6
and Apache Tomcat 6.0.14
The following code shows my persistence.xml
<?xml version="1.0" encoding="UTF-8"?>
<persistence version="1.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd">
<persistence-unit name="RtsModelPU" transaction-type="RESOURCE_LOCAL">
<provider>oracle.toplink.essentials.PersistenceProvider</provider>
<class>com.xxx.rts.model.Responsibility</class>
<class>com.xxx.rts.model.Person</class>
<class>com.xxx.rts.model.WeeklyTask</class>
<properties>
<property name="toplink.jdbc.user" value="XXX"/>
<property name="toplink.jdbc.password" value="XXX"/>
<property name="toplink.jdbc.url" value="jdbc:oracle:oci:@XXX"/>
<property name="toplink.jdbc.driver" value="oracle.jdbc.driver.OracleDriver"/>
</properties>
</persistence-unit>
</persistence>This is the server log file
# An unexpected error has been detected by Java Runtime Environment:
# EXCEPTION_IN_PAGE_ERROR (0xc0000006) at pc=0x10007774, pid=3504, tid=3716
# Java VM: Java HotSpot(TM) Client VM (1.6.0_03-b05 mixed mode)
# Problematic frame:
# C [OCI.dll+0x7774]
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
--------------- T H R E A D ---------------
Current thread (0x0aaaa000): JavaThread "Finalizer" daemon [_thread_in_native, id=3716]
siginfo: ExceptionCode=0xc0000006, ExceptionInformation=0x00000000 0x10007774 0xc000020c
Registers:
EAX=0x00000003, EBX=0x00000000, ECX=0x0b837070, EDX=0x00000001
ESP=0x0ac1f54c, EBP=0x0ac1f564, ESI=0x0b3cbc00, EDI=0x0b3cbc00
EIP=0x10007774, EFLAGS=0x00010202
Top of Stack: (sp=0x0ac1f54c)
0x0ac1f54c: 0c6504d7 0b88ea34 0b88eae8 00000000
0x0ac1f55c: 0b837070 00000000 0ac1f580 0c65d331
0x0ac1f56c: 0b3cbc00 00000001 0b3cbc00 00000000
0x0ac1f57c: 00000000 0ac1f5a0 0c644647 0b3cbc00
0x0ac1f58c: 00000000 0b3cbc00 00000000 0b3cbc00
0x0ac1f59c: 07c1b6b8 0ac1f5c4 0c6444d1 0b3cbc00
0x0ac1f5ac: 00000000 0b3cbc00 00000000 00000000
0x0ac1f5bc: 0c4f1348 0c4f1f38 0ac1f5e8 74327ed4
Instructions: (pc=0x10007774)
0x10007764:
[error occurred during error reporting, step 100, id 0xc0000006]
Stack: [0x0abd0000,0x0ac20000), sp=0x0ac1f54c, free space=317k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [OCI.dll+0x7774]
C [SQORA32.DLL+0x1d331]
C [SQORA32.DLL+0x4647]
C [SQORA32.DLL+0x44d1]
C [ODBC32.dll+0x7ed4]
C [JdbcOdbc.dll+0x4d8b]
j sun.jdbc.odbc.JdbcOdbc.SQLDisconnect(J)V+132
j sun.jdbc.odbc.JdbcOdbcDriver.disconnect(J)V+4
j sun.jdbc.odbc.JdbcOdbcConnection.close()V+42
j oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.closeDatasourceConnection()V+4
j oracle.toplink.essentials.internal.databaseaccess.DatasourceAccessor.disconnect(Loracle/toplink/essentials/internal/sessions/AbstractSession;)V+35
j oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.disconnect(Loracle/toplink/essentials/internal/sessions/AbstractSession;)V+7
j oracle.toplink.essentials.internal.sessions.DatabaseSessionImpl.disconnect()V+14
j oracle.toplink.essentials.internal.sessions.DatabaseSessionImpl.logout()V+25
j oracle.toplink.essentials.threetier.ServerSession.logout()V+1
j oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerSetupImpl.removeSessionFromGlobalSessionManager()V+21
j oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerSetupImpl.undeploy()V+159
j oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerFactoryImpl.close()V+13
j oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerFactoryImpl.finalize()V+8
v ~StubRoutines::call_stub
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j sun.jdbc.odbc.JdbcOdbc.disconnect(J[B)V+0
j sun.jdbc.odbc.JdbcOdbc.SQLDisconnect(J)V+132
j sun.jdbc.odbc.JdbcOdbcDriver.disconnect(J)V+4
j sun.jdbc.odbc.JdbcOdbcConnection.close()V+42
j oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.closeDatasourceConnection()V+4
j oracle.toplink.essentials.internal.databaseaccess.DatasourceAccessor.disconnect(Loracle/toplink/essentials/internal/sessions/AbstractSession;)V+35
j oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.disconnect(Loracle/toplink/essentials/internal/sessions/AbstractSession;)V+7
j oracle.toplink.essentials.internal.sessions.DatabaseSessionImpl.disconnect()V+14
j oracle.toplink.essentials.internal.sessions.DatabaseSessionImpl.logout()V+25
j oracle.toplink.essentials.threetier.ServerSession.logout()V+1
j oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerSetupImpl.removeSessionFromGlobalSessionManager()V+21
j oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerSetupImpl.undeploy()V+159
j oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerFactoryImpl.close()V+13
j oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerFactoryImpl.finalize()V+8
v ~StubRoutines::call_stub
j java.lang.ref.Finalizer.invokeFinalizeMethod(Ljava/lang/Object;)V+0
j java.lang.ref.Finalizer.runFinalizer()V+45
j java.lang.ref.Finalizer.access$100(Ljava/lang/ref/Finalizer;)V+1
j java.lang.ref.Finalizer$FinalizerThread.run()V+11
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x0b0b0c00 JavaThread "JDWP Transport Listener: dt_shmem" daemon [_thread_in_native, id=5896]
0x0b3d3400 JavaThread "http-8084-4" daemon [_thread_blocked, id=464]
0x0af5a000 JavaThread "http-8084-3" daemon [_thread_blocked, id=5312]
0x0b22d000 JavaThread "TP-Monitor" daemon [_thread_blocked, id=6060]
0x0b36b000 JavaThread "TP-Processor4" daemon [_thread_in_native, id=5300]
0x0b33ec00 JavaThread "TP-Processor3" daemon [_thread_blocked, id=636]
0x0b33e400 JavaThread "TP-Processor2" daemon [_thread_blocked, id=2364]
0x0b127000 JavaThread "TP-Processor1" daemon [_thread_blocked, id=4616]
0x0b264000 JavaThread "http-8084-2" daemon [_thread_blocked, id=2092]
0x0b32b000 JavaThread "http-8084-1" daemon [_thread_in_native, id=784]
0x0b097800 JavaThread "http-8084-Acceptor-0" daemon [_thread_in_native, id=4424]
0x0b200800 JavaThread "ContainerBackgroundProcessor[StandardEngine[Catalina]]" daemon [_thread_blocked, id=3832]
0x0aada000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=4072]
0x0aad8800 JavaThread "CompilerThread0" daemon [_thread_blocked, id=5492]
0x0aacd800 JavaThread "JDWP Event Helper Thread" daemon [_thread_blocked, id=5060]
0x0aabcc00 JavaThread "Attach Listener" daemon [_thread_blocked, id=5980]
0x0aabc000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=6100]
=>0x0aaaa000 JavaThread "Finalizer" daemon [_thread_in_native, id=3716]
0x0aaa5800 JavaThread "Reference Handler" daemon [_thread_blocked, id=3636]
0x00299400 JavaThread "main" [_thread_in_native, id=876]
Other Threads:
0x0aaa2800 VMThread [id=5072]
0x0aadb800 WatcherThread [id=4248]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
def new generation total 1280K, used 25K [0x02990000, 0x02af0000, 0x02e70000)
eden space 1152K, 2% used [0x02990000, 0x02996470, 0x02ab0000)
from space 128K, 0% used [0x02ab0000, 0x02ab0000, 0x02ad0000)
to space 128K, 0% used [0x02ad0000, 0x02ad0000, 0x02af0000)
tenured generation total 16728K, used 11763K [0x02e70000, 0x03ec6000, 0x06990000)
the space 16728K, 70% used [0x02e70000, 0x039ecd70, 0x039ece00, 0x03ec6000)
compacting perm gen total 36352K, used 36190K [0x06990000, 0x08d10000, 0x0a990000)
the space 36352K, 99% used [0x06990000, 0x08ce7be8, 0x08ce7c00, 0x08d10000)
No shared spaces configured.
Dynamic libraries:
0x00400000 - 0x00423000 C:\Program Files\Java\jdk1.6.0_03\bin\java.exe
0x7c900000 - 0x7c9b0000 C:\WINNT\system32\ntdll.dll
0x7c800000 - 0x7c8f5000 C:\WINNT\system32\kernel32.dll
0x77dd0000 - 0x77e6b000 C:\WINNT\system32\ADVAPI32.dll
0x77e70000 - 0x77f02000 C:\WINNT\system32\RPCRT4.dll
0x77fe0000 - 0x77ff1000 C:\WINNT\system32\Secur32.dll
0x7c340000 - 0x7c396000 C:\Program Files\Java\jdk1.6.0_03\jre\bin\msvcr71.dll
0x6d870000 - 0x6daba000 C:\Program Files\Java\jdk1.6.0_03\jre\bin\client\jvm.dll
0x7e410000 - 0x7e4a0000 C:\WINNT\system32\USER32.dll
0x77f10000 - 0x77f57000 C:\WINNT\system32\GDI32.dll
0x76b40000 - 0x76b6d000 C:\WINNT\system32\WINMM.dll
0x629c0000 - 0x629c9000 C:\WINNT\system32\LPK.DLL
0x74d90000 - 0x74dfb000 C:\WINNT\system32\USP10.dll
0x77c10000 - 0x77c68000 C:\WINNT\system32\msvcrt.dll
0x6d3c0000 - 0x6d3c8000 C:\Program Files\Java\jdk1.6.0_03\jre\bin\hpi.dll
0x76bf0000 - 0x76bfb000 C:\WINNT\system32\PSAPI.DLL
0x6d4b0000 - 0x6d4d9000 C:\Program Files\Java\jdk1.6.0_03\jre\bin\jdwp.dll
0x6d770000 - 0x6d776000 C:\Program Files\Java\jdk1.6.0_03\jre\bin\npt.dll
0x6d820000 - 0x6d82c000 C:\Program Files\Java\jdk1.6.0_03\jre\bin\verify.dll
0x6d460000 - 0x6d47f000 C:\Program Files\Java\jdk1.6.0_03\jre\bin\java.dll
0x6d860000 - 0x6d86f000 C:\Program Files\Java\jdk1.6.0_03\jre\bin\zip.dll
0x6d320000 - 0x6d328000 C:\Program Files\Java\jdk1.6.0_03\jre\bin\dt_shmem.dll
0x6d620000 - 0x6d633000 C:\Program Files\Java\jdk1.6.0_03\jre\bin\net.dll
0x71ab0000 - 0x71ac7000 C:\WINNT\system32\WS2_32.dll
0x71aa0000 - 0x71aa8000 C:\WINNT\system32\WS2HELP.dll
0x71a50000 - 0x71a8f000 C:\WINNT\system32\mswsock.dll
0x662b0000 - 0x66308000 C:\WINNT\system32\hnetcfg.dll
0x71a90000 - 0x71a98000 C:\WINNT\System32\wshtcpip.dll
0x62f00000 - 0x62f13000 ...\Ora10gClient\BIN\ocijdbc10.dll
0x10000000 - 0x10057000 ...\ora10gClient\bin\OCI.dll
0x61c20000 - 0x61e72000 ...\ora10gClient\bin\OraClient10.Dll
0x60870000 - 0x60953000 ...\ora10gClient\bin\oracore10.dll
0x60a80000 - 0x60b44000 ...\ora10gClient\bin\oranls10.dll
0x63690000 - 0x636a8000 ...\ora10gClient\bin\oraunls10.dll
0x60eb0000 - 0x60eb7000 ...\ora10gClient\bin\orauts.dll
0x774e0000 - 0x7761d000 C:\WINNT\system32\ole32.dll
0x636b0000 - 0x636b6000 ...\ora10gClient\bin\oravsn10.dll
0x60fa0000 - 0x61092000 ...\ora10gClient\bin\oracommon10.dll
0x60300000 - 0x60857000 ...\ora10gClient\bin\orageneric10.dll
0x63430000 - 0x63457000 ...\ora10gClient\bin\orasnls10.dll
0x0c000000 - 0x0c160000 ...\ora10gClient\bin\oraxml10.dll
0x0c160000 - 0x0c171000 C:\WINNT\system32\MSVCIRT.dll
0x60960000 - 0x60a6d000 ...\ora10gClient\bin\oran10.dll
0x62740000 - 0x6277d000 ...\ora10gClient\bin\oranl10.dll
0x62790000 - 0x627a7000 ...\ora10gClient\bin\oranldap10.dll
0x627f0000 - 0x628f9000 ...\ora10gClient\bin\orannzsbb10.dll
0x62530000 - 0x62583000 ...\ora10gClient\bin\oraldapclnt10.dll
0x62670000 - 0x6268b000 ...\ora10gClient\bin\orancrypt10.dll
0x71ad0000 - 0x71ad9000 C:\WINNT\system32\WSOCK32.dll
0x77120000 - 0x771ab000 C:\WINNT\system32\OLEAUT32.dll
0x62920000 - 0x6296c000 ...\ora10gClient\bin\oranro10.dll
0x626b0000 - 0x626b7000 ...\ora10gClient\bin\oranhost10.dll
0x62660000 - 0x62666000 ...\ora10gClient\bin\orancds10.dll
0x0acc0000 - 0x0acc8000 ...\ora10gClient\bin\orantns10.dll
0x60b50000 - 0x60ea8000 ...\ora10gClient\bin\orapls10.dll
0x0c180000 - 0x0c189000 ...\ora10gClient\bin\oraslax10.dll
0x63080000 - 0x63284000 ...\ora10gClient\bin\oraplp10.dll
0x61ed0000 - 0x61f5b000 ...\ora10gClient\bin\orahasgen10.dll
0x62ab0000 - 0x62b1a000 ...\ora10gClient\bin\oraocr10.dll
0x62b20000 - 0x62b60000 ...\ora10gClient\bin\oraocrb10.dll
0x5b860000 - 0x5b8b4000 C:\WINNT\system32\NETAPI32.dll
0x62980000 - 0x62990000 ...\ora10gClient\bin\orantcp10.dll
0x0c190000 - 0x0c22a000 ...\ora10gClient\bin\orasql10.dll
0x76f20000 - 0x76f47000 C:\WINNT\system32\DNSAPI.dll
0x76fb0000 - 0x76fb8000 C:\WINNT\System32\winrnr.dll
0x76f60000 - 0x76f8c000 C:\WINNT\system32\WLDAP32.dll
0x76fc0000 - 0x76fc6000 C:\WINNT\system32\rasadhlp.dll
0x5ad70000 - 0x5ada8000 C:\WINNT\system32\uxtheme.dll
0x0c400000 - 0x0c407000 C:\Program Files\Logitech\MouseWare\System\LgWndHk.dll
0x74720000 - 0x7476b000 C:\WINNT\system32\MSCTF.dll
0x6d4a0000 - 0x6d4ad000 C:\Program Files\Java\jdk1.6.0_03\jre\bin\JdbcOdbc.dll
0x74320000 - 0x7435d000 C:\WINNT\system32\ODBC32.dll
0x5d090000 - 0x5d12a000 C:\WINNT\system32\COMCTL32.dll
0x7c9c0000 - 0x7d1d6000 C:\WINNT\system32\SHELL32.dll
0x77f60000 - 0x77fd6000 C:\WINNT\system32\SHLWAPI.dll
0x763b0000 - 0x763f9000 C:\WINNT\system32\comdlg32.dll
0x773d0000 - 0x774d3000 C:\WINNT\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03\comctl32.dll
0x20000000 - 0x20017000 C:\WINNT\system32\odbcint.dll
0x5fe80000 - 0x5fe9b000 C:\WINNT\system32\odbccp32.dll
0x77c00000 - 0x77c08000 C:\WINNT\system32\VERSION.dll
0x0c640000 - 0x0c6bd000 ...\Ora10gClient\BIN\SQORA32.DLL
0x0c6c0000 - 0x0c6c9000 ...\ORA10GCLIENT\BIN\sqresUS.dll
0x7c140000 - 0x7c245000 C:\WINNT\system32\MFC71.DLL
0x5d360000 - 0x5d36e000 C:\WINNT\system32\MFC71ENU.DLL
VM Arguments:
jvm_args: -Dhttp.proxyHost= -Dhttp.proxyPort=80 -Dhttp.nonProxyHosts= -Dhttps.proxyHost= -Dhttps.proxyPort=80 -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=C:\Documents and Settings\...\.netbeans\6.0\apache-tomcat-6.0.14_base\conf\logging.properties -Xdebug -Xrunjdwp:transport=dt_shmem,address=tomcat_shared_memory_id,server=y,suspend=n -Djava.endorsed.dirs=C:\Program Files\Apache Software Foundation\Apache Tomcat 6.0.14\endorsed -Dcatalina.base=C:\Documents and Settings\XXX\.netbeans\6.0\apache-tomcat-6.0.14_base -Dcatalina.home=C:\Program Files\Apache Software Foundation\Apache Tomcat 6.0.14 -Djava.io.tmpdir=C:\Documents and Settings\...\.netbeans\6.0\apache-tomcat-6.0.14_base\temp
java_command: org.apache.catalina.startup.Bootstrap start
Launcher Type: SUN_STANDARD
Environment Variables:
JAVA_HOME=C:\Program Files\Java\jdk1.6.0_03
JRE_HOME=C:\Program Files\Java\jdk1.6.0_03
CLASSPATH=C:\Program Files\Java\jdk1.6.0_03\lib\tools.jar;C:\Program Files\Apache Software Foundation\Apache Tomcat 6.0.14\bin\bootstrap.jar
PATH=...\ora10gClient\bin;...\ora9i\bin;...\orant\ora8i\bin;...\orant\bin;C:\Program Files\Java\jre1.5.0_06\bin;C:\Program Files\Java\jre1.5.0_06\bin;C:\Program Files\Documentum\Shared;p:\pvcs813\vm\win32\bin;p:\pvcs813\vm\common\bin\win32;P:\PVCS81\vm\win32\bin;P:\PVCS81\vm\common\bin\win32;C:\Program Files\Common Files\Business Objects\3.0\bin\NOTES\;C:\Program Files\Common Files\Business Objects\3.0\bin\NOTES\DATA\;C:\WINNT\system32;C:\WINNT;C:\WINNT\system32\wbem;C:\Program Files\QuickTime\QTSystem";;C:\Program Files\QuickTime\QTSystem;C:\Borland\JBuilder2005\jdk1.4\bin;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Documentum\Shared;C:\WINNT;C:\WINNT\system32
USERNAME=XXX
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 15 Model 3 Stepping 4, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows XP Build 2600 Service Pack 2
CPU:total 1 (1 cores per cpu, 1 threads per core) family 15 model 3 stepping 4, cmov, cx8, fxsr, mmx, sse, sse2, sse3
Memory: 4k page, physical 1047536k(145972k free), swap 2996004k(1885868k free)
vm_info: Java HotSpot(TM) Client VM (1.6.0_03-b05) for windows-x86, built on Sep 24 2007 22:24:33 by "java_re" with unknown MS VC++:1310
Please if have a solution to this problem let me know,
Please don't say use thin driver because OCI is required on my envirnomentAre you sure you are using the Oracle OCI JDBC driver? From you stack trace you are not, you are using the JDBC-ODBC bridge.
>>
sun.jdbc.odbc.JdbcOdbc.SQLDisconnect(J)V+132
j sun.jdbc.odbc.JdbcOdbcDriver.disconnect(J)V+4
j sun.jdbc.odbc.JdbcOdbcConnection.close()V+42
j oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.closeDatasourceConnection()V+4
Ensure you set your database url and driver class in your persistence XML (or DataSource config) to be the Oracle JDBC driver and the Oracle OCI url.
i.e.
toplink.jdbc.driver - oracle.jdbc.OracleDriver
toplink.jdbc.url - jdbc:oracle:oci:@instance
-- James : http://www.eclipselink.org -
Oracle Provider connectivity issues in 2008 server (for Standard Users)
Hi
We're using Windows 2008 R2 server and installed a VB application. The application has the capability to connect to Access, SQL Server or Oracle Datbase using OLEDB providers. When I login as "Administrator", the application connects to all three databases.
But, When I login as "Standard user" in the server and try to connect to the Oracle Database (using Oracle OLEDB provider), the application errors "Database server doesn't exist or Access denied".
We are using Oracle 10g (oraops10.dll, version 1.102.2.20) client. We have also provided the full access rights to "Authenticated Users" and "Users" account in the server and still get this error.
Any suggestions/ideas, why this error occurs?I don't think, you're correct.
As mentioned in my post, the application works fine when I logged as "Administrator". Only for the "Standard users" logins, the application doesn't work.
The Windows Server restricts the oracle database connectivity for the standard users. My questions, does oracle require "special permission" for certain folders, so the standard users can connect to the oracle database.?
Regards, Karthik -
Oracle 10g connection issue..
Hi ,
I have oracle 10g installed on one unix box and i need to connect to this oracle 10g from another unix box
using the sqlplus client version 9.2.0.7.0.
When i try to connect using sqlplus 9.2.0.7.0 i am not getting any response.
is it possible to connect to oracle10g using sqlplus 9.2.0.7.0?
Thanks.Zymson wrote:
I have oracle 10g installed on one unix box and i need to connect to this oracle 10g from another unix box
using the sqlplus client version 9.2.0.7.0.
When i try to connect using sqlplus 9.2.0.7.0 i am not getting any response.You failed to provide any meaningful information in order to diagnose the problem.
I suggest that you start off with some basic tests first.
1. Ping
Can you ping the remote server? On the local Unix box, use the dotted IP address of the remote Unix box and determine if it responds. E.g.
ping <IP_ADDRESS>
2. Hostname resolution
Ideally you want to use the hostname (instead of dotted IP) of remote Unix box. Determine if the local Unix box resolves the remote Unix box's hostname. E.g.
ping <HOSTNAME>
3. Oracle port connectivity
Next you need to test if the TCP port used by the Oracle Listener on that remote Unix box is reachable from the local box (and not firewalled for exampled). Telnet into this port (if the connection is accepted, press enter a few times and the telnet connection will be terminated by the listener). E.g.
telnet <HOSTNAME> 1521
4. Test SQL*Plus connectivity
Once you've established that connectivity to the remote Listener is working, you need to test the TNS connection string and ensure that the connection parameters (such as ORACLE SID) that is passed to the Listener is correct. E.g.
sqlplus scott/tiger@"(DESCRIPTION= (ADDRESS= (PROTOCOL=TCP)(HOST=<HOSTNAME>)(PORT=1521)) (CONNECT_DATA= (SID=<ORACLE_SID>) (SERVER=dedicated)))"
Once all ths is working, should you update the local Unix box's tnsnames.ora file with the TNS connection string and use that TNS alias for connecting via SQL*Plus.
If any of these steps do not work, post the full details of the step PLUS the actual error information (error codes and error messages). -
Weblogic 6.1sp3 Oracle 9i connectivity issue
All,
I need your help in overcoming a Connection Pool issue. Details are:
-Configuration - Weblogic 6.1 sp2, Oracle 9i (on a P4 machine)
-Connection pool entry (config.xml)
<JDBCConnectionPool CapacityIncrement="1" DriverName="oracle.jdbc.driver.OracleDriver"
InitialCapacity="5"
MaxCapacity="25" Name="ejbPool" Properties="user=testuser;password=testpassword;dll=ocijdbc8;protocol=thin"
RefreshMinutes="10" ShrinkPeriodMinutes="5" Targets="myserver"
TestConnectionsOnReserve="true" TestTableName="dual" URL="jdbc:oracle:thin:@delmtest:1521:SID"/>
While starting weblogic, I get the following exception:
<Oct 25, 2002 5:00:46 PM IST> <Error> <JDBC> <Cannot startup connection pool "ejbPool"
weblogic.common.ResourceException:
Could not create pool connection. The DBMS driver exception was:
java.lang.ArrayIndexOutOfBoundsException
at oracle.security.o3logon.C0.r(C0)
at oracle.security.o3logon.C0.l(C0)
at oracle.security.o3logon.C1.c(C1)
at oracle.security.o3logon.O3LoginClientHelper.getEPasswd(O3LoginClientHelper)
Any pointers will be greatly appreciated.
Thanks,
RajaProblem solved!! Solution was to include the correct classes12.jar file in the
CLASSPATH BEFORE weblogic.jar. This is because weblogic.jar also ships with an
oracle driver, which is 8.1.7 (not 9i).
Thanks for your help..
Joseph Weinstein <[email protected]> wrote:
>
>
Raja Raman wrote:
Full stack trace is:Yep. The pool never got created. The failure below is during pool creation,
and is definitely an Oracle internal problem. You should simplify the
problem
by trying (maybe with Oracle's help) to make a simple JDBC connection
to your DBMS, with their driver, in a simple standalone program.
joe
<Oct 25, 2002 7:38:25 PM IST> <Error> <JDBC> <Cannot startup connectionpool "ejbPool"
weblogic.common.ResourceException:
Could not create pool connection. The DBMS driver exception was:
java.lang.ArrayIndexOutOfBoundsException
at oracle.security.o3logon.C0.r(C0)
at oracle.security.o3logon.C0.l(C0)
at oracle.security.o3logon.C1.c(C1)
at oracle.security.o3logon.O3LoginClientHelper.getEPasswd(O3LoginClientHelper)
at oracle.jdbc.ttc7.O3log.<init>(O3log.java:289)
at oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.java:251)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:246)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:365)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:260)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(ConnectionEnvFactory.java:193)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:134)
at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllocator.java:698)
at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.java:282)
at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java:623)
at weblogic.jdbc.common.JDBCService.addDeployment(JDBCService.java:107)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:329)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:279)
at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:233)
at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:193)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy28.updateDeployments(Unknown Source)
at weblogic.management.configuration.ServerMBean_CachingStub.updateDeployments(ServerMBean_CachingStub.java:2761)
at weblogic.management.mbeans.custom.ApplicationManager.startConfigManager(ApplicationManager.java:370)
at weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManager.java:160)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy37.start(Unknown Source)
at weblogic.management.configuration.ApplicationManagerMBean_CachingStub.start(ApplicationManagerMBean_CachingStub.java:480)
at weblogic.management.Admin.startApplicationManager(Admin.java:1180)
at weblogic.management.Admin.finish(Admin.java:590)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:518)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:203)
at weblogic.Server.main(Server.java:35)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(ConnectionEnvFactory.java:209)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:134)
at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllocator.java:698)
at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.java:282)
at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java:623)
at weblogic.jdbc.common.JDBCService.addDeployment(JDBCService.java:107)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:329)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:279)
at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:233)
at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:193)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy28.updateDeployments(Unknown Source)
at weblogic.management.configuration.ServerMBean_CachingStub.updateDeployments(ServerMBean_CachingStub.java:2761)
at weblogic.management.mbeans.custom.ApplicationManager.startConfigManager(ApplicationManager.java:370)
at weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManager.java:160)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy37.start(Unknown Source)
at weblogic.management.configuration.ApplicationManagerMBean_CachingStub.start(ApplicationManagerMBean_CachingStub.java:480)
at weblogic.management.Admin.startApplicationManager(Admin.java:1180)
at weblogic.management.Admin.finish(Admin.java:590)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:518)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:203)
at weblogic.Server.main(Server.java:35)
>
Joseph Weinstein <[email protected]> wrote:
Raja Raman wrote:
All,
I need your help in overcoming a Connection Pool issue. Details
are:
-Configuration - Weblogic 6.1 sp2, Oracle 9i (on a P4 machine)
-Connection pool entry (config.xml)
<JDBCConnectionPool CapacityIncrement="1" DriverName="oracle.jdbc.driver.OracleDriver"
InitialCapacity="5"
MaxCapacity="25" Name="ejbPool" Properties="user=testuser;password=testpassword;dll=ocijdbc8;protocol=thin"
RefreshMinutes="10" ShrinkPeriodMinutes="5" Targets="myserver"
TestConnectionsOnReserve="true" TestTableName="dual" URL="jdbc:oracle:thin:@delmtest:1521:SID"/>
While starting weblogic, I get the following exception:
<Oct 25, 2002 5:00:46 PM IST> <Error> <JDBC> <Cannot startup connectionpool "ejbPool"
weblogic.common.ResourceException:
Could not create pool connection. The DBMS driver exception was:
java.lang.ArrayIndexOutOfBoundsException
at oracle.security.o3logon.C0.r(C0)
at oracle.security.o3logon.C0.l(C0)
at oracle.security.o3logon.C1.c(C1)
at oracle.security.o3logon.O3LoginClientHelper.getEPasswd(O3LoginClientHelper)Let me see the whole stacktrace. From the pool definition, the pooleither
never got created,
or it did get created and made some successful connections, so I suspect
you may not be
actually trying to get pool connections.
Joe Weinstein at BEA
Any pointers will be greatly appreciated.
Thanks,
Raja -
Oracle Discoverer 4i (portal db - oracle 8i) connectivity issue with 11g database
Hi All
We have oracle discoverer 4i with portal db (oracle 8i).
We connect to the external databases using db links in the portal db and the reports will use the db link to retrieve the data from views in the external databases.
External databases we were connecting is oracle 10g version and now we have upgraded these databases to 11g version.
Now i have a created a new db link to this 11g database and i have created a new EUL in portal to connect to this 11g database.
But when i try to create a report using the discoverer from this new EUL after login to the discoverer we get a "cannot connect to database" error.
We have all the necesscary privilege to the user and the new database link works perfectly fine. (when we try to query directly using SQL plus from portal database using this db link the query works perfectly fine).
Im not sure if this is a compatibility issue in connecting from oracle disc 4i to a 11g database.
Can any one advise if this is the case and if there is any workaround for this?
Regards,
RajAre you saying you are having issues with a database link between 8i and 11g (pl post exact versions to 4 digits) ? If so, it should be expected as database links between these two versions are not supported. Is there a reason you cannot upgrade the portal database to at least 10gR2 ?
See MOS Doc 207303.1
HTH
Srini -
NW 7.3 Installation - Oracle Database connection issue.
Dear SDN,
I am trying to install the SAP NW 7.3 but fail due the connection to oracle database. (My System details : Windows 7, 64 bit, 4gb ram - copyied NW7.3 server for 64 bit)
I hvae installed the Oracle database and client. I have checked and stated the services, updated the host file, started the database with SQL editor, checked the Oracle Enterprise Manager, all looks fine.
When I run the Sapinst, it finds the database but unable to process next due to connection error. error message looks like :
Cannot connect to jaiswal
Error(s) returned:
SQL Server does not exist or access denied.
SOLUTION: Check that you specified the correct name for the database server, that the server is running and you are authorized to log on to it.
Please advice on the issue.
Best Regards
Arun JaiswalDear Vincent
I am using the Oracle as database. When I extract the part-1-5 folder for Oracle database and started the run the sapinst under extracted folder > data units > _MSS.
Best Regards
Arun Jaiswal -
Developer 6i with patch 18 and oracle 11g connection issue
hi ,
I installed Oracle database 11g on server ,
when login to my application and open any form or report ,get oracle connection
user and password
what should i do ?
please help meso, canot use dev 6i?I'm afraid you can't. Not certified doesn't necessarily mean it won't work, but if you have problems, you're on your own...
Of course you have two solutions : use 10g DB, or upgrade your forms to 10g. What's the problem for the latter ? -
Oracle Database Connection ISSUE
Folks,
I Installed Oracle 8.1.7 database on a RH AS Linux server. Installation is smooth. I am able to start the server and listerner without any errors. I am able to connect through SQL Plus and JDBC Clients. After sometime(10-12 mins) something happens on the server and I am NOT able to connect to the server through JDBC client. But still I am able to connect through SQL Plus from remote machines.
Does this ring any bells to you guys ? Let me know.
thx.
Rajesh.Dear Vincent
I am using the Oracle as database. When I extract the part-1-5 folder for Oracle database and started the run the sapinst under extracted folder > data units > _MSS.
Best Regards
Arun Jaiswal -
Hi All,
I have the following environment :
• Server01
CPU: 2x Intel(R) Xeon(R) CPU E5540 @ 2.53GHz (quadcore)
Mem: 42 Gb
NICs: 2x HP NC326m PCIe, 2x HP NC532i Dual Port 10GbE
SO: Windows Server 2003 R2 SP2
EPM Tools installed (11.1.1.3 version):
Hyperion Planning;
Hyperion Workspace;
Hyperion Financial Reporting;
Hyperion Web Analysis.
• Server02
CPU: 2x Intel(R) Xeon(R) CPU E5540 @ 2.53GHz (quadcore)
Mem: 42 Gb
NICs: 2x HP NC326m PCIe, 2x HP NC532i Dual Port 10GbE
SO: Windows Server 2003 R2 SP2
EPM Tools installed (11.1.1.3 version):
Hyperion Shared Services;
Hyperion Essbase Server;
Hyperion Essbase Administrator Services;
Hyperion Essbase Integration Services;
Hyperion Provider Services;
Hyperion Smart Search.
I intend to migrate my database server from 10g to 11g (11.2.0.3 version). Searching at oracle-hyperion-epm-system-certific-2-128342 (11.1.1.3).xls I've found the following at Oracle Database (Repository) column after have applied the filters OS (32 bits) and OS Version (Windows Server 2003 SP1* /R2) :
Oracle 9.2.0.5 through
Oracle 11.1.0.6.0, 11.2.0.1+
This result means that my database version is supported by my current EPM version (11.1.1.3), does it ? Because I've heard that EPM 11.1.1.3 is not supported and have to migrate to 11.1.1.4 version.
ThanksHi John,
But if you look line 10 at "Non-Oracle DB & Datasources" you'll see that 11.1.1.3 version the Database Type is :
Oracle 9i (9.2.0.5)
Oracle 10g (10.1.0.5, 10.2.0.2)
Oracle 11g (11.1.0.6.0 maximum version)
Oracle 11g (11.2.0.1)
But at line 11 on 11.1.1.4 version you see
Oracle 10g (10.1.0.5+, 10.2.0.2+)
Oracle 11g (11.1.0.6.0+)
Oracle 11g (11.2.0.1+)
So, can I conclude that 11.1.1.3 is not compatible against Oracle DB 11.2.0.3 version ?
Thanks -
Hi guys,
I had successfully got Session id. But i do not pass the session id value.I had convert the wsdl file to java classes using Jaxws..
Following code:
String cookie = SoapClient.logon("code", "userName", "Password");
String sessionId = getSessionId(cookie);
String wsLocation = "https://secure-ausomxzxc.crmondemand.com/Services/Integration";
wsURL = new URL(wsLocation + ";jsessionid=" + sessionId);
wsURL2 = new URL(wsURL, "file:/C:/Users/raj/jaxws-ri/bin/Lead.wsdl");
Lead_Service leadService = new Lead_Service(wsURL2, new QName("urn:crmondemand/ws/ecbs/lead/", "Lead"));
Lead lead = leadService.getLead();
LeadQueryPageInput input = new LeadQueryPageInput();
LeadQueryPageOutput out = lead.leadQueryPage(input);
System.out.println(out);
public static String getSessionId(String cookie) {
StringTokenizer st = new StringTokenizer(cookie, ";");
String jsessionid = st.nextToken();
st = new StringTokenizer(jsessionid, "=");
st.nextToken();
return st.nextToken();
Following error is thrown:
Exception in thread "main" javax.xml.ws.soap.SOAPFaultException: Server
at com.sun.xml.internal.ws.fault.SOAP11Fault.getProtocolException(Unknown Source)
at com.sun.xml.internal.ws.fault.SOAPFaultBuilder.createException(Unknown Source)
at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(Unknown Source)
at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(Unknown Source)
at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(Unknown Source)
at $Proxy29.leadQueryPage(Unknown Source)
at crmondemand.model.LeadAPI.main(LeadAPI.java:31)
pls help to me........
Edited by: 858421 on May 12, 2011 4:11 AM
Edited by: 858421 on May 12, 2011 6:49 AM
Edited by: 858421 on May 12, 2011 6:52 AMHi,
this is a common error, something is wrong with the soap message you send. I would suggest you use Stateless sessions for your implementation and do it like this:
1. You need a SecurityHandler Class
public class SecurityHandler implements SOAPHandler<SOAPMessageContext> {
private static String WS_SECEXT = "http://docs.oasis-open.org/wss/" +
"2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd";
private static String WS_USER_TOKEN_PROFILE = "http://docs.oasis-open.org" +
"/wss/2004/01/oasis-200401-wss-username-token-profile-1.0" +
"#PasswordText";
@Override
public boolean handleMessage(SOAPMessageContext messageContext) {
if ((Boolean) messageContext.get(
MessageContext.MESSAGE_OUTBOUND_PROPERTY)) {
try {
SOAPMessage msg = messageContext.getMessage();
SOAPEnvelope envelope = msg.getSOAPPart().getEnvelope();
SOAPHeader soapHeader;
if (envelope.getHeader() != null) {
soapHeader = envelope.getHeader();
} else {
soapHeader = envelope.addHeader();
SOAPHeaderElement headerElement = soapHeader.addHeaderElement(new QName(WS_SECEXT, "Security", "wsse"));
headerElement.setMustUnderstand(true);
SOAPElement usernameToken = headerElement.addChildElement(new QName(WS_SECEXT, "UsernameToken", "wsse"));
SOAPElement username = usernameToken.addChildElement(new QName(WS_SECEXT, "Username", "wsse"));
username.addTextNode("username here...");
SOAPElement password = usernameToken.addChildElement(new QName(WS_SECEXT, "Password", "wsse"));
password.addAttribute(new QName("Type"), WS_USER_TOKEN_PROFILE);
password.addTextNode("password here...");
} catch (Exception ex) {
Logger.getLogger(SecurityHandler.class.getName()).log(Level.SEVERE, null, ex);
return true;
@Override
public Set<QName> getHeaders() {
return new HashSet<QName>();
@Override
public boolean handleFault(SOAPMessageContext context) {
return true;
@Override
public void close(MessageContext context) {
return;
// other methods
2. this is how the call should look like afterwards (jax-ws)
CustomObject1_Service loc = new CustomObject1_Service();
CustomObject1 st1 = loc.getCustomObject1();
SecurityHandler securityHandler = new SecurityHandler();
javax.xml.ws.Binding myBinding = ((BindingProvider) st1).getBinding();
List<javax.xml.ws.handler.Handler> repositoryHandlerChain = myBinding.getHandlerChain();
repositoryHandlerChain.add(securityHandler);
myBinding.setHandlerChain(repositoryHandlerChain);
...now do what you want... eg call Lead insert/query method... -
OS authentication in Oracle 10g via jdbc:oracle:oci
I'm very much a newbie to Java / JDBC and I am trying, but failing, to connect with the database using OS authentication via jdbc, and hoping someone may help.
My questions are:
1. Is OS authentication supported for jdbc:oracle:oci with Oracle 10g ? I couldn't find a general statement of whether it works or not.
(NB.The only information I managed to find, on another forum, is that it should be supported but there is a bug and so it does not work, but the author did not post all of his/her platform details, so the bug may only affect his/her situation. )
2. If it is supported and works, could some one suggest what is wrong with my syntax . I could not find an example in any Oracle 10g/JDBC documentation.
The details are as follows: -
Database : - Oracle 10g Enterprise Edition 10.2.0.2.0 running on Solaris.
Development platform : - NetBeans 6.1, JDK 1.6.
Runtime environment: - JRE1.6 on Windows XP professional.
OPS$ authentication : - the OPS$ accounts have been set-up and we use these successfully for PL/SQL and SQL Plus access.
JDBC : - I can connect to the database with both jdbc:oracle:thin ( linking in ojdbc14.jar) and jdbc:oracle:oci by using username and password, so I know my JDBC library linkage is OK, eg. this works fine :
final String url = new String("jdbc:oracle:oci:" + uname + "/" + pword + "@" + environment);
where environment is the SID
I have trawled the Oracle documentation which tells me that OS authentication is not supported for Oracle 10g for the jdbc:oracle:thin driver, so I have tried to connect with jdbc:oracle:oci driver using the following code :
final String url = new String("jdbc:oracle:oci:/@" + environment);
final Driver driver = new oracle.jdbc.OracleDriver();
DriverManager.registerDriver(driver);
final Properties props = new Properties();
conn = DriverManager.getConnection(url);
but this gives the following error :
java.sql.SQLException: ORA-01017: invalid username/password; logon denied
Other info: - The tnsnames.ora file contains nothing but there are entries in the ldap.ora and sqlnet.ora files.
My questions are:
1. Is OS authentication supported for jdbc:oracle:oci with Oracle 10g ? I couldn't find a general statement of whether it works or not.
(NB.The only information I managed to find, on another forum, is that it should be supported but there is a bug and so it does not work, but the author did not post all of his/her platform details, so the bug may only affect his/her situation. )
2. If it is supported and works, could some one suggest what is wrong with my syntax . I could not find an example in any Oracle 10g/JDBC documentation.If you specify the SID/service_name in the url, you are attempting to connect via SQL*NET and REMOTE_OS_AUTHENT must be set to true in the database. If you are connecting from the same host the database runs on, then just leave the SID off and make sure the ORACLE_SID environment variable is set.
You can reproduce the same error you get in java with
sqlplus /@SID
SQL*Plus: Release 10.2.0.2.0 - Production on Fri Nov 7 12:14:08 2008
Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
ERROR:
ORA-01017: invalid username/password; logon deniedSample Code:
import oracle.jdbc.pool.OracleDataSource;
import java.sql.Connection;
import java.sql.SQLException;
public class conn {
public static void main(String[] args) throws SQLException {
OracleDataSource ods = new OracleDataSource();
ods.setURL("jdbc:oracle:oci:/@");
Connection conn = ods.getConnection();
conn.close();
} -
Oracle OCI CLIENT 11g is not connecting with PHP & Apache on Fedora
Dear all... we are facing following issue... similar to other but not able to resolve ...
Warning: oci_connect() [function.oci-connect]: OCIEnvNlsCreate() failed. There is something wrong with your system - please check that LD_LIBRARY_PATH includes the directory with Oracle Instant Client libraries in /var/www/html/waseem2.php on line 2
our PHPinfo(); is showing following the OCI8 Extenstion Enabled
PHP Version 5.2.9
System Linux localhost.localdomain 2.6.27.5-117.fc10.i686 #1 SMP Tue Nov 18 12:19:59 EST 2008 i686
Build Date Apr 17 2009 03:29:46
Configure Command './configure' '--build=i386-redhat-linux-gnu' '--host=i386-redhat-linux-gnu' '--target=i386-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--cache-file=../config.cache' '--with-libdir=lib' '--with-config-file-path=/etc' '--with-config-file-scan-dir=/etc/php.d' '--disable-debug' '--with-pic' '--disable-rpath' '--without-pear' '--with-bz2' '--with-curl' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--with-xpm-dir=/usr' '--enable-gd-native-ttf' '--with-t1lib=/usr' '--without-gdbm' '--with-gettext' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl' '--with-pcre-regex=/usr' '--with-zlib' '--with-layout=GNU' '--enable-exif' '--enable-ftp' '--enable-magic-quotes' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--enable-wddx' '--with-kerberos' '--enable-ucd-snmp-hack' '--enable-shmop' '--enable-calendar' '--without-mime-magic' '--without-sqlite' '--with-libxml-dir=/usr' '--enable-xml' '--with-system-tzdata' '--with-apxs2=/usr/sbin/apxs' '--without-mysql' '--without-gd' '--disable-dom' '--disable-dba' '--without-unixODBC' '--disable-pdo' '--disable-xmlreader' '--disable-xmlwriter' '--disable-json' '--without-pspell'
Server API Apache 2.0 Handler
Virtual Directory Support disabled
Configuration File (php.ini) Path /etc
Loaded Configuration File /etc/php.ini
Scan this dir for additional .ini files /etc/php.d
additional .ini files parsed /etc/php.d/dbase.ini, /etc/php.d/json.ini, /etc/php.d/ldap.ini, /etc/php.d/mbstring.ini, /etc/php.d/mysql.ini, /etc/php.d/mysqli.ini, /etc/php.d/pdo.ini, /etc/php.d/pdo_mysql.ini, /etc/php.d/pdo_sqlite.ini, /etc/php.d/zip.ini
PHP API 20041225
PHP Extension 20060613
Zend Extension 220060519
Debug Build no
Thread Safety disabled
Zend Memory Manager enabled
IPv6 Support enabled
Registered PHP Streams php, file, data, http, ftp, compress.bzip2, compress.zlib, https, ftps, zip
Registered Stream Socket Transports tcp, udp, unix, udg, ssl, sslv3, sslv2, tls
Registered Stream Filters string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, convert.iconv.*, bzip2.*, zlib.*
Zend logo This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
PHP Credits
Configuration
PHP Core
Directive Local Value Master Value
allow_call_time_pass_reference Off Off
allow_url_fopen On On
allow_url_include Off Off
always_populate_raw_post_data Off Off
arg_separator.input & &
arg_separator.output & &
asp_tags Off Off
auto_append_file no value no value
auto_globals_jit On On
auto_prepend_file no value no value
browscap no value no value
default_charset no value no value
default_mimetype text/html text/html
define_syslog_variables Off Off
disable_classes no value no value
disable_functions no value no value
display_errors On On
display_startup_errors Off Off
doc_root no value no value
docref_ext no value no value
docref_root no value no value
enable_dl On On
error_append_string no value no value
error_log no value no value
error_prepend_string no value no value
error_reporting 6143 6143
expose_php On On
extension_dir /usr/lib/php/modules /usr/lib/php/modules
file_uploads On On
highlight.bg #FFFFFF #FFFFFF
highlight.comment #FF8000 #FF8000
highlight.default #0000BB #0000BB
highlight.html #000000 #000000
highlight.keyword #007700 #007700
highlight.string #DD0000 #DD0000
html_errors On On
ignore_repeated_errors Off Off
ignore_repeated_source Off Off
ignore_user_abort Off Off
implicit_flush Off Off
include_path .:/usr/share/pear:/usr/share/php .:/usr/share/pear:/usr/share/php
log_errors On On
log_errors_max_len 1024 1024
magic_quotes_gpc Off Off
magic_quotes_runtime Off Off
magic_quotes_sybase Off Off
mail.force_extra_parameters no value no value
max_execution_time 30 30
max_input_nesting_level 64 64
max_input_time 60 60
memory_limit 32M 32M
open_basedir no value no value
output_buffering 4096 4096
output_handler no value no value
post_max_size 8M 8M
precision 14 14
realpath_cache_size 16K 16K
realpath_cache_ttl 120 120
register_argc_argv Off Off
register_globals Off Off
register_long_arrays Off Off
report_memleaks On On
report_zend_debug On On
safe_mode Off Off
safe_mode_exec_dir no value no value
safe_mode_gid Off Off
safe_mode_include_dir no value no value
sendmail_from no value no value
sendmail_path /usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i
serialize_precision 100 100
short_open_tag On On
SMTP localhost localhost
smtp_port 25 25
sql.safe_mode Off Off
track_errors Off Off
unserialize_callback_func no value no value
upload_max_filesize 2M 2M
upload_tmp_dir no value no value
user_dir no value no value
variables_order EGPCS EGPCS
xmlrpc_error_number 0 0
xmlrpc_errors Off Off
y2k_compliance On On
zend.ze1_compatibility_mode Off Off
apache2handler
Apache Version Apache/2.2.11 (Fedora)
Apache API Version 20051115
Server Administrator root@localhost
Hostname:Port localhost.localdomain:0
User/Group apache(48)/48
Max Requests Per Child: 4000 - Keep Alive: off - Max Per Connection: 100
Timeouts Connection: 120 - Keep-Alive: 15
Virtual Server No
Server Root /etc/httpd
Loaded Modules core prefork http_core mod_so mod_auth_basic mod_auth_digest mod_authn_file mod_authn_alias mod_authn_anon mod_authn_dbm mod_authn_default mod_authz_host mod_authz_user mod_authz_owner mod_authz_groupfile mod_authz_dbm mod_authz_default util_ldap mod_authnz_ldap mod_include mod_log_config mod_logio mod_env mod_ext_filter mod_mime_magic mod_expires mod_deflate mod_headers mod_usertrack mod_setenvif mod_mime mod_dav mod_status mod_autoindex mod_info mod_dav_fs mod_vhost_alias mod_negotiation mod_dir mod_actions mod_speling mod_userdir mod_alias mod_rewrite mod_proxy mod_proxy_balancer mod_proxy_ftp mod_proxy_http mod_proxy_connect mod_cache mod_suexec mod_disk_cache mod_file_cache mod_mem_cache mod_cgi mod_perl mod_php5 mod_proxy_ajp mod_python mod_ssl
Directive Local Value Master Value
engine 1 1
last_modified 0 0
xbithack 0 0
Apache Environment
Variable Value
LD_LIBRARY_PATH /home/zubair/instantclient_11_1_
HTTP_HOST localhost
HTTP_USER_AGENT Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.4) Gecko/2008111217 Fedora/3.0.4-1.fc10 Firefox/3.0.4
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_LANGUAGE en-us,en;q=0.5
HTTP_ACCEPT_ENCODING gzip,deflate
HTTP_ACCEPT_CHARSET ISO-8859-1,utf-8;q=0.7,*;q=0.7
HTTP_KEEP_ALIVE 300
HTTP_CONNECTION keep-alive
HTTP_COOKIE PHPSESSID=he50pdhvtihu74lhmjnvggfr42
PATH /sbin:/usr/sbin:/bin:/usr/bin
SERVER_SIGNATURE <address>Apache/2.2.11 (Fedora) Server at localhost Port 80</address>
SERVER_SOFTWARE Apache/2.2.11 (Fedora)
SERVER_NAME localhost
SERVER_ADDR 127.0.0.1
SERVER_PORT 80
REMOTE_ADDR 127.0.0.1
DOCUMENT_ROOT /var/www/html
SERVER_ADMIN root@localhost
SCRIPT_FILENAME /var/www/html/waseem.php
REMOTE_PORT 39529
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING no value
REQUEST_URI /waseem.php
SCRIPT_NAME /waseem.php
HTTP Headers Information
HTTP Request Headers
HTTP Request GET /waseem.php HTTP/1.1
Host localhost
User-Agent Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.4) Gecko/2008111217 Fedora/3.0.4-1.fc10 Firefox/3.0.4
Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language en-us,en;q=0.5
Accept-Encoding gzip,deflate
Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive 300
Connection keep-alive
Cookie PHPSESSID=he50pdhvtihu74lhmjnvggfr42
HTTP Response Headers
X-Powered-By PHP/5.2.9
Connection close
Transfer-Encoding chunked
Content-Type text/html; charset=UTF-8
bz2
BZip2 Support Enabled
Stream Wrapper support compress.bz2://
Stream Filter support bzip2.decompress, bzip2.compress
BZip2 Version 1.0.5, 10-Dec-2007
calendar
Calendar support enabled
ctype
ctype functions enabled
curl
cURL support enabled
cURL Information libcurl/7.18.2 NSS/3.12.1.1 zlib/1.2.3 libidn/0.6.14 libssh2/0.18
date
date/time support enabled
"Olson" Timezone Database Version 0.system
Timezone Database internal
Default timezone Asia/Karachi
Directive Local Value Master Value
date.default_latitude 31.7667 31.7667
date.default_longitude 35.2333 35.2333
date.sunrise_zenith 90.583333 90.583333
date.sunset_zenith 90.583333 90.583333
date.timezone no value no value
exif
EXIF Support enabled
EXIF Version 1.4 $Id: exif.c,v 1.173.2.5.2.27 2008/12/31 11:17:37 sebastian Exp $
Supported EXIF Version 0220
Supported filetypes JPEG,TIFF
filter
Input Validation and Filtering enabled
Revision $Revision: 1.52.2.45 $
Directive Local Value Master Value
filter.default unsafe_raw unsafe_raw
filter.default_flags no value no value
ftp
FTP support enabled
gettext
GetText Support enabled
gmp
gmp support enabled
GMP version 4.2.2
hash
hash support enabled
Hashing Engines md2 md4 md5 sha1 sha256 sha384 sha512 ripemd128 ripemd160 ripemd256 ripemd320 whirlpool tiger128,3 tiger160,3 tiger192,3 tiger128,4 tiger160,4 tiger192,4 snefru gost adler32 crc32 crc32b haval128,3 haval160,3 haval192,3 haval224,3 haval256,3 haval128,4 haval160,4 haval192,4 haval224,4 haval256,4 haval128,5 haval160,5 haval192,5 haval224,5 haval256,5
iconv
iconv support enabled
iconv implementation glibc
iconv library version 2.9
Directive Local Value Master Value
iconv.input_encoding ISO-8859-1 ISO-8859-1
iconv.internal_encoding ISO-8859-1 ISO-8859-1
iconv.output_encoding ISO-8859-1 ISO-8859-1
json
json support enabled
json version 1.2.1
ldap
LDAP Support enabled
RCS Version $Id: ldap.c,v 1.161.2.3.2.14 2008/12/31 11:17:39 sebastian Exp $
Total Links 0/unlimited
API Version 3001
Vendor Name OpenLDAP
Vendor Version 20412
SASL Support Enabled
libxml
libXML support active
libXML Version 2.7.3
libXML streams enabled
mbstring
Multibyte Support enabled
Multibyte string engine libmbfl
Multibyte (japanese) regex support enabled
Multibyte regex (oniguruma) version 4.4.4
Multibyte regex (oniguruma) backtrack check On
mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1.
Directive Local Value Master Value
mbstring.detect_order no value no value
mbstring.encoding_translation Off Off
mbstring.func_overload 0 0
mbstring.http_input pass pass
mbstring.http_output pass pass
mbstring.internal_encoding no value no value
mbstring.language neutral neutral
mbstring.strict_detection Off Off
mbstring.substitute_character no value no value
mysql
MySQL Support enabled
Active Persistent Links 0
Active Links 0
Client API version 5.0.84
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib/mysql -lmysqlclient
Directive Local Value Master Value
mysql.allow_persistent On On
mysql.connect_timeout 60 60
mysql.default_host no value no value
mysql.default_password no value no value
mysql.default_port no value no value
mysql.default_socket no value no value
mysql.default_user no value no value
mysql.max_links Unlimited Unlimited
mysql.max_persistent Unlimited Unlimited
mysql.trace_mode Off Off
mysqli
MysqlI Support enabled
Client API library version 5.0.84
Client API header version 5.0.77
MYSQLI_SOCKET /var/lib/mysql/mysql.sock
Directive Local Value Master Value
mysqli.default_host no value no value
mysqli.default_port 3306 3306
mysqli.default_pw no value no value
mysqli.default_socket no value no value
mysqli.default_user no value no value
mysqli.max_links Unlimited Unlimited
mysqli.reconnect Off Off
oci8
OCI8 Support enabled
Version 1.3.5
Revision $Revision: 1.269.2.16.2.38.2.32 $
Active Persistent Connections 0
Active Connections 0
Oracle Instant Client Version 11.1
Temporary Lob support enabled
Collections support enabled
Directive Local Value Master Value
oci8.connection_class no value no value
oci8.default_prefetch 100 100
oci8.events Off Off
oci8.max_persistent -1 -1
oci8.old_oci_close_semantics Off Off
oci8.persistent_timeout -1 -1
oci8.ping_interval 60 60
oci8.privileged_connect Off Off
oci8.statement_cache_size 20 20
openssl
OpenSSL support enabled
OpenSSL Version OpenSSL 0.9.8g 19 Oct 2007
pcre
PCRE (Perl Compatible Regular Expressions) Support enabled
PCRE Library Version 7.8 2008-09-05
Directive Local Value Master Value
pcre.backtrack_limit 100000 100000
pcre.recursion_limit 100000 100000
PDO
PDO support enabled
PDO drivers mysql, sqlite
pdo_mysql
PDO Driver for MySQL, client library version 5.0.84
pdo_sqlite
PDO Driver for SQLite 3.x enabled
PECL Module version 1.0.1 $Id: pdo_sqlite.c,v 1.10.2.6.2.4 2008/12/31 11:17:42 sebastian Exp $
SQLite Library 3.5.9
posix
Revision $Revision: 1.70.2.3.2.22 $
Reflection
Reflection enabled
Version $Id: php_reflection.c,v 1.164.2.33.2.55 2008/12/31 11:17:42 sebastian Exp $
session
Session Support enabled
Registered save handlers files user
Registered serializer handlers php php_binary wddx
Directive Local Value Master Value
session.auto_start Off Off
session.bug_compat_42 Off Off
session.bug_compat_warn On On
session.cache_expire 180 180
session.cache_limiter nocache nocache
session.cookie_domain no value no value
session.cookie_httponly Off Off
session.cookie_lifetime 0 0
session.cookie_path / /
session.cookie_secure Off Off
session.entropy_file no value no value
session.entropy_length 0 0
session.gc_divisor 1000 1000
session.gc_maxlifetime 1440 1440
session.gc_probability 1 1
session.hash_bits_per_character 5 5
session.hash_function 0 0
session.name PHPSESSID PHPSESSID
session.referer_check no value no value
session.save_handler files files
session.save_path /var/lib/php/session /var/lib/php/session
session.serialize_handler php php
session.use_cookies On On
session.use_only_cookies Off Off
session.use_trans_sid 0 0
shmop
shmop support enabled
SimpleXML
Simplexml support enabled
Revision $Revision: 1.151.2.22.2.46 $
Schema support enabled
sockets
Sockets Support enabled
SPL
SPL support enabled
Interfaces Countable, OuterIterator, RecursiveIterator, SeekableIterator, SplObserver, SplSubject
Classes AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException, BadMethodCallException, CachingIterator, DirectoryIterator, DomainException, EmptyIterator, FilterIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, NoRewindIterator, OutOfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RecursiveRegexIterator, RegexIterator, RuntimeException, SimpleXMLIterator, SplFileInfo, SplFileObject, SplObjectStorage, SplTempFileObject, UnderflowException, UnexpectedValueException
standard
Regex Library Bundled library enabled
Dynamic Library Support enabled
Path to sendmail /usr/sbin/sendmail -t -i
Directive Local Value Master Value
assert.active 1 1
assert.bail 0 0
assert.callback no value no value
assert.quiet_eval 0 0
assert.warning 1 1
auto_detect_line_endings 0 0
default_socket_timeout 60 60
safe_mode_allowed_env_vars PHP_ PHP_
safe_mode_protected_env_vars LD_LIBRARY_PATH LD_LIBRARY_PATH
url_rewriter.tags a=href,area=href,frame=src,input=src,form=fakeentry a=href,area=href,frame=src,input=src,form=fakeentry
user_agent no value no value
sysvmsg
sysvmsg support enabled
Revision $Revision: 1.20.2.3.2.8 $
tokenizer
Tokenizer Support enabled
wddx
WDDX Support enabled
WDDX Session Serializer enabled
xml
XML Support active
XML Namespace Support active
libxml2 Version 2.7.3
zip
Zip enabled
Extension Version $Id: php_zip.c,v 1.1.2.49 2009/02/05 19:53:22 pajoye Exp $
Zip version 1.8.11
Libzip version 0.9.0
zlib
ZLib Support enabled
Stream Wrapper support compress.zlib://
Stream Filter support zlib.inflate, zlib.deflate
Compiled Version 1.2.3
Linked Version 1.2.3
Directive Local Value Master Value
zlib.output_compression Off Off
zlib.output_compression_level -1 -1
zlib.output_handler no value no value
Additional Modules
Module Name
dbase
sysvsem
sysvshm
Environment
Variable Value
TERM xterm
LD_LIBRARY_PATH /home/zubair/instantclient_11_1/
PATH /sbin:/usr/sbin:/bin:/usr/bin
PWD /
LANG C
SHLVL 2
ORACLE_HOME /home/zubair/instantclient_11_1/
_ /usr/sbin/httpd
PHP Variables
Variable Value
_REQUEST["PHPSESSID"] he50pdhvtihu74lhmjnvggfr42
_COOKIE["PHPSESSID"] he50pdhvtihu74lhmjnvggfr42
SERVER["LDLIBRARY_PATH"] /home/zubair/instantclient_11_1
_SERVER["HTTP_HOST"] localhost
_SERVER["HTTP_USER_AGENT"] Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.4) Gecko/2008111217 Fedora/3.0.4-1.fc10 Firefox/3.0.4
_SERVER["HTTP_ACCEPT"] text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
_SERVER["HTTP_ACCEPT_LANGUAGE"] en-us,en;q=0.5
_SERVER["HTTP_ACCEPT_ENCODING"] gzip,deflate
_SERVER["HTTP_ACCEPT_CHARSET"] ISO-8859-1,utf-8;q=0.7,*;q=0.7
_SERVER["HTTP_KEEP_ALIVE"] 300
_SERVER["HTTP_CONNECTION"] keep-alive
_SERVER["HTTP_COOKIE"] PHPSESSID=he50pdhvtihu74lhmjnvggfr42
_SERVER["PATH"] /sbin:/usr/sbin:/bin:/usr/bin
_SERVER["SERVER_SIGNATURE"] <address>Apache/2.2.11 (Fedora) Server at localhost Port 80</address>
_SERVER["SERVER_SOFTWARE"] Apache/2.2.11 (Fedora)
_SERVER["SERVER_NAME"] localhost
_SERVER["SERVER_ADDR"] 127.0.0.1
_SERVER["SERVER_PORT"] 80
_SERVER["REMOTE_ADDR"] 127.0.0.1
_SERVER["DOCUMENT_ROOT"] /var/www/html
_SERVER["SERVER_ADMIN"] root@localhost
_SERVER["SCRIPT_FILENAME"] /var/www/html/waseem.php
_SERVER["REMOTE_PORT"] 39529
_SERVER["GATEWAY_INTERFACE"] CGI/1.1
_SERVER["SERVER_PROTOCOL"] HTTP/1.1
_SERVER["REQUEST_METHOD"] GET
_SERVER["QUERY_STRING"] no value
_SERVER["REQUEST_URI"] /waseem.php
_SERVER["SCRIPT_NAME"] /waseem.php
_SERVER["PHP_SELF"] /waseem.php
_SERVER["REQUEST_TIME"] 1253301146
_ENV["TERM"] xterm
_ENV["LD_LIBRARY_PATH"] /home/zubair/instantclient_11_1/
_ENV["PATH"] /sbin:/usr/sbin:/bin:/usr/bin
_ENV["PWD"] /
_ENV["LANG"] C
_ENV["SHLVL"] 2
_ENV["ORACLE_HOME"] /home/zubair/instantclient_11_1/
_ENV["_"] /usr/sbin/httpd
PHP License
This program is free software; you can redistribute it and/or modify it under the terms of the PHP License as published by the PHP Group and included in the distribution in the file: LICENSE
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
If you did not receive a copy of the PHP license, or have any questions about PHP licensing, please contact [email protected].
Have a nice day!
Fatal error: Call to undefined function odbc_connect() in /var/www/html/waseem.php on line 20
------------------------------------------------------------------------------------------Is the problem with oci_connect or odbc_connect?
The phpinfo() output shows '--without-unixODBC' which may be a root cause. There is no 'odbc' section shown in the phpinfo() output so I wouldn't expect odbc calls to work.
But if the issue is with OCI8, then make sure that Oracle environment variables and LD_LIBRARY_PATH are set BEFORE starting Apache.
More information on OCI8 and PHP is in http://www.oracle.com/technology/tech/php/underground-php-oracle-manual.html
Also see http://wiki.oracle.com/page/PHP+Oracle+FAQ
The PHP forum on OTN is http://www.oracle.com/technology/forums/php.html -
Error while creating a report that uses Oracle OCI JDBC connectivity
Please let me know why my CR and LF characters are removed from my forum posting *****
Hi,
I was trying to create a report that uses Oracle OCI JDBC connectivity. I am using Eclipse3.4 download from "cr4e-all-in-one-win_2.0.2.zip". I have successfully created a JDBC OCI connection.
The connection parameters are given below:
URL: jdbc:oracle:oci8:@xe
Database: xe
username: <userName>
password: <password>
I have tested the above connection in Data source Explorer and it works fine!!!
But I am getting the following error when I drag-and-drop a table from the list of tables. Not sure what I am missing here? Any help is highly appreciated.
com.businessobjects.reports.jdbinterface.common.DBException: InvalidURLOrClassName
at com.crystaldecisions.reports.queryengine.driverImpl.jdbc.JDBCConnection.Open(Unknown Source)
at com.crystaldecisions.reports.queryengine.JDBConnectionWrapper.Open(SourceFile:123)
at com.crystaldecisions.reports.queryengine.Connection.br(SourceFile:1771)
at com.crystaldecisions.reports.queryengine.Connection.bs(SourceFile:491)
at com.crystaldecisions.reports.queryengine.Connection.t1(SourceFile:2979)
at com.crystaldecisions.reports.queryengine.Table.u7(SourceFile:2408)
at com.crystaldecisions.reports.dataengine.datafoundation.AddDatabaseTableCommand.new(SourceFile:529)
at com.crystaldecisions.reports.common.CommandManager.a(SourceFile:71)
at com.crystaldecisions.reports.common.Document.a(SourceFile:203)
at com.businessobjects.reports.sdk.requesthandler.f.a(SourceFile:175)
at com.businessobjects.reports.sdk.requesthandler.DatabaseRequestHandler.byte(SourceFile:1079)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1163)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:657)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:163)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:525)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:523)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at com.businessobjects.crystalreports.designer.core.util.thread.ExecutorWithIdleProcessing$3.doWork(ExecutorWithIdleProcessing.java:182)
at com.businessobjects.crystalreports.designer.core.util.thread.AbstractCancellableRunnable.run(AbstractCancellableRunnable.java:69)
at com.businessobjects.crystalreports.designer.core.util.thread.PriorityTask.run(PriorityTask.java:75)
at com.businessobjects.crystalreports.designer.core.util.thread.PriorityCompoundCancellableRunnable.runSubtask(PriorityCompoundCancellableRunnable.java:187)
at com.businessobjects.crystalreports.designer.core.util.thread.PriorityProgressAwareRunnable.runSubtask(PriorityProgressAwareRunnable.java:90)
at com.businessobjects.crystalreports.designer.core.util.thread.PriorityCompoundCancellableRunnable.doWork(PriorityCompoundCancellableRunnable.java:144)
at com.businessobjects.crystalreports.designer.core.util.thread.AbstractCancellableRunnable.run(AbstractCancellableRunnable.java:69)
at com.businessobjects.crystalreports.designer.core.util.thread.ExecutorWithIdleProcessing$IdleTask.run(ExecutorWithIdleProcessing.java:320)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Thanks
Karthik
Edited by: KARTHIK1 on Oct 14, 2009 9:38 PMHi Ted,
Thanks for the feedback. I was able to create a report in Creystal Reports Designer 2008 using OCI. It is not allowing only in the Eclipse plugin. In our environment we are not allowed to user Oracle thin connections and ONLY OCI is allowed.
1) Can you please let me know if there is a way to do this?
2) Will it allow data sources using native database driver?
3) If so, can I use JRC to create these reports from a desktop java program?
Thanks & Regards
Karthik
Edited by: KARTHIK1 on Oct 15, 2009 4:38 PM
Maybe you are looking for
-
I would like my application (which is built with adf uix) allows the user to open a new browser window when he needs. Unfortunately this functionality creates some problems. 1) I set and get some sessionScope attributes to manage some behaviour o
-
How does one get an iPod nano to turn on other than the "normal" way? This one has been dropped and all I can get is a blank screen. I have tried holding down the HOME button to restart it but no go. When I connect it to my computer, I am told to ent
-
Mail V3.1 can not create a new Cablevision Optimum Online mail account
Apple Technical support asked me to report this on this forum. I have OS X 10.5.1 with Mail 3.1. My ISP is Cablevision Optimum Online, which uses mail.optonline.net as their POP and SMTP servers. Pre-existing mail accounts, created under 10.4.x (Tige
-
Editing metadata in Finder??
can you edit metadata within finder?? I used to edit my files in Windows Explorer. I was able to edit the artist name, album, album artist, etc. all from the explorer ( Finder for Windows). But, it seems that you can't do any of that editing of file
-
Hiding tabs in "user profile" iview (EP7)
Hi, I am working on EP7 SPS12 and was just looking for any possibilities to modify the "user profile"-application which is a webdynpro now. I guess we have to modify the webdynpro component, not configuration possible, right? I did not find any WD ap