geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paolo Denti <>
Subject Re: Problem at geronimo boot
Date Fri, 31 Aug 2007 11:16:17 GMT
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<body bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="Verdana">Hi kevan, sorry i could not answer
before. No, the structure is the usual one<br>
<div>&nbsp; META-INF/</div>
<div>&nbsp; War<br>
&nbsp;&nbsp;&nbsp; WEB-INF<br>
&nbsp;&nbsp;&nbsp; lib<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; hibernate.jar
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; spring.jar(s)<br>
Viet, may be that you are not really using the transaction manager of
the container ? may be you are using just some queries in autocommit
mode or read-only mode ?<br>
Kevan Miller wrote:
<blockquote cite=""
  <div>On Aug 30, 2007, at 8:12 AM, Paolo Denti wrote:</div>
  <br class="Apple-interchange-newline">
  <blockquote type="cite"> <font size="-1"><font face="Verdana">thanks
Viet, i also tried with your version. now it deploys perfectly but i
get the same problem i have with david version.</font></font><br>
    <pre>interface org.hibernate.jdbc.ConnectionWrapper is not visible from class loader

full stack is
java.lang.IllegalArgumentException: interface org.hibernate.jdbc.ConnectionWrapper is not
visible from class loader
  <div><br class="khtml-block-placeholder">
  <div>Hi Paolo,</div>
  <div>What's the layout of your ear? I'm guessing it's something like:</div>
  <div><br class="khtml-block-placeholder">
  <div>&nbsp; META-INF/</div>
  <div>&nbsp; hibernate.jar</div>
  <div>&nbsp; spring.jar(s)</div>
  <div>&nbsp; War1</div>
  <div>&nbsp; War2</div>
  <div>In Geronimo, each of your WARs will have a unique ClassLoader.
>From your stack trace, It looks like somebody (your apps, spring,
hibernate, or acegi) is attempting to share Hibernate interfaces
between two different WAR classloaders (i.e. assuming that there is a
single instance of Hibernate classes/interfaces). Moving your
hibernate.jar file into the lib/ directory of your EAR may fix your
problem (do not move the spring jars into lib). So, your ear layout
would look like:</div>
  <div><br class="khtml-block-placeholder">
  <div>&nbsp; META-INF/...</div>
  <div>&nbsp; lib/hibernate.jar</div>
  <div>&nbsp; spring.jar(s)</div>
  <div>&nbsp; War1.war</div>
  <div>&nbsp; War2.war</div>
  <div><br class="khtml-block-placeholder">
  <div>Let us know how this works. It sounds like Viet has a basic
hibernate app working. So, /me crosses fingers...</div>
  <div><br class="khtml-block-placeholder">

View raw message