CMDBuild Forum

Re: Installation issue

Hi everyone,

Have have been trying to install CMDBuild 2.2.2 on CentOS 6 with PostgreSQL 9.3 and Java 6u45.

I am running the Wizard guided installation and everything seems to go well just up to the point where the installation is finished and I am supposed to be redirected to CMDBuild.
Instead I am just redirected back to the configure start page.

The database was created just fine with tables and everything and as far as I know it looks just fine in the cmdbuild.log file.

Does anyone have any suggestions on how to get this to work?

Best regards,
Chris

Dear Christopher,
 
if you refresh the page are you still redirect to the configuration wizard? If so, can you check the content of the "database.conf" file? All three lines should be uncommented and correctly filled. If not, there was some problem (even if logs doesn't show anything). Can you retry the configuration opening the Javascript debugger (F12 on Chrome/Chromium, FireBug on Firefox) and let us know if there is some error there also providing CMDBuild and Catalina log files.
 
Best regards.
 
-- CMDBuild Team

Previously Christopher wrote:

Hi everyone,

Have have been trying to install CMDBuild 2.2.2 on CentOS 6 with PostgreSQL 9.3 and Java 6u45.

I am running the Wizard guided installation and everything seems to go well just up to the point where the installation is finished and I am supposed to be redirected to CMDBuild.
Instead I am just redirected back to the configure start page.

The database was created just fine with tables and everything and as far as I know it looks just fine in the cmdbuild.log file.

Does anyone have any suggestions on how to get this to work?

Best regards,
Chris

 

Hi again,

 
Thank you for picking this up. :)
I looked into database.conf file and it seems fine:
#
#Wed Dec 17 13:37:32 CET 2014
db.password=
db.url=jdbc\:postgresql\://vs06.cloudnetworks.local\:5432/cmdbuild2
db.username=postgres
 
I use postgres and balnk password since I just want to get a quick look at the CMDBuild for evaluation.
If it look good, we will do a proper best practice installation.
 
Re-running the configuration with a new database name did not show any errors in Chrome, only code 200 (OK).
The output of teh cmdbuild.log is as follows:
INFO  2014-12-04 11:58:36 [cmdbuild] loading configurations
WARN  2014-12-04 11:58:43 [org.apache.cxf.bus.spring.OldSpringSupport] Import of META-INF/cxf/cxf-extension-soap.xml has been deprecated and is unnecessary.
INFO  2014-12-04 11:58:47 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-04 11:58:47 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-04 11:58:48 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-04 11:58:48 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-04 11:58:48 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-04 11:58:48 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-04 11:58:48 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-04 11:58:48 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-04 11:58:48 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-04 11:58:48 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-04 11:58:48 [cmdbuild] Number of fetched patches: 92
INFO  2014-12-04 11:58:48 [cmdbuild] Last patch /usr/share/tomcat6/webapps/cmdbuild/WEB-INF/patches/2.2.2-02.sql
INFO  2014-12-04 11:58:48 [cmdbuild] Last available patch is 2.2.2-02
INFO  2014-12-04 11:58:49 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-04 11:58:49 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-04 11:58:49 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-04 11:58:49 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-04 11:58:49 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-04 11:58:49 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-04 11:58:49 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-04 11:58:49 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-04 11:58:49 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-04 11:58:49 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-04 11:58:52 [cmdbuild] Initializing ParameterTransformers
INFO  2014-12-04 11:58:52 [cmdbuild] Transformer for org.apache.commons.fileupload.FileItem: org.cmdbuild.servlets.utils.transformer.FileItemTransformer
INFO  2014-12-04 11:58:52 [cmdbuild] Transformer for org.json.JSONObject: org.cmdbuild.servlets.utils.transformer.JSONObjectTransformer
INFO  2014-12-04 11:58:52 [cmdbuild] Transformer for org.json.JSONArray: org.cmdbuild.servlets.utils.transformer.JSONArrayTransformer
INFO  2014-12-04 11:58:52 [cmdbuild] Initializer custom ParameterBuilders
INFO  2014-12-04 11:58:52 [cmdbuild] clearing DMS temporary folder
INFO  2014-12-04 11:59:18 [jsonrpc ] Calling url /utils/gettranslationobject
INFO  2014-12-04 11:59:19 [jsonrpc ] Calling url /utils/listavailabletranslations
INFO  2014-12-04 12:00:21 [jsonrpc ] Calling url /configure/testconnection
INFO  2014-12-04 12:00:26 [cmdbuild] Test connection failed: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
ERROR 2014-12-04 12:00:26 [jsonrpc ] A org.cmdbuild.exception.ORMException occurred calling method class org.cmdbuild.servlets.json.Configure.testConnection: ORM_DATABASE_CONNECTION_ERROR
INFO  2014-12-04 12:01:40 [jsonrpc ] Calling url /configure/testconnection
INFO  2014-12-04 12:01:45 [cmdbuild] Test connection failed: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
ERROR 2014-12-04 12:01:45 [jsonrpc ] A org.cmdbuild.exception.ORMException occurred calling method class org.cmdbuild.servlets.json.Configure.testConnection: ORM_DATABASE_CONNECTION_ERROR
INFO  2014-12-04 12:09:14 [jsonrpc ] Calling url /configure/testconnection
INFO  2014-12-04 12:09:32 [jsonrpc ] Calling url /configure/apply
INFO  2014-12-04 12:09:32 [cmdbuild] Creating database cmdbuild
INFO  2014-12-04 12:09:33 [cmdbuild] Creating PL/SQL language
INFO  2014-12-04 12:09:33 [cmdbuild] Restoring demo structure
INFO  2014-12-04 12:09:35 [cmdbuild] Saving configuration
INFO  2014-12-04 12:09:35 [cmdbuild] inside addLastPatchIfEmptyDb method but before if. Database type: demo
INFO  2014-12-04 12:09:35 [cmdbuild] Number of fetched patches: 92
INFO  2014-12-04 12:09:35 [cmdbuild] Last patch /usr/share/tomcat6/webapps/cmdbuild/WEB-INF/patches/2.2.2-02.sql
INFO  2014-12-04 12:09:35 [cmdbuild] Last available patch is 2.2.2-02
INFO  2014-12-04 12:09:39 [jsonrpc ] Calling url /utils/gettranslationobject
INFO  2014-12-04 12:09:39 [jsonrpc ] Calling url /utils/listavailabletranslations
INFO  2014-12-04 12:15:53 [jsonrpc ] Calling url /utils/gettranslationobject
INFO  2014-12-04 12:15:53 [jsonrpc ] Calling url /utils/listavailabletranslations
INFO  2014-12-04 12:20:53 [jsonrpc ] Calling url /utils/gettranslationobject
INFO  2014-12-04 12:20:54 [jsonrpc ] Calling url /utils/listavailabletranslations
INFO  2014-12-14 11:44:23 [jsonrpc ] Calling url /utils/gettranslationobject
INFO  2014-12-14 11:44:24 [jsonrpc ] Calling url /utils/listavailabletranslations
INFO  2014-12-14 11:44:34 [jsonrpc ] Calling url /utils/gettranslationobject
INFO  2014-12-14 11:44:35 [jsonrpc ] Calling url /utils/listavailabletranslations
INFO  2014-12-14 11:57:06 [cmdbuild] stopping scheduler service
INFO  2014-12-17 13:35:01 [cmdbuild] loading configurations
WARN  2014-12-17 13:35:14 [org.apache.cxf.bus.spring.OldSpringSupport] Import of META-INF/cxf/cxf-extension-soap.xml has been deprecated and is unnecessary.
INFO  2014-12-17 13:35:24 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-17 13:35:24 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-17 13:35:24 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-17 13:35:24 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-17 13:35:24 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-17 13:35:24 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-17 13:35:25 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-17 13:35:25 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-17 13:35:25 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-17 13:35:25 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-17 13:35:25 [cmdbuild] Number of fetched patches: 92
INFO  2014-12-17 13:35:25 [cmdbuild] Last patch /usr/share/tomcat6/webapps/cmdbuild/WEB-INF/patches/2.2.2-02.sql
INFO  2014-12-17 13:35:25 [cmdbuild] Last available patch is 2.2.2-02
INFO  2014-12-17 13:35:27 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-17 13:35:27 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-17 13:35:27 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-17 13:35:27 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-17 13:35:27 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-17 13:35:27 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-17 13:35:27 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-17 13:35:27 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-17 13:35:27 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-17 13:35:27 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-17 13:35:33 [cmdbuild] Initializing ParameterTransformers
INFO  2014-12-17 13:35:33 [cmdbuild] Transformer for org.apache.commons.fileupload.FileItem: org.cmdbuild.servlets.utils.transformer.FileItemTransformer
INFO  2014-12-17 13:35:33 [cmdbuild] Transformer for org.json.JSONObject: org.cmdbuild.servlets.utils.transformer.JSONObjectTransformer
INFO  2014-12-17 13:35:33 [cmdbuild] Transformer for org.json.JSONArray: org.cmdbuild.servlets.utils.transformer.JSONArrayTransformer
INFO  2014-12-17 13:35:33 [cmdbuild] Initializer custom ParameterBuilders
INFO  2014-12-17 13:35:33 [cmdbuild] clearing DMS temporary folder
INFO  2014-12-17 13:35:36 [jsonrpc ] Calling url /utils/gettranslationobject
INFO  2014-12-17 13:35:39 [jsonrpc ] Calling url /utils/listavailabletranslations
INFO  2014-12-17 13:36:53 [jsonrpc ] Calling url /configure/testconnection
INFO  2014-12-17 13:37:27 [jsonrpc ] Calling url /configure/apply
INFO  2014-12-17 13:37:27 [cmdbuild] Creating database cmdbuild2
INFO  2014-12-17 13:37:28 [cmdbuild] Creating PL/SQL language
INFO  2014-12-17 13:37:28 [cmdbuild] Restoring demo structure
INFO  2014-12-17 13:37:32 [cmdbuild] Saving configuration
INFO  2014-12-17 13:37:32 [cmdbuild] inside addLastPatchIfEmptyDb method but before if. Database type: demo
INFO  2014-12-17 13:37:32 [cmdbuild] Number of fetched patches: 92
INFO  2014-12-17 13:37:32 [cmdbuild] Last patch /usr/share/tomcat6/webapps/cmdbuild/WEB-INF/patches/2.2.2-02.sql
INFO  2014-12-17 13:37:32 [cmdbuild] Last available patch is 2.2.2-02
INFO  2014-12-17 13:37:59 [jsonrpc ] Calling url /utils/gettranslationobject
INFO  2014-12-17 13:37:59 [jsonrpc ] Calling url /utils/listavailabletranslations
 
The output of the catalina.out:
Dec 17, 2014 1:34:55 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/jdk1.6.0_45/jre/lib/amd64/server:/usr/java/jdk1.6.0_45/jre/lib/amd64:/usr/java/jdk1.6.0_45/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
Dec 17, 2014 1:34:56 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Dec 17, 2014 1:34:56 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1674 ms
Dec 17, 2014 1:34:56 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Dec 17, 2014 1:34:56 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.24
Dec 17, 2014 1:34:56 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor manager.xml
Dec 17, 2014 1:34:57 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor cmdbuild.xml
log4j:ERROR setFile(null,false) call failed.
java.io.FileNotFoundException: alfresco.log (Permission denied)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:194)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:116)
        at org.apache.log4j.FileAppender.setFile(FileAppender.java:294)
        at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:165)
        at org.apache.log4j.DailyRollingFileAppender.activateOptions(DailyRollingFileAppender.java:223)
        at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:307)
        at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:172)
        at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:104)
        at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:842)
        at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:768)
        at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:648)
        at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:514)
        at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:580)
        at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:526)
        at org.apache.log4j.LogManager.<clinit>(LogManager.java:127)
        at org.slf4j.impl.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:66)
        at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:277)
        at org.cmdbuild.dao.logging.LoggingSupport.<clinit>(LoggingSupport.java:8)
        at org.cmdbuild.logger.Log.<clinit>(Log.java:12)
        at org.cmdbuild.plugins.ConfigurationListener.<clinit>(ConfigurationListener.java:15)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at java.lang.Class.newInstance0(Class.java:357)
        at java.lang.Class.newInstance(Class.java:310)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4154)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4709)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)
        at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:637)
        at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:563)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
        at org.apache.catalina.core.StandardService.start(StandardService.java:516)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:593)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
