[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-3596) org.jboss.seam.InstantiationException after a few redeploys

Max Rydahl Andersen (JIRA) jira-events at lists.jboss.org
Thu Feb 26 07:32:44 EST 2009


     [ https://jira.jboss.org/jira/browse/JBIDE-3596?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Max Rydahl Andersen updated JBIDE-3596:
---------------------------------------

    Fix Version/s: 3.0.1.GA
                   3.1.0
                       (was: 3.0.0.GA)
         Assignee: Rob Stryker
         Priority: Critical  (was: Major)


No time to make this work for GA.

The permgen issue is the underlying frameworks you should report that to (or set a highger -Xmx flag)

The issue that is important for us is that if the AS was started by us AND is not capable of answering then we should forcefully kill it to allow the ui to work.

> org.jboss.seam.InstantiationException after a few redeploys
> -----------------------------------------------------------
>
>                 Key: JBIDE-3596
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-3596
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>    Affects Versions: 3.0.0.CR2
>         Environment: Eclipse Platform
> Version: 3.4.1
> Build id: M20080911-1700
> jboss tools
> Version: 3.0.0.CR2-N200901190016
>            Reporter: arne anka
>            Assignee: Rob Stryker
>            Priority: Critical
>             Fix For: 3.0.1.GA, 3.1.0
>
>
> after a few redeploys via "jboss server view" -> my app -> rmc -> "full publish"
> instantiation exceptions occur and finally a "java.lang.OutOfMemoryError: PermGen space" (which obviously is rather the cause).
> i recall having had such issues with earlier versions but not for a while, so maybe it's a regression?
> stacktrace:
> 16:09:07,027 INFO  [STDOUT] 16:09:07,027 INFO  [Contexts] starting up: org.jboss.seam.security.identity
> 16:09:09,441 INFO  [STDOUT] 16:09:09,441 INFO  [RuleBase] parsing rules: /security.drl
> 16:09:35,294 ERROR [[/teuchosclient2]] Session event listener threw exception
> org.jboss.seam.InstantiationException: Could not instantiate Seam component: org.jboss.seam.security.identity
> 	at org.jboss.seam.Component.newInstance(Component.java:1970)
> 	at org.jboss.seam.contexts.Contexts.startup(Contexts.java:304)
> 	at org.jboss.seam.contexts.Contexts.startup(Contexts.java:278)
> 	at org.jboss.seam.contexts.Lifecycle.beginSession(Lifecycle.java:191)
> 	at org.jboss.seam.contexts.ServletLifecycle.beginSession(ServletLifecycle.java:124)
> 	at org.jboss.seam.servlet.SeamListener.sessionCreated(SeamListener.java:44)
> 	at org.apache.catalina.session.StandardSession.tellNew(StandardSession.java:397)
> 	at org.apache.catalina.session.StandardSession.setId(StandardSession.java:369)
> 	at org.apache.catalina.session.ManagerBase.createSession(ManagerBase.java:828)
> 	at org.apache.catalina.session.StandardManager.createSession(StandardManager.java:291)
> 	at org.apache.catalina.connector.Request.doGetSession(Request.java:2310)
> 	at org.apache.catalina.connector.Request.getSession(Request.java:2075)
> 	at org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:833)
> 	at com.sun.faces.context.SessionMap.getSession(ExternalContextImpl.java:1002)
> 	at com.sun.faces.context.SessionMap.get(ExternalContextImpl.java:962)
> 	at org.jboss.seam.contexts.BasicContext.get(BasicContext.java:48)
> 	at org.jboss.seam.Component.getInstance(Component.java:1851)
> 	at org.jboss.seam.Component.getInstance(Component.java:1829)
> 	at org.jboss.seam.web.Session.getInstance(Session.java:122)
> 	at org.jboss.seam.contexts.FacesLifecycle.beginRequest(FacesLifecycle.java:54)
> 	at org.jboss.seam.jsf.SeamPhaseListener.beforeRestoreView(SeamPhaseListener.java:366)
> 	at org.jboss.seam.jsf.SeamPhaseListener.beforeServletPhase(SeamPhaseListener.java:137)
> 	at org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:114)
> 	at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:222)
> 	at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
> 	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> 	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
> 	at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
> 	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
> 	at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
> 	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
> 	at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
> 	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
> 	at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
> 	at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
> 	at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
> 	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
> 	at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
> 	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
> 	at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> 	at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
> 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> 	at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
> 	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
> 	at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
> 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
> 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> 	at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
> 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
> 	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> 	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> 	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
> 	at java.lang.Thread.run(Thread.java:595)
> Caused by: java.lang.RuntimeException: exception invoking: compileRuleBase
> 	at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:135)
> 	at org.jboss.seam.Component.callComponentMethod(Component.java:2082)
> 	at org.jboss.seam.Component.callCreateMethod(Component.java:2005)
> 	at org.jboss.seam.Component.newInstance(Component.java:1976)
> 	at org.jboss.seam.Component.getInstance(Component.java:1873)
> 	at org.jboss.seam.Component.getInstance(Component.java:1840)
> 	at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:55)
> 	at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:50)
> 	at org.jboss.seam.el.SeamELResolver.resolveBase(SeamELResolver.java:166)
> 	at org.jboss.seam.el.SeamELResolver.getValue(SeamELResolver.java:53)
> 	at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:53)
> 	at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:64)
> 	at org.jboss.el.parser.AstIdentifier.getValue(AstIdentifier.java:44)
> 	at org.jboss.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
> 	at org.jboss.seam.core.Expressions$1.getValue(Expressions.java:111)
> 	at org.jboss.seam.Component$ELInitialValue.getValue(Component.java:2360)
> 	at org.jboss.seam.Component.initialize(Component.java:1389)
> 	at org.jboss.seam.Component.instantiateJavaBean(Component.java:1315)
> 	at org.jboss.seam.Component.instantiate(Component.java:1268)
> 	at org.jboss.seam.Component.newInstance(Component.java:1966)
> 	... 60 more
> Caused by: java.lang.reflect.InvocationTargetException
> 	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:585)
> 	at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
> 	at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:125)
> 	... 79 more
> Caused by: java.lang.NoClassDefFoundError: org/drools/rule/MapBackedClassLoader
> 	at org.drools.RuleBaseFactory.newRuleBase(RuleBaseFactory.java:57)
> 	at org.drools.RuleBaseFactory.newRuleBase(RuleBaseFactory.java:38)
> 	at org.jboss.seam.drools.RuleBase.compileRuleBase(RuleBase.java:86)
> 	... 85 more
> 16:10:13,304 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception
> 16:10:18,904 ERROR [CachedConnectionValve] Application error: Faces Servlet did not complete its transaction
> 16:10:18,904 ERROR [CoyoteAdapter] An exception or error occurred in the container during the request processing
> java.lang.OutOfMemoryError: PermGen space

-- 
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 jbosstools-issues mailing list