Birt now showing up tables in create data set form - eclipse

I am trying to create a data set (BIRT) in eclipse. I tested connection with the data source. It is successful. But while trying to create data set, data set form does not show up tables in data base.
I even tried firing query anyways, but eclipse freezes then.
Please suggest, if anyone has encountered similar problem.
Thanks!

I found the solution to the problem. BIRT needs Informix Jdbc driver to be installed in a particular way. So even though java code was able to read and write from Informix, BIRT was getting stuck.
I thought driver can not be a problem as java classes were working fine with the same drivers.
Hope this helps.

Related

RubyMine connect to database

I'm using latest version of RubyMine and when I try to connect to my docker container database, I see the database, but not any of the tables etc.
If I use an external program such as Psequal using the exact same credentials, it works fine so I know I'm using the correct credentials, IP address etc.
I have raised an issue with JetBrains, but can anyone shed any light on why I'm not seeing the tables?
Figured it out. in the data source properties window (either when creating the data source or by right clicking->properties)
Go to options and tick the box "Introspect using JDBC meta data"
Click apply and you see a downloading progress bar
Once completed, the tables and everything else is viewable.

Oracle Forms App cannot connect to DB (Oracle 10g)

I have a legacy application created in Oracle Forms.
It's a 10g Oracle database, and Forms 6i. Database works OK, I've set up TNS names correctly, tnsping works, I can connect using sqlplus and sql developer.
I think that Forms is also OK, since it gives me a form where the user should input credentials.
The problem is Forms users can't connect. That very first form that is being called has line:
LOGON('user','pass#TNS', false);
this line gives me form_failure, but I don't know what is the problem. Credentials are definitely correct.
If I try like this:
LOGON('user','pass#TNS', true);
then forms gives me an additional generic dialog to login if the former was unsuccessful. That won't let me in also (I've tried a lot of user/pass combos).
I also did some debugging (as much as I know in forms developer) but without success.
I would appreciate very much any help or something that could point me in right direction.
It is usually TNS problem, you have multiple tns files, double check all of them
TNS_ADMIN is not required

Grails using gridfs of mongo - plugins not matching

My application needs to use mongodb for normal data storage and also to keep pretty large files. Hence I started with plugins for mongodb (for normal data storage) and gridfs (for large files).
I am using grails 2.3.4 and trying to figure out what is the issue with the plugins that are included for using both mongodb and gridfs.
I have been searching the entire internet (including stalkoverflow) to find out any plugins that co-exists but in vain. Because no matter I use what combination of the available plugins, it all shows errors saying compatibility issues.
I am using the driver mongo-java-driver-2.11.3.jar
I ended up trying all plugins currently available. My build-config file looks like this:
<<<
// compile ":mongodb:1.3.3"
// compile ":mongodb:1.0.0.GA"
// compile ":gorm-mongodb:0.5.4"
// compile ":zk-mongodb:1.1-M1"
compile ":mongodb-morphia:0.8.2"
compile ":mongo-file:1.1.1"
// compile ":mongodb-gridfs:0.5.beta"
>
I know that I am missing something here.
Has anybody used grails2.3.4 and mongodb with gridfs ?
Please help me out either by pointing the correct plugins or sending code snippets of working samples.
Thank you all in advance.
I had a similar problem when I used ":mongodb-gridfs:0.5.beta" as well. In fact, even when I tried to remove the plugin (via my IDE) it continued to error. I deleted plugins.mongodb-gridfs=0.5.beta from application.properties, and then my application could build again.
You shouldn't need a separate plugin to use GridFS, it's actually part of the MongoDB Java driver. You will, however, need to get to the lower-level API instead of using the default Grails GORM stuff - there's some info on how to do this here.
The GridFS API works in a slightly different way to the rest of the driver, but here's an example. To create the GridFS to work with, you'll need something like new GridFS(mongo.getDB(databaseName)).
I don't have a fully working example to show you, but I hope you can piece together what you need from those different examples.
I've been using webfs which has worked very well for us in the past. It's a lightweight grails plugin for managing files using Mongo's gridfs. See https://github.com/dlaidlaw/mongo-web-filesystem for more details.
I use the webfs plugin in our document management module for managing any type of documents, up to 250MB in size. Am using mongodb:1.2.0.
I've not tested it with Grails 2.3.4, but it works on 2.0, 2.1 and 2.2.

How can i know which object is preventing me from saving?

I'm working on a Microstrategy 8.1.525.151 Client with a Microstrategy Server 8.1. While creating a report i deleted some objects and after that, each time i try create or change any object (report, filter, attribute) i get the same error when i try to Save
The error is
'Cannot save, move or copy this object because it has been changed in the Metadata'
I've tried refreshing the schema both in the client and server, deleted and recreated the objects (it only works on the server but doesn't refresh on the client) and also the menu Administration/Server/Purge Cache Objects
With the exception of the Microstrategy knowledge base (which i cannot access) all i have found is mentions of changing multiple objects, however i don't know which objects may be causing this error if any
Thanks in advance for the help
If you cannot create/save any other object I'm afraid that your metadata are corrupted.
There are some utility provided by MicroStrategy to fix them, but I don't think they still support version 8.1. Your best shot is to try with MicroStrategy tech support.
You are the only one with this problem? other users can modify objects?
The way i used to solve it was to delete all attributes and reports i created since i started having such a problem, (it was easier because it was all in a single folder for attributes and a single folder for reports and i suspect in certain cases also other objects would need deletion) also restarted the intelligence server

Unable to change data source in Crystal reports 9

I have a report set up on our test environment which uses a datasource called DEFAULT, which is also the name of the datasource on the client's production server. (Both are ODBC)
The databases in our test environment are called systemname_clientname but on site they are simply systemname.
I modified a report for the client and put it onsite then changed the datasource to the client version (DEFAULT.systemname) but the report keeps throwing errors saying that the object systemname_clientname.dbo.table does not exist.
I can't seem to make it realise that it is no longer pointing at the systemname_clientname database.
This is using Crystal Reports 9 and the reports are launched using an ASP page written in VBScript.
Google has been most unhelpful and my co-workers are equally stumped, can anybody offer some help here?
Database->Set Datasource Location has a bug in Crystal XI at least, maybe other versions.
Select the database and then updating doesn't update the source of every table.
If you expand the properties of each table you will see that it's still pointing at the old data source.
Try updating the data source for each table one by one.
Yes, it is tedious, sorry.