[Design the new POJO MicroContainer] - Re: In callback
by bill.burke@jboss.com
"adrian(a)jboss.org" wrote : Ales replied.
|
| "adrian(a)jboss.org" wrote :
| | It is the parameter type of the methods.
| |
| | anonymous wrote :
| | | incallback is a HORRIBLE name for this. Please define something that is easier to understand. Thanks.
| |
| | I agree. But I don't really care what it is called, I care what does.
| | Ales, maybe you can come up with a better name, e.g.
| | installCallback and uninstallCallback?
|
| Just writing response myself. :-)
| Yup I was thinking of something better, but everything looked too long.
| Bill, any (short) suggestions?
BTW, I hate this approach. The install/uninstall syntax was better because it was more readable. At least you knew what was going on. Now you have to guess/read dig deep into the documentation to figure out what is going on.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059649#4059649
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4059649
16 years, 10 months
[Design of EJB 3.0] - Embedded project still broken
by adrian@jboss.org
I've updated the embedded project such that it now builds and the bootstrap tests work.
But there looks to be a number of problems related to EJBs,
most likely due to outdated configurations or classpath dependencies.
e.g.
| ERROR 02-07 17:03:13,610 (DeployerWrapper.java:deploy:169) -Error during deploy: vfsfile:/home/ejort/jboss-head/embedded/output/test-lib/ejb-test.jar
| java.lang.NoClassDefFoundError: org/jboss/iiop/CorbaORBService
| at org.jboss.ejb3.EJBContainer.bindORB(EJBContainer.java:224)
| at org.jboss.ejb3.EJBContainer.<init>(EJBContainer.java:217)
| at org.jboss.ejb3.SessionContainer.<init>(SessionContainer.java:83)
| at org.jboss.ejb3.stateless.StatelessContainer.<init>(StatelessContainer.java:77)
| at org.jboss.ejb3.Ejb3AnnotationHandler.getStatelessContainer(Ejb3AnnotationHandler.java:249)
| at org.jboss.ejb3.Ejb3AnnotationHandler.getContainers(Ejb3AnnotationHandler.java:142)
| at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:498)
| at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:451)
| at org.jboss.ejb3.Ejb3Deployment.deployUrl(Ejb3Deployment.java:433)
| at org.jboss.ejb3.Ejb3Deployment.deploy(Ejb3Deployment.java:399)
| at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:341)
| at org.jboss.ejb3.deployers.EJBRegistrationDeployer.deploy(EJBRegistrationDeployer.java:158)
| at org.jboss.deployers.vfs.spi.deployer.AbstractVFSRealDeployer.deploy(AbstractVFSRealDeployer.java:45)
| at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:164)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstall(DeployersImpl.java:657)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstall(DeployersImpl.java:623)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:587)
| at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:304)
| at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1257)
| at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:685)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:813)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:735)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:573)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:374)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:426)
| at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:340)
| at org.jboss.embedded.DeploymentGroup.process(DeploymentGroup.java:128)
| at org.jboss.embedded.Bootstrap.deploy(Bootstrap.java:322)
| at org.jboss.embedded.junit.ClasspathBasedTestServices.redeploy(ClasspathBasedTestServices.java:95)
| at org.jboss.test.JBossTestSetup.redeploy(JBossTestSetup.java:185)
| at org.jboss.test.JBossTestCase$1.setUp(JBossTestCase.java:305)
| at junit.extensions.TestSetup$1.protect(TestSetup.java:20)
| at junit.framework.TestResult.runProtected(TestResult.java:124)
| at junit.extensions.TestSetup.run(TestSetup.java:25)
| at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
| at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
| at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
|
At least in this case, the ORB should be optional.
If there is no ORB configured, it shouldn't fail.
It should fail when the user tries to lookup the ORB.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059645#4059645
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4059645
16 years, 10 months