[JBoss jBPM] - An exception happened during the deployment of the process
by mryilauer
Reason: An unexpected exception caused the deployment to fail.
I keep running into this. I have worked the samples, they work, I have the console running and I can deploy and run processes straight out of the book, but when I try to run the simplest hello world type of process that I create from scratch, I routinely run into this. I am also unable to save and deploy the process because on save it shows a null pointer exception. It says to check the log, but I believe it logs to the console, and I don't see anything useful there. Here's the nothing 3 node process I am trying to deploy (the junit tests all work fine, process gets loaded, and signal moves it from node to node)
<?xml version="1.0" encoding="UTF-8"?>
<process-definition xmlns="urn:jbpm.org:jpdl-3.2" name="simple">
<start-state name="start">
</start-state>
<end-state name="end">
</end-state>
</process-definition>
Any ideas would be greatly appreciated. The Test Connection succeeds.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4107732#4107732
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4107732
18 years, 5 months
[JBoss Seam] - DataModel annotation and empty EL operator
by chawax
In a Seam component, I have an array attribute with @DataModel annotation and an associated @Factory metod.
@org.jboss.seam.annotations.datamodel.DataModel
| protected myPackage.VOProcessus[] listeProcessus;
@javax.ejb.TransactionAttribute(javax.ejb.TransactionAttributeType.REQUIRES_NEW)
| @org.jboss.seam.annotations.Factory(value = "listeProcessus")
| @org.jboss.seam.annotations.Observer("listeProcessusUpdated")
| public void getListeProcessus() {
| ...
| }
I want to test if this array is empty in a rendered attribute, so I wrote the following EL expression :
rendered="#{empty listeProcessus}"
But it looks like empty operator always returns false. I don't have this problem when I remove the @DataModel annotation.
Is this something expected or is there something I did wrong ?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4107728#4107728
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4107728
18 years, 5 months
[Microcontainer] - migrating from ServiceMBeanSupport
by jhalliday
I'm migrating some existing code that used to use JBossAS ServiceMBeanSupport to the microcontainer. I'd appreciate any information on the best approach to the following two issues:
The software is used standalone as well as in JBossAS. Internally we will continue to use MBeans as that's easiest for the standalone version. The JBossAS integration previously called ServiceMBeanSupport.getServer() to get an MBeanServer for use internally. What is the equivalent call in MC (or AS5.0)?
We previously used NotificationListener to register such that a method on our bean is invoked when some other bean (jboss.system:type=Server) entered a specified state (running). Is there a way to wire such a thing in MC? It's not quite the same as requiring the other bean to be started before our bean. Indeed, such a solution is not viable as we must start earlier.
Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4107726#4107726
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4107726
18 years, 5 months