[jboss-jira] [JBoss JIRA] Commented: (EJBTHREE-1724) StackOverflow error while deploying EJB3 beans
jaikiran pai (JIRA)
jira-events at lists.jboss.org
Thu Mar 19 11:36:23 EDT 2009
[ https://jira.jboss.org/jira/browse/EJBTHREE-1724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12458160#action_12458160 ]
jaikiran pai commented on EJBTHREE-1724:
----------------------------------------
While working on another user reported issue, i was able to reproduce this StackOverFlowError with the default JVM settings that are shipped in the AS. The sample application (attached) has 250 EJBs when the Stackoverflow was thrown.
As an workaround, i added -Xss2048k to the JVM options and started the server. Deployment went off fine.
This is just an workaround. The issue needs a proper fix.
> StackOverflow error while deploying EJB3 beans
> ----------------------------------------------
>
> Key: EJBTHREE-1724
> URL: https://jira.jboss.org/jira/browse/EJBTHREE-1724
> Project: EJB 3.0
> Issue Type: Bug
> Components: proxy
> Affects Versions: 1.0.0-Beta10
> Environment: JBoss Bootstrap Environment
> JBOSS_HOME: C:\Server\jboss-5.0.0.GA
> JAVA: C:\Programme\Java\jdk1.6.0_10\bin\java
> JAVA_OPTS: -Dprogram.name=run.bat -server -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
> CLASSPATH: C:\Server\jboss-5.0.0.GA\bin\run.jar
> Reporter: Frank Riedel
> Assignee: jaikiran pai
>
> 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 at ff364a
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list