I am running KIE Drools workbench version 7.5.0 (kie-drools-wb-7.5.0.Final-wildfly10.war) on WildFly 10. On my workbench, I can create a new project and add a new Business Process. However, I can't access the Process Management page that most tutorials show because the menu doesn't display it at all. See the screenshot to get a clearer idea of what I am saying.
My KIE Workbench shows Projects and Dashboard under Design, Deployments and Execution Servers under DevOps and Business Dashboards under Track. Most tutorials show that this menu has much more than this, atleast a Process Management option.
So the problem is I can't see the Process Management option in my menu. Can somebody help me out here?
The Kie Workbench has a few variations, the one you're trying (kie-drools-wb) is target for authoring and deploying rules only. To have access the full set process related features, please try kie-wb instead: https://repository.jboss.org/nexus/content/groups/public-jboss/org/kie/kie-wb/7.5.0.Final/kie-wb-7.5.0.Final-wildfly10.war
Related
I have been trying follow the links and details available to set up a KIE Drools workbench for Drools like https://www.intertech.com/simple-setup-of-drools-kie-workbench-and-kie-server-in-one-wildfly-instance/.
From what I could analyze and read up KIE Drools Workbench will let me configure a rule engine through a front end and that Guvnor used to handle this aspect prior to workbench. These configured rules can be blended into my Spring Boot application to drive my loan application requirement. I hope that this understanding of usage of KIE Drools workbench is correct. Please confirm.
Below are the things I tried.
Set up KIE Workbench in Wildfly
Set up KIE Server in Wildfly
Getting them deployed I had to go through many issues which I was able to resolve like updating the jboss-deployment-structure.xml and executing using standalone-full.xml.
This is the UI I see now.
But for the workbench I am only seeing FORBIDDEN on screen.
Can you please suggest what can be done so that I can have the UI to create my custom rules.
Just thought of updating that I was able to resolve the issue I faced. The only thing to be done is to follow the link I shared word by word :) . The users were created as stated and the exact version of war files were used and I am now able to access the workbench. Now on I will be exploring the usage.
I am very new to JBPM and KieWorkbench ,infact from .net background.
I've installed JBPM 6 on my machine and have developed some guided rules and workflows using KieWorkbench.
On local I can easily create,run and Test workflows and Rules, because as I do ant start.demo all setup is done.
Moving forward now I've to deploy this on production environment and share the source code with team members.
Limitation is I cannot use Git.
Now I've 2 questions :-
1.How to deploy this on production?
2.How can I share code/project with my teammates.
Any help will be much appreciated.
Thanks in advance.
There was a similar question about using KIE Workbench in production environment. Look at my answer here. If you do not need GUI, I would recommend to use KIE Server for process execution. Unfortunately, it is not described in jBPM documentation but you can find it in the Drools one.
When it comes to sharing projects created in KIE Workbench, you can do one of these two things:
Clone a Git repository from KIE Workbench. It should be available on address git://localhost:9418/repository_name.
Deploy a project in KIE Workbench and find the artifact with your process and rule definitions in your ~/.m2/repository.
It may also be a good idea to have your development version of KIE Workbench deployed somewhere where others can access it and see your process definitions directly in this application.
We had a web service developed in Talend and deployed in TAC(Talend runtime). Service is working fine on the local system but not after the deployment.We had tried various methods to debug it like placing the logger component and putting logging mechanism in Java component of Talend but those messages are not populating in the log file.Please suggest.
Talend Enterprise 5.6 comes with log4j logging. (It can be enabled in the project settings.) Maybe open studio has this feature as well.
If you activate that and start the logserver (based on Kibana / Logstash) you could have a web interface that shows the log messages in real-time, across all the deploys you have.
We're using this approach for development and some production projects. It tells you all the SQL-s connection details, execution times, records fetched, etc..
In TAC you should see the same logs if you click on the magnifier button on the corresponding job on Job Conductor tab. In case if it's empty, check the log4j setting in File->Edit Project Properties->Log4J, and make sure that the default CONSOLE appender is enabled. Also try to build the project manually, and check the log4j.properties in the built zip file.
Finally check the log level at the job properties on TAC->Job Conductor, and make sure it set to the right level.
I have an installation of Drools kie-wb 6.1.0. By default, it works with Derby database and now, I want to move it to a production environment (where MySQL server is used). How can I export the database from one engine to other?
All information found in the official documentation seems to be from Guvnor, that has some specifics options in the menu "Administration" in the tab called "Repository Configuration". But in KIE-WB there I only can define new repositories (by GIT or SSH). Is something missing in my installation? or the option is elsewhere?
Yes, as #Steve says, it must be a documentation error. Now I understand deeply Drools and I see that database is only used for internal application management, not for rules or projects. Then, in my case, there is not need to move to MySQL.
i have installed the glassfish eclipse tools bundle...
i can start a project like dynamic web & a ear project and deploy them on the glassfish... it works perfect & under the localhost url i will get an hello world
but how i do this if i want to make an application client. please help...
at the moment i simply created an "app client project in eclipse" & added it to the same ear,
but i have no idea how to start this...
help - any tutorial how to start?!!
Not the only only answer to this question but the appclient approach mentioned in Jeff's answer is a viable approach, but I was able to execute a client using this mechanism in eclipse and I wanted to share that approach.
This approach will let you execute a java application with a main method acting as a client.
What you want to do is setup an External Tools Configuration.
Create a new Program type of external tool configuration.
Set location to point to the path of the appclient, for me
(using embedded glassfish eclipse plugin) it was [PATH TO ECLIPSE]\plugins\oracle.eclipse.runtime.glassfish_3.1.1.0\glassfish3\glassfish\bin\appclient.bat
Set working directory to your output/build directory e.g.
${project_loc}/target/classes
Set arguments to ${java_type_name}
Select the class in your project with a main method that you wish to run as the client app and then select your external tool from the run external tools menu.
There are two ways to do it. I'm afraid I can't be very specific, but I can point you in the right direction. (I'm just learning myself)
You can enable Web Start for the application client EAR in GlassFish. You can do this either in the deployment descriptor (so it's enabled every time you deploy) or you can go into the GlassFish admin console, navigate to the Application, and check the checkbox to enable it. I have made a little progress on this approach.
You can run it manually from the command line using, I believe, the "appclient" command. I have not been able to get this working yet.
Good luck, and if you learn more, I'd appreciate it if you let me know since I'm in the same boat as you.
Jeff