Posts

Showing posts from April, 2012

Runtime Error:class loading constraint violated

Webapp reports the following error every time it tries to poll the sql server: Uncaught exception thrown in one of the service methods of the servlet: dispatcher. Exception thrown : org.springframework.web.util.NestedServletException: Handler processing failed; nested exception is java.lang.VerifyError: class loading constraint violated (class: com/microsoft/sqlserver/jdbc/SQLServerResultSet method: updateNClob(ILcom/microsoft/sqlserver/jdbc/NClob;)V) at pc: 0 And it worked in the local environment, but not on the test server. SOLUTION: Go to test server WAS Integration Solutions Console, Applications->Enterprise Applications, and then click on your application Within Detail Properties, press, Class loading and update detection and there switch the Class loader order from Classes loaded with parent class loader first to Classes loaded with application class loader first. If you had it already set, then your issue is different then mine. Core explanation of the this error i