log4j:ERROR Either File or DatePattern options are not set for appender [File].
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 [/usr/share/tomcat6/logs/cmdbuild.log].
log4j: Setting property [maxBackupIndex] to [10].
log4j: Setting property [maxFileSize] to [100MB].
log4j: setFile called: /usr/share/tomcat6/logs/cmdbuild.log, true
log4j: setFile ended
log4j: Parsed "R" options.
log4j: Parsing for [bim] with value=[WARN].
log4j: Level token is [WARN].
log4j: Category bim set to WARN
log4j: Handling log4j.additivity.bim=[null]
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 [/usr/share/tomcat6/logs/cmdbuild_dd_sql.log].
log4j: setFile called: /usr/share/tomcat6/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 [org.cmdbuild.common.logging] with value=[WARN].
log4j: Level token is [WARN].
log4j: Category org.cmdbuild.common.logging set to WARN
log4j: Handling log4j.additivity.org.cmdbuild.common.logging=[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 [scheduler] with value=[WARN].
log4j: Level token is [WARN].
log4j: Category scheduler set to WARN
log4j: Handling log4j.additivity.scheduler=[null]
log4j: Parsing for [org.cmdbuild.services.sync.logging] with value=[WARN].
log4j: Level token is [WARN].
log4j: Category org.cmdbuild.services.sync.logging set to WARN
log4j: Handling log4j.additivity.org.cmdbuild.services.sync.logging=[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
Dec 17, 2014 1:35:33 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor host-manager.xml
Dec 17, 2014 1:35:33 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory examples
Dec 17, 2014 1:35:34 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
Dec 17, 2014 1:35:34 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory sample
Dec 17, 2014 1:35:34 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Dec 17, 2014 1:35:35 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Dec 17, 2014 1:35:35 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/119  config=null
Dec 17, 2014 1:35:35 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 39673 ms
 

 

Dear Christopher,
 
the empty password is the problem. CMDBuild checks that all three properties (url, username, password) are not empty, so you must specify a non-empty password.
 
Best regards.
 
-- CMDBuild Team

Previously Christopher wrote:
Hi again,
 
Thank you for picking this up. :)
I looked into database.conf file and it seems fine:
#
#Wed Dec 17 13:37:32 CET 2014
db.password=
db.url=jdbc\:postgresql\://vs06.cloudnetworks.local\:5432/cmdbuild2
db.username=postgres
 
I use postgres and balnk password since I just want to get a quick look at the CMDBuild for evaluation.
If it look good, we will do a proper best practice installation.
 
Re-running the configuration with a new database name did not show any errors in Chrome, only code 200 (OK).
The output of teh cmdbuild.log is as follows:
INFO  2014-12-04 11:58:36 [cmdbuild] loading configurations
WARN  2014-12-04 11:58:43 [org.apache.cxf.bus.spring.OldSpringSupport] Import of META-INF/cxf/cxf-extension-soap.xml has been deprecated and is unnecessary.
INFO  2014-12-04 11:58:47 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-04 11:58:47 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-04 11:58:48 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-04 11:58:48 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-04 11:58:48 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-04 11:58:48 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-04 11:58:48 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-04 11:58:48 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-04 11:58:48 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-04 11:58:48 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-04 11:58:48 [cmdbuild] Number of fetched patches: 92
INFO  2014-12-04 11:58:48 [cmdbuild] Last patch /usr/share/tomcat6/webapps/cmdbuild/WEB-INF/patches/2.2.2-02.sql
INFO  2014-12-04 11:58:48 [cmdbuild] Last available patch is 2.2.2-02
INFO  2014-12-04 11:58:49 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-04 11:58:49 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-04 11:58:49 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-04 11:58:49 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-04 11:58:49 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-04 11:58:49 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-04 11:58:49 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-04 11:58:49 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-04 11:58:49 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-04 11:58:49 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-04 11:58:52 [cmdbuild] Initializing ParameterTransformers
INFO  2014-12-04 11:58:52 [cmdbuild] Transformer for org.apache.commons.fileupload.FileItem: org.cmdbuild.servlets.utils.transformer.FileItemTransformer
INFO  2014-12-04 11:58:52 [cmdbuild] Transformer for org.json.JSONObject: org.cmdbuild.servlets.utils.transformer.JSONObjectTransformer
INFO  2014-12-04 11:58:52 [cmdbuild] Transformer for org.json.JSONArray: org.cmdbuild.servlets.utils.transformer.JSONArrayTransformer
INFO  2014-12-04 11:58:52 [cmdbuild] Initializer custom ParameterBuilders
INFO  2014-12-04 11:58:52 [cmdbuild] clearing DMS temporary folder
INFO  2014-12-04 11:59:18 [jsonrpc ] Calling url /utils/gettranslationobject
INFO  2014-12-04 11:59:19 [jsonrpc ] Calling url /utils/listavailabletranslations
INFO  2014-12-04 12:00:21 [jsonrpc ] Calling url /configure/testconnection
INFO  2014-12-04 12:00:26 [cmdbuild] Test connection failed: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
ERROR 2014-12-04 12:00:26 [jsonrpc ] A org.cmdbuild.exception.ORMException occurred calling method class org.cmdbuild.servlets.json.Configure.testConnection: ORM_DATABASE_CONNECTION_ERROR
INFO  2014-12-04 12:01:40 [jsonrpc ] Calling url /configure/testconnection
INFO  2014-12-04 12:01:45 [cmdbuild] Test connection failed: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
ERROR 2014-12-04 12:01:45 [jsonrpc ] A org.cmdbuild.exception.ORMException occurred calling method class org.cmdbuild.servlets.json.Configure.testConnection: ORM_DATABASE_CONNECTION_ERROR
INFO  2014-12-04 12:09:14 [jsonrpc ] Calling url /configure/testconnection
INFO  2014-12-04 12:09:32 [jsonrpc ] Calling url /configure/apply
INFO  2014-12-04 12:09:32 [cmdbuild] Creating database cmdbuild
INFO  2014-12-04 12:09:33 [cmdbuild] Creating PL/SQL language
INFO  2014-12-04 12:09:33 [cmdbuild] Restoring demo structure
INFO  2014-12-04 12:09:35 [cmdbuild] Saving configuration
INFO  2014-12-04 12:09:35 [cmdbuild] inside addLastPatchIfEmptyDb method but before if. Database type: demo
INFO  2014-12-04 12:09:35 [cmdbuild] Number of fetched patches: 92
INFO  2014-12-04 12:09:35 [cmdbuild] Last patch /usr/share/tomcat6/webapps/cmdbuild/WEB-INF/patches/2.2.2-02.sql
INFO  2014-12-04 12:09:35 [cmdbuild] Last available patch is 2.2.2-02
INFO  2014-12-04 12:09:39 [jsonrpc ] Calling url /utils/gettranslationobject
INFO  2014-12-04 12:09:39 [jsonrpc ] Calling url /utils/listavailabletranslations
INFO  2014-12-04 12:15:53 [jsonrpc ] Calling url /utils/gettranslationobject
INFO  2014-12-04 12:15:53 [jsonrpc ] Calling url /utils/listavailabletranslations
INFO  2014-12-04 12:20:53 [jsonrpc ] Calling url /utils/gettranslationobject
INFO  2014-12-04 12:20:54 [jsonrpc ] Calling url /utils/listavailabletranslations
INFO  2014-12-14 11:44:23 [jsonrpc ] Calling url /utils/gettranslationobject
INFO  2014-12-14 11:44:24 [jsonrpc ] Calling url /utils/listavailabletranslations
INFO  2014-12-14 11:44:34 [jsonrpc ] Calling url /utils/gettranslationobject
INFO  2014-12-14 11:44:35 [jsonrpc ] Calling url /utils/listavailabletranslations
INFO  2014-12-14 11:57:06 [cmdbuild] stopping scheduler service
INFO  2014-12-17 13:35:01 [cmdbuild] loading configurations
WARN  2014-12-17 13:35:14 [org.apache.cxf.bus.spring.OldSpringSupport] Import of META-INF/cxf/cxf-extension-soap.xml has been deprecated and is unnecessary.
INFO  2014-12-17 13:35:24 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-17 13:35:24 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-17 13:35:24 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-17 13:35:24 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-17 13:35:24 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-17 13:35:24 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-17 13:35:25 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-17 13:35:25 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-17 13:35:25 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-17 13:35:25 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-17 13:35:25 [cmdbuild] Number of fetched patches: 92
INFO  2014-12-17 13:35:25 [cmdbuild] Last patch /usr/share/tomcat6/webapps/cmdbuild/WEB-INF/patches/2.2.2-02.sql
INFO  2014-12-17 13:35:25 [cmdbuild] Last available patch is 2.2.2-02
INFO  2014-12-17 13:35:27 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-17 13:35:27 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-17 13:35:27 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-17 13:35:27 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-17 13:35:27 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-17 13:35:27 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-17 13:35:27 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-17 13:35:27 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-17 13:35:27 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-17 13:35:27 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2014-12-17 13:35:33 [cmdbuild] Initializing ParameterTransformers
INFO  2014-12-17 13:35:33 [cmdbuild] Transformer for org.apache.commons.fileupload.FileItem: org.cmdbuild.servlets.utils.transformer.FileItemTransformer
INFO  2014-12-17 13:35:33 [cmdbuild] Transformer for org.json.JSONObject: org.cmdbuild.servlets.utils.transformer.JSONObjectTransformer
INFO  2014-12-17 13:35:33 [cmdbuild] Transformer for org.json.JSONArray: org.cmdbuild.servlets.utils.transformer.JSONArrayTransformer
INFO  2014-12-17 13:35:33 [cmdbuild] Initializer custom ParameterBuilders
INFO  2014-12-17 13:35:33 [cmdbuild] clearing DMS temporary folder
INFO  2014-12-17 13:35:36 [jsonrpc ] Calling url /utils/gettranslationobject
INFO  2014-12-17 13:35:39 [jsonrpc ] Calling url /utils/listavailabletranslations
INFO  2014-12-17 13:36:53 [jsonrpc ] Calling url /configure/testconnection
INFO  2014-12-17 13:37:27 [jsonrpc ] Calling url /configure/apply
INFO  2014-12-17 13:37:27 [cmdbuild] Creating database cmdbuild2
INFO  2014-12-17 13:37:28 [cmdbuild] Creating PL/SQL language
INFO  2014-12-17 13:37:28 [cmdbuild] Restoring demo structure
INFO  2014-12-17 13:37:32 [cmdbuild] Saving configuration
INFO  2014-12-17 13:37:32 [cmdbuild] inside addLastPatchIfEmptyDb method but before if. Database type: demo
INFO  2014-12-17 13:37:32 [cmdbuild] Number of fetched patches: 92
INFO  2014-12-17 13:37:32 [cmdbuild] Last patch /usr/share/tomcat6/webapps/cmdbuild/WEB-INF/patches/2.2.2-02.sql
INFO  2014-12-17 13:37:32 [cmdbuild] Last available patch is 2.2.2-02
INFO  2014-12-17 13:37:59 [jsonrpc ] Calling url /utils/gettranslationobject
INFO  2014-12-17 13:37:59 [jsonrpc ] Calling url /utils/listavailabletranslations
 
The output of the catalina.out:
Dec 17, 2014 1:34:55 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/jdk1.6.0_45/jre/lib/amd64/server:/usr/java/jdk1.6.0_45/jre/lib/amd64:/usr/java/jdk1.6.0_45/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
Dec 17, 2014 1:34:56 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Dec 17, 2014 1:34:56 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1674 ms
Dec 17, 2014 1:34:56 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Dec 17, 2014 1:34:56 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.24
Dec 17, 2014 1:34:56 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor manager.xml
Dec 17, 2014 1:34:57 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor cmdbuild.xml
log4j:ERROR setFile(null,false) call failed.
java.io.FileNotFoundException: alfresco.log (Permission denied)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:194)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:116)
        at org.apache.log4j.FileAppender.setFile(FileAppender.java:294)
        at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:165)
        at org.apache.log4j.DailyRollingFileAppender.activateOptions(DailyRollingFileAppender.java:223)
        at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:307)
        at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:172)
        at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:104)
        at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:842)
        at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:768)
        at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:648)
        at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:514)
        at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:580)
        at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:526)
        at org.apache.log4j.LogManager.<clinit>(LogManager.java:127)
        at org.slf4j.impl.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:66)
        at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:277)
        at org.cmdbuild.dao.logging.LoggingSupport.<clinit>(LoggingSupport.java:8)
        at org.cmdbuild.logger.Log.<clinit>(Log.java:12)
        at org.cmdbuild.plugins.ConfigurationListener.<clinit>(ConfigurationListener.java:15)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at java.lang.Class.newInstance0(Class.java:357)
        at java.lang.Class.newInstance(Class.java:310)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4154)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4709)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)
        at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:637)
        at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:563)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
        at org.apache.catalina.core.StandardService.start(StandardService.java:516)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:593)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
log4j:ERROR Either File or DatePattern options are not set for appender [File].
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 [/usr/share/tomcat6/logs/cmdbuild.log].
log4j: Setting property [maxBackupIndex] to [10].
log4j: Setting property [maxFileSize] to [100MB].
log4j: setFile called: /usr/share/tomcat6/logs/cmdbuild.log, true
log4j: setFile ended
log4j: Parsed "R" options.
log4j: Parsing for [bim] with value=[WARN].
log4j: Level token is [WARN].
log4j: Category bim set to WARN
log4j: Handling log4j.additivity.bim=[null]
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 [/usr/share/tomcat6/logs/cmdbuild_dd_sql.log].
log4j: setFile called: /usr/share/tomcat6/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 [org.cmdbuild.common.logging] with value=[WARN].
log4j: Level token is [WARN].
log4j: Category org.cmdbuild.common.logging set to WARN
log4j: Handling log4j.additivity.org.cmdbuild.common.logging=[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 [scheduler] with value=[WARN].
log4j: Level token is [WARN].
log4j: Category scheduler set to WARN
log4j: Handling log4j.additivity.scheduler=[null]
log4j: Parsing for [org.cmdbuild.services.sync.logging] with value=[WARN].
log4j: Level token is [WARN].
log4j: Category org.cmdbuild.services.sync.logging set to WARN
log4j: Handling log4j.additivity.org.cmdbuild.services.sync.logging=[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
Dec 17, 2014 1:35:33 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor host-manager.xml
Dec 17, 2014 1:35:33 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory examples
Dec 17, 2014 1:35:34 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
Dec 17, 2014 1:35:34 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory sample
Dec 17, 2014 1:35:34 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Dec 17, 2014 1:35:35 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Dec 17, 2014 1:35:35 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/119  config=null
Dec 17, 2014 1:35:35 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 39673 ms
 

 

 

Hi again,
 
Yes, that did the trick!
Many thanks! :0)
 
Best regards,
Chris
 
Previously Tecnoteca wrote:
Dear Christopher,
 
the empty password is the problem. CMDBuild checks that all three properties (url, username, password) are not empty, so you must specify a non-empty password.
 
Best regards.
 
-- CMDBuild Team
 

Previously Christopher wrote:

Hi everyone,

Have have been trying to install CMDBuild 2.2.2 on CentOS 6 with PostgreSQL 9.3 and Java 6u45.

I am running the Wizard guided installation and everything seems to go well just up to the point where the installation is finished and I am supposed to be redirected to CMDBuild.
Instead I am just redirected back to the configure start page.

The database was created just fine with tables and everything and as far as I know it looks just fine in the cmdbuild.log file.

Does anyone have any suggestions on how to get this to work?

Best regards,
Chris

Dear Vince,
 
are you using an empty password for the database user? If so, it must be a non-empty one.
 
Best regards.
 
-- CMDBuild Team

Previously Vince wrote:
Previously Christopher wrote:

Hi everyone,

Have have been trying to install CMDBuild 2.2.2 on CentOS 6 with PostgreSQL 9.3 and Java 6u45.

I am running the Wizard guided installation and everything seems to go well just up to the point where the installation is finished and I am supposed to be redirected to CMDBuild.
Instead I am just redirected back to the configure start page.

The database was created just fine with tables and everything and as far as I know it looks just fine in the cmdbuild.log file.

Does anyone have any suggestions on how to get this to work?

Best regards,
Chris

 

I'm unable to run CMDBuild after all configuration. In the configuration, Javascript debugger. I found the following error:
-Failed to load resource: the server responded with a status of 404 (Not Found).
-Uncaught TypeError: Cannot read property 'vtype_text' of undefined.
-Uncaught TypeError: Cannot read property 'configure' of undefined.
-Uncaught TypeError: Cannot read property 'configure' of undefined.
-Uncaught TypeError: Cannot read property 'configure' of undefined.
-Uncaught TypeError: undefined is not a function.
 
Please help me with this.
 
Regards,
Nikhil Singh
 
Previously Tecnoteca wrote:
Dear Vince,
 
are you using an empty password for the database user? If so, it must be a non-empty one.
 
Best regards.
 
-- CMDBuild Team

Previously Vince wrote:
Previously Christopher wrote:

Hi everyone,

Have have been trying to install CMDBuild 2.2.2 on CentOS 6 with PostgreSQL 9.3 and Java 6u45.

I am running the Wizard guided installation and everything seems to go well just up to the point where the installation is finished and I am supposed to be redirected to CMDBuild.
Instead I am just redirected back to the configure start page.

The database was created just fine with tables and everything and as far as I know it looks just fine in the cmdbuild.log file.

Does anyone have any suggestions on how to get this to work?

Best regards,
Chris

 

 

Hi again,
 
I think the problem is because directory "~/services/json/utils/gettranslationobject" is missing. Please let me know if I can download this package from anywhere.
 
Regards,
Nikhil Singh
 
Previously Nikhil wrote:
I'm unable to run CMDBuild after all configuration. In the configuration, Javascript debugger. I found the following error:
-Failed to load resource: the server responded with a status of 404 (Not Found).
-Uncaught TypeError: Cannot read property 'vtype_text' of undefined.
-Uncaught TypeError: Cannot read property 'configure' of undefined.
-Uncaught TypeError: Cannot read property 'configure' of undefined.
-Uncaught TypeError: Cannot read property 'configure' of undefined.
-Uncaught TypeError: undefined is not a function.
 
Please help me with this.
 
Regards,
Nikhil Singh
 
Previously Tecnoteca wrote:
Dear Vince,
 
are you using an empty password for the database user? If so, it must be a non-empty one.
 
Best regards.
 
-- CMDBuild Team

Previously Vince wrote:
Previously Christopher wrote:

Hi everyone,

Have have been trying to install CMDBuild 2.2.2 on CentOS 6 with PostgreSQL 9.3 and Java 6u45.

I am running the Wizard guided installation and everything seems to go well just up to the point where the installation is finished and I am supposed to be redirected to CMDBuild.
Instead I am just redirected back to the configure start page.

The database was created just fine with tables and everything and as far as I know it looks just fine in the cmdbuild.log file.

Does anyone have any suggestions on how to get this to work?

Best regards,
Chris

 

 

 

Dear Nikhil,
 
please do the following:
* stop CMDBuild service
* backup catalina.out and cmdbuild.log files
* clear catalina.out and cmdbuild.log
* edit log4j.conf and set "DEBUG" level for "jsonrpc" logger
* start CMDBuild service
* open Javascript console within browser
* reproduce the error
* stop CMDBuild service
* send us catalina.out, cmdbuild.log and Javascript logs (or an extract of them, especially network ones where we can check all requests since the error)
 
Best regards.
 
-- CMDBuild Team
 
Previously Nikhil wrote:
Hi again,
 
I think the problem is because directory "~/services/json/utils/gettranslationobject" is missing. Please let me know if I can download this package from anywhere.
 
Regards,
Nikhil Singh
 
Previously Nikhil wrote:
I'm unable to run CMDBuild after all configuration. In the configuration, Javascript debugger. I found the following error:
-Failed to load resource: the server responded with a status of 404 (Not Found).
-Uncaught TypeError: Cannot read property 'vtype_text' of undefined.
-Uncaught TypeError: Cannot read property 'configure' of undefined.
-Uncaught TypeError: Cannot read property 'configure' of undefined.
-Uncaught TypeError: Cannot read property 'configure' of undefined.
-Uncaught TypeError: undefined is not a function.
 
Please help me with this.
 
Regards,
Nikhil Singh
 
Previously Tecnoteca wrote:
Dear Vince,
 
are you using an empty password for the database user? If so, it must be a non-empty one.
 
Best regards.
 
-- CMDBuild Team

Previously Vince wrote:
Previously Christopher wrote:

Hi everyone,

Have have been trying to install CMDBuild 2.2.2 on CentOS 6 with PostgreSQL 9.3 and Java 6u45.

I am running the Wizard guided installation and everything seems to go well just up to the point where the installation is finished and I am supposed to be redirected to CMDBuild.
Instead I am just redirected back to the configure start page.

The database was created just fine with tables and everything and as far as I know it looks just fine in the cmdbuild.log file.

Does anyone have any suggestions on how to get this to work?

Best regards,
Chris

 

 

 

 

Hi team,
 
My earlier issue regarding installation and configuration is now resolved. But now I'm facing  an issue while entering the Administration to Setup Workflow, I get "java.lang.OutOfMemoryError: Permgem space" in my logs. Please if possible look into this matter and help me out with this.
 
Thanks in advance,
 
Nikhil Singh
 
 
 
 
Previously Tecnoteca wrote:
Dear Nikhil,
 
please do the following:
* stop CMDBuild service
* backup catalina.out and cmdbuild.log files
* clear catalina.out and cmdbuild.log
* edit log4j.conf and set "DEBUG" level for "jsonrpc" logger
* start CMDBuild service
* open Javascript console within browser
* reproduce the error
* stop CMDBuild service
* send us catalina.out, cmdbuild.log and Javascript logs (or an extract of them, especially network ones where we can check all requests since the error)
 
Best regards.
 
-- CMDBuild Team
 
Previously Nikhil wrote:
Hi again,
 
I think the problem is because directory "~/services/json/utils/gettranslationobject" is missing. Please let me know if I can download this package from anywhere.
 
Regards,
Nikhil Singh
 
Previously Nikhil wrote:
I'm unable to run CMDBuild after all configuration. In the configuration, Javascript debugger. I found the following error:
-Failed to load resource: the server responded with a status of 404 (Not Found).
-Uncaught TypeError: Cannot read property 'vtype_text' of undefined.
-Uncaught TypeError: Cannot read property 'configure' of undefined.
-Uncaught TypeError: Cannot read property 'configure' of undefined.
-Uncaught TypeError: Cannot read property 'configure' of undefined.
-Uncaught TypeError: undefined is not a function.
 
Please help me with this.
 
Regards,
Nikhil Singh
 
Previously Tecnoteca wrote:
Dear Vince,
 
are you using an empty password for the database user? If so, it must be a non-empty one.
 
Best regards.
 
-- CMDBuild Team

Previously Vince wrote:
Previously Christopher wrote:

Hi everyone,

Have have been trying to install CMDBuild 2.2.2 on CentOS 6 with PostgreSQL 9.3 and Java 6u45.

I am running the Wizard guided installation and everything seems to go well just up to the point where the installation is finished and I am supposed to be redirected to CMDBuild.
Instead I am just redirected back to the configure start page.

The database was created just fine with tables and everything and as far as I know it looks just fine in the cmdbuild.log file.

Does anyone have any suggestions on how to get this to work?

Best regards,
Chris

 

 

 

 

 

CATALINA.2015-04-08.log:-
Apr 8, 2015 4:36:24 PM org.apache.catalina.core.AprLifecycleListener init
INFO: Loaded APR based Apache Tomcat Native library 1.1.32 using APR version 1.5.1.
Apr 8, 2015 4:36:24 PM org.apache.catalina.core.AprLifecycleListener init
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
Apr 8, 2015 4:36:24 PM org.apache.catalina.core.AprLifecycleListener initializeSSL
INFO: OpenSSL successfully initialized with version OpenSSL 1.0.1j 15 Oct 2014
Apr 8, 2015 4:36:24 PM org.apache.coyote.http11.Http11AprProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Apr 8, 2015 4:36:24 PM org.apache.coyote.ajp.AjpAprProtocol init
INFO: Initializing Coyote AJP/1.3 on ajp-8009
Apr 8, 2015 4:36:24 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 683 ms
Apr 8, 2015 4:36:24 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Apr 8, 2015 4:36:24 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.43
Apr 8, 2015 4:36:24 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor host-manager.xml
Apr 8, 2015 4:36:24 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor manager.xml
Apr 8, 2015 4:36:24 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor shark.xml
Apr 8, 2015 4:36:29 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive openmaint.war
Apr 8, 2015 4:36:43 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory docs
Apr 8, 2015 4:36:43 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory examples
Apr 8, 2015 4:36:44 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
Apr 8, 2015 4:36:44 PM org.apache.coyote.http11.Http11AprProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Apr 8, 2015 4:36:44 PM org.apache.coyote.ajp.AjpAprProtocol start
INFO: Starting Coyote AJP/1.3 on ajp-8009
Apr 8, 2015 4:36:44 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 19624 ms
 
cmdbuild.log:-
INFO  2015-04-08 16:36:30 [cmdbuild] loading configurations
 
WARN  2015-04-08 16:36:34 [org.apache.cxf.bus.spring.OldSpringSupport] Import of META-INF/cxf/cxf-extension-soap.xml has been deprecated and is unnecessary.
 
INFO  2015-04-08 16:36:36 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
 
INFO  2015-04-08 16:36:36 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
 
INFO  2015-04-08 16:36:36 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
 
INFO  2015-04-08 16:36:36 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
 
INFO  2015-04-08 16:36:36 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
 
INFO  2015-04-08 16:36:36 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
 
INFO  2015-04-08 16:36:36 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
 
INFO  2015-04-08 16:36:36 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
 
INFO  2015-04-08 16:36:36 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
 
INFO  2015-04-08 16:36:36 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
 
INFO  2015-04-08 16:36:40 [cmdbuild] Number of fetched patches: 92
 
INFO  2015-04-08 16:36:40 [cmdbuild] Last patch C:\ApacheTomcat\apache-tomcat-6.0.43\webapps\openmaint\WEB-INF\patches\2.2.2-02.sql
 
INFO  2015-04-08 16:36:40 [cmdbuild] Last available patch is 2.2.2-02
 
INFO  2015-04-08 16:36:41 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
 
INFO  2015-04-08 16:36:41 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
 
INFO  2015-04-08 16:36:41 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
 
INFO  2015-04-08 16:36:41 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
 
INFO  2015-04-08 16:36:41 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
 
INFO  2015-04-08 16:36:41 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
 
INFO  2015-04-08 16:36:41 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
 
INFO  2015-04-08 16:36:41 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
 
INFO  2015-04-08 16:36:41 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
 
INFO  2015-04-08 16:36:41 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
 
INFO  2015-04-08 16:36:43 [cmdbuild] Initializing ParameterTransformers
 
INFO  2015-04-08 16:36:43 [cmdbuild] Transformer for org.apache.commons.fileupload.FileItem: org.cmdbuild.servlets.utils.transformer.FileItemTransformer
 
INFO  2015-04-08 16:36:43 [cmdbuild] Transformer for org.json.JSONObject: org.cmdbuild.servlets.utils.transformer.JSONObjectTransformer
 
INFO  2015-04-08 16:36:43 [cmdbuild] Transformer for org.json.JSONArray: org.cmdbuild.servlets.utils.transformer.JSONArrayTransformer
 
INFO  2015-04-08 16:36:43 [cmdbuild] Initializer custom ParameterBuilders
 
INFO  2015-04-08 16:36:43 [cmdbuild] clearing DMS temporary folder
 
INFO  2015-04-08 16:36:43 [cmdbuild] starting scheduler service
 
INFO  2015-04-08 16:36:43 [cmdbuild] reading all existing tasks
 
INFO  2015-04-08 16:36:43 [cmdbuild] converting store task 'SynchronousEventTask[id=84026,description=CreateStartWorkorderTask,running=true,lastExecution=<null>,cronExpression=<null>,parameters={filter.classname=MaintenanceActivity, action.scripting.engine=groovy, action.scripting.active=true, action.scripting.safe=false, action.scripting.script=//-----------------
import com.tecnoteca.cmdbuild.scheduler.input.DefaultInputParametersBuilder;
import com.tecnoteca.cmdbuild.scheduler.input.Input;
import com.tecnoteca.cmdbuild.scheduler.input.DefaultInputParser;
import com.tecnoteca.cmdbuild.scheduler.parameters.SchedulingParameters;
import org.cmdbuild.logic.taskmanager.task.process.StartWorkflowTask;
import org.joda.time.DateTime;
import org.cmdbuild.api.fluent.Lookup;
 
final Lookup status =  __cmdb__.queryLookup("MaintenanceActivityStatus") //
.elementWithId(__current__.get("ActivityStatus").getId().intValue())
.fetch();
boolean isActive = "A".equals(status.getCode());
 
if(isActive){
int daysFrequency = __current__.get("Every")!=null ? __current__.get("Every") : 0;
boolean onMonday = __current__.get("Monday");
boolean onTuesday = __current__.get("Tuesday");
boolean onWednesday = __current__.get("Wednesday");
boolean onThursday = __current__.get("Thursday");
boolean onFriday = __current__.get("Friday");
boolean onSaturday = __current__.get("Saturday");
boolean onSunday = __current__.get("Sunday");
int dayOfMonth = __current__.get("DayOfMonth") !=null ? __current__.get("DayOfMonth") : 0;
String dayOfWeek = null;
int dayOfWeekId = __current__.get("DayOfWeek") != null ? __current__.get("DayOfWeek").getId() : -1;
if(dayOfWeekId != -1){
dayOfWeek = __cmdb__.queryLookup("DayOfWeek") //
.elementWithId(dayOfWeekId)
.fetch()
.getCode();
}
String occurrence = null;
int occurrenceId = __current__.get("Occurrence") != null ? __current__.get("Occurrence").getId() : -1;
if(occurrenceId != -1){
occurrence = __cmdb__.queryLookup("DayOfWeekOccurrence") //
.elementWithId(occurrenceId)
.fetch()
.getCode();
}
boolean inJan = __current__.get("January");
boolean inFeb = __current__.get("February");
boolean inMar = __current__.get("March");
boolean inApr = __current__.get("April");
boolean inMay = __current__.get("May");
boolean inJun = __current__.get("June");
boolean inJul = __current__.get("July");
boolean inAug = __current__.get("August");
boolean inSep = __current__.get("September");
boolean inOct = __current__.get("October");
boolean inNov = __current__.get("November");
boolean inDec = __current__.get("December");
DateTime startTime = __current__.get("StartTime");
int hour = startTime != null ? startTime.getHourOfDay() : 0;
int minute = startTime != null ? startTime.getMinuteOfHour() : 0;
int yearsFrequency = __current__.get("YearsFrequency") != null ? __current__.get("YearsFrequency") : 0;
int startingYear = __current__.get("StartingYear") != null ? __current__.get("StartingYear") : 0;
if(__current__.get("FrequencyType") == null){
throw new IllegalStateException("'FrequencyType' attribute not set");
}
final Lookup frequency =  __cmdb__.queryLookup("FrequencyType") //
.elementWithId(__current__.get("FrequencyType").getId().intValue())
.fetch();
DefaultInputParametersBuilder builder = DefaultInputParametersBuilder.newInstance();
final Input input = builder //
.forFrequencyType(frequency.getCode()) //
.everyNDays(daysFrequency) //
.isOnMonday(onMonday) //
.isOnTuesday(onTuesday) //
.isOnWednesday(onWednesday) //
.isOnThursday(onThursday) //
.isOnFriday(onFriday) //
.isOnSaturday(onSaturday) //
.isOnSunday(onSunday) //
.onDayNOfTheMonth(dayOfMonth) //
.onTheOccurrence(occurrence) //
.onTheDayOfTheWeek(dayOfWeek) //
.inJanuary(inJan) //
.inFebruary(inFeb) //
.inMarch(inMar) //
.inApril(inApr) //
.inMay(inMay) //
.inJune(inJun) //
.inJuly(inJul) //
.inAugust(inAug) //
.inSeptember(inSep) //
.inOctober(inOct) //
.inNovember(inNov) //
.inDecember(inDec) //
.startingAtHour(hour) //
.startingAtMinute(minute) //
.everyNYears(yearsFrequency) //
.startingFromYear(startingYear) //
.build();
DefaultInputParser parser = DefaultInputParser.forInput(input);
SchedulingParameters scheduling = parser.convert();
String cronExpression = scheduling.convert();
Iterable<Lookup> lookupValues = __cmdb__.queryLookup("ActivityCategory").fetch(); //
int categoryId = -1;
for(Lookup value : lookupValues){
if("P".equals(value.getCode())){
categoryId = value.getId();
break;
}
}
 
final String description = "PM"+ (__current__.get("Code") != null ? "-"+__current__.get("Code") : ""); 
final String details = __current__.get("Details");
final String instructions = __current__.get("Instructions");
final int hours = __current__.get("DueHours") != null ? __current__.get("DueHours") : 0;
final String teamId = __current__.get("Team") != null ? __current__.get("Team").getId() : null;
final String priorityId = __current__.get("Priority") != null ? __current__.get("Priority").getId() : null;
final String assigneeId =  __current__.get("SuggestedAssignee") != null ? __current__.get("SuggestedAssignee").getId() : null;
final String servicecatId = __current__.get("ServiceCategory") != null ? __current__.get("ServiceCategory").getId() : null;
final String serviceId = __current__.get("Service") != null ? __current__.get("Service").getId() : null;
final String groupId = __current__.get("Group") != null ? __current__.get("Group").getId() : null;
 
Map<String, String> woParameters = new HashMap<String, String>();
woParameters.put("DueHours", hours);
woParameters.put("Activity",__current__.getId());
if(description != null){
woParameters.put("Description", description);
}
if(details != null){
woParameters.put("Details",details);
}
if(instructions != null){
woParameters.put("Instructions", instructions);
}
if(categoryId != -1){
woParameters.put("Category", categoryId);
}else{
throw new IllegalStateException("Unable to load lookup of type 'ActivityCategory' with Code 'P'");
}
if(teamId != null){
woParameters.put("Team",teamId); 
}
  if(priorityId != null){
woParameters.put("Priority",priorityId);
  }
  if(servicecatId != null){
woParameters.put("ServiceCategory", servicecatId);
  }
  if(serviceId != null){
woParameters.put("Service",serviceId);
  }
  if(assigneeId != null){
woParameters.put("SuggestedAssignee",assigneeId);
  }
  if(groupId != null){
woParameters.put("ItemsGroup",groupId);
  }
__logger__.info("Create task with cron expression '{}'",cronExpression);
String taskDescription = "Scheduled Workorder " + description;
final StartWorkflowTask task = StartWorkflowTask.newInstance() //
.withDescription(taskDescription) //
.withActiveStatus(true) //
.withCronExpression(cronExpression) //
.withProcessClass("Workorder") //
.withAttributes(woParameters) //
.build();
final Long taskId = __taskmanagerlogic__.create(task);
__logger__.info("New task was created with description '{}' and id '{}'", taskDescription, taskId.toString());
__logger__.info("Task is scheduled according to cron expression '{}'",cronExpression);
if(taskId != null){
__cmdb__.existingCard("MaintenanceActivity",__current__.getId().intValue()) //
.with("StartWorkflowTasks",taskId.toString())
.update();
}else{
throw new RuntimeException("StartWorkflow task was not created");
}
}else{
__cmdb__.existingCard("MaintenanceActivity",__current__.getId().intValue()) //
.with("StartWorkflowTasks",null)
.update();
__logger__.info("Reset attribute '{StartWorkflowTasks}' for card '{}'",__current__.getId());
}
//-----------------
, phase=after_create}]' to logic task
 
