Anonymous | Login | Signup for a new account | 09-07-2024 19:38 PDT |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0001425 | [Resin] | major | always | 10-25-06 10:40 | 11-30-06 16:09 | ||||
Reporter | buzzterrier | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | normal | Resolution | fixed | Platform | |||||
Status | closed | OS | |||||||
Projection | none | OS Version | |||||||
ETA | none | Fixed in Version | 3.1.0 | Product Version | 3.0.21 | ||||
Product Build | |||||||||
Summary | 0001425: Cannot get TransactionManager under windows XP sp2 | ||||||||
Description |
Using Spring: Configured JNDI transactionmanger <bean id="transactionManager" class="org.springframework.jndi.JndiObjectFactoryBean"> <property name="jndiName" value="java:comp/TransactionManager" /> </bean> I then inject the transactionManger into bean. <!-- All applications that depend on the logging module must define a bean named "transactionManager" of type javax.transaction.TransactionManager. --> <bean id="logManager" class="com.cmates.logging.LogManager" init-method="init" destroy-method="closeLoggers"> <property name="transactionManager" ref="transactionManager" /> </bean> When I start Resin I get the following exception: java.lang.IllegalArgumentException: No visible constructors in class com.caucho.transaction.TransactionManagerImpl |
||||||||
Steps To Reproduce | |||||||||
Additional Information |
This works on linux. [10:29:25.415] ERROR ContextLoader - Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'logManager' defined in ServletCo ntext resource [/WEB-INF/logging.xml]: Initialization of bean failed; nested exception is org.springframework.aop.framew ork.AopConfigException: Couldn't generate CGLIB subclass of class [class com.caucho.transaction.TransactionManagerImpl]: Common causes of this problem include using a final class or a non-visible class; nested exception is java.lang.Illegal ArgumentException: No visible constructors in class com.caucho.transaction.TransactionManagerImpl Caused by: org.springframework.aop.framework.AopConfigException: Couldn't generate CGLIB subclass of class [class com.caucho.transa ction.TransactionManagerImpl]: Common causes of this problem include using a final class or a non-visible class; nested exception is java.lang.IllegalArgumentException: No visible constructors in class com.caucho.transaction.TransactionMana gerImpl Caused by: java.lang.IllegalArgumentException: No visible constructors in class com.caucho.transaction.TransactionManagerImpl at net.sf.cglib.proxy.Enhancer.filterConstructors(Enhancer.java:531) at net.sf.cglib.proxy.Enhancer.generateClass(Enhancer.java:448) at net.sf.cglib.transform.TransformingClassGenerator.generateClass(TransformingClassGenerator.java:33) at net.sf.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:25) at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:216) at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:377) at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:285) at org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.java:202) at org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.java:147) at org.springframework.aop.framework.ProxyFactory.getProxy(ProxyFactory.java:72) at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.createProxy(AbstractAutoProxyCreator.jav a:392) at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.postProcessAfterInitialization(AbstractA utoProxyCreator.java:249) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInit ialization(AbstractAutowireCapableBeanFactory.java:311) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.postProcessObjectFromFactoryBean (AbstractAutowireCapableBeanFactory.java:1119) at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectFromFactoryBean(AbstractBeanFactory.ja va:1011) at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.ja va:960) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:156) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueRes olver.java:246) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionV alueResolver.java:128) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAuto wireCapableBeanFactory.java:955) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCap ableBeanFactory.java:729) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapab leBeanFactory.java:416) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:245) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegis try.java:141) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:242) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:156) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListable BeanFactory.java:290) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:348) at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableW ebApplicationContext.java:156) at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:184) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49) at com.caucho.server.webapp.WebApp.start(WebApp.java:1689) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:621) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:503) at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:155) at com.caucho.server.webapp.WebAppContainer.start(WebAppContainer.java:669) at com.caucho.server.host.Host.start(Host.java:447) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:621) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:503) at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:155) at com.caucho.server.host.HostContainer.start(HostContainer.java:482) at com.caucho.server.cluster.Server.start(Server.java:1027) at com.caucho.server.cluster.Cluster.startServer(Cluster.java:652) at com.caucho.server.cluster.ClusterServer.startServer(ClusterServer.java:429) at com.caucho.server.resin.Resin.start(Resin.java:592) at com.caucho.server.resin.Resin.initMain(Resin.java:985) at com.caucho.server.resin.Resin.main(Resin.java:1172) |
||||||||
Attached Files | |||||||||
|
There are no notes attached to this issue. |
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
27 total queries executed. 25 unique queries executed. |