[JBoss JIRA] Created: (EJBTHREE-1454) Encapsulate Container infomation in TO/VO
by Andrew Lee Rubinger (JIRA)
Encapsulate Container infomation in TO/VO
-----------------------------------------
Key: EJBTHREE-1454
URL: https://jira.jboss.org/jira/browse/EJBTHREE-1454
Project: EJB 3.0
Issue Type: Task
Components: proxy
Reporter: Andrew Lee Rubinger
Assignee: Andrew Lee Rubinger
Take for instance:
public StatefulSessionProxyFactoryBase(final String name, final String containerName, final String containerGuid,
final JBossSessionBeanMetaData metadata, final ClassLoader classloader, final Advisor advisor)
Where containerName, containerGuid, metadata, CL, and Advisor are all properties of the target container.
This makes for a cluttered API, and affects constructors of Proxy Factories, Handlers, and the JNDI Registrars. Clean it up.
--
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, 8 months
[JBoss JIRA] Created: (JBAS-6923) jboss provides wrong mailsession properties when multiple mailservices are deployed
by Stefan Schueffler (JIRA)
jboss provides wrong mailsession properties when multiple mailservices are deployed
-----------------------------------------------------------------------------------
Key: JBAS-6923
URL: https://jira.jboss.org/jira/browse/JBAS-6923
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: JBossAS-5.0.1.GA, JBossAS-5.0.0.GA
Environment: linux (opensuse 11.1) 64bit
Reporter: Stefan Schueffler
Having more than one MailService deployed (regardless if they are located each in its own xml-file, or if they are combined into one xml-file containing all the mail-related mbeans), jboss returns the wrong properties when retrieving a javax.mail.Session from jndi-context.
After deployment of at least two or more MailService-mbeans, using the jmx-console or twiddle.sh reveals the correct values for the properties in the different MailServices.
But: a javax.mail.Session retrieved from jndi-context always is initialized with the properties of the last deployed MailService, regardless of which of the existing jndi-names is used to lookup this particular mailsession.
Having multiple, different MailServices worked fine in jboss-4.3.x.
This could somehow be related to JBAS-5896
--
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, 8 months
[JBoss JIRA] Created: (JBAS-6845) Queue.jsp does not compile
by Shawn Kerstetter (JIRA)
Queue.jsp does not compile
--------------------------
Key: JBAS-6845
URL: https://jira.jboss.org/jira/browse/JBAS-6845
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: JMX/Web Console
Affects Versions: JBossAS-5.0.1.GA
Reporter: Shawn Kerstetter
Assignee: Darran Lofthouse
Priority: Minor
I get the following error when using the web console to drill down to a Q that I created:
web-console --> jboss domains --> jboss --> j2ee resources --> local jms --> queues --> <my_email_queue>
[exec] 16:41:02,476 ERROR [[jsp]] Servlet.service() for servlet jsp threw e
xception
[exec] org.apache.jasper.JasperException: Unable to compile class for JSP:
[exec]
[exec] An error occurred at line: 10 in the jsp file: /Queue.jsp
[exec] MessageCounter cannot be resolved to a type
[exec] 7: <%
[exec] 8: String resetUrl = response.encodeURL(request.getRequestURI()) +
"?doReset=true&ObjectName=" + java.net.URLEncoder.encode(request.getParameter("O
bjectName"));
[exec] 9: String myUrl = response.encodeURL(request.getRequestURI()) + "?"
+ "&ObjectName=" + java.net.URLEncoder.encode(request.getParameter("ObjectName"
));
[exec] 10: MessageCounter counter = queue.getMessageCounter()[0];
[exec] 11:
[exec] 12: //check reset first
[exec] 13: String doReset = request.getParameter("doReset");
[exec]
[exec]
[exec] An error occurred at line: 10 in the jsp file: /Queue.jsp
[exec] The method getMessageCounter() is undefined for the type QueueMBean
[exec] 7: <%
[exec] 8: String resetUrl = response.encodeURL(request.getRequestURI()) +
"?doReset=true&ObjectName=" + java.net.URLEncoder.encode(request.getParameter("O
bjectName"));
[exec] 9: String myUrl = response.encodeURL(request.getRequestURI()) + "?"
+ "&ObjectName=" + java.net.URLEncoder.encode(request.getParameter("ObjectName"
));
[exec] 10: MessageCounter counter = queue.getMessageCounter()[0];
[exec] 11:
[exec] 12: //check reset first
[exec] 13: String doReset = request.getParameter("doReset");
[exec]
[exec]
[exec] An error occurred at line: 53 in the jsp file: /Queue.jsp
[exec] The method getQueueName() is undefined for the type QueueMBean
[exec] 50: <div class="content_block" style="width: 95%; he
ight: 95%">
[exec] 51: <h3>JMS Queue</h3>
[exec] 52: <h4>Name</h4>
[exec] 53: <p><%=queue.getQueueName()%></p>
[exec] 54: <h4>JNDI Name</h4>
[exec] 55: <p><%=queue.getJNDIName()%></p>
[exec] 56: <h4>Receiver Count</h4>
[exec]
[exec]
[exec] An error occurred at line: 57 in the jsp file: /Queue.jsp
[exec] The method getReceiversCount() is undefined for the type QueueMBean
[exec] 54: <h4>JNDI Name</h4>
[exec] 55: <p><%=queue.getJNDIName()%></p>
[exec] 56: <h4>Receiver Count</h4>
[exec] 57: <p><%=queue.getReceiversCount()%
></p>
[exec] 58: <h4>Message statistics:</h4>
[exec] 59: <table border="1" cellpadding="0" cellsp
acing="0" class="data_table" bordercolor="#111111" width="95%" align="center" id
="AutoNumber1">
[exec] 60: <tr>
[exec]
[exec]
[exec] An error occurred at line: 72 in the jsp file: /Queue.jsp
[exec] The method getQueueDepth() is undefined for the type QueueMBean
[exec] 69: </td>
[exec] 70: </tr>
[exec] 71: <tr align="center">
[exec] 72: <td><%=queue.getQueueDepth()%></td>
[exec] 73: <td><%=counter.getDepthDelta()%></td>
[exec] 74: <td><%=queue.getMaxDepth()%></td>
[exec] 75: </tr>
[exec]
[exec]
[exec] An error occurred at line: 74 in the jsp file: /Queue.jsp
[exec] The method getMaxDepth() is undefined for the type QueueMBean
[exec] 71: <tr align="center">
[exec] 72: <td><%=queue.getQueueDepth()%></td>
[exec] 73: <td><%=counter.getDepthDelta()%></td>
[exec] 74: <td><%=queue.getMaxDepth()%></td>
[exec] 75: </tr>
[exec] 76: </table>
[exec] 77: <p> </p>
[exec]
[exec]
[exec] Stacktrace:
[exec] at org.apache.jasper.compiler.DefaultErrorHandler.javacError(Def
aultErrorHandler.java:92)
[exec] at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDi
spatcher.java:330)
[exec] at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompi
ler.java:439)
[exec] at org.apache.jasper.compiler.Compiler.compile(Compiler.java:335
)
[exec] at org.apache.jasper.compiler.Compiler.compile(Compiler.java:313
)
[exec] at org.apache.jasper.compiler.Compiler.compile(Compiler.java:300
)
[exec] at org.apache.jasper.JspCompilationContext.compile(JspCompilatio
nContext.java:585)
[exec] at org.apache.jasper.servlet.JspServletWrapper.service(JspServle
tWrapper.java:312)
[exec] at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServle
t.java:322)
[exec] at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:
249)
[exec] at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
[exec] at org.apache.catalina.core.ApplicationFilterChain.internalDoFil
ter(ApplicationFilterChain.java:290)
[exec] at org.apache.catalina.core.ApplicationFilterChain.doFilter(Appl
icationFilterChain.java:206)
[exec] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(Reply
HeaderFilter.java:96)
[exec] at org.apache.catalina.core.ApplicationFilterChain.internalDoFil
ter(ApplicationFilterChain.java:235)
[exec] at org.apache.catalina.core.ApplicationFilterChain.doFilter(Appl
icationFilterChain.java:206)
[exec] at org.apache.catalina.core.StandardWrapperValve.invoke(Standard
WrapperValve.java:235)
[exec] at org.apache.catalina.core.StandardContextValve.invoke(Standard
ContextValve.java:191)
[exec] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke
(SecurityAssociationValve.java:190)
[exec] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccCon
textValve.java:92)
[exec] at org.jboss.web.tomcat.security.SecurityContextEstablishmentVal
ve.process(SecurityContextEstablishmentValve.java:126)
[exec] at org.jboss.web.tomcat.security.SecurityContextEstablishmentVal
ve.invoke(SecurityContextEstablishmentValve.java:70)
[exec] at org.apache.catalina.core.StandardHostValve.invoke(StandardHos
tValve.java:127)
[exec] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepor
tValve.java:102)
[exec] at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke
(CachedConnectionValve.java:158)
[exec] at org.apache.catalina.core.StandardEngineValve.invoke(StandardE
ngineValve.java:109)
[exec] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAda
pter.java:330)
[exec] at org.apache.coyote.http11.Http11Processor.process(Http11Proces
sor.java:829)
[exec] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandl
er.process(Http11Protocol.java:601)
[exec] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint
.java:447)
[exec] at java.lang.Thread.run(Thread.java:619)
[exec] 16:41:02,492 ERROR [[jsp]] Servlet.service() for servlet jsp threw e
xception
[exec] java.lang.ClassNotFoundException: org.apache.jsp.Queue_jsp
[exec] at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
[exec] at java.security.AccessController.doPrivileged(Native Method)
[exec] at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
[exec] at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader
.java:135)
[exec] at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader
.java:67)
[exec] at org.jboss.web.tomcat.service.TomcatInjectionContainer.newInst
ance(TomcatInjectionContainer.java:271)
[exec] at org.apache.jasper.servlet.JspServletWrapper.getServlet(JspSer
vletWrapper.java:145)
[exec] at org.apache.jasper.servlet.JspServletWrapper.service(JspServle
tWrapper.java:324)
[exec] at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServle
t.java:322)
[exec] at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:
249)
[exec] at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
[exec] at org.apache.catalina.core.ApplicationFilterChain.internalDoFil
ter(ApplicationFilterChain.java:290)
[exec] at org.apache.catalina.core.ApplicationFilterChain.doFilter(Appl
icationFilterChain.java:206)
[exec] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(Reply
HeaderFilter.java:96)
[exec] at org.apache.catalina.core.ApplicationFilterChain.internalDoFil
ter(ApplicationFilterChain.java:235)
[exec] at org.apache.catalina.core.ApplicationFilterChain.doFilter(Appl
icationFilterChain.java:206)
[exec] at org.apache.catalina.core.StandardWrapperValve.invoke(Standard
WrapperValve.java:235)
[exec] at org.apache.catalina.core.StandardContextValve.invoke(Standard
ContextValve.java:191)
[exec] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke
(SecurityAssociationValve.java:190)
[exec] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccCon
textValve.java:92)
[exec] at org.jboss.web.tomcat.security.SecurityContextEstablishmentVal
ve.process(SecurityContextEstablishmentValve.java:126)
[exec] at org.jboss.web.tomcat.security.SecurityContextEstablishmentVal
ve.invoke(SecurityContextEstablishmentValve.java:70)
[exec] at org.apache.catalina.core.StandardHostValve.invoke(StandardHos
tValve.java:127)
[exec] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepor
tValve.java:102)
[exec] at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke
(CachedConnectionValve.java:158)
[exec] at org.apache.catalina.core.StandardEngineValve.invoke(StandardE
ngineValve.java:109)
[exec] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAda
pter.java:330)
[exec] at org.apache.coyote.http11.Http11Processor.process(Http11Proces
sor.java:829)
[exec] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandl
er.process(Http11Protocol.java:601)
[exec] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint
.java:447)
[exec] at java.lang.Thread.run(Thread.java:619)
[exec] 16:41:08,492 ERROR [[jsp]] Servlet.service() for servlet jsp threw e
xception
[exec] java.lang.ClassNotFoundException: org.apache.jsp.Queue_jsp
[exec] at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
[exec] at java.security.AccessController.doPrivileged(Native Method)
[exec] at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
[exec] at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader
.java:135)
[exec] at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader
.java:67)
[exec] at org.jboss.web.tomcat.service.TomcatInjectionContainer.newInst
ance(TomcatInjectionContainer.java:271)
[exec] at org.apache.jasper.servlet.JspServletWrapper.getServlet(JspSer
vletWrapper.java:145)
[exec] at org.apache.jasper.servlet.JspServletWrapper.service(JspServle
tWrapper.java:324)
[exec] at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServle
t.java:322)
[exec] at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:
249)
[exec] at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
[exec] at org.apache.catalina.core.ApplicationFilterChain.internalDoFil
ter(ApplicationFilterChain.java:290)
[exec] at org.apache.catalina.core.ApplicationFilterChain.doFilter(Appl
icationFilterChain.java:206)
[exec] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(Reply
HeaderFilter.java:96)
[exec] at org.apache.catalina.core.ApplicationFilterChain.internalDoFil
ter(ApplicationFilterChain.java:235)
[exec] at org.apache.catalina.core.ApplicationFilterChain.doFilter(Appl
icationFilterChain.java:206)
[exec] at org.apache.catalina.core.StandardWrapperValve.invoke(Standard
WrapperValve.java:235)
[exec] at org.apache.catalina.core.StandardContextValve.invoke(Standard
ContextValve.java:191)
[exec] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke
(SecurityAssociationValve.java:190)
[exec] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccCon
textValve.java:92)
[exec] at org.jboss.web.tomcat.security.SecurityContextEstablishmentVal
ve.process(SecurityContextEstablishmentValve.java:126)
[exec] at org.jboss.web.tomcat.security.SecurityContextEstablishmentVal
ve.invoke(SecurityContextEstablishmentValve.java:70)
[exec] at org.apache.catalina.core.StandardHostValve.invoke(StandardHos
tValve.java:127)
[exec] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepor
tValve.java:102)
[exec] at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke
(CachedConnectionValve.java:158)
[exec] at org.apache.catalina.core.StandardEngineValve.invoke(StandardE
ngineValve.java:109)
[exec] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAda
pter.java:330)
[exec] at org.apache.coyote.http11.Http11Processor.process(Http11Proces
sor.java:829)
[exec] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandl
er.process(Http11Protocol.java:601)
[exec] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint
.java:447)
[exec] at java.lang.Thread.run(Thread.java:619)
[exec] 16:41:08,492 ERROR [[jsp]] Servlet.service() for servlet jsp threw e
xception
[exec] org.apache.jasper.JasperException: Unable to compile class for JSP:
[exec]
[exec] An error occurred at line: 10 in the jsp file: /Queue.jsp
[exec] MessageCounter cannot be resolved to a type
[exec] 7: <%
[exec] 8: String resetUrl = response.encodeURL(request.getRequestURI()) +
"?doReset=true&ObjectName=" + java.net.URLEncoder.encode(request.getParameter("O
bjectName"));
[exec] 9: String myUrl = response.encodeURL(request.getRequestURI()) + "?"
+ "&ObjectName=" + java.net.URLEncoder.encode(request.getParameter("ObjectName"
));
[exec] 10: MessageCounter counter = queue.getMessageCounter()[0];
[exec] 11:
[exec] 12: //check reset first
[exec] 13: String doReset = request.getParameter("doReset");
[exec]
[exec]
[exec] An error occurred at line: 10 in the jsp file: /Queue.jsp
[exec] The method getMessageCounter() is undefined for the type QueueMBean
[exec] 7: <%
[exec] 8: String resetUrl = response.encodeURL(request.getRequestURI()) +
"?doReset=true&ObjectName=" + java.net.URLEncoder.encode(request.getParameter("O
bjectName"));
[exec] 9: String myUrl = response.encodeURL(request.getRequestURI()) + "?"
+ "&ObjectName=" + java.net.URLEncoder.encode(request.getParameter("ObjectName"
));
[exec] 10: MessageCounter counter = queue.getMessageCounter()[0];
[exec] 11:
[exec] 12: //check reset first
[exec] 13: String doReset = request.getParameter("doReset");
[exec]
[exec]
[exec] An error occurred at line: 53 in the jsp file: /Queue.jsp
[exec] The method getQueueName() is undefined for the type QueueMBean
[exec] 50: <div class="content_block" style="width: 95%; he
ight: 95%">
[exec] 51: <h3>JMS Queue</h3>
[exec] 52: <h4>Name</h4>
[exec] 53: <p><%=queue.getQueueName()%></p>
[exec] 54: <h4>JNDI Name</h4>
[exec] 55: <p><%=queue.getJNDIName()%></p>
[exec] 56: <h4>Receiver Count</h4>
[exec]
[exec]
[exec] An error occurred at line: 57 in the jsp file: /Queue.jsp
[exec] The method getReceiversCount() is undefined for the type QueueMBean
[exec] 54: <h4>JNDI Name</h4>
[exec] 55: <p><%=queue.getJNDIName()%></p>
[exec] 56: <h4>Receiver Count</h4>
[exec] 57: <p><%=queue.getReceiversCount()%
></p>
[exec] 58: <h4>Message statistics:</h4>
[exec] 59: <table border="1" cellpadding="0" cellsp
acing="0" class="data_table" bordercolor="#111111" width="95%" align="center" id
="AutoNumber1">
[exec] 60: <tr>
[exec]
[exec]
[exec] An error occurred at line: 72 in the jsp file: /Queue.jsp
[exec] The method getQueueDepth() is undefined for the type QueueMBean
[exec] 69: </td>
[exec] 70: </tr>
[exec] 71: <tr align="center">
[exec] 72: <td><%=queue.getQueueDepth()%></td>
[exec] 73: <td><%=counter.getDepthDelta()%></td>
[exec] 74: <td><%=queue.getMaxDepth()%></td>
[exec] 75: </tr>
[exec]
[exec]
[exec] An error occurred at line: 74 in the jsp file: /Queue.jsp
[exec] The method getMaxDepth() is undefined for the type QueueMBean
[exec] 71: <tr align="center">
[exec] 72: <td><%=queue.getQueueDepth()%></td>
[exec] 73: <td><%=counter.getDepthDelta()%></td>
[exec] 74: <td><%=queue.getMaxDepth()%></td>
[exec] 75: </tr>
[exec] 76: </table>
[exec] 77: <p> </p>
[exec]
[exec]
[exec] Stacktrace:
[exec] at org.apache.jasper.compiler.DefaultErrorHandler.javacError(Def
aultErrorHandler.java:92)
[exec] at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDi
spatcher.java:330)
[exec] at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompi
ler.java:439)
[exec] at org.apache.jasper.compiler.Compiler.compile(Compiler.java:335
)
[exec] at org.apache.jasper.compiler.Compiler.compile(Compiler.java:313
)
[exec] at org.apache.jasper.compiler.Compiler.compile(Compiler.java:300
)
[exec] at org.apache.jasper.JspCompilationContext.compile(JspCompilatio
nContext.java:585)
[exec] at org.apache.jasper.servlet.JspServletWrapper.service(JspServle
tWrapper.java:312)
[exec] at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServle
t.java:322)
[exec] at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:
249)
[exec] at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
[exec] at org.apache.catalina.core.ApplicationFilterChain.internalDoFil
ter(ApplicationFilterChain.java:290)
[exec] at org.apache.catalina.core.ApplicationFilterChain.doFilter(Appl
icationFilterChain.java:206)
[exec] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(Reply
HeaderFilter.java:96)
[exec] at org.apache.catalina.core.ApplicationFilterChain.internalDoFil
ter(ApplicationFilterChain.java:235)
[exec] at org.apache.catalina.core.ApplicationFilterChain.doFilter(Appl
icationFilterChain.java:206)
[exec] at org.apache.catalina.core.StandardWrapperValve.invoke(Standard
WrapperValve.java:235)
[exec] at org.apache.catalina.core.StandardContextValve.invoke(Standard
ContextValve.java:191)
[exec] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke
(SecurityAssociationValve.java:190)
[exec] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccCon
textValve.java:92)
[exec] at org.jboss.web.tomcat.security.SecurityContextEstablishmentVal
ve.process(SecurityContextEstablishmentValve.java:126)
[exec] at org.jboss.web.tomcat.security.SecurityContextEstablishmentVal
ve.invoke(SecurityContextEstablishmentValve.java:70)
[exec] at org.apache.catalina.core.StandardHostValve.invoke(StandardHos
tValve.java:127)
[exec] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepor
tValve.java:102)
[exec] at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke
(CachedConnectionValve.java:158)
[exec] at org.apache.catalina.core.StandardEngineValve.invoke(StandardE
ngineValve.java:109)
[exec] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAda
pter.java:330)
[exec] at org.apache.coyote.http11.Http11Processor.process(Http11Proces
sor.java:829)
[exec] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandl
er.process(Http11Protocol.java:601)
[exec] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint
.java:447)
[exec] at java.lang.Thread.run(Thread.java:619)
--
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, 8 months
[JBoss JIRA] Created: (JBAS-7060) Unable to set attributes for MBeans with quoted object name
by Jeff Mesnil (JIRA)
Unable to set attributes for MBeans with quoted object name
-----------------------------------------------------------
Key: JBAS-7060
URL: https://jira.jboss.org/jira/browse/JBAS-7060
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: JMX/Web Console
Affects Versions: JBossAS-5.1.0.GA
Reporter: Jeff Mesnil
Assignee: Darran Lofthouse
While integration JBoss Messaging 2.0.0.Beta3 to AS 5.1.0.GA, I found an issue when I want to update attributes for one of our MBeans which has a quoted ObjectName. The ObjectName is not properly encoded by the Servlet and an exception is thrown by the MBean registry which claims the mbean is not registered.
The ObjectName is: module=JMS,name="DLQ",type=Queue
- the *name* value is quoted
When I display this mbean in the jmx console, the corresponding form to update the attributes has a field:
<input type="hidden" name="name" value="org.jboss.messaging:module=JMS,type=Queue,name="DLQ"" />
The quotes of the ObjectNames are not properly encoded which results in a bogus object name when applying changes:
0:57:16,082 ERROR [[HtmlAdaptor]] "Servlet.service()" pour la servlet HtmlAdaptor a genere une exception
javax.management.InstanceNotFoundException: org.jboss.messaging:module=JMS,type=Queue,name= is not registered.
at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:526)
at org.jboss.mx.server.MBeanServerImpl.getMBeanInfo(MBeanServerImpl.java:675)
at org.jboss.jmx.adaptor.control.Server.setAttributes(Server.java:172)
at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet$5.run(HtmlAdaptorServlet.java:403)
at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet$5.run(HtmlAdaptorServlet.java:401)
at java.security.AccessController.doPrivileged(Native Method)
at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.setAttributes(HtmlAdaptorServlet.java:399)
at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.updateAttributes(HtmlAdaptorServlet.java:259)
at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.processRequest(HtmlAdaptorServlet.java:102)
at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.doPost(HtmlAdaptorServlet.java:86)
This bug prevents to update many MBeans required to managed properly JBoss Messaging when it is integrated in the AS.
--
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, 8 months