<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    datasource not bound?
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="http://community.jboss.org/people/frh10">frh10 ff</a> in <i>JNDI and Naming</i> - <a href="http://community.jboss.org/message/577688#577688">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p> Hi !</p><p>&#160;&#160;&#160;&#160; I use jboss5.1.0.GA and set a datasource in it.I can get connections with lookup this datasource(context.lookup("java:/MSSQLDS")) in standalone application(MSSQLDS works well),but when i put the same code to MDB to lookup this datasource and deploy it,jboss throw a error:MSSQLDS not bound.Here is the log.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>2010-12-28 09:29:55,339 ERROR [STDERR] (Thread-3 (group:HornetQ-client-global-threads-10422804)) javax.naming.NameNotFoundException: MSSQLDS not bound<br/>2010-12-28 09:29:55,339 ERROR [STDERR] (Thread-3 (group:HornetQ-client-global-threads-10422804))&#160; at org.jnp.server.NamingServer.getBinding(NamingServer.java:771)<br/>2010-12-28 09:29:55,339 ERROR [STDERR] (Thread-3 (group:HornetQ-client-global-threads-10422804))&#160; at org.jnp.server.NamingServer.getBinding(NamingServer.java:779)<br/>2010-12-28 09:29:55,340 ERROR [STDERR] (Thread-3 (group:HornetQ-client-global-threads-10422804))&#160; at org.jnp.server.NamingServer.getObject(NamingServer.java:785)<br/>2010-12-28 09:29:55,340 ERROR [STDERR] (Thread-3 (group:HornetQ-client-global-threads-10422804))&#160; at org.jnp.server.NamingServer.lookup(NamingServer.java:443)<br/>2010-12-28 09:29:55,340 ERROR [STDERR] (Thread-3 (group:HornetQ-client-global-threads-10422804))&#160; at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:726)<br/>2010-12-28 09:29:55,340 ERROR [STDERR] (Thread-3 (group:HornetQ-client-global-threads-10422804))&#160; at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:686)<br/>2010-12-28 09:29:55,341 ERROR [STDERR] (Thread-3 (group:HornetQ-client-global-threads-10422804))&#160; at javax.naming.InitialContext.lookup(InitialContext.java:392)<br/>2010-12-28 09:29:55,341 ERROR [STDERR] (Thread-3 (group:HornetQ-client-global-threads-10422804))&#160; at ejb.SelectMDB.onMessage(SelectMDB.java:54)<br/>2010-12-28 09:29:55,341 ERROR [STDERR] (Thread-3 (group:HornetQ-client-global-threads-10422804))&#160; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br/>2010-12-28 09:29:55,341 ERROR [STDERR] (Thread-3 (group:HornetQ-client-global-threads-10422804))&#160; at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br/>2010-12-28 09:29:55,341 ERROR [STDERR] (Thread-3 (group:HornetQ-client-global-threads-10422804))&#160; at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br/>2010-12-28 09:29:55,342 ERROR [STDERR] (Thread-3 (group:HornetQ-client-global-threads-10422804))&#160; at java.lang.reflect.Method.invoke(Method.java:597)<br/>2010-12-28 09:29:55,342 ERROR [STDERR] (Thread-3 (group:HornetQ-client-global-threads-10422804))&#160; at org.jboss.aop.joinpoint.MethodInvocation.invokeTarget(MethodInvocation.java:122)<br/>2010-12-28 09:29:55,342 ERROR [STDERR] (Thread-3 (group:HornetQ-client-global-threads-10422804))&#160; at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111)<br/>2010-12-28 09:29:55,342 ERROR [STDERR] (Thread-3 (group:HornetQ-client-global-threads-10422804))&#160; at org.jboss.ejb3.EJBContainerInvocationWrapper.invokeNext(EJBContainerInvocationWrapper.java:69)<br/>2010-12-28 09:29:55,342 ERROR [STDERR] (Thread-3 (group:HornetQ-client-global-threads-10422804))&#160; at org.jboss.ejb3.interceptors.aop.InterceptorSequencer.invoke(InterceptorSequencer.java:73)<br/>2010-12-28 09:29:55,343 ERROR [STDERR] (Thread-3 (group:HornetQ-client-global-threads-10422804))&#160; at org.jboss.ejb3.interceptors.aop.InterceptorSequencer.aroundInvoke(InterceptorSequencer.java:59)<br/>2010-12-28 09:29:55,343 ERROR [STDERR] (Thread-3 (group:HornetQ-client-global-threads-10422804))&#160; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br/>2010-12-28 09:29:55,343 ERROR [STDERR] (Thread-3 (group:HornetQ-client-global-threads-10422804))&#160; at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br/>2010-12-28 09:29:55,343 ERROR [STDERR] (Thread-3 (group:HornetQ-client-global-threads-10422804))&#160; at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br/>2010-12-28 09:29:55,343 ERROR [STDERR] (Thread-3 (group:HornetQ-client-global-threads-10422804))&#160; at java.lang.reflect.Method.invoke(Method.java:597)<br/>2010-12-28 09:29:55,343 ERROR [STDERR] (Thread-3 (group:HornetQ-client-global-threads-10422804))&#160; at org.jboss.aop.advice.PerJoinpointAdvice.invoke(PerJoinpointAdvice.java:174)<br/>2010-12-28 09:29:55,343 ERROR [STDERR] (Thread-3 (group:HornetQ-client-global-threads-10422804))&#160; at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)<br/>2010-12-28 09:29:55,344 ERROR [STDERR] (Thread-3 (group:HornetQ-client-global-threads-10422804))&#160; at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.fillMethod(InvocationContextInterceptor.java:72)<br/>2010-12-28 09:29:55,344 ERROR [STDERR] (Thread-3 (group:HornetQ-client-global-threads-10422804))&#160; at org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_fillMethod_22116759.invoke(InvocationContextInterceptor_z_fillMethod_22116759.java)<br/>2010-12-28 09:29:55,344 ERROR [STDERR] (Thread-3 (group:HornetQ-client-global-threads-10422804))&#160; at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)<br/>2010-12-28 09:29:55,344 ERROR [STDERR] (Thread-3 (group:HornetQ-client-global-threads-10422804))&#160; at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.setup(InvocationContextInterceptor.java:88)<br/>2010-12-28 09:29:55,344 ERROR [STDERR] (Thread-3 (group:HornetQ-client-global-threads-10422804))&#160; at org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_setup_22116759.invoke(InvocationContextInterceptor_z_setup_22116759.java)<br/>2010-12-28 09:29:55,345 ERROR [STDERR] (Thread-3 (group:HornetQ-client-global-threads-10422804))&#160; at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)<br/>2010-12-28 09:29:55,345 ERROR [STDERR] (Thread-3 (group:HornetQ-client-global-threads-10422804))&#160; at org.jboss.ejb3.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:62)<br/>2010-12-28 09:29:55,345 ERROR [STDERR] (Thread-3 (group:HornetQ-client-global-threads-10422804))&#160; at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)<br/>2010-12-28 09:29:55,345 ERROR [STDERR] (Thread-3 (group:HornetQ-client-global-threads-10422804))&#160; at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:56)<br/>2010-12-28 09:29:55,346 ERROR [STDERR] (Thread-3 (group:HornetQ-client-global-threads-10422804))&#160; at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)<br/>2010-12-28 09:29:55,346 ERROR [STDERR] (Thread-3 (group:HornetQ-client-global-threads-10422804))&#160; at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)<br/>2010-12-28 09:29:55,346 ERROR [STDERR] (Thread-3 (group:HornetQ-client-global-threads-10422804))&#160; at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)<br/>2010-12-28 09:29:55,346 ERROR [STDERR] (Thread-3 (group:HornetQ-client-global-threads-10422804))&#160; at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42)<br/>2010-12-28 09:29:55,347 ERROR [STDERR] (Thread-3 (group:HornetQ-client-global-threads-10422804))&#160; at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)<br/>2010-12-28 09:29:55,347 ERROR [STDERR] (Thread-3 (group:HornetQ-client-global-threads-10422804))&#160; at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:68)<br/>2010-12-28 09:29:55,347 ERROR [STDERR] (Thread-3 (group:HornetQ-client-global-threads-10422804))&#160; at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)<br/>2010-12-28 09:29:55,347 ERROR [STDERR] (Thread-3 (group:HornetQ-client-global-threads-10422804))&#160; at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)<br/>2010-12-28 09:29:55,347 ERROR [STDERR] (Thread-3 (group:HornetQ-client-global-threads-10422804))&#160; at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:194)<br/>2010-12-28 09:29:55,348 ERROR [STDERR] (Thread-3 (group:HornetQ-client-global-threads-10422804))&#160; at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)<br/>2010-12-28 09:29:55,348 ERROR [STDERR] (Thread-3 (group:HornetQ-client-global-threads-10422804))&#160; at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42)<br/>2010-12-28 09:29:55,348 ERROR [STDERR] (Thread-3 (group:HornetQ-client-global-threads-10422804))&#160; at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)<br/>2010-12-28 09:29:55,348 ERROR [STDERR] (Thread-3 (group:HornetQ-client-global-threads-10422804))&#160; at org.jboss.ejb3.security.Ejb3AuthenticationInterceptorv2.invoke(Ejb3AuthenticationInterceptorv2.java:80)<br/>2010-12-28 09:29:55,348 ERROR [STDERR] (Thread-3 (group:HornetQ-client-global-threads-10422804))&#160; at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)<br/>2010-12-28 09:29:55,349 ERROR [STDERR] (Thread-3 (group:HornetQ-client-global-threads-10422804))&#160; at org.jboss.ejb3.BlockContainerShutdownInterceptor.invoke(BlockContainerShutdownInterceptor.java:67)<br/>2010-12-28 09:29:55,349 ERROR [STDERR] (Thread-3 (group:HornetQ-client-global-threads-10422804))&#160; at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)<br/>2010-12-28 09:29:55,349 ERROR [STDERR] (Thread-3 (group:HornetQ-client-global-threads-10422804))&#160; at org.jboss.aspects.currentinvocation.CurrentInvocationInterceptor.invoke(CurrentInvocationInterceptor.java:67)<br/>2010-12-28 09:29:55,349 ERROR [STDERR] (Thread-3 (group:HornetQ-client-global-threads-10422804))&#160; at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)<br/>2010-12-28 09:29:55,349 ERROR [STDERR] (Thread-3 (group:HornetQ-client-global-threads-10422804))&#160; at org.jboss.ejb3.mdb.MessagingContainer.localInvoke(MessagingContainer.java:282)<br/>2010-12-28 09:29:55,350 ERROR [STDERR] (Thread-3 (group:HornetQ-client-global-threads-10422804))&#160; at org.jboss.ejb3.mdb.inflow.MessageInflowLocalProxy.delivery(MessageInflowLocalProxy.java:270)<br/>2010-12-28 09:29:55,350 ERROR [STDERR] (Thread-3 (group:HornetQ-client-global-threads-10422804))&#160; at org.jboss.ejb3.mdb.inflow.MessageInflowLocalProxy.invoke(MessageInflowLocalProxy.java:140)<br/>2010-12-28 09:29:55,350 ERROR [STDERR] (Thread-3 (group:HornetQ-client-global-threads-10422804))&#160; at $Proxy302.onMessage(Unknown Source)<br/>2010-12-28 09:29:55,350 ERROR [STDERR] (Thread-3 (group:HornetQ-client-global-threads-10422804))&#160; at org.hornetq.ra.inflow.HornetQMessageHandler.onMessage(HornetQMessageHandler.java:256)<br/>2010-12-28 09:29:55,351 ERROR [STDERR] (Thread-3 (group:HornetQ-client-global-threads-10422804))&#160; at org.hornetq.core.client.impl.ClientConsumerImpl.callOnMessage(ClientConsumerImpl.java:822)<br/>2010-12-28 09:29:55,351 ERROR [STDERR] (Thread-3 (group:HornetQ-client-global-threads-10422804))&#160; at org.hornetq.core.client.impl.ClientConsumerImpl.access$100(ClientConsumerImpl.java:46)<br/>2010-12-28 09:29:55,351 ERROR [STDERR] (Thread-3 (group:HornetQ-client-global-threads-10422804))&#160; at org.hornetq.core.client.impl.ClientConsumerImpl$Runner.run(ClientConsumerImpl.java:940)<br/>2010-12-28 09:29:55,351 ERROR [STDERR] (Thread-3 (group:HornetQ-client-global-threads-10422804))&#160; at org.hornetq.utils.OrderedExecutorFactory$OrderedExecutor$1.run(OrderedExecutorFactory.java:100)<br/>2010-12-28 09:29:55,351 ERROR [STDERR] (Thread-3 (group:HornetQ-client-global-threads-10422804))&#160; at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)<br/>2010-12-28 09:29:55,352 ERROR [STDERR] (Thread-3 (group:HornetQ-client-global-threads-10422804))&#160; at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)<br/>2010-12-28 09:29:55,352 ERROR [STDERR] (Thread-3 (group:HornetQ-client-global-threads-10422804))&#160; at java.lang.Thread.run(Thread.java:619)<br/>2010-12-28 09:29:55,400 ERROR [org.jboss.aspects.tx.TxPolicy] (Thread-3 (group:HornetQ-client-global-threads-10422804)) javax.ejb.EJBTransactionRolledbackException<br/>2010-12-28 09:29:55,401 ERROR [org.hornetq.ra.inflow.HornetQMessageHandler] (Thread-3 (group:HornetQ-client-global-threads-10422804)) Failed to deliver message<br/>javax.ejb.EJBTransactionRolledbackException<br/> at org.jboss.ejb3.tx.Ejb3TxPolicy.handleInCallerTx(Ejb3TxPolicy.java:115)<br/> at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:130)<br/> at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:194)<br/> at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)<br/> at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42)<br/> at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)<br/> at org.jboss.ejb3.security.Ejb3AuthenticationInterceptorv2.invoke(Ejb3AuthenticationInterceptorv2.java:80)<br/> at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)<br/> at org.jboss.ejb3.BlockContainerShutdownInterceptor.invoke(BlockContainerShutdownInterceptor.java:67)<br/> at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)<br/> at org.jboss.aspects.currentinvocation.CurrentInvocationInterceptor.invoke(CurrentInvocationInterceptor.java:67)<br/> at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)<br/> at org.jboss.ejb3.mdb.MessagingContainer.localInvoke(MessagingContainer.java:282)<br/> at org.jboss.ejb3.mdb.inflow.MessageInflowLocalProxy.delivery(MessageInflowLocalProxy.java:270)<br/> at org.jboss.ejb3.mdb.inflow.MessageInflowLocalProxy.invoke(MessageInflowLocalProxy.java:140)<br/> at $Proxy302.onMessage(Unknown Source)<br/> at org.hornetq.ra.inflow.HornetQMessageHandler.onMessage(HornetQMessageHandler.java:256)<br/> at org.hornetq.core.client.impl.ClientConsumerImpl.callOnMessage(ClientConsumerImpl.java:822)<br/> at org.hornetq.core.client.impl.ClientConsumerImpl.access$100(ClientConsumerImpl.java:46)<br/> at org.hornetq.core.client.impl.ClientConsumerImpl$Runner.run(ClientConsumerImpl.java:940)<br/> at org.hornetq.utils.OrderedExecutorFactory$OrderedExecutor$1.run(OrderedExecutorFactory.java:100)<br/> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)<br/> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)<br/> at java.lang.Thread.run(Thread.java:619)<br/>Caused by: java.lang.NullPointerException<br/> at ejb.SelectMDB.onMessage(SelectMDB.java:70)<br/> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br/> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br/> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br/> at java.lang.reflect.Method.invoke(Method.java:597)<br/> at org.jboss.aop.joinpoint.MethodInvocation.invokeTarget(MethodInvocation.java:122)<br/> at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111)<br/> at org.jboss.ejb3.EJBContainerInvocationWrapper.invokeNext(EJBContainerInvocationWrapper.java:69)<br/> at org.jboss.ejb3.interceptors.aop.InterceptorSequencer.invoke(InterceptorSequencer.java:73)<br/> at org.jboss.ejb3.interceptors.aop.InterceptorSequencer.aroundInvoke(InterceptorSequencer.java:59)<br/> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br/> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br/> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br/> at java.lang.reflect.Method.invoke(Method.java:597)<br/> at org.jboss.aop.advice.PerJoinpointAdvice.invoke(PerJoinpointAdvice.java:174)<br/> at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)<br/> at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.fillMethod(InvocationContextInterceptor.java:72)<br/> at org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_fillMethod_22116759.invoke(InvocationContextInterceptor_z_fillMethod_22116759.java)<br/> at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)<br/> at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.setup(InvocationContextInterceptor.java:88)<br/> at org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_setup_22116759.invoke(InvocationContextInterceptor_z_setup_22116759.java)<br/> at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)<br/> at org.jboss.ejb3.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:62)<br/> at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)<br/> at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:56)<br/> at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)<br/> at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)<br/> at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)<br/> at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42)<br/> at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)<br/> at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:68)<br/> at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)<br/> at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)<br/> ... 22 more</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>How can i solve this error?Thands!</p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/577688#577688">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in JNDI and Naming at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2083">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>