I'm working on JBoss 3.0.8.
I am trying to call an EJB Session Bean method via SOAP/Axis. The bean 
method is marked @ejb.transaction-type = "never" because it calls 3 other 
session beans that handle their own transactions.

According to the stack trace, the Axis RPCProvider.invokeMethod is 
eventually trying to run with Transactions. Should it not obey the 
transaction type info from ejb-jar.xml?
Any help is appreciated.

I get the following stack trace:
javax.ejb.EJBException: Transaction not allowed
        at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:330)
        at 
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:98)
        at 
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:130)
        at 
org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:208)
        at 
org.jboss.ejb.StatelessSessionContainer.invoke(StatelessSessionContainer.java:313)
        at org.jboss.ejb.Container.invoke(Container.java:738)
        at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
        at 
org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:99)
        at 
org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:102)
        at 
org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:77)
        at 
org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:80)
        at 
org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:111)
        at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:76)
        at $Proxy185.issueCard(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at 
org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:347)
        at 
org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:225)
        at 
org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:263)
        at 
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
        at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:154)
        at org.apache.axis.SimpleChain.invoke(SimpleChain.java:121)
        at org.apache.axis.server.AxisServer.invoke(AxisServer.java:288)
        at 
org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:543)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at 
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:360)
        at 
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294)
        at 
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:558)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1714)
        at 
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:507)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1664)
        at org.mortbay.http.HttpServer.service(HttpServer.java:863)
        at org.jboss.jetty.Jetty.service(Jetty.java:460)
        at 
org.mortbay.http.HttpConnection.service(HttpConnection.java:775)
Ciao,
Jonathan O'Connor
XCOM Dublin


-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to