[JBoss Cache: Core Edition] - RPCManager statistics exception
by zeravlai
Hi all,
I have an entity cache configured and I'd like to activate RPCManager statistics in order to know the number of successful / failed replications in the cluster, but I'm getting an exception when doing it through the JMX web console (click on true and apply changes):
23:21:58,219 ERROR [[HtmlAdaptor]] Servlet.service() para servlet HtmlAdaptor lanzó excepción
| [exec] javax.management.MalformedObjectNameException: Key properties cannot be empty
| [exec] at javax.management.ObjectName.construct(ObjectName.java:467)
| [exec] at javax.management.ObjectName.<init>(ObjectName.java:1403)
| [exec] at org.jboss.jmx.adaptor.control.Server.setAttributes(Server.java:171)
| [exec] at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet$5.run(HtmlAdaptorServlet.java:403)
| [exec] at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet$5.run(HtmlAdaptorServlet.java:400)
| [exec] at java.security.AccessController.doPrivileged(Native Method)
| [exec] at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.setAttributes(HtmlAdaptorServlet.java:399)
| [exec] at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.updateAttributes(HtmlAdaptorServlet.java:259)
| [exec] at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.processRequest(HtmlAdaptorServlet.java:102)
| [exec] at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.doPost(HtmlAdaptorServlet.java:86)
| [exec] at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
| [exec] at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
| [exec] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
| [exec] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| [exec] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| [exec] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
| [exec] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| [exec] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
| [exec] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
| [exec] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
| [exec] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
| [exec] at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
| [exec] at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
| [exec] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
| [exec] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
| [exec] at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
| [exec] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
| [exec] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
| [exec] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
| [exec] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.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)
Is there any config param that I'm missing?
Thanks a lot !!
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4226804#4226804
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4226804
17 years, 2 months
[JBossWS] - http proxy error profile
by zurchman
Does this error profile suggest anything to anyone?
The program sets endpoints dynamically and works correctly with two of four endpoints. The trace below is from one of the endpoints that fails.
I don't recall seeing the "Squid" message on the endpoints that work. It appears that the client fails immediately without waiting for a response from the service.
This is the latest JBossWS native stack installed in jboss-4.2.3.GA.
16:45:16,158 TRACE SOAPMessageUnMarshallerHTTP:62 - Read input tream with metadata={Proxy-Connection=[close], Date=[Sun, 26 Apr 2009 20:44:35 GMT], Content-Type=[text/html], NoThrowOnError=true, ResponseCode=501, Content-Length=[1206], Expires=[Sun, 26 Apr 2009 20:44:35 GMT], ResponseCodeMessage=Not Implemented, X-Cache-Lookup=[NONE from [default_router]:3128], X-Squid-Error=[ERR_UNSUP_REQ 0], HEADER={SOAPAction="http://[service_Qname]", Content-Type=text/xml; charset=UTF-8}, Server=[squid/2.5.STABLE9], Mime-Version=[1.0], X-Cache=[MISS from [default_router]]}
| 16:45:16,174 ERROR CommonClient:404 - Exception caught while preparing for) performing the invocation:
| java.io.IOException: Could not transmit message
| at org.jboss.ws.core.client.HTTPRemotingConnection.invoke(HTTPRemotingConnection.java:265)
| at org.jboss.ws.core.client.SOAPProtocolConnectionHTTP.invoke(SOAPProtocolConnectionHTTP.java:71)
| at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:340)
| at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:290)
| at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:170)
| at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:150)
| at $Proxy26.quote(Unknown Source)
| at [test_op]([test_program].java:386)
| at ...
| Caused by: org.jboss.remoting.CannotConnectException: Can not connect http client invoker. Invalid HTTP server response [501] - Not Implemented. Response: Not Implemented/501.
| at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:348)
| at org.jboss.remoting.transport.http.HTTPClientInvoker.transport(HTTPClientInvoker.java:137)
| at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122)
| at org.jboss.remoting.Client.invoke(Client.java:1634)
| at org.jboss.remoting.Client.invoke(Client.java:548)
| at org.jboss.ws.core.client.HTTPRemotingConnection.invoke(HTTPRemotingConnection.java:243)
| ... 9 more
| Caused by: org.jboss.ws.WSException: Invalid HTTP server response [501] - Not Implemented
| at org.jboss.ws.core.soap.SOAPMessageUnMarshallerHTTP.read(SOAPMessageUnMarshallerHTTP.java:75)
| at org.jboss.remoting.transport.http.HTTPClientInvoker.readResponse(HTTPClientInvoker.java:518)
| at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:307)
| ... 14 more
| 16:45:16,177 DEBUG MessageContextJAXWS:106 - Begin response processing
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4226801#4226801
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4226801
17 years, 2 months
[JBoss jBPM] - Bean deployment question
by tttito
I am using a Bean in a JSF page. I have registered the bean in .../jboss-5.0.0.GA\server\default\deploy\jbpm\jsf-console.war\WEB-INF\faces-config.xml
...
</application>
| <managed-bean>
| <managed-bean-name>InstallBean</managed-bean-name>
| <managed-bean-class>com.cart.jbpm.InstallBean</managed-bean-class>
| <managed-bean-scope>request</managed-bean-scope>
| </managed-bean>
| </faces-config>
After deployment from eclipse to /jbpm-console/upload I get that the app cannot find my bean.
javax.servlet.ServletException: Unable to create managed bean InstallBean. The following problems were found:
| - Bean or property class com.cart.jbpm.InstallBean for managed bean InstallBean cannot be found.
| javax.faces.webapp.FacesServlet.service(FacesServlet.java:270)
| org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96
|
I have also copied my InstallBean.class to ...\jboss-5.0.0.GA\server\default\deploy\jbpm\jsf-console.war\WEB-INF\classes\com\cart\jbpm
, but it's still not working.
My obvious question is: where should I put my bean class?
Thanks in advance for your attention.
t
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4226791#4226791
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4226791
17 years, 2 months
[Beginners Corner] - Missing SecurityProxy.class in jboss5.0 application
by JRookie_2402
Hi all,
I am trying to build a security related application for jboss5.0.0GA
While buiding with ant I get
[javac] F:\Entwicklung\JBoss_5.0\jw-0215-ejbsecurity\example\src\main\com\mkeym\customsec\ejb\TradingAccountSecurityProxy.java:16: canno
| t find symbol
| [javac] symbol : class SecurityProxy
| [javac] location: package org.jboss.security
| [javac] import org.jboss.security.SecurityProxy;
|
| So I guess it is the class SecurityProxy and a jar that keeps it that is missing. I searched for a jar and found
| http://www.java2s.com/Code/Jar/jboss-5.0.0.Beta2/Downloadjbosssxclientjar...
| where I found
| org.jboss.security.SecurityProxy.class
| So I downloaded the jbossx-client.jar, dated 05.04.2007. The error now is
|
| [javac] F:\Entwicklung\JBoss_5.0\jw-0215-ejbsecurity\example\src\main\com\mkeym\customsec\ejb\TradingAccountSecurityProxy.java:22: com.m
| | keym.customsec.ejb.TradingAccountSecurityProxy is not abstract and does not override abstract method init(java.lang.Class,java.lang.Class,ja
| | va.lang.Class,java.lang.Class,java.lang.Object) in org.jboss.security.SecurityProxy
| | [javac] public class TradingAccountSecurityProxy implements org.jboss.security.SecurityProxy {
| | [javac] ^
| | [javac] Note: Some input files use or override a deprecated API.
| | [javac] Note: Recompile with -Xlint:deprecation for details.
| | [javac] Note: Some input files use unchecked or unsafe operations.
| | [javac] Note: Recompile with -Xlint:unchecked for details.
| | [javac] 1 error
| |
| Is there a version problem? How can I find a suitable SecurityProxy.class ??
| Any advice ... ???
| Thanks in advance
| JRookie
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4226776#4226776
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4226776
17 years, 2 months