Protocol violation Error

Hello everybody,

I'm using the Outsystems 8.0 version in the Red Hat environment.

I'm having this error in the JBoss log sometime:

11:08:41,507 ERROR [outsystems.hubedition.util.ServerLog] (http-/ Error closing the transaction to the database: Protocol violation
   at oracle.jdbc.driver.T4CTTIfun.readRXH(
   at oracle.jdbc.driver.T4CTTIfun.receive(
   at oracle.jdbc.driver.T4CTTIfun.doRPC(
   at oracle.jdbc.driver.T4C7Ocommoncall.doOCOMMIT(
   at oracle.jdbc.driver.T4CConnection.doCommit(
   at oracle.jdbc.driver.PhysicalConnection.commit(
   at oracle.jdbc.driver.PhysicalConnection.commit(
   at sun.reflect.GeneratedMethodAccessor193.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(
   at java.lang.reflect.Method.invoke(
   at oracle.ucp.jdbc.proxy.JDBCConnectionProxyFactory.invoke(
   at com.sun.proxy.$Proxy151.commit(Unknown Source)
   at outsystems.hubedition.runtimeplatform.db.DbTransaction.commit(Unknown Source)
   at outsystems.hubedition.runtimeplatform.DBConnectionManager.endTransaction(Unknown Source)
   at outsystems.hubedition.runtimeplatform.DBConnectionManager.freeupResources(Unknown Source)
   at outsystems.hubedition.runtimeplatform.DBTransactionManager.freeupResources(Unknown Source)
   at oslifetimemonitoring.timers.TimerHandlerImpl.executeExecuteTimer(Unknown Source)
   at oslifetimemonitoring.timers.TimerHandlerImpl.ExecuteTimer(Unknown Source)
   at sun.reflect.GeneratedMethodAccessor448.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(
   at java.lang.reflect.Method.invoke(

Has Anyone had this problem before?

The ojdbc used by platform is "ojdbc6.jar"

Thanks regards.
Hi Tiago,

Well, It's not the first time that I see that error (I'm getting a huge dejavu sensation while googling for the error) but don't remember why it happen and can't seem to find any support case related to it.

Just some quick troubleshooting to get some possible causes out of the way, run these commands and post the output:

 source /etc/sysconfig/outsystems
 echo $JAVA_HOME
 $JAVA_HOME/bin/java -version
 /usr/bin/java -version

João Rosado
Hi João.

Please, look the command result:

# echo $JAVA_HOME
# $JAVA_HOME/bin/java -version
java version "1.6.0_45"
Java(TM) SE Runtime Environment (build 1.6.0_45-b06)
Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01, mixed mode)
# /usr/bin/java -version
java version "1.6.0_33"
OpenJDK Runtime Environment (IcedTea6 1.13.5) (rhel-
OpenJDK 64-Bit Server VM (build 23.25-b01, mixed mode)


Well that could cause the Jboss to run with OpenJDK instead of the Sun JDK and cause strange issues.

Are you using JBoss AS or EAP?
I'm asking besause I don't see the java configurations in the java checklist on the EAP section. Will have to ask tomorrow if there is a reason for that or if it's only missing.

João Rosado
Hi João,

Thanks for your help.

We are using JBoss EAP 6.2.2.GA (AS 7.3.2.Final-redhat-2)

Hi again,

I was told that the Jboss EAP gets the correct java version also from our $JAVA_HOME variable so it is not needed.
Can you run this just to make sure?

ps au --user jboss | grep java

The correct is to say "/etc/alternatives/java_sdk_1.6.0/java" in the command.

João Rosado
Hi João,

The result was as expected.

It showed 2 process:

jboss     2476  1.1 15.5 5646732 1254272 ?     Sl   Mar30  11:19 /etc/alternatives/java_sdk_1.6.0/bin/java 

jboss     2825  0.6  2.5 3130384 201764 ?      Sl   Mar30   6:13 /etc/alternatives/java_sdk_1.6.0/bin/java


Tiago Vital