[Logo] Infoglue - Official Forum
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Infoglue with Postgres & JBOSS  XML
Forum Index » Settings and Administration
Author Message
linuxyeti

Beginner

Joined: 17/02/2010 16:41:06
Messages: 8
Offline

Hi All

New to hear, but I'm about to try and install infoglue on Jboss with a Postgres backend. Has anybody got any caveats I need to be on the lookout for?

Cheers
astik

Expert
[Avatar]
Joined: 11/11/2009 11:41:32
Messages: 98
Location: France
Offline

Hi,
I didn't try it with postgres + jboss but with oracle + jboss ... no major problem, just the usual configuration ...

Check that postgres jdbc connector is in WEB-INF/lib. Infoglue is packaged with different connectors : mysql, oracle, db2, sqlserver but not the psotgres one. Just drop it in WEB-INF/lib folder of each webapp.
Then, check for your database connection in each file where the connection is set in each webapp:
- WEB-INF/classes/database.xml
- WEB-INF/classes/hibernate.cfg.xml
- WEB-INF/classes/propertyset.xml


One thing to check in cms.properties :

#SET THIS TO TRUE IF YOU ARE RUNNING ORACLE OR DB2
useShortTableNames=@useShortTableNames@

If postgres works the same way as oracle ... you should set this property to the right value.

[WWW]
linuxyeti

Beginner

Joined: 17/02/2010 16:41:06
Messages: 8
Offline

Hi thanks for that

Cheers
linuxyeti

Beginner

Joined: 17/02/2010 16:41:06
Messages: 8
Offline

Hi All

It's been a while, but I'm having no luck getting infoglue to work with postgres

I've added the jdbc driver to WEB-INF/lib

Has anybody got any working copies for postgres of the following files please

WEB-INF/classes/database.xml
WEB-INF/classes/hibernate.cfg.xml
WEB-INF/classes/cms.properties
WEB-INF/classes/propertyset.xml

I've successfully amended the

oracle_infoglue_core_schema.sql
oracle_infoglue_initial_data.sql

Scripts to work with postgres, so I can successfully create the database.

Any help would be greatly appreciated.

Thanks

Tony

linuxyeti

Beginner

Joined: 17/02/2010 16:41:06
Messages: 8
Offline

ignore that, can connect fine now. Just have now go back through and modify the my postgres_infoglue_core_schema.sql and quote the table, index, field identifiers, as I'm now getting issues with the case of the postgres tables, fields etc.

Yeay

Once I have it working, if anybody wants my modified sql scripts, I'll post them.

Cheers
linuxyeti

Beginner

Joined: 17/02/2010 16:41:06
Messages: 8
Offline

Still not quite there

Here's the files that I've used, if anybody can pin point the last bits I'm doing wrong, I would be grateful.

Cheers

 Filename cms.properties [Disk] Download
 Description cms.properties
 Filesize 4 Kbytes
 Downloaded:  114 time(s)

 Filename deliver.properties [Disk] Download
 Description deliver.properties
 Filesize 4 Kbytes
 Downloaded:  113 time(s)

 Filename database.xml [Disk] Download
 Description database.xml
 Filesize 777 bytes
 Downloaded:  127 time(s)

linuxyeti

Beginner

Joined: 17/02/2010 16:41:06
Messages: 8
Offline

Next 3 files
 Filename hibernate.cfg.xml [Disk] Download
 Description hibernate.cfg.xml
 Filesize 2 Kbytes
 Downloaded:  121 time(s)

 Filename postgres_infoglue_core_schema.sql [Disk] Download
 Description postgres_infoglue_core_schema.sql
 Filesize 27 Kbytes
 Downloaded:  126 time(s)

 Filename postgres_infoglue_initial_data.sql [Disk] Download
 Description postgres_infoglue_initial_data.sql
 Filesize 17 Kbytes
 Downloaded:  109 time(s)

linuxyeti

Beginner

Joined: 17/02/2010 16:41:06
Messages: 8
Offline

And the last 2

So if anybody has any other ideas, please let me know.

Cheers
 Filename propertyset.xml [Disk] Download
 Description propertyset.xml
 Filesize 2 Kbytes
 Downloaded:  114 time(s)

 Filename postgres_mapping.xml [Disk] Download
 Description postgres_mapping.xml
 Filesize 44 Kbytes
 Downloaded:  117 time(s)

This message was edited 1 time. Last update was at 20/08/2010 18:07:25

linuxyeti

Beginner

Joined: 17/02/2010 16:41:06
Messages: 8
Offline

Nobody?
David

User

Joined: 10/11/2009 17:51:18
Messages: 25
Location: Université Lille 1, France
Offline

Hello,

I tried to do the same thing some while ago and had the same problems Check this post : http://sourceforge.net/projects/infoglue/forums/forum/281654/topic/1751793
I'm not sure it will work because i switched to mysql before having the suggestion, but you could give it a try

Regards
David
bogeblad

Admin

Joined: 02/11/2009 11:10:04
Messages: 77
Offline

linuxyeti wrote:Nobody?


Can you post the exception you get - would help in understanding what is misconfigured.

Regards
Mattias Bogeblad

Regards
Mattias Bogeblad, Lead architect Infoglue
 
Forum Index » Settings and Administration
Go to:   
Powered by JForum 2.1.8 © JForum Team