-
1. Re: Jboss 5 Beta 2 and Spring Deployer
alesj Dec 17, 2007 6:45 AM (in response to ragavgomatam)"ragavgomatam" wrote:
Hello,
However the same fails in jboss 5 Beta 2 as the EAR deployer fails to recognize the spring archive inside.
Any suggestions/ideas ?
With AS5 we completely rewrote Deployers.
And the SpringDeployer wasn't ported.
Till yesterday. :-)
- http://jira.jboss.com/jira/browse/JBAS-3536
Beta3 is coming out these days.
You can then simply build the Spring-int module from the source, and just copy jboss-spring.deployer artifact to JBOSS_HOME/server/CONFIG/deployers.
It works exactly the same as the old one did, just the architecture is compatible with the new Deployers.
Let me know if you have any problems. -
2. Re: Jboss 5 Beta 2 and Spring Deployer
ragavgomatam Dec 22, 2007 10:21 AM (in response to ragavgomatam)Thanks Ales...I downloaded Jboss 5 Beta 3 . I have copied the spring deployer artifacts (jboss-spring-jdk5.deployer) to C:\jboss-5.0.0.Beta3\server\default\deployers directory.
Also I had issues with jvm 1.6, which I overcame with passing
-Dsun.lang.ClassLoader.allowArraySyntax=true in the start up script.
Now question is where do I get the spring-int . How do I get the source code to build it ? If not is there an ETA on the availability of spring-ejb3 integration in jboss 5 Beta 3.
Many thanks once again.... -
3. Re: Jboss 5 Beta 2 and Spring Deployer
alesj Dec 22, 2007 10:52 AM (in response to ragavgomatam)It's all in the trunk source:
- http://anonsvn.jboss.org/repos/jbossas/trunk/spring-int/
You can checkout the whole AS5 trunk.
The simply build it - go to its build directory and run build.sh or build.bat.
It will automatically download all required thirdparty libs.
And it will also build SpringDeployer artifact - see spring-int/output/lib.
Then simply copy it to deployers dir, like you did before.
I'll also try to update the sourceforge, with the already build binaries. -
4. Re: Jboss 5 Beta 2 and Spring Deployer
alesj Dec 22, 2007 2:26 PM (in response to ragavgomatam)"alesj" wrote:
I'll also try to update the sourceforge, with the already build binaries.
https://sourceforge.net/project/showfiles.php?group_id=22866&package_id=161914 -
5. Re: Jboss 5 Beta 2 and Spring Deployer
ragavgomatam Dec 22, 2007 2:57 PM (in response to ragavgomatam)Great...I'll check out & do a build from the source... Is there any plan to do a formal release of spring-ejb3 deployer for jboss 5 soon ?
Thanks -
6. Re: Jboss 5 Beta 2 and Spring Deployer
alesj Dec 23, 2007 5:14 AM (in response to ragavgomatam)"ragavgomatam" wrote:
Is there any plan to do a formal release of spring-ejb3 deployer for jboss 5 soon ?
This link above from Sourceforge not formal enough? :-) -
7. Re: Jboss 5 Beta 2 and Spring Deployer
alesj Dec 23, 2007 11:23 AM (in response to ragavgomatam)"ragavgomatam" wrote:
I know this has nothing to do with spring deployer & also the wrong forum but nevetheless posting it...
Hence removing your post.
Try EJB forum. -
8. Re: Jboss 5 Beta 2 and Spring Deployer
ragavgomatam Jan 1, 2008 3:32 PM (in response to ragavgomatam)Hello,
Is there a special way to deploy the latest Spring deployer 3.0. Is this a Zip archive or is there a special way to deploy this ? I downloaded this but this seems to be a DEPLOYER file. What is this & how should I install this? I did the following :- I downloaded this directly to my $JBOSS_HOME/server/default/deployers.
After this I started Jboss 5 Beta 3 . Is this correct ? I did not notice anything happening -
9. Re: Jboss 5 Beta 2 and Spring Deployer
ragavgomatam Jan 1, 2008 3:40 PM (in response to ragavgomatam)I tried to deploy the Spring Deployer 3 on Jboss 5 beta 3. I get the following error:-
15:39:05,375 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference 15:39:19,922 ERROR [AbstractKernelController] Error installing to Instantiated: name=jboss.spring:service=SpringApplicationConte org.jboss.deployment.DeploymentException: Unable to createMBean for jboss.spring:service=SpringApplicationContextDeployer at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:52) at org.jboss.system.ServiceCreator.install(ServiceCreator.java:141) at org.jboss.system.microcontainer.InstantiateAction.installAction(InstantiateAction.java:45) at org.jboss.system.microcontainer.InstantiateAction.installAction(InstantiateAction.java:37) at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.j at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:327) at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:255) at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1309) at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:734) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:862) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:784) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:622) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:411) at org.jboss.system.ServiceController.doChange(ServiceController.java:659) at org.jboss.system.ServiceController.install(ServiceController.java:272) at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:98) at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46) at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:65 at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50) at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:169) at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:853) at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:874) at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:794) at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:327) at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1309) at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:734) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:862) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:784) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:622) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:411) at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:498) at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:506) at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:238) at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:131) at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:408) at org.jboss.Main.boot(Main.java:208) at org.jboss.Main$1.run(Main.java:534) at java.lang.Thread.run(Thread.java:619) Caused by: javax.management.NotCompliantMBeanException: Class does not expose a management interface: java.lang.Object at org.jboss.mx.metadata.MBeanCapability.of(MBeanCapability.java:102) at org.jboss.mx.metadata.MBeanCapability.of(MBeanCapability.java:100) at org.jboss.mx.metadata.MBeanCapability.of(MBeanCapability.java:100) at org.jboss.mx.metadata.MBeanCapability.of(MBeanCapability.java:100) at org.jboss.mx.metadata.MBeanCapability.of(MBeanCapability.java:100) at org.jboss.mx.metadata.MBeanCapability.of(MBeanCapability.java:100) at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:193) at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:138) at org.jboss.mx.server.Invocation.invoke(Invocation.java:90) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:140) at org.jboss.mx.server.Invocation.invoke(Invocation.java:90) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) at org.jboss.mx.server.MBeanServerImpl$3.run(MBeanServerImpl.java:1431) at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1426) at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1359) at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:345) at org.jboss.system.ServiceCreator.installPlainMBean(ServiceCreator.java:197) at org.jboss.system.ServiceCreator.install(ServiceCreator.java:115) ... 38 more 15:39:19,953 ERROR [AbstractKernelController] Error installing to Real: name=vfsfile:/C:/jboss-5.0.0.Beta3/server/default/deploy org.jboss.deployment.DeploymentException: Unable to createMBean for jboss.spring:service=SpringApplicationContextDeployer
-
10. Re: Jboss 5 Beta 2 and Spring Deployer
ragavgomatam Jan 1, 2008 4:09 PM (in response to ragavgomatam)Found the cause. It appears that the new jboss-spring.jar under Spring Deployer 3.0 does not have JMX MBean classes in it. Check ou the error I get.
Caused by: javax.management.NotCompliantMBeanException: Class does not expose a management interface: java.lang.Object at org.jboss.mx.metadata.MBeanCapability.of(MBeanCapability.java:102)
My jboss-service.xml is as follows :-<?xml version="1.0" encoding="UTF-8"?> <server> <!-- The JBoss Spring Deployer --> <mbean code="org.jboss.spring.deployers.ApplicationContextDeployer" name="jboss.spring:service=SpringApplicationContextDeployer" /> </server>
My jboss-service.xml for jboss 4.2.1 which worked fine was :-<?xml version="1.0" encoding="UTF-8"?> <server> <!-- The JBoss Spring Deployer --> <mbean code="org.jboss.spring.deployment.SpringApplicationContextDeployer" name="jboss.spring:service=SpringApplicationContextDeployer" /> </server>
This worked fine with jboss-4.2.1 and Spring Deployer 1.3. But with Spring Deployer 3.0, the classes within the jboss-spring.jar have changed & we see no jmx MBean class. So the -service.xml does not deploy with the new jar.
Ales any clues on this ? -
11. Re: Jboss 5 Beta 2 and Spring Deployer
alesj Jan 1, 2008 4:45 PM (in response to ragavgomatam)
I downloaded this directly to my $JBOSS_HOME/server/default/deployers
That's all you need to do.
It's all there.
This is a normal jar file, it just has different suffix, to emphasize that it's a deployer archive.
You don't need any -service.xml file, hence no more MBeans.
The new deployers will recognize the spring-deployers-beans.xml file in the jboss-spring.deployer/meta-inf.
That's where the new configuration is described.
JBoss5 is written on top of Microcontainer, back to POJO style. ;-) -
12. Re: Jboss 5 Beta 3 and Spring Deployer
ragavgomatam Jan 1, 2008 8:21 PM (in response to ragavgomatam)Thanks Ales...That explains it....So then I have my EAR file with ejb3.jar (ejb3 module) and spring-inject.jar (spring module) and ejb3.war (web-module) .
I also have my ejb 3 as :-package com.ejb3.beans; import static javax.ejb.TransactionAttributeType.REQUIRED; import javax.ejb.Stateful; import javax.ejb.TransactionAttribute; import javax.ejb.EJB; import javax.annotation.PostConstruct; import javax.annotation.Resource; import javax.interceptor.ExcludeDefaultInterceptors; import javax.sql.DataSource; import javax.annotation.PreDestroy; import org.springframework.jdbc.core.simple.SimpleJdbcDaoSupport; import org.jboss.annotation.spring.Spring; import com.ejb3.domain.IPerson; import com.ejb3.interfaces.Calculator; import com.ejb3.interfaces.SayHello; /** * @author Ragav * */ @Stateful @TransactionAttribute(REQUIRED) @ExcludeDefaultInterceptors public class SayHelloBean extends SimpleJdbcDaoSupport implements SayHello { @Resource(name = "jdbc/TestDs", type = DataSource.class, shareable = true, mappedName = "java:jdbc/OracleDS") private DataSource ds; @EJB(beanName = "CalculatorBean") private Calculator calculator; @Resource(name = "sqlForEjb") private String sql; @Spring(jndiName = "spring-inject", bean = "person") private IPerson p; public String sayHelloWithEjb3DI() { return "Testing ejb3 DI & your age is " + getSimpleJdbcTemplate().queryForInt(sql); } public double calulate() { return calculator.calculate(2, 3); } @PostConstruct public void init() { setDataSource(ds); } @PreDestroy public void callThis() { System.out.println("Invoking method: preDestroy()"); } public IPerson getPerson() { return this.p; } }
But it appears that annotation @Spring(jndiName = "spring-inject", bean = "person") does not work since the jndiName "spring-inject" is not bound.
This is the error I get :
20:13:40,609 INFO [DefaultListableBeanFactory] Pre-instantiating singletons in factory [org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [/home,ejbLocalIntf]; root of BeanFactory hierarchy]
20:13:40,844 ERROR [STDERR] java.lang.RuntimeException: javax.naming.NameNotFoundException: spring-inject not bound
20:13:40,844 ERROR [STDERR] at org.jboss.ejb3.EJBContainer.construct(EJBContainer.java:727)
20:13:40,844 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulContainer.createBeanContext(StatefulContainer.java:103)
20:13:40,844 ERROR [STDERR] at org.jboss.ejb3.pool.AbstractPool.createBeanContext(AbstractPool.java:130)
20:13:40,844 ERROR [STDERR] at org.jboss.ejb3.pool.AbstractPool.create(AbstractPool.java:79)
20:13:40,844 ERROR [STDERR] at org.jboss.ejb3.InfinitePool.get(InfinitePool.java:56)
20:13:40,844 ERROR [STDERR] at org.jboss.ejb3.pool.ThreadlocalPool.create(ThreadlocalPool.java:58)
20:13:40,844 ERROR [STDERR] at org.jboss.ejb3.pool.ThreadlocalPool.get(ThreadlocalPool.java:113)
If you see, it says that the name "spring-inject" (name of my spring archive within my EAR ) is not bound to jndi.
My application.xml is as follows :-<application xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd" version="5"> <description>Test ejb3 j2ee 5 application</description> <display-name>Ejb3</display-name> <module> <web> <web-uri>Ejb3.war</web-uri> <context-root>ejb3</context-root> </web> </module> <module> <ejb>Ejb3.jar</ejb> </module> <module> <java>spring-inject.jar</java> </module> </application>
-
13. Re: Jboss 5 Beta 2 and Spring Deployer
alesj Jan 2, 2008 6:34 AM (in response to ragavgomatam)Aha, forgot to mention. :-)
The behavior changed a bit, the default name is now the name of the -spring.xml file.
Renaming your -spring.xml file to spring-inject-spring.xml should do the trick.
If that doesn't help, also place your Spring module higher in the application.xml, since the order matters - spring module should be deployed before ejb3 module - if the ejb's use spring beans at some initialization.
If that also doesn't help, we'll need to introduce some dependency in our spring-deployers-beans.xml. -
14. Re: Jboss 5 Beta 2 and Spring Deployer
ragavgomatam Jan 2, 2008 9:19 PM (in response to ragavgomatam)Ales,
As mentioned before, I have an EAR (ejb3.ear) with spring-inject.jar (spring-module) , ejb3.war (web module) and ejb3.jar (ejb 3 module). In my spring-inject.jar under META-INF I have a spring-inject-spring.xml and
in the application .xml I have as follows :-<application xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd" version="5"> <description>Test ejb3 j2ee 5 application</description> <display-name>Ejb3</display-name> <module> <java>spring-inject.jar</java> </module> <module> <web> <web-uri>Ejb3.war</web-uri> <context-root>ejb3</context-root> </web> </module> <module> <ejb>Ejb3.jar</ejb> </module> </application>
My spring-inject-spring.xml under META-INF in spring-inject.jar:-<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:util="http://www.springframework.org/schema/util" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.0.xsd"> <bean id="person" class="com.ejb3.domain.Person"> <property name="firstName" value="Roger" /> <property name="lastName" value="Daniel" /> <property name="age" value="51" /> </bean> </beans>
As you see the spring module is at the top. I still get errors in "spring-inject" not binding in jndi.
Error below :- You see the server is started, ejb deployed, spring interceptor instantiated, javax.naming.NameNotFoundException: spring-inject not bound21:14:28,156 INFO [ServerImpl] JBoss (Microcontainer) [5.0.0.Beta3 (build: SVNTag=JBoss_5_0_0_Beta3 date=200712210026)] Started in 3m:3s:109ms 21:15:42,531 INFO [SpringInjectionInterceptor] Instantiating SpringInjectionInterceptor 21:15:45,328 INFO [MCKernelAbstraction] installing bean: jboss.j2ee:ear=Ejb3.ear,jar=Ejb3.jar,name=CalculatorBean,service=EJB3 with dependencies: 21:15:45,328 INFO [MCKernelAbstraction] and supplies: 21:15:45,328 INFO [MCKernelAbstraction] Class:com.ejb3.interfaces.Calculator 21:15:47,484 INFO [EJBContainer] STARTED EJB: com.ejb3.beans.CalculatorBean ejbName: CalculatorBean 21:15:47,953 INFO [MCKernelAbstraction] installing bean: jboss.j2ee:ear=Ejb3.ear,jar=Ejb3.jar,name=SayHelloBean,service=EJB3 with dependencies: 21:15:47,953 INFO [MCKernelAbstraction] and supplies: 21:15:47,953 INFO [MCKernelAbstraction] Class:com.ejb3.interfaces.SayHello 21:15:49,750 INFO [EJBContainer] STARTED EJB: com.ejb3.beans.SayHelloBean ejbName: SayHelloBean 21:15:50,422 INFO [CollectionFactory] JDK 1.4+ collections available 21:15:50,422 INFO [CollectionFactory] Commons Collections 3.x available 21:15:50,688 INFO [NamedXmlBeanDefinitionReader] Loading XML bean definitions from URL [vfsfile:/C:/jboss-5.0.0.Beta3/server/default/deploy/Ejb3.ear/spring-inject.jar/META-INF/jboss-spring.xml] 21:15:51,906 INFO [NamedXmlApplicationContext] Bean factory for application context [org.jboss.spring.factory.NamedXmlApplicationContext;hashCode=22372262]: org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [person]; root of BeanFactory hierarchy 21:15:51,906 INFO [NamedXmlApplicationContext] 1 beans defined in application context [org.jboss.spring.factory.NamedXmlApplicationContext;hashCode=22372262] 21:15:51,922 INFO [NamedXmlApplicationContext] Unable to locate MessageSource with name 'messageSource': using default [org.springframework.context.support.DelegatingMessageSource@1504d66] 21:15:51,922 INFO [NamedXmlApplicationContext] Unable to locate ApplicationEventMulticaster with name 'applicationEventMulticaster': using default [org.springframework.context.event.SimpleApplicationEventMulticaster@1504f68] 21:15:51,922 INFO [DefaultListableBeanFactory] Pre-instantiating singletons in factory [org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [person]; root of BeanFactory hierarchy] 21:15:52,203 INFO [TomcatDeployment] deploy, ctxPath=/ejb3, vfsUrl=Ejb3.ear/Ejb3.war 21:15:52,516 INFO [ContextLoaderPlugIn] ContextLoaderPlugIn for Struts ActionServlet 'action, module '': initialization started 21:15:52,516 INFO [[/ejb3]] Initializing WebApplicationContext for Struts ActionServlet 'action', module '' 21:15:52,766 INFO [XmlBeanDefinitionReader] Loading XML bean definitions from ServletContext resource [/WEB-INF/spring-ejb3.xml] 21:15:52,906 INFO [XmlWebApplicationContext] Bean factory for application context [WebApplicationContext for namespace 'action-servlet']: org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [/home,ejbLocalIntf]; root of BeanFactory hierarchy 21:15:52,906 INFO [XmlWebApplicationContext] 2 beans defined in application context [WebApplicationContext for namespace 'action-servlet'] 21:15:52,906 INFO [XmlWebApplicationContext] Unable to locate MessageSource with name 'messageSource': using default [org.springframework.context.support.DelegatingMessageSource@246609a] 21:15:52,906 INFO [XmlWebApplicationContext] Unable to locate ApplicationEventMulticaster with name 'applicationEventMulticaster': using default [org.springframework.context.event.SimpleApplicationEventMulticaster@246629b] 21:15:52,922 INFO [UiApplicationContextUtils] Unable to locate ThemeSource with name 'themeSource': using default [org.springframework.ui.context.support.ResourceBundleThemeSource@242a7bb] 21:15:52,922 INFO [DefaultListableBeanFactory] Pre-instantiating singletons in factory [org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [/home,ejbLocalIntf]; root of BeanFactory hierarchy] 21:15:53,156 ERROR [STDERR] java.lang.RuntimeException: javax.naming.NameNotFoundException: spring-inject not bound 21:15:53,156 ERROR [STDERR] at org.jboss.ejb3.EJBContainer.construct(EJBContainer.java:727) 21:15:53,156 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulContainer.createBeanContext(StatefulContainer.java:103) 21:15:53,156 ERROR [STDERR] at org.jboss.ejb3.pool.AbstractPool.createBeanContext(AbstractPool.java:130) 21:15:53,156 ERROR [STDERR] at org.jboss.ejb3.pool.AbstractPool.create(AbstractPool.java:79) 21:15:53,156 ERROR [STDERR] at org.jboss.ejb3.InfinitePool.get(InfinitePool.java:56) 21:15:53,156 ERROR [STDERR] at org.jboss.ejb3.pool.ThreadlocalPool.create(ThreadlocalPool.java:58) 21:15:53,156 ERROR [STDERR] at org.jboss.ejb3.pool.ThreadlocalPool.get(ThreadlocalPool.java:113) 21:15:53,156 ERROR [STDERR] at org.jboss.ejb3.cache.simple.SimpleStatefulCache.create(SimpleStatefulCache.java:351) 21:15:53,156 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulContainer.createSession(StatefulContainer.java:296) 21:15:53,156 ERROR [STDERR] at org.jboss.ejb3.session.SessionContainer.createSession(SessionContainer.java:457) 21:15:53,156 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulLocalProxyFactory.createProxy(StatefulLocalProxyFactory.java:148) 21:15:53,156 ERROR [STDERR] at org.jboss.ejb3.JndiProxyFactory.getObjectInstance(JndiProxyFactory.java:55)