geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paolo Denti <paolo.de...@cofit.com>
Subject Re: Problem at geronimo boot
Date Wed, 29 Aug 2007 10:54:26 GMT
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="Helvetica, Arial, sans-serif">the problem is<br>
<br>
java.lang.NoSuchMethodException:
org.apache.geronimo.kernel.proxy.ProxyManager.createProxy(javax.management.ObjectName,
java.lang.Class)<br>
</font></font><br>
?? are the online javadocs correct for the 2.0.1 version ?<br>
<br>
Paolo Denti wrote:
<blockquote cite="mid:46D54D0C.602@cofit.com" type="cite">
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <font size="-1"><font face="Helvetica, Arial, sans-serif">no, never
mind ... too many tries and i wrote this "nonsense" stuff ... the
clzArray is the parameter list of the createProxyMethod ... it is
correct.<br>
anyway it fails on the </font></font><font size="-1"><font
 face="Helvetica, Arial, sans-serif">proxyManagerClass.getMethod("createProxy",
clzArray) call.</font></font><br>
  <br>
Paolo Denti wrote:
  <blockquote cite="mid:46D548F9.4040000@gmail.com" type="cite">
    <meta content="text/html;charset=ISO-8859-1"
 http-equiv="Content-Type">
    <font size="-1"><font face="Helvetica, Arial, sans-serif">Kevan, i
tried and following the execution, the problem is in the
proxyManagerClass.getMethod("createProxy", clzArray);<br>
the getMethod call fails.<br>
    <br>
But looking at the javadoc i see that the signature of the ProxyManager
createProxy method is<br>
    </font></font>
    <pre>Object <b>createProxy</b>(javax.management.ObjectName, Class)</pre>
    <font size="-1"><font face="Helvetica, Arial, sans-serif">but we
are
inovoking proxyManagerClass.getMethod("createProxy", clzArray) where
clzArray is a Class[] as if the signature were<br>
    </font></font>
    <pre>Object <b>createProxy</b>(javax.management.ObjectName, Class[])</pre>
    <br>
    <font size="-1"><font face="Helvetica, Arial, sans-serif"><br>
    <br>
    </font></font><br>
Kevan Miller wrote:
    <blockquote
 cite="mid:2B9F4EC8-A59F-43A7-9F9A-CB429D4FAECD@gmail.com" type="cite"><br>
      <div>
      <div>On Aug 28, 2007, at 11:34 AM, Paolo Denti wrote:</div>
      <br class="Apple-interchange-newline">
      <blockquote type="cite"> <font size="-1"><font
 face="Helvetica, Arial, sans-serif">ok, thanks. therefore the problem
"should" lie in how the transactionManager is looked up, that is the
method getTransactionManager of the GeronimoTransactionManagerLookup
class.<br>
        </font></font></blockquote>
      <div><br class="khtml-block-placeholder">
      </div>
Right. Paolo, at a minimum, I think you need to update your
GeronimoTransactionManagerLookup class to contain the following setting
of TransactionMgrGBeanName:&nbsp;</div>
      <div><br class="khtml-block-placeholder">
      </div>
      <div>public static final String
TransactionMgrGBeanName="geronimo:J2EEServer=geronimo,ServiceModule=org.apache.geronimo.configs/transaction/2.0.1/car,j2eeType=TransactionManager,name=TransactionManager";</div>
      <div><br class="khtml-block-placeholder">
      </div>
      <div>I don't have a working hibernate environment, at the moment.
If
you could try this new setting, it would be great...</div>
      <div><br class="khtml-block-placeholder">
      </div>
      <div>--kevan</div>
      <br>
    </blockquote>
  </blockquote>
</blockquote>
</body>
</html>


Mime
View raw message