jboss.web JMX info in AS7
by Sam Corbett
Hi,
JBoss AS6 exposed a number of webserver statistics like HTTP request and
error counts via JMX. They were accessible with queries like
"jboss.web:type=GlobalRequestProcessor,name=http-*"
Is there a trick to getting AS7 to reveal jboss.web data via JMX? Try
as I may, I can't get at it.
Thanks,
Sam
13 years, 3 months
[JBoss Tools] - m2e(clipse)-wtp 0.13.1 : Back to the m2e marketplace
by Fred Bricon
Fred Bricon [http://community.jboss.org/people/fbricon] modified the blog post:
"m2e(clipse)-wtp 0.13.1 : Back to the m2e marketplace"
To view the blog post, visit: http://community.jboss.org/community/tools/blog/2011/08/01/m2eclipse-wtp-...
--------------------------------------------------------------
As I mentioned in the previous blog post ( http://community.jboss.org/en/tools/blog/2011/06/23/m2eclipse-wtp-0130-ne... http://community.jboss.org/en/tools/blog/2011/06/23/m2eclipse-wtp-0130-ne...), m2e-wtp had to be pulled out of the m2e marketplace, as it forced its installation for all non-WTP systems.
In order to fix this issue, the code responsible for generating the MANIFEST.MF for all projects had to be integrated into the mavenarchiver feature.
That means m2e-wtp 0.13.1 now requires the installation of mavenarchiver from the m2e-extras update site. It will be discovered automatically from the new m2e-wtp update site, hosted by Red Hat, so it will be completely transparent for new users.
However, please note that the mavenarchiver feature replaces the pomproperties one, so the *pomproperties must be uninstalled before upgrading m2e-wtp*.
Thus, the preferred ways to install m2e-wtp remain :
1) Import existing Java EE projects into the workspace; You'll be proposed to install the m2e-wtp plugin :
servlet/JiveServlet/downloadImage/38-3913-16576/450-463/m2e-wtp-discovery.jpg (/servlet/JiveServlet/downloadImage/38-3913-16576/m2e-wtp-discovery.jpg)
click on Finish and the installation will proceed. Your projects will be imported but the workspace will have to be restarted.
2) Go to Window > Preferences > Maven > Discovery and click on "Open catalog". Select m2e-wtp and proceed with the installation.
http://community.jboss.org/servlet/JiveServlet/showImage/38-4023-16814/m2... http://community.jboss.org/servlet/JiveServlet/downloadImage/38-4023-1681...
3) Old school installation : Use this JBoss / Red Hat update site : http://dev.eclipse.org/mhonarc/lists/m2e-users/msg00938.html http://download.jboss.org/jbosstools/updates/m2eclipse-wtp/
While reviewing the installation details, you can see that mavenarchiver 0.14.0 will be found and installed automatically (provided there is not a more recent version)
http://community.jboss.org/servlet/JiveServlet/showImage/38-4023-16815/m2... http://community.jboss.org/servlet/JiveServlet/downloadImage/38-4023-1681...
Other that the changes necessary to reinstate m2e-wtp to the m2e marketplace, There is only one other bugfix in 0.13.1, which fixes deployment of war archives overlays in Windows ( https://issues.sonatype.org/secure/ReleaseNote.jspa?projectId=10310&versi... https://issues.sonatype.org/secure/ReleaseNote.jspa?projectId=10310&versi...).
Enjoy,
Fred.
https://twitter.com/#%21/fbricon https://twitter.com/#!/fbricon
--------------------------------------------------------------
Comment by going to Community
[http://community.jboss.org/community/tools/blog/2011/08/01/m2eclipse-wtp-...]
13 years, 3 months
[jBPM] - userTask - setting Wait for Completion
by Melih Cetin
Melih Cetin [http://community.jboss.org/people/mscetin] created the discussion
"userTask - setting Wait for Completion"
To view the discussion, visit: http://community.jboss.org/message/618636#618636
--------------------------------------------------------------
Section "12.1. Human tasks inside processes" of jBPM User Guide states that:
Wait for completion: If this property is true, the human task node will only continue if the human task has been terminated (i.e. completed or any other terminal state); otherwise it will continue immediately after creating the human task.
and the eclipse editor (BPMN2 Process Editor) provides UI to update "Wait for completion" attribute for User Tasks but the updated value is not saved (save the process definition, re-open it and see that "Wait for completion" is always set to 'true'). On the other hand, since there is no information saved for waitForCompletion in bpmn2 XML file, the process continues after creating the human task during execution (this is what I observe by checking NodeInstanceLog table content).
What would be the correct way of instructing process engine to waitForCompletion of a specific User Task, even if it is the manual update of the bpmn2 XML file?
There was another discussion about this topic (see http://community.jboss.org/thread/168556 http://community.jboss.org/thread/168556) but does not address the issue highlighted above.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/618636#618636]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 3 months
[EJB3] - can not bind war and jar project in jboss 7.0!
by Joseph Hwang
Joseph Hwang [http://community.jboss.org/people/aupres] created the discussion
"can not bind war and jar project in jboss 7.0!"
To view the discussion, visit: http://community.jboss.org/message/618012#618012
--------------------------------------------------------------
- OS : Windows XP
- IDE : eclipse 3.7 Indigo
- WAS : jboss 7.0.0.Final
- DB : MySql
I coded EJB3 jar project and jsp war project. In war project I binded EJB project through "properites=>Java Build Path=> Projects Tab".
But When i run jsp, exception occurs. Exception is like below,
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 7 in the generated java file
Only a type can be imported. com.aaa.ejb3.ILogin resolves to a package
An error occurred at line: 8 in the generated java file
Only a type can be imported. com.aaa.ejb3.Members resolves to a package
An error occurred at line: 17 in the jsp file: /test.jsp
ILogin cannot be resolved to a type
<%
try {
Context ctx = new InitialContext();
ILogin login = (ILogin) ctx.lookup("LoginBean/remote");
i think exception occurs in import line in jsp file.
<%@ page import="com.aaa.ejb3.ILogin"%>
<%@ page import="com.aaa.ejb3.Members"%>
I need your advice, thanks in advance!
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/618012#618012]
Start a new discussion in EJB3 at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 3 months
[JBoss Web Services] - WebServices using JBoss 4.2
by Aj B
Aj B [http://community.jboss.org/people/ajj] created the discussion
"WebServices using JBoss 4.2"
To view the discussion, visit: http://community.jboss.org/message/618309#618309
--------------------------------------------------------------
Hi friends,
I tried accessing the methods exposed in a specific wsdl(which I created), but get the following error:
ERROR: [org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS] SOAP request exception
java.lang.UnsupportedOperationException: setProperty must be overridden in subclasses of SOAPMessage
at javax.xml.soap.SOAPMessage.setProperty(SOAPMessage.java:356)
at org.jboss.ws.core.soap.SOAPMessageImpl.<init>(SOAPMessageImpl.java:67)
at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:207)
at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:185)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:389)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:272)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:189)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:122)
at org.jboss.wsf.stack.jbws.EndpointServlet.service(EndpointServlet.java:84)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
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.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:619)
2011-07-29 15:32:20,815 DEBUG [org.jboss.wsf.stack.jbws.RequestHandlerImpl] END handleRequest: jboss.ws:context=ws,endpoint=WebServiceLogin
2011-07-29 15:32:20,815 DEBUG [org.jboss.ws.core.soap.MessageContextAssociation] popMessageContext: org.jboss.ws.core.jaxws.handler.SOAPMessageContextJAXWS@1a65cf7 (Thread http-0.0.0.0-8080-1)
2011-07-29 15:32:20,815 ERROR [org.jboss.wsf.stack.jbws.RequestHandlerImpl] Error processing web service request
org.jboss.ws.WSException: java.lang.UnsupportedOperationException: setProperty must be overridden in subclasses of SOAPMessage
at org.jboss.ws.WSException.rethrow(WSException.java:68)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:310)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:189)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:122)
at org.jboss.wsf.stack.jbws.EndpointServlet.service(EndpointServlet.java:84)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
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.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:619)
Caused by: java.lang.UnsupportedOperationException: setProperty must be overridden in subclasses of SOAPMessage
at javax.xml.soap.SOAPMessage.setProperty(SOAPMessage.java:356)
at org.jboss.ws.core.soap.SOAPMessageImpl.<init>(SOAPMessageImpl.java:67)
at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:161)
at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.toSOAPMessage(SOAPFaultHelperJAXWS.java:232)
at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.exceptionToFaultMessage(SOAPFaultHelperJAXWS.java:161)
at org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS.createFaultMessageFromException(SOAP11BindingJAXWS.java:104)
at org.jboss.ws.core.CommonSOAPBinding.bindFaultMessage(CommonSOAPBinding.java:645)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:430)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:272)
... 22 more
2011-07-29 15:32:20,815 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/ws].[WebServiceLogin]] Servlet.service() for servlet WebServiceLogin threw exception
java.lang.UnsupportedOperationException: setProperty must be overridden in subclasses of SOAPMessage
at javax.xml.soap.SOAPMessage.setProperty(SOAPMessage.java:356)
at org.jboss.ws.core.soap.SOAPMessageImpl.<init>(SOAPMessageImpl.java:67)
at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:161)
at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.toSOAPMessage(SOAPFaultHelperJAXWS.java:232)
at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.exceptionToFaultMessage(SOAPFaultHelperJAXWS.java:161)
at org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS.createFaultMessageFromException(SOAP11BindingJAXWS.java:104)
at org.jboss.ws.core.CommonSOAPBinding.bindFaultMessage(CommonSOAPBinding.java:645)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:430)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:272)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:189)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:122)
at org.jboss.wsf.stack.jbws.EndpointServlet.service(EndpointServlet.java:84)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
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.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:619)
What could be the reason ?
Thanks !!!
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/618309#618309]
Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 3 months