I don't think it likes it when you have more than one
container-transaction entry in ejb-jar.xml that covers the same
EJB/methods.  For example, you have two entries for
ejb-name=RuleEvaluation, method-name=*.  There may be other
duplication, that was just the first one I saw.

Thanks,
    Aaron

On 8/4/06, Manish Satwani <[EMAIL PROTECTED]> wrote:
Hi Aaron,

Thanks for replying ...I am facing trouble.in deployment.

I am attaching all the required files here.




On 8/4/06, Aaron Mulder <[EMAIL PROTECTED]> wrote:
> It would really help if you post that stack trace in a way that
> preserves the line breaks, and also post your ejb-jar.xml and
> openejb-jar.xml.
>
> Thanks,
>      Aaron
>
> On 8/4/06, Manish Satwani < [EMAIL PROTECTED]> wrote:
> > Hi All
> >
> > I am getting this error while deploying my EAR on geronimo...
> >
> >
> > I have JDK1.4.2.06
> >
> > java.lang.IllegalStateException : Cannot compare MethodTransaction:
interface
> > null, methodName *, parameters: transaction attribute:
> > [EMAIL PROTECTED]
and
> > MethodTransaction: interface null, methodName *, parameters: transaction
> > attribute:
> > [EMAIL PROTECTED]
> > org.apache.geronimo.common.DeploymentException:
> > java.lang.IllegalStateException: Cannot compare MethodTransaction:
interface
> > null, methodName *, parameters: transaction attribute:
> > [EMAIL PROTECTED]
and
> > MethodTransaction: interface null, methodName *, parameters: transaction
> > attribute:
> > [EMAIL PROTECTED]
at
> >
org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:364)
> > at
> >
org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:124)
> > at
> >
org.apache.geronimo.deployment.Deployer$$FastClassByCGLIB$$734a235d.invoke(<generated>)
> > at
> >
net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
> > at
> >
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke
(FastMethodInvoker.java:38)
> > at
> >
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:122)
> > at
> >
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:852)
> > at
> >
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
> > at
> >
org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:106)
> > at
> >
org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:60)
> > at java.lang.Thread.run(Thread.java:534) Caused by:
> > java.lang.IllegalStateException: Cannot compare MethodTransaction:
interface
> > null, methodName *, parameters: transaction attribute:
> > [EMAIL PROTECTED]
and
> > MethodTransaction: interface null, methodName *, parameters: transaction
> > attribute:
> > [EMAIL PROTECTED]
at
> >
org.openejb.deployment.TransactionPolicyHelper$MethodTransaction.compareTo(TransactionPolicyHelper.java:285)
> > at java.util.TreeMap.compare(TreeMap.java :1085) at
> > java.util.TreeMap.put(TreeMap.java:463) at
> > java.util.TreeSet.add(TreeSet.java:209) at
> >
org.openejb.deployment.TransactionPolicyHelper.putMethodTransaction(TransactionPolicyHelper.java:107)
> > at
> >
org.openejb.deployment.TransactionPolicyHelper.<init>(TransactionPolicyHelper.java:92)
> > at
> >
org.openejb.deployment.OpenEJBModuleBuilder.addGBeans(OpenEJBModuleBuilder.java:510)
> > at
> >
org.openejb.deployment.OpenEJBModuleBuilder$$FastClassByCGLIB$$11bd7b20.invoke(<generated>)
> > at
> >
net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
> > at
> >
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke
(FastMethodInvoker.java:38)
> > at
> >
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:122)
> > at
> >
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:817)
> > at
> >
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
> > at
> >
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
> > at
> >
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept
(ProxyMethodInterceptor.java:96)
> > at
> >
org.apache.geronimo.j2ee.deployment.ModuleBuilder$$EnhancerByCGLIB$$d2a1ea22.addGBeans(<generated>)
> > at
> >
org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration
(EARConfigBuilder.java:562)
> > at
> >
org.apache.geronimo.j2ee.deployment.EARConfigBuilder$$FastClassByCGLIB$$38e56ec6.invoke(<generated>)
> > at
> > net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java
:53)
> > at
> >
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
> > at
> >
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:122)
> > at
> >
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:817)
> > at
> >
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
> > at
> >
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke
(RawOperationInvoker.java:35)
> > at
> >
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
> > at
> >
org.apache.geronimo.deployment.ConfigurationBuilder$$EnhancerByCGLIB$$de8ef294.buildConfiguration
(<generated>)
> > at
> >
org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:302)
> > ... 10 more
> >
> > --
> > Manish Satwani
> > Senior Software Engineer
> > Aceva Technologies | Unlock Your Working Capital
> > A-1501, Signature Towers - I,
> > South City, Gurgaon,
> > Haryana – 122001
> > Call at:
> > +91-124-2805091/92 Ext. 35
> > +91-99113-16998
> > Visit: http://www.aceva.com
>



--

Manish Satwani
Senior Software Engineer
Aceva Technologies | Unlock Your Working Capital
A-1501, Signature Towers - I,
South City, Gurgaon,
Haryana – 122001
Call at:
+91-124-2805091/92 Ext. 35
+91-99113-16998
Visit: http://www.aceva.com

Reply via email to