CMDBuild Forum

Tomcat libs - cmd build 2.4.0

Hello everyone,

 

i tried to use the new version of cmdbuild 2.4.0.

 

But the folder extra > tomcat-libs > 6.0 and 6.0 or highter  is empty. Is-it normal ?

 

Thank you

Hello,
 
Yes it's empty. But I found that we need latest postgresql jdbc 4 driver for cmdbuild 2.4. Otherwise there will be PgArray not found error.
 
Regards,
Herru
 
Previously Varquet Quentin wrote:

Hello everyone,

 

i tried to use the new version of cmdbuild 2.4.0.

 

But the folder extra > tomcat-libs > 6.0 and 6.0 or highter  is empty. Is-it normal ?

 

Thank you

 

Yes, it's empty. You must download the correct PostgreSQL JDBC driver for Java 8 (https://jdbc.postgresql.org/download/postgresql-9.4.1208.jar it's the last one).
 
Best regards.
 
-- CMDBuild Team
 
Previously Herru Windiarto wrote:
Hello,
 
Yes it's empty. But I found that we need latest postgresql jdbc 4 driver for cmdbuild 2.4. Otherwise there will be PgArray not found error.
 
Regards,
Herru
 
Previously Varquet Quentin wrote:

Hello everyone,

 

i tried to use the new version of cmdbuild 2.4.0.

 

But the folder extra > tomcat-libs > 6.0 and 6.0 or highter  is empty. Is-it normal ?

 

Thank you

 

 

Perfect, thank you ! 

Hi there,

 

i updated to 2.4

 

i downloaded the latest driver (postgresql-9.4.1208) and put it into the tomcat lib.

When i log in i get the following Exception according to the Navigation Menu and the Reports.

 

rror: java.lang.ClassCastException: org.postgresql.jdbc4.Jdbc4Array cannot be cast to org.postgresql.jdbc.PgArray

i also tried to rename the driver to postgresql-9.4.1208.jdbc4.jar

 

Maybe it's a problem with the java version and not the postgresql driver?

I use Java Version 1.80_60.

 

Anyone got the same error or got an idea how to fix it?

 

Best Regards

Andy

 

 

Previously Herru Windiarto wrote:
Hello,
 
Yes it's empty. But I found that we need latest postgresql jdbc 4 driver for cmdbuild 2.4. Otherwise there will be PgArray not found error.
 
Regards,
Herru
 
Previously Varquet Quentin wrote:

Hello everyone,

 

i tried to use the new version of cmdbuild 2.4.0.

 

But the folder extra > tomcat-libs > 6.0 and 6.0 or highter  is empty. Is-it normal ?

 

Thank you

 

 

It might you have 2 jdbc postgresql driver in tomcat lib?
 
Regards,
Herru
 
Previously Andreas wrote:

Hi there,

 

i updated to 2.4

 

i downloaded the latest driver (postgresql-9.4.1208) and put it into the tomcat lib.

When i log in i get the following Exception according to the Navigation Menu and the Reports.

 

rror: java.lang.ClassCastException: org.postgresql.jdbc4.Jdbc4Array cannot be cast to org.postgresql.jdbc.PgArray

i also tried to rename the driver to postgresql-9.4.1208.jdbc4.jar

 

Maybe it's a problem with the java version and not the postgresql driver?

I use Java Version 1.80_60.

 

Anyone got the same error or got an idea how to fix it?

 

Best Regards

Andy

 

 

Previously Herru Windiarto wrote:
Hello,
 
Yes it's empty. But I found that we need latest postgresql jdbc 4 driver for cmdbuild 2.4. Otherwise there will be PgArray not found error.
 
Regards,
Herru
 
Previously Varquet Quentin wrote:

Hello everyone,

 

i tried to use the new version of cmdbuild 2.4.0.

 

But the folder extra > tomcat-libs > 6.0 and 6.0 or highter  is empty. Is-it normal ?

 

Thank you

 

 

 

Yes, could it be? If so you have to remove the older one that contais the org.postgresql.jdbc4.Jdbc4Array class.
 
Best regards.
 
-- CMDBuild Team
 
Previously Herru wrote:
It might you have 2 jdbc postgresql driver in tomcat lib?
 
Regards,
Herru
 
Previously Andreas wrote:

Hi there,

 

i updated to 2.4

 

i downloaded the latest driver (postgresql-9.4.1208) and put it into the tomcat lib.

When i log in i get the following Exception according to the Navigation Menu and the Reports.

 

rror: java.lang.ClassCastException: org.postgresql.jdbc4.Jdbc4Array cannot be cast to org.postgresql.jdbc.PgArray

i also tried to rename the driver to postgresql-9.4.1208.jdbc4.jar

 

Maybe it's a problem with the java version and not the postgresql driver?

I use Java Version 1.80_60.

 

Anyone got the same error or got an idea how to fix it?

 

Best Regards

Andy

 

 

Previously Herru Windiarto wrote:
Hello,
 
Yes it's empty. But I found that we need latest postgresql jdbc 4 driver for cmdbuild 2.4. Otherwise there will be PgArray not found error.
 
Regards,
Herru
 
Previously Varquet Quentin wrote:

Hello everyone,

 

i tried to use the new version of cmdbuild 2.4.0.

 

But the folder extra > tomcat-libs > 6.0 and 6.0 or highter  is empty. Is-it normal ?

 

Thank you