Mantis - Resin
Viewing Issue Advanced Details
2479 minor always 03-03-08 09:11 03-05-08 09:07
ferg  
ferg  
urgent  
closed 3.1.5  
fixed  
none    
none 3.1.6  
0002479: EJB creation
(rep by Gary Zhu)


Here is the error when I removed distributable, looks like it's the problem of mixing EJB 2 and EJB 3 beans.

Here is the error, see also attached XML file:

[19:38:27.655] {main} Linux 2.6.7-1-686-smp i386
[19:38:27.655] {main} Java 1.5.0_12-b04, 32, mixed mode, ANSI_X3.4-1968, en, Sun Microsystems Inc.
[19:38:27.655] {main} user.name: gzhu
[19:38:27.656] {main} resin.home = /usr/resin-3.1.s080223/
[19:38:27.657] {main} resin.root = /usr/resin-3.1.s080223/
[19:38:27.657] {main} resin.conf = /usr/resin-3.1.s080223/conf/resin.conf
[19:38:27.657] {main}
[19:38:29.187] {main} WebApp[http://localhost:8001] [^] error
[19:38:29.191] {main} java.lang.IllegalStateException: Duplicate bean 'ScheduledEventManagerBean'
[19:38:29.191] {main} at com.caucho.ejb.cfg.EjbConfig.setBeanConfig(EjbConfig.java:211)
[19:38:29.191] {main} at com.caucho.ejb.cfg.EjbConfig.addIntrospectableClass(EjbConfig.java:344)
[19:38:29.191] {main} at com.caucho.ejb.cfg.EjbConfigManager.start(EjbConfigManager.java:90)
[19:38:29.191] {main} at com.caucho.ejb.manager.EjbContainer.config(EjbContainer.java:466)
[19:38:29.191] {main} at com.caucho.ejb.manager.EjbContainer.environmentConfig(EjbContainer.java:540)
[19:38:29.191] {main} at com.caucho.loader.EnvironmentClassLoader.config(EnvironmentClassLoader.java:549)
[19:38:29.191] {main} at com.caucho.loader.EnvironmentClassLoader.start(EnvironmentClassLoader.java:564)
[19:38:29.191] {main} at com.caucho.server.webapp.WebApp.start(WebApp.java:1819)
[19:38:29.191] {main} at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667)
[19:38:29.191] {main} at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72)
[19:38:29.191] {main} at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549)


Notes
(0002816)
ferg   
03-05-08 09:07   
ejb/0j03

(Resin-EJB configuration information is at http://caucho.com/resin/doc/resin-ejb.xtp) [^]