FAQ   Search   Memberlist   Usergroups   Statistics   Register 
 Profile   Log in to check your private messages   Log in 

Database connection problems in Linux

 
       forum-omondo.com Forum Index -> Database Support
View previous topic :: View next topic  
Author Message
Ivasi



Joined: 10 Apr 2004
Posts: 3

Posted: Sun Nov 14, 2004 9:24 pm    Post subject: Database connection problems in Linux

OS: Linux Fedora Core 2
Eclipse Version: 3.0.0
Build id:
GEF: 3.0.1
Eclipse UML: Eclipse UMLStudio 1.1.0
When creating database connection to Oracle database 2 files gets created some-name.odc.xml and some-name.ods.xml. Creation of the database diagram from created connection fails with the following message:

004-11-14 22:21:59 Unable to read Database Schema file /proj/example/src/sql/oracle_linux/proj/example/src/sql/oracle_linux/some-name.ods.xml
2004-11-14 22:21:59 java.io.FileNotFoundException: /proj/example/src/sql/oracle_linux/proj/example/src/sql/oracle_linux/some-name.ods.xml (No such file or directory)

So path to the schema constructed incorrectly when quering schema file. (the path doubled)
There is a workaround by manually editing the database connection xml file and exchanging the
Back to top
 
xavier
Site Admin


Joined: 14 Mar 2003
Posts: 81

Posted: Thu Nov 18, 2004 9:22 am    Post subject:

Hi,

There is a regression bug on linux.

This is fixed in our internal build.

As a workaround :

Preferences->Database->Path Policy

Choose the Workspace Relative Path option.

Manually patch your existing odc and/or ods file to have something like :

file:WORKSPACE_HOME/Database/Employ%C3%A9e/schema.ods.xml

Regards.
Back to top
Display posts from previous:   
       forum-omondo.com Forum Index -> Database Support All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB 2.0.11 © 2001, 2002 phpBB Group