Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
9 replies
Subscribers
7 subscribers
Views
5036 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Can some one help me to resolve this below ERROR 013-11-07 06:02:47,1
pssvarma
over 11 years ago
Can some one help me to resolve this below ERROR
013-11-07 06:02:47,117 [Timer-5] ERROR org.hibernate.transaction.JDBCTransaction - Could not toggle autocommit
java.sql.SQLException: Connection is not associated with a managed connection.org.jboss.resource.adapter.jdbc.jdk6.WrappedConnectionJDK6@5ebefeee
at org.jboss.resource.adapter.jdbc.WrappedConnection.lock(WrappedConnection.java:81)
at org.jboss.resource.adapter.jdbc.WrappedConnection.setAutoCommit(WrappedConnection.java:454)
at org.hibernate.transaction.JDBCTransaction.toggleAutoCommit(JDBCTransaction.java:224)
at org.hibernate.transaction.JDBCTransaction.commitAndResetAutoCommit(JDBCTransaction.java:169)
at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:142)
at com.appiancorp.rdbms.hb.search.SearchIndexManagerSessionImpl.sync(SearchIndexManagerSessionImpl.java:95)
at com.appiancorp.rdbms.hb.search.SearchIndexManagerSessionImpl.sync(SearchIndexManagerSessionImpl....
OriginalPostID-88898
OriginalPostID-88898
Discussion posts and replies are publicly visible
0
pssvarma
over 11 years ago
...java:59)
at com.appiancorp.rdbms.common.search.SearchIndexSyncTimerTask.run(SearchIndexSyncTimerTask.java:57)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
2013-11-07 06:02:47,117 [Timer-5] ERROR org.hibernate.transaction.JDBCTransaction - JDBC commit failed
com.microsoft.sqlserver.jdbc.SQLServerException: Connection reset by peer: socket write error
at com.microsoft.sqlserver.jdbc.SQLServerConnection.terminate(SQLServerConnection.java:1368)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.terminate(SQLServerConnection.java:1355)
at com.microsoft.sqlserver.jdbc.TDSChannel.write(IOBuffer.java:1548)
at com.microsoft.sqlserver.jdbc.TDSWriter.flush(IOBuffer.java:2368)
at com.microsoft.sqlserver.jdbc.TDSWriter.writePacket(IOBuffer.java:2270)
at com.microsoft.sqlserver.jdbc.TDSWriter.endMessage(IOBuffer.java:1877)
at com.microsoft.sqlserver.jdbc.TDSCommand.startResponse(IOBuffer.java:4403)
at com.microsoft.sql...
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
pssvarma
over 11 years ago
...server.jdbc.TDSCommand.startResponse(IOBuffer.java:4389)
at com.microsoft.sqlserver.jdbc.SQLServerConnection$1ConnectionCommand.doExecute(SQLServerConnection.java:1457)
at com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:4026)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:1416)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectionCommand(SQLServerConnection.java:1462)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.setAutoCommit(SQLServerConnection.java:1610)
at com.microsoft.sqlserver.jdbc.SQLServerConnectionPoolProxy.setAutoCommit(SQLServerConnectionPoolProxy.java:85)
at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.checkTransaction(BaseWrapperManagedConnection.java:545)
at org.jboss.resource.adapter.jdbc.WrappedConnection.checkTransaction(WrappedConnection.java:826)
at org.jboss.resource.adapter.jdbc.WrappedConnection.commit(WrappedConnection.java:485)
at org.hibernat...
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
pssvarma
over 11 years ago
... e.transaction.JDBCTransaction.commitAndResetAutoCommit(JDBCTransaction.java:166)
at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:142)
at com.appiancorp.rdbms.hb.search.SearchIndexManagerSessionImpl.sync(SearchIndexManagerSessionImpl.java:95)
at com.appiancorp.rdbms.hb.search.SearchIndexManagerSessionImpl.sync(SearchIndexManagerSessionImpl.java:59)
at com.appiancorp.rdbms.common.search.SearchIndexSyncTimerTask.run(SearchIndexSyncTimerTask.java:57)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
2013-11-07 06:02:47,120 [Timer-5] WARN com.appiancorp.rdbms.common.search.SearchIndexSyncTimerTask - [jdbc/appianprimary] Error during search index sync. Will try again in 300000ms.
org.hibernate.TransactionException: JDBC commit failed
at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:157)
at com.appiancorp.rdbms.hb.search.SearchIndexManagerSessionImpl.sync(SearchIndexMana...
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
pssvarma
over 11 years ago
... gerSessionImpl.java:95)
at com.appiancorp.rdbms.hb.search.SearchIndexManagerSessionImpl.sync(SearchIndexManagerSessionImpl.java:59)
at com.appiancorp.rdbms.common.search.SearchIndexSyncTimerTask.run(SearchIndexSyncTimerTask.java:57)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: Connection reset by peer: socket write error
at com.microsoft.sqlserver.jdbc.SQLServerConnection.terminate(SQLServerConnection.java:1368)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.terminate(SQLServerConnection.java:1355)
at com.microsoft.sqlserver.jdbc.TDSChannel.write(IOBuffer.java:1548)
at com.microsoft.sqlserver.jdbc.TDSWriter.flush(IOBuffer.java:2368)
at com.microsoft.sqlserver.jdbc.TDSWriter.writePacket(IOBuffer.java:2270)
at com.microsoft.sqlserver.jdbc.TDSWriter.endMessage(IOBuffer.java:1877)
at com.microsoft.sqlserver.jdbc.TDSCommand.startResponse(IOBuffe...
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
pssvarma
over 11 years ago
... r.java:4403)
at com.microsoft.sqlserver.jdbc.TDSCommand.startResponse(IOBuffer.java:4389)
at com.microsoft.sqlserver.jdbc.SQLServerConnection$1ConnectionCommand.doExecute(SQLServerConnection.java:1457)
at com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:4026)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:1416)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectionCommand(SQLServerConnection.java:1462)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.setAutoCommit(SQLServerConnection.java:1610)
at com.microsoft.sqlserver.jdbc.SQLServerConnectionPoolProxy.setAutoCommit(SQLServerConnectionPoolProxy.java:85)
at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.checkTransaction(BaseWrapperManagedConnection.java:545)
at org.jboss.resource.adapter.jdbc.WrappedConnection.checkTransaction(WrappedConnection.java:826)
at org.jboss.resource.adapter.jdbc.WrappedConnection.commit(Wrapped...
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
pssvarma
over 11 years ago
... Connection.java:485)
at org.hibernate.transaction.JDBCTransaction.commitAndResetAutoCommit(JDBCTransaction.java:166)
at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:142)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Tim Nguyen
Appian Employee
over 11 years ago
The error does point to an issue with the database, but without more information, it'll be difficult to figure out the cause.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Alok Mohare
Appian Employee
over 11 years ago
Looking at the last caused by clause:
******************************************************************************************
Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: Connection reset by peer: socket write error
******************************************************************************************
It seems like the application-server is unable to connect to the SQL Server instance, where you have configured your PrimaryDS. You might want to check with your DBA’s if the SQL Server instances is up and running. Once you verify that, please restart the application-server.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sameerk
over 11 years ago
You may also want to grant dba privileges to the PrimaryDS user that you have configured in the datasource. I have noticed that anything shy of that throws an error when starting up the application.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel