0 Replies Latest reply on May 5, 2008 10:38 PM by gigsvoo

    JBoss 4.2.2 + Hibernate 3 + OpenLaszlo

    gigsvoo Newbie

      Hi there,

      When I deploy Hibernate 3 into JBoss AS 4.2.2 I had set using JBoss classloader instead of Tomcat classloader as described http://opensource.atlassian.com/projects/hibernate/browse/HHH-579as follows:

      $JBOSS_HOME/server/default/deploy/jbossweb-tomcat55.sar/META-INF/jboss-service.xml


      from Java2ClassLoadingCompliance of "UseJbossWebLoader"

      After done that Openlaszlo refuse to run and providing the following exception:

      10:36:04,997 INFO [[/URESDemoWeb]] LPS: throwable: (class: org/openlaszlo/data/
      HTTPDataSource, method: getDataOnce signature: (Ljavax/servlet/http/HttpServletR
      equest;Ljavax/servlet/http/HttpServletResponse;JLjava/lang/String;II)Lorg/openla
      szlo/data/HTTPDataSource$HttpData;) Incompatible object argument for function ca
      ll
      10:36:05,001 INFO [[/URESDemoWeb]] LPS: javax.servlet.ServletException: java.la
      ng.VerifyError: (class: org/openlaszlo/data/HTTPDataSource, method: getDataOnce
      signature: (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServl
      etResponse;JLjava/lang/String;II)Lorg/openlaszlo/data/HTTPDataSource$HttpData;)
      Incompatible object argument for function call
       at org.openlaszlo.servlets.LZServlet.getResponder(Unknown Source)
       at org.openlaszlo.servlets.LZServlet.initLPS(Unknown Source)
       at org.openlaszlo.servlets.LZServlet.doGet(Unknown Source)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:290)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:206)
       at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi
      lter.java:96)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:235)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:206)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
      alve.java:230)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
      alve.java:175)
       at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
      yAssociationValve.java:179)
       at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv
      e.java:84)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
      ava:127)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
      ava:102)
       at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedC
      onnectionValve.java:157)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
      ve.java:109)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
      a:262)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
      :844)
       at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
      ss(Http11Protocol.java:583)
       at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44
      6)
       at java.lang.Thread.run(Thread.java:619)
      Caused by: java.lang.VerifyError: (class: org/openlaszlo/data/HTTPDataSource, me
      thod: getDataOnce signature: (Ljavax/servlet/http/HttpServletRequest;Ljavax/serv
      let/http/HttpServletResponse;JLjava/lang/String;II)Lorg/openlaszlo/data/HTTPData
      Source$HttpData;) Incompatible object argument for function call
       at org.openlaszlo.servlets.responders.ResponderCache.init(Unknown Source
      )
       at org.openlaszlo.servlets.responders.ResponderMEDIA.init(Unknown Source
      )
       ... 23 more
      


      Any ideas?