Hi,
As the satack trace says the exception is thrown when I try to create the
EJBContainer,
test.EJBTestCase.test(EJBTestCase.java:35)
And this is the log of the server,
INFO: keepstate options resolved to true, saving appId 86687929913507840 for
application AlmacenEAR.
INFO: ACDEPL104: Java Web Start services stopped for the app client
AlmacenEAR/AlmacenClient.jar
ADVERTENCIA: Cannot load Main reason : Main
java.lang.ClassNotFoundException: Main
at
com.sun.enterprise.loader.ASURLClassLoader.findClassData(ASURLClassLoader.java:808)
at
com.sun.enterprise.loader.ASURLClassLoader.findClass(ASURLClassLoader.java:696)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at
com.sun.enterprise.deployment.annotation.impl.ModuleScanner.getElements(ModuleScanner.java:361)
at
com.sun.enterprise.deployment.archivist.Archivist.processAnnotations(Archivist.java:565)
at
com.sun.enterprise.deployment.archivist.Archivist.readAnnotations(Archivist.java:445)
at
com.sun.enterprise.deployment.archivist.Archivist.readAnnotations(Archivist.java:432)
at
com.sun.enterprise.deployment.archivist.Archivist.readRestDeploymentDescriptors(Archivist.java:408)
at
com.sun.enterprise.deployment.archivist.Archivist.readDeploymentDescriptors(Archivist.java:383)
at
com.sun.enterprise.deployment.archivist.Archivist.open(Archivist.java:246)
at
com.sun.enterprise.deployment.archivist.Archivist.open(Archivist.java:255)
at
com.sun.enterprise.deployment.archivist.ApplicationArchivist.readModulesDescriptors(ApplicationArchivist.java:654)
at
com.sun.enterprise.deployment.archivist.ApplicationArchivist.openWith(ApplicationArchivist.java:258)
at
com.sun.enterprise.deployment.archivist.ApplicationFactory.openWith(ApplicationFactory.java:240)
at
org.glassfish.javaee.core.deployment.DolProvider.load(DolProvider.java:171)
at
org.glassfish.javaee.core.deployment.DolProvider.load(DolProvider.java:93)
at
com.sun.enterprise.v3.server.ApplicationLifecycle.loadDeployer(ApplicationLifecycle.java:828)
at
com.sun.enterprise.v3.server.ApplicationLifecycle.setupContainerInfos(ApplicationLifecycle.java:770)
at
com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:368)
at
com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
at
org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:382)
at
com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:355)
at
com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:370)
at
com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1064)
at
com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:96)
at
com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1244)
at
com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1232)
at
com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:459)
at
com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:209)
at
com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:168)
at
com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)
at
com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:238)
at
com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)
at
com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725)
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)
at
com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
at
com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
at
com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
at
com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
at
com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
at
com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
at
com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
at java.lang.Thread.run(Thread.java:662)
INFO: Portable JNDI names for EJB ObtenerMaxIdPedidoUsuario :
[java:global/AlmacenEAR/AlmacenEJB2/ObtenerMaxIdPedidoUsuario!session.ObtenerMaxIdPedidoUsuario,
java:global/AlmacenEAR/AlmacenEJB2/ObtenerMaxIdPedidoUsuario]
INFO: ACDEPL103: Java Web Start services started for the app client
AlmacenEAR/AlmacenClient.jar (contextRoot: /AlmacenEAR/AlmacenClient)
INFO: AlmacenEAR was successfully deployed in 546 milliseconds.
Kind regards,
Jose
--
[Message sent by forum member 'josealvarezdelara']
View Post: http://forums.java.net/node/868910