[JBoss jBPM] - Malicious timer :)
by slogger
[JBOSS 4.2GA, JBPM 3.2.1]
I got a same problem on JBPM 3.2GA with Timer
(http://www.jboss.com/index.html?module=bb&op=viewtopic&t=110744) and migrate to version 3.2.1.
But it did not solve this problem.
Besides, jbpm-console don't work at all! :)) and it have no errors in logs.
(I already removed some *.jars from EAR as it mentioned in forum).
I took following error:
HTTP Status 404 - /jbpm-console/search/tasks.jsf
| type Status report
| message /jbpm-console/search/tasks.jsf
| description The requested resource (/jbpm-console/search/tasks.jsf) is not available.
I am not understand what the matter whith my code...
My timer does not work correctly as I seem...
I depends how it is deployed?
I have jbpm in EAR whith others ejbs. There is this section In my process-definition:
<state name="validation passed">
| <timer name="testTimer"
| duedate="1 minute"
| repeat="10 seconds"
| transition="time-out">
| <action name="act" class="com.rfc.jbpm.action.TestAction"/>
| </timer>
| <transition name="time-out" to="end"></transition>
| </state>
ActionHandler.java
| public class TestAction implements ActionHandler {
|
| public void execute(ExecutionContext ctx) throws Exception {
| System.out.println("com.rfc.jbpm.action.TestAction is executed!");
| }
| }
The message "com.rfc.jbpm.action.TestAction is executed!"
appear in log and console ONLY ONE time on leave node "validation passed". There no errors in the console and in the log files.
Must this message appear every 10 second or I am not right?
Where is errors in my code?
Please sorry my English.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4058790#4058790
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4058790
18Â years, 9Â months
[JBoss jBPM] - Re: Deploying jbpm.war(3.1.3) to jboss as 4.0.5GA
by fjfernandez
Hello everyone,
"ngtdave" wrote : So, I was having the same problems with 3.1.3 and 5.0.4.GA but wasn't entirely convinced it was not my fault for not copying all the right stuff. So I copied the jbpm folder/directory from the starter kit and placed it alongside my "default" folder/directory in my 5.0.4.GA installation and did a run -c jbpm, and got a different error:
|
| 07:58:45,274 DEBUG [JbpmService] binding 'org.jbpm.JbpmConfiguration@157b39f' to 'java:/jbpm/JbpmConfiguration'
| | 07:58:45,289 DEBUG [JbpmService] Started jboss.jbpm:name=DefaultJbpm,service=JbpmService
| | 07:58:45,399 WARN [ServiceController] Problem starting service jboss.mq:service=StateManager
| | java.lang.NoSuchMethodError: org.jboss.util.timeout.Timeout.cancel()V
| | at org.jboss.tm.TransactionImpl.cancelTimeout(TransactionImpl.java:1359)
| | at org.jboss.tm.TransactionImpl.completeTransaction(TransactionImpl.java:1179)
| | at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:359)
| | at org.jboss.tm.TxManager.commit(TxManager.java:224)
| | at org.jboss.mq.sm.jdbc.JDBCStateManager$JDBCSession.close(JDBCStateManager.java:630)
| | ....
| |
|
|
|
| 07:59:10,805 INFO [STDOUT] Exception in thread "JbpmCommandExecutor"
| | 07:59:10,821 INFO [STDOUT] java.lang.NoClassDefFoundError: org/dom4j/DocumentException
| | 07:59:10,821 INFO [STDOUT] at org.jbpm.db.hibernate.HibernateHelper.createConfiguration(HibernateHelper.java:84)
| | 07:59:10,821 INFO [STDOUT] at org.jbpm.persistence.db.DbPersistenceServiceFactory.getConfiguration(DbPersistenceServiceFactory.java:68)
| | 07:59:10,821 INFO [STDOUT] at org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:90)
| | 07:59:10,836 INFO [STDOUT] at org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:74)
| | ...
| |
|
| 07:59:11,211 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
| |
| | --- MBeans waiting for other MBeans ---
| | ObjectName: jboss.mq:service=StateManager
| | State: FAILED
| | Reason: java.lang.NoSuchMethodError: org.jboss.util.timeout.Timeout.cancel()V
| | I Depend On:
| | jboss.jca:service=DataSourceBinding,name=DefaultDS
| | Depends On Me:
| | jboss.mq:service=DestinationManager
| |
| | ObjectName: jboss.mq:service=PersistenceManager
| | State: FAILED
| | Reason: java.lang.NoSuchMethodError: org.jboss.util.timeout.Timeout.cancel()V
| | I Depend On:
| | jboss.jca:service=DataSourceBinding,name=DefaultDS
| | Depends On Me:
| | jboss.mq:service=DestinationManager
| |
| | --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
| | ObjectName: jboss.mq:service=StateManager
| | State: FAILED
| | Reason: java.lang.NoSuchMethodError: org.jboss.util.timeout.Timeout.cancel()V
| | I Depend On:
| | jboss.jca:service=DataSourceBinding,name=DefaultDS
| | Depends On Me:
| | jboss.mq:service=DestinationManager
| |
| | ObjectName: jboss.mq:service=PersistenceManager
| | State: FAILED
| | Reason: java.lang.NoSuchMethodError: org.jboss.util.timeout.Timeout.cancel()V
| | I Depend On:
| | jboss.jca:service=DataSourceBinding,name=DefaultDS
| | Depends On Me:
| | jboss.mq:service=DestinationManager
| | ...
| |
|
|
I have been using jbpm3.1 with the jboss 4.0.3 that i got with the starter-kit and now i have to migrate my applications to a jboss 4.0.5. I have copied the folder jbpm with the configuration that jboss 4.0.3 had into the folder server in jboss4.0.5 and when i start it with 'run.sh -c jbpm' i also get that warning, but i don't know what that warning means and what effects it can have. So, what problems can i have in my applications? Is that configuration correct for jboss4.0.5? What changes should i make to configurate jboss4.0.5?
Thanks in advance and regards
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4058786#4058786
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4058786
18Â years, 9Â months
[JBoss Seam] - Re: <s:selectDate> and i18n
by pippin1966
"pete.muir(a)jboss.org" wrote : (a) This is possible in Seam2
| (b) What literals?
| (c) What pattern are you providing in s:convertDate Time
(a) OK, thanks
(b) Sunday -> Domingo, Monday -> Lunes, etc
(3) Now it's working OK, very strange. Even if I redeploy. This is a fragment of the xhtml file
<s:decorate id="entradaBancoDecoration" template="layout/edit.xhtml">
<ui:define name="label">Fecha entrada</ui:define>
<h:inputText value="#{expediente.entradaBancoDt}" id="entradaBancoDt">
<s:convertDateTime pattern="dd/MM/yyyy"/>
</h:inputText>
<s:selectDate for="entradaBancoDt" startYear="1990" endYear="2030" dateFormat="dd/MM/yyyy">
</s:selectDate>
</s:decorate>
And thanks erverybody for your replies
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4058778#4058778
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4058778
18Â years, 9Â months