Uploaded image for project: 'EJB 3.0'
  1. EJB 3.0
  2. EJBTHREE-1724

StackOverflow error while deploying EJB3 beans

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • 1.0.0-Beta10
    • proxy
    • None
    • Workaround Exists
    • Hide

      Increase the stack size through JVM options (ex: -Xss2048k)

      JAVA_OPTS="-Xms128m -Xmx512m -XX:MaxPermSize=256m -Xss2048k -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000"

      Show
      Increase the stack size through JVM options (ex: -Xss2048k) JAVA_OPTS="-Xms128m -Xmx512m -XX:MaxPermSize=256m -Xss2048k -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000"

      In the jar-file are my ejb's with their local facades. the jar consists of over 1000 classes.
      there are two interceptors included which will be called on object creation and update. Every facade uses this interceptors with the @Interceptors annotation.
      the creation of database will work, but the deploy fails with an exception:
      10:05:23,263 ERROR [AbstractKernelController] Error installing to Start: name=jboss.j2ee:jar=PROOFCenter-EJB.jar,name=AuftraggebernummerFacade,service=EJB3 state=Create
      java.lang.StackOverflowError

      in the log is also a warning with the interceptors:
      09:54:33,953 WARN [InjectInterceptorsFactory] WEIRDNESS IN AOP: advisor org.jboss.ejb3.aop.ExtendedManagedObjectAdvisor@ff364a

              jaikiran Jaikiran Pai (Inactive)
              Mailman2009 Frank Riedel (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: