Announcement Announcement Module
No announcement yet.
java.lang.VerifyError: class loading constraint violated Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • java.lang.VerifyError: class loading constraint violated

    We get the following error when we deploy this application on WAS 6.1. It seems to be working fine on WAS 6.0. This application uses spring 2.5, hibernate3, db2 v9.1 and developed in RSA6.0.
    I only have the db2jcc.jar and db2jcc_license_cu.jar (in that order) which are copied from the db2 sqllib directory. Any pointers? thanks!!

    In the line number that is specified in the below log ( : 92), the statement creates a new hibernate session factory

    The TestingTool-servlet.xml :

    <bean id="urlMapping" class="org.springframework.web.servlet.handler.Sim pleUrlHandlerMapping">
    <property name="mappings">
    <prop key="/">LoginController</prop>


    <bean id="LoginController" class=" " />

    Inside the controller, i only call a model class which inturn gets some data from the DAO.

    the log trace

    ServletWrappe E SRVE0068E: Uncaught exception thrown in one of the service methods of the servlet: TestingTool. Exception thrown : org.springframework.web.util.NestedServletExceptio n: Handler processing failed; nested exception is java.lang.VerifyError: class loading constraint violated (class: com/ibm/db2/jcc/c/bb method: getSQLJLogWriter()Lcom/ibm/db2/jcc/SQLJLogWriter at pc: 0
    at org.springframework.web.servlet.DispatcherServlet. doDispatch(
    at org.springframework.web.servlet.DispatcherServlet. doService(
    at org.springframework.web.servlet.FrameworkServlet.p rocessRequest(
    at org.springframework.web.servlet.FrameworkServlet.d oPost(
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:763)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:856)
    at vice(
    at dleRequest(
    at andleRequest(
    at r.handleRequest(
    at (
    at st(
    at y(
    at nk.handleDiscrimination(
    at nk.handleNewInformation(
    at nk.ready(
    at adCallback.sendToDiscriminators(NewConnectionIniti
    at adCallback.complete(NewConnectionInitialReadCallba
    at ner.futureCompleted( :152)
    at k(
    at nActions(
    at .java:136)
    at oop(
    at$ .java:847)
    at$ ava:1498)
    Caused by: java.lang.VerifyError: class loading constraint violated (class: com/ibm/db2/jcc/c/bb method: getSQLJLogWriter()Lcom/ibm/db2/jcc/SQLJLogWriter at pc: 0
    at java.lang.J9VMInternals.verifyImpl(Native Method)
    at java.lang.J9VMInternals.verify( 59)
    at java.lang.J9VMInternals.verify( 57)
    at java.lang.J9VMInternals.initialize(J9VMInternals.j ava:120)
    at 66)
    at java.sql.DriverManager.getConnection(DriverManager .java:562)
    at java.sql.DriverManager.getConnection(DriverManager .java:155)
    at org.hibernate.connection.DriverManagerConnectionPr ovider.getConnection(DriverManagerConnectionProvid
    at org.hibernate.cfg.SettingsFactory.buildSettings(Se
    at org.hibernate.cfg.Configuration.buildSettings(Conf
    at org.hibernate.cfg.Configuration.buildSessionFactor y(
    at Types(
    at RequestInternal(
    at org.springframework.web.servlet.mvc.AbstractContro ller.handleRequest(
    at org.springframework.web.servlet.mvc.SimpleControll erHandlerAdapter.handle(SimpleControllerHandlerAda
    at org.springframework.web.servlet.DispatcherServlet. doDispatch(