[JBossWS] - Installing problems WS with JBoss 4.05 and EJB3
by o66183
13:08:35,796 ERROR [ServiceEndpointDeployer] Cannot create service endpoint
java.lang.ClassCastException: com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl$5
at com.sun.xml.bind.v2.model.impl.ClassInfoImpl.getBaseClass(ClassInfoImpl.java:170)
at com.sun.xml.bind.v2.model.impl.RuntimeClassInfoImpl.getBaseClass(RuntimeClassInfoImpl.java:59)
at com.sun.xml.bind.v2.model.impl.RuntimeClassInfoImpl.getBaseClass(RuntimeClassInfoImpl.java:39)
at com.sun.xml.bind.v2.model.impl.ModelBuilder.getClassInfo(ModelBuilder.java:142)
at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(RuntimeModelBuilder.java:48)
at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(RuntimeModelBuilder.java:40)
at com.sun.xml.bind.v2.model.impl.ModelBuilder.getTypeInfo(ModelBuilder.java:189)
at com.sun.xml.bind.v2.model.impl.TypeRefImpl.calcRef(TypeRefImpl.java:56)
at com.sun.xml.bind.v2.model.impl.TypeRefImpl.getTarget(TypeRefImpl.java:33)
at com.sun.xml.bind.v2.model.impl.RuntimeTypeRefImpl.getTarget(RuntimeTypeRefImpl.java:22)
at com.sun.xml.bind.v2.model.impl.RuntimeTypeRefImpl.getTarget(RuntimeTypeRefImpl.java:15)
at com.sun.xml.bind.v2.model.impl.ElementPropertyInfoImpl$1.get(ElementPropertyInfoImpl.java:38)
at com.sun.xml.bind.v2.model.impl.ElementPropertyInfoImpl$1.get(ElementPropertyInfoImpl.java:41)
at java.util.AbstractList$Itr.next(Unknown Source)
at com.sun.xml.bind.v2.model.impl.ModelBuilder.getClassInfo(ModelBuilder.java:139)
at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(RuntimeModelBuilder.java:48)
at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(RuntimeModelBuilder.java:40)
at com.sun.xml.bind.v2.model.impl.ModelBuilder.getTypeInfo(ModelBuilder.java:189)
at com.sun.xml.bind.v2.model.impl.ModelBuilder.getTypeInfo(ModelBuilder.java:204)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:356)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.(JAXBContextImpl.java:217)
at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:76)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sun.xml.bind.api.JAXBRIContext.newInstance(JAXBRIContext.java:76)
at org.jboss.ws.metadata.builder.jaxws.JAXWSMetaDataBuilder.createJAXBContext(JAXWSMetaDataBuilder.java:875)
at org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilder.buildWebServiceMetaData(JAXWSWebServiceMet
Builder.java:128)
at org.jboss.ws.metadata.builder.jaxws.JAXWSServerMetaDataBuilder.setupProviderOrWebService(JAXWSServerMetaDataB
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053480#4053480
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4053480
18Â years, 10Â months
[JBoss jBPM] - [JBPM 3.2] Timer-Repeat does not work
by syngolis
Hello,
i am working with jbpm 3.2 from CVS in an enterprise environment (JBoss 4.0.5.GA). I use the jbpm-enterprise.jar for ejb communication.
Everything works fine, except the repeat-functionality of the timers. I use the following simple process:
<process-definition
| xmlns="" name="test">
| <swimlane name="initiator"></swimlane>
| <start-state name="start">
| <task name="task" swimlane="initiator"></task>
| <transition name="" to="sometask"></transition>
| </start-state>
| <end-state name="end1"></end-state>
| <task-node name="sometask">
| <timer name="reminder" duedate="30 seconds" repeat="10 seconds" >
| <action class='MessageActionHandler' />
| </timer>
| <task name="task1" swimlane="initiator"></task>
| <transition name="" to="end1"></transition>
| </task-node>
| </process-definition>
After execution of the task-node, a job for the timer is created and it becomes executed at the duedate. The job keeps staying in db but there is no further timer execution (repeat after 10 sec).
With jbpm 3.1.4 (no ejb) i got no such problems
jbpm.cfg.xml:
<service name="scheduler" factory="org.jbpm.scheduler.ejbtimer.EjbSchedulerServiceFactory" />
The following excerpt is from jboss logs (hibernate messages ignored):
2007-06-12 12:33:04,593 DEBUG [org.jboss.ejb.txtimer.TimerImpl] run: [id=1,target=[target=jboss.j2ee:jndiName=local/TimerServiceBean@22519108,service=EJB],remaining=0,periode=0,active]
| 2007-06-12 12:33:04,593 DEBUG [org.jboss.ejb.txtimer.TimerImpl] setTimerState: in_timeout
| 2007-06-12 12:33:04,625 DEBUG [org.jbpm.scheduler.ejbtimer.TimerServiceBean] ejb timer [id=1,target=[target=jboss.j2ee:jndiName=local/TimerServiceBean@22519108,service=EJB],remaining=-32,periode=0,in_timeout] fires
| 2007-06-12 12:33:04,640 DEBUG [org.jbpm.ejb.impl.CommandServiceBean] handing over the command execution to the command service
| 2007-06-12 12:33:04,640 DEBUG [org.jbpm.configuration.JbpmContextInfo] creating jbpm context with service factories '[tx, message, scheduler, logging, persistence, authentication]'
| 2007-06-12 12:33:04,640 DEBUG [org.jbpm.JbpmContext] creating org.jbpm.JbpmContext@1d3c9ab
| 2007-06-12 12:33:04,640 DEBUG [org.jbpm.ejb.impl.CommandServiceBean] executing org.jbpm.scheduler.ejbtimer.ExecuteTimerCommand@15d1f6a
| 2007-06-12 12:33:04,640 DEBUG [org.jbpm.persistence.db.DbPersistenceServiceFactory] creating persistence service
|
| [..]
|
| 2007-06-12 12:33:04,640 DEBUG [org.jbpm.scheduler.ejbtimer.ExecuteTimerCommand] executing timer 38
|
| [...]
|
| 2007-06-12 12:33:04,656 DEBUG [org.jbpm.job.Timer] executing timer 'timer(reminder,12:33:04,000)'
|
| [...]
|
| 2007-06-12 12:33:04,703 INFO [STDOUT] Timer executed
| 2007-06-12 12:33:04,703 DEBUG [org.jbpm.job.Timer] updated timer for repetition 'timer(reminder,12:33:14,000)' in '9297' millis
| 2007-06-12 12:33:04,703 DEBUG [org.jbpm.JbpmContext] closing JbpmContext
| 2007-06-12 12:33:04,703 DEBUG [org.jbpm.svc.Services] closing service 'persistence': org.jbpm.persistence.db.DbPersistenceService@131b732
| 2007-06-12 12:33:04,703 DEBUG [org.jbpm.svc.Services] closing service 'tx': org.jbpm.tx.TxService@f250f3
|
| [...]
|
| 2007-06-12 12:33:04,812 DEBUG [org.jboss.ejb.txtimer.TimerImpl] commit: [id=1,target=[target=jboss.j2ee:jndiName=local/TimerServiceBean@22519108,service=EJB],remaining=-219,periode=0,in_timeout]
| 2007-06-12 12:33:04,812 DEBUG [org.jboss.ejb.txtimer.TimerImpl] setTimerState: expired
| 2007-06-12 12:33:04,812 DEBUG [org.jboss.ejb.txtimer.TimerImpl] killTimer:
|
Is it correct, that the timer becomes expired (setTimerState: expired)?
Does anyone has an idea, why my timers are not repeated?
Many thanks in advance for your help!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053469#4053469
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4053469
18Â years, 10Â months