JDBC Unexpected Packet Exception

Hello all,
I receive a strange error when attempting to write to a blob column using the 9.2.1
version of the thin JDBC driver. The actual exception occurs when I call a flush on the blob
output stream.
Here is the relevant trace:
java.io.IOException: Io exception: Unexpected packet
at oracle.jdbc.dbaccess.DBError.SQLToIOException(DBError.java:716)
at oracle.jdbc.driver.OracleBlobOutputStream.flushBuffer(OracleBlobOutputStream.java:279)
at oracle.jdbc.driver.OracleBlobOutputStream.flush(OracleBlobOutputStream.java:215)
at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:131)
Any clues?
Thanks!
Christopher Fitch

Hi Gonzalo !
Please check that your XML document has the format described in
http://help.sap.com/saphelp_nw04/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm
  <StatementName2>
<dbTableName action=”INSERT”>
<table>realDbTableName</table>
<access>
<col1>val1</col1>
<col2>val2</col2>
</access>
<access>
<col1>val11</col1>
</access>
</dbTableName>
  </StatementName2>
/people/bhavesh.kantilal/blog/2006/07/03/jdbc-receiver-adapter--synchronous-select-150-step-by-step
/people/siva.maranani/blog/2005/09/16/xi-how-to-on-jdbc-receiver-response
Regards,
Matias.
ps: please award point if helpful
Message was edited by:
        Matias Denker
Message was edited by:
        Matias Denker

