thanks! it seems it is question of incompatible versions! it was tutorial with examples for JBoss 4.0 with examples. i used JBoss 5.0 and JDK 1.5. So webservices.xml file and classes don't work fully for 5.0 version. In JMX console the webservice is registered and shown, but under name of EJB Bean instead of name of web service from webservices.xml (url must be changed). Running of web service -client doesn't work so also. Incompatibility between versions is sometimes impressionable! must try upgrade!
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262786#4262786
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262786
I found how it should work but it doesn't :(
There is an xml element <timer-session/> which one can configure in jbpm.cfg.xml but unfortunately the TimerSessionBinding does not allow you to configure your own TimerSession implementation. the XML Tag has only 1 attribute 'target' which can have the value 'ejb' and than a org.jbpm.enterprise.internal.ejb.EnterpriseTimerSession will be used. in all other cases the JobExecutorTimerSession class will be used. I opened a feature request with a possible solution so that one can provide it's own implementation for quarz or some other scheduler:
https://jira.jboss.org/jira/browse/JBPM-2614
I think this is a pretty important feature because the JobExecutor thread is not reliable and not allowed in an EJB Container.
I also found no documentation about org.jbpm.enterprise.internal.ejb.EnterpriseTimerSession.
pls vote this feature if you are interested in using your own scheduler. Thx.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262781#4262781
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262781
Ok, what I try is:
| <depends>jboss.j2ee:service=EARDeployment,url='test*'</depends>
|
And the error, starting the jboss, is:
| java.lang.Error: Invalid ObjectName: jboss.j2ee:service=EARDeployment,url='test*'; javax.management.MalformedObjectNameException: Invalid character '*' in value part of property
| at org.jboss.mx.util.ObjectNameFactory.create(ObjectNameFactory.java:52)
| at org.jboss.metadata.WebMetaData.importJBossWebXml(WebMetaData.java:1261)
| at org.jboss.metadata.WebMetaData.importXml(WebMetaData.java:851)
| ....
|
What is the reason for this error? I am using JBoss AS 4.2.3GA.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262771#4262771
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262771