INFO  2015-04-08 16:36:43 [cmdbuild] converting store task 'SynchronousEventTask[id=84040,description=UpdateStartWorkorderTask,running=true,lastExecution=<null>,cronExpression=<null>,parameters={filter.classname=MaintenanceActivity, action.scripting.engine=groovy, action.scripting.active=true, action.scripting.safe=false, action.scripting.script=//-----------------
import com.google.common.collect.Lists;
import com.tecnoteca.cmdbuild.scheduler.input.DefaultInputParametersBuilder;
import com.tecnoteca.cmdbuild.scheduler.input.Input;
import com.tecnoteca.cmdbuild.scheduler.input.DefaultInputParser;
import com.tecnoteca.cmdbuild.scheduler.parameters.SchedulingParameters;
import org.cmdbuild.logic.taskmanager.task.process.StartWorkflowTask;
import org.joda.time.DateTime;
import org.cmdbuild.api.fluent.Lookup;
 
import static org.apache.commons.lang3.StringUtils.isEmpty;
 
__logger__.info("Start execution...");
 
final Iterable<String> stringToCheck = Lists.newArrayList(
"Code", "Description",//
"Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday",//
      "DayOfMonth","Every",//
"January","February","March","April","May","June","July","August","September","October","November","December", //
"Details","Instructions","DueHours", //
"YearsFrequency","StartingYear"
);
final Iterable<String> idToCheck = Lists.newArrayList(
"Priority","SuggestedAssignee", "ActivityStatus",//
"ServiceCategory","Service","Group","Team",
"FrequencyType","DayOfWeek","Occurrence"//
);
boolean somethingChanged = false;
 
for(String attribute : stringToCheck){
if(__current__.get(attribute) != __previous__.get(attribute)){
somethingChanged = true;
break;
}
}
if(!somethingChanged){
for(String attribute : idToCheck){
if((__current__.get(attribute) == null && __previous__.get(attribute) != null) || //
  (__current__.get(attribute) != null && __previous__.get(attribute) == null) || //
  (__current__.get(attribute) != null && __previous__.get(attribute) != null && __current__.get(attribute).getId() != __previous__.get(attribute).getId())){
somethingChanged = true;
break;
}
}
}
if(!somethingChanged){
DateTime startTime = __current__.get("StartTime");
DateTime oldStartTime = __current__.get("StartTime");
if((startTime == null && oldStartTime != null) || (startTime != null && oldStartTime == null)){
somethingChanged = true;
}else if(startTime != null && oldStartTime != null){
int hour = startTime.getHourOfDay();
int minute = startTime.getMinuteOfHour();
int oldHour = oldStartTime.getHourOfDay();
int oldMinute = oldStartTime.getMinuteOfHour();
if(hour != oldHour || minute != oldMinute){
somethingChanged = true;
}
}
}
__logger__.info("Update current task: '{}'",somethingChanged);
 
Long oldTaskId = null;
if(!isEmpty(__current__.get("StartWorkflowTasks"))){
oldTaskId = Long.valueOf(__current__.get("StartWorkflowTasks"));
}
__logger__.info("Old task id is '{}'", oldTaskId);
 
final Lookup status =  __cmdb__.queryLookup("MaintenanceActivityStatus") //
.elementWithId(__current__.get("ActivityStatus").getId().intValue())
.fetch();
boolean isActive = "A".equals(status.getCode());
 
__logger__.info("Is new task active? '{}'", isActive);
 
if(isActive && somethingChanged){
int daysFrequency = __current__.get("Every")!=null ? __current__.get("Every") : 0;
boolean onMonday = __current__.get("Monday");
boolean onTuesday = __current__.get("Tuesday");
boolean onWednesday = __current__.get("Wednesday");
boolean onThursday = __current__.get("Thursday");
boolean onFriday = __current__.get("Friday");
boolean onSaturday = __current__.get("Saturday");
boolean onSunday = __current__.get("Sunday");
int dayOfMonth = __current__.get("DayOfMonth")!=null ? __current__.get("DayOfMonth") : 0;
String dayOfWeek = null;
int dayOfWeekId = __current__.get("DayOfWeek") != null ? __current__.get("DayOfWeek").getId() : -1;
if(dayOfWeekId != -1){
dayOfWeek = __cmdb__.queryLookup("DayOfWeek") //
.elementWithId(dayOfWeekId)
.fetch()
.getCode();
}
String occurrence = null;
int occurrenceId = __current__.get("Occurrence") != null ? __current__.get("Occurrence").getId() : -1;
if(occurrenceId != -1){
occurrence = __cmdb__.queryLookup("DayOfWeekOccurrence") //
.elementWithId(occurrenceId)
.fetch()
.getCode();
}
boolean inJan = __current__.get("January");
boolean inFeb = __current__.get("February");
boolean inMar = __current__.get("March");
boolean inApr = __current__.get("April");
boolean inMay = __current__.get("May");
boolean inJun = __current__.get("June");
boolean inJul = __current__.get("July");
boolean inAug = __current__.get("August");
boolean inSep = __current__.get("September");
boolean inOct = __current__.get("October");
boolean inNov = __current__.get("November");
boolean inDec = __current__.get("December");
DateTime startTime = __current__.get("StartTime");
int hour = startTime != null ? startTime.getHourOfDay() : 0;
int minute = startTime != null ? startTime.getMinuteOfHour() : 0;
int yearsFrequency = __current__.get("YearsFrequency") != null ? __current__.get("YearsFrequency") : 0;
int startingYear = __current__.get("StartingYear") != null ? __current__.get("StartingYear") : 0;
 
if(__current__.get("FrequencyType") == null){
throw new IllegalStateException("'FrequencyType' attribute not set");
}
final Lookup frequency =  __cmdb__.queryLookup("FrequencyType") //
.elementWithId(__current__.get("FrequencyType").getId().intValue())
.fetch();
 
DefaultInputParametersBuilder builder = DefaultInputParametersBuilder.newInstance();
 
final Input input = builder //
.forFrequencyType(frequency.getCode()) //
.everyNDays(daysFrequency) //
.isOnMonday(onMonday) //
.isOnTuesday(onTuesday) //
.isOnWednesday(onWednesday) //
.isOnThursday(onThursday) //
.isOnFriday(onFriday) //
.isOnSaturday(onSaturday) //
.isOnSunday(onSunday) //
.onDayNOfTheMonth(dayOfMonth) //
.onTheOccurrence(occurrence) //
.onTheDayOfTheWeek(dayOfWeek) //
.inJanuary(inJan) //
.inFebruary(inFeb) //
.inMarch(inMar) //
.inApril(inApr) //
.inMay(inMay) //
.inJune(inJun) //
.inJuly(inJul) //
.inAugust(inAug) //
.inSeptember(inSep) //
.inOctober(inOct) //
.inNovember(inNov) //
.inDecember(inDec) //
.startingAtHour(hour) //
.startingAtMinute(minute) //
.everyNYears(yearsFrequency) //
.startingFromYear(startingYear) //
.build();
DefaultInputParser parser = DefaultInputParser.forInput(input);
SchedulingParameters scheduling = parser.convert();
String cronExpression = scheduling.convert();
 
Iterable<Lookup> lookupValues = __cmdb__.queryLookup("ActivityCategory").fetch(); //
int categoryId = -1;
for(Lookup value : lookupValues){
if("P".equals(value.getCode())){
categoryId = value.getId();
break;
}
}
final String description = "PM"+ (__current__.get("Code") != null ? "-"+__current__.get("Code") : ""); 
final String details = __current__.get("Details");
final String instructions = __current__.get("Instructions");
final int hours = __current__.get("DueHours") != null ? __current__.get("DueHours") : 0;
final String teamId = __current__.get("Team") != null ? __current__.get("Team").getId() : null;
final String priorityId = __current__.get("Priority") != null ? __current__.get("Priority").getId() : null;
final String assigneeId =  __current__.get("SuggestedAssignee") != null ? __current__.get("SuggestedAssignee").getId() : null;
final String servicecatId = __current__.get("ServiceCategory") != null ? __current__.get("ServiceCategory").getId() : null;
final String serviceId = __current__.get("Service") != null ? __current__.get("Service").getId() : null;
final String groupId = __current__.get("Group") != null ? __current__.get("Group").getId() : null;
 
Map<String, String> woParameters = new HashMap<String, String>();
woParameters.put("DueHours", hours);
woParameters.put("Activity",__current__.getId());
if(description != null){
woParameters.put("Description", description);
}
if(details != null){
woParameters.put("Details",details);
}
if(instructions != null){
woParameters.put("Instructions", instructions);
}
if(categoryId != -1){
woParameters.put("Category", categoryId);
}else{
throw new IllegalStateException("Unable to load lookup of type 'ActivityCategory' with Code 'P'");
}
if(teamId != null){
woParameters.put("Team",teamId); 
}
  if(priorityId != null){
woParameters.put("Priority",priorityId);
  }
  if(servicecatId != null){
woParameters.put("ServiceCategory", servicecatId);
  }
  if(serviceId != null){
woParameters.put("Service",serviceId);
  }
  if(assigneeId != null){
woParameters.put("SuggestedAssignee",assigneeId);
  }
  if(groupId != null){
woParameters.put("ItemsGroup",groupId);
  }
if(oldTaskId != null){
final StartWorkflowTask oldTask = StartWorkflowTask.newInstance() //
.withId(oldTaskId) //
.build();
__taskmanagerlogic__.delete(oldTask);
}
__logger__.info("Old task was deleted");
final StartWorkflowTask task = StartWorkflowTask.newInstance() //
.withDescription("Scheduled Workorder " + description) //
.withActiveStatus(true) //
.withCronExpression(cronExpression) //
.withProcessClass("Workorder") //
.withAttributes(woParameters) //
.build();
final Long newTaskId = __taskmanagerlogic__.create(task);
if(newTaskId != null){
__cmdb__.existingCard("MaintenanceActivity",__current__.getId().intValue()) //
.with("StartWorkflowTasks",newTaskId.toString())
.update();
__logger__.info("New task was created");
}else{
throw new RuntimeException("StartWorkflowTask was not created");
}
}else if(!isActive && somethingChanged){
  if(oldTaskId != null){
final StartWorkflowTask oldTask = StartWorkflowTask.newInstance() //
.withId(oldTaskId) //
.build();
try{
__taskmanagerlogic__.delete(oldTask);
}catch(Throwable t){
__logger__.warn("Unable to delete task '{}'",oldTaskId);
}
__cmdb__.existingCard("MaintenanceActivity",__current__.getId().intValue()) //
.with("StartWorkflowTasks",null)
.update();
__logger__.info("Old task was deleted");
  }
 }
//-----------------
, phase=after_update}]' to logic task
 
INFO  2015-04-08 16:36:43 [cmdbuild] converting store task 'SynchronousEventTask[id=84054,description=DeleteStartWorkorderTask,running=true,lastExecution=<null>,cronExpression=<null>,parameters={filter.classname=MaintenanceActivity, action.scripting.engine=groovy, action.scripting.active=true, action.scripting.safe=false, action.scripting.script=//-----------------
import org.cmdbuild.logic.taskmanager.task.process.StartWorkflowTask;
 
import static org.apache.commons.lang3.StringUtils.isEmpty;
 
Long oldTaskId = null;
if(!isEmpty(__current__.get("StartWorkflowTasks"))){
oldTaskId = Long.valueOf(__current__.get("StartWorkflowTasks"));
__logger__.info("Old task id is '{}'", oldTaskId);
}
if(oldTaskId != null){
final StartWorkflowTask oldTask = StartWorkflowTask.newInstance() //
.withId(oldTaskId) //
.build();
try{
__taskmanagerlogic__.delete(oldTask);
}catch(Throwable t){
__logger__.warn("Unable to delete task '{}'", oldTaskId);
}
__cmdb__.existingCard("MaintenanceActivity",__current__.getId().intValue()) //
.with("StartWorkflowTasks",null)
.update();
__logger__.info("Old task was deleted");
}
//-----------------
, phase=before_delete}]' to logic task
 
INFO  2015-04-08 16:36:43 [cmdbuild] activating the existing task '84026'
 
INFO  2015-04-08 16:36:43 [cmdbuild] converting store task 'SynchronousEventTask[id=84026,description=CreateStartWorkorderTask,running=true,lastExecution=<null>,cronExpression=<null>,parameters={filter.classname=MaintenanceActivity, action.scripting.engine=groovy, action.scripting.active=true, action.scripting.safe=false, action.scripting.script=//-----------------
import com.tecnoteca.cmdbuild.scheduler.input.DefaultInputParametersBuilder;
import com.tecnoteca.cmdbuild.scheduler.input.Input;
import com.tecnoteca.cmdbuild.scheduler.input.DefaultInputParser;
import com.tecnoteca.cmdbuild.scheduler.parameters.SchedulingParameters;
import org.cmdbuild.logic.taskmanager.task.process.StartWorkflowTask;
import org.joda.time.DateTime;
import org.cmdbuild.api.fluent.Lookup;
 
final Lookup status =  __cmdb__.queryLookup("MaintenanceActivityStatus") //
.elementWithId(__current__.get("ActivityStatus").getId().intValue())
.fetch();
boolean isActive = "A".equals(status.getCode());
 