Similar Messages

  • JDBC java.io.IOException: IO Error: Unexpected packet error reading BLOB

    Oracle JDBC driver threw exception _"java.io.IOException: IO Error: Unexpected packet"_ - while reading data from a BLOB column.
    Any help in resolution please?
    Database Version: Oracle Database 11g Enterprise Edition Release _11.2.0.2.0_ - 64bit Production.
    Database configuration: This is a single-server, non-RAC Oracle 11g, With the Partitioning, OLAP, Data Mining, Real Application Testing options and High compression.
    JDBC driver: ojdbc6.jar with manifest information as below:
    Manifest-Version: 1.0
    Ant-Version: Apache Ant 1.6.5
    Created-By: 1.5.0_17-b02 (Sun Microsystems Inc.)
    Implementation-Vendor: Oracle Corporation
    Implementation-Title: JDBC
    Implementation-Version: _11.2.0.1.0_
    Specification-Vendor: Sun Microsystems Inc.
    Specification-Title: JDBC
    Specification-Version: 4.0
    Main-Class: oracle.jdbc.OracleDriver
    Here is the complete stack trace (excluding my custom exception handler):
    Caused by: java.io.IOException: IO Error: Unexpected packet
    at oracle.jdbc.driver.OracleBlobInputStream.needBytes
    (OracleBlobInputStream.java:204)
    at oracle.jdbc.driver.OracleBufferedStream.readInternal
    (OracleBufferedStream.java:169)
    at oracle.jdbc.driver.OracleBufferedStream.read(OracleBufferedStream.
    java:143)
    at oracle.jdbc.driver.OracleBufferedStream.read(OracleBufferedStream.
    java:132)
    ... 91 more
    Caused by: java.sql.SQLRecoverableException: IO Error: Unexpected packet
    at oracle.jdbc.driver.T4CConnection.getBytes(T4CConnection.java:2325)
    at oracle.sql.BLOB.getBytes(BLOB.java:319)
    at oracle.jdbc.driver.OracleBlobInputStream.needBytes
    (OracleBlobInputStream.java:181)
    ... 100 more
    Caused by: oracle.net.ns.NetException: Unexpected packet
    at oracle.net.ns.NetException.(NetException.java:183)
    at oracle.net.ns.NetInputStream.getNextPacket(NetInputStream.java:222)
    at oracle.net.ns.NetInputStream.read(NetInputStream.java:175)
    at oracle.net.ns.NetInputStream.read(NetInputStream.java:100)
    at oracle.net.ns.NetInputStream.read(NetInputStream.java:85)
    at oracle.jdbc.driver.T4CSocketInputStreamWrapper.readNextPacket
    (T4CSocketInputStreamWrapper.java:118)
    at oracle.jdbc.driver.T4CSocketInputStreamWrapper.read
    (T4CSocketInputStreamWrapper.java:78)
    at oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1179)
    at oracle.jdbc.driver.T4CMAREngine.unmarshalSB1(T4CMAREngine.java:1155)
    at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:279)
    at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:186)
    at oracle.jdbc.driver.T4C8TTILob.read(T4C8TTILob.java:146)
    at oracle.jdbc.driver.T4CConnection.getBytes(T4CConnection.java:2313)
    ... 102 more
    .

    jfdenise wrote:
    Hi,
    I am facing the exact same issue when getting a big jar of more than 7 megs. It seems to occur in some special network configuration that I am not yet able to figure out. It is obviously linked to the fact that the jar is unpacked on the client side.
    Anybody ran into this one and understood the root cause?Please, don't resurrect old threads, and don't use signatures with addresses. I'm locking this thread.
    Kaj

  • EJB QL "unexpected token: ( " Exception with IN operator and AND operator

    Hey everyone,
    Hopefully someone can help me. I am just starting to write more complex queries with EJB QL and am running into an issue. When I run my query I get an "Internal Exception: line 1:87: unexpected token: (" Exception below is my query with acording to the sun references I have managed to find looks right. Here is my query:
    SELECT OBJECT(e) FROM Period e, IN (e.myScorecardItem.cyclesList) t WHERE current_date() BETWEEN e.startDate AND e.endDate AND t.id =?1
    I have removed the portion with the IN navigation and it works fine, and I have removed the conditional statement and left the IN portion and that works fine but I can not get the to work together. Here is my bean relationships: Cycles have ScorecardItems have Periods. I am trying to find all the Periods that fall within a certain cycle. Any direction or help anyone can provide would be greatly appreciated.
    Thanks,
    Justen

    It's not inherently bad - but it does depend on the optimizer getting  good estimate of the data volume.
    Did you test with 200 distinct values in your IN list, and can you see in the execution plan Oracle estimate of how many rows the subquery would generate.
    Regards
    Jonathan Lewis

  • CORE4007: Internal error: Unexpected Java exception thrown (java.lang.NullP

    Hi,
    Currently we have a custom devoloped Java application deployed in oracle iplanet webserver 7 with JDK 1.6. I am receiving the below errors. The application is not stable. It gives a 500 internal error sometimes when browsing. When i checked the error log. Below is the message.
    CORE4007: Internal error: Unexpected Java exception thrown (java.lang.NullPointerException, no description), stack: java.lang.NullPointerException
    Could you please throw some light on this.

    You need to fix your custom developed app since it is causing the errors and instability. Tell the developers to properly verify the input data and improve their exception handling so you get better error messages that tells you what went wrong.

  • Unexpected Broker Exception: [can not close un-opened protocol] ???

    Hi,
    Has anyone seen this problem in the log file.... It occurred during a shutdown of the broker... Is it something I need to worried about?
    Broker Startup Info:
    ================================================================================
    Open Message Queue 4.3
    Sun Microsystems, Inc.
    Version:  4.3  (Build 7-g)
    Compile:  Fri Nov  7 19:11:27 PST 2008
    Copyright (c) 2007 Sun Microsystems, Inc.  All rights reserved.  Use is
    subject to license terms.
    ================================================================================
    Java Runtime: 1.6.0_07 Sun Microsystems Inc. /usr/jdk/instances/jdk1.6.0/jre
    [30/Jan/2009:11:45:08 MST] Syncing message store: false
    [30/Jan/2009:11:45:08 MST]    IMQ_HOME=/opt/openmq/mq
    [30/Jan/2009:11:45:08 MST] IMQ_VARHOME=/opt/openmq/var/mq
    [30/Jan/2009:11:45:08 MST] SunOS 5.11 amd64 vdev3th (4 cpu) root
    [30/Jan/2009:11:45:08 MST] Max file descriptors: 65536 (65536)
    [30/Jan/2009:11:45:08 MST] Java Heap Size: max=933888k, current=253184k
    [30/Jan/2009:11:45:08 MST] Arguments: -loglevel DEBUGHIGH -force -passfile /var/svc/profile/openmq.passfile
    [30/Jan/2009:11:45:08 MST] Initializing ClusterDiscoveryService
    [30/Jan/2009:11:45:08 MST] [B1004]: Starting the portmapper service using tcp [ 7676, 50, * ] with min threads 1 and max threads of 1
    [30/Jan/2009:11:45:08 MST] [B1060]: Loading persistent data...
    [30/Jan/2009:11:45:08 MST] Using built-in file-based persistent store: /opt/openmq/var/mq/instances/imqbroker/
    [30/Jan/2009:11:45:08 MST] attempting to set Message Bytes Limit to 10240K for destination mq.sys.dmq [Queue]
    [30/Jan/2009:11:45:08 MST] attempting to set Message Count Limit to 1000 for destination mq.sys.dmq [Queue]
    [30/Jan/2009:11:45:08 MST] Loading Stored destination mq.sys.dmq [Queue] connectionUID=null
    [30/Jan/2009:11:45:17 MST] [B1007]: Stopping Service jms with protocol tcp(host = *, port=0, mode=dedicated)
    [30/Jan/2009:11:45:17 MST] Exception shutting down  protocol, ignoring since we are exiting:
    java.io.IOException: Unexpected Broker Exception: [can not close un-opened protocol]
            at com.sun.messaging.jmq.jmsserver.net.tcp.TcpProtocol.close(TcpProtocol.java:353)
            at com.sun.messaging.jmq.jmsserver.service.imq.IMQIPService.stopService(IMQIPService.java:292)
            at com.sun.messaging.jmq.jmsserver.service.ServiceInfo.stop(ServiceManager.java:664)
            at com.sun.messaging.jmq.jmsserver.service.ServiceManager.stopService(ServiceManager.java:307)
            at com.sun.messaging.jmq.jmsserver.service.ServiceManager.stopAllActiveServices(ServiceManager.java:430)
            at com.sun.messaging.jmq.jmsserver.BrokerStateHandler$ShutdownRunnable.shutdown(BrokerStateHandler.java:483)
            at com.sun.messaging.jmq.jmsserver.BrokerStateHandler$ShutdownRunnable.run(BrokerStateHandler.java:383)
            at java.lang.Thread.run(Thread.java:619)
    [30/Jan/2009:11:45:17 MST] Session: Resuming Session [5282756623254863360][0]Consumer.java: resuming after detatch Consumer - Q:temporary_destination:__queue_10.80.165.6_65423_1:[consumer:5282756623254870016, type=CLIENT_ACKNOWLEDGE]
    [30/Jan/2009:11:45:17 MST] JMX Connector Server jmxrmi stopped successfully
    [30/Jan/2009:11:45:17 MST] Cleaning up transactions on connection IMQConnCLOSED,[email protected]:65423,admin:44113
    [30/Jan/2009:11:45:17 MST] Destroying temp destination Q:temporary_destination:__queue_10.80.165.6_65423_1 on connection death
    [30/Jan/2009:11:45:17 MST] [B1159]: Destination temporary_destination://queue/10.80.165.6/65423/1 [Queue] has been destroyed
    [30/Jan/2009:11:45:17 MST] WARNING [B2181]: Removing 1 messages associated with destination temporary_destination://queue/10.80.165.6/65423/1 [Queue]
    [30/Jan/2009:11:45:17 MST] Cleaning up transactions on connection IMQConnCLOSED,[email protected]:65423,admin:44113
    [30/Jan/2009:11:45:17 MST] [B1066]:   Closing: [email protected]:65423->admin:44113 because "[B0061]: Client exited without closing connections". Count: service=0 broker=0
    [30/Jan/2009:11:45:17 MST] closed connection IMQConnDESTROYING,[email protected]:65423,admin:44113:
    java.io.IOException: [B4117]: Unexpected Broker Exception: [destroyed Connection]
            at com.sun.messaging.jmq.jmsserver.service.imq.IMQIPConnection.writeData(IMQIPConnection.java:1563)
            at com.sun.messaging.jmq.jmsserver.service.imq.IMQIPConnection.process(IMQIPConnection.java:631)
            at com.sun.messaging.jmq.jmsserver.service.imq.OperationRunnable.process(OperationRunnable.java:170)
            at com.sun.messaging.jmq.jmsserver.util.pool.BasicRunnable.run(BasicRunnable.java:493)
            at java.lang.Thread.run(Thread.java:619)
    [30/Jan/2009:11:45:18 MST] [B1048]: Shutdown of broker complete.
    [30/Jan/2009:11:45:18 MST] Broker exiting with status=0 because [B1199]: Shutdown Requested by adminIf more detail are needed, please ask and I will supply whatever is necessary...
    Thanks.
    -Howard
    Edited by: Turret on Jan 30, 2009 1:10 PM

    Hi Tom,
    Thanks for the quick response!
    I am glad to hear that the log level is the reason for the output and not an issue with the broker!
    Thanks again....
    -Howard

  • GP Mail: Unexpected internal exception during background execution

    Hi,
          I have designed a process in Guided Procedures which send mails when Approved or Rejected. I get an exception for users who have yahoo or gmail IDs.
    Technical Exception:
    Unexpected internal exception during background execution: The message contains non-trusted or invalid receivers
    Is there any setting /configuration for sending mails to these.
    Pl help
    Thanks,
    Vasu
    Message was edited by:
            Vasu Mullapudi

    Hi,
    are you using the Bounced Mails Framework to manage you mails? If so, one possible explanation is that BMF blocks untrusted messages.
    To configure BMF options, go to the Administration workset and edit the list of trusted addresses in BMF.
    More info:
    <a href="http://help.sap.com/saphelp_nw70/helpdata/en/44/450862f1f014bce10000000a155369/frameset.htm">Administering the BMF</a>
    <a href="http://help.sap.com/saphelp_nw70/helpdata/en/44/4491dafaab0597e10000000a155369/frameset.htm">Managing Trusted Addresses</a>
    HTH
    Regards, Petja

  • Unexpected Broker Exception: [destroyed Connection]

    I am new to broker(s).
    Can anyone help.
    Mike
    15/Mar/2007:12:14:47 PDT]
    Connections: 0 JVM Heap: 33226752 bytes (30476096 free) Threads: 2 (14-1010)
    In: 1 msgs (728 bytes) 14 pkts (2386 bytes)
    Out: 0 msgs (0 bytes) 14 pkts (2795 bytes)
    Rate In: 0 msgs/sec (0 bytes/sec) 0 pkts/sec (0 bytes/sec)
    Rate Out: 0 msgs/sec (0 bytes/sec) 0 pkts/sec (0 bytes/sec)
    [15/Mar/2007:12:15:28 PDT] Received JMQRBufferSize -100
    [15/Mar/2007:12:15:28 PDT] [B1065]: Accepting: [email protected]:39174->jms:39104. Count=1
    [15/Mar/2007:12:15:28 PDT] Created new session 1984136176305554944 on connection 1984136176305549056
    [15/Mar/2007:12:15:28 PDT] Creating new Producer 1984136176305558016 on Q:myTestQueue for connection 1984136176305549056
    [15/Mar/2007:12:15:28 PDT] Producer Producer[1984136176305558016,Q:myTestQueue,1984136176305549056] is true
    [15/Mar/2007:12:15:28 PDT] Cleaning up transactions on connection IMQConn[CLOSED,[email protected]:39174,jms:39104]
    [15/Mar/2007:12:15:28 PDT] closed connection IMQConn[DESTROYING,[email protected]:39174,jms:39104]:
    java.io.IOException: [B4117]: Unexpected Broker Exception: [destroyed Connection]
    at com.sun.messaging.jmq.jmsserver.service.imq.IMQConnection.writeData (IMQConnection.java:1930)
    at com.sun.messaging.jmq.jmsserver.service.imq.IMQConnection.process(IMQConnection.java:803)
    at com.sun.messaging.jmq.jmsserver.service.imq.OperationRunnable.process(OperationRunnable.java :141)
    at com.sun.messaging.jmq.jmsserver.util.pool.BasicRunnable.run(BasicRunnable.java:459)
    at java.lang.Thread.run(Thread.java:595)
    [15/Mar/2007:12:15:28 PDT] [B1066]: Closing: [email protected]:39174->jms:39104 because "[B0059]: Client closed the connection". Count=0
    [15/Mar/2007:12:15:47 PDT]
    Connections: 0 JVM Heap: 33226752 bytes (30083968 free) Threads: 2 (14-1010)
    In: 2 msgs (1632 bytes) 28 pkts (4949 bytes)
    Out: 0 msgs (0 bytes) 28 pkts (5590 bytes)
    Rate In: 0 msgs/sec (15 bytes/sec) 0 pkts/sec (42 bytes/sec)
    Rate Out: 0 msgs/sec (0 bytes/sec) 0 pkts/sec (46 bytes/sec)

    Hi Tom,
    Thanks for the quick response!
    I am glad to hear that the log level is the reason for the output and not an issue with the broker!
    Thanks again....
    -Howard

  • Unexpected Broker Exception

    Hi,
    what does this transaction mean?
    regards
    Ricky
    [24/Aug/2009:10:08:17 MEST] WARNING [B3229]: Transaction acknowledgement [79836403-172.23.150.105(c6:7d:dd:e5:f4:43)-50988-1251100039059, [consumer:818849448456328192, type=NONE]]TUID=818849514206184448 processing failed: Unexpected Broker Exception: [Transaction [consumer:818849448456328192, type=NONE] has state [COMMITED(6)], not in [STARTED(1)] state]:
    com.sun.messaging.jmq.jmsserver.util.BrokerException: Unexpected Broker Exception: [Transaction [consumer:818849448456328192, type=NONE] has state [COMMITED(6)], not in [STARTED(1)] state]

    Hi,
    the exception looks like this:
    [#|2009-08-24T10:08:17.049+0200|WARNING|IS5.1.3|com.stc.jmsjca.core.WorkContainer|_ThreadID=187; ThreadName=Worker: 101; Context=dpRouting_TRprjRoutingCo1922141060/Connectivity_queToRouting_srvRoute_ejb;|JMSJCA-E064: Unexpected exception encountered while executing a JMS CC-session: java.lang.RuntimeException: [ACKNOWLEDGE_REPLY(25)] [C4036]: A server error occurred. : Unexpected Broker Exception: [Transaction [consumer:818849448456328192, type=NONE] has state [COMMITED(6)], not in [STARTED(1)] state] user=infointernal, broker=svrai09.vt.ch:7679(45634)
    java.lang.RuntimeException: [ACKNOWLEDGE_REPLY(25)] [C4036]: A server error occurred. : Unexpected Broker Exception: [Transaction [consumer:818849448456328192, type=NONE] has state [COMMITED(6)], not in [STARTED(1)] state] user=infointernal, broker=svrai09.vt.ch:7679(45634)
         at com.sun.messaging.jmq.jmsclient.ServerSessionRunner.run(ServerSessionRunner.java:113)
         at com.sun.messaging.jmq.jmsclient.SessionImpl.run(SessionImpl.java:2623)
         at com.stc.jmsjca.core.WorkContainer.run(WorkContainer.java:198)
         at com.sun.enterprise.connectors.work.OneWork.doWork(OneWork.java:54)
         at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:382)
    |#]

  • Unexpected internal Exception (RelatchRequiredException)

    Hi,
    I have recently upgraded to version 5.0.34 and was testing our application when I saw the following error:
    com.sleepycat.je.EnvironmentFailureException: (JE 5.0.34) com.sleepycat.je.utilint.RelatchRequiredException UNEXPECTED_EXCEPTION: Unexpected internal Exception, may have side effects.
    at com.sleepycat.je.EnvironmentFailureException.unexpectedException(EnvironmentFailureException.java:286)
    at com.sleepycat.je.tree.BIN.fetchTarget(BIN.java:1268)
    at com.sleepycat.je.Cursor.checkForInsertion(Cursor.java:3006)
    at com.sleepycat.je.Cursor.retrieveNextAllowPhantoms(Cursor.java:2926)
    at com.sleepycat.je.Cursor.retrieveNextNoDups(Cursor.java:2789)
    at com.sleepycat.je.Cursor.retrieveNext(Cursor.java:2763)
    at com.sleepycat.je.Cursor.getNext(Cursor.java:1116)
    As a rough overview, the application has many threads (transactionally) inserting and removing into three separate tables. Commits are non synchronous (i.e. Transaction.commitNoSync() is being used). A separate thread regularly calls Environment.flushLog(true).
    I've only seen this once so far, when the application was under very heavy load...
    Any ideas?
    Cheers,
    Rob

    OK... I've been doing some more testing and have some more information.
    Firstly I have seen this a few more times though by no means is this particular error easily reproducable.
    I have determined that it occurs on both jdk 1.7.0 and 1.6.0_26 (both linux, 64bit) as I wanted to rule out jdk 1.7 as a factor.
    Since I had never seen this error when using v4.x of BDB I looked at the code change I hade made simultaneous with the upgrade, namely that previously in order to synchronously flush the asyncronoush transaction commits to disk I was calling Environment.sync() whereas with v5.0.34 I was calling Environment.flushFlog(true) (since this had demonstrated better performance and covered exactly the use case that I desired).
    After switching this code back to sync() I could not reproduce the issue. Moreover neither did I see any of the other perplexing errors that I had been investigating (see below).
    The part in my code where the error was occuring is the only place where cursors are actively used. All other transactional activity is either single record inserts, or single record deletes drived by a unique key. In the area of the code where I saw this exception being thrown, looks somewhat like this:
    DatabaseEntry value = new DatabaseEntry();
    value.setPartial(0, 0, true);
    cursor = database.openCursor(tx, null);
    status = cursor.getSearchKeyRange(key, value, LockMode.RMW);
    while (status == OperationStatus.SUCCESS)
    keyObject = binding.entryToObject(key);
    if(keyObject.getId() != id)
    break;
    else
    status = cursor.delete();
    status = cursor.getNext(key, value, LockMode.RMW);
    cursor.close();
    tx.commitNoSync();
    Where the idea is that the actual primary key for the table is a compound of (id,number), and we start the cursor from the key (id,0) and delete all entires until we find an entry with a different id.
    Now as it happens, for the test I am running I know that there will only ever be at most one entry of the form (id, 0).
    And if I change the code to remove the cursor, and instead just do a straight delete operation on the database, I again see no errors.
    The other thing to note is that in addition to the Unexpected Internal Exception described above, I was seeing far more frequent LockTimeout exceptions... moreover backing off and retrying the transactions didn't seem to work - the locks seemed to be permanently locked. These timeouts also only occurred in the above part of my code, and not in any of the other transactions it was performing.
    After changing to use Environment.sync() (rather than flushLog), or after removing the cursor (but keeping flishLog) these lock timeout exceptions also went away.
    Finally I was seeing an even stranger (to me) error... Occaisionally my tests seemed to be completing fine, but when I came to shut down my process, closing the environment was reporting that some transactions were still uncommitted. Again - the only instances were from the transactions involving the cursor above. Now as above the only way that you can get through that code without committing is (AFAICT) by some method throwing an exception... and I was seeing no such exceptions reported.
    Once again, either changing from flushLog(true) to sync(), or replacing the cursor with a straight delete stopped these issues from occurring.
    So, in summary I was seeing a number of weird behaviours that only seemed to occur when I was using a cursor to delete records from my database, and when I was using flushLog() to flush the log records to disk.
    Hope this is helpful... If there's anything more I can do to help you debug this issue, please let me know,
    Cheers,
    Rob

  • PasswordSync Unexpected Broker Exception: [destroyed Connection]

    DEBUGHIGH set on brokerd
    metrics set to 60 on brokerd
    Help appreciated.
    15/Mar/2007:12:14:47 PDT]
    Connections: 0 JVM Heap: 33226752 bytes (30476096 free) Threads: 2 (14-1010)
    In: 1 msgs (728 bytes) 14 pkts (2386 bytes)
    Out: 0 msgs (0 bytes) 14 pkts (2795 bytes)
    Rate In: 0 msgs/sec (0 bytes/sec) 0 pkts/sec (0 bytes/sec)
    Rate Out: 0 msgs/sec (0 bytes/sec) 0 pkts/sec (0 bytes/sec)
    [15/Mar/2007:12:15:28 PDT] Received JMQRBufferSize -100
    [15/Mar/2007:12:15:28 PDT] [B1065]: Accepting: [email protected]:39174->jms:39104. Count=1
    [15/Mar/2007:12:15:28 PDT] Created new session 1984136176305554944 on connection 1984136176305549056
    [15/Mar/2007:12:15:28 PDT] Creating new Producer 1984136176305558016 on Q:myTestQueue for connection 1984136176305549056
    [15/Mar/2007:12:15:28 PDT] Producer Producer[1984136176305558016,Q:myTestQueue,1984136176305549056] is true
    [15/Mar/2007:12:15:28 PDT] Cleaning up transactions on connection IMQConn[CLOSED,[email protected]:39174,jms:39104]
    [15/Mar/2007:12:15:28 PDT] closed connection IMQConn[DESTROYING,[email protected]:39174,jms:39104]:
    java.io.IOException: [B4117]: Unexpected Broker Exception: [destroyed Connection]
    at com.sun.messaging.jmq.jmsserver.service.imq.IMQConnection.writeData (IMQConnection.java:1930)
    at com.sun.messaging.jmq.jmsserver.service.imq.IMQConnection.process(IMQConnection.java:803)
    at com.sun.messaging.jmq.jmsserver.service.imq.OperationRunnable.process(OperationRunnable.java :141)
    at com.sun.messaging.jmq.jmsserver.util.pool.BasicRunnable.run(BasicRunnable.java:459)
    at java.lang.Thread.run(Thread.java:595)
    [15/Mar/2007:12:15:28 PDT] [B1066]: Closing: [email protected]:39174->jms:39104 because "[B0059]: Client closed the connection". Count=0
    [15/Mar/2007:12:15:47 PDT]
    Connections: 0 JVM Heap: 33226752 bytes (30083968 free) Threads: 2 (14-1010)
    In: 2 msgs (1632 bytes) 28 pkts (4949 bytes)
    Out: 0 msgs (0 bytes) 28 pkts (5590 bytes)
    Rate In: 0 msgs/sec (15 bytes/sec) 0 pkts/sec (42 bytes/sec)
    Rate Out: 0 msgs/sec (0 bytes/sec) 0 pkts/sec (46 bytes/sec)

    Hi Tom,
    Thanks for the quick response!
    I am glad to hear that the log level is the reason for the output and not an issue with the broker!
    Thanks again....
    -Howard

  • ** RFC to JDBC scenario - SYSTEM_FAILURE exception comes - urgent help

    Hi Friends,
    I have completed RFC to JDBC scenario. When execute RFC in the system, it throws an exception SYSTEM_FAILURE. What could be the problem ..?  The message is not entered into SXMB_MONI. In the backend system itself, it throws error.
    Kindly reply, friends.
    Kind Regards,
    Jeg P.

    Hi Jeg,
    Check out if u get any info/help in the thread below .. Henrique Pinto's reply and others to this thread.
    How to make Real Time connectivity between R3(RFC) Sender and XI
    File Adapter: SYSTEM_FAILURE_INTERNAL
    More details regarding this exception:
    http://help.sap.com/saphelp_nw04/helpdata/en/22/0425e0488911d189490000e829fbbd/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/a2/a002416225f023e10000000a155106/frameset.htm
    kanan

  • Jdbc:mysql generating exception when ip address is included as part of url

    hie
    I recently wrote a java application that uses jdbc:mysql connector to connect to the mysql database. The problem I'm facing is ,- when ever I include IP addresses in the url on the getConnection method I get the following exception:
    com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception:
    ** BEGIN NESTED EXCEPTION **
    java.net.SocketException
    MESSAGE: java.net.ConnectException: Connection refused: connect
    STACKTRACE:
    java.net.SocketException: java.net.ConnectException: Connection refused: connect
    The funny part is that if I use localhost on the url it works but generates the exception when I put the IP address of the local machine.
    Anybody who knows where the problem is , please help
    thanx in advance

    localhost usually resolves to 127.0.0.1, not the routable IP address of the host.
    mysql (or any TCP/IP based program) can tell which IP address you connected via.
    Your mysql installation apparently isn't configured to allow external connections. The problem could be persmissions or the installation itself, or a firewall on the host.
    See the fine manual:
    http://dev.mysql.com/doc/refman/5.1/en/can-not-connect-to-server.html
    http://dev.mysql.com/doc/refman/5.1/en/connection-access.html
    http://dev.mysql.com/doc/refman/5.1/en/security-guidelines.html

  • JDBC Persistent Store Exceptions Table needs to be renamed

    we are facing a situation almost every week in production. The only workaround is to rename the table everytime an boune the Weblogic. Oracle recommended to increase the statement timeout. Not sure if that will work.
    Can anyone provide what is the reason behind this. As there is only admin server in this domain with single JMS Server and JDBC Store. So not sure how the ownership is lost. Any help is appreciated .
    ####<Dec 25, 2010 4:32:01 AM IST> <Error> <Store> <gnnosm21> <OSMServer> <[ACTIVE] ExecuteThread: '65' for queue: 'weblogi
    c.kernel.Default (self-tuning)'> <<WLS Kernel>> <1293231721099> <BEA-280075> <JDBC store "oms_jms_store" failed to r
    etain ownership of database table "OM_BEAWLStore", either due to database access problems or due to concurrent accessors o
    f the table. See the linked exception for more information.
    weblogic.store.io.jdbc.JDBCStoreException: [Store:280065]java.sql.SQLException: ORA-01013: user requested cancel of curren
    t operation
    (server="OSMServer" store="oms_jms_store" table="OM_BEAWLStore"):(Linked Cause, "java.sql.SQLException: ORA-01013: user r
    equested cancel of current operation
    at weblogic.store.io.jdbc.JDBCStoreIO.readTableLockRecord(JDBCStoreIO.java:2078)
    at weblogic.store.io.jdbc.JDBCStoreIO.updateTableOwnership(JDBCStoreIO.java:2105)
    at weblogic.store.io.jdbc.ReservedConnection.timerExpired(ReservedConnection.java:436)
    at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:265)
    at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    java.sql.SQLException: ORA-01013: user requested cancel of current operation
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
    at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:743)
    at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:216)
    at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:955)
    at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1060)
    at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:839)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1124)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3316)
    at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3361)
    at weblogic.jdbc.wrapper.PreparedStatement.executeQuery(PreparedStatement.java:100)
    at weblogic.store.io.jdbc.JDBCStoreIO.internalRead(JDBCStoreIO.java:721)
    at weblogic.store.io.jdbc.JDBCStoreIO.readTableLockRecord(JDBCStoreIO.java:2066)
    at weblogic.store.io.jdbc.JDBCStoreIO.updateTableOwnership(JDBCStoreIO.java:2105)
    at weblogic.store.io.jdbc.ReservedConnection.timerExpired(ReservedConnection.java:436)
    at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:265)
    at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)

    Hi,
    You didnot mention what is that everytime you mean in your question....
    Did you check is there any other user also using the same database table "OM_BEAWLStore" from your development environment connecting with the same JMS persistance store?

  • JDBC / Servlet / ": Io exception: SO Exception was generated"

    Hi,
    i am trying to write a simple Servlet program that would access oracle 9i database and display the names in the "emp" table in the form of a html page.
    I am using tomcat 4.0, jdk1.2.2, oracle 9i, windows 98.
    I am getting this exception as the outoput of the program:
    "Io exception: SO Exception was generated "
    The input of the program will be through a html file, with a form that will ask the user for his/her name(this has got nothing to do with the logic of the program.. just for the sake of using a html form):
    HTML file:
    <html>
    <head>
    <title>First Aplet</title>
    </head>
    <body>
    <FORM METHOD=GET ACTION="http://localhost:8080/Hello">
    What is your name?
    <input type=text name="name"><p>
    <input type=submit>
    </form>
    </body>
    </html>
    The code for the servlet class is as follows:
    import java.io.*;
    import java.sql.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class Hello extends HttpServlet{
    public void doGet(HttpServletRequest req, HttpServletResponse res) throws
         ServletException, IOException{
              res.setContentType("text/html");
              PrintWriter out = res.getWriter();
              String name = req.getParameter("name");
              Connection con = null;
              Statement stmt = null;
              ResultSet rs = null;
              String name = req.getParameter("name");
              res.setContentType("text/html");
         out = res.getWriter();
         try{
         DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
         con = DriverManager.getConnection(
              "jdbc:oracle:thin:@","scott","tiger");
                   stmt = con.createStatement();
         rs = stmt.executeQuery("SELECT * from EMP");
    out.println("<HTML><HEAD><TITLE>EMp Table Details for "+name+"</TITLE></HEAD>");
         out.println("<BODY>");
              out.println("");
                   out.print("<TABLE>\n");
              try{
                   ResultSetMetaData rsmd = rs.getMetaData();
                   int numcols = rsmd.getColumnCount();
                   out.print("<TR>");
                   for(int i = 1;i<=numcols;i++)
                        out.print("<TH>"+rsmd.getColumnLabel(i));
                        out.print("</TR>\n");
                        while(rs.next()){
                        out.print("<TR");
                        for(int i=1;i<=numcols;i++){
                        out.print("<TD>");
                        Object obj = rs.getObject(i);
                        if(obj!=null)
                             out.print(obj.toString());
                        else
                             out.print(" ");
                   out.print("</TR>\n");
                   catch(SQLException e){
                   out.print("SQLEXception : "+e.getMessage());
              out.println("</TABLE>");
              out.println("</BODY></HTML>");
              catch(SQLException e){
                   out.println("SQLEXception caught: " + e.getMessage());
         public String getServletInfo(){
                             return "A servlet that knows the name of the person to whom it is saying hello";
    can anyone help?
    thanks..
    KdevRaya

    The getMetaVersion is not the problem, it works ok.
    the problem is the second connection
    conn = DriverManager.getConnection ("jdbc:oracle:thin:@database",info);
    This is exactly as it is illustrated in the "JDBC Developer?s Guide and R
    Reference" from oracle for release 9.2 Part No. A96654-01 page 3-8
    //import packages and register the driver
    import java.sql.*;
    import java.math.*;
    DriverManager.registerDriver (new oracle.jdbc.OracleDriver());
    //specify the properties object
    java.util.Properties info = new java.util.Properties();
    info.put ("user", "sys");
    info.put ("password", "change_on_install");
    info.put ("internal_logon","sysdba");
    //specify the connection object
    Connection conn = DriverManager.getConnection
    ("jdbc:oracle:thin:@database",info);"

  • JDBC PL/SQL exception not shown in System Alert email

    Hi expert,
    The PL/SQL exception caught in the communication channeli  do not show up in the alert emails.  What could be  the reason behind it?
    We configured the SXMS_TO_ADAPTER_ERRLINES to capture the error message in alert category and configured the alert rule accordingly also. The system alert mail is show as below:
    If that is the PL/SQL error(Adapter Framework exception: null):
    Adapter type: JDBC
    Error text from the Adapter Engine:
    If that is the exception captured in Adapter Framework, not PL/SQL error:
    Adapter type: JDBC
    Error text from the Adapter Engine: Error when attempting to get processing resources: com.sap.aii.af.lib. util.concurrent.ResourcePoolException: Unable to create new pooled res ource: DriverManagerException: Can not establish connection:: SQLExcep tion: ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist IBM AIX RISC System/6000 Error: 2: No such file or direc tory
    Is that because the system alert only can print out the detail error message captured in Adapter Framework? Is there any way to capture all of the possible errors in adapter engine?

    Hi Ruby,
    Please use the container variable  "SXMS_TO_ADAPTER_ERRTXT" in your alert category configuration to get the error text from Adapter Engine.
    The details of the container variable can be found at this link:
    http://help.sap.com/saphelp_nw04/helpdata/en/d0/d4b54020c6792ae10000000a155106/content.htm
    Regards, Gaurav.

Maybe you are looking for

  • HR-PAYROLL

    Employeer pension contribution are not comming how to configutre this mater Thanks Pradip

  • I can't install ios 6.1.6 on my iPhone 3GS

    I have an iPhone 3GS running ios version 6.1.3. I'd like to update it to get the new security patch in 6.1.6, but the only upgrade I'm being offered in settings is to 7.0.6. My understanding is that iOs 7 doesn't work on a 3GS and it will crash my ph

  • Text file - carriage return, creating a new line

    anyone know how to create a new line in a text file, something which is the text file equivelent of a BR (html) tag.

  • E4200 and sufficient permissions to install a printer

    Greetings, I am trying to connect my Epson Stylus NX105 to my recently purchased E4200. The printer is plugged in via USB to the router, and my computer (Windows 7) recognizes the router as a device on my network. However, it doesn't see the printer

  • Disabling Energy Saving Whilst in Front Row?

    Hey Guys and Girls, I have noticed that when playing music through Front Row in Leopard that it still utilizes the energy saving methods so will go to sleep after my set period of time, It only does this in Music as it will play DVD's with no interru