users@glassfish.java.net

Glassfish v3 Preview and EJB 2.x

From: <glassfish_at_javadesktop.org>
Date: Mon, 03 Aug 2009 09:33:21 PDT

We are attempting to deploy our legacy applications where ejb's are written using EJB 2.x. This worked in Glassfish v2.1 When we deploy in latest version of GF v3 Preview we get the error listed below. Is EJB 2.x supported in GF v3? If so, what have we missed?

Thank you,
Sue


[#|2009-07-29T21:55:19.320-0500|SEVERE|glassfish|javax.enterprise.system.core.org.glassfish.internal.data|_ThreadID=18;_ThreadName=Thread-1;|Exception while invoking class org.glassfish.ejb.startup.EjbDeployer load method
java.lang.RuntimeException: EJB Container initialization error
 at org.glassfish.ejb.startup.EjbApplication.loadContainers(EjbApplication.java:198)
 at org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:160)
 at org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:57)
 at org.glassfish.internal.data.ModuleInfo.load(ModuleInfo.java:152)
 at org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:174)
 at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:282)
 at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:172)
 at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:247)
 at com.sun.enterprise.v3.admin.CommandRunnerImpl$4.execute(CommandRunnerImpl.java:419)
 at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:434)
 at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:521)
 at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:137)
 at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:313)
 at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:180)
 at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:165)
 at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100)
 at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:208)
 at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:746)
 at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:655)
 at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:905)
 at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:161)
 at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:136)
 at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:103)
 at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:89)
 at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
 at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
 at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
 at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 at java.lang.Thread.run(Thread.java:619)
Caused by: Invalid Remote Business Interface interface net.meridianleasing.appsecurity.ApplicationSecurity. A Remote Business interface MUST not extend javax.ejb.EJBObject.
 at com.sun.ejb.codegen.Remote30WrapperGenerator.<init>(Remote30WrapperGenerator.java:105)
 at com.sun.ejb.EJBUtils.loadGeneratedRemoteBusinessClasses(EJBUtils.java:498)
 at com.sun.ejb.containers.BaseContainer.<init>(BaseContainer.java:581)
 at com.sun.ejb.containers.StatefulSessionContainer.<init>(StatefulSessionContainer.java:194)
 at com.sun.ejb.containers.StatefulSessionContainer.<init>(StatefulSessionContainer.java:189)
 at com.sun.ejb.containers.builder.StatefulContainerBuilder.createContainer(StatefulContainerBuilder.java:123)
 at com.sun.ejb.containers.builder.BaseContainerBuilder.buildContainer(BaseContainerBuilder.java:87)
 at com.sun.ejb.containers.ContainerFactoryImpl.createContainer(ContainerFactoryImpl.java:104)
 at org.glassfish.ejb.startup.EjbApplication.loadContainers(EjbApplication.java:183)
 ... 30 more
[Message sent by forum member 'shayden' (shayden)]

http://forums.java.net/jive/thread.jspa?messageID=358643