if(isActive){
int daysFrequency = __current__.get("Every")!=null ? __current__.get("Every") : 0;
boolean onMonday = __current__.get("Monday");
boolean onTuesday = __current__.get("Tuesday");
boolean onWednesday = __current__.get("Wednesday");
boolean onThursday = __current__.get("Thursday");
boolean onFriday = __current__.get("Friday");
boolean onSaturday = __current__.get("Saturday");
boolean onSunday = __current__.get("Sunday");
int dayOfMonth = __current__.get("DayOfMonth") !=null ? __current__.get("DayOfMonth") : 0;
String dayOfWeek = null;
int dayOfWeekId = __current__.get("DayOfWeek") != null ? __current__.get("DayOfWeek").getId() : -1;
if(dayOfWeekId != -1){
dayOfWeek = __cmdb__.queryLookup("DayOfWeek") //
.elementWithId(dayOfWeekId)
.fetch()
.getCode();
}
String occurrence = null;
int occurrenceId = __current__.get("Occurrence") != null ? __current__.get("Occurrence").getId() : -1;
if(occurrenceId != -1){
occurrence = __cmdb__.queryLookup("DayOfWeekOccurrence") //
.elementWithId(occurrenceId)
.fetch()
.getCode();
}
boolean inJan = __current__.get("January");
boolean inFeb = __current__.get("February");
boolean inMar = __current__.get("March");
boolean inApr = __current__.get("April");
boolean inMay = __current__.get("May");
boolean inJun = __current__.get("June");
boolean inJul = __current__.get("July");
boolean inAug = __current__.get("August");
boolean inSep = __current__.get("September");
boolean inOct = __current__.get("October");
boolean inNov = __current__.get("November");
boolean inDec = __current__.get("December");
DateTime startTime = __current__.get("StartTime");
int hour = startTime != null ? startTime.getHourOfDay() : 0;
int minute = startTime != null ? startTime.getMinuteOfHour() : 0;
int yearsFrequency = __current__.get("YearsFrequency") != null ? __current__.get("YearsFrequency") : 0;
int startingYear = __current__.get("StartingYear") != null ? __current__.get("StartingYear") : 0;
if(__current__.get("FrequencyType") == null){
throw new IllegalStateException("'FrequencyType' attribute not set");
}
final Lookup frequency =  __cmdb__.queryLookup("FrequencyType") //
.elementWithId(__current__.get("FrequencyType").getId().intValue())
.fetch();
DefaultInputParametersBuilder builder = DefaultInputParametersBuilder.newInstance();
final Input input = builder //
.forFrequencyType(frequency.getCode()) //
.everyNDays(daysFrequency) //
.isOnMonday(onMonday) //
.isOnTuesday(onTuesday) //
.isOnWednesday(onWednesday) //
.isOnThursday(onThursday) //
.isOnFriday(onFriday) //
.isOnSaturday(onSaturday) //
.isOnSunday(onSunday) //
.onDayNOfTheMonth(dayOfMonth) //
.onTheOccurrence(occurrence) //
.onTheDayOfTheWeek(dayOfWeek) //
.inJanuary(inJan) //
.inFebruary(inFeb) //
.inMarch(inMar) //
.inApril(inApr) //
.inMay(inMay) //
.inJune(inJun) //
.inJuly(inJul) //
.inAugust(inAug) //
.inSeptember(inSep) //
.inOctober(inOct) //
.inNovember(inNov) //
.inDecember(inDec) //
.startingAtHour(hour) //
.startingAtMinute(minute) //
.everyNYears(yearsFrequency) //
.startingFromYear(startingYear) //
.build();
DefaultInputParser parser = DefaultInputParser.forInput(input);
SchedulingParameters scheduling = parser.convert();
String cronExpression = scheduling.convert();
Iterable<Lookup> lookupValues = __cmdb__.queryLookup("ActivityCategory").fetch(); //
int categoryId = -1;
for(Lookup value : lookupValues){
if("P".equals(value.getCode())){
categoryId = value.getId();
break;
}
}
 
final String description = "PM"+ (__current__.get("Code") != null ? "-"+__current__.get("Code") : ""); 
final String details = __current__.get("Details");
final String instructions = __current__.get("Instructions");
final int hours = __current__.get("DueHours") != null ? __current__.get("DueHours") : 0;
final String teamId = __current__.get("Team") != null ? __current__.get("Team").getId() : null;
final String priorityId = __current__.get("Priority") != null ? __current__.get("Priority").getId() : null;
final String assigneeId =  __current__.get("SuggestedAssignee") != null ? __current__.get("SuggestedAssignee").getId() : null;
final String servicecatId = __current__.get("ServiceCategory") != null ? __current__.get("ServiceCategory").getId() : null;
final String serviceId = __current__.get("Service") != null ? __current__.get("Service").getId() : null;
final String groupId = __current__.get("Group") != null ? __current__.get("Group").getId() : null;
 
Map<String, String> woParameters = new HashMap<String, String>();
woParameters.put("DueHours", hours);
woParameters.put("Activity",__current__.getId());
if(description != null){
woParameters.put("Description", description);
}
if(details != null){
woParameters.put("Details",details);
}
if(instructions != null){
woParameters.put("Instructions", instructions);
}
if(categoryId != -1){
woParameters.put("Category", categoryId);
}else{
throw new IllegalStateException("Unable to load lookup of type 'ActivityCategory' with Code 'P'");
}
if(teamId != null){
woParameters.put("Team",teamId); 
}
  if(priorityId != null){
woParameters.put("Priority",priorityId);
  }
  if(servicecatId != null){
woParameters.put("ServiceCategory", servicecatId);
  }
  if(serviceId != null){
woParameters.put("Service",serviceId);
  }
  if(assigneeId != null){
woParameters.put("SuggestedAssignee",assigneeId);
  }
  if(groupId != null){
woParameters.put("ItemsGroup",groupId);
  }
__logger__.info("Create task with cron expression '{}'",cronExpression);
String taskDescription = "Scheduled Workorder " + description;
final StartWorkflowTask task = StartWorkflowTask.newInstance() //
.withDescription(taskDescription) //
.withActiveStatus(true) //
.withCronExpression(cronExpression) //
.withProcessClass("Workorder") //
.withAttributes(woParameters) //
.build();
final Long taskId = __taskmanagerlogic__.create(task);
__logger__.info("New task was created with description '{}' and id '{}'", taskDescription, taskId.toString());
__logger__.info("Task is scheduled according to cron expression '{}'",cronExpression);
if(taskId != null){
__cmdb__.existingCard("MaintenanceActivity",__current__.getId().intValue()) //
.with("StartWorkflowTasks",taskId.toString())
.update();
}else{
throw new RuntimeException("StartWorkflow task was not created");
}
}else{
__cmdb__.existingCard("MaintenanceActivity",__current__.getId().intValue()) //
.with("StartWorkflowTasks",null)
.update();
__logger__.info("Reset attribute '{StartWorkflowTasks}' for card '{}'",__current__.getId());
}
//-----------------
, phase=after_create}]' to logic task
 
INFO  2015-04-08 16:36:43 [cmdbuild] adding element 'org.cmdbuild.logic.taskmanager.event.DefaultSynchronousEventFacade$DefaultIdentifiableObserver@70a26301[identifier=84026]'
 
INFO  2015-04-08 16:36:43 [cmdbuild] activating the existing task '84040'
 
INFO  2015-04-08 16:36:43 [cmdbuild] converting store task 'SynchronousEventTask[id=84040,description=UpdateStartWorkorderTask,running=true,lastExecution=<null>,cronExpression=<null>,parameters={filter.classname=MaintenanceActivity, action.scripting.engine=groovy, action.scripting.active=true, action.scripting.safe=false, action.scripting.script=//-----------------
import com.google.common.collect.Lists;
import com.tecnoteca.cmdbuild.scheduler.input.DefaultInputParametersBuilder;
import com.tecnoteca.cmdbuild.scheduler.input.Input;
import com.tecnoteca.cmdbuild.scheduler.input.DefaultInputParser;
import com.tecnoteca.cmdbuild.scheduler.parameters.SchedulingParameters;
import org.cmdbuild.logic.taskmanager.task.process.StartWorkflowTask;
import org.joda.time.DateTime;
import org.cmdbuild.api.fluent.Lookup;
 
import static org.apache.commons.lang3.StringUtils.isEmpty;
 
__logger__.info("Start execution...");
 
final Iterable<String> stringToCheck = Lists.newArrayList(
"Code", "Description",//
"Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday",//
      "DayOfMonth","Every",//
"January","February","March","April","May","June","July","August","September","October","November","December", //
"Details","Instructions","DueHours", //
"YearsFrequency","StartingYear"
);
final Iterable<String> idToCheck = Lists.newArrayList(
"Priority","SuggestedAssignee", "ActivityStatus",//
"ServiceCategory","Service","Group","Team",
"FrequencyType","DayOfWeek","Occurrence"//
);
boolean somethingChanged = false;
 
for(String attribute : stringToCheck){
if(__current__.get(attribute) != __previous__.get(attribute)){
somethingChanged = true;
break;
}
}
if(!somethingChanged){
for(String attribute : idToCheck){
if((__current__.get(attribute) == null && __previous__.get(attribute) != null) || //
  (__current__.get(attribute) != null && __previous__.get(attribute) == null) || //
  (__current__.get(attribute) != null && __previous__.get(attribute) != null && __current__.get(attribute).getId() != __previous__.get(attribute).getId())){
somethingChanged = true;
break;
}
}
}
if(!somethingChanged){
DateTime startTime = __current__.get("StartTime");
DateTime oldStartTime = __current__.get("StartTime");
if((startTime == null && oldStartTime != null) || (startTime != null && oldStartTime == null)){
somethingChanged = true;
}else if(startTime != null && oldStartTime != null){
int hour = startTime.getHourOfDay();
int minute = startTime.getMinuteOfHour();
int oldHour = oldStartTime.getHourOfDay();
int oldMinute = oldStartTime.getMinuteOfHour();
if(hour != oldHour || minute != oldMinute){
somethingChanged = true;
}
}
}
__logger__.info("Update current task: '{}'",somethingChanged);
 
Long oldTaskId = null;
if(!isEmpty(__current__.get("StartWorkflowTasks"))){
oldTaskId = Long.valueOf(__current__.get("StartWorkflowTasks"));
}
__logger__.info("Old task id is '{}'", oldTaskId);
 
final Lookup status =  __cmdb__.queryLookup("MaintenanceActivityStatus") //
.elementWithId(__current__.get("ActivityStatus").getId().intValue())
.fetch();
boolean isActive = "A".equals(status.getCode());
 
__logger__.info("Is new task active? '{}'", isActive);
 
if(isActive && somethingChanged){
int daysFrequency = __current__.get("Every")!=null ? __current__.get("Every") : 0;
boolean onMonday = __current__.get("Monday");
boolean onTuesday = __current__.get("Tuesday");
boolean onWednesday = __current__.get("Wednesday");
boolean onThursday = __current__.get("Thursday");
boolean onFriday = __current__.get("Friday");
boolean onSaturday = __current__.get("Saturday");
boolean onSunday = __current__.get("Sunday");
int dayOfMonth = __current__.get("DayOfMonth")!=null ? __current__.get("DayOfMonth") : 0;
String dayOfWeek = null;
int dayOfWeekId = __current__.get("DayOfWeek") != null ? __current__.get("DayOfWeek").getId() : -1;
if(dayOfWeekId != -1){
dayOfWeek = __cmdb__.queryLookup("DayOfWeek") //
.elementWithId(dayOfWeekId)
.fetch()
.getCode();
}
String occurrence = null;
int occurrenceId = __current__.get("Occurrence") != null ? __current__.get("Occurrence").getId() : -1;
if(occurrenceId != -1){
occurrence = __cmdb__.queryLookup("DayOfWeekOccurrence") //
.elementWithId(occurrenceId)
.fetch()
.getCode();
}
boolean inJan = __current__.get("January");
boolean inFeb = __current__.get("February");
boolean inMar = __current__.get("March");
boolean inApr = __current__.get("April");
boolean inMay = __current__.get("May");
boolean inJun = __current__.get("June");
boolean inJul = __current__.get("July");
boolean inAug = __current__.get("August");
boolean inSep = __current__.get("September");
boolean inOct = __current__.get("October");
boolean inNov = __current__.get("November");
boolean inDec = __current__.get("December");
DateTime startTime = __current__.get("StartTime");
int hour = startTime != null ? startTime.getHourOfDay() : 0;
int minute = startTime != null ? startTime.getMinuteOfHour() : 0;
int yearsFrequency = __current__.get("YearsFrequency") != null ? __current__.get("YearsFrequency") : 0;
int startingYear = __current__.get("StartingYear") != null ? __current__.get("StartingYear") : 0;
 
if(__current__.get("FrequencyType") == null){
throw new IllegalStateException("'FrequencyType' attribute not set");
}
final Lookup frequency =  __cmdb__.queryLookup("FrequencyType") //
.elementWithId(__current__.get("FrequencyType").getId().intValue())
.fetch();
 
DefaultInputParametersBuilder builder = DefaultInputParametersBuilder.newInstance();
 
final Input input = builder //
.forFrequencyType(frequency.getCode()) //
.everyNDays(daysFrequency) //
.isOnMonday(onMonday) //
.isOnTuesday(onTuesday) //
.isOnWednesday(onWednesday) //
.isOnThursday(onThursday) //
.isOnFriday(onFriday) //
.isOnSaturday(onSaturday) //
.isOnSunday(onSunday) //
.onDayNOfTheMonth(dayOfMonth) //
.onTheOccurrence(occurrence) //
.onTheDayOfTheWeek(dayOfWeek) //
.inJanuary(inJan) //
.inFebruary(inFeb) //
.inMarch(inMar) //
.inApril(inApr) //
.inMay(inMay) //
.inJune(inJun) //
.inJuly(inJul) //
.inAugust(inAug) //
.inSeptember(inSep) //
.inOctober(inOct) //
.inNovember(inNov) //
.inDecember(inDec) //
.startingAtHour(hour) //
.startingAtMinute(minute) //
.everyNYears(yearsFrequency) //
.startingFromYear(startingYear) //
.build();
DefaultInputParser parser = DefaultInputParser.forInput(input);
SchedulingParameters scheduling = parser.convert();
String cronExpression = scheduling.convert();
 
Iterable<Lookup> lookupValues = __cmdb__.queryLookup("ActivityCategory").fetch(); //
int categoryId = -1;
for(Lookup value : lookupValues){
if("P".equals(value.getCode())){
categoryId = value.getId();
break;
}
}
final String description = "PM"+ (__current__.get("Code") != null ? "-"+__current__.get("Code") : ""); 
final String details = __current__.get("Details");
final String instructions = __current__.get("Instructions");
final int hours = __current__.get("DueHours") != null ? __current__.get("DueHours") : 0;
final String teamId = __current__.get("Team") != null ? __current__.get("Team").getId() : null;
final String priorityId = __current__.get("Priority") != null ? __current__.get("Priority").getId() : null;
final String assigneeId =  __current__.get("SuggestedAssignee") != null ? __current__.get("SuggestedAssignee").getId() : null;
final String servicecatId = __current__.get("ServiceCategory") != null ? __current__.get("ServiceCategory").getId() : null;
final String serviceId = __current__.get("Service") != null ? __current__.get("Service").getId() : null;
final String groupId = __current__.get("Group") != null ? __current__.get("Group").getId() : null;
 
Map<String, String> woParameters = new HashMap<String, String>();
woParameters.put("DueHours", hours);
woParameters.put("Activity",__current__.getId());
if(description != null){
woParameters.put("Description", description);
}
if(details != null){
woParameters.put("Details",details);
}
if(instructions != null){
woParameters.put("Instructions", instructions);
}
if(categoryId != -1){
woParameters.put("Category", categoryId);
}else{
throw new IllegalStateException("Unable to load lookup of type 'ActivityCategory' with Code 'P'");
}
if(teamId != null){
woParameters.put("Team",teamId); 
}
  if(priorityId != null){
woParameters.put("Priority",priorityId);
  }
  if(servicecatId != null){
woParameters.put("ServiceCategory", servicecatId);
  }
  if(serviceId != null){
woParameters.put("Service",serviceId);
  }
  if(assigneeId != null){
woParameters.put("SuggestedAssignee",assigneeId);
  }
  if(groupId != null){
woParameters.put("ItemsGroup",groupId);
  }
if(oldTaskId != null){
final StartWorkflowTask oldTask = StartWorkflowTask.newInstance() //
.withId(oldTaskId) //
.build();
__taskmanagerlogic__.delete(oldTask);
}
__logger__.info("Old task was deleted");
final StartWorkflowTask task = StartWorkflowTask.newInstance() //
.withDescription("Scheduled Workorder " + description) //
.withActiveStatus(true) //
.withCronExpression(cronExpression) //
.withProcessClass("Workorder") //
.withAttributes(woParameters) //
.build();
final Long newTaskId = __taskmanagerlogic__.create(task);
if(newTaskId != null){
__cmdb__.existingCard("MaintenanceActivity",__current__.getId().intValue()) //
.with("StartWorkflowTasks",newTaskId.toString())
.update();
__logger__.info("New task was created");
}else{
throw new RuntimeException("StartWorkflowTask was not created");
}
}else if(!isActive && somethingChanged){
  if(oldTaskId != null){
final StartWorkflowTask oldTask = StartWorkflowTask.newInstance() //
.withId(oldTaskId) //
.build();
try{
__taskmanagerlogic__.delete(oldTask);
}catch(Throwable t){
__logger__.warn("Unable to delete task '{}'",oldTaskId);
}
__cmdb__.existingCard("MaintenanceActivity",__current__.getId().intValue()) //
.with("StartWorkflowTasks",null)
.update();
__logger__.info("Old task was deleted");
  }
 }
//-----------------
, phase=after_update}]' to logic task
 
INFO  2015-04-08 16:36:43 [cmdbuild] adding element 'org.cmdbuild.logic.taskmanager.event.DefaultSynchronousEventFacade$DefaultIdentifiableObserver@4563f0da[identifier=84040]'
 
INFO  2015-04-08 16:36:43 [cmdbuild] activating the existing task '84054'
 
INFO  2015-04-08 16:36:43 [cmdbuild] converting store task 'SynchronousEventTask[id=84054,description=DeleteStartWorkorderTask,running=true,lastExecution=<null>,cronExpression=<null>,parameters={filter.classname=MaintenanceActivity, action.scripting.engine=groovy, action.scripting.active=true, action.scripting.safe=false, action.scripting.script=//-----------------
import org.cmdbuild.logic.taskmanager.task.process.StartWorkflowTask;
 
import static org.apache.commons.lang3.StringUtils.isEmpty;
 
Long oldTaskId = null;
if(!isEmpty(__current__.get("StartWorkflowTasks"))){
oldTaskId = Long.valueOf(__current__.get("StartWorkflowTasks"));
__logger__.info("Old task id is '{}'", oldTaskId);
}
if(oldTaskId != null){
final StartWorkflowTask oldTask = StartWorkflowTask.newInstance() //
.withId(oldTaskId) //
.build();
try{
__taskmanagerlogic__.delete(oldTask);
}catch(Throwable t){
__logger__.warn("Unable to delete task '{}'", oldTaskId);
}
__cmdb__.existingCard("MaintenanceActivity",__current__.getId().intValue()) //
.with("StartWorkflowTasks",null)
.update();
__logger__.info("Old task was deleted");
}
//-----------------
, phase=before_delete}]' to logic task
 
