[jBPM] New message: "Re: errors with logging into console - jbpm-4.1"
by Ali Aga
User development,
A new message was posted in the thread "errors with logging into console - jbpm-4.1":
http://community.jboss.org/message/518880#518880
Author : Ali Aga
Profile : http://community.jboss.org/people/alihamza7
Message:
--------------------------------------------------------------
For future reference, and for others, who might run into this and because I wasted away a few hours getting this to work...
You can try a couple of things --
1. make sure you edit the properties file in {jbpm.home}/install/jdbc/
2. run your server and test the connection to the jpbmd db. Make sure that the db exists in the db server!
3. directly look into the deployment folder and search for files like jbpm-<yoursqldb>-ds.xml, and check the configuration
4. cp the jdbc driver in the lib folder. If you deployed in JBoss AS, cp it to the sever/<conf>/lib
The reason why i was getting this error was probably because the jbpm-<yoursqldb>-ds.xml was not configured with right credentials and/or the database itself was not created.
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/518880#518880
14 years, 2 months
[jBPM Development] New message: "Re: JBPM 4.x on Sybase"
by Ronald van Kuijk
User development,
A new message was posted in the thread "JBPM 4.x on Sybase":
http://community.jboss.org/message/518876#518876
Author : Ronald van Kuijk
Profile : http://community.jboss.org/people/kukeltje
Message:
--------------------------------------------------------------
Walter,
Thanks for your interest in jBPM. You are using the wrong forum for these kinds of questions. This forum is for discussing the deveopment OF jBPM, not developing WITH jBPM. The userforum above this one should be used. Much bigger chance that your question gets answered since that one is read by way more more people.
Oh and in addition, it would also be helpful to post your errors, instead of just asking for somebody elses config. Simply because many errors are more generic and could e.g. be answered by me, but I could not give you what you ask now (since I don't have it). This also increases your chance of getting an answer.
Ronald
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/518876#518876
14 years, 2 months
[jBPM] New message: "Re: Executing a task automatically"
by Ronald van Kuijk
User development,
A new message was posted in the thread "Executing a task automatically":
http://community.jboss.org/message/518875#518875
Author : Ronald van Kuijk
Profile : http://community.jboss.org/people/kukeltje
Message:
--------------------------------------------------------------
Yes, I know the usecase... and the answer still is 'implement it in your own ui'.
Think about what steps you logically think are needed. Write those down, and then have a look at what methods are available in the jBPM api to implement each of these steps. Try to implement those in a unit test and see what happens. If there are still some things not clear please get back to us.
Another way of describing what you ask is the following:
How do I get a row from a database that has values 'A' and '3' for a specific record, show this to the user and after updating this row, if there is a row that also has the value 'A'. but the other value is '4', show that to the user.
You would probably know how to do that :-)
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/518875#518875
14 years, 2 months
[JBoss Microcontainer Development] New message: "Re: another annotation scanner requirement"
by Ales Justin
User development,
A new message was posted in the thread "another annotation scanner requirement":
http://community.jboss.org/message/518868#518868
Author : Ales Justin
Profile : http://community.jboss.org/people/alesj
Message:
--------------------------------------------------------------
> My first question is, what is the right API to write a deployer that scans annotations? AnnotationEnvironment?
>
Yes #1.
> Or is there a new one coming down the pipe?
>
Yes #2.
The idea that I have is to allow for plugable resource indexing.
I have some prototype code locally which I plan to push as https://jira.jboss.org/jira/browse/JBMCSCAN project.
We need to scan all resources once anyway, hence let's make sure it's really just once.
And while doing this we could build whatever indexes those plugins come up with.
Annotations being just one of the indexes.
Others would include Hibernate's .hbm.xml, Seam's .page.xml, etc ...
In your case you would build interface+annotation index.
You can wait for this feature or go ahead and do it,
as I really haven't done much, apart from refactoring my previous annotations scanning attempts to be more generic, hence no big waste.
This is what I've done for annotations scanning: http://anonsvn.jboss.org/repos/jbossas/projects/mc-ann/trunk/
The idea is to
* have work split into pre-indexed and runtime-indexing if pre doesn't exist
* use VFS visitor pattern to do the work
* use MC's CL resource pattern to do the work
* use JBoss Reflect (its Javassist config) to do the lazy class reading
What is missing is the nice API to plug-in additional indexers and expose the to be read.
> A query for all classes that implement an interface annotated with a specific annotation.
Currently this is a pita, pretty slow.
You can ask the AnnotationRepository (renamed from AnntationEnvironment) for all classes that are annotated with your annotation.
As we don't keep any class hierarchy info, you would now need to go over all classes again,
and check for those who implement your previously found interfaces.
Let me know if you decide to take the first route.
We can discuss the dev here, and I can pitch in once I'm done with MC releases.
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/518868#518868
14 years, 2 months
[JBoss Microcontainer Development] New message: "another annotation scanner requirement"
by Bill Burke
User development,
A new message was posted in the thread "another annotation scanner requirement":
http://community.jboss.org/message/518864#518864
Author : Bill Burke
Profile : http://community.jboss.org/people/bill.burke@jboss.com
Message:
--------------------------------------------------------------
My first question is, what is the right API to write a deployer that scans annotations? AnnotationEnvironment? Or is there a new one coming down the pipe?
Also, I need a new feature. A query for all classes that implement an interface annotated with a specific annotation. For example:
@Path("/rest")
public interface MyService {
@GET
@Produces("application/json")
public Customer getCustomer(@PathParam("id") int id);
}
public class MyServiceBean implements MyService {...}
Here I'll need to know that MyServiceBean is implements an interface MyService that is annotated with @Path. I don't mind doing and contributing this feature, I just need to know where to do the work in.
Thanks.
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/518864#518864
14 years, 2 months