| Author |
Message |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 17/02/2010 16:54:46
|
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
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 22/02/2010 10:21:26
|
astik
Expert
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.
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 22/02/2010 17:52:35
|
linuxyeti
Beginner
Joined: 17/02/2010 16:41:06
Messages: 8
Offline
|
Hi thanks for that
Cheers
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 20/08/2010 09:59:08
|
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
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 20/08/2010 13:03:02
|
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
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 20/08/2010 18:04:44
|
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 |
Download
|
| Description |
cms.properties |
| Filesize |
4 Kbytes
|
| Downloaded: |
114 time(s) |
| Filename |
deliver.properties |
Download
|
| Description |
deliver.properties |
| Filesize |
4 Kbytes
|
| Downloaded: |
113 time(s) |
| Filename |
database.xml |
Download
|
| Description |
database.xml |
| Filesize |
777 bytes
|
| Downloaded: |
127 time(s) |
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 20/08/2010 18:05:53
|
linuxyeti
Beginner
Joined: 17/02/2010 16:41:06
Messages: 8
Offline
|
Next 3 files
| Filename |
hibernate.cfg.xml |
Download
|
| Description |
hibernate.cfg.xml |
| Filesize |
2 Kbytes
|
| Downloaded: |
121 time(s) |
| Filename |
postgres_infoglue_core_schema.sql |
Download
|
| Description |
postgres_infoglue_core_schema.sql |
| Filesize |
27 Kbytes
|
| Downloaded: |
126 time(s) |
| Filename |
postgres_infoglue_initial_data.sql |
Download
|
| Description |
postgres_infoglue_initial_data.sql |
| Filesize |
17 Kbytes
|
| Downloaded: |
109 time(s) |
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 20/08/2010 18:06:43
|
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 |
Download
|
| Description |
propertyset.xml |
| Filesize |
2 Kbytes
|
| Downloaded: |
114 time(s) |
| Filename |
postgres_mapping.xml |
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
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 03/09/2010 12:40:08
|
linuxyeti
Beginner
Joined: 17/02/2010 16:41:06
Messages: 8
Offline
|
Nobody?
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 07/09/2010 18:53:18
|
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
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 28/01/2011 10:40:25
|
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 |
|
|
 |
|
|