INFO  2015-04-08 16:36:43 [cmdbuild] adding element 'org.cmdbuild.logic.taskmanager.event.DefaultSynchronousEventFacade$DefaultIdentifiableObserver@2696be00[identifier=84054]'
 
INFO  2015-04-08 16:37:24 [cmdbuild] Redirecting to index.jsp
 
INFO  2015-04-08 16:37:25 [cmdbuild] trying to login with no username or password
 
INFO  2015-04-08 16:37:25 [jsonrpc ] Calling url /utils/gettranslationobject
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.Attachments.uploadAttachment mapped to /attachments/uploadattachment
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.Attachments.getAttachmentList mapped to /attachments/getattachmentlist
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.Attachments.downloadAttachment mapped to /attachments/downloadattachment
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.Attachments.deleteAttachment mapped to /attachments/deleteattachment
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.Attachments.getAttachmentsContext mapped to /attachments/getattachmentscontext
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.Attachments.modifyAttachment mapped to /attachments/modifyattachment
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.BIM.download mapped to /bim/download
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.BIM.read mapped to /bim/read
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.BIM.create mapped to /bim/create
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.BIM.update mapped to /bim/update
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.BIM.disableProject mapped to /bim/disableproject
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.BIM.enableProject mapped to /bim/enableproject
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.BIM.importIfc mapped to /bim/importifc
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.BIM.exportIfc mapped to /bim/exportifc
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.BIM.moveObjectToPosition mapped to /bim/moveobjecttoposition
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.BIM.rootClassName mapped to /bim/rootclassname
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.BIM.getRoidForCardId mapped to /bim/getroidforcardid
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.BIM.readBimLayer mapped to /bim/readbimlayer
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.BIM.saveBimLayer mapped to /bim/savebimlayer
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.BIM.fetchCardFromViewewId mapped to /bim/fetchcardfromviewewid
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.BIM.fetchJsonForBimViewer mapped to /bim/fetchjsonforbimviewer
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.BIM.getActiveForClassname mapped to /bim/getactiveforclassname
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.Configure.apply mapped to /configure/apply
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.Configure.testConnection mapped to /configure/testconnection
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.Configure.getPatches mapped to /configure/getpatches
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.Configure.applyPatches mapped to /configure/applypatches
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.Dashboard.add mapped to /dashboard/add
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.Dashboard.remove mapped to /dashboard/remove
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.Dashboard.list mapped to /dashboard/list
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.Dashboard.modifyBaseProperties mapped to /dashboard/modifybaseproperties
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.Dashboard.getChartData mapped to /dashboard/getchartdata
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.Dashboard.addChart mapped to /dashboard/addchart
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.Dashboard.removeChart mapped to /dashboard/removechart
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.Dashboard.moveChart mapped to /dashboard/movechart
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.Dashboard.modifyChart mapped to /dashboard/modifychart
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.Dashboard.modifyColumns mapped to /dashboard/modifycolumns
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.Dashboard.fullList mapped to /dashboard/fulllist
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.Dashboard.getChartDataForPreview mapped to /dashboard/getchartdataforpreview
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.EmailTemplate.readTemplates mapped to /emailtemplate/readtemplates
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.EmailTemplate.readTemplate mapped to /emailtemplate/readtemplate
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.EmailTemplate.createTemplate mapped to /emailtemplate/createtemplate
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.EmailTemplate.updateTemplate mapped to /emailtemplate/updatetemplate
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.EmailTemplate.deleteTemplate mapped to /emailtemplate/deletetemplate
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.Filter.position mapped to /filter/position
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.Filter.delete mapped to /filter/delete
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.Filter.read mapped to /filter/read
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.Filter.create mapped to /filter/create
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.Filter.update mapped to /filter/update
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.Filter.readAllGroupFilters mapped to /filter/readallgroupfilters
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.Filter.readForUser mapped to /filter/readforuser
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.Gis.getFeature mapped to /gis/getfeature
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.Gis.modifyGeoAttribute mapped to /gis/modifygeoattribute
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.Gis.deleteGeoAttribute mapped to /gis/deletegeoattribute
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.Gis.modifyGeoServerLayer mapped to /gis/modifygeoserverlayer
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.Gis.deleteGeoServerLayer mapped to /gis/deletegeoserverlayer
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.Gis.expandDomainTree mapped to /gis/expanddomaintree
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.Gis.addGeoAttribute mapped to /gis/addgeoattribute
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.Gis.getGeoCardList mapped to /gis/getgeocardlist
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.Gis.getAllLayers mapped to /gis/getalllayers
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.Gis.setLayerVisibility mapped to /gis/setlayervisibility
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.Gis.setLayersOrder mapped to /gis/setlayersorder
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.Gis.saveGISTreeNavigation mapped to /gis/savegistreenavigation
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.Gis.removeGISTreeNavigation mapped to /gis/removegistreenavigation
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.Gis.getGISTreeNavigation mapped to /gis/getgistreenavigation
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.Gis.addGeoServerLayer mapped to /gis/addgeoserverlayer
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.Gis.getGeoserverLayers mapped to /gis/getgeoserverlayers
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.Icon.remove mapped to /icon/remove
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.Icon.list mapped to /icon/list
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.Icon.update mapped to /icon/update
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.Icon.upload mapped to /icon/upload
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.Login.login mapped to /login/login
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.ModWidget.getAllWidgets mapped to /modwidget/getallwidgets
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.ModWidget.callWidget mapped to /modwidget/callwidget
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.ModWidget.saveWidgetDefinition mapped to /modwidget/savewidgetdefinition
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.ModWidget.removeWidgetDefinition mapped to /modwidget/removewidgetdefinition
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.NavigationTree.get mapped to /navigationtree/get
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.NavigationTree.remove mapped to /navigationtree/remove
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.NavigationTree.save mapped to /navigationtree/save
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.NavigationTree.read mapped to /navigationtree/read
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.NavigationTree.create mapped to /navigationtree/create
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.Utils.failure mapped to /utils/failure
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.Utils.clearCache mapped to /utils/clearcache
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.Utils.success mapped to /utils/success
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.Utils.getTranslationObject mapped to /utils/gettranslationobject
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.Utils.listAvailableTranslations mapped to /utils/listavailabletranslations
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.ViewManagement.read mapped to /viewmanagement/read
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.ViewManagement.createSQLView mapped to /viewmanagement/createsqlview
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.ViewManagement.readSQLView mapped to /viewmanagement/readsqlview
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.ViewManagement.updateSQLView mapped to /viewmanagement/updatesqlview
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.ViewManagement.deleteSqlView mapped to /viewmanagement/deletesqlview
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.ViewManagement.createFilterView mapped to /viewmanagement/createfilterview
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.ViewManagement.readFilterView mapped to /viewmanagement/readfilterview
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.ViewManagement.updateFilterView mapped to /viewmanagement/updatefilterview
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.ViewManagement.deleteFilterView mapped to /viewmanagement/deletefilterview
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.Workflow.sync mapped to /workflow/sync
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.Workflow.getProcessInstanceList mapped to /workflow/getprocessinstancelist
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.Workflow.getActivityInstance mapped to /workflow/getactivityinstance
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.Workflow.getStartActivity mapped to /workflow/getstartactivity
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.Workflow.isProcessUpdated mapped to /workflow/isprocessupdated
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.Workflow.saveActivity mapped to /workflow/saveactivity
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.Workflow.abortprocess mapped to /workflow/abortprocess
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.Workflow.downloadXpdlTemplate mapped to /workflow/downloadxpdltemplate
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.Workflow.xpdlVersions mapped to /workflow/xpdlversions
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.Workflow.downloadXpdl mapped to /workflow/downloadxpdl
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.Workflow.uploadXpdl mapped to /workflow/uploadxpdl
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.legacy.Graph.card mapped to /legacy/graph/card
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.legacy.Graph.graphML mapped to /legacy/graph/graphml
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.legacy.Graph.declusterize mapped to /legacy/graph/declusterize
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.management.Email.getEmailList mapped to /management/email/getemaillist
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.management.Email.uploadAttachmentFromExistingEmail mapped to /management/email/uploadattachmentfromexistingemail
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.management.Email.uploadAttachmentFromNewEmail mapped to /management/email/uploadattachmentfromnewemail
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.management.Email.copyAttachmentsFromCardForNewEmail mapped to /management/email/copyattachmentsfromcardfornewemail
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.management.Email.copyAttachmentsFromCardForExistingEmail mapped to /management/email/copyattachmentsfromcardforexistingemail
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.management.Email.deleteAttachmentFromExistingEmail mapped to /management/email/deleteattachmentfromexistingemail
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.management.Email.deleteAttachmentFromNewEmail mapped to /management/email/deleteattachmentfromnewemail
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.management.ExportCSV.export mapped to /management/exportcsv/export
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.management.ImportCSV.uploadCSV mapped to /management/importcsv/uploadcsv
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.management.ImportCSV.getCSVRecords mapped to /management/importcsv/getcsvrecords
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.management.ImportCSV.updateCSVRecords mapped to /management/importcsv/updatecsvrecords
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.management.ImportCSV.storeCSVRecords mapped to /management/importcsv/storecsvrecords
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.management.ImportCSV.clearSession mapped to /management/importcsv/clearsession
 
DEBUG 2015-04-08 16:37:25 [jsonrpc ] org.cmdbuild.servlets.json.management.ModCard.getRelationList mapped to /management/modcard/getrelationlist
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.management.ModCard.updateCard mapped to /management/modcard/updatecard
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.management.ModCard.deleteCard mapped to /management/modcard/deletecard
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.management.ModCard.deleteRelation mapped to /management/modcard/deleterelation
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.management.ModCard.getCard mapped to /management/modcard/getcard
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.management.ModCard.getCardList mapped to /management/modcard/getcardlist
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.management.ModCard.getCardHistory mapped to /management/modcard/getcardhistory
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.management.ModCard.createRelations mapped to /management/modcard/createrelations
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.management.ModCard.lockCard mapped to /management/modcard/lockcard
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.management.ModCard.getCardPosition mapped to /management/modcard/getcardposition
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.management.ModCard.deleteDetail mapped to /management/modcard/deletedetail
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.management.ModCard.unlockCard mapped to /management/modcard/unlockcard
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.management.ModCard.unlockAllCards mapped to /management/modcard/unlockallcards
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.management.ModCard.getAlreadyRelatedCards mapped to /management/modcard/getalreadyrelatedcards
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.management.ModCard.getCardListShort mapped to /management/modcard/getcardlistshort
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.management.ModCard.getDetailList mapped to /management/modcard/getdetaillist
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.management.ModCard.getSQLCardList mapped to /management/modcard/getsqlcardlist
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.management.ModCard.bulkUpdate mapped to /management/modcard/bulkupdate
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.management.ModCard.bulkUpdateFromFilter mapped to /management/modcard/bulkupdatefromfilter
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.management.ModCard.modifyRelation mapped to /management/modcard/modifyrelation
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.management.ModReport.getReportsByType mapped to /management/modreport/getreportsbytype
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.management.ModReport.getReportTypesTree mapped to /management/modreport/getreporttypestree
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.management.ModReport.createReportFactoryByTypeCode mapped to /management/modreport/createreportfactorybytypecode
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.management.ModReport.createReportFactory mapped to /management/modreport/createreportfactory
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.management.ModReport.updateReportFactoryParams mapped to /management/modreport/updatereportfactoryparams
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.management.ModReport.printReportFactory mapped to /management/modreport/printreportfactory
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.management.ModReport.printCurrentView mapped to /management/modreport/printcurrentview
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.management.ModReport.printCardDetails mapped to /management/modreport/printcarddetails
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.EmailAccount.get mapped to /schema/emailaccount/get
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.EmailAccount.put mapped to /schema/emailaccount/put
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.EmailAccount.delete mapped to /schema/emailaccount/delete
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.EmailAccount.setDefault mapped to /schema/emailaccount/setdefault
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.EmailAccount.getAll mapped to /schema/emailaccount/getall
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.EmailAccount.post mapped to /schema/emailaccount/post
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.ModClass.getFunctions mapped to /schema/modclass/getfunctions
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.ModClass.getAttributeList mapped to /schema/modclass/getattributelist
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.ModClass.deleteAttribute mapped to /schema/modclass/deleteattribute
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.ModClass.deleteDomain mapped to /schema/modclass/deletedomain
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.ModClass.getAllClasses mapped to /schema/modclass/getallclasses
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.ModClass.saveTable mapped to /schema/modclass/savetable
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.ModClass.deleteTable mapped to /schema/modclass/deletetable
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.ModClass.saveOrderCriteria mapped to /schema/modclass/saveordercriteria
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.ModClass.getAttributeTypes mapped to /schema/modclass/getattributetypes
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.ModClass.saveAttribute mapped to /schema/modclass/saveattribute
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.ModClass.reorderAttribute mapped to /schema/modclass/reorderattribute
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.ModClass.getAllDomains mapped to /schema/modclass/getalldomains
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.ModClass.saveDomain mapped to /schema/modclass/savedomain
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.ModClass.getDomainList mapped to /schema/modclass/getdomainlist
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.ModClass.getFKTargetingClass mapped to /schema/modclass/getfktargetingclass
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.ModClass.getReferenceableDomainList mapped to /schema/modclass/getreferenceabledomainlist
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.ModLookup.tree mapped to /schema/modlookup/tree
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.ModLookup.getLookupList mapped to /schema/modlookup/getlookuplist
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.ModLookup.saveLookupType mapped to /schema/modlookup/savelookuptype
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.ModLookup.enableLookup mapped to /schema/modlookup/enablelookup
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.ModLookup.disableLookup mapped to /schema/modlookup/disablelookup
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.ModLookup.reorderLookup mapped to /schema/modlookup/reorderlookup
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.ModLookup.getParentList mapped to /schema/modlookup/getparentlist
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.ModLookup.saveLookup mapped to /schema/modlookup/savelookup
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.ModMenu.getMenuConfiguration mapped to /schema/modmenu/getmenuconfiguration
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.ModMenu.getAvailableMenuItems mapped to /schema/modmenu/getavailablemenuitems
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.ModMenu.saveMenu mapped to /schema/modmenu/savemenu
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.ModMenu.deleteMenu mapped to /schema/modmenu/deletemenu
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.ModMenu.getAssignedMenu mapped to /schema/modmenu/getassignedmenu
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.ModReport.deleteReport mapped to /schema/modreport/deletereport
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.ModReport.menuTree mapped to /schema/modreport/menutree
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.ModReport.printSchema mapped to /schema/modreport/printschema
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.ModReport.printClassSchema mapped to /schema/modreport/printclassschema
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.ModReport.analyzeJasperReport mapped to /schema/modreport/analyzejasperreport
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.ModReport.importJasperReport mapped to /schema/modreport/importjasperreport
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.ModReport.saveJasperReport mapped to /schema/modreport/savejasperreport
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.ModReport.resetSession mapped to /schema/modreport/resetsession
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.ModSecurity.changePassword mapped to /schema/modsecurity/changepassword
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.ModSecurity.saveClassPrivilege mapped to /schema/modsecurity/saveclassprivilege
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.ModSecurity.saveViewPrivilege mapped to /schema/modsecurity/saveviewprivilege
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.ModSecurity.saveFilterPrivilege mapped to /schema/modsecurity/savefilterprivilege
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.ModSecurity.saveGroupUIConfiguration mapped to /schema/modsecurity/savegroupuiconfiguration
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.ModSecurity.getGroupList mapped to /schema/modsecurity/getgrouplist
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.ModSecurity.saveGroup mapped to /schema/modsecurity/savegroup
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.ModSecurity.enableDisableGroup mapped to /schema/modsecurity/enabledisablegroup
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.ModSecurity.getGroupUserList mapped to /schema/modsecurity/getgroupuserlist
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.ModSecurity.saveGroupUserList mapped to /schema/modsecurity/savegroupuserlist
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.ModSecurity.getUIConfiguration mapped to /schema/modsecurity/getuiconfiguration
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.ModSecurity.getGroupUIConfiguration mapped to /schema/modsecurity/getgroupuiconfiguration
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.ModSecurity.getClassPrivilegeList mapped to /schema/modsecurity/getclassprivilegelist
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.ModSecurity.getViewPrivilegeList mapped to /schema/modsecurity/getviewprivilegelist
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.ModSecurity.getFilterPrivilegeList mapped to /schema/modsecurity/getfilterprivilegelist
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.ModSecurity.setRowAndColumnPrivileges mapped to /schema/modsecurity/setrowandcolumnprivileges
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.ModSecurity.clearRowAndColumnPrivileges mapped to /schema/modsecurity/clearrowandcolumnprivileges
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.ModSecurity.getUserList mapped to /schema/modsecurity/getuserlist
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.ModSecurity.saveUser mapped to /schema/modsecurity/saveuser
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.ModSecurity.getUserGroupList mapped to /schema/modsecurity/getusergrouplist
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.ModSecurity.disableUser mapped to /schema/modsecurity/disableuser
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.ModSecurity.loadClassUiConfiguration mapped to /schema/modsecurity/loadclassuiconfiguration
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.ModSecurity.saveClassUiConfiguration mapped to /schema/modsecurity/saveclassuiconfiguration
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.Setup.getConfiguration mapped to /schema/setup/getconfiguration
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.Setup.getConfigurations mapped to /schema/setup/getconfigurations
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.Setup.saveConfiguration mapped to /schema/setup/saveconfiguration
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.TaskManager.start mapped to /schema/taskmanager/start
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.TaskManager.stop mapped to /schema/taskmanager/stop
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.TaskManager.readAll mapped to /schema/taskmanager/readall
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.Translation.createForClass mapped to /schema/translation/createforclass
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.Translation.createForClassAttribute mapped to /schema/translation/createforclassattribute
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.Translation.createForDomain mapped to /schema/translation/createfordomain
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.Translation.createForDomainAttribute mapped to /schema/translation/createfordomainattribute
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.Translation.createForView mapped to /schema/translation/createforview
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.Translation.createForFilter mapped to /schema/translation/createforfilter
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.Translation.createForInstanceName mapped to /schema/translation/createforinstancename
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.Translation.createForMenuItem mapped to /schema/translation/createformenuitem
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.Translation.createForWidget mapped to /schema/translation/createforwidget
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.Translation.createForDashboard mapped to /schema/translation/createfordashboard
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.Translation.createForChart mapped to /schema/translation/createforchart
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.Translation.createForReport mapped to /schema/translation/createforreport
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.Translation.createForLookup mapped to /schema/translation/createforlookup
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.Translation.createForGisIcon mapped to /schema/translation/createforgisicon
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.Translation.readForClass mapped to /schema/translation/readforclass
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.Translation.readForClassAttribute mapped to /schema/translation/readforclassattribute
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.Translation.readForDomain mapped to /schema/translation/readfordomain
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.Translation.readForDomainAttribute mapped to /schema/translation/readfordomainattribute
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.Translation.readForView mapped to /schema/translation/readforview
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.Translation.readForFilter mapped to /schema/translation/readforfilter
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.Translation.readForInstanceName mapped to /schema/translation/readforinstancename
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.Translation.readForWidget mapped to /schema/translation/readforwidget
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.Translation.readForDashboard mapped to /schema/translation/readfordashboard
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.Translation.readForChart mapped to /schema/translation/readforchart
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.Translation.readForReport mapped to /schema/translation/readforreport
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.Translation.readForLookup mapped to /schema/translation/readforlookup
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.Translation.readForMenuItem mapped to /schema/translation/readformenuitem
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.Translation.readForGisIcon mapped to /schema/translation/readforgisicon
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.Translation.updateForClass mapped to /schema/translation/updateforclass
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.Translation.updateForClassAttribute mapped to /schema/translation/updateforclassattribute
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.Translation.updateForDomain mapped to /schema/translation/updatefordomain
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.Translation.updateForDomainAttribute mapped to /schema/translation/updatefordomainattribute
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.Translation.updateForView mapped to /schema/translation/updateforview
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.Translation.updateForFilter mapped to /schema/translation/updateforfilter
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.Translation.updateForInstanceName mapped to /schema/translation/updateforinstancename
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.Translation.updateForWidget mapped to /schema/translation/updateforwidget
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.Translation.updateForDashboard mapped to /schema/translation/updatefordashboard
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.Translation.updateForChart mapped to /schema/translation/updateforchart
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.Translation.updateForReport mapped to /schema/translation/updateforreport
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.Translation.updateForLookup mapped to /schema/translation/updateforlookup
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.Translation.updateForMenuItem mapped to /schema/translation/updateformenuitem
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.Translation.updateForGisIcon mapped to /schema/translation/updateforgisicon
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.Translation.deleteForClass mapped to /schema/translation/deleteforclass
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.Translation.deleteForClassAttribute mapped to /schema/translation/deleteforclassattribute
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.Translation.deleteForDomain mapped to /schema/translation/deletefordomain
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.Translation.deleteForDomainAttribute mapped to /schema/translation/deletefordomainattribute
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.Translation.deleteForView mapped to /schema/translation/deleteforview
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.Translation.deleteForFilter mapped to /schema/translation/deleteforfilter
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.Translation.deleteForInstanceName mapped to /schema/translation/deleteforinstancename
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.Translation.deleteForWidget mapped to /schema/translation/deleteforwidget
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.Translation.deleteForDashboard mapped to /schema/translation/deletefordashboard
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.Translation.deleteForChart mapped to /schema/translation/deleteforchart
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.Translation.deleteForReport mapped to /schema/translation/deleteforreport
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.Translation.deleteForLookup mapped to /schema/translation/deleteforlookup
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.Translation.deleteForMenuItem mapped to /schema/translation/deleteformenuitem
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.Translation.deleteForGisIcon mapped to /schema/translation/deleteforgisicon
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.taskmanager.Connector.delete mapped to /schema/taskmanager/connector/delete
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.taskmanager.Connector.read mapped to /schema/taskmanager/connector/read
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.taskmanager.Connector.create mapped to /schema/taskmanager/connector/create
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.taskmanager.Connector.update mapped to /schema/taskmanager/connector/update
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.taskmanager.Connector.readAll mapped to /schema/taskmanager/connector/readall
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.taskmanager.Connector.availableSqlSources mapped to /schema/taskmanager/connector/availablesqlsources
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.taskmanager.Event.readAll mapped to /schema/taskmanager/event/readall
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.taskmanager.ReadEmail.delete mapped to /schema/taskmanager/reademail/delete
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.taskmanager.ReadEmail.read mapped to /schema/taskmanager/reademail/read
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.taskmanager.ReadEmail.create mapped to /schema/taskmanager/reademail/create
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.taskmanager.ReadEmail.update mapped to /schema/taskmanager/reademail/update
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.taskmanager.ReadEmail.readAll mapped to /schema/taskmanager/reademail/readall
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.taskmanager.StartWorkflow.delete mapped to /schema/taskmanager/startworkflow/delete
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.taskmanager.StartWorkflow.read mapped to /schema/taskmanager/startworkflow/read
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.taskmanager.StartWorkflow.create mapped to /schema/taskmanager/startworkflow/create
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.taskmanager.StartWorkflow.update mapped to /schema/taskmanager/startworkflow/update
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.taskmanager.StartWorkflow.readAll mapped to /schema/taskmanager/startworkflow/readall
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.taskmanager.StartWorkflow.readAllByWorkflow mapped to /schema/taskmanager/startworkflow/readallbyworkflow
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.taskmanager.event.Asynchronous.delete mapped to /schema/taskmanager/event/asynchronous/delete
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.taskmanager.event.Asynchronous.read mapped to /schema/taskmanager/event/asynchronous/read
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.taskmanager.event.Asynchronous.create mapped to /schema/taskmanager/event/asynchronous/create
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.taskmanager.event.Asynchronous.update mapped to /schema/taskmanager/event/asynchronous/update
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.taskmanager.event.Asynchronous.readAll mapped to /schema/taskmanager/event/asynchronous/readall
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.taskmanager.event.Synchronous.delete mapped to /schema/taskmanager/event/synchronous/delete
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.taskmanager.event.Synchronous.read mapped to /schema/taskmanager/event/synchronous/read
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.taskmanager.event.Synchronous.create mapped to /schema/taskmanager/event/synchronous/create
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.taskmanager.event.Synchronous.update mapped to /schema/taskmanager/event/synchronous/update
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ] org.cmdbuild.servlets.json.schema.taskmanager.event.Synchronous.readAll mapped to /schema/taskmanager/event/synchronous/readall
 
INFO  2015-04-08 16:37:26 [jsonrpc ] Calling url /schema/setup/getconfiguration
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ]     parameter "name": cmdbuild
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ]     parameter "_dc": 1428491246112
 
INFO  2015-04-08 16:37:26 [jsonrpc ] Calling url /utils/listavailabletranslations
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ]     parameter "limit": 25
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ]     parameter "sort": [{"property":"name","direction":"ASC"}]
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ]     parameter "page": 1
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ]     parameter "start": 0
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ]     parameter "_dc": 1428491246486
 
DEBUG 2015-04-08 16:37:26 [jsonrpc ]     parameter "filter": [{"property":"value"}]
 
INFO  2015-04-08 16:37:32 [jsonrpc ] Calling url /login/login
 
DEBUG 2015-04-08 16:37:32 [jsonrpc ]     parameter "username": admin
 
DEBUG 2015-04-08 16:37:32 [jsonrpc ]     parameter "ext-comp-1009-inputEl": en
 
DEBUG 2015-04-08 16:37:32 [jsonrpc ]     parameter "password": ***
 
INFO  2015-04-08 16:37:32 [cmdbuild] trying to login user admin with group null
 
WARN  2015-04-08 16:37:32 [persist ] cannot get privilege object for privilege card '6483'
 
WARN  2015-04-08 16:37:32 [persist ] cannot get privilege object for privilege card '6487'
 
WARN  2015-04-08 16:37:32 [persist ] cannot get privilege object for privilege card '6509'
 
WARN  2015-04-08 16:37:32 [persist ] cannot get privilege object for privilege card '6514'
 
WARN  2015-04-08 16:37:32 [persist ] cannot get privilege object for privilege card '6521'
 
WARN  2015-04-08 16:37:32 [persist ] cannot get privilege object for privilege card '6526'
 
WARN  2015-04-08 16:37:32 [persist ] cannot get privilege object for privilege card '6537'
 
WARN  2015-04-08 16:37:32 [persist ] cannot get privilege object for privilege card '90034'
 
WARN  2015-04-08 16:37:32 [persist ] cannot get privilege object for privilege card '90035'
 
WARN  2015-04-08 16:37:32 [persist ] cannot get privilege object for privilege card '9016'
 
WARN  2015-04-08 16:37:32 [persist ] cannot get privilege object for privilege card '9023'
 
WARN  2015-04-08 16:37:32 [persist ] cannot get privilege object for privilege card '9033'
 
WARN  2015-04-08 16:37:32 [persist ] cannot get privilege object for privilege card '9045'
 
WARN  2015-04-08 16:37:32 [persist ] cannot get privilege object for privilege card '9051'
 
WARN  2015-04-08 16:37:32 [persist ] cannot get privilege object for privilege card '9066'
 
WARN  2015-04-08 16:37:32 [persist ] cannot get privilege object for privilege card '9114'
 
WARN  2015-04-08 16:37:32 [persist ] cannot get privilege object for privilege card '90031'
 
WARN  2015-04-08 16:37:32 [persist ] cannot get privilege object for privilege card '90032'
 
WARN  2015-04-08 16:37:32 [persist ] cannot get privilege object for privilege card '9122'
 
WARN  2015-04-08 16:37:32 [persist ] cannot get privilege object for privilege card '9129'
 
WARN  2015-04-08 16:37:32 [persist ] cannot get privilege object for privilege card '9139'
 
WARN  2015-04-08 16:37:32 [persist ] cannot get privilege object for privilege card '9151'
 
WARN  2015-04-08 16:37:32 [persist ] cannot get privilege object for privilege card '9157'
 
WARN  2015-04-08 16:37:32 [persist ] cannot get privilege object for privilege card '9172'
 
WARN  2015-04-08 16:37:32 [persist ] cannot get privilege object for privilege card '9220'
 
WARN  2015-04-08 16:37:32 [persist ] cannot get privilege object for privilege card '90025'
 
WARN  2015-04-08 16:37:32 [persist ] cannot get privilege object for privilege card '90026'
 
WARN  2015-04-08 16:37:32 [persist ] cannot get privilege object for privilege card '24011'
 
WARN  2015-04-08 16:37:32 [persist ] cannot get privilege object for privilege card '24039'
 
WARN  2015-04-08 16:37:32 [persist ] cannot get privilege object for privilege card '24051'
 
WARN  2015-04-08 16:37:32 [persist ] cannot get privilege object for privilege card '24057'
 
WARN  2015-04-08 16:37:32 [persist ] cannot get privilege object for privilege card '24074'
 
WARN  2015-04-08 16:37:32 [persist ] cannot get privilege object for privilege card '24083'
 
WARN  2015-04-08 16:37:32 [persist ] cannot get privilege object for privilege card '24085'
 
WARN  2015-04-08 16:37:32 [persist ] cannot get privilege object for privilege card '90042'
 
WARN  2015-04-08 16:37:32 [persist ] cannot get privilege object for privilege card '90043'
 
WARN  2015-04-08 16:37:32 [persist ] cannot get privilege object for privilege card '8910'
 
WARN  2015-04-08 16:37:32 [persist ] cannot get privilege object for privilege card '8917'
 
WARN  2015-04-08 16:37:32 [persist ] cannot get privilege object for privilege card '8927'
 
WARN  2015-04-08 16:37:32 [persist ] cannot get privilege object for privilege card '8939'
 
WARN  2015-04-08 16:37:32 [persist ] cannot get privilege object for privilege card '8945'
 
WARN  2015-04-08 16:37:32 [persist ] cannot get privilege object for privilege card '8960'
 
WARN  2015-04-08 16:37:32 [persist ] cannot get privilege object for privilege card '9006'
 
WARN  2015-04-08 16:37:32 [persist ] cannot get privilege object for privilege card '90028'
 
WARN  2015-04-08 16:37:32 [persist ] cannot get privilege object for privilege card '90029'
 
WARN  2015-04-08 16:37:32 [persist ] cannot get privilege object for privilege card '35627'
 
WARN  2015-04-08 16:37:32 [persist ] cannot get privilege object for privilege card '35655'
 
WARN  2015-04-08 16:37:32 [persist ] cannot get privilege object for privilege card '35668'
 
WARN  2015-04-08 16:37:32 [persist ] cannot get privilege object for privilege card '35674'
 
WARN  2015-04-08 16:37:32 [persist ] cannot get privilege object for privilege card '35691'
 
WARN  2015-04-08 16:37:32 [persist ] cannot get privilege object for privilege card '35700'
 
WARN  2015-04-08 16:37:32 [persist ] cannot get privilege object for privilege card '35702'
 
WARN  2015-04-08 16:37:32 [persist ] cannot get privilege object for privilege card '90039'
 
WARN  2015-04-08 16:37:32 [persist ] cannot get privilege object for privilege card '90040'
 
WARN  2015-04-08 16:37:32 [persist ] cannot get privilege object for privilege card '6694'
 
WARN  2015-04-08 16:37:32 [persist ] cannot get privilege object for privilege card '6698'
 
WARN  2015-04-08 16:37:32 [persist ] cannot get privilege object for privilege card '6720'
 
WARN  2015-04-08 16:37:32 [persist ] cannot get privilege object for privilege card '6725'
 
WARN  2015-04-08 16:37:32 [persist ] cannot get privilege object for privilege card '6732'
 
WARN  2015-04-08 16:37:32 [persist ] cannot get privilege object for privilege card '6737'
 
WARN  2015-04-08 16:37:32 [persist ] cannot get privilege object for privilege card '6749'
 
WARN  2015-04-08 16:37:32 [persist ] cannot get privilege object for privilege card '90048'
 
WARN  2015-04-08 16:37:32 [persist ] cannot get privilege object for privilege card '90049'
 
WARN  2015-04-08 16:37:32 [persist ] cannot get privilege object for privilege card '6588'
 
WARN  2015-04-08 16:37:32 [persist ] cannot get privilege object for privilege card '6592'
 
WARN  2015-04-08 16:37:32 [persist ] cannot get privilege object for privilege card '6614'
 
WARN  2015-04-08 16:37:32 [persist ] cannot get privilege object for privilege card '6619'
 
WARN  2015-04-08 16:37:32 [persist ] cannot get privilege object for privilege card '6626'
 
WARN  2015-04-08 16:37:32 [persist ] cannot get privilege object for privilege card '6631'
 
WARN  2015-04-08 16:37:32 [persist ] cannot get privilege object for privilege card '6643'
 
WARN  2015-04-08 16:37:32 [persist ] cannot get privilege object for privilege card '90045'
 
WARN  2015-04-08 16:37:32 [persist ] cannot get privilege object for privilege card '90046'
 
INFO  2015-04-08 16:37:33 [jsonrpc ] Calling url /utils/gettranslationobject
 
INFO  2015-04-08 16:37:34 [jsonrpc ] Calling url /schema/modclass/getfunctions
 
DEBUG 2015-04-08 16:37:34 [jsonrpc ]     parameter "limit": 25
 
DEBUG 2015-04-08 16:37:34 [jsonrpc ]     parameter "page": 1
 
DEBUG 2015-04-08 16:37:34 [jsonrpc ]     parameter "start": 0
 
DEBUG 2015-04-08 16:37:34 [jsonrpc ]     parameter "_dc": 1428491254924
 
INFO  2015-04-08 16:37:35 [jsonrpc ] Calling url /schema/modsecurity/getuiconfiguration
 
DEBUG 2015-04-08 16:37:35 [jsonrpc ]     parameter "_dc": 1428491255096
 
INFO  2015-04-08 16:37:35 [jsonrpc ] Calling url /schema/setup/getconfigurations
 
DEBUG 2015-04-08 16:37:35 [jsonrpc ]     parameter "names": ["cmdbuild","workflow","gis","bim","graph"]
 
DEBUG 2015-04-08 16:37:35 [jsonrpc ]     parameter "_dc": 1428491255138
 
INFO  2015-04-08 16:37:35 [jsonrpc ] Calling url /gis/getgistreenavigation
 
DEBUG 2015-04-08 16:37:35 [jsonrpc ]     parameter "_dc": 1428491255172
 
INFO  2015-04-08 16:37:35 [jsonrpc ] Calling url /attachments/getattachmentscontext
 
DEBUG 2015-04-08 16:37:35 [jsonrpc ]     parameter "_dc": 1428491255629
 
INFO  2015-04-08 16:37:35 [cmdbuild] initializing cache
 
INFO  2015-04-08 16:37:35 [jsonrpc ] Calling url /schema/modclass/getallclasses
 
DEBUG 2015-04-08 16:37:35 [jsonrpc ]     parameter "active": true
 
DEBUG 2015-04-08 16:37:35 [jsonrpc ]     parameter "_dc": 1428491255630
 
INFO  2015-04-08 16:37:35 [jsonrpc ] Calling url /schema/setup/getconfiguration
 
DEBUG 2015-04-08 16:37:35 [jsonrpc ]     parameter "name": dms
 
DEBUG 2015-04-08 16:37:35 [jsonrpc ]     parameter "_dc": 1428491255631
 
INFO  2015-04-08 16:37:35 [jsonrpc ] Calling url /management/modreport/getreporttypestree
 
DEBUG 2015-04-08 16:37:35 [jsonrpc ]     parameter "_dc": 1428491255631
 
INFO  2015-04-08 16:37:35 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
 
INFO  2015-04-08 16:37:35 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
 
INFO  2015-04-08 16:37:35 [jsonrpc ] Calling url /schema/modclass/getalldomains
 
DEBUG 2015-04-08 16:37:35 [jsonrpc ]     parameter "active": true
 
DEBUG 2015-04-08 16:37:35 [jsonrpc ]     parameter "_dc": 1428491255632
 
INFO  2015-04-08 16:37:35 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
 
INFO  2015-04-08 16:37:35 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
 
INFO  2015-04-08 16:37:35 [jsonrpc ] Calling url /dashboard/fulllist
 
DEBUG 2015-04-08 16:37:35 [jsonrpc ]     parameter "_dc": 1428491255632
 
INFO  2015-04-08 16:37:35 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
 
INFO  2015-04-08 16:37:35 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
 
INFO  2015-04-08 16:37:35 [jsonrpc ] Calling url /schema/modlookup/tree
 
DEBUG 2015-04-08 16:37:35 [jsonrpc ]     parameter "_dc": 1428491255632
 
INFO  2015-04-08 16:37:35 [cmdbuild] initializing cache
 
INFO  2015-04-08 16:37:35 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
 
INFO  2015-04-08 16:37:35 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
 
INFO  2015-04-08 16:37:35 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
 
INFO  2015-04-08 16:37:35 [workflow] getting all active process classes
 
INFO  2015-04-08 16:37:35 [workflow] getting all process classes
 
INFO  2015-04-08 16:37:35 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
 
INFO  2015-04-08 16:37:35 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
 
INFO  2015-04-08 16:39:07 [jsonrpc ] Calling url /dashboard/getchartdata
 
DEBUG 2015-04-08 16:39:07 [jsonrpc ]     parameter "chartId": f196e0da-825e-4049-ad4c-d710c40fd660
 
DEBUG 2015-04-08 16:39:07 [jsonrpc ]     parameter "_dc": 1428491346975
 
DEBUG 2015-04-08 16:39:07 [jsonrpc ]     parameter "params": {}
 
DEBUG 2015-04-08 16:39:07 [jsonrpc ]     parameter "dashboardId": 29463
 
INFO  2015-04-08 16:39:07 [jsonrpc ] Calling url /dashboard/getchartdata
 
DEBUG 2015-04-08 16:39:07 [jsonrpc ]     parameter "chartId": 816469c2-066d-4701-9cc9-49d830ded9cb
 
DEBUG 2015-04-08 16:39:07 [jsonrpc ]     parameter "_dc": 1428491347063
 
DEBUG 2015-04-08 16:39:07 [jsonrpc ]     parameter "params": {}
 
DEBUG 2015-04-08 16:39:07 [jsonrpc ]     parameter "dashboardId": 29463
 
I'm also getting Exception in thread "http-8080-3" java.lang.OutOfMemoryError: PermGen space.
 
Please let me know where I'm going wrong.
 
Regards,
Nikhil Singh
 
 
 
 
 
Previously Tecnoteca wrote:
Dear Nikhil,
 
please do the following:
* stop CMDBuild service
* backup catalina.out and cmdbuild.log files
* clear catalina.out and cmdbuild.log
* edit log4j.conf and set "DEBUG" level for "jsonrpc" logger
* start CMDBuild service
* open Javascript console within browser
* reproduce the error
* stop CMDBuild service
* send us catalina.out, cmdbuild.log and Javascript logs (or an extract of them, especially network ones where we can check all requests since the error)
 
Best regards.
 
-- CMDBuild Team
 
Previously Nikhil wrote:
Hi again,
 
I think the problem is because directory "~/services/json/utils/gettranslationobject" is missing. Please let me know if I can download this package from anywhere.
 
Regards,
Nikhil Singh
 
Previously Nikhil wrote:
I'm unable to run CMDBuild after all configuration. In the configuration, Javascript debugger. I found the following error:
-Failed to load resource: the server responded with a status of 404 (Not Found).
-Uncaught TypeError: Cannot read property 'vtype_text' of undefined.
-Uncaught TypeError: Cannot read property 'configure' of undefined.
-Uncaught TypeError: Cannot read property 'configure' of undefined.
-Uncaught TypeError: Cannot read property 'configure' of undefined.
-Uncaught TypeError: undefined is not a function.
 
Please help me with this.
 
Regards,
Nikhil Singh
 
Previously Tecnoteca wrote:
Dear Vince,
 
are you using an empty password for the database user? If so, it must be a non-empty one.
 
Best regards.
 
-- CMDBuild Team

Previously Vince wrote:
Previously Christopher wrote:

Hi everyone,

Have have been trying to install CMDBuild 2.2.2 on CentOS 6 with PostgreSQL 9.3 and Java 6u45.

I am running the Wizard guided installation and everything seems to go well just up to the point where the installation is finished and I am supposed to be redirected to CMDBuild.
Instead I am just redirected back to the configure start page.

The database was created just fine with tables and everything and as far as I know it looks just fine in the cmdbuild.log file.

Does anyone have any suggestions on how to get this to work?

Best regards,
Chris

 

 

 

 

 

Hi,
 
I figured the above issue.  The main issue is with the database. I'm unable to recover .backup file. Always getting error "Process code returned 1". I just want to know if openmaint-0.9-2.2.2 is compatible with postgresql 9.4? If yes, I would request you to give a brief of troubleshooting steps to recover backup files.
 
 
Hi team,
 
I have almost tried everything. The only thing I want to know is how I can recover openmaint-demo.backup files in pgadmin. Everytime, I restore it, it ends up with an error.
 
The errors I receive are as below:
 
pg_restore: creating FUNCTION st_geometryfromtext(text, integer)
pg_restore: [archiver (db)] Error from TOC entry 1221; 1255 773106 FUNCTION st_geometryfromtext(text, integer) postgres
pg_restore: [archiver (db)] could not execute query: ERROR:  could not access file "$libdir/postgis-2.1": No such file or directory
    Command was: CREATE FUNCTION st_geometryfromtext(text, integer) RETURNS geometry
    LANGUAGE c IMMUTABLE STRICT
    AS '$libdir/postgis-...
pg_restore: [archiver (db)] could not execute query: ERROR:  function gis.st_geometryfromtext(text, integer) does not exist
    Command was: ALTER FUNCTION gis.st_geometryfromtext(text, integer) OWNER TO postgres;
.
.
.
 
WARNING: errors ignored on restore: 1790
Process returned exit code 1.
 
Please look into the matter. Hope to get a response soon.
 
Thanks & Regards,
Nikhil Singh
 
 
 
 
 
Previously Nikhil wrote:
Hi,
 
I figured the above issue.  The main issue is with the database. I'm unable to recover .backup file. Always getting error "Process code returned 1". I just want to know if openmaint-0.9-2.2.2 is compatible with postgresql 9.4? If yes, I would request you to give a brief of troubleshooting steps to recover backup files.
 
 

 

Hi CMDBuild Team,

 
I have tried everything, but with no success in configuring workflow.
 
Few of the things, that might help you in resolving my issue are listed below:
  • Failed to create default user/group.
  • Client type is WS.
  • XA UserTransaction lookup name is null.
On looking at the network(in Debugger), I see:
{"data":{"enabled":"true","password":"enhydra","user":"admin","endpoint":"http://localhost:8080/shark"},"success":true}
But it ends up in sometime and nothing really happens (with no error).
 
Please look into the matter, I'm sure you will be able to help me out with issue soon.
 
Thanks & Regards,
Nikhil Kumar Singh
(+91) 958-280-4159
Hi all,
 
I'm back again with my old issue. Atleast let me know, why I receive "XA UserTransaction lookup name is null" error. And also how do I create default user/group. I have been trying this for almost 2 weeks now and with no luck. Request you to please look into this.
 
 
 
Previously Nikhil wrote:
Hi CMDBuild Team,
 
I have tried everything, but with no success in configuring workflow.
 
Few of the things, that might help you in resolving my issue are listed below:
  • Failed to create default user/group.
  • Client type is WS.
  • XA UserTransaction lookup name is null.
On looking at the network(in Debugger), I see:
{"data":{"enabled":"true","password":"enhydra","user":"admin","endpoint":"http://localhost:8080/shark"},"success":true}
But it ends up in sometime and nothing really happens (with no error).
 
Please look into the matter, I'm sure you will be able to help me out with issue soon.
 
Thanks & Regards,
Nikhil Kumar Singh
(+91) 958-280-4159

 

Hi,
I've had similar issues.  I'm not sure whether the missing postGIS file error might indicate that you don't have postgis installed - there should be a matching version to the postgres DB version you are using eg: postgis2_94 matches the postgres 9.4 DB.  Hopefully you shouldn't need to instantiate the gis database manually if the restore works.
Also with respect to the import errors, data from previous restore attempts can block further attempts, it may be that you need the -c flag to clear previous bad data - ie: pg_restore -cd <db_name> <backup-name>.backup
A third thing - you may need to manually install the plpgsql language extension into postgres for the backup to work, and perhaps even add the line "CREATE LANGUAGE plpgsql;" at the top of the backup file to have it properly available.
I'm still in the process of tracking down and fixing issues with my own initial attempt at an openMAINT install (which is a superset of CMDBuild) and still have a way to go, so I can't guaranteeing anything.  These are just little solutions to individual issues that I've found around the net - hopefully they are appropriate to the issue.
 
Steele
 
Previously Nikhil wrote:
Hi team,
 
I have almost tried everything. The only thing I want to know is how I can recover openmaint-demo.backup files in pgadmin. Everytime, I restore it, it ends up with an error.
 
The errors I receive are as below:
 
pg_restore: creating FUNCTION st_geometryfromtext(text, integer)
pg_restore: [archiver (db)] Error from TOC entry 1221; 1255 773106 FUNCTION st_geometryfromtext(text, integer) postgres
pg_restore: [archiver (db)] could not execute query: ERROR:  could not access file "$libdir/postgis-2.1": No such file or directory
    Command was: CREATE FUNCTION st_geometryfromtext(text, integer) RETURNS geometry
    LANGUAGE c IMMUTABLE STRICT
    AS '$libdir/postgis-...
pg_restore: [archiver (db)] could not execute query: ERROR:  function gis.st_geometryfromtext(text, integer) does not exist
    Command was: ALTER FUNCTION gis.st_geometryfromtext(text, integer) OWNER TO postgres;
.
.
.
 
WARNING: errors ignored on restore: 1790
Process returned exit code 1.
 
Please look into the matter. Hope to get a response soon.
 
Thanks & Regards,
Nikhil Singh
 
 
 
 
 
Previously Nikhil wrote:
Hi,
 
I figured the above issue.  The main issue is with the database. I'm unable to recover .backup file. Always getting error "Process code returned 1". I just want to know if openmaint-0.9-2.2.2 is compatible with postgresql 9.4? If yes, I would request you to give a brief of troubleshooting steps to recover backup files.
 
 

 

 

Previously Nikhil wrote:

Hi team,
 
I have almost tried everything. The only thing I want to know is how I can recover openmaint-demo.backup files in pgadmin. Everytime, I restore it, it ends up with an error.
 
The errors I receive are as below:
 
pg_restore: creating FUNCTION st_geometryfromtext(text, integer)
pg_restore: [archiver (db)] Error from TOC entry 1221; 1255 773106 FUNCTION st_geometryfromtext(text, integer) postgres
pg_restore: [archiver (db)] could not execute query: ERROR:  could not access file "$libdir/postgis-2.1": No such file or directory
    Command was: CREATE FUNCTION st_geometryfromtext(text, integer) RETURNS geometry
    LANGUAGE c IMMUTABLE STRICT
    AS '$libdir/postgis-...
pg_restore: [archiver (db)] could not execute query: ERROR:  function gis.st_geometryfromtext(text, integer) does not exist
    Command was: ALTER FUNCTION gis.st_geometryfromtext(text, integer) OWNER TO postgres;
.
.
.
 
WARNING: errors ignored on restore: 1790
Process returned exit code 1.
 
Please look into the matter. Hope to get a response soon.
 
Thanks & Regards,
Nikhil Singh
 
 
 
 
 
Previously Nikhil wrote:
Hi,
 
I figured the above issue.  The main issue is with the database. I'm unable to recover .backup file. Always getting error "Process code returned 1". I just want to know if openmaint-0.9-2.2.2 is compatible with postgresql 9.4? If yes, I would request you to give a brief of troubleshooting steps to recover backup files.