CMDBuild Forum

Error occourred while loading/saving data

Hi,

I come accros a problem trying to install cmdbuild on a server. I deploy the war file. I connect to the web interface and enter the information concerning database, user, etc... I choose an empty database. 

But I click the finish button, I'm getting the following error :

Error occourred while loading/saving data

When I click show details links, I get this trace : 

Call: services/json/configure/apply
------------------------------------
Error: org.cmdbuild.exception.ORMException: ORM_GENERIC_ERROR
	at org.cmdbuild.exception.ORMException$ORMExceptionType.createException(ORMException.java:59)
	at org.cmdbuild.services.database.DatabaseConfigurator.configure(DatabaseConfigurator.java:158)
	at org.cmdbuild.services.database.DatabaseConfigurator.configureAndSaveSettings(DatabaseConfigurator.java:140)
	at org.cmdbuild.servlets.json.Configure.apply(Configure.java:140)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:616)
	at org.cmdbuild.servlets.JSONDispatcher.dispatch(JSONDispatcher.java:94)
	at org.cmdbuild.servlets.JSONDispatcher.doPost(JSONDispatcher.java:54)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.cmdbuild.filters.AuthFilter.doFilter(AuthFilter.java:142)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.cmdbuild.filters.PatchManagerFilter.doFilter(PatchManagerFilter.java:33)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.cmdbuild.filters.ConfCheckFilter.doFilter(ConfCheckFilter.java:31)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.cmdbuild.filters.TranslationFilter.doFilter(TranslationFilter.java:39)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
	at java.lang.Thread.run(Thread.java:636)

When I look at postgres, the cmdbuild database has been correctly created but contains nothing

   Nom    | Propriétaire | Encodage |     Tri     | Type caract. |    Droits d'accès     
-----------+--------------+----------+-------------+--------------+-----------------------
 alfresco  | alfresco     | UTF8     | fr_FR.UTF-8 | fr_FR.UTF-8  | 
 cmdbuild  | cmdbuild     | UTF8     | fr_FR.UTF-8 | fr_FR.UTF-8  | 
 postgres  | postgres     | UTF8     | fr_FR.UTF-8 | fr_FR.UTF-8  | 
 template0 | postgres     | UTF8     | fr_FR.UTF-8 | fr_FR.UTF-8  | =c/postgres postgres=CTc/postgres
 template1 | postgres     | UTF8     | fr_FR.UTF-8 | fr_FR.UTF-8  | postgres=CTc/postgres=c/postgres
I use postgres user for cmdbuild
 User name | User ID |    Attributes     
-----------+---------+-------------------
 alfresco  |   90213 | 
 postgres  |      10 | superuser, create database
 shark     |   25236 |

 

Can someone help me ?

 

Thank you.

Edmondo

 

Wich CMDBuild version are you using ?

And wich operating system distribution / version ?

Does the problem remains the same if you repeat the installation choosing the demo database option ?

CMDBuild Team

I'am using the latest version, I think it's 2.1.3
The operating system is debian 6.0.7. psql is in version 8.4.17
Yes, I am having the same problem choosing demo database.
 
Previously, the version 1.5 was installed, but I cleaned tomcat and drop cmdbuild database.
 
rm -r /var/lib/tomcat-instances/tomcat-cmdbuild/webapps/*
rm -r /var/lib/tomcat-instances/tomcat-cmdbuild/conf/Catalina/
rm -r /var/lib/tomcat-instances/tomcat-cmdbuild/work/*
rm -r /var/lib/tomcat-instances/tomcat-cmdbuild/logs/*
rm -r /var/lib/tomcat-instances/tomcat-cmdbuild/temp/*
DROP DATABASE cmdbuild;
 
 
Previously Tecnoteca wrote:

Wich CMDBuild version are you using ?

And wich operating system distribution / version ?

Does the problem remains the same if you repeat the installation choosing the demo database option ?

CMDBuild Team

 

Hi,

since the application is working on our systems we need to understand exactly how your server is configured.

 

Could you please sum up the characteristics of your server?

- operating system version 

- java version - it's a system package (installed by rpm/apt) or it's manually installed?

- tomcat version -  it's a system package or it's manually installed?

- postgresql version (not psql version!) -  it's a system package or it's manually installed?
 
Moreover, the postgres log could be useful to understand what's going on. Have you trying looking at it?

Hello,

 

I got the same issue with this configuration :

 

CentOS release 6.4 (x64)

Tomcat 6.0.36

Postgres 9.2.4

Java-1.7.0u11

 

Have you got one idea ?!

 

Regards

 

Previously Tecnoteca wrote:

Hi,

since the application is working on our systems we need to understand exactly how your server is configured.

 

Could you please sum up the characteristics of your server?

- operating system version 

- java version - it's a system package (installed by rpm/apt) or it's manually installed?

- tomcat version -  it's a system package or it's manually installed?

- postgresql version (not psql version!) -  it's a system package or it's manually installed?
 
Moreover, the postgres log could be useful to understand what's going on. Have you trying looking at it?

 

And i forgot this information :

 

Cmdbuild version =>cmdbuild-2.1.3.1

 

BR

 

Previously Tecnoteca wrote:

Hi,

since the application is working on our systems we need to understand exactly how your server is configured.

 

Could you please sum up the characteristics of your server?

- operating system version 

- java version - it's a system package (installed by rpm/apt) or it's manually installed?

- tomcat version -  it's a system package or it's manually installed?

- postgresql version (not psql version!) -  it's a system package or it's manually installed?
 
Moreover, the postgres log could be useful to understand what's going on. Have you trying looking at it?

 

Hi, 

as I've asked before, could you told us also if these are installed from packages provided by your operating system?
Unfortunately for us this information it's really important to identify the problems because on our systems the installation is working pretty well.
 
Btw, if you mind to use shark please use java 6, not java7.
 
Regards.

Hello,

 

Packages has been installed manually (not from yum install)

 

For informations, I tried to install the previous version of cmdbuild (2.0.4) instead of 2.1.3.1 and all is ok.

 

The issue seems to came from the latest cmdbuild version.

 

I hope it will help you to find the issue :)

 

BR

Hi, 
 
First of all, I hope that my message will be published (because the latest wasn't... I don't know why but it wasn't while I posted from a Forum Account)
 
For information, packages has been installed mannually (not from yum)
 
Issue solved with this method : Install the previous cmdbuild version (create the database) then Install the new cmdbuild version using the previous database.
 
BR
 
Previously Tecnoteca wrote:
Hi, 
as I've asked before, could you told us also if these are installed from packages provided by your operating system?
Unfortunately for us this information it's really important to identify the problems because on our systems the installation is working pretty well.
 
Btw, if you mind to use shark please use java 6, not java7.
 
Regards.

 

Thanks for the update, we are glad you found a solution that permits you to use CMDBuild. In the meanwhile we are still trying to reproduce this behaviour to fix it.
Best regards.
 
 

Previously Tecnoteca wrote:

Thanks for the update, we are glad you found a solution that permits you to use CMDBuild. In the meanwhile we are still trying to reproduce this behaviour to fix it.
Best regards.
 
 

Hi

 

I tried the install previous version and that worked. I then installed the latest version and the same happens when I click finish. The error message I get in in the gui is

Call: services/json/configure/apply
------------------------------------
Error: org.cmdbuild.exception.ORMException: ORM_GENERIC_ERROR
	at org.cmdbuild.exception.ORMException$ORMExceptionType.createException(ORMException.java:59)
	at org.cmdbuild.services.database.DatabaseConfigurator.configure(DatabaseConfigurator.java:158)
	at org.cmdbuild.services.database.DatabaseConfigurator.configureAndSaveSettings(DatabaseConfigurator.java:140)
	at org.cmdbuild.servlets.json.Configure.apply(Configure.java:140)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.cmdbuild.servlets.JSONDispatcher.dispatch(JSONDispatcher.java:94)
	at org.cmdbuild.servlets.JSONDispatcher.doPost(JSONDispatcher.java:54)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.cmdbuild.filters.AuthFilter.doFilter(AuthFilter.java:142)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.cmdbuild.filters.PatchManagerFilter.doFilter(PatchManagerFilter.java:33)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.cmdbuild.filters.ConfCheckFilter.doFilter(ConfCheckFilter.java:31)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.cmdbuild.filters.TranslationFilter.doFilter(TranslationFilter.java:39)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:724)

 

I am facing exactly the same issue, i followed all the instruction as per CMDBuild technical manual and not luck.

 

How can i install it ??

 

Previously Kobus wrote:
Previously Tecnoteca wrote:
Thanks for the update, we are glad you found a solution that permits you to use CMDBuild. In the meanwhile we are still trying to reproduce this behaviour to fix it.
Best regards.
 
 

Hi

 

I tried the install previous version and that worked. I then installed the latest version and the same happens when I click finish. The error message I get in in the gui is

Call: services/json/configure/apply
------------------------------------
Error: org.cmdbuild.exception.ORMException: ORM_GENERIC_ERROR
	at org.cmdbuild.exception.ORMException$ORMExceptionType.createException(ORMException.java:59)
	at org.cmdbuild.services.database.DatabaseConfigurator.configure(DatabaseConfigurator.java:158)
	at org.cmdbuild.services.database.DatabaseConfigurator.configureAndSaveSettings(DatabaseConfigurator.java:140)
	at org.cmdbuild.servlets.json.Configure.apply(Configure.java:140)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.cmdbuild.servlets.JSONDispatcher.dispatch(JSONDispatcher.java:94)
	at org.cmdbuild.servlets.JSONDispatcher.doPost(JSONDispatcher.java:54)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.cmdbuild.filters.AuthFilter.doFilter(AuthFilter.java:142)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.cmdbuild.filters.PatchManagerFilter.doFilter(PatchManagerFilter.java:33)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.cmdbuild.filters.ConfCheckFilter.doFilter(ConfCheckFilter.java:31)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.cmdbuild.filters.TranslationFilter.doFilter(TranslationFilter.java:39)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:724)

 

 

We did some tests and find no problem.
Will release this week the minor version 2.1.5 with some new features and some bug fixes.
We suggest you to wait two days, then if you still have the same error we ask you to write to us again and attach your Tomcat log file.
CMDBuild Team

 

 

 

Hi,
 
I have exactly same problem, i just downloaded and configured, installed, and i am facing this problem.
 
---------------Log out in Browser-------------------------------------------------------------------
Call: services/json/configure/apply
------------------------------------
Error: org.cmdbuild.exception.ORMException: ORM_GENERIC_ERROR
-----------------------------------------------------------------------------------------------------------
---------------catalina Log-----------------------------------------------------------------------------
INFO: Deploying web application directory /var/lib/tomcat7/webapps/cmdbuild
Nov 20, 2013 8:58:43 PM org.apache.catalina.startup.ContextConfig processAnnotationsJar
SEVERE: Unable to process Jar entry [com/ibm/icu/impl/data/LocaleElements_zh__PINYIN.class] from Jar [jar:file:/var/lib/tomcat7/webapps/cmdbuild/WEB-INF/lib/icu4j-2.6.1.jar!/] for annotations
org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 60
        at org.apache.tomcat.util.bcel.classfile.Constant.readConstant(Constant.java:133)
        at org.apache.tomcat.util.bcel.classfile.ConstantPool.<init>(ConstantPool.java:60)
        at org.apache.tomcat.util.bcel.classfile.ClassParser.readConstantPool(ClassParser.java:209)
        at org.apache.tomcat.util.bcel.classfile.ClassParser.parse(ClassParser.java:119)
        at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:2105)
        at org.apache.catalina.startup.ContextConfig.processAnnotationsJar(ContextConfig.java:1981)
        at org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1947)
        at org.apache.catalina.startup.ContextConfig.processAnnotations(ContextConfig.java:1932)
        at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1326)
        at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:878)
        at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:369)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
        at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5179)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
        at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1114)
        at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1673)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:724)
 
log4j: Parsing for [root] with value=[WARN, R].
log4j: Level token is [WARN].
log4j: Category root set to WARN
log4j: Parsing appender named "R".
log4j: Parsing layout options for "R".
log4j: Setting property [conversionPattern] to [%-5.5p %d{yyyy-MM-dd HH:mm:ss} [%-8c] %m%n].
log4j: End of parsing for "R".
log4j: Setting property [file] to [/var/lib/tomcat7/logs/cmdbuild.log].
log4j: Setting property [maxBackupIndex] to [10].
log4j: Setting property [maxFileSize] to [100MB].
log4j: setFile called: /var/lib/tomcat7/logs/cmdbuild.log, true
log4j: setFile ended
log4j: Parsed "R" options.
log4j: Parsing for [jsonrpc] with value=[INFO].
log4j: Level token is [INFO].
log4j: Category jsonrpc set to INFO
log4j: Handling log4j.additivity.jsonrpc=[null]
log4j: Parsing for [sql] with value=[WARN].
log4j: Level token is [WARN].
log4j: Category sql set to WARN
log4j: Handling log4j.additivity.sql=[null]
log4j: Parsing for [ddsql] with value=[INFO, DD].
log4j: Level token is [INFO].
log4j: Category ddsql set to INFO
log4j: Parsing appender named "DD".
log4j: Parsing layout options for "DD".
log4j: Setting property [conversionPattern] to [%-5.5p %d{yyyy-MM-dd HH:mm:ss} [%-8c] %m%n].
log4j: End of parsing for "DD".
log4j: Setting property [maxBackupIndex] to [10].
log4j: Setting property [maxFileSize] to [100MB].
log4j: Setting property [file] to [/var/lib/tomcat7/logs/cmdbuild_dd_sql.log].
log4j: setFile called: /var/lib/tomcat7/logs/cmdbuild_dd_sql.log, true
log4j: setFile ended
log4j: Parsed "DD" options.
log4j: Handling log4j.additivity.ddsql=[null]
log4j: Parsing for [org.springframework.jdbc.core] with value=[WARN].
log4j: Level token is [WARN].
log4j: Category org.springframework.jdbc.core set to WARN
log4j: Handling log4j.additivity.org.springframework.jdbc.core=[null]
log4j: Parsing for [soap] with value=[WARN].
log4j: Level token is [WARN].
log4j: Category soap set to WARN
log4j: Handling log4j.additivity.soap=[null]
log4j: Parsing for [dms] with value=[WARN].
log4j: Level token is [WARN].
log4j: Category dms set to WARN
log4j: Handling log4j.additivity.dms=[null]
log4j: Parsing for [email] with value=[INFO].
log4j: Level token is [INFO].
log4j: Category email set to INFO
log4j: Handling log4j.additivity.email=[null]
log4j: Parsing for [auth] with value=[WARN].
log4j: Level token is [WARN].
log4j: Category auth set to WARN
log4j: Handling log4j.additivity.auth=[null]
log4j: Parsing for [persist] with value=[WARN].
log4j: Level token is [WARN].
log4j: Category persist set to WARN
log4j: Handling log4j.additivity.persist=[null]
log4j: Parsing for [rest] with value=[WARN].
log4j: Level token is [WARN].
log4j: Category rest set to WARN
log4j: Handling log4j.additivity.rest=[null]
log4j: Parsing for [workflow] with value=[INFO].
log4j: Level token is [INFO].
log4j: Category workflow set to INFO
log4j: Handling log4j.additivity.workflow=[null]
log4j: Parsing for [cmdbuild] with value=[INFO].
log4j: Level token is [INFO].
log4j: Category cmdbuild set to INFO
log4j: Handling log4j.additivity.cmdbuild=[null]
log4j: Finished configuring.
Client Type is WS
XA UserTransaction lookup name is null
Nov 20, 2013 9:00:57 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /var/lib/tomcat7/webapps/ROOT
 
-----------------------------------------------------------------------------------------------------------
Here is the configuration of my machine
 
OS : Ubuntu 13.04
Postgres : 9.1.10
Tomcat : 7
Java : 1.7.0_25 (Also tried with JDK 1.6.0_19)
 
CMDBuild version is latest : 2.1.5 (Downloaded Novebmer 20th - today)
 
Can some one help me with this error..?
 
Thanks
Viswanath
 

Hi,

 

I had similar problem with installation of latest CMDBuild. No matter what I did, I always got same error when I clicked Finish button of configuration wizard.

 

I tried work around, so I installed previous version of CMDBuild (2.0.3) and let it create DB (no problems there). Then undeployed this version and deployed 2.1.6 and used already existing DB. When I tried to access the CMDBuild, it said there are DB patches that need to be applied, so I tried to do so, but all of then failed with SQL Error.

 

So the conclusion is: 2.0.3 works without any problems, anything newer is not even able to initialize properly.

 

Our setup:

OS - CentOS 6.5

PGSQL - 8.4.18 (installed from CentOS repositories)

Tomcat - 6.0.37 (package downloaded from apache.org

)

Java - Oracle JDK 1.6.0 u45 (downloaded form Oracle)

 

CMDBuild version tested:

2.1.5 and 2.1.6 - both failed no matter what I did.

2.0.3 - installed and configured with no problems at all.

 

Regards,

P.

 

Previously Tecnoteca wrote:

Hi,

since the application is working on our systems we need to understand exactly how your server is configured.

 

Could you please sum up the characteristics of your server?

- operating system version 

- java version - it's a system package (installed by rpm/apt) or it's manually installed?

- tomcat version -  it's a system package or it's manually installed?

- postgresql version (not psql version!) -  it's a system package or it's manually installed?
 
Moreover, the postgres log could be useful to understand what's going on. Have you trying looking at it?

 

hi i think i get the same issue here, im trying to upgrade from 2.0.4 to 2.1.6. 

buat no patches can be applied. 
 
do you have any idea how to directly patch into postgresql via pgadmin. i have tried to use the patches with lot of number. but no luck. 
 
is this issue from the latest build? because everything fine at 2.0.4.
 
i use ubuntu 12.04 with java 6, postgresql 8.4 and tomcat 7. 
 
thanks

We did some tests and it seems that one of the 2.1.x patches does not work correctly in some cases.
In two weeks we will release CMDBuild 2.1.7 and in that release there will be a fix that will solve the problem.
CMDBuild Team

 

 

Previously Tecnoteca wrote:

We did some tests and it seems that one of the 2.1.x patches does not work correctly in some cases.
In two weeks we will release CMDBuild 2.1.7 and in that release there will be a fix that will solve the problem.
CMDBuild Team


For those that still have problems with this the way to fix it is :
1. make sure you have the right privileges in pg_hba.conf
  a. the db superuser must be there
  b. the shark user must be there
2. make sure that plpgsql is created with every new database (add the language to template1)

I am evaluating the product now and spent 1 hour figuring out what is going on :-)

Good luck !

I am trying to install version 2.20 on Ubuntu 12.04 with Tomcat6 and postgres 8.4.    Getting the same error.    I followed the following link to install the components https://help.ubuntu.com/community/CMDBuild.

  

 

Has this been resolved since the last post in April?

 

 

 

Previously Radu wrote:
Previously Tecnoteca wrote:
We did some tests and it seems that one of the 2.1.x patches does not work correctly in some cases.
In two weeks we will release CMDBuild 2.1.7 and in that release there will be a fix that will solve the problem.
CMDBuild Team


For those that still have problems with this the way to fix it is :
1. make sure you have the right privileges in pg_hba.conf
  a. the db superuser must be there
  b. the shark user must be there
2. make sure that plpgsql is created with every new database (add the language to template1)

I am evaluating the product now and spent 1 hour figuring out what is going on :-)

Good luck !

 

I am getting same error on windows 7, tomcat 6, postgres 9.3, with tomcat as C:/tomcat6. This is happening when the first user is added (mandatory)

 

Now, how bad is this in terms of programming???

 

   First, you are generating a stack trace, instead of generating an error log. Next, it causes an infinite loop. Can't go forward, and can't go back. I have a suggestion for how to fix this.

 

Generate a default reference database, not a blank one, that doesn't require any number of features, and get rid of this auto install.

 

 

 

Previously Doron wrote:
I am trying to install version 2.20 on Ubuntu 12.04 with Tomcat6 and postgres 8.4.    Getting the same error.    I followed the following link to install the components https://help.ubuntu.com/community/CMDBuild.

  

 

Has this been resolved since the last post in April?

 

 

 

Previously Radu wrote:
Previously Tecnoteca wrote:
We did some tests and it seems that one of the 2.1.x patches does not work correctly in some cases.
In two weeks we will release CMDBuild 2.1.7 and in that release there will be a fix that will solve the problem.
CMDBuild Team


For those that still have problems with this the way to fix it is :
1. make sure you have the right privileges in pg_hba.conf
  a. the db superuser must be there
  b. the shark user must be there
2. make sure that plpgsql is created with every new database (add the language to template1)

I am evaluating the product now and spent 1 hour figuring out what is going on :-)

Good luck !