Protocol violation error, errorcode 17401
Hi,
I am running my CF application in jboss container, using
Oracle 10g database with jdbc connection. When cfm page runs, while
executing database query through cfquery tag, i got the error
saying "Protocol Violation, Error Executing Database Query,
Errorcode 17401". I could not find out the problem.
Kindly help me in this regard.
Advance thanks.
Hi,
I am running my CF application in jboss container, using
Oracle 10g database with jdbc connection. When cfm page runs, while
executing database query through cfquery tag, i got the error
saying "Protocol Violation, Error Executing Database Query,
Errorcode 17401". I could not find out the problem.
Kindly help me in this regard.
Advance thanks.
Similar Messages
-
Protocol Violation Error (ORA-17401)
Hi everyone,
I was problem while run cfm page, for 4 weeks ago, the ColdFusion stop in error Protocol Violation Error - ORA-17401.
I'm using JDBC Oracle connector version 1.6 with Oracle 11 g.
Where the error show, the server stop communication from Oracle and returns only restart the CF Service, other servers dont stop communication.
I have 4 servers with 4 processors Quad-Core, 32 GB RAM and 1 TB HD, with Windows 2008 and IIS 7.5.
The ColdFusion is update level 11.
Any answers?It is seen when Oracle.getSystemProperties fail to bring in Data from Oracle Server. At that time every property is returned as null, so protocol violation occurs. It occurs and Oracle Can't close Connection as said by the first thread.
Solution is to avoid too many requests at same time but use some long queue mechanism and timings. -
Protocol violation Error with 17401 error code
Hi,
When we are trying to call stored procedure with below syntax we are getting "com.ibm.websphere.ce.cm.StaleConnectionException: Protocol violation" error with error code 17401 in local IRAD application and also in deployed application of WAS.
call schemaName.truncate_table('table_name', 'DROP STORAGE')
If I comment this procedure call in the Java code and execute, then next SQL staments following this call will be executed successfully. Below are some of the trails that I have already done and getting same error
1. Dowloaded latest ojdbc.jar as per Oracle Database 10g 10.2.0.4.0 version
2. Kept the minimum number of connections value as ZERO in WAS admin.
Let me know if you know any solution for this
Thanks
BasavarajHi,
It takes around 10 seconds from the time I started this batch job
Below is the code, in the below code getStatement() method gets the SQLStatement object with below procedure call
call odsacct.truncate_table(?, 'DROP STORAGE')
SQLStatement sqlStmt = getStatement(CONFIG_FILE, DAOConstants.TRUNCATE_DATA_DEST);
CallableStatement callableStmt = null;
try {
callableStmt = conn.prepareCall(sqlStmt.getSql());
// set the in param
callableStmt.setString(1, insertTable);
callableStmt.executeUpdate();
catch(SQLException e) {
System.out.println("Error Code .. Basava..."+e.getErrorCode());
e.printStackTrace();
throw new Exception("Error Deleting Data in the Destination Table: ", e);
finally {
close(null, null, callableStmt);
Below is the exception stack trace
[4/20/11 15:11:35:991 EDT] 00000026 SystemOut O [Executing Job : AcctSearchLoaderWeeklyJob
[4/20/11 15:11:37:116 EDT] 00000026 SystemOut O ******ADNAServiceProperties loaded successfully******
[4/20/11 15:11:37:116 EDT] 00000026 SystemOut O [Account Search Data one time full data load started...
[4/20/11 15:11:37:460 EDT] 00000026 SystemOut O [Wed Apr 20 15:11:37 EDT 2011] : Current Active Table: ODSACCT.ACCT_SEARCH_A
[4/20/11 15:11:38:725 EDT] 00000026 SystemOut O [Wed Apr 20 15:11:38 EDT 2011] : Number of Records in ODSACCT.ACCT_SEARCH_A table is 537352
[4/20/11 15:11:38:725 EDT] 00000026 SystemOut O [Wed Apr 20 15:11:38 EDT 2011] : Active Table Record Count is ... 537352
[4/20/11 15:11:38:725 EDT] 00000026 SystemOut O [Wed Apr 20 15:11:38 EDT 2011] : Truncate data from... ODSACCT.ACCT_SEARCH_B
[4/20/11 15:11:39:741 EDT] 00000026 ServiceLogger I com.ibm.ws.ffdc.IncidentStreamImpl initialize FFDC0009I: FFDC opened incident stream file C:\aDNA-Workspaces\Profiles\NonValhalla_Apps\logs\ffdc\server1_5d445d44_11.04.20_15.11.39_0.txt
[4/20/11 15:11:39:772 EDT] 00000026 ServiceLogger I com.ibm.ws.ffdc.IncidentStreamImpl resetIncidentStream FFDC0010I: FFDC closed incident stream file C:\aDNA-Workspaces\Profiles\NonValhalla_Apps\logs\ffdc\server1_5d445d44_11.04.20_15.11.39_0.txt
[4/20/11 15:11:39:788 EDT] 00000026 ServiceLogger I com.ibm.ws.ffdc.IncidentStreamImpl open FFDC0009I: FFDC opened incident stream file C:\aDNA-Workspaces\Profiles\NonValhalla_Apps\logs\ffdc\server1_5d445d44_11.04.20_15.11.39_1.txt
[4/20/11 15:11:39:819 EDT] 00000026 ServiceLogger I com.ibm.ws.ffdc.IncidentStreamImpl resetIncidentStream FFDC0010I: FFDC closed incident stream file C:\aDNA-Workspaces\Profiles\NonValhalla_Apps\logs\ffdc\server1_5d445d44_11.04.20_15.11.39_1.txt
[4/20/11 15:11:39:819 EDT] 00000026 ConnectionEve A J2CA0056I: The Connection Manager received a fatal connection error from the Resource Adapter for resource jdbc/adna_prod_ds. The exception which was received is com.ibm.websphere.ce.cm.StaleConnectionException: Protocol violation:java.sql.SQLException: Protocol violation
[4/20/11 15:11:39:819 EDT] 00000026 SystemOut O Error Code .. Basava...17401
[4/20/11 15:11:39:835 EDT] 00000026 SystemOut O [Wed Apr 20 15:11:39 EDT 2011] : Exception Occured while loading ACCT_SEARCH_B : party id is null
[4/20/11 15:11:39:835 EDT] 00000026 SystemOut O [Account Search Data full data load failed.
[4/20/11 15:11:39:819 EDT] 00000026 SystemErr R com.ibm.websphere.ce.cm.StaleConnectionException: Protocol violation
[4/20/11 15:11:39:835 EDT] 00000026 SystemErr R at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[4/20/11 15:11:39:835 EDT] 00000026 SystemErr R at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:67)
[4/20/11 15:11:39:835 EDT] 00000026 SystemErr R at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
[4/20/11 15:11:39:835 EDT] 00000026 SystemErr R at java.lang.reflect.Constructor.newInstance(Constructor.java:521)
[4/20/11 15:11:39:835 EDT] 00000026 SystemErr R at com.ibm.websphere.rsadapter.GenericDataStoreHelper.mapExceptionHelper(GenericDataStoreHelper.java:523)
[4/20/11 15:11:39:835 EDT] 00000026 SystemErr R at com.ibm.websphere.rsadapter.GenericDataStoreHelper.mapException(GenericDataStoreHelper.java:578)
[4/20/11 15:11:39:835 EDT] 00000026 SystemErr R at com.ibm.ws.rsadapter.jdbc.WSJdbcUtil.mapException(WSJdbcUtil.java:903)
[4/20/11 15:11:39:835 EDT] 00000026 SystemErr R at com.ibm.ws.rsadapter.jdbc.WSJdbcPreparedStatement.executeUpdate(WSJdbcPreparedStatement.java:626)
[4/20/11 15:11:39:835 EDT] 00000026 SystemErr R at com.starwood.adna.dao.AccountSearchLoaderDAO.truncateInsertTable(AccountSearchLoaderDAO.java:601)
[4/20/11 15:11:39:835 EDT] 00000026 SystemErr R at com.starwood.adna.dao.AccountSearchLoaderDAO.loadAccountSearchTable(AccountSearchLoaderDAO.java:92)
[4/20/11 15:11:39:835 EDT] 00000026 SystemErr R at com.starwood.adna.service.control.ADNAJobSchedulerAction.executeFullLoad(ADNAJobSchedulerAction.java:417)
[4/20/11 15:11:39:835 EDT] 00000026 SystemErr R at com.starwood.adna.service.control.ADNAJobSchedulerAction.executeFullLoadJob(ADNAJobSchedulerAction.java:348)
[4/20/11 15:11:39:835 EDT] 00000026 SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[4/20/11 15:11:39:835 EDT] 00000026 SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
[4/20/11 15:11:39:835 EDT] 00000026 SystemErr R at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[4/20/11 15:11:39:835 EDT] 00000026 SystemErr R at java.lang.reflect.Method.invoke(Method.java:615)
[4/20/11 15:11:39:835 EDT] 00000026 SystemErr R at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:276)
[4/20/11 15:11:39:835 EDT] 00000026 SystemErr R at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:196)
[4/20/11 15:11:39:835 EDT] 00000026 SystemErr R at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
[4/20/11 15:11:39:835 EDT] 00000026 SystemErr R at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
[4/20/11 15:11:39:835 EDT] 00000026 SystemErr R at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
[4/20/11 15:11:39:835 EDT] 00000026 SystemErr R at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
[4/20/11 15:11:39:835 EDT] 00000026 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
[4/20/11 15:11:39:835 EDT] 00000026 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
[4/20/11 15:11:39:835 EDT] 00000026 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:989)
[4/20/11 15:11:39:835 EDT] 00000026 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:501)
[4/20/11 15:11:39:835 EDT] 00000026 SystemErr R at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:464)
[4/20/11 15:11:39:835 EDT] 00000026 SystemErr R at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
[4/20/11 15:11:39:835 EDT] 00000026 SystemErr R at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:744)
[4/20/11 15:11:39:835 EDT] 00000026 SystemErr R at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1439)
[4/20/11 15:11:39:835 EDT] 00000026 SystemErr R at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:112)
[4/20/11 15:11:39:835 EDT] 00000026 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454)
[4/20/11 15:11:39:835 EDT] 00000026 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:383)
[4/20/11 15:11:39:835 EDT] 00000026 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
[4/20/11 15:11:39:835 EDT] 00000026 SystemErr R at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
[4/20/11 15:11:39:835 EDT] 00000026 SystemErr R at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
[4/20/11 15:11:39:835 EDT] 00000026 SystemErr R at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
[4/20/11 15:11:39:835 EDT] 00000026 SystemErr R at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
[4/20/11 15:11:39:835 EDT] 00000026 SystemErr R at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
[4/20/11 15:11:39:835 EDT] 00000026 SystemErr R at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
[4/20/11 15:11:39:835 EDT] 00000026 SystemErr R at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
[4/20/11 15:11:39:835 EDT] 00000026 SystemErr R at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)
[4/20/11 15:11:40:569 EDT] 00000026 ServiceLogger I com.ibm.ws.ffdc.IncidentStreamImpl open FFDC0009I: FFDC opened incident stream file C:\aDNA-Workspaces\Profiles\NonValhalla_Apps\logs\ffdc\server1_5d445d44_11.04.20_15.11.40_0.txt
[4/20/11 15:11:40:585 EDT] 00000026 ServiceLogger I com.ibm.ws.ffdc.IncidentStreamImpl resetIncidentStream FFDC0010I: FFDC closed incident stream file C:\aDNA-Workspaces\Profiles\NonValhalla_Apps\logs\ffdc\server1_5d445d44_11.04.20_15.11.40_0.txt
[4/20/11 15:11:40:600 EDT] 00000026 ServiceLogger I com.ibm.ws.ffdc.IncidentStreamImpl open FFDC0009I: FFDC opened incident stream file C:\aDNA-Workspaces\Profiles\NonValhalla_Apps\logs\ffdc\server1_5d445d44_11.04.20_15.11.40_1.txt
[4/20/11 15:11:40:600 EDT] 00000026 ServiceLogger I com.ibm.ws.ffdc.IncidentStreamImpl resetIncidentStream FFDC0010I: FFDC closed incident stream file C:\aDNA-Workspaces\Profiles\NonValhalla_Apps\logs\ffdc\server1_5d445d44_11.04.20_15.11.40_1.txt
[4/20/11 15:11:40:632 EDT] 00000026 ServiceLogger I com.ibm.ws.ffdc.IncidentStreamImpl open FFDC0009I: FFDC opened incident stream file C:\aDNA-Workspaces\Profiles\NonValhalla_Apps\logs\ffdc\server1_5d445d44_11.04.20_15.11.40_2.txt
[4/20/11 15:11:40:647 EDT] 00000026 ServiceLogger I com.ibm.ws.ffdc.IncidentStreamImpl resetIncidentStream FFDC0010I: FFDC closed incident stream file C:\aDNA-Workspaces\Profiles\NonValhalla_Apps\logs\ffdc\server1_5d445d44_11.04.20_15.11.40_2.txt
[4/20/11 15:11:40:538 EDT] 00000026 SystemErr R java.lang.Exception: Error Deleting Data in the Destination Table:
[4/20/11 15:11:40:538 EDT] 00000026 SystemErr R at com.starwood.adna.dao.AccountSearchLoaderDAO.truncateInsertTable(AccountSearchLoaderDAO.java:606)
[4/20/11 15:11:40:538 EDT] 00000026 SystemErr R at com.starwood.adna.dao.AccountSearchLoaderDAO.loadAccountSearchTable(AccountSearchLoaderDAO.java:92)
[4/20/11 15:11:40:538 EDT] 00000026 SystemErr R at com.starwood.adna.service.control.ADNAJobSchedulerAction.executeFullLoad(ADNAJobSchedulerAction.java:417)
[4/20/11 15:11:40:538 EDT] 00000026 SystemErr R at com.starwood.adna.service.control.ADNAJobSchedulerAction.executeFullLoadJob(ADNAJobSchedulerAction.java:348)
[4/20/11 15:11:40:538 EDT] 00000026 SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[4/20/11 15:11:40:538 EDT] 00000026 SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
[4/20/11 15:11:40:538 EDT] 00000026 SystemErr R at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[4/20/11 15:11:40:538 EDT] 00000026 SystemErr R at java.lang.reflect.Method.invoke(Method.java:615)
[4/20/11 15:11:40:538 EDT] 00000026 SystemErr R at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:276)
[4/20/11 15:11:40:538 EDT] 00000026 SystemErr R at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:196)
[4/20/11 15:11:40:538 EDT] 00000026 SystemErr R at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
[4/20/11 15:11:40:538 EDT] 00000026 SystemErr R at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
[4/20/11 15:11:40:538 EDT] 00000026 SystemErr R at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
[4/20/11 15:11:40:538 EDT] 00000026 SystemErr R at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
[4/20/11 15:11:40:538 EDT] 00000026 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
[4/20/11 15:11:40:538 EDT] 00000026 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
[4/20/11 15:11:40:538 EDT] 00000026 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:989)
[4/20/11 15:11:40:538 EDT] 00000026 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:501)
[4/20/11 15:11:40:538 EDT] 00000026 SystemErr R at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:464)
[4/20/11 15:11:40:538 EDT] 00000026 SystemErr R at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
[4/20/11 15:11:40:538 EDT] 00000026 SystemErr R at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:744)
[4/20/11 15:11:40:538 EDT] 00000026 SystemErr R at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1439)
[4/20/11 15:11:40:538 EDT] 00000026 SystemErr R at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:112)
[4/20/11 15:11:40:538 EDT] 00000026 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454)
[4/20/11 15:11:40:538 EDT] 00000026 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:383)
[4/20/11 15:11:40:538 EDT] 00000026 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
[4/20/11 15:11:40:538 EDT] 00000026 SystemErr R at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
[4/20/11 15:11:40:538 EDT] 00000026 SystemErr R at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
[4/20/11 15:11:40:538 EDT] 00000026 SystemErr R at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
[4/20/11 15:11:40:538 EDT] 00000026 SystemErr R at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
[4/20/11 15:11:40:538 EDT] 00000026 SystemErr R at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
[4/20/11 15:11:40:538 EDT] 00000026 SystemErr R at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
[4/20/11 15:11:40:538 EDT] 00000026 SystemErr R at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
[4/20/11 15:11:40:538 EDT] 00000026 SystemErr R at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)
[4/20/11 15:11:40:538 EDT] 00000026 SystemErr R Caused by: com.ibm.websphere.ce.cm.StaleConnectionException: Protocol violation
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:67)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:521)
at com.ibm.websphere.rsadapter.GenericDataStoreHelper.mapExceptionHelper(GenericDataStoreHelper.java:523)
at com.ibm.websphere.rsadapter.GenericDataStoreHelper.mapException(GenericDataStoreHelper.java:578)
at com.ibm.ws.rsadapter.jdbc.WSJdbcUtil.mapException(WSJdbcUtil.java:903)
at com.ibm.ws.rsadapter.jdbc.WSJdbcPreparedStatement.executeUpdate(WSJdbcPreparedStatement.java:626)
at com.starwood.adna.dao.AccountSearchLoaderDAO.truncateInsertTable(AccountSearchLoaderDAO.java:601)
at com.starwood.adna.dao.AccountSearchLoaderDAO.loadAccountSearchTable(AccountSearchLoaderDAO.java:92)
at com.starwood.adna.service.control.ADNAJobSchedulerAction.executeFullLoad(ADNAJobSchedulerAction.java:417)
at com.starwood.adna.service.control.ADNAJobSchedulerAction.executeFullLoadJob(ADNAJobSchedulerAction.java:348)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:276)
at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:196)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:989)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:501)
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:464)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:744)
at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1439)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:112)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:383)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)
---- Begin backtrace for Nested Throwables
java.sql.SQLException: Protocol violation
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:162)
at oracle.jdbc.driver.DatabaseError.check_error(DatabaseError.java:885)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:640)
at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:180)
at oracle.jdbc.driver.T4CCallableStatement.execute_for_rows(T4CCallableStatement.java:783)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1028)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2888)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:2960)
at oracle.jdbc.driver.OracleCallableStatement.executeUpdate(OracleCallableStatement.java:4124)
at com.ibm.ws.rsadapter.jdbc.WSJdbcPreparedStatement.pmiExecuteUpdate(WSJdbcPreparedStatement.java:948)
at com.ibm.ws.rsadapter.jdbc.WSJdbcPreparedStatement.executeUpdate(WSJdbcPreparedStatement.java:615)
at com.starwood.adna.dao.AccountSearchLoaderDAO.truncateInsertTable(AccountSearchLoaderDAO.java:601)
at com.starwood.adna.dao.AccountSearchLoaderDAO.loadAccountSearchTable(AccountSearchLoaderDAO.java:92)
at com.starwood.adna.service.control.ADNAJobSchedulerAction.executeFullLoad(ADNAJobSchedulerAction.java:417)
at com.starwood.adna.service.control.ADNAJobSchedulerAction.executeFullLoadJob(ADNAJobSchedulerAction.java:348)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:276)
at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:196)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:989)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:501)
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:464)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:744)
at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1439)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:112)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:383)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)
[4/20/11 15:11:40:538 EDT] 00000026 SystemErr R at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[4/20/11 15:11:40:538 EDT] 00000026 SystemErr R at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:67)
[4/20/11 15:11:40:538 EDT] 00000026 SystemErr R at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
[4/20/11 15:11:40:538 EDT] 00000026 SystemErr R at java.lang.reflect.Constructor.newInstance(Constructor.java:521)
[4/20/11 15:11:40:538 EDT] 00000026 SystemErr R at com.ibm.websphere.rsadapter.GenericDataStoreHelper.mapExceptionHelper(GenericDataStoreHelper.java:523)
[4/20/11 15:11:40:538 EDT] 00000026 SystemErr R at com.ibm.websphere.rsadapter.GenericDataStoreHelper.mapException(GenericDataStoreHelper.java:578)
[4/20/11 15:11:40:538 EDT] 00000026 SystemErr R at com.ibm.ws.rsadapter.jdbc.WSJdbcUtil.mapException(WSJdbcUtil.java:903)
[4/20/11 15:11:40:538 EDT] 00000026 SystemErr R at com.ibm.ws.rsadapter.jdbc.WSJdbcPreparedStatement.executeUpdate(WSJdbcPreparedStatement.java:626)
[4/20/11 15:11:40:538 EDT] 00000026 SystemErr R at com.starwood.adna.dao.AccountSearchLoaderDAO.truncateInsertTable(AccountSearchLoaderDAO.java:601)
[4/20/11 15:11:40:538 EDT] 00000026 SystemErr R ... 33 more
Thanks
Basavaraj G.M -
How to resolve error: protocol violation (error code:17401)
I am using jdbc to access the database oracle 8.1.7 on windows, and when I access two lines of a table, no errors occured.But when I access all lines of the table, an error occured:
java.sql.SQLException: N%74P-Ri
what is the problem ?
My program is really very simple,as follows:
import java.lang.*;
import java.io.*;
import java.sql.*;
import java.net.URL;
import oracle.jdbc.driver.*;
public class mytest {
public static void main (String args[]) {
String str4="",str5="",str7="",str8="",str10="",str11="",str13="";
String str14="",str16="",str17="",str24="";
try {
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
Connection conn=DriverManager.getConnection("jdbc:oracle:thin:@172.20.1.41:1521:szxx","dev2002","dev2002");
Statement stmt=conn.createStatement();
String sql="select GSJB0004,GSJB0005,GSJB0007,GSJB0008,GSJB0010,GSJB0011,GSJB0013,GSJB0014,GSJB0016,GSJB0017,GSJB0024 from FRM_GSJBGK where GSJB0008='shanghai'";
ResultSet rs=stmt.executeQuery(sql);
int i=1;
while (rs.next()) {
str4=rs.getString("GSJB0004");
str5=rs.getString("GSJB0005");
str7=rs.getString("GSJB0007");
str8=rs.getString("GSJB0008");
str10=rs.getString("GSJB0010");
str11=rs.getString("GSJB0011");
str13=rs.getString("GSJB0013");
str14=rs.getString("GSJB0014");
str16=rs.getString("GSJB0016");
str17=rs.getString("GSJB0017");
str24=rs.getString("GSJB0024");
System.out.println("*******");
System.out.println(i);
System.out.println(str4+"|"+str5+"|"+str7+"|"+str8+"|"+str10+"|"+str11+"|"+str13+"|"+str14+"|"+str16+"|"+str17+"|"+str24);
i++;
catch (SQLException e) {
System.err.println(e.getErrorCode());
e.printStackTrace();
catch (Exception e) {
System.err.println("mytest():"+e.getMessage());
all the fields such as GSJB0004 is varchar2, the largest is about 90.
any suggestions is welcome!
Thank you!
my e-mail is :[email protected]I am not sure what's the problem. But I would do the following
try to connect to database using sql*plus, run this sql statement there, see if it works.
try to find out which call failed exactly.
Try to get a new version of jdbc driver, for example, classes12.zip from oracle site. Make sure it is in your classes path.
Regards,
jim -
Protocol violation error in jdbc connection
Hi all
I am facing a problem with jdbc connection to oracle DB.
My code works sometimes, and sometimes it throws one (or more) of the following SQLExceptions:
protocol violation
Bigger type length than Maximum.
The same code works in munerous locations with numerous DBs.
Th DB version is 10.2.0.4
and I downloaded the latest ojdbc14.jar driver
I would appreciate any assistance
Thanks
RonHi
Thanks for replying
I looked at the error code and the object types, but it fails when calling next in the result set.
And I did not set the object types at that point
The object type is set only after running get functions (For example resultSet.getInt())
Also, the same code works in many other locations and even in that environment it succeeds sometimes.
Also, sometimes it fails only with the Protocol violation error and sometimes with both errors.
Any ideas? -
Protocol violation error on Oracle...
Hi,
I know many people have posted this kind of problem..but I am still pretty confused as to what's going on.
Basically, the situation is this: I have a bean file which accesses oracle database and it does an update on a certain table with a long field, i don't know if that causes the problem. It only occurs after some queries that succeed. I also do this with a prepared statement and it involoves a huge amount of data. The select statements on the same data always succeeds.
I get a 'oracle protocol violation error', seems random;
The version of Oracle jdbcdriver (classes12.zip)is 8.1.7:
Oracle Server : 8.1.7One of the developers came up with the analysis
that the protcol violation occurs when you try to
close a PreparedStatement/Cursor that is already closed .
The "protocol violation' is message that is thrown
when Oracle cant throw a more specific message.
Can somebody confirm this? Do i need to close a prepared statement anyway? -
Protocol violation error???
Hi Everyone,
I am using Jdev 11.1.1.5.0.
I have developed one ADF application with 3 pages which is working fine in J developer.
Later i deployed this application into clients web logic server and got one link to open this application.
BUt when i open the application first page is coming correctly which is search page with 3 LOVs and when i click on Submit button it will navigate to second page where we show results in different tables
but here i am getting the below error in popup window:
Error:
Messages for this page are listed below.
Error
Protocol violation: [6, 7, 3]
Error
Protocol violation: [194]
Error
Protocol violation: [2]
Error
Protocol violation: [44]
Sometimes it works fine but sometimes it gives this error if more than one user access the link of ADF application.
What is this error about???
any clues or suggestions???
Thanks...Hi,
See
PROTOCOL VIOLATION JAVA ERROR ORACLE 11g -
Protocol Violation No. ORA-17401
Hi,
Dear friends,I implemented servlets with JSDK2.0. These servlets work in Apache WebServer1.3 and Apache JServ1.1.1. Oracle8i is used to manage system data base. When the servlets retrieve data from Oracle8i, the error message "java.sql.SQLException:Protocol Violation" takes place randomly. In this case, Oracle8i cannot be accessed. How to work out the problem?Do you meet this problem?This problem usually occurs when a large amount of data is transfered.
Another reason for thie problem to occur is
if you have used setDefaultRowPrefetch
for the connection.
Please use the latest jdbc driver (8.1.6),
where most of these problems are solved. -
Error: "The server committed a protocol violation" when publishing a workflow.
I'm able to create and save a workflow in SP 2013. However, when I try to publish I get the following:
"System.Net.WebException: The server committed a protocol violation. Section=ResponseHeader Detail=CR must be followed by LF"
I created a new list workflow with 1 stage and 1 action. Same result.
I have checked my server logs and SharePoint Logs. I'm not sure what is going on.
Anyone else have this problem?try these links:
http://stackoverflow.com/questions/4279070/webexception-the-server-committed-a-protocol-violation-section-responsestatusl
http://stackoverflow.com/questions/2482715/the-server-committed-a-protocol-violation-section-responsestatusline-error
http://stackoverflow.com/questions/16759349/the-server-committed-a-protocol-violation-section-responseheader-detail-cr-must
http://forums.asp.net/t/2014277.aspx?System+Net+WebException+The+underlying+connection+was+closed+The+server+committed+a+protocol+violation+
https://social.msdn.microsoft.com/Forums/en-US/4ef2d6db-11cd-4bbd-a5ce-a8750bf0c176/the-server-committed-a-protocol-violation-sectionresponsestatusline-at?forum=sharepointgeneralprevious
http://forums.asp.net/t/1155887.aspx?The+server+committed+a+protocol+violation+Section+ResponseStatusLine+
http://www.postseek.com/meta/fb8838f5df8d7019b6b2b4871096e2bf
Please mark answer as correct if it is correct else vote for it if you find it useful Happy SharePointing -
Document protocol identification error
Hi While receving Shipment from our trading partner, it showing below error in b2b, Please help me in resolving this? We are suing Custom document over internet.
Machine Info: (essaps000-u008.emrsn.com)
Description: Unable to identify the document protocol of the message
StackTrace:
Error -: AIP-50083: Document protocol identification error
at oracle.tip.adapter.b2b.engine.Engine.identifyDocument(Engine.java:3245)
at oracle.tip.adapter.b2b.engine.Engine.processIncomingMessage(Engine.java:1666)
at oracle.tip.adapter.b2b.engine.Engine.incomingContinueProcess(Engine.java:2574)
at oracle.tip.adapter.b2b.engine.Engine.handleMessageEvent(Engine.java:2444)
at oracle.tip.adapter.b2b.engine.Engine.processEvents(Engine.java:2399)
at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:527)
at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:374)
at java.lang.Thread.run(Thread.java:534)
2009.09.15 at 10:31:07:504: Thread-30: B2B - (DEBUG) MimePackaging:unpack:Exit
2009.09.15 at 10:31:07:504: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processIncomingMessage Decode the Incoming Message into B2B Message
2009.09.15 at 10:31:07:504: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.as2.AS2ExchangePlugin:AS2ExchangePlugin:decodeIncomingMessage Enter
2009.09.15 at 10:31:07:504: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.as2.AS2ExchangePlugin:AS2ExchangePlugin:decodeIncomingMessage Number of Components = 1
2009.09.15 at 10:31:07:504: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.as2.AS2ExchangePlugin:AS2ExchangePlugin:decodeIncomingMessage compInfoList[k].getValue().toLowerCase()==>text/plain
2009.09.15 at 10:31:07:504: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.as2.AS2ExchangePlugin:AS2ExchangePlugin:decodeIncomingMessage Components List= [Loracle.tip.adapter.b2b.packaging.ComponentInfo;@4fa23a
2009.09.15 at 10:31:07:505: Thread-30: B2B - (DEBUG) calling setFromPartyId() changing from null to TPName: null Type: AS2 Identifier Value: BENCHQA
2009.09.15 at 10:31:07:505: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.as2.AS2ExchangePlugin:AS2ExchangePlugin:decodeIncomingMessage File Name=>null
2009.09.15 at 10:31:07:505: Thread-30: B2B - (DEBUG) calling setToPartyId() changing from null to TPName: null Type: AS2 Identifier Value: EMRSNS
2009.09.15 at 10:31:07:505: Thread-30: B2B - (DEBUG) calling setInitiatingPartyId() changing from null to TPName: null Type: AS2 Identifier Value: BENCHQA
2009.09.15 at 10:31:07:505: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.as2.AS2ExchangePlugin:AS2ExchangePlugin:decodeIncomingMessage:Payload <?xml version="1.0" encoding="utf-8"?><ShowShipment releaseID="9.0" systemEnvironmentCode="Production" languageCode="en-US" xmlns:ns6="http://www.openapplications.org/oagis/9/IANAMIMEMediaTypes:2003" xmlns:ns0="http://www.openapplications.org/oagis/9/unqualifieddatatypes/1.1" xmlns:ns1="http://www.openapplications.org/oagis/9/qualifieddatatypes/1.1" xmlns:ns5="http://www.openapplications.org/oagis/9/currencycode/54217:2001" xmlns:ns3="http://www.openapplications.org/oagis/9/languagecode/5639:1988" xmlns:ns2="http://www.openapplications.org/oagis/9/codelists" xmlns:ns4="http://www.openapplications.org/oagis/9/unitcode/66411:2001" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ApplicationArea>
<Sender>
<LogicalID>SCN024538</LogicalID>
<ComponentID>SHIPMENT</ComponentID>
<TaskID>SHOW</TaskID>
<ReferenceID>TSI20090914000000000000000000000002</ReferenceID>
<ConfirmationCode>Never</ConfirmationCode>
<AuthorizationID>160</AuthorizationID>
</Sender>
<CreationDateTime>2009-09-15T11:11:21</CreationDateTime>
</ApplicationArea>
<DataArea>
<Show>
<OriginalApplicationArea>
<Sender>
<LogicalID>EMR1601000</LogicalID>
</Sender>
<CreationDateTime>2009-09-15T11:11:21</CreationDateTime>
</OriginalApplicationArea>
</Show>
<Shipment>
<ShipmentHeader>
<DocumentID xsi:type="ItemIDType">
<ID>TSI543897</ID>
</DocumentID>
<DocumentDateTime>20090914</DocumentDateTime>
<DocumentReference type="WayBillAirBill">
<DocumentID>TTSA021720000001</DocumentID>
</DocumentReference>
<DocumentReference type="BillOfLading">
<DocumentID>BTSA02172000002</DocumentID>
</DocumentReference>
<DocumentReference type="PackingSlip">
<DocumentID>TSI543897</DocumentID>
</DocumentReference>
<Attachment inline="false">
</Attachment>
<ActualShipDateTime>20090914</ActualShipDateTime>
<ScheduledDeliveryDateTime>20091012</ScheduledDeliveryDateTime>
<ShipFromParty>
<PartyIDs>
<ID>501V00041757</ID>
</PartyIDs>
<Name>BENCHMARK ELECTRONICS THAILAND</Name>
<Location>
<ID>160234567</ID>
</Location>
</ShipFromParty>
</ShipmentHeader>
<ShipmentItem>
<ItemID>
<ID>166806G1</ID>
<RevisionID>
</RevisionID>
</ItemID>
<SupplierItemID>
<ID> EML166806G1</ID>
</SupplierItemID>
<Description>ASSY GROUND CURRENT DETECTOR</Description>
<ShippedQuantity unitCode="EA">20</ShippedQuantity>
<PurchaseOrderReference>
<DocumentID xsi:type="DocumentIDType">
<ID>501LBR295816</ID>
</DocumentID>
<ReleaseNumber>
</ReleaseNumber>
<LineNumber>001</LineNumber>
<ScheduleLineNumber>1 </ScheduleLineNumber>
</PurchaseOrderReference>
</ShipmentItem>
</Shipment>
</DataArea>
</ShowShipment>
2009.09.15 at 10:31:07:506: Thread-30: B2B - (DEBUG) calling setMode() changing from -1 to 2
2009.09.15 at 10:31:07:511: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.as2.AS2ExchangePlugin:AS2ExchangePlugin:decodeIncomingMessage Exit
2009.09.15 at 10:31:07:512: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processHubMessage Enter
2009.09.15 at 10:31:07:512: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processHubMessage toTP EMRSNS
2009.09.15 at 10:31:07:512: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processHubMessage hubUrl null
2009.09.15 at 10:31:07:512: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processHubMessage Exit
2009.09.15 at 10:31:07:512: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processIncomingMessage ProtocolCollabId = null
2009.09.15 at 10:31:07:512: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processIncomingMessage CollaborationName null
2009.09.15 at 10:31:07:513: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:checkDuplicate Enter
2009.09.15 at 10:31:07:513: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:checkDuplicate check non-RosettaNet Message
2009.09.15 at 10:31:07:515: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:checkDuplicate Exit
2009.09.15 at 10:31:07:515: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processIncomingMessage Protocol Collaboration Id : null
2009.09.15 at 10:31:07:515: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:identifyIncomingDocument Enter
2009.09.15 at 10:31:07:519: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:ISelectorImpl Enter
2009.09.15 at 10:31:07:519: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:ISelectorImpl validateEnvelope = false
2009.09.15 at 10:31:07:519: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:ISelectorImpl Leave
2009.09.15 at 10:31:07:520: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:cloneSelector Enter
2009.09.15 at 10:31:07:520: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:cloneSelector Return = oracle.tip.adapter.b2b.document.edi.ISelectorImpl@23ce9f
2009.09.15 at 10:31:07:597: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:identifyIncomingDocument errcode = Execute failed - CECToolsException thrown - HRESULT[650007], description[The data in the file could not be parsed. Please check the file to verify that it is valid and formatted correctly. This error can occur for one of the following reasons: A) The data file may be a Word document or have some other binary format. B) The envelope data may not be formatted properly. If this is an X12 data file, please verify that the ISA segment is the correct size (exactly 106 characters). If this is an EDIFACT data file, it must have either a UNA or begin with UNB. For other standards, verify that the envelope segments conform to the specified rules. C) The segment/record delimiters in the file are incorrect.]
2009.09.15 at 10:31:07:598: Thread-30: B2B - (ERROR) com.edifecs.shared.jni.JNIException: Execute failed - CECToolsException thrown - HRESULT[650007], description[The data in the file could not be parsed. Please check the file to verify that it is valid and formatted correctly. This error can occur for one of the following reasons: A) The data file may be a Word document or have some other binary format. B) The envelope data may not be formatted properly. If this is an X12 data file, please verify that the ISA segment is the correct size (exactly 106 characters). If this is an EDIFACT data file, it must have either a UNA or begin with UNB. For other standards, verify that the envelope segments conform to the specified rules. C) The segment/record delimiters in the file are incorrect.]
at com.edifecs.shared.jni.xdata.INativeToXData.ExecuteNative(Native Method)
at com.edifecs.shared.jni.xdata.INativeToXData.Execute(Unknown Source)
at oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin.identifyIncomingDocument(EDIDocumentPlugin.java:370)
at oracle.tip.adapter.b2b.engine.Engine.identifyDocument(Engine.java:3226)
at oracle.tip.adapter.b2b.engine.Engine.processIncomingMessage(Engine.java:1666)
at oracle.tip.adapter.b2b.engine.Engine.incomingContinueProcess(Engine.java:2574)
at oracle.tip.adapter.b2b.engine.Engine.handleMessageEvent(Engine.java:2444)
at oracle.tip.adapter.b2b.engine.Engine.processEvents(Engine.java:2399)
at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:527)
at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:374)
at java.lang.Thread.run(Thread.java:534)
2009.09.15 at 10:31:07:598: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.document.custom.CustomDocumentPlugin:identifyIncomingDocument Enter
2009.09.15 at 10:31:07:657: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.document.custom.CustomDocumentPlugin:identifyIncomingDocument non-XML Payload
2009.09.15 at 10:31:07:658: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.document.custom.CustomDocumentPlugin:identifyIncomingDocument iDoc ECS = null
2009.09.15 at 10:31:07:658: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.document.custom.CustomDocumentPlugin:identifyIncomingDocument continuing
2009.09.15 at 10:31:07:658: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.document.custom.CustomDocumentPlugin:identifyIncomingDocument non-XML Payload
2009.09.15 at 10:31:07:658: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.document.custom.CustomDocumentPlugin:identifyIncomingDocument iDoc ECS = null
2009.09.15 at 10:31:07:658: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.document.custom.CustomDocumentPlugin:identifyIncomingDocument could not get start pos
2009.09.15 at 10:31:07:658: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.document.custom.CustomDocumentPlugin:identifyIncomingDocument could not get end pos
2009.09.15 at 10:31:07:659: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.document.custom.CustomDocumentPlugin:identifyIncomingDocument non-XML Payload
2009.09.15 at 10:31:07:659: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.document.custom.CustomDocumentPlugin:identifyIncomingDocument iDoc ECS = null
2009.09.15 at 10:31:07:659: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.document.custom.CustomDocumentPlugin:identifyIncomingDocument continuing
2009.09.15 at 10:31:07:659: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.document.custom.CustomDocumentPlugin:identifyIncomingDocument non-XML Payload
2009.09.15 at 10:31:07:659: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.document.custom.CustomDocumentPlugin:identifyIncomingDocument iDoc ECS = null
2009.09.15 at 10:31:07:659: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.document.custom.CustomDocumentPlugin:identifyIncomingDocument could not get start pos
2009.09.15 at 10:31:07:660: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.document.custom.CustomDocumentPlugin:identifyIncomingDocument could not get end pos
2009.09.15 at 10:31:07:660: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.document.custom.CustomDocumentPlugin:identifyIncomingDocument non-XML Payload
2009.09.15 at 10:31:07:660: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.document.custom.CustomDocumentPlugin:identifyIncomingDocument iDoc ECS = null
2009.09.15 at 10:31:07:660: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.document.custom.CustomDocumentPlugin:identifyIncomingDocument could not get start pos
2009.09.15 at 10:31:07:660: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.document.custom.CustomDocumentPlugin:identifyIncomingDocument could not get end pos
2009.09.15 at 10:31:07:661: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.document.custom.CustomDocumentPlugin:identifyIncomingDocument Exit
2009.09.15 at 10:31:07:662: Thread-30: B2B - (ERROR) Error -: AIP-50083: Document protocol identification error
at oracle.tip.adapter.b2b.engine.Engine.identifyDocument(Engine.java:3245)
at oracle.tip.adapter.b2b.engine.Engine.processIncomingMessage(Engine.java:1666)
at oracle.tip.adapter.b2b.engine.Engine.incomingContinueProcess(Engine.java:2574)
at oracle.tip.adapter.b2b.engine.Engine.handleMessageEvent(Engine.java:2444)
at oracle.tip.adapter.b2b.engine.Engine.processEvents(Engine.java:2399)
at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:527)
at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:374)
at java.lang.Thread.run(Thread.java:534)
2009.09.15 at 10:31:07:662: Thread-30: B2B - (ERROR) Error -: AIP-50083: Document protocol identification error
at oracle.tip.adapter.b2b.engine.Engine.identifyDocument(Engine.java:3245)
at oracle.tip.adapter.b2b.engine.Engine.processIncomingMessage(Engine.java:1666)
at oracle.tip.adapter.b2b.engine.Engine.incomingContinueProcess(Engine.java:2574)
at oracle.tip.adapter.b2b.engine.Engine.handleMessageEvent(Engine.java:2444)
at oracle.tip.adapter.b2b.engine.Engine.processEvents(Engine.java:2399)
at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:527)
at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:374)
at java.lang.Thread.run(Thread.java:534)
2009.09.15 at 10:31:07:662: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleExceptionBeforeIncomingTPA Enter
2009.09.15 at 10:31:07:662: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: handleInboundException Enter
2009.09.15 at 10:31:07:663: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: handleInboundException Error message is Error -: AIP-50083: Document protocol identification error
2009.09.15 at 10:31:07:663: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: isFARequired Enter
2009.09.15 at 10:31:07:665: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: isFARequired {CONTENT-TRANSFER-ENCODING=binary, CONNECTION=Keep-Alive, AS2-FROM=BENCHQA, CONTENT-TYPE=application/pkcs7-mime; smime-type=enveloped-data; name="smime.p7m", MIME-VERSION=1.0, RECEIPT-DELIVERY-OPTION=http://b2b-qa.bench.com/BenchmarkAS2Receive_QA/BTSHTTPReceive.dll, AS2-VERSION=1.1, EXPECT=100-continue, USER-AGENT=Microsoft(R) BizTalk(R) Server 2006 R2 3.0.1.0, AS2-TO=EMRSNS, CONTENT-LENGTH=5137, ORACLE-ECID=1253032264:10.236.2.145:16396:0:3376,0, MESSAGE-ID=<ANG-QA-BT01_09D55C86-117A-4E5A-90C1-03C8B96EDB2E>, HOST=emersonb2b-s.emrsn.com, B2B_SERVLET_URI_PATTERN=/b2b/transportServlet, DISPOSITION-NOTIFICATION-TO=http://b2b-qa.bench.com/BenchmarkAS2Receive_QA/BTSHTTPReceive.dll}
2009.09.15 at 10:31:07:665: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: isFARequired returning false
2009.09.15 at 10:31:07:665: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: handleInboundException FA not required
2009.09.15 at 10:31:07:666: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleInboundException Updating Error Message: Error -: AIP-50083: Document protocol identification error
2009.09.15 at 10:31:07:666: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Enter
2009.09.15 at 10:31:07:666: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Wire message found
2009.09.15 at 10:31:07:666: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Creating new b2berror object
2009.09.15 at 10:31:07:667: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState enum0 not null
2009.09.15 at 10:31:07:667: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Updating wire message error information
2009.09.15 at 10:31:07:671: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Updating wire message protocol message id
2009.09.15 at 10:31:07:684: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Updating wire message payload storage
2009.09.15 at 10:31:07:694: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Creating new business message
2009.09.15 at 10:31:07:694: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertMsgTblRow Enter
2009.09.15 at 10:31:07:734: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertMsgTblRow toparty name null
2009.09.15 at 10:31:07:734: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertMsgTblRow toparty type and value AS2 IdentifierEMRSNS
2009.09.15 at 10:31:07:769: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertMsgTblRow BusinessAction for the given name null null
2009.09.15 at 10:31:07:815: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Updating business message error information
2009.09.15 at 10:31:07:827: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Exit
2009.09.15 at 10:31:07:828: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleInboundException Updating Native Event Tbl Row
2009.09.15 at 10:31:07:828: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:updateNativeEvtTblRow Enter
2009.09.15 at 10:31:07:830: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateNativeEvtTblRow msgInfo.id = <ANG-QA-BT01_09D55C86-117A-4E5A-90C1-03C8B96EDB2E>
2009.09.15 at 10:31:07:830: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:
** DbAccess:updateNativeEvtTblRow:tip_wireMsg protocolCollabID = null
2009.09.15 at 10:31:07:841: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleInboundException notifying App
2009.09.15 at 10:31:07:841: Thread-30: B2B - (DEBUG) Engine:notifyApp Enter
2009.09.15 at 10:31:07:848: Thread-30: B2B - (DEBUG) notifyApp:notifyApp Enqueue the ip exception message:
<Exception xmlns="http://integration.oracle.com/B2B/Exception" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<correlationId>null</correlationId>
<b2bMessageId>0AEC0291123BE8B0DB800000B91B0200</b2bMessageId>
<errorCode>AIP-50083</errorCode>
<errorText>Document protocol identification error</errorText>
<errorDescription>
<![CDATA[Machine Info: (essaps000-u008.emrsn.com)
Description: Unable to identify the document protocol of the message
StackTrace:
Error -: AIP-50083: Document protocol identification error
at oracle.tip.adapter.b2b.engine.Engine.identifyDocument(Engine.java:3245)
at oracle.tip.adapter.b2b.engine.Engine.processIncomingMessage(Engine.java:1666)
at oracle.tip.adapter.b2b.engine.Engine.incomingContinueProcess(Engine.java:2574)
at oracle.tip.adapter.b2b.engine.Engine.handleMessageEvent(Engine.java:2444)
at oracle.tip.adapter.b2b.engine.Engine.processEvents(Engine.java:2399)
at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:527)
at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:374)
at java.lang.Thread.run(Thread.java:534)
]]>
</errorDescription>
<errorSeverity>2</errorSeverity>
</Exception>
2009.09.15 at 10:31:07:859: Thread-30: B2B - (DEBUG) Engine:notifyApp Exit
2009.09.15 at 10:31:07:859: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleInboundException Updated the Error Message Successfully: Error -: AIP-50083: Document protocol identification error
2009.09.15 at 10:31:07:859: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: handleInboundException Exit
2009.09.15 at 10:31:07:860: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleExceptionBeforeIncomingTPA Exit
2009.09.15 at 10:31:07:860: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:incomingContinueProcess Exit
2009.09.15 at 10:31:07:860: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleMessageEvent Exit
2009.09.15 at 10:31:07:860: Thread-30: B2B - (INFORMATION) oracle.tip.adapter.b2b.engine.Engine:processEvents Exit
2009.09.15 at 10:31:07:861: Thread-30: B2B - (DEBUG) DBContext commit: Enter
2009.09.15 at 10:31:07:865: Thread-30: B2B - (DEBUG) DBContext commit: Transaction.commit()
2009.09.15 at 10:31:07:865: Thread-30: B2B - (DEBUG) DBContext commit: Leave
2009.09.15 at 10:31:07:865: Thread-30: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:onMessage Exit
Edited by: user8653471 on Sep 15, 2009 10:55 PMHi Anuj,
Please set oracle.tip.adapter.b2b.edi.enablePreprocess = true in the ip/config/tip.properties file and restart the server.
Do above statement is related to EDI? I am using Custom document over internet
I did not find any unreadable/non-xml characters in the xml file, here i am attaching the xml fille.
<?xml version="1.0" encoding="utf-8"?><ShowShipment releaseID="9.0" systemEnvironmentCode="Production" languageCode="en-US" xmlns:ns6="http://www.openapplications.org/oagis/9/IANAMIMEMediaTypes:2003" xmlns:ns0="http://www.openapplications.org/oagis/9/unqualifieddatatypes/1.1" xmlns:ns1="http://www.openapplications.org/oagis/9/qualifieddatatypes/1.1" xmlns:ns5="http://www.openapplications.org/oagis/9/currencycode/54217:2001" xmlns:ns3="http://www.openapplications.org/oagis/9/languagecode/5639:1988" xmlns:ns2="http://www.openapplications.org/oagis/9/codelists" xmlns:ns4="http://www.openapplications.org/oagis/9/unitcode/66411:2001" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ApplicationArea>
<Sender>
<LogicalID>SCN024538</LogicalID>
<ComponentID>SHIPMENT</ComponentID>
<TaskID>SHOW</TaskID>
<ReferenceID>TSI20090914000000000000000000000002</ReferenceID>
<ConfirmationCode>Never</ConfirmationCode>
<AuthorizationID>160</AuthorizationID>
</Sender>
<CreationDateTime>2009-09-15T11:11:21</CreationDateTime>
</ApplicationArea>
<DataArea>
<Show>
<OriginalApplicationArea>
<Sender>
<LogicalID>EMR1601000</LogicalID>
</Sender>
<CreationDateTime>2009-09-15T11:11:21</CreationDateTime>
</OriginalApplicationArea>
</Show>
<Shipment>
<ShipmentHeader>
<DocumentID xsi:type="ItemIDType">
<ID>TSI543897</ID>
</DocumentID>
<DocumentDateTime>20090914</DocumentDateTime>
<DocumentReference type="WayBillAirBill">
<DocumentID>TTSA021720000001</DocumentID>
</DocumentReference>
<DocumentReference type="BillOfLading">
<DocumentID>BTSA02172000002</DocumentID>
</DocumentReference>
<DocumentReference type="PackingSlip">
<DocumentID>TSI543897</DocumentID>
</DocumentReference>
<Attachment inline="false">
</Attachment>
<ActualShipDateTime>20090914</ActualShipDateTime>
<ScheduledDeliveryDateTime>20091012</ScheduledDeliveryDateTime>
<ShipFromParty>
<PartyIDs>
<ID>501V00041757</ID>
</PartyIDs>
<Name>BENCHMARK ELECTRONICS THAILAND</Name>
<Location>
<ID>160234567</ID>
</Location>
</ShipFromParty>
</ShipmentHeader>
<ShipmentItem>
<ItemID>
<ID>166806G1</ID>
<RevisionID>
</RevisionID>
</ItemID>
<SupplierItemID>
<ID> EML166806G1</ID>
</SupplierItemID>
<Description>ASSY GROUND CURRENT DETECTOR</Description>
<ShippedQuantity unitCode="EA">20</ShippedQuantity>
<PurchaseOrderReference>
<DocumentID xsi:type="DocumentIDType">
<ID>501LBR295816</ID>
</DocumentID>
<ReleaseNumber>
</ReleaseNumber>
<LineNumber>001</LineNumber>
<ScheduleLineNumber>1 </ScheduleLineNumber>
</PurchaseOrderReference>
</ShipmentItem>
</Shipment>
</DataArea>
</ShowShipment> -
R12 Vision Install Fails, TNS-12560: TNS:protocol adapter error
Below please find the NetServiceHandler.log from the install and an excerpt from ApplyDBTechStack...log
OS: Windows Server 2003 SP2 x86
I have installed the loopback adapter, modified the hosts file, and entered the DNS info. Not sure what else I can do.
-----------begin NetServiceHandler.log-------------------------
Classpath : ;D:\oracle\VIS\db\tech_st\11.1.0\jdbc\lib\ojdbc6.jar;D:\oracle\VIS\db\tech_st\11.1.0\appsutil\java\xmlparserv2.jar;D:\oracle\VIS\db\tech_st\11.1.0\appsutil\java;D:\oracle\VIS\db\tech_st\11.1.0\jlib\netcfg.jar;D:\oracle\VIS\db\tech_st\11.1.0\jlib\ldapjclnt11.jar
===============================================================================
NetServiceHandler 120.19 started for oracleebs at Wed Jun 13 09:32:30 PDT 2012
===============================================================================
[ Context Information ]
Host : oracleebs
Domain : demo.com
Out Dir : D:\oracle\VIS\db\tech_st\11.1.0/appsutil/out/VIS_oracleebs/06130932
Tier Type : DATABASE TIER
Getting connection...
ADX Database Utility
getConnectionUsingAppsJDBCConnector() -->
APPS_JDBC_URL='null'
Trying to get connection using SID based connect descriptor
getConnection() -->
sDbHost : oracleebs
sDbDomain : demo.com
sDbPort : 1521
sDbSid : VIS
sDbUser : APPS
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@oracleebs.demo.com:1521:VIS
Exception occurred: java.sql.SQLException: The Network Adapter could not establish the connection
Trying to connect using SID as ServiceName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oracleebs.demo.com)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=VIS)))
Exception occurred: java.sql.SQLException: The Network Adapter could not establish the connection
Trying to connect using SID as ServiceName.DomainName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oracleebs.demo.com)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=VIS.demo.com)))
Exception occurred: java.sql.SQLException: The Network Adapter could not establish the connection
Connection could not be obtained; returning null
-------------------ADX Database Utility Finished---------------
Could not get connection to the database.
Exiting with status 100 to instantiate the tnsnames.ora template
Creation of Directory - D:\oracle\VIS\db\tech_st\11.1.0\NETWORK\ADMIN\VIS_oracleebs Succeeded.
instantiate file:
source : D:\oracle\VIS\db\tech_st\11.1.0\appsutil\template\ad8itns.ora
dest : D:\oracle\VIS\db\tech_st\11.1.0\network\admin\VIS_oracleebs\tnsnames.ora
AutoConfig is exiting with status 0
instantiate file:
source : D:\oracle\VIS\db\tech_st\11.1.0\appsutil\template\ad8ilsnr.ora
dest : D:\oracle\VIS\db\tech_st\11.1.0\network\admin\VIS_oracleebs\listener.ora
AutoConfig is exiting with status 0
adgentns.pl exiting with status 0
ERRORCODE = 0 ERRORCODE_END
----------------end NetServiceHandler.log------------------------
-------------------begin excerpt ApplyDBTechStack...log--------------------
SNRCTL for 32-bit Windows: Version 11.1.0.7.0 - Production on 13-JUN-2012 09:32:41
Copyright (c) 1991, 2008, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=oracleebs.demo.com)(PORT=1521)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
32-bit Windows Error: 61: Unknown error
LSNRCTL for 32-bit Windows: Version 11.1.0.7.0 - Production on 13-JUN-2012 09:32:43
Copyright (c) 1991, 2008, Oracle. All rights reserved.
Starting tnslsnr: please wait...
Failed to open service <OracleTNSListenerVIS>, error 1060.
TNSLSNR for 32-bit Windows: Version 11.1.0.7.0 - Production
Message 459 not found; No message file for product=NETWORK, facility=NL
Message 279 not found; No message file for product=NETWORK, facility=NL
Message 1073 not found; No message file for product=NETWORK, facility=TNS
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=oracleebs.demo.com)(PORT=1521)))
STATUS of the LISTENER
Alias VIS
Version TNSLSNR for 32-bit Windows: Version 11.1.0.7.0 - Production
Start Date 13-JUN-2012 09:32:46
Uptime 0 days 0 hr. 0 min. 2 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File D:\oracle\VIS\db\tech_st\11.1.0\network\admin\VIS_oracleebs\listener.ora
Listener Log File D:\oracle\VIS\db\tech_st\11.1.0/network/admin\vis.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.0.0.68)(PORT=1521)))
Services Summary...
Service "VIS" has 1 instance(s).
Instance "VIS", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
addlnctl.cmd exiting with status 0
OpenService failed
adsvdlsn.cmd exiting with status 1007
ERRORCODE = 1007 ERRORCODE_END
.end std out.
.end err out.
-------------------end excerpt ApplyDBTechStack...log-------------------------Hi;
Pelase check below notes which is mention same error message
On Windows, After 10g Upgrade, Running Autoconfig on Apps Tier Failed with : Unable To Start Apps Services TNS-12224: TNS:no listener TNS-12541 TNS-12560: TNS:protocol adapter error TNS-00511: N .. [ID 577713.1]
Windows Autoconifg on dbTier fails on adcrobj.cmd & adsvdlsn.cmd [ID 356927.1
Rapid Clone on Windows Fails When SID Is Over 8 Characters: "Rc-00118: Error Occurred During Creation Of Database, Failed to open service" [ID 405688.1]
Regard
Helios -
Error Code: AIP: 50080: Exchange protocol identification error
Hi,
I have setup a business action to process EDI X12 850 (PO) document version 4010 over EDI X12 over Internet - HTTP. To simulate the Trading Partner sending the EDI data to us I have developed a test.html page to submit the EDI data. The test.html does a http post to the b2b/transportServlet. When I do this I get the following error:
AIP: 50080 Exchange protocol identification errorMy Business Action
setup look like this:
BUSINESS ACTION:
Create Business Action : Review for 850
Business Protocol : EDI X12 over Internet
Process Protocol : B2B
Process Protocol Revision : B2B Process - 1.0
General
Name :Process_850
Revision :1.0
Document Protocol Revision
Name :X12_4010
Revision :4010
Document Type
Document Type :850
Document Definition :850_Def
Create Business Action : Review
Business Protocol :EDI X12 over Internet
Process Protocol :B2B
Process Protocol Revision :B2B Process - 1.0
General
Name :Process_997
Revision :1.0
Document Protocol Revision
Name :X12_4010
Revision :4010
Document Type
Document Type :997
Document Definition :997_Def
Create Trading Partner : Review
General
Name :ACME
Operational Capability
Business Protocol :EDI X12 over Internet
Business Action :Process_850
Use Default Document Protocol Parameters :false
Use Default Document Definition :true
Communication Capability
Delivery Channel :ACME_X12_DC
Document Exchange :ACME_X12_DocEx
Exchange Protocol Revision :AS2 - 1.1
Transport :ACME_X12_Transport
Transport Protocol :HTTP
Transport Server :ACME_X12_Transport_Server
Trading Partner :ACME
Business Protocol :EDI X12 over Internet
Details
Business Action :Process_997 - Responder
Is Initiator :false
Functional acknowledgement required? :false
Is acknowledgement handled by Integration B2B? :true
Document Information
Document Protocol :EDI_X12
Document Protocol Revision :X12_4010
Document Type :997
Document Definition
Document Protocol Parameters
Name Value
Interchange Time #SystemTime(HHMM)#
Interchange ecs File
Security Information Qualifier 00
Security Information
Authorization Information
[ Application Receiver's Code ] ACME
Interchange Control Standard/Repetition Separator U
Segment Delimiter 0x27
Interchange Date #SystemDate(YYMMDD)#
Authorization Information Qualifier 00
[ Application Sender's Code ] ACME
ImplementationClass oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin
[ Interchange Sender ID Qualifier ] ZZ
Replacement Character 0x7c
Subelement Delimiter 0x2b
Interchange Control Version Number 00200
[ Interchange Sender ID ] ACME
[ Interchange Receiver ID Qualifier ] ZZ
Tag Delimiter 0x3d
Usage Indicator P
[ Interchange Receiver ID ] ACME
Version/Release/Industry Identifier Code
Component Element Separator 0x2b
Decimal Separator 0x2e
Functional Group Time #SystemTime(HHMM)#
Responsible Agency Code X
Functional Group Date #SystemDate(CCYYMMDD)#
Group ecs File
Element Delimiter 0x7e
Create Trading Partner : Review
General
Trading Partner :GLOBALCHIPS
Communication Capability
Delivery Channel :GLOBALCHIPS_X12_DOC
Document Exchange :GLOBALCHIPS_X12_DocEx
Exchange Protocol Revision :AS2 - 1.1
Transport :GLOBALCHIPS_X12_Transport
Transport Protocol :HTTP
Transport Server :GLOBALCHIPS_X12_Transport_Server
Confirmation
Trading partner participant successfully added.
Agreement Details: X12_Agreement
Details
Agreement Id X12_1001
Description
Effective From Date
Effective To Date
Invocation Limit
Concurrent Conversations
Trading Partner Participants
ACME - Process_850 - Initiator
GLOBALCHIPS - Process_850 - Responder
GLOBALCHIPS - Process_997 - Initiator
ACME - Process_997 - Responder
If I tried to use enq_850 I am getting the following error:
AIP-50547 : Trading partner agreement not found for the given input values: From party[NAME] "GLOBALCHIPS", To party[NAME] "GLOBALCHIPS", Business action name "Process_850"; also verify agreement effectiveToDateHi Ramesh,
I have created Internal Deliver Channel as File Inbound for the Host Trading Partner and at the time of creating the agreement between the partners I have selected this channel.
And I am keeping the EDI document in the end point folder. I am giving the file name as XXX_850_4010_1_12345.dat.
Now I am not getting General validation error. This time I am getting the below error.
Please Let me know If my approch is correct?
Error Brief :
5000: Parser error - Missing trailer.
5042: Parser error - No matching parser schema was found.
Error Brief :
5000: Parser error - Missing trailer.
5042: Parser error - No matching parser schema was found.
iAudit Report :
<?xml version="1.0" encoding="UTF-16"?><AnalyzerResults Guid="{BACD5C1A-90BE-4D6D-8F48-97E66EE909B6}" InterchangeReceived="1" InterchangeProcessed="1" InterchangeAccepted="0"> <ExecutionDate>Friday, January 12, 2007</ExecutionDate> <ExecutionTime>02:26:40 PM (India Standard Time)</ExecutionTime> <AnalyzerReturn>Failed</AnalyzerReturn> <NumberOfErrors>2</NumberOfErrors> <ErrorByCategory> <Category Name="Rejecting"> <Severity Name="Normal">2</Severity> </Category> </ErrorByCategory> <Status>Finished</Status> <DataFile> <FilePath>D:\OraASRel2\ip</FilePath> <FileName/> <LastModified/> <FileSize/> <DataURL>file:\\D:\OraASRel2\ip</DataURL> </DataFile> <Interchange Guid="{A87B69C1-43E3-423B-AA44-9F0C3BE37CF3}" InterchangeAckCode="R" FunctionalGroupReceived="1" FunctionalGroupProcessed="1" FunctionalGroupAccepted="0" RError="1" NError="0" OtherWI="0"> <DataXPointer> <StartPos>0</StartPos> <Size>951</Size> </DataXPointer> <NodeInfo> <Links> <Link Name="InterchangeSenderQual">ZZ</Link> <Link Name="InterchangeSenderID">BLUECHIPS </Link> <Link Name="InterchangeReceiverQual">12</Link> <Link Name="InterchangeReceiverID">colourchips </Link> <Link Name="InterchangeControlVersion">00300</Link> <Link Name="Standard">X12</Link> </Links> <Properties> <Property Name="InterchangeAuthorizationInfoQual">00</Property> <Property Name="InterchangeAuthorizationInfo"> </Property> <Property Name="InterchangeSecurityInfoQual">00</Property> <Property Name="InterchangeSecurityInfo"> </Property> <Property Name="InterchangeSenderQual">ZZ</Property> <Property Name="InterchangeSenderID">BLUECHIPS </Property> <Property Name="InterchangeReceiverQual">12</Property> <Property Name="InterchangeReceiverID">colourchips </Property> <Property Name="InterchangeDate">061207</Property> <Property Name="InterchangeTime">1601</Property> <Property Name="InterchangeControlStandard_RepeatingSeparator">U</Property> <Property Name="InterchangeControlVersion">00300</Property> <Property Name="InterchangeControlNumber">000050524</Property> <Property Name="InterchangeAckRequested">1</Property> <Property Name="InterchangeUsageIndicator">P</Property> <Property Name="InterchangeComponentElementSep">0x2a</Property> <Property Name="DecimalSeparator"/> <Property Name="ElementDelimiter">0x7e</Property> <Property Name="ReleaseCharacter"/> <Property Name="RepeatingSeparator"/> <Property Name="SegmentDelimiter">0x2b0xd0xa</Property> <Property Name="SubelementDelimiter">0x2a</Property> </Properties> </NodeInfo> <FunctionalGroup Guid="{BF922FB1-9661-462C-B5A6-D868869A8C79}" FunctionalGroupAckCode="R" TransactionSetsIncluded="1" TransactionSetsReceived="1" TransactionSetsProcessed="1" TransactionSetsAccepted="0" RError="0" NError="0" OtherWI="0"> <DataXPointer> <StartPos>108</StartPos> <Size>843</Size> </DataXPointer> <NodeInfo> <Links> <Link Name="GroupSenderID">BLUECHIPS</Link> <Link Name="GroupReceiverID">colourchips</Link> <Link Name="GroupVersionNumber">004010</Link> </Links> <Properties> <Property Name="GroupID">PO</Property> <Property Name="GroupSenderID">BLUECHIPS</Property> <Property Name="GroupReceiverID">colourchips</Property> <Property Name="GroupDate">20061207</Property> <Property Name="GroupTime">1601</Property> <Property Name="GroupControlNumber">150524</Property> <Property Name="GroupAgencyCode">X</Property> <Property Name="GroupVersionNumber">004010</Property> <Property Name="GroupChildCount">1</Property> <Property Name="GroupTrailerControlNumber">150524</Property> </Properties> </NodeInfo> <Transaction Guid="{367C24CC-9747-4E49-9F02-AFC4295CF850}" TransactionAckCode="R" RError="0" NError="0" OtherWI="0"> <DataXPointer> <StartPos>171</StartPos> <Size>766</Size> </DataXPointer> <NodeInfo> <Links> <Link Name="TransactionID">850</Link> </Links> <Properties> <Property Name="TransactionID">850</Property> <Property Name="TransactionControlNumber">158192</Property> <Property Name="TransactionImplementationReference"/> <Property Name="TransactionChildCount">26</Property> <Property Name="TransactionTrailerControlNumber">158192</Property> </Properties> </NodeInfo> </Transaction> </FunctionalGroup> <InterchangeErrors> <Error ErrorCode="{03942C04-7909-4DFB-8F7D-6E5B3D8BDF48}" Severity="Normal" Category="Rejecting" Index="1" ID="50000200"> <ErrorBrief>5000: Parser error - Missing trailer.</ErrorBrief> <ErrorMsg>The Interchange Trailer is missing. The segment itself may be missing or the Segment Delimiter may be missing.{br}{br}Trailer was expected after:{br}{tab}Character: 952 </ErrorMsg> <ErrorObjectInfo> <Parameter Name="ErrorLevel">1</Parameter> <Parameter Name="Name">Parser</Parameter> <Parameter Name="_ec_CaseID">02</Parameter> <Parameter Name="_ec_dn_guid_">{A87B69C1-43E3-423B-AA44-9F0C3BE37CF3}</Parameter> <Parameter Name="_ec_start_pos_">952</Parameter> <Parameter Name="ec_error_scope">File</Parameter> </ErrorObjectInfo> <ErrorDataInfo> <Part1/> <Part3/> <DataXPointer> <StartPos>952</StartPos> <Size>0</Size> </DataXPointer> </ErrorDataInfo> </Error> </InterchangeErrors> </Interchange> <AnalyzerErrors> <Error ErrorCode="{9EE55FDF-8668-4499-9F2E-D9247519A850}" Severity="Normal" Category="Rejecting" Index="2" ID="50420000"> <ErrorBrief>5042: Parser error - No matching parser schema was found.</ErrorBrief> <ErrorMsg>The data starting at position 951 is not a valid EDI interchange. The remainder of the data file was ignored.</ErrorMsg> <ErrorObjectInfo> <Parameter Name="ErrorLevel">0</Parameter> <Parameter Name="Name">Parser</Parameter> <Parameter Name="_ec_start_pos_">951</Parameter> <Parameter Name="ec_error_scope">File</Parameter> </ErrorObjectInfo> <ErrorDataInfo> <Part1/> <ErrData/> <Part3/> <DataXPointer> <StartPos>951</StartPos> <Size>0</Size> </DataXPointer> </ErrorDataInfo> </Error> </AnalyzerErrors></AnalyzerResults>
2007.01.12 at 14:26:40:779: Thread-12: B2B - (ERROR) Error -: AIP-50083: Document protocol identification error
at oracle.tip.adapter.b2b.engine.Engine.identifyDocument(Engine.java:2403)
at oracle.tip.adapter.b2b.engine.Engine.processIncomingMessage(Engine.java:1263)
at oracle.tip.adapter.b2b.engine.Engine.incomingContinueProcess(Engine.java:1845)
at oracle.tip.adapter.b2b.engine.Engine.handleMessageEvent(Engine.java:1777)
at oracle.tip.adapter.b2b.engine.Engine.processEvents(Engine.java:1735)
at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:455)
at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:327)
at java.lang.Thread.run(Thread.java:534)
Thanks
Raghu -
XSQL-007: Protocol violation
Oracle XSQL Servlet Page Processor 1.0.0.0 (Production)
XSQL-007: Cannot acquire a database connection to process page.
Protocol violation
^^^^^^^^^^^^^^^^^^
what is it?????????????The issue got resolved.The reason behind the error was the user schemas which ever we tried were about to expire and throwing an warning message before getting the connection,
Regards
Keerthivasan V -
Need help about protocol violation .
I got the message on java console below when run a java class .
java.sql.SQLException: Protocol violation
at oracle.jdbc.dbaccess.DBError.check_error(DBError.java)
at oracle.jdbc.ttc7.Oclose.receive(Oclose.java)
at oracle.jdbc.ttc7.TTC7Protocol.closeQuery(TTC7Protocol.java)
at oracle.jdbc.driver.OracleResultSet.internal_close(OracleResultSet.java)
at oracle.jdbc.driver.OracleResultSet.close(OracleResultSet.java)
at mps.lib.database.DbOperator.finalize(DbOperator.java:620)
at mps.lib.database.DbOperator.executeQueryVector(DbOperator.java:347)
at testORAFetchingLength.getData(testORAFetchingLength.java:44)
at testORAFetchingLength.main(testORAFetchingLength.java:19)
I'm using ORACLE8.1.5 and j2sdk1.3 , Some information display the rs.next() function error , The data is only be fetched about 180 rows ,and that database have 1000 rows . Why ? I found all the answer on the web , Most of people says JDBC's version is too newer ,But JDBC's package file class111.jar copied from Oracle's jdbc/lib directory .
who can give a answer about this ?
Thanks .I got the message on java console below when run a java class .
java.sql.SQLException: Protocol violation
at oracle.jdbc.dbaccess.DBError.check_error(DBError.java)
at oracle.jdbc.ttc7.Oclose.receive(Oclose.java)
at oracle.jdbc.ttc7.TTC7Protocol.closeQuery(TTC7Protocol.java)
at oracle.jdbc.driver.OracleResultSet.internal_close(OracleResultSet.java)
at oracle.jdbc.driver.OracleResultSet.close(OracleResultSet.java)
at mps.lib.database.DbOperator.finalize(DbOperator.java:620)
at mps.lib.database.DbOperator.executeQueryVector(DbOperator.java:347)
at testORAFetchingLength.getData(testORAFetchingLength.java:44)
at testORAFetchingLength.main(testORAFetchingLength.java:19)
I'm using ORACLE8.1.5 and j2sdk1.3 , Some information display the rs.next() function error , The data is only be fetched about 180 rows ,and that database have 1000 rows . Why ? I found all the answer on the web , Most of people says JDBC's version is too newer ,But JDBC's package file class111.jar copied from Oracle's jdbc/lib directory .
who can give a answer about this ?
Thanks . -
Hi,
I have a problem run query from oracle database to sqlserver database using sql developer. Every time i run the query it give error "Protocol Violation". I use transparent gateway to link between my oracle database and sqlserver.
When I use sql Plus it works.
SQLdeveloper 3.1
SQLserver 2008 R2
Database 11gr2
Anyone have this problem before?
Thanks
David PhieDavid,
If you were accessing an Oracle database I would suggest trying the Thick/OCI driver instead of the Thin as a workaround. This is for SQL Server access, however, so I have to ask whether you considered trying Help|Check for Updates and downloading the JTDS JDBC Driver for SQL Server 11.1.1.58.17?
If you can do that, then change the SQL Developer connection definition accordingly to use it rather than transparent gateway.
Just to document the Protocol Violation a bit more, searching further found this Oracle JDBC FAQ:
http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-faq-090281.html#30_17
What does "Protocol Violation" mean?
The Thin driver throws this exception when it reads something from the RDBMS that it did not expect.
This means that the protocol engine in the Thin driver and the protocol engine in the RDBMS are out of
synch. There is no way to recover from this error. The connection is dead. You should try to close it, but
that will probably fail too.
If you get a reproducible test case that generates this error, please file a TAR with Oracle Global Support.
Be sure to specify the exact version numbers of the JDBC driver and the RDBMS, including any patches.-Gary
Maybe you are looking for
-
Performance wise which is better NOT IN or NOT EXISTS
Performance wise which is better NOT IN or NOT EXISTS.
-
How to find make most common value?
Hello, I have data like this Customer Invoice number payment term ABC 10001 K20 ABC 10002 K40 ABC 10003 K20 ZYX 10004 K30 ZYX 10005 K20 ZYX 10006 K30 Now I want to make report which will show most common payment term. I tried with count etc. with no
-
Video Export Is Blurry Only After Editing Video
I am very new to Premiere, but I understand that when you convert a file it needs to have similar dimensions or you loose quality. I am trying to edit an AVI file to cut out some parts, and then re-encode the file as an MP4. If I import the file int
-
I am using old iphone 3G with capacity of 8GB memory, when ever I try to download any application it is telling it require newer version of software or iOS 4.3. can I get this software or not. I even restore my all my software online, in that proc
-
IPad Air gift. Exchange for one with more memory
I received an IPad Air as a gift at work. I would love to keep it but memory is too little. Can I go yo store and exchange it for one with more memory and pay price difference? Please advise. Thanks.