java.lang.UnsupportedOperationException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • With the attached jboss-portal.sar, I get an exception from Tomcat which baffles me. Somehow the requestdispatcher.include is failing to locate a jsp compiler. I would appreciate if someone else on the portal team gives this a shot and sees the same issue as me. Somehow I feel I might have something stupid, but the jmx-console works fine (jsp compilation is done) How to reproduce: Place the attached jboss-portal.sar and the portal-modified-ds.xml in the deploy directory of your jboss-4.0.4rc1 directory (The error is similar on 4.0.3sp1) and then access http://localhost:8080/portal/ The error seen is: java.lang.IllegalStateException: No Java compiler available org.apache.jasper.JspCompilationContext.createCompiler(JspCompilationContext.java:224) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:559) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) javax.servlet.http.HttpServlet.service(HttpServlet.java:810) org.jboss.portal.theme.LayoutDispatcher.execute(LayoutDispatcher.java:108) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:585) org.jboss.portal.server.servlet.CommandFilter.doFilter(CommandFilter.java:65) org.jboss.portal.theme.LayoutDispatcher.include(LayoutDispatcher.java:143) org.jboss.portal.core.command.RenderPageCommand.renderMarkup(RenderPageCommand.java:178) org.jboss.portal.core.command.RenderPageCommand.renderPortlets(RenderPageCommand.java:351) org.jboss.portal.core.command.RenderPageCommand.execute(RenderPageCommand.java:164) org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCommand.java:78) org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:142) My environment: asaldhana@JBOSS-49354B0A2 ~/jboss-4.0/build/output/jboss-4.0.4RC1/bin $ ./run.sh ========================================================================= JBoss Bootstrap Environment JBOSS_HOME: C:\cygwin\home\asaldhana\jboss-4.0\build\output\jboss-4.0.4RC1 JAVA: /cygdrive/c/java/jdk1.5.0_04/bin/java JAVA_OPTS: -server -Xms128m -Xmx512m -Djboss.server.temp.dir=C:/jboss-temp -Dprogram.name=run.sh CLASSPATH: C:\cygwin\home\asaldhana\jboss-4.0\build\output\jboss-4.0.4RC1\bin\run.jar;c:\java\jdk1.5.0_04\lib\tools.jar =========================================================================
    via by Anil Saldanha,
    • java.lang.UnsupportedOperationException: not implemented at org.jboss.portal.security2.impl.jacc.JACCPortalPermissionCollection.elements(JACCPortalPermissionCollection.java:60) at java.security.PermissionsEnumerator.getNextEnumWithMore(Permissions.java:439) at java.security.PermissionsEnumerator.hasMoreElements(Permissions.java:416) at org.jboss.security.jacc.ContextPolicy.getPermissions(ContextPolicy.java:67) at org.jboss.security.jacc.DelegatingPolicy.getPermissions(DelegatingPolicy.java:237) at org.jboss.mx.loading.UnifiedClassLoader.getPermissions(UnifiedClassLoader.java:240) at java.security.SecureClassLoader.getProtectionDomain(SecureClassLoader.java:155) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) at java.net.URLClassLoader.defineClass(URLClassLoader.java:251) at java.net.URLClassLoader.access$100(URLClassLoader.java:55) at java.net.URLClassLoader$1.run(URLClassLoader.java:194) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:187) at org.jboss.mx.loading.RepositoryClassLoader.findClassLocally(RepositoryClassLoader.java:648) at org.jboss.mx.loading.RepositoryClassLoader.findClass(RepositoryClassLoader.java:628) at java.lang.ClassLoader.loadClass(ClassLoader.java:289) at org.jboss.mx.loading.RepositoryClassLoader.loadClassLocally(RepositoryClassLoader.java:177) at org.jboss.mx.loading.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:131) at org.jboss.mx.loading.LoadMgr3.nextTask(LoadMgr3.java:399) at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:496) at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:392) at java.lang.ClassLoader.loadClass(ClassLoader.java:235) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:141) at org.apache.jasper.JspCompilationContext.createCompiler(JspCompilationContext.java:235) at org.apache.jasper.JspCompilationContext.createCompiler(JspCompilationContext.java:213) at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:570) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.portal.portlet.impl.PortletRequestDispatcherImpl.execute(PortletRequestDispatcherImpl.java:77) 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.portal.server.servlet.CommandFilter.doFilter(CommandFilter.java:65) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672) at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574) at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499) at org.jboss.portal.portlet.impl.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:98) at org.jboss.portal.core.portlet.catalog.CatalogPortlet.render(CatalogPortlet.java:155) at org.jboss.portlet.JBossPortlet.render(JBossPortlet.java:360) at org.jboss.portal.portlet.PortletContainer.invokeRender(PortletContainer.java:552) at org.jboss.portal.portlet.PortletContainer.dispatch(PortletContainer.java:464) at org.jboss.portal.server.app.ComponentInvocation.dispatch(ComponentInvocation.java:79) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:142) at org.jboss.portal.core.aspects.component.TransactionInterceptor.invoke(TransactionInterceptor.java:69) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:37) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132) at org.jboss.portal.core.aspects.component.HeaderInterceptor.invoke(HeaderInterceptor.java:48) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:37) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132) at org.jboss.portal.server.aspects.component.CacheInterceptor.invoke(CacheInterceptor.java:169) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:37) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132) at org.jboss.portal.server.aspects.component.ModesInterceptor.invoke(ModesInterceptor.java:86) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:37) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132) at org.jboss.portal.server.aspects.component.WindowStatesInterceptor.invoke(WindowStatesInterceptor.java:85) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:37) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132) at org.jboss.portal.portlet.aspects.component.SessionPostDispatchInterceptor.invoke(SessionPostDispatchInterceptor.java:82) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:37) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132) at org.jboss.portal.server.aspects.component.ContextDispatcherInterceptor$InvokeNextCommand.execute(ContextDispatcherInterceptor.java:127) 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.portal.server.servlet.CommandServlet.doGet(CommandServlet.java:101) at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672) at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:539) at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499) at org.jboss.portal.server.app.impl.AbstractRequestContext.include(AbstractRequestContext.java:247) at org.jboss.portal.server.aspects.component.ContextDispatcherInterceptor$1.include(ContextDispatcherInterceptor.java:71) at org.jboss.portal.server.servlet.CommandServlet.include(CommandServlet.java:81) at org.jboss.portal.server.aspects.component.ContextDispatcherInterceptor.invoke(ContextDispatcherInterceptor.java:77) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:37) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132) at org.jboss.portal.portlet.aspects.component.SessionPreDispatchInterceptor.invoke(SessionPreDispatchInterceptor.java:108) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:37) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132) at org.jboss.portal.server.aspects.component.ContextTrackerInterceptor.invoke(ContextTrackerInterceptor.java:47) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:37) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132) at org.jboss.portal.portlet.aspects.component.SecureTransportInterceptor.invoke(SecureTransportInterceptor.java:67) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:37) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132) at org.jboss.portal.portlet.aspects.component.ValveInterceptor.invoke(ValveInterceptor.java:62) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:37) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132) at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:177) at org.jboss.portal.core.command.RenderWindowCommand.execute(RenderWindowCommand.java:96) at org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCommand.java:93) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:142) at org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:84) at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132) at org.jboss.portal.core.aspects.controller.PageNavigationInterceptor.invoke(PageNavigationInterceptor.java:77) at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132) at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:80) at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132) at org.jboss.portal.core.aspects.controller.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:59) at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132) at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:177) at org.jboss.portal.core.command.CommandContext.execute(CommandContext.java:102) at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:91) at org.jboss.portal.core.command.CommandContext.chain(CommandContext.java:133) at org.jboss.portal.core.command.RenderPageCommand.renderPortlets(RenderPageCommand.java:251) at org.jboss.portal.core.command.RenderPageCommand.execute(RenderPageCommand.java:176) at org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCommand.java:93) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:142) at org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:84) at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132) at org.jboss.portal.core.aspects.controller.PageNavigationInterceptor.invoke(PageNavigationInterceptor.java:77) at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132) at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:80) at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132) at org.jboss.portal.core.aspects.controller.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:59) at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132) at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:177) at org.jboss.portal.core.command.CommandContext.execute(CommandContext.java:102) at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:91) at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:78) at org.jboss.portal.core.CoreController.handle(CoreController.java:151) 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.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:287) at $Proxy107.handle(Unknown Source) at org.jboss.portal.server.ServerInvocation.dispatch(ServerInvocation.java:76) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:142) at org.jboss.portal.server.aspects.server.NavigationInterceptor.invoke(NavigationInterceptor.java:64) at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132) at org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(ContentTypeInterceptor.java:65) at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132) at org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleInterceptor.java:73) at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132) at org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:226) at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132) at org.jboss.portal.server.aspects.server.SessionInvalidatorInterceptor.invoke(SessionInvalidatorInterceptor.java:84) at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132) at org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(TransactionInterceptor.java:73) at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132) at org.jboss.portal.server.aspects.server.ParametersInterceptor.invoke(ParametersInterceptor.java:107) at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132) at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:177) at org.jboss.portal.server.servlet.PortalServlet.doGet(PortalServlet.java:228) at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:54) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:174) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) at java.lang.Thread.run(Thread.java:534)
    No Bugmate found.