[JBoss jBPM] - Searching tasks by task variables (hibernated business objec
by hstrack
Hi,
I am trying to figure out the right HQL for finding TaskInstances that have an hibernated business object assigned.
I know how to find TaskInstances with simple String variables assigned:
| select taskinstance from TaskInstance taskinstance join taskinstance.variableInstances as variable where variable.name = :varname and variable.value =:varvalue and taskinstance.name = 'Change Provider Request' and taskinstance.isOpen = true
|
Now I have a businessobject called "Domain" assigned to the task and I am trying to find it like this:
| select taskinstance from TaskInstance taskinstance join taskinstance.variableInstances as variable, Domain d where variable.name = :varname and d.name =:varvalue and taskinstance.name = 'Change Provider Request'
|
Does not work (there is no join of the Domain and the TaskInstance)... And my HQL is so bad, that I cannot figure out how to do it correctly!
Any help is greatly appreciated!
br
Harald Strack
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4025833#4025833
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4025833
19Â years, 1Â month
[JBossWS] - I get an "Allocate exception for servlet" error calling my w
by jimhenderson
Hi,
I have a jax rpc based web service written and tested with jboss-4.0.4.GA which works fine (on aix and windows xp).
I have just downloaded jboss-4.0.5.GA and am trying my web service on this version and get the following stack trace when the web service is accessed (i have only tried this on windows xp so far)...
2007-03-07 14:48:32,611 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/dcswebservice-servlet]] Marking servlet DcsWebServiceServlet as unavailable
2007-03-07 14:48:32,611 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/dcswebservice-servlet].[DcsWebServiceServlet]] Allocate exception for servlet DcsWebServiceServlet
java.lang.ClassCastException
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1055)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:757)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:130)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:534)
Just wondered whether this was a known problem so i can add more information/examples if needed.
Thanks in advance,
Jim
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4025830#4025830
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4025830
19Â years, 1Â month
[JBoss Seam] - Generating JooReports (http-post)
by baz
Hello,
i want to use http://www.artofsolving.com/opensource/jodreports formerly known as Jooreports.
I have set up the corresponding war archive on our local tomcat server. I can generate PDF and ODT documents.
Now i want to use this new toy with my seam application. But i have reached the border of my knowledge. I must do an HTTP-Post from server to server. But i do not know how, even i have no clue where i can look for information about this. Perhaps some nice guy can shed some light in here?
This test function works on a client page:
| function submitOrder(form) {
| var xml = '<anaprot prob="123" reactvol="12" pcrprogram="PCRPROGGY">\n';
| xml += ' <experiment>PCR123</experiment>\n';
| [....]
| xml += '</anaprot>';
| form.model.value = xml;
| form.action = 'analysisprotocol.'+ form.outputFormat.value;
| form.submit();
|
The xml is assembled by my seam app and i have to issue the above post from server.
This is perhaps not an Seam related issue, but i stand on my own feets. So any help is very apreciated.
Ciao,
Carsten
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4025827#4025827
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4025827
19Â years, 1Â month
[JBoss Seam] - Re: Hot redeployment
by gavin.kingï¼ jboss.com
anonymous wrote : What is the difference between WEB-INF/dev and WEB-INF/classes?
Stuff in WEB-INF/classes gets loaded onto the WAR classloader, so it cant be reloaded w/o restarting the deployment. Stuff in WEB-INF/dev gets loaded by a special Seam classloader, so it can be reloaded any time it changes.
anonymous wrote : What if the content of those two dirs go out of sync?
"reloadable" classes don't go into WEB-INF/classes during development. "non-reloadable" classes, eg. Hibernate entities live in WEB-INF/classes.
anonymous wrote : Does this make developing in Seam POJO more appealing than developing in EJB3 beans? ;)
I'm afraid to say it does, at least until the EJB3 container supports a similar mechanism.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4025825#4025825
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4025825
19Â years, 1Â month