How to export KIE-WB databases to another database engine as MySQL? - drools

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.

Related

jBPM Repositories disappear after Wildfly restart

Pardon if I can't give more pointers, but I'm really a noob at wildfly. I'm using version 9.0.2.
I have deployed jbpm-console, drools, and dashboard - no problems here. I restart wildfly using the jboss CLI, and when I login again, the repositories won't appear in the web interface or on disk (atleast nothing that grepping or find will show).
I'm using the H2 database. I'm not even sure where to look, does anyone have any idea?
Thanks in advance!
After enough reading through the docs, it would seem that it's necessary to configure jBPM to persist. From the docs:
"By default, the engine does not save runtime data persistently. This means you can use the engine completely without persistence (so not even requiring an in memory database) if necessary, for example for performance reasons, or when you would like to manage persistence yourself. It is, however, possible to configure the engine to do use persistence by configuring it to do so. This usually requires adding the necessary dependencies, configuring a datasource and creating the engine with persistence configured."
https://docs.jboss.org/jbpm/v5.3/userguide/ch.core-persistence.html

Generating database and connection from schema

I'm using Glassfish server 4.0 as my app server for a java project in NetBeans 7.3.1. I have a database schema which I would like to include in my server as a database. Is there a way to generate the database in Glassfish based on a previous schema?
The extensions of the files are .frm and there's one .opt file.
Also, does Glassfish include a visual interface to modify a database's table's properties and registries?
Thanks in advance.
The answer to your the last part of your question is no. Glassfish itself does not include a visual interface for modifying database tables, properties etc. It includes a visual interface for creating JDBC Connection Pools and JDBC Resources. I personally use one integrated into my IDE of choice, Netbeans may have this feature, I happen to use IDEA. In production you could use any 3rd party app that does this, TOAD being a popular one but there are many.
I have some thoughts on the first part of your question but nothing ready to put into an answer at this point. When I do I'll update this one if its still an open question.

Integrating eclipse with db2

I was doing a project related to the IBM competition and need to create a web application. I have done a web application before by connecting netbeans and mysql. But, now am facing problem right from installation.
Is there any workbench(like something for mysql) for db2 . If so can anyone give a link. Also, I need to make jdbc connections. So, is there any other software I need to install.
Kindly explain to me in detail as I'm not pretty sure about this.
All you need is a DB2 JDBC JAR. Pick the appropriate one for your version and add it to your CLASSPATH.
You should use either a DB2 admin client to create tables and view data or something like SQL Squirrel.

Unable to browse in Eclipse tables for any schema in Informix

EDIT: Although this question is still unanswered for 3.X versions of Eclipse, using 4.X versions (Juno) solves the problem.
I can't browse tables for a given schema in Informix using Eclipse Data Source Explorer. The only tables I can browse is the catalog, the sys* ones in the Informix schema.
I'm using Eclipse v3.6 (Helios) with Data Tools Project plugin v1.9.2 for accessing an Informix 11.70 database.
The driver (v10.0) and the connection configuration seem to be right as I can ping and query properly using the SQL scrap book, creating and selecting tables. In fact the applications work perfectly once deployed, but I'm unable to use Eclipse features such as JPS tools.
The user has the proper access and is able to browse and operate anything from Server Studio.
I've searched Google for a few days and found some cases expriencing something alike (for instance it can happen in MySQL if you're missing the database in the URL), but found no proper answer.
Thanks in advance
P.S.: I have the same question open in DTP forum http://www.eclipse.org/forums/index.php/m/874976/#msg_874976
P.S. II: I've created a test project that illustrates the problem. Notice the "Tables" node can't be expanded.
The issue will be 'How does Eclipse Helios with Data Tools Project' go looking for tables in an Informix database?
If it interrogates the Informix system catalog directly (systables, syscolumns, ...), there should not be an issue. The fact that you can browse the system catalog tables is curious. Maybe it is only showing you tables 'owned by informix' in the Informix jargon; that would be 'in the schema informix' in some other systems' jargon. Look at the plugin options to see if you can change the schema name somehow, or have it look at all schemas simultaneously.
If it is looking for standard SQL 'Information Schema' tables, those are AWOL in Informix. You might be able to run dbaccess yourdb $INFORMIXDIR/etc/xpg4_is.sql and get enough of an archaic version of the Information Schema tables (from the XPG4 – X/Open Portability Guide version 4 – definition of the Information Schema) to be usable, but I'd not want to bet on it being adequate.

Eclipse Data Source Explorer and MS-Access

I can't see any of my schemas when I try to use Eclipse data source explorer. It's not a problem with JDBC connection because I can connect and execute SQL statements. It's just that the tables don't appear. How do I make them to appear?
Very likely you cannot. Access has a very limited ODBC support (as I suppose you are using the JDBC-ODBC bridge driver). You don't have many options. You could purchase a JDBC driver with more functionality (expensive), and if your Access is 97 or 2000, the QuantumDB Eclipse plugin has a trick to get metadata information from these versions, by exploring the system tables. Perhaps you can find other plugins that manage that for more recent versions, but otherwise, you are stuck.