Ok .. here my Stacktrace ....

2003-07-01 17:52:04,656 ERROR [org.jboss.ejb.plugins.LogInterceptor]
EJBException, causedBy:
javax.ejb.TransactionRolledbackLocalException: null; CausedByException is:
   Unexpected Error
java.lang.StackOverflowError
; CausedByException is:
   Unexpected Error
java.lang.StackOverflowError
; CausedByException is:
   null; CausedByException is:
   Unexpected Error
java.lang.StackOverflowError
; CausedByException is:
   Unexpected Error
java.lang.StackOverflowError

   at
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:204)
   at
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:243)
   at
org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:74)
   at
org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:92)
   at
org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:120)
   at
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:93)
   at
org.jboss.ejb.EntityContainer.internalInvokeHome(EntityContainer.java:477)
   at org.jboss.ejb.Container.invoke(Container.java:694)
   at
org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invokeHome(BaseLocalProxyFactory.java:272)
   at
org.jboss.ejb.plugins.local.LocalHomeProxy.invoke(LocalHomeProxy.java:110)
   at $Proxy48.create(Unknown Source)
   at
org.spec.jappserver.mfg.workorderses.ejb.WorkOrderSesEJB.scheduleWorkOrder(WorkOrderSesEJB.java:117)
   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.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:629)
   at
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:186)
   at
org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72)
   at
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)
   at
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:243)
   at
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:104)
   at
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:117)
   at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
   at
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
   at
org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:322)
   at org.jboss.ejb.Container.invoke(Container.java:674)
   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.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
   at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
   at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:101)
   at
org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:83)
   at
org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
   at
org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:45)
   at
org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:100)
   at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:85)
   at $Proxy101.scheduleWorkOrder(Unknown Source)
   at
org.spec.jappserver.webbeans.WorkOrderSesBean.scheduleWorkOrder(WorkOrderSesBean.java:192)
   at
org.apache.jsp.schedule_work_order_jsp._jspService(schedule_work_order_jsp.java:173)
   at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
   at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
   at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
   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)
   at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:939)
   at org.mortbay.http.HttpConnection.handle(HttpConnection.java:792)
   at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:201)
   at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289)
   at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:455)

... And here the code that was sort of responsible for it ...


/** * Method to schedule a work order. * @param assemblyId Assembly Id * @param qty Original Qty * @param dueDate Date when order is due * * @return Workorder id * @exception EJBException if there is a system failure */ public Integer scheduleWorkOrder(String assemblyId, int qty, java.sql .Date dueDate) {

   if (debugging)
       debug.println(3, "scheduleWorkOrder ");

       WorkOrderEntLocal workOrder;
       Integer      woId = null;

try {

/*********************************************************
//    The folowing Line is the one which triggers some bad things to
happen ;(
*********************************************************/
           workOrder = workOrderHome.create(assemblyId, qty, dueDate);

           if (workOrder != null) {
       if (debugging)
           debug.println(3, "Work Order created");
           }

woId = workOrder.getId();

       } catch (CreateException e) {
       if (debugging)
       debug.println(1, "Exception for workorder " + assemblyId
                         + " Exception is : " + e);
           throw new EJBException("Unable to create " + e);
       } catch (EJBException e) {
           debug.printStackTrace(e);
           throw new EJBException(e);
       }

       try {
           workOrder.process();
       if (debugging)
       debug.println(3, "Stage 1 done");
       } catch (IllegalStateException e) {
       if (debugging)
       debug.println(1, "Illegal State exception ");

           throw new EJBException("Unable to process " + e);
       } catch (EJBException e) {
           debug.printStackTrace(e);
           throw new EJBException(e);
       }


return woId; }

By the way ... I din't want to open a bug report, since a simple "it
doesn't work" wouldn't have helped. With
problems I had up to now I could find out why JBoss is doing (or not
doing) what it did and write bug-report.

chris



Alexey Loubyansky wrote:

Tuesday, July 01, 2003, 5:29:53 PM, Christofer Dutz wrote:

CD> Alexey Loubyansky wrote:



Hello Christofer,

I recommend you to switch back to 3.2. 3.2 is our production branch.
EJB/CMP in 3.2 is more stable and feature reach at the moment.



CD> Well I know that this is a beta version. The thing is that as I already CD> said, the 3.2 doesn't work properly (StackOverflowErrors) and I could CD> not find a solution for this problem. The tips I got from this CD> mailinglist didn't work.

Nevertheless, you ask for help in this list ;)

Some more tips from me ;) Switch to the last version of 3.2 and try
again. If there is a StackOverflowException, then, please, submit a
bug report providing the stacktrace.

Feel free to contact me directly in this regard,

alex







------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to