Using JDriver for Oracle 8i from Weblogic server 6.1

Hi
We have solaris machine running Weblogic server 6.1 SP1 and another solaris running Oracle 8i. I have installed client libraries in machine running WLS 6.1. I have set the LD_SERVER_PATH in setEnv.sh file of weblogic. when i create coinnection pool from WLS CONSOLE and i restart it it is throwing an error
Jan 3, 2002 4:48:21 PM GMT-05:00> <Error> <JDBC> <Cannot startup
connection pool "OraclePool" weblogic.common.ResourceException:
Could not create pool connection. The DBMS driver exception was:
java.sql.SQLException: System.loadLibrary(weblogicoci37) threw
java.lang.UnsatisfiedLinkError:
/oracle8i/CAPS/bea/wlserver6.1/lib/solaris/oci816_8/libweblogicoci37.so:
ld.so.1:
/oracle8i/CAPS/bea/jdk131/jre/bin/../bin/sparc/native_threads/java:
fatal: /oracle8i/product/8.1.6/lib64/libclntsh.so.8.0: wrong ELF class:
ELFCLASS64
at weblogic.jdbc.oci.Driver.loadLibraryIfNeeded(Driver.java:226)
at weblogic.jdbc.oci.Driver.connect(Driver.java:76)
at
weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Connec
tionEnvFactory.java:192)
at
weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Connec
tionEnvFactory.java:134)
at
weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllocat
or.java:698)
at
weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.java
:282)
at
weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java
:629)
at
weblogic.jdbc.common.JDBCService.addDeployment(JDBCService.java:107)
at
weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Deploym
entTarget.java:329)
at
weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(Deploy
mentTarget.java:279)
at
weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeploymen
ts(DeploymentTarget.java:233)
at
weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(Dep
loymentTarget.java:193)
at java.lang.reflect.Method.invoke(Native Method)
at
weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBean
Impl.java:608)
at
weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.ja
va:592)
at
weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configuration
MBeanImpl.java:352)
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:449)
at
weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:190)
at $Proxy33.updateDeployments(Unknown Source)
at
weblogic.management.configuration.ServerMBean_CachingStub.updateDeployme
nts(ServerMBean_CachingStub.java:2734)
at
weblogic.management.mbeans.custom.ApplicationManager.startConfigManager(
ApplicationManager.java:362)
at
weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationMa
nager.java:154)
at java.lang.reflect.Method.invoke(Native Method)
at
weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBean
Impl.java:608)
at
weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.ja
va:592)
at
weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configuration
MBeanImpl.java:352)
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:449)
at
weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:190)
at $Proxy46.start(Unknown Source)
at
weblogic.management.configuration.ApplicationManagerMBean_CachingStub.st
art(ApplicationManagerMBean_CachingStub.java:480)
at
weblogic.management.Admin.startApplicationManager(Admin.java:1151)
at weblogic.management.Admin.finish(Admin.java:570)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:506)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:203)
at weblogic.Server.main(Server.java:35)
at
weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Connec
tionEnvFactory.java:208)
at
weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Connec
tionEnvFactory.java:134)
at
weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllocat
or.java:698)
at
weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.java
:282)
at
weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java
:629)
at
weblogic.jdbc.common.JDBCService.addDeployment(JDBCService.java:107)
at
weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Deploym
entTarget.java:329)
at
weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(Deploy
mentTarget.java:279)
at
weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeploymen
ts(DeploymentTarget.java:233)
at
weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(Dep
loymentTarget.java:193)
at java.lang.reflect.Method.invoke(Native Method)
at
weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBean
Impl.java:608)
at
weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.ja
va:592)
at
weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configuration
MBeanImpl.java:352)
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:449)
at
weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:190)
at $Proxy33.updateDeployments(Unknown Source)
at
weblogic.management.configuration.ServerMBean_CachingStub.updateDeployme
nts(ServerMBean_CachingStub.java:2734)
at
weblogic.management.mbeans.custom.ApplicationManager.startConfigManager(
ApplicationManager.java:362)
at
weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationMa
nager.java:154)
at java.lang.reflect.Method.invoke(Native Method)
at
weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBean
Impl.java:608)
at
weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.ja
va:592)
at
weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configuration
MBeanImpl.java:352)
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:449)
at
weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:190)
at $Proxy46.start(Unknown Source)
at
weblogic.management.configuration.ApplicationManagerMBean_CachingStub.st
art(ApplicationManagerMBean_CachingStub.java:480)
at
weblogic.management.Admin.startApplicationManager(Admin.java:1151)
at weblogic.management.Admin.finish(Admin.java:570)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:506)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:203)
at weblogic.Server.main(Server.java:35)
I would appreciate if you can offer some help.
Thanks,
S Gopikrishna

IT WORKS FINE FOR ME.
Script that starts the bwls...
CTP=t3://wls_ip:port
JAVA_HOME=/usr/j2se
WL_HOME=/weblogic61
ORACLE_HOME=/oracle/oracle_client
NLS_LANG=american_america.WE8ISO8859P1
ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
PATH=$PATH:$JAVA_HOME/bin:/usr/ccs/bin:/usr/ucb:$ORACLE_HOME/bin
LD_LIBRARY_PATH=$WL_HOME/lib/solaris/oci815_8:$ORACLE_HOME/lib
export LD_LIBRARY_PATH PATH ORA_NLS33 NLS_LANG ORACLE_HOME
SET CLASSPATH
START WLS
weblogic.properties
weblogic.jdbc.connectionPool.MyOraPool=\
url=jdbc:weblogic:oracle,\
driver=weblogic.jdbc.oci.Driver,\
loginDelaySecs=1,\
initialCapacity=3,\
maxCapacity=9,\
capacityIncrement=2,\
allowShrinking=true,\
shrinkPeriodMins=12,\
refreshMinutes=10,\
props=user=orausr;password=orafoousr;server=ORASERVER;weblogic.oci.min_bind_size=1000

Similar Messages

  • XA  jDriver for Oracle problem : Getting native code exception

    Hi,
    I'm getting a native code exception which causes the Weblogic server to crash when
    using XA drivers for transaction with two oracle databases. My application uses RMI
    and threads.
    I'm using BEA's jDriver for Oracle running under Weblogic server 6.1 sp1 talking
    to Oracle 8.1.6. The OS is Solaris 2.8.
    In middle of the program execution it's giving this problem. I'm using jdk131 in
    solaris platform.
    Any idea what's going on here ?
    Thanks,
    Nagoor Haja
    Exception in the Log file:
    ===========================
    An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : 11 occurred at PC=0xff2414d8
    Function name=madvise
    Library=/usr/lib/libc.so.1
    Current Java thread:
    at weblogic.jdbc.oci.xa.XA.native_commit(Native Method)
    at weblogic.jdbc.oci.xa.XA.commit(XA.java:136)
    at weblogic.jdbc.oci.xa.XADataSource.commit(XADataSource.java:696)
    at weblogic.jdbc.jta.DataSource.commit(DataSource.java:784)
    at weblogic.transaction.internal.ServerResourceInfo.commit(ServerResourceInfo.java:1180)
    at weblogic.transaction.internal.ServerResourceInfo.commit(ServerResourceInfo.java:419)
    at weblogic.transaction.internal.ServerSCInfo.startCommit(ServerSCInfo.java:233)
    at weblogic.transaction.internal.ServerTransactionImpl.localCommit(ServerTransactionImpl.java:1397)
    at weblogic.transaction.internal.ServerTransactionImpl.globalRetryCommit(ServerTransactionImpl.java:1940)
    at weblogic.transaction.internal.ServerTransactionImpl.globalCommit(ServerTransactionImpl.java:1886)
    at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:221)
    at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:190)
    at weblogic.transaction.internal.CoordinatorImpl.commit(CoordinatorImpl.java:68)
    at weblogic.transaction.internal.CoordinatorImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:296)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:265)
    at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:22)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    Dynamic libraries:
    0x10000 /opt/jdk131/jre/bin/../bin/sparc/native_threads/java
    0xff350000 /usr/lib/libthread.so.1
    0xff390000 /usr/lib/libdl.so.1
    0xff200000 /usr/lib/libc.so.1
    0xff330000 /usr/platform/SUNW,Ultra-60/lib/libc_psr.so.1
    0xfe480000 /opt/jdk131/jre/lib/sparc/hotspot/libjvm.so
    0xff2e0000 /usr/lib/libCrun.so.1
    0xff1e0000 /usr/lib/libsocket.so.1
    0xff100000 /usr/lib/libnsl.so.1
    0xff0d0000 /usr/lib/libm.so.1
    0xff100000 /usr/lib/libnsl.so.1
    0xff0d0000 /usr/lib/libm.so.1
    0xff310000 /usr/lib/libw.so.1
    0xff0b0000 /usr/lib/libmp.so.2
    0xff080000 /opt/jdk131/jre/lib/sparc/native_threads/libhpi.so
    0xff050000 /opt/jdk131/jre/lib/sparc/libverify.so
    0xfe440000 /opt/jdk131/jre/lib/sparc/libjava.so
    0xff020000 /opt/jdk131/jre/lib/sparc/libzip.so
    0xfafb0000 /opt/jdk131/jre/lib/sparc/libnet.so
    0xfadd0000 /usr/lib/nss_files.so.1
    0xe1d00000 /opt/wlserver6.1/lib/solaris/oci816_8/libweblogicoci37.so
    0xe1400000 /opt/oracle/lib/libclntsh.so.8.0
    0xfac90000 /usr/lib/libC.so.5
    0xfadb0000 /opt/oracle/lib/libwtc8.so
    0xfad90000 /usr/lib/libgen.so.1
    0xfac70000 /usr/lib/libsched.so.1
    0xfac40000 /usr/lib/libaio.so.1
    0xfac20000 /opt/wlserver6.1/lib/solaris/oci816_8/libweblogicoxa37.so
    0xe8ad0000 /redis/tibco/rv6.6/lib/libtibrvj.so
    0xe8ab0000 /redis/tibco/rv6.6/lib/libtibrvcmq.so
    0xe89c0000 /redis/tibco/rv6.6/lib/libtibrvcm.so
    0xe8990000 /redis/tibco/rv6.6/lib/libtibrvft.so
    0xe8890000 /redis/tibco/rv6.6/lib/libtibrv.so
    0xe8870000 /usr/lib/libpthread.so.1
    0xe6fe0000 /opt/wlserver6.1/lib/solaris/libmuxer.so
    0xe6fc0000 /opt/wlserver6.1/lib/solaris/libweblogicunix1.so
    java Exception in the program due to the above reason:
    ======================================================
    java.sql.SQLException: weblogic.rmi.extensions.RemoteRuntimeException - with nested
    exception:
    [weblogic.rjvm.PeerGoneException: ; nested exception is:
         java.io.EOFException]
         at weblogic.jdbc.rmi.SerialStatement.execute(SerialStatement.java:310)
         at com.cme.clearing.jta.JThread.insertAgain(JThread.java:121)
         at com.cme.clearing.jta.JThread.process(JThread.java:100)
         at com.cme.clearing.jta.JThread.run(JThread.java:85)
    java.sql.SQLException: weblogic.rmi.extensions.RemoteRuntimeException - with nested
    exception:
    [weblogic.rjvm.PeerGoneException: ; nested exception is:
         java.io.EOFException]
         at weblogic.jdbc.rmi.SerialStatement.execute(SerialStatement.java:310)
         at com.cme.clearing.jta.JThread.insertAgain(JThread.java:121)
         at com.cme.clearing.jta.JThread.process(JThread.java:100)
         at com.cme.clearing.jta.JThread.run(JThread.java:85)
    java.sql.SQLException: weblogic.rmi.extensions.RemoteRuntimeException - with nested
    exception:
    [weblogic.rjvm.PeerGoneException: ; nested exception is:
         java.io.EOFException]
         at weblogic.jdbc.rmi.SerialStatement.execute(SerialStatement.java:310)
         at com.cme.clearing.jta.JThread.insertAgain(JThread.java:121)
         at com.cme.clearing.jta.JThread.process(JThread.java:100)
         at com.cme.clearing.jta.JThread.run(JThread.java:85)
    java.rmi.RemoteException: Message was not sent because transaction is not active.
    Xid=0:a1ccd55d7f28edb9(795840),Status=Rolled back. [Reason=weblogic.transaction.internal.TimedOutException:
    Transaction timed out after 29 seconds
    Xid=0:a1ccd55d7f28edb9(795840),Status=Active,numRepliesOwedMe=1,numRepliesOwedOthers=0,seconds
    since begin=29,seconds left=30,activeThread=Thread[Thread-1,5,main],spatidbxa,SCInfo[mydomain+myserver]=(state=active),properties=({}),OwnerTransactionManager=ClientTM,CoordinatorURL=myserver+10.1.32.81:8001+mydomain+)],numRepliesOwedMe=1,numRepliesOwedOthers=0,seconds
    since begin=68,seconds left=1,activeThread=Thread[Thread-1,5,main],spatidbxa,SCInfo[mydomain+myserver]=(state=active),properties=({}),OwnerTransactionManager=ClientTM,CoordinatorURL=myserver+10.1.32.81:8001+mydomain+)
         at weblogic.transaction.internal.TransactionManagerImpl.sendRequest(TransactionManagerImpl.java:1155)
         at weblogic.rmi.internal.BasicRemoteRef.getOutboundRequest(BasicRemoteRef.java:101)
         at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:123)
         at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35)
         at $Proxy1.process(Unknown Source)
         at com.cme.clearing.jta.JThread.process(JThread.java:101)
         at com.cme.clearing.jta.JThread.run(JThread.java:85)
    java.rmi.RemoteException: Message was not sent because transaction is not active.
    Xid=1:a1ccd55d7f28edb9(6051803),Status=Rolled back. [Reason=weblogic.transaction.internal.TimedOutException:
    Transaction timed out after 29 seconds
    Xid=1:a1ccd55d7f28edb9(6051803),Status=Active,numRepliesOwedMe=1,numRepliesOwedOthers=0,seconds
    since begin=29,seconds left=30,activeThread=Thread[Thread-2,5,main],spatidbxa,SCInfo[mydomain+myserver]=(state=active),properties=({}),OwnerTransactionManager=ClientTM,CoordinatorURL=myserver+10.1.32.81:8001+mydomain+)],numRepliesOwedMe=1,numRepliesOwedOthers=0,seconds
    since begin=69,seconds left=0,activeThread=Thread[Thread-2,5,main],spatidbxa,SCInfo[mydomain+myserver]=(state=active),properties=({}),OwnerTransactionManager=ClientTM,CoordinatorURL=myserver+10.1.32.81:8001+mydomain+)
         at weblogic.transaction.internal.TransactionManagerImpl.sendRequest(TransactionManagerImpl.java:1155)
         at weblogic.rmi.internal.BasicRemoteRef.getOutboundRequest(BasicRemoteRef.java:101)
         at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:123)
         at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35)
         at $Proxy1.process(Unknown Source)
         at com.cme.clearing.jta.JThread.process(JThread.java:101)
         at com.cme.clearing.jta.JThread.run(JThread.java:85)
    java.rmi.RemoteException: Message was not sent because transaction is not active.
    Xid=2:a1ccd55d7f28edb9(4244097),Status=Rolled back. [Reason=weblogic.transaction.internal.TimedOutException:
    Transaction timed out after 33 seconds
    Xid=2:a1ccd55d7f28edb9(4244097),Status=Active,numRepliesOwedMe=1,numRepliesOwedOthers=0,seconds
    since begin=33,seconds left=30,activeThread=Thread[Thread-3,5,main],spatidbxa,SCInfo[mydomain+myserver]=(state=active),properties=({}),OwnerTransactionManager=ClientTM,CoordinatorURL=myserver+10.1.32.81:8001+mydomain+)],numRepliesOwedMe=1,numRepliesOwedOthers=0,seconds
    since begin=68,seconds left=5,activeThread=Thread[Thread-3,5,main],spatidbxa,SCInfo[mydomain+myserver]=(state=active),properties=({}),OwnerTransactionManager=ClientTM,CoordinatorURL=myserver+10.1.32.81:8001+mydomain+)
         at weblogic.transaction.internal.TransactionManagerImpl.sendRequest(TransactionManagerImpl.java:1155)
         at weblogic.rmi.internal.BasicRemoteRef.getOutboundRequest(BasicRemoteRef.java:101)
         at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:123)
         at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35)
         at $Proxy1.process(Unknown Source)
         at com.cme.clearing.jta.JThread.process(JThread.java:101)
         at com.cme.clearing.jta.JThread.run(JThread.java:85)
    javax.naming.CommunicationException. Root exception is java.rmi.ConnectException:
    Unable to get direct or routed connection to: '-736127454917455663S:10.1.32.81:[8001,8001,8002,8002,8001,8002,-1]:mydomain:myserver'
         at weblogic.rmi.internal.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:85)
         at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:255)
         at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:222)
         at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35)
         at $Proxy0.lookup(Unknown Source)
         at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:323)
         at javax.naming.InitialContext.lookup(InitialContext.java:350)
         at com.cme.clearing.jta.JContext.getTransaction(JContext.java:29)
         at com.cme.clearing.jta.JThread.startTransaction(JThread.java:67)
         at com.cme.clearing.jta.JThread.run(JThread.java:81)
    Exception null
    javax.naming.CommunicationException. Root exception is java.rmi.ConnectException:
    Unable to get direct or routed connection to: '-736127454917455663S:10.1.32.81:[8001,8001,8002,8002,8001,8002,-1]:mydomain:myserver'
         at weblogic.rmi.internal.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:85)
         at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:255)
         at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:222)
         at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35)
         at $Proxy0.lookup(Unknown Source)
         at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:323)
         at javax.naming.InitialContext.lookup(InitialContext.java:350) Exception null
         at com.cme.clearing.jta.JContext.getTransaction(JContext.java:29)
         at com.cme.clearing.jta.JThread.startTransaction(JThread.java:67)
         at com.cme.clearing.jta.JThread.run(JThread.java:81)

    I see. Do you mean this code runs outside of the server? :
    at com.cme.clearing.jta.JThread.insertAgain(JThread.java:121)
    at com.cme.clearing.jta.JThread.process(JThread.java:100)
    at com.cme.clearing.jta.JThread.run(JThread.java:85)
    Regards,
    Slava Imeshev
    "Tim" <[email protected]> wrote in message
    news:[email protected]...
    >
    Slava,
    In my case, I'm not spawning any threads.
    Regards,
    Tim
    "Slava Imeshev" <[email protected]> wrote:
    That could be a trace of some threading issue. Note that EJB spec
    prohibits
    using threads within a container.
    Regards,
    Slava Imeshev
    "Tim" <[email protected]> wrote in message
    news:[email protected]...
    Nagoor,
    Did anybody respond? I'm getting the same exception with the sameenvironment configuration
    but using WLS 6.1 SP2.
    Tim
    "Nagoor Haja" <[email protected]> wrote:
    Hi,
    I'm getting a native code exception which causes the Weblogic server
    to
    crash when
    using XA drivers for transaction with two oracle databases. Myapplication
    uses RMI
    and threads.
    I'm using BEA's jDriver for Oracle running under Weblogic server 6.1sp1
    talking
    to Oracle 8.1.6. The OS is Solaris 2.8.
    In middle of the program execution it's giving this problem. I'm
    using
    jdk131 in
    solaris platform.
    Any idea what's going on here ?
    Thanks,
    Nagoor Haja
    Exception in the Log file:
    ===========================
    An unexpected exception has been detected in native code outside theVM.
    Unexpected Signal : 11 occurred at PC=0xff2414d8
    Function name=madvise
    Library=/usr/lib/libc.so.1
    Current Java thread:
    at weblogic.jdbc.oci.xa.XA.native_commit(Native Method)
    at weblogic.jdbc.oci.xa.XA.commit(XA.java:136)
    atweblogic.jdbc.oci.xa.XADataSource.commit(XADataSource.java:696)
    at weblogic.jdbc.jta.DataSource.commit(DataSource.java:784)
    at
    weblogic.transaction.internal.ServerResourceInfo.commit(ServerResourceInfo.j
    ava:1180)
    at
    weblogic.transaction.internal.ServerResourceInfo.commit(ServerResourceInfo.j
    ava:419)
    at
    weblogic.transaction.internal.ServerSCInfo.startCommit(ServerSCInfo.java:233
    at
    weblogic.transaction.internal.ServerTransactionImpl.localCommit(ServerTransa
    ctionImpl.java:1397)
    at
    weblogic.transaction.internal.ServerTransactionImpl.globalRetryCommit(Server
    TransactionImpl.java:1940)
    at
    weblogic.transaction.internal.ServerTransactionImpl.globalCommit(ServerTrans
    actionImpl.java:1886)
    at
    weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTra
    nsactionImpl.java:221)
    at
    weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransaction
    Impl.java:190)
    at
    weblogic.transaction.internal.CoordinatorImpl.commit(CoordinatorImpl.java:68
    atweblogic.transaction.internal.CoordinatorImpl_WLSkel.invoke(Unknown
    Source)
    atweblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:296)
    at
    weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:265)
    atweblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:2
    2)
    at
    weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    Dynamic libraries:
    0x10000 /opt/jdk131/jre/bin/../bin/sparc/native_threads/java
    0xff350000 /usr/lib/libthread.so.1
    0xff390000 /usr/lib/libdl.so.1
    0xff200000 /usr/lib/libc.so.1
    0xff330000 /usr/platform/SUNW,Ultra-60/lib/libc_psr.so.1
    0xfe480000 /opt/jdk131/jre/lib/sparc/hotspot/libjvm.so
    0xff2e0000 /usr/lib/libCrun.so.1
    0xff1e0000 /usr/lib/libsocket.so.1
    0xff100000 /usr/lib/libnsl.so.1
    0xff0d0000 /usr/lib/libm.so.1
    0xff100000 /usr/lib/libnsl.so.1
    0xff0d0000 /usr/lib/libm.so.1
    0xff310000 /usr/lib/libw.so.1
    0xff0b0000 /usr/lib/libmp.so.2
    0xff080000 /opt/jdk131/jre/lib/sparc/native_threads/libhpi.so
    0xff050000 /opt/jdk131/jre/lib/sparc/libverify.so
    0xfe440000 /opt/jdk131/jre/lib/sparc/libjava.so
    0xff020000 /opt/jdk131/jre/lib/sparc/libzip.so
    0xfafb0000 /opt/jdk131/jre/lib/sparc/libnet.so
    0xfadd0000 /usr/lib/nss_files.so.1
    0xe1d00000/opt/wlserver6.1/lib/solaris/oci816_8/libweblogicoci37.so
    0xe1400000 /opt/oracle/lib/libclntsh.so.8.0
    0xfac90000 /usr/lib/libC.so.5
    0xfadb0000 /opt/oracle/lib/libwtc8.so
    0xfad90000 /usr/lib/libgen.so.1
    0xfac70000 /usr/lib/libsched.so.1
    0xfac40000 /usr/lib/libaio.so.1
    0xfac20000/opt/wlserver6.1/lib/solaris/oci816_8/libweblogicoxa37.so
    0xe8ad0000 /redis/tibco/rv6.6/lib/libtibrvj.so
    0xe8ab0000 /redis/tibco/rv6.6/lib/libtibrvcmq.so
    0xe89c0000 /redis/tibco/rv6.6/lib/libtibrvcm.so
    0xe8990000 /redis/tibco/rv6.6/lib/libtibrvft.so
    0xe8890000 /redis/tibco/rv6.6/lib/libtibrv.so
    0xe8870000 /usr/lib/libpthread.so.1
    0xe6fe0000 /opt/wlserver6.1/lib/solaris/libmuxer.so
    0xe6fc0000 /opt/wlserver6.1/lib/solaris/libweblogicunix1.so
    java Exception in the program due to the above reason:
    ======================================================
    java.sql.SQLException: weblogic.rmi.extensions.RemoteRuntimeException-
    with nested
    exception:
    [weblogic.rjvm.PeerGoneException: ; nested exception is:
    java.io.EOFException]
    at
    weblogic.jdbc.rmi.SerialStatement.execute(SerialStatement.java:310)
    >>>>
    at com.cme.clearing.jta.JThread.insertAgain(JThread.java:121)
    at com.cme.clearing.jta.JThread.process(JThread.java:100)
    at com.cme.clearing.jta.JThread.run(JThread.java:85)
    java.sql.SQLException: weblogic.rmi.extensions.RemoteRuntimeException-
    with nested
    exception:
    [weblogic.rjvm.PeerGoneException: ; nested exception is:
    java.io.EOFException]
    at
    weblogic.jdbc.rmi.SerialStatement.execute(SerialStatement.java:310)
    >>>>
    at com.cme.clearing.jta.JThread.insertAgain(JThread.java:121)
    at com.cme.clearing.jta.JThread.process(JThread.java:100)
    at com.cme.clearing.jta.JThread.run(JThread.java:85)
    java.sql.SQLException: weblogic.rmi.extensions.RemoteRuntimeException-
    with nested
    exception:
    [weblogic.rjvm.PeerGoneException: ; nested exception is:
    java.io.EOFException]
    at
    weblogic.jdbc.rmi.SerialStatement.execute(SerialStatement.java:310)
    >>>>
    at com.cme.clearing.jta.JThread.insertAgain(JThread.java:121)
    at com.cme.clearing.jta.JThread.process(JThread.java:100)
    at com.cme.clearing.jta.JThread.run(JThread.java:85)
    java.rmi.RemoteException: Message was not sent because transaction isnot
    active.
    Xid=0:a1ccd55d7f28edb9(795840),Status=Rolled back.[Reason=weblogic.transaction.internal.TimedOutException:
    Transaction timed out after 29 seconds
    Xid=0:a1ccd55d7f28edb9(795840),Status=Active,numRepliesOwedMe=1,numReplies
    O
    wedOthers=0,seconds
    since begin=29,seconds
    left=30,activeThread=Thread[Thread-1,5,main],spatidbxa,SCInfo[mydomain+myser
    >
    ver]=(state=active),properties=({}),OwnerTransactionManager=ClientTM,Coordin
    >
    atorURL=myserver+10.1.32.81:8001+mydomain+)],numRepliesOwedMe=1,numRepliesOw
    edOthers=0,seconds
    since begin=68,seconds
    left=1,activeThread=Thread[Thread-1,5,main],spatidbxa,SCInfo[mydomain+myserv
    >
    er]=(state=active),properties=({}),OwnerTransactionManager=ClientTM,Coordina
    torURL=myserver+10.1.32.81:8001+mydomain+)
    at
    weblogic.transaction.internal.TransactionManagerImpl.sendRequest(Transaction
    ManagerImpl.java:1155)
    at
    weblogic.rmi.internal.BasicRemoteRef.getOutboundRequest(BasicRemoteRef.java:
    101)
    at
    weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:123)
    >>>>
    at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35)
    at $Proxy1.process(Unknown Source)
    at com.cme.clearing.jta.JThread.process(JThread.java:101)
    at com.cme.clearing.jta.JThread.run(JThread.java:85)
    java.rmi.RemoteException: Message was not sent because transaction isnot
    active.
    Xid=1:a1ccd55d7f28edb9(6051803),Status=Rolled back.[Reason=weblogic.transaction.internal.TimedOutException:
    Transaction timed out after 29 seconds
    Xid=1:a1ccd55d7f28edb9(6051803),Status=Active,numRepliesOwedMe=1,numReplie
    s
    OwedOthers=0,seconds
    since begin=29,seconds
    left=30,activeThread=Thread[Thread-2,5,main],spatidbxa,SCInfo[mydomain+myser
    >
    ver]=(state=active),properties=({}),OwnerTransactionManager=ClientTM,Coordin
    >
    atorURL=myserver+10.1.32.81:8001+mydomain+)],numRepliesOwedMe=1,numRepliesOw
    edOthers=0,seconds
    since begin=69,seconds
    left=0,activeThread=Thread[Thread-2,5,main],spatidbxa,SCInfo[mydomain+myserv
    >
    er]=(state=active),properties=({}),OwnerTransactionManager=ClientTM,Coordina
    torURL=myserver+10.1.32.81:8001+mydomain+)
    at
    weblogic.transaction.internal.TransactionManagerImpl.sendRequest(Transaction
    ManagerImpl.java:1155)
    at
    weblogic.rmi.internal.BasicRemoteRef.getOutboundRequest(BasicRemoteRef.java:
    101)
    at
    weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:123)
    >>>>
    at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35)
    at $Proxy1.process(Unknown Source)
    at com.cme.clearing.jta.JThread.process(JThread.java:101)
    at com.cme.clearing.jta.JThread.run(JThread.java:85)
    java.rmi.RemoteException: Message was not sent because transaction isnot
    active.
    Xid=2:a1ccd55d7f28edb9(4244097),Status=Rolled back.[Reason=weblogic.transaction.internal.TimedOutException:
    Transaction timed out after 33 seconds
    Xid=2:a1ccd55d7f28edb9(4244097),Status=Active,numRepliesOwedMe=1,numReplie
    s
    OwedOthers=0,seconds
    since begin=33,seconds
    left=30,activeThread=Thread[Thread-3,5,main],spatidbxa,SCInfo[mydomain+myser
    >
    ver]=(state=active),properties=({}),OwnerTransactionManager=ClientTM,Coordin
    >
    atorURL=myserver+10.1.32.81:8001+mydomain+)],numRepliesOwedMe=1,numRepliesOw
    edOthers=0,seconds
    since begin=68,seconds
    left=5,activeThread=Thread[Thread-3,5,main],spatidbxa,SCInfo[mydomain+myserv
    >
    er]=(state=active),properties=({}),OwnerTransactionManager=ClientTM,Coordina
    torURL=myserver+10.1.32.81:8001+mydomain+)
    at
    weblogic.transaction.internal.TransactionManagerImpl.sendRequest(Transaction
    ManagerImpl.java:1155)
    at
    weblogic.rmi.internal.BasicRemoteRef.getOutboundRequest(BasicRemoteRef.java:
    101)
    at
    weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:123)
    >>>>
    at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35)
    at $Proxy1.process(Unknown Source)
    at com.cme.clearing.jta.JThread.process(JThread.java:101)
    at com.cme.clearing.jta.JThread.run(JThread.java:85)
    javax.naming.CommunicationException. Root exception isjava.rmi.ConnectException:
    Unable to get direct or routed connection to:
    '-736127454917455663S:10.1.32.81:[8001,8001,8002,8002,8001,8002,-1]:mydomain
    :myserver'
    at
    weblogic.rmi.internal.BasicOutboundRequest.sendReceive(BasicOutboundRequest.
    java:85)
    at
    weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
    :255)
    at
    weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
    :222)
    at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35)
    at $Proxy0.lookup(Unknown Source)
    at
    weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:323)
    >>>>
    at javax.naming.InitialContext.lookup(InitialContext.java:350)
    at com.cme.clearing.jta.JContext.getTransaction(JContext.java:29)
    at com.cme.clearing.jta.JThread.startTransaction(JThread.java:67)
    at com.cme.clearing.jta.JThread.run(JThread.java:81)
    Exception null
    javax.naming.CommunicationException. Root exception isjava.rmi.ConnectException:
    Unable to get direct or routed connection to:
    '-736127454917455663S:10.1.32.81:[8001,8001,8002,8002,8001,8002,-1]:mydomain
    :myserver'
    at
    weblogic.rmi.internal.BasicOutboundRequest.sendReceive(BasicOutboundRequest.
    java:85)
    at
    weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
    :255)
    at
    weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
    :222)
    at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35)
    at $Proxy0.lookup(Unknown Source)
    at
    weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:323)
    >>>>
    at javax.naming.InitialContext.lookup(InitialContext.java:350)Exception
    null
    at com.cme.clearing.jta.JContext.getTransaction(JContext.java:29)
    at com.cme.clearing.jta.JThread.startTransaction(JThread.java:67)
    at com.cme.clearing.jta.JThread.run(JThread.java:81)

  • Setting isolation level with JDriver for Oracle/XA

    edocs (http://e-docs.bea.com/wls/docs70/oracle/trxjdbcx.html#1080746) states that,
    if using jDriver for Oracle/XA you can not set the transaction isolation level
    for a transaction and that 'Transactions use the transaction isolation level set
    on the connection or the default transaction isolation level for the database'.
    Does this mean that you shouldn't try to set it programatically (fair enough)
    or that you can't set it in the weblogic deployment descriptor either? Also anybody
    got any idea what the default is likely to be if you are using an Oracle 9iR2
    database? Is this determined by some database setting?

    IJ wrote:
    edocs (http://e-docs.bea.com/wls/docs70/oracle/trxjdbcx.html#1080746) states that,
    if using jDriver for Oracle/XA you can not set the transaction isolation level
    for a transaction and that 'Transactions use the transaction isolation level set
    on the connection or the default transaction isolation level for the database'.
    Does this mean that you shouldn't try to set it programatically (fair enough)
    or that you can't set it in the weblogic deployment descriptor either? Also anybody
    got any idea what the default is likely to be if you are using an Oracle 9iR2
    database? Is this determined by some database setting?The system should honor the setting defined in the deployment descriptor,
    however, for oracle it may not be helpful to change it. Oracle provides two
    isolation levels. The default is always READ_COMMITTED. The other
    setting is SERIALIZABLE, but this hurts performance, and is also problematic
    in the way oracle implements it. For instance, even if you set SERIALIZABLE,
    oracle will not lock read data. It will allow other transactions to read and/or
    alter data trhat another ongoing SERIALIZABLE transaction has read. The
    only way to really lock read data in oracle is to issue oracle-specific SQL in
    your select: "SELECT ..... FOR UPDATE".
    All in all, you should collect a strong case for why you can't proceed with
    READ_COMMITTED first. Then you should research oracle's recommendations
    (and their problem record) with SERIALIZABLE.
    Joe Weinstein at BEA

  • Configuring Weblogic's jDriver for Oracle to use in distributed transactions

              Here is some errata to the instructions at "Configuring XA JDBC drivers" section of the online beta documentation:
              http://www.weblogic.com/docs60/adminguide/managetx.html#1041268
              The sample JDBC connection pool using Weblogic jDriver for Oracle should be:
              <JDBCConnectionPool
              Name="fundsXferAppPool"
              Targets="myserver"
              URL="jdbc:weblogic:oracle:localdb"
              DriverName="weblogic.jdbc.oci.xa.XADataSource"
              InitialCapacity="0"
              MaxCapacity="5"
              CapacityIncrement="1"
              Properties="user=scott;password=tiger;server=localdb;rmid=0"
              />
              <JDBCTxDataSource
              Name="fundsXferDataSource"
              Targets="myserver,server1"
              JNDIName="myapp.fundsXfer"
              PoolName="fundsXferAppPool"
              />
              Here is an example of an additional XA connection pool for a second database instance:
              <JDBCConnectionPool
              Name="fundsXferAppPool2"
              Targets="myserver"
              URL="jdbc:weblogic:oracle:localdb2"
              DriverName="weblogic.jdbc.oci.xa.XADataSource"
              InitialCapacity="0"
              MaxCapacity="5"
              CapacityIncrement="1"
              Properties="user=scott;password=tiger;server=localdb2;rmid=1"
              />
              <JDBCTxDataSource
              Name="fundsXferDataSource2"
              Targets="myserver,server1"
              JNDIName="myapp.fundsXfer2"
              PoolName="fundsXferAppPool2"
              />
              Please note the different "rmid" values for the 2 different database instances. Note also that the above sample only applies for Beta 1. Instructions may change in the future for Beta 2.
              Also, all the names of the data source properties shown in "Table 8-2 Data Source Properties for WebLogic jDriver for Oracle" should start with lower case.
              The Beta 1 online documentation will soon be updated to reflect the above. Our apologies for any inconvenience caused.
              -- Priscilla Fung, BEA Systems, Inc.
              

              Thanks
              Mark
              "Sree Bodapati" <[email protected]> wrote:
              >Hi Mark,
              >
              >Yes you need 8.1.6 DB Server or higher for WebLogic's jDriver for Oracle/XA
              >as well.
              >
              >/
              >sree
              >
              >
              >"Mark Cordobal" <[email protected]> wrote in message
              >news:[email protected]..
              >>
              >> I read that XA features require version Oracle8i release 8.1.6 or later
              >of
              >the Oracle
              >> server.
              >> Does this apply only to Oracle JDBC drivers (which implement 2pc on top
              >of
              >JAVA_XA
              >> package) or also to Weblogic's jDriver for Oracle/XA ?
              >> I mean, if I have two Oracle 8.06 (or however < 8.1.6) jdbc Resource
              >Manager, can
              >> I implement (wlserver 6.1sp2) a distributed xa transaction using
              >Weblogic's jDriver
              >> for Oracle/XA ?
              >> Or is it (jdriver) built also on top of JAVA_XA package, and so the db
              >server XA
              >> compliancy is a must ?
              >>
              >> Thanks in advance
              >>
              >> Mark
              >
              >
              

  • Does Weblogic JDriver for Oracle support Oracle REFCURSOR?

     

    "R. W. Stavros" wrote:
    >
    BUT BE FORWARNED ... IF YOUR CONNECTION IS FROM A CONNECTION POOL ...
    YOU GET A WONDERFUL weblogic.jdbc.pool.ResultSet not a
    java.sql.ResultSet .... BEA wants you to believe its a featureI'm still interested in your position that a weblogic.jdbc.pool.ResultSet
    is not a java.sql.ResultSet. I get the impression you're very frustrated
    and I know that can cause one to make mistakes one normally wouldn't...
    Joe
    >
    Shiva Paranandi <[email protected]> wrote in message news:<[email protected]>...
    Yes, you have to specify it as java.sql.Types.OTHER and use the
    getObject() method to obtain it.
    Shiva.
    Chuan Li wrote:
    Does Weblogic JDriver for Oracle support Oracle REFCURSOR?
    Thanks.
    -Chuan
    PS: Folks: BEA WebLogic is expanding rapidly, with both entry and advanced positions
    for people who want to work with Java, XML, SOAP and E-Commerce infrastructure products.
    We have jobs at Nashua NH, Liberty Corner NJ, San Francisco and San Jose CA.
    Send resumes to [email protected]

  • Weblogic jDriver for Oracle 9.0.1.4

    Hi,
    We are using the Weblogic jDriver for Oracle oci901_8 to access the Oracle 9.0.1.
    We are planning to upgrade the oracle to 9.0.1.4. Will there be any issues with
    the Weblogic jDriver that is being currently used by us(oci901_8 ).
    Is there Weblogic jDriver available for oracle 9.0.1.4?
    Thanks in Advance,
    Vidhyaa Shankar.S

    The driver you have is ok to be used with oracle 9.0.1.4. Actually, you are getting
    patch set for 901 database server. So, you dont need additional driver. The driver you
    have is ok to work with it.
    Mitesh
    "Vidhyaa Shankar.S" wrote:
    Hi,
    We are using the Weblogic jDriver for Oracle oci901_8 to access the Oracle 9.0.1.
    We are planning to upgrade the oracle to 9.0.1.4. Will there be any issues with
    the Weblogic jDriver that is being currently used by us(oci901_8 ).
    Is there Weblogic jDriver available for oracle 9.0.1.4?
    Thanks in Advance,
    Vidhyaa Shankar.S

  • Cannot configure JDriver for Oracle

    Following the instructions indicated in Setting JDriver for Oracle, I still get
    the following errors :
    1. Error dialog box : The procedure entry point OCILobLocatorAssign could not
    be located in the dynamic link library OCI.dll.
    Anyone can help to fix the problem.
    Thanks.
    Elton.

    Sashikiran Inuganti wrote:
    We recently applied a client and server patches to our db and workstations to move to Oracle9i Enterprise Edition Release 9.2.0.6.0. We are using the OCI driver thru the weblogic Jdriver for oracle. when we print the meta data after the client upgrade the version of the driver is still showing as old. If we put the oracle classes12.jar in the weblogic classpath the driver version is printed correctly from the meta data. Can some oone answer why this happens.
    Here is the out put with out the oracle classes12.jar in the class path:
    <b>============= Database Product Name is ... Oracle
    Database Product Version is Oracle9i Enterprise Edition Release 9.2.0.6.0 - Production With the Partitioning, OLAP and Oracle Data Mining options JServer Release 9.2.0.6.0 - Production
    ============= JDBC Driver Name is ........ Oracle JDBC driver
    JDBC Driver Version is ..... 9.2.0.3.0
    JDBC Driver Major Version is 9
    JDBC Driver Minor Version is 2</b>
    Driver version should show as 9.2.0.6.0 it is instead showing 9.2.0.3.0.
    Thanks For your Help.We ship a version of the oracle driver, which you will find in the server\lib directory, and
    unless you put a different version of the driver ahead of weblogic.jar, that's the version of
    the driver WLS will use. You can definitely install a later version of the oracle driver in that
    directory.
    Joe

  • ConnectionString using ADO for Oracle 8

    Hi,
    Is is possible to connect to Oracle 8 using ADO? This connection string works using DAO:
    connect_string = "ODBC;DSN=DSN_NAME;UID=USERID;PWD=PASSWORD;APP=APP_NAME;DB=DATABASE;SRVR=SERVER" .
    Do you need an Oracle 10 database to use ADO?
    Thanks in Advance,
    Bill

    Take a look at this document:
    http://e-docs.bea.com/wls/docs61////jdbc/thirdparty.html
    Hope that helps,
    Nils
    S Gopikrishna wrote:
    >
    Hi
    Thanks a lot for the info. I would appreciate if you can tell me how to install
    and use the oracle thin client from WebLogic server.
    Thanks,
    S Gopikrishna
    "Sree Bodapati" <[email protected]> wrote:
    This variable is set on the machine where Weblogic is started. Also you
    will
    need an oracle client install on this machine. You can skip all this
    by
    using the oracle thin driver which does not need any special client
    environment setup.
    hth
    sree
    "S Gopikrishna" <[email protected]> wrote in message
    news:3c341f8a$[email protected]..
    We are running WebLogic server on Solaris machine. We need to access
    Oracle
    8 Database
    installed on another solaris machine from the weblogic server. Can some
    one
    tell
    me where and how to set the environment variable LD_LIBRARY_PATH to access
    the
    database.
    ============================
    [email protected]

  • How can i get all the users from weblogic server?

    how can i get all the users from weblogic server?
    i have configurated a LDAP server using iPlanet and
    in weblogic server console i see those users from LDAP
    server. but how can i get all the users in my program
    from weblogic server instead of LDAP server?
    BTW,how to configure a RDBMSAuthenticator and what should i do
    in Oracle? which tables should i create? and how are their architectures?
    Thanks
    Daniel

    BTW, i use weblogic platform 8.1
    "Daniel" <[email protected]> дÈëÓʼþ
    news:[email protected]..
    how can i get all the users from weblogic server?
    i have configurated a LDAP server using iPlanet and
    in weblogic server console i see those users from LDAP
    server. but how can i get all the users in my program
    from weblogic server instead of LDAP server?
    BTW,how to configure a RDBMSAuthenticator and what should i do
    in Oracle? which tables should i create? and how are their architectures?
    Thanks
    Daniel

  • How to update Data Services (ALDSP 2.5) from WebLogic Server 9.2 correctly?

    Hi,
    I need to update some physical data service in ALDSP 2.5 on WLS 8.1 SP6 (8.1.6) via Static Mediator API from WebLogic Server 9.2 MP2 (9.2.2) application. I have reviewed the article about interoperability of ALDSP 2.5 and WLS 9 here:
    http://edocs.bea.com/aldsp/docs25/appdev/ejbclt.html#wp1090900
    Firstly, I had a problems with the interconnection between 9.2 client and ALDSP 2.5 due to some missed methods/classes. Finally, I've added the following libs to my WLS 9.2.2 pre-classpath in such an order:
    MyDSPProject-ld-client.jar (built with Ant script using XmlBeans 2.0)
    wlsdo.jar (from ALDSP 2.5)
    xbean.jar
    xqrl.jar
    wlxbean.jar
    ld-client.jar (from ALDSP 2.5)
    I do the update in the way shown in attached java file.
    After submit method call, I've got two copies of a new item added in the DB and also an exception that is shown in attached log-file.
    What is the possible cause of this issue?
    I use MySQL DBMS version 5.0.45.
    I've also tried MS SQL 2005 but it simply had the same results.
    DSP audit log is also attached.
    Thank you in advance!
    Best Regards,
    Vitalii Tiutiunnyk

    The problem is that your client is WLS server, and WLS server has network class loading disable (for security), and the result from the call requires a class that is not on the client. The call succeeds, but the the network class load for the result fails, and the WLS 9.2 framework (incorrectly) retries the call (and you get either a duplicate key exception or a second row inserted). Putting the server jar in the client classpath solves the problem.
    If you wanted more information or help, you can contact BEA Customer Support and tell them it is regarding the CR I mentioned.

  • ORA24327:  Oracle 8i and Weblogic Server

    Hello,
    I hope someone can help me with the following problem:
    When starting Weblogic Server on Solaris, I get the
    following error message after loading of native
    jDriver for Oracle is started:
    ... Starting Loading jDriver/Oracle .....
    ---------- LOGIN ERROR CODE: 24327
    connection pool
    "oraclePool" weblogic.common.ResourceException:
    Could not create pool connection.
    The DBMS driver exception was:
    java.sql.SQLException: Error while trying to retrieve
    text for error ORA-24327 -
    (SCOTT/********@oralin)
    at
    weblogic.db.oci.OciConnection.getLDAException(OciConnection.java:161)
    at
    weblogic.jdbcbase.oci.Driver.connect(Driver.java:92)...
    # TNSNAMES.ORA Network Configuration File:
    /export/home/oracle/app/oracle/product/9.0.1/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    oralin=
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = erps)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = oralin.world)
    What steps in detail do I
    need to perform?
    Thanks in advance.
    Regrads
    Bean

    Hi,
    You need to set ORACLE_HOME environment variable correctly.
    Also make sure that there is an entry in tnsnames.ora that
    defines the server name provided in the connection pool
    definition.
    Regards,
    Slava Imeshev
    "bean" <[email protected]> wrote in message
    news:[email protected]..
    Hello,
    I hope someone can help me with the following problem:
    When starting Weblogic Server on Solaris, I get the
    following error message after loading of native
    jDriver for Oracle is started:
    ... Starting Loading jDriver/Oracle .....
    ---------- LOGIN ERROR CODE: 24327
    connection pool
    "oraclePool" weblogic.common.ResourceException:
    Could not create pool connection.
    The DBMS driver exception was:
    java.sql.SQLException: Error while trying to retrieve
    text for error ORA-24327 -
    (SCOTT/********@oralin)
    at
    weblogic.db.oci.OciConnection.getLDAException(OciConnection.java:161)
    at
    weblogic.jdbcbase.oci.Driver.connect(Driver.java:92)...
    # TNSNAMES.ORA Network Configuration File:
    /export/home/oracle/app/oracle/product/9.0.1/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    oralin=
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = erps)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = oralin.world)
    What steps in detail do I
    need to perform?
    Thanks in advance.
    Regrads
    Bean

  • Get concurrent user amount from WebLogic Server 6.1

    Does someone know how to get concurrent user amount from WebLogic Server 6.1
    by writing AP.
    thank for your help!

    If each user in your system corresponds to an active session,
    you can get a count of all the active session MBeans and that
    will be your user count. I have used code like this:
    import javax.management.*;
    import weblogic.management.*;
    import weblogic.management.runtime.*;
    try {
    //-- Get the domain's Admin MBean Home so we can ask it questions
    weblogic.management.MBeanHome mbh =
    weblogic.management.Helper.getAdminMBeanHome("system", "<password>",
    "t3://localhost:7001");
    //-- Get JUST the session runtime mbeans (one per active session)
    Set sessionMBeans = mbh.getMBeansByType( "ServletSessionRuntime" ) ;
    System.out.println( "Number ServletSessionRuntime MBeans: " +
    sessionMBeans.size() );
    } catch( Exception e ) {
    System.out.println( "Exception: " + e);
    e.printStackTrace();
    Hope this helps!
    --matt
    "Esse" <[email protected]> wrote in message
    news:[email protected]..
    Does someone know how to get concurrent user amount from WebLogic Server6.1
    by writing AP.
    thank for your help!

  • Need Weblogic.jar from Weblogic server 9.2

    Hi All,
    I need weblogic.jar from Weblogic server 9.2.
    but i dont want to download & install Weblogic Server 9.2.
    Is thereany way i can get only the .jar file?
    Thanks & Regards,
    BOB

    We are having this problem as well. I e-mailed BEA support, but they just said we needed to include the jar in the EAR (this is all supposed to be assembled automatically by the workshop).
    For us the issue seems to be the files not being put into the EAR automatically as they are with other types of projects. If we have to manually copy/jar up our class files then we might as well just use notepad and some batch files and skip BEA altogether.
    Edited by jmckitt at 09/18/2007 11:04 AM
    Edited by jmckitt at 09/18/2007 11:05 AM

  • Export import - using TOAD FOR ORACLE  and ORACLE DATABASE 10G EXPRESS or s

    Hi all,
    Could you please kindly help me?
    I am using TOAD FOR ORACLE to export a table to flat file A. The tool just supports to distinguish fields by "spaces".
    And the web page of ORACLE DATABASE 10G EXPRESS to import the data from flat file A to another database. To load data to a table from a text file, the web page bases on "comma" to distinguish fields.
    So could you have any suggestion for me? I need to export data via TOAD FOR ORACLE. And then import it to another database by the home page of ORACLE DATABASE 10G EXPRESS or sqlplus.
    Thank you so much for your help!

    Dont use TOAD for exporting your data. Use PL/SQL. Below is the code given in Asktom.com that does what you want.
    create or replace function  dump_csv( p_query     in varchar2,
                                          p_separator in varchar2 default ',',
                                          p_dir       in varchar2 ,
                                          p_filename  in varchar2 )
    return number
    is
        l_output        utl_file.file_type;
        l_theCursor     integer default dbms_sql.open_cursor;
        l_columnValue   varchar2(2000);
        l_status        integer;
        l_colCnt        number default 0;
        l_separator     varchar2(10) default '';
        l_cnt           number default 0;
    begin
        l_output := utl_file.fopen( p_dir, p_filename, 'w' );
        dbms_sql.parse(  l_theCursor,  p_query, dbms_sql.native );
        for i in 1 .. 255 loop
            begin
                dbms_sql.define_column( l_theCursor, i, l_columnValue, 2000 );
                l_colCnt := i;
            exception
                when others then
                    if ( sqlcode = -1007 ) then exit;
                    else
                        raise;
                    end if;
            end;
        end loop;
        dbms_sql.define_column( l_theCursor, 1, l_columnValue, 2000 );
        l_status := dbms_sql.execute(l_theCursor);
        loop
            exit when ( dbms_sql.fetch_rows(l_theCursor) <= 0 );
            l_separator := '';
            for i in 1 .. l_colCnt loop
                dbms_sql.column_value( l_theCursor, i, l_columnValue );
                utl_file.put( l_output, l_separator || l_columnValue );
                l_separator := p_separator;
            end loop;
            utl_file.new_line( l_output );
            l_cnt := l_cnt+1;
        end loop;
        dbms_sql.close_cursor(l_theCursor);
        utl_file.fclose( l_output );
        return l_cnt;
    end dump_csv;
    /Here is the link to this thread in asktom.
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:95212348059

  • I want to query oracle database from sql server can anyone tell steps 2 fo

    i want to query oracle database from sql server can anyone tell steps 2 followed
    i tried with linked servers but it is throwing errors can anyone hepl in this regard
    The operation could not be performed because the OLE DB provider 'MSDAORA' was unable to begin a distributed transaction.
    OLE DB error trace [OLE/DB Provider 'MSDAORA' ITransactionJoin::JoinTransaction returned 0x8004d01b].

    First of all - you are in the wrong forum.
    Look either for the Database general or search for Transparant / Heterogenous Gateways.
    cu
    Andreas

Maybe you are looking for

  • Issue In Creation Licence.

    Dear All, I got The Issue In Creation of License as " Enter valid SP/SH ". Even I have Maintained Prefix Zeros. Here SP and SH both are Different, If I enter SP and SH as same system accepts, if not error is triggered. Both SP and SH maintained Custo

  • Cross-reference tag errors in Trados preventing MIF creation

    Our Spanish translator provides files from translation memory with unresolved cross-reference text in English; when we update the book the cross-references are translated to Spanish and the page numbers are also updated within the cross-reference tex

  • APPLE CARE - How do I find out the date of purchase of my mac?

    Can anyone point out how do I find out the exact date of purchase of my mac? I would like to purchase the apple care extended warranty and I do not recall the exact date of purchase of my mac...just before or after a full year...? Can I look it up an

  • Can't send email - SEND button doesn't work

    I recently upgraded this machine to 10.4 Today, I the SEND button in MAIL doesn't work. I also cannot select SEND from the menu. Nothing happens. Help!

  • Problem when connecting the Ipod

    Hello, I can open Itunes fine but if I connect an Ipod I get a message saying "cannot find disk". With the options retry, cancel and continue, and no matter which of the three I click it keeps reapearing so I cannot sync the ipod with itunes. Please