Announcement Announcement Module
Collapse
No announcement yet.
java.lang.VerifyError: class loading constraint violated Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • 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 (Authorization.java : 92), the statement creates a new hibernate session factory

    The TestingTool-servlet.xml :

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

    ....
    </props>
    </property>
    </bean>

    <bean id="LoginController" class="com.ibm.testbase.controller.LoginController " />
    ...
    </beans>


    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(DispatcherServlet.java:924)
    at org.springframework.web.servlet.DispatcherServlet. doService(DispatcherServlet.java:807)
    at org.springframework.web.servlet.FrameworkServlet.p rocessRequest(FrameworkServlet.java:571)
    at org.springframework.web.servlet.FrameworkServlet.d oPost(FrameworkServlet.java:511)
    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.ser vice(ServletWrapper.java:966)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.han dleRequest(ServletWrapper.java:478)
    at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.h andleRequest(ServletWrapper.java:463)
    at com.ibm.ws.webcontainer.servlet.CacheServletWrappe r.handleRequest(CacheServletWrapper.java:92)
    at com.ibm.ws.webcontainer.WebContainer.handleRequest (WebContainer.java:744)
    at com.ibm.ws.wswebcontainer.WebContainer.handleReque st(WebContainer.java:1425)
    at com.ibm.ws.webcontainer.channel.WCChannelLink.read y(WCChannelLink.java:92)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLi nk.handleDiscrimination(HttpInboundLink.java:465)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLi nk.handleNewInformation(HttpInboundLink.java:394)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLi nk.ready(HttpInboundLink.java:274)
    at com.ibm.ws.tcp.channel.impl.NewConnectionInitialRe adCallback.sendToDiscriminators(NewConnectionIniti alReadCallback.java:214)
    at com.ibm.ws.tcp.channel.impl.NewConnectionInitialRe adCallback.complete(NewConnectionInitialReadCallba ck.java:113)
    at com.ibm.ws.tcp.channel.impl.AioReadCompletionListe ner.futureCompleted(AioReadCompletionListener.java :152)
    at com.ibm.io.async.AbstractAsyncFuture.invokeCallbac k(AbstractAsyncFuture.java:213)
    at com.ibm.io.async.AbstractAsyncFuture.fireCompletio nActions(AbstractAsyncFuture.java:195)
    at com.ibm.io.async.AsyncFuture.completed(AsyncFuture .java:136)
    at com.ibm.io.async.ResultHandler.complete(ResultHand ler.java:193)
    at com.ibm.io.async.ResultHandler.runEventProcessingL oop(ResultHandler.java:725)
    at com.ibm.io.async.ResultHandler$2.run(ResultHandler .java:847)
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.j 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(J9VMInternals.java: 59)
    at java.lang.J9VMInternals.verify(J9VMInternals.java: 57)
    at java.lang.J9VMInternals.initialize(J9VMInternals.j ava:120)
    at com.ibm.db2.jcc.DB2Driver.connect(DB2Driver.java:1 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 er.java:110)
    at org.hibernate.cfg.SettingsFactory.buildSettings(Se ttingsFactory.java:76)
    at org.hibernate.cfg.Configuration.buildSettings(Conf iguration.java:2006)
    at org.hibernate.cfg.Configuration.buildSessionFactor y(Configuration.java:1289)
    at com.ibm.testbase.dao.Authorization.loadComponents( Authorization.java:92)
    at com.ibm.testbase.model.ComponentModel.getComponent Types(ComponentModel.java:24)
    at com.ibm.testbase.controller.LoginController.handle RequestInternal(LoginController.java:101)
    at org.springframework.web.servlet.mvc.AbstractContro ller.handleRequest(AbstractController.java:153)
    at org.springframework.web.servlet.mvc.SimpleControll erHandlerAdapter.handle(SimpleControllerHandlerAda pter.java:48)
    at org.springframework.web.servlet.DispatcherServlet. doDispatch(DispatcherServlet.java:875)
Working...
X