Thanks for the quick response :-) I'll try to connect with database explorer tool and see what it tells me, but if I'd be connected I'd expect the javaOBjEXServer to log some connection if I set the logging to the highest level, but he's giving me nothing. On the other hand if the connect string is wrong I'd expect to be rejected instead of being connected to a default workspace - that would worry me security wise :-/
The database is a T24R8, so I think the tables are defined from the dictionary, hopefully ;-) Thanks Hippie On 3 Dez., 17:45, Jim Idle <[EMAIL PROTECTED]> wrote: > On Wed, 2008-12-03 at 08:02 -0800, Hippie wrote: > > Hi , > > > I am trying to select some data from jBase tables with JDBC ( AIX > > 5.3, jBase 5.12, Java5 32bit ). > > I succed to load the driver and if the javaOBjEXServer is started I > > also get a connection. But > > if I wanna do something with that connection (i.e. select something) I > > get a NULL pointer exception (though > > the connection isn't NULL of course) > > > Strange thing is that DriverManager.getConnection doesn't throw an > > exception even if I provide a user that doesn't > > exist in the database - I still get a connection != NULL ... > > The only way I managed to get an exception from getConnection is when > > I shut down javaOBjEXServer. > > > Another thing very strange is that I set all the logging in > > javaobjex.properties to 7 but the only log entry I get > > is : 12/3/08 4:40 PM:58 :Init : OK > > > nothing else - no incomming connection requests, no nothing ... > > I suspect that your connection string isn't quite correct and that you > are connecting to a default workspace that doesn't have anything in it. > To find out what is going on, use some freeware database explorer tool > that connects via JDBC. It should do more elaborate things such as > enumerate tables and so on. I am of course presuming that you have > defined the tables from the dictionaries and so on. > > Another suggestion would be to first use a Windows client to make an > ODBC connection. Once you get the connection string correct for ODBC, > then you should see what the jdbc connection specification is. > > This would explain why you can connect but there is nothing there. The > default connection probably isn't what you want. > > Jim- Zitierten Text ausblenden - > > - Zitierten Text anzeigen - --~--~---------~--~----~------------~-------~--~----~ Please read the posting guidelines at: http://groups.google.com/group/jBASE/web/Posting%20Guidelines IMPORTANT: Type T24: at the start of the subject line for questions specific to Globus/T24 To post, send email to [email protected] To unsubscribe, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/jBASE?hl=en -~----------~----~----~----~------~----~------~--~---
