Kodo jdoql oracle problem

Hi there,
In my project, I have a jdoql query (select column1 from table1 where column2 == ''). It works fine with DB2 since DB2 supports empty string. When I moved it to oracle, the query doesn't get translated into something like (select column1 from table1 where column2 is null).
I am using openjpa.jdbc.sql.oracleDictionary in kodo property.
What are my options to handle this problem ?
kodo.log:
1024786 TRACE [WorkerThread#0[127.0.0.1:4318]] openjpa.jdbc.SQL - <t 981328, conn 5861567> executing prepstmnt 10850513
SELECT t0.TIMEFRAME
FROM VM0610 t0
WHERE t0.SITE = ?
[params=(String)  ]

Sasha-
I can't seem to reproduce this problem, either in the 2.5 or
upcoming 2.3.0 version. My test case is very simple: I have
an object that has a HashSet of Strings, I save the object with
10 entries, retrieve it (both with the same PM and a new one),
and the 10 entries still exist. Can you try this test case,
and see if it works? If it does, can you send us as much
of your code as possible, so we can try to reproduct it?
Also, any additional information you can enter into the
bug report would be useful:
https://bugzilla.solarmetric.com/show_bug.cgi?id=198
Sasha Haghani <[email protected]> wrote:
Does anyone know of a problem with HashSets in recent releases of Kodo? We
are currently working with 2.2.4 SP 1 and are running into the following
problem...
An existing persistence capable class (Group) had a number of simple fields
in it, as well as on HashSet, and a few HashMaps. The HashSet had Strings in
it, while the HashMaps are String to String, and String to complex objects.
All persistence of Group was occurring properly in the past. A recent
version of Kodo has introduced a problem where the HashSet contents
(Strings) are no longer persisted, but the simple fields and HashMap
contents are still being persisted ok. What is also interesting is that
there seems to be a relationship to the age of the Group object. Existing
Group objects seem to persist cleanly. New Group objects, which have been
made persistent and have been written out to the db (so should really be
identical to existing ones), exhibit the problem with the HashSets.
Can you shed any light on this? Thanks.
Sasha Haghani--
Marc Prud'hommeaux [email protected]
SolarMetric Inc. http://www.solarmetric.com
Kodo Java Data Objects Full featured JDO: eliminate the SQL from your code

Similar Messages

  • ODBC/oracle problem

    To further clarify the problem I mention below, the specific error I get
    with integer datatypes is "Driver Not Capable". Thanks.
    Date: Wed, 07 May 1997 11:53:54 -0500
    To: forte users
    From: Tim Clotworthy <[email protected]>
    Subject: ODBC/oracle problem
    I have a problem related to accessing a personal oracle database with Forteservice objects via ODBC. The problem is that I cannot do inserts into
    number fields with integers or integer nullables. The only thing I can get
    to work are textdata types. Has anyone else had this problem? AM I using too
    old a version of ODBC driver (Oracle71 version 1.11.0002)?
    >
    Thanks. Tim.

    This is a Forte bug I reported a few months ago. It is being tracked
    under Forte call number 26402. Scheduled to be fixed in R3. There are
    no work arounds that I am aware of.
    Kalvin Inman
    Andersen Windows
    From: Tim Clotworthy[SMTP:[email protected]]
    Sent: Wednesday, May 07, 1997 12:09 PM
    To: [email protected]
    Subject: ODBC/oracle problem
    To further clarify the problem I mention below, the specific error I get
    with integer datatypes is "Driver Not Capable". Thanks.
    Date: Wed, 07 May 1997 11:53:54 -0500
    To: forte users
    From: Tim Clotworthy <[email protected]>
    Subject: ODBC/oracle problem
    I have a problem related to accessing a personal oracle database with Forteservice objects via ODBC. The problem is that I cannot do inserts into
    number fields with integers or integer nullables. The only thing I can get
    to work are textdata types. Has anyone else had this problem? AM I using too
    old a version of ODBC driver (Oracle71 version 1.11.0002)?
    Thanks. Tim.

  • Visual Studio 2008 & Oracle Problem

    Hi there,
    I've been going through a bunch of legacy reports in a project I support, they had got out of date with the database, so I was verifying the database for each one.
    They use data from an Oracle 10g database using a mixture of tables and views. The first report I came across that used a view gave me the following error:
    "The database table 'HIGHEST_CLIENT_LOSS_V' cannot be found. Proceed to remove this table from the report?"
    I don't want to remove the view as it is needed, so I went into the Database Expert to try and locate it. I opened up the ODBC connection we use to connect to the DB, and navigated to the required schema. Previously this showed Tables, Views and Stored Procs, but now only shows Tables and Stored Procs.
    Has anyone else come up against this problem? Or have any idea what could cause it?
    I'm using Visual Studio 2008 Team System Development Edition, Oracle 10g database and ODP.Net 10.2 client/ODBC driver.
    I've never had this problem before.
    Thanks in advance for any assistance!
    James Simm

    James,
    I'm not sure what Crystal functionality is available in VS but try right clicking on the datasource > options and in the Data Explorer section you can select whether to see views, SPs, or tables.
    As well with the CR Designer there is a default limit of 8000 Database objects that CR will see. If that limit is reached then it stops dispalying objects past that limit. Try just selecting Views in the Options and if you can then see the views you can increase the default limit within the registry (*Note that it is always a good idea to backup the registry before editing). The key would be HKEY_CURRENT_USER > Software > business objects or Crystal decisions > Suite (version) > Crystal Reports > FetchOptions > NTablesMax

  • PHP and oracle problem

    Hi,
    I'm trying to create a chart with php ad oracle. I'm using this code
    <?
         function Num_of_Rows($column, $status, $table){                         
              $conn = oci_pconnect("$username", "$passwd", "$host");     
              $sql_query = "SELECT COUNT($column) AS NUMBER_OF_ROWS FROM $table WHERE Status = '$status'";
              $stmt= oci_parse($conn, $sql_query);
              oci_define_by_name($stmt, 'NUMBER_OF_ROWS', $number_of_rows);
              oci_execute($stmt);
              oci_fetch($stmt);
              return $number_of_rows;     
         $result1 = Num_of_Rows("Admin_Number", "Active", "AS_ADMINS");
         $result2= Num_of_Rows("Admin_Number", "Locked", "AS_ADMINS");
         echo $result1;
         echo $result2;
    ?>
    This code works but only once! When I delete the row $result1 = Num_of_Rows("Admin_Number", "Active", "AS_ADMINS"); the second call of the function works and when I delete      $result2= Num_of_Rows("Admin_Number", "Locked", "AS_ADMINS"); the furst call of the function works!
    It seems that I can use the function only once and I can't call it again. It seems that the problem is someone else. Do you have an idea?

    I don't know what you mean by "works".
    Have you tried changing the echo commands so the output is not adjacent?
    echo $result1 . "<br>\n";
    echo $result2 . "<br>\n";It seems odd to allow an arbitrary tablename but assume that there is always a column called STATUS.
    I'd recommend using bind variables where possible.

  • Importing an SQL Server TEXT data type field in Oracle - problem with LONG

    Hello,
    I work in Oracle 9i and I created a view on a distant SQL Server database that contains a TEXT data type field. But I have a problem when I select that field in Oracle; I have the following error message: "ORA-00997: forbidden use of LONG data type".
    Could anybody have a solution for me, to solve that problem?
    Thanks a lot!

    It is very difficult to suggest anything without seeing your code.  I don't even know if what you are seeing is the actual value or an error code.  Often, negative numbers are indicative of error codes. 
    For instance -1 could mean that you have an invalid reference or path, etc...
    Can you post your code?

  • MS SQL to Oracle Problem:  nvarchar's being loaded as null varchar2's

    If anyone has any insight into this, I would really appreciate it.
    I'm trying to build an incredibly simple Interface that mirrors a small MS SQL Server table into and Oracle table. The source MS table is a series of int, smallint, numeric, datetime and nvarchar columns. Similiarly, I've built my Oracle target table to be comprised of corresponding number, date and varchar2 columns.
    The issue is that my Interface runs just fine, but only the date and number-related columns actually come across. All the columns that are loading nvarchar->varchar2 are simply populated with nulls.
    I can't seem to figure out what the problem that ODI is having. There are no errors during execution, and back in Designer I can even do a "View Data" on the source MS table, and can browser all the data just fine.
    Something is happening during transit and I can't figure out why. My current LKM is "LKM SQL to Oracle" though I've also tried "LKM SQL to SQL" with no luck. Clearly something is happening with the nvarchar to varchar2 conversion, but that seems like a ridiculous thing for ODI to have a problem with. Even moreso that's it not actually throwing any errors, but simply not populating them.
    Anyone have any thoughts?
    Thanks
    John

    Dev-
    Thanks for replying. And that's funny, I think you were posting your comment right as I was posting my quick additional detail one.
    Yes, I have actually already tried that. I have set the LKM to keep temporary tables so that I could check the C$_... table. And the nvarchar columns are already showing as null there. And there are no joins in this Interface at all. It is a very simple interface that mirrors a single small source table, into a clone on the Oracle side for staging purposes ( A [MSSQL] ---> B [Oracle] ).
    So, because the C$_ is already showing nulls for the columns that were nvarchar, it seems something is happening in transit while converting the nvarchar to varchar2.
    Thanks
    John

  • 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)

  • [ODI_11G] KM_CKM ORACLE problem

    Hi
    I create a simple ODI_11g interface to load a CSV file into an Oracle 11g DB.
    I import the CKM Oracle module for the Flow Control.
    When executing the interface i get :
    -> warning on the create Error table step :
    ODI-1228: Echec de la tâche XXXXX (Contrôle) sur la connexion XXXXX de la cible ORACLE.
    Caused By: java.sql.SQLException: ORA-06550: Ligne 1, colonne 1608 :
    PLS-00103: Symbole ")" rencontré à la place d'un des symboles suivants :
    -> Error on the delete previous error step :
    ODI-1228: Echec de la tâche XXXXX (Contrôle) sur la connexion XXXXX de la cible ORACLE.
    Caused By: java.sql.SQLException: ORA-04063: view " XXXXX.E$_XXXXX" comporte des erreurs
    I edit KM_CKM ORACLE xml file and find a syntax error on line 940 : a "||" character is missing at the end of line.
    Has anyone had the same problem ?
    Thanks in advance.
    ODI VERSION :
    Version Standalone Edition 11.1.1
    Build ODI11.1.1.3.0_GENERIC_100623.1635_

    Same here,...
    same ODI version,
    "||" is missing...
    How can we tell to Oracle?

  • Jdbc connection pool for oracle problem - not creating

    hi,
    iam not able to connect to oraclepool, iamusing weblogic 5.1 ,i started the
    server but i am able to connect oracle pool
    iam getting a sqlexception as
    Sat Jul 22 01:46:09 PDT 2000:<I> <JDBC Pool> Creating connection pool oraclePool
    with:
    {refreshMinutes=10, poolName=oraclePool, loginDelaySecs=1, testTable=dual, maxCa
    pacity=10, props=user=SCOTT;password=tiger;server=DEMO, allowShrinking=true, dri
    ver=weblogic.jdbc.oci.Driver, aclName=weblogic.jdbc.connectionPool.oraclePool,
    c
    apacityIncrement=2, initialCapacity=4, url=jdbc:weblogic:oracle, shrinkPeriodMin
    s=15}
    Delaying 1 seconds before making a oraclePool pool connection.
    java.sql.SQLException: System.loadLibrary threw java.lang.UnsatisfiedLinkError
    with the message 'no weblogicoci36 in java.library.path'.
    at weblogic.jdbcbase.oci.Driver.connect(Driver.java:116)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Con
    nectionEnvFactory.java:149)
    can anyone tell me why is this happening ,thanks in advance
    san

    Place the bin/oci815_5 in the weblogic installation in your path. You can set this path in
    your startweblogic script. If you are on a unix environment, set this in the LD_LIBRARY path.
    Shiva.
    san wrote:
    hi shiva,
    iam using oralce8i , so what i hv to do to rectify this problem, any idea, suggestions,
    san
    Shiva Paranandi <[email protected]> wrote:
    Your path should contain the oracle libraries and the oci815_8 directory
    (if say you
    are using oracle 8i).
    Shiva.
    san wrote:
    hi,
    iam not able to connect to oraclepool, iamusing weblogic 5.1 ,i startedthe
    server but i am able to connect oracle pool
    iam getting a sqlexception as
    Sat Jul 22 01:46:09 PDT 2000:<I> <JDBC Pool> Creating connection pooloraclePool
    with:
    {refreshMinutes=10, poolName=oraclePool, loginDelaySecs=1, testTable=dual,
    maxCa> >> pacity=10, props=user=SCOTT;password=tiger;server=DEMO, allowShrinking=true,> >dri> >> ver=weblogic.jdbc.oci.Driver, aclName=weblogic.jdbc.connectionPool.oraclePool,> >> c> >> apacityIncrement=2, initialCapacity=4, url=jdbc:weblogic:oracle, shrinkPeriodMin> >> s=15
    Delaying 1 seconds before making a oraclePool pool connection.
    java.sql.SQLException: System.loadLibrary threw java.lang.UnsatisfiedLinkError
    with the message 'no weblogicoci36 in java.library.path'.
    at weblogic.jdbcbase.oci.Driver.connect(Driver.java:116)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Con
    nectionEnvFactory.java:149)
    can anyone tell me why is this happening ,thanks in advance
    san

  • Need help solving listener and Oracle problems with Mac OS X 10.4 "Tiger"

    I have Oracle 10g working on Mac OS X 10.4 "Tiger" except for the listener and Oracle net 8 configuration. I have not been able to get the Oracle listener to work with my built in Mac Airport wireless network card or built in ethernet card. I keep getting the errors
    connection refused cannot start listener. Can anyone offer help?
    Thanks
    Ben
    [email protected]

    Hi Ben,
    how does your listener.ora look like ?
    Mine is:
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ronald-g4-eth)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = ronald-g4-wifi)(PORT = 1521))
    and listens to the ethernet and airport address.
    When do you get the problems ?
    regards,
    Ronald
    http://ronr.nl/unix-dba

  • Oracle problem at startup

    Hi
    Sometimes, we have a problem when oracle has to boot from the crontab. It's necesary to kill the oracle's process, clean memory semafhore before startup. In the alert, there is the next warning:
    WARNING: EINVAL creating segment of size 0x00000000c5400000
    fix shm parameters in /etc/system or equivalent
    We have oracle 9.2.0.5 and Solarios 5.8. The RAM is 8 Gb, the sga_max_size 3.273.628.280 and the parameter shmsys:shminfo_shmmax in the etc/system 1073741824
    Any ideas?
    Thanks and advance

    If you start someting from the crontab be aware that no environment is there - means, you explicitly have to "source .cshrc" (depending on your shell), otherwise the environment is not correctly set and also no shell limits are set. Do you do that?
    The shm* parameter looks good to me - if you can startup manually after logging in it´s ok.
    Markus

  • Need your help with very strange Oracle problem..

    hello,
    At our office we have an oracle 10g database (don't have exact version on hand) installation that stores data for many of our applications. We are having a very strange, intermittent issue that is causing us lots of headaches lately.
    The problem is, the database will be running fine, humming along, with clients connected to it, from different hosts, different networks, and using different technologies (PERL DBI::DBD, OJDBC, etc). Every so often (at intermittent intervals, no real patterns we can discern), it seems as though the database will just hang and not respond to requests for a few seconds. Outages have ranged from 1,2,3 seconds to sometimes 20,30,40 seconds (very rarely longer than 5-10 seconds though).
    Over the last few weeks, we've done lots of work to try and rule the network out of the equation. Today, a java client i wrote that was running locally on the database host, connected via OJDBC timed out (my timeout was set to 5 seconds) running a simple query ("select sysdate from dual") at the same time as all our other remote clients.
    I'm really not sure where else to look at this point. Our DBA department says they see no errors in the database, no indication of problems anywhere. We've ruled out our backend applications and the network at this point. The java test client i wrote was running from about 5 different clients, dispersed through many different networks. They all timed out at the same time as other network clients that run via perl's dbi/dbd framework.
    Can anyone suggest what would be a possible cause for this? How could it be possible that network clients issuing "select sysdate from dual" would hang for over 5 seconds?
    Thanks in advance for any suggestions you can offer.

    I am hoping you are not in a situation where your DBA said there's nothing wrong with database, your network admin said networking issue ruled out, your system admin said OS is normal. Yet, you as end user suffer and end up trying to figure out the issue by yourself while you didn't have expertise in any of these fields.That's basically the situation we were in for a few months here. It was, to say the least, extremely frustrating. Since we wrote the applications that were suffering the most due to this db/hardware issue, naturally, we felt "responsible" for taking the ownership to track down and fix the issue (after some perseverance ,we were finally able to narrow this problem down to a database storage issue).
    After exhausting every other dba theory about DBI/JDBC/Firewalls/Networks/etc, we simply just failed over our database to some standby hardware that had some directly attached storage (as opposed to a SAN configuration like our primary db instance runs off of), and the problem has basically disappeared at this point. It's been about two weeks now. Whereas we normally see a handful of episodes a day, now we see none.
    Our system administrators are looking into our SAN now and working to optimize its performance.
    Hopefully this will put this mystery to bed. It's been a long year+ chasing this problem down and I'm glad to see it licked finally. Thank you all for your input. I've learned quite a bit about Oracle in the process and I sincerely hope our DBA team here has learned something valuable from this exercise too.

  • Connecting Oracle Problem

    I write some web services on .net. But in every
    service i write, i could not able to connect to a
    database. the connection strings i used r right and
    working on windows applications. but whenever i try to
    connect a database through a web sevice i cant. its
    not opening.
    the same thing is properlly working with SQL Server.

    Solution :
    Cause
    Security permissions were not properly set when the Oracle 9i Release 2 client was installed on Windows with NTFS. The result of this is that content of the ORACLE_HOME directory is not visible to Authenticated Users on the machine; this again causes an error while the System.Data.OracleClient is communicating with the Oracle Connectivity software from an ASP.NET using Authenticated User privileges.
    Solution
    To fix the problem you have to give the Authenticated Users group privilege to the Oracle Home directory.
    Log on to Windwos as a user with Administrator privileges.
    Start Window Explorer and navigate to the ORACLE_HOME folder.
    Choose properties on the ORACLE_HOME folder.
    Click the “Security” tab of the “Properties” window.
    Click on “Authenticated Users” item in the “Name” list.
    Uncheck the “Read and Execute” box in the “Permissions” list under the “Allow” column.
    Re-check the “Read and Execute” box under the “Allow” column
    Click the “Advanced” button and in the “Permission Entries” verify that “Authenticated Users” are listed with permission = “Read & Execute”, and Apply To = “This folder, subfolders and files”. If not, edit that line and make sure that “Apply To” drop-down box is set to “This folder, subfolders and files”. This should already be set properly but it is important that you verify it.
    Click the “Ok” button until you close out all of the security properties windows. The cursor may present the hour glass for a few seconds as it applies the permissions you just changed to all subfolders and files.
    Reboot, to assure that the changes have taken effect.
    Try your application again.

  • DBD Oracle Problem: Can't load Oracle.so

    Hello,
    I've successfully installed Oracle (EAP release)
    and DBI 1.06, everything works fine so far.
    Unfortunately, the DBD Oracle Installation fails
    I've tried all version from 0.55 to 0.59.
    perl Makefile.PL and make is ok, but "make test"
    fails most tests and says,
    "Can't load blib/arch/auto/DBD/Oracle/Oracle.so
    in (path)Dynaloader.PM line 168."
    Oracle.so is there and readable.
    In Dynaloader.pm before line 168 there's an interesting
    comment:
    Many dynamic extension loading problems will
    appear to come from this section of code: XYZ failed
    at line 123 of DynaLoader.pm (...)
    But that doesn't help very much.
    Any suggestions?
    Heiko Dobrick
    null

    Hello Khusta,
    1. This is the Swing forum - definitely not the right place for your question. ( Suggestion )
    2. If everything worked fine and you now made two modifications (abstract class and jar file), test if only one modification is responsible for the problem.
    3. >And I know that it [the database settings file] is in the jar file.
    If your settings are stored in the jar file, you must read it from the jar file. This is a little bit different from reading the settings file at its original location.

  • Netbean Oracle : Problem with connection refused

    Hi, Im currently using Netbean to develop a system in JSP. I already succeed to connect to Oracle 11g. However, I'm facing problem connection refused. It always happen.
    For the server, I using GlassFish Server 3.1
    Any one have idea to solve this problem? Thanks in advances.
    Detail of the error:
    WARNING: StandardWrapperValve[jsp]: PWC1406: Servlet.service() for servlet jsp threw exception
    java.sql.SQLException: Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=186646784)(ERR=12519)(ERROR_STACK=(ERROR=(CODE=12519)(EMFI=4))))
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:333)
         at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:404)
         at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:468)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:314)
         at java.sql.DriverManager.getConnection(DriverManager.java:579)
         at java.sql.DriverManager.getConnection(DriverManager.java:221)
         at dbConnection.dbConnection.connectEasy(dbConnection.java:66)
         at org.apache.jsp.Boundary.insertStudForm_jsp._jspService(insertStudForm_jsp.java:783)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:403)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:492)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:378)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
         at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1539)
         at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:787)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:649)
         at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:604)
         at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:534)
         at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:1015)
         at org.apache.jsp.index_jsp._jspService(index_jsp.java:462)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:403)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:492)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:378)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
         at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1539)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:281)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
         at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98)
         at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:91)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162)
         at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:330)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
         at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:174)
         at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)
         at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725)
         at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)
         at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
         at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
         at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
         at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
         at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
         at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
         at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
         at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
         at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
         at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
         at java.lang.Thread.run(Thread.java:722)

    user8963384 wrote:
    I already run the sql that you ask, this is the result
    RESOURCE_NAME     CURRENT_UTILIZATION     MAX_UTILIZATION     INITIAL_ALLOCATION     LIMIT_VALUE
    processes     26     150     150     150
    sessions     30     154     248     248
    This my function I use to connect to database
    public class dbConnection {
    public Connection conn=null;
    public String id="Se";
    public String password="See";
    public dbConnection(){
    public dbConnection (String id, String password){
    this.id=id;
    this.password=password;
    public void connect(){
    try{
    //load driver
    String driverName="oracle.jdbc.driver.OracleDriver";
    Class.forName(driverName);
    //Create connection
    String serverName = "localhost";
    Is it the same server on which db is running. Better put servername or IP for serverName above.
    String portNumber = "1521";
    String sid = "DEGREE";
    String url = "jdbc:oracle:thin:@" + serverName + ":" + portNumber + ":" + sid;
    System.out.println("url: " + url);
    conn = DriverManager.getConnection(url,id,password);
    }Can you try id/password@(DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = DEGREE))) from sql prompt and post the result.
    catch(ClassNotFoundException e){
    System.out.println("ClassNotFoundException: " + e.getMessage());
    catch(SQLException e){
    System.out.println("SQLException: " + e.getMessage());
    while((e = e.getNextException()) != null)
    System.out.println(e.getMessage());
    }Everything goes OK, then download latest driver from oracle corporation and try again. A code sample can be found at http://www.orafaq.com/wiki/JDBC.
    Regards
    Virendra
    Edited by: Virendra.k.Yadav on Oct 18, 2011 11:26 PM

Maybe you are looking for

  • Output of data in one row

    Hi, I have 1000 records that are coming in a column one after the other below in different rows. I require these records to come in a single row, with a comma after each record. how to do this ?

  • Cluster Not Available error when booting OVM server DOM0 from USB

    Hi all, I have been wanting to run OVM 2.2 from a USB stick for a while now. I ran through the install CD today and saw there was a 'minimal USB install' option on the installation screen. So I plugged in a 4GB USB stick, rebooted, and ran the USB in

  • Contacts keep crashing in mountain lion (late 2012)

    So, I got 2 Mac Minis (late 2012 with ML) last week. Updated to 10.8.2, set up iCloud, fixed disk permissions and the contacts app keeps crashing when I try to delete a contact in a different way (instead of pressing the delete key). Let me try to de

  • Help - major drive problem!!

    Hi- The Drive in my PPC G5 has been making some funny noises recently and even getting a CD to appear on the desktop took ages. So I decided to replace it. I asked what would make a good replacement and someone suggested a Pioneer DVR-216. However, n

  • Difficulty installing update 9 patch

    Hi When I try to apply 120186-13, I get sudo patchadd 120186-13 bla bla Patch 120186-13 failed to install due to a failure produced by pkgadd. See /var/sadm/patch/120186-13/log for details The log says /home/paulf/120186-13/SUNWstaroffice-base/instal