[JBoss Messaging] - JBoss JMS standalone GUI tool for beginners showing queues and messages
by Fred Weers
Fred Weers [http://community.jboss.org/people/frederikw] created the discussion
"JBoss JMS standalone GUI tool for beginners showing queues and messages"
To view the discussion, visit: http://community.jboss.org/message/557102#557102
--------------------------------------------------------------
When we (InterCommit.nl) started using JBoss Messaging, we needed a simple standalone tool providing an overview (via a GUI) of the queues and the number of messages on/through those queues. This information is available in JBoss, but getting this information and displaying it in an overview was not straightforward. A similar thing applies for viewing messages on a queue and creating messages for a queue.
The attached zip-file contains the tool "ICIT JMS Monitor" which does all this and the included source code (LGPL) can provide beginners insight in how to get basic JMS tasks done. A readme is included in the zip-file. Installing and running is as simple as unzipping and starting icitjmsmon.bat/sh.
No need to configure anything, all required libraries are included. Provide the JBoss AS hostname and click Connect - that's it. This was also the reason we started developing this "run-click-go" tool, other tools (like HermesJMS) proved to be too cumbersome.
The ICIT JMS Monitor shows:
- the JMS queues in JBoss AS
- per queue:
- the number of messages processed
- amount processed in the last few seconds
- amount processed over a period of 1 minute
- peak values for messages processed
With the ICIT JMS Monitor you can:
- deploy a queue
- browse messages on a queue
- view a message on a queue
- delete a message from a queue
- create a text or Object message and send it to a queue
- create and send messages in bulk (amount of messages and delay between sending can be specified)
The tool also shows which libraries are required on the client/tool-side to connect to JBoss AS and it shows how basic security (username/password) can be implemented. Both can take a long time to figure out if you are a beginning JBoss JMS programmer.
Happy messaging.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/557102#557102]
Start a new discussion in JBoss Messaging at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years, 8 months
[jBPM] - JBPM Hangs
by Donald Walters
Donald Walters [http://community.jboss.org/people/dondragon2] created the discussion
"JBPM Hangs"
To view the discussion, visit: http://community.jboss.org/message/557091#557091
--------------------------------------------------------------
I have an application that integrated Spring Framework and JBPM. I was using version 4.3 before upgrading to version 4.4. Since upgrading to 4.4 the application seems to hang at the same position all the time.
@AutoWired
private ProcessEngine processEngine;
....
ExecutionService executionService = processEngine.getExecutionService();
ProcessInstance processInstance = executionService.startProcessInstanceByKey(workflowName, variables); <-----Hangs here with no output in log4j and no exception is thrown
It is very difficult to troubleshoot as There is no indication of what is actually taking place. is there an issue with this method in this version? How can I go about fixing this?
Thanks
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/557091#557091]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years, 8 months
[JBoss Web Services Development] - Error while using wsprovide command
by Pavan Kulkarni
Pavan Kulkarni [http://community.jboss.org/people/pavankulkarni] created the discussion
"Error while using wsprovide command"
To view the discussion, visit: http://community.jboss.org/message/557060#557060
--------------------------------------------------------------
Hi All,
I am trying to use wsprovide task to generate a wsdl file and deploy this as a web service, my service end point is a Stateless session bean.
But when I run wsprovide through command prompt I get the following error.
java.lang.IllegalStateException: Cannot build JAXB context
at org.jboss.ws.metadata.builder.jaxws.JAXWSMetaDataBuilder.createJAXBCo
ntext(JAXWSMetaDataBuilder.java:984)
at org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilder.bu
ildWebServiceMetaData(JAXWSWebServiceMetaDataBuilder.java:154)
at org.jboss.ws.tools.jaxws.impl.JBossWSProviderImpl.provide(JBossWSProv
iderImpl.java:108)
at org.jboss.ws.tools.jaxws.impl.JBossWSProviderImpl.provide(JBossWSProv
iderImpl.java:124)
at org.jboss.wsf.spi.tools.cmd.WSProvide.generate(WSProvide.java:183)
at org.jboss.wsf.spi.tools.cmd.WSProvide.main(WSProvide.java:76)
Caused by: org.jboss.ws.WSException: Failed to create JAXBContext
at org.jboss.ws.core.jaxws.CustomizableJAXBContextFactory.createContext(
CustomizableJAXBContextFactory.java:114)
at org.jboss.ws.metadata.builder.jaxws.JAXWSMetaDataBuilder.createJAXBCo
ntext(JAXWSMetaDataBuilder.java:980)
... 5 more
*Caused by: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 6 counts of
IllegalAnnotationExceptions
javax.ejb.EJBHome is an interface, and JAXB can't handle interfaces.*
this problem is related to the following location:
at javax.ejb.EJBHome
at private javax.ejb.EJBHome javax.ejb.jaxws.GetEJBHomeResponse.
_return
at javax.ejb.jaxws.GetEJBHomeResponse
javax.ejb.EJBHome does not have a no-arg default constructor.
this problem is related to the following location:
at javax.ejb.EJBHome
at private javax.ejb.EJBHome javax.ejb.jaxws.GetEJBHomeResponse.
_return
at javax.ejb.jaxws.GetEJBHomeResponse
javax.ejb.Handle is an interface, and JAXB can't handle interfaces.
this problem is related to the following location:
at javax.ejb.Handle
at private javax.ejb.Handle javax.ejb.jaxws.GetHandleResponse._r
eturn
at javax.ejb.jaxws.GetHandleResponse
javax.ejb.Handle does not have a no-arg default constructor.
this problem is related to the following location:
at javax.ejb.Handle
at private javax.ejb.Handle javax.ejb.jaxws.GetHandleResponse._r
eturn
at javax.ejb.jaxws.GetHandleResponse
javax.ejb.EJBObject is an interface, and JAXB can't handle interfaces.
this problem is related to the following location:
at javax.ejb.EJBObject
at private javax.ejb.EJBObject javax.ejb.jaxws.IsIdentical.arg0
at javax.ejb.jaxws.IsIdentical
javax.ejb.EJBObject does not have a no-arg default constructor.
this problem is related to the following location:
at javax.ejb.EJBObject
at private javax.ejb.EJBObject javax.ejb.jaxws.IsIdentical.arg0
at javax.ejb.jaxws.IsIdentical
at com.sun.xml.bind.v2.runtime.IllegalAnnotationsException$Builder.check
(IllegalAnnotationsException.java:102)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContex
tImpl.java:448)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.ja
va:297)
at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:
139)
at com.sun.xml.bind.api.JAXBRIContext.newInstance(JAXBRIContext.java:105
)
at org.jboss.ws.core.jaxws.CustomizableJAXBContextFactory.createContext(
CustomizableJAXBContextFactory.java:108)
... 6 more
Not sure why this error appears, is it that we cannot expose a EJB remote interface as a web service?
Can someone help me out with the problem..
Thanks
Pavan
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/557060#557060]
Start a new discussion in JBoss Web Services Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years, 8 months