[JBoss JIRA] Commented: (JBAS-3180) Broken MBean operation ServerInfo#displayInfoForClass(String)
by Baptiste MATHUS (JIRA)
[ https://jira.jboss.org/browse/JBAS-3180?page=com.atlassian.jira.plugin.sy... ]
Baptiste MATHUS commented on JBAS-3180:
---------------------------------------
It would be great to reintroduce the feature given by this method, but using tattletale instead. This would be a great help to diagnose deployment/classpath problems.
Cheers
> Broken MBean operation ServerInfo#displayInfoForClass(String)
> -------------------------------------------------------------
>
> Key: JBAS-3180
> URL: https://jira.jboss.org/browse/JBAS-3180
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: System service
> Affects Versions: JBossAS-3.2.7 Final, JBossAS-4.0.1 SP1, JBossAS-4.0.3 SP1
> Reporter: Martin Jachs
> Assignee: Dimitris Andreadis
> Priority: Trivial
> Fix For: JBossAS-4.0.4.SP1, JBossAS-4.0.5.CR1, JBossAS-5.0.0.Beta1
>
>
> The operation tries to delegate to the default loader repository (UnifiedLoaderRepository3) which does not provide the findClass(String) operation.
> 16:26:50,151 [http-0.0.0.0-10080-Processor24] ERROR org.jboss.web.localhost.Engine : StandardWrapperValve[HtmlAdaptor]: Servlet.service() for servlet HtmlAdaptor threw exception
> javax.management.MBeanException: javax.management.ReflectionException
> at org.jboss.mx.server.ReflectedDispatcher.handleInvocationExceptions(ReflectedDispatcher.java:91)
> at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:64)
> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
> at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
> at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:198)
> at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
> at org.jboss.jmx.adaptor.control.Server.invokeOpByName(Server.java:236)
> at org.jboss.jmx.adaptor.control.Server.invokeOp(Server.java:202)
> at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.invokeOp(HtmlAdaptorServlet.java:241)
> at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.processRequest(HtmlAdaptorServlet.java:79)
> at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.doPost(HtmlAdaptorServlet.java:61)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> 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:75)
> 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:214)
> at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
> at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
> at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
> at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:66)
> at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
> at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:162)
> at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
> at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:540)
> at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
> at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
> at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
> at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
> at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:535)
> at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
> at at.co.systema.gf.aop.tomcat.WebInvoker.invoke(WebInvoker.java:52)
> at at.co.systema.gf.aop.tomcat.WebInvoker.invoke(WebInvoker.java:26)
> at at.co.systema.gf.aop.tomcat.WebInvocation.invoke(WebInvocation.java:237)
> at at.co.systema.gf.rt.aop.ThreadContextInterceptor.internalInvoke(ThreadContextInterceptor.java:103)
> at at.co.systema.gf.aop.AbstractInterceptor.invoke(AbstractInterceptor.java:176)
> at at.co.systema.gf.aop.tomcat.WebInvocation.invoke(WebInvocation.java:223)
> at at.co.systema.gf.aop.tomcat.WebContainer.invoke(WebContainer.java:106)
> at at.co.systema.gf.aop.tomcat.InterceptionValve.invoke(InterceptionValve.java:154)
> at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
> at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
> at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
> at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
> at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
> at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> at java.lang.Thread.run(Thread.java:595)
> Caused by: javax.management.ReflectionException
> at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:168)
> at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
> at org.jboss.system.server.ServerInfo.displayInfoForClass(ServerInfo.java:403)
> 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.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
> ... 56 more
> Caused by: java.lang.IllegalArgumentException: Unable to find operation findClass(java.lang.String)
> ... 64 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 10 months
[JBoss JIRA] Created: (JBMETA-300) Web30MetaDataCreator doesn't ignore classes annotated with @Singleton while creating metadata
by jaikiran pai (JIRA)
Web30MetaDataCreator doesn't ignore classes annotated with @Singleton while creating metadata
----------------------------------------------------------------------------------------------
Key: JBMETA-300
URL: https://jira.jboss.org/browse/JBMETA-300
Project: JBoss Metadata
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: web
Affects Versions: jboss-metadata-web-2.0.0-alpha-15
Reporter: jaikiran pai
Assignee: Alexey Loubyansky
Web30MetaDataCreator doesn't ignore @Singleton while creating metadata from classes:
static
{
// Ignoring classes with the the following type annotations
ignoreTypeAnnotations = new HashSet<Class<? extends Annotation>>();
ignoreTypeAnnotations.add(Stateful.class);
ignoreTypeAnnotations.add(Stateless.class);
ignoreTypeAnnotations.add(MessageDriven.class);
ignoreTypeAnnotations.add(Service.class);
ignoreTypeAnnotations.add(Consumer.class);
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 10 months
[JBoss JIRA] Created: (JBVFS-134) IterableTimedVFSCache doesn't cache entries once they get expired
by Toshiya Kobayashi (JIRA)
IterableTimedVFSCache doesn't cache entries once they get expired
-----------------------------------------------------------------
Key: JBVFS-134
URL: https://jira.jboss.org/jira/browse/JBVFS-134
Project: JBoss VFS
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 2.1.3.SP1
Reporter: Toshiya Kobayashi
Assignee: John Bailey
When resolving virtual files,
1. DefaultVFSRegistry checks expiration of root context by IterableTimedVFSCache.findContext() which is implemented based on TimedCachePolicy.getValidKeys()
2. If the context is expired, a new context is created and CachePolicyVFSCache.putContext() is called, but the method checks the existence of cache entry by TimedCachePolicy.peek() which doesn't care about its expiration. Then the new entry won't be inserted into the cache and the expiration time of the old entry won't be updated.
So once cache entries are expired, caching won't work and contexts will be created again and again.
--
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
15 years, 10 months