Hi,all. I have some problem with integration cmdb and ocs inventory. Can you show anybody cnofiguration file fo exempl?
Hi,
you can find here a sample configuration of the connector with OCS Inventory
http://www.cmdbuild.org/it/download
The file to download is:
external-connectors-1.4.0.zip
CMDBuild Team
Hi,
you can find here a sample configuration of the connector with OCS Inventory
http://www.cmdbuild.org/it/download
The file to download is:
external-connectors-1.4.0.zip
CMDBuild Team
Hi,
In the "reademe_en.txt", it is written how to edit the cmdbuild-schema.xml. However, I advice you to read the italian manual which is better.
In this file, you must write the structure of cmdbuild. Example if you have 3 classes : Computer, Mouse & Keyboard, you have to write the following lines:
<CMDBUILD>
<Computer>
<IPAdress />
<Name />
<User />
</Computer>
<Mouse>
<Manufacturer />
<Model />
<User />
</Mouse>
<Keyboard>
<Manufacturer />
<Model />
<User />
</Keyboard>
</CMDBUILD>
WARNING : Your CMDBuild classes and OCS views must have different names.
Could you tell me if you have process problem ? because I have a [soap] Cannot parse xml document
.
Previously denis wrote:
Thank you. Can you told me, how to configure cmdbuild-schema.xmlI get log:>>> Program Started - version (ExternalConnector 1.4.0 - 22/11/2011)<<<Searching for: ./conf/configuration.xmlParsing XML file [./conf/configuration.xml]Ended to read configuration fileReading the transform file.Parsing XML file [./conf/cmdbuild-schema.xml]Total objects to check: 0>>> Program Terminated <<<Previously Tecnoteca wrote:Hi,
you can find here a sample configuration of the connector with OCS Inventory
http://www.cmdbuild.org/it/download
The file to download is:
external-connectors-1.4.0.zip
CMDBuild Team
I run java -jar ExternalConnector.1.4.0.jar . ImportOCS
Previously denis wrote:
I run java -jar ExternalConnector.1.4.0.jar . ImportOCSI have another questionlog4j:WARN No appenders could be found for logger (connector).log4j:WARN Please initialize the log4j system properly.log4j: Parsing for [root] with value=[WARN, R].log4j: Level token is [WARN].log4j: Category root set to WARNlog4j: Parsing appender named "R".log4j: Parsing layout options for "R".log4j: End of parsing for "R".log4j: Setting property [file] to [./logs/ExternalConnector.log].log4j: Setting property [maxFileSize] to [100MB].log4j: Setting property [maxBackupIndex] to [10].log4j: setFile called: ./logs/ExternalConnector.log, truelog4j: setFile endedlog4j: Parsed "R" options.log4j: Parsing for [connector] with value=[DEBUG].log4j: Level token is [DEBUG].log4j: Category connector set to DEBUGlog4j: Handling log4j.additivity.connector=[null]log4j: Parsing for [servermail] with value=[INFO].log4j: Level token is [INFO].log4j: Category servermail set to INFOlog4j: Handling log4j.additivity.servermail=[null]log4j: Parsing for [inventory] with value=[INFO].log4j: Level token is [INFO].log4j: Category inventory set to INFOlog4j: Handling log4j.additivity.inventory=[null]log4j: Parsing for [ldap] with value=[INFO].log4j: Level token is [INFO].log4j: Category ldap set to INFOlog4j: Handling log4j.additivity.ldap=[null]log4j: Finished configuring.ERROR: an error has occurred during parsing this file: configuration.xmlMy configuration.xml<?xml version="1.0" encoding="UTF-8"?><configuration><cmdbuild><ServerAddress>127.0.0.1</ServerAddress><ServerContext>cmdbuild</ServerContext><ServerPort>8080</ServerPort><Username>cmdb</Username><Password>cmdb</Password></cmdbuild><inventory><DbType>mysql</DbType><DbAddress>127.0.0.1</DbAddress><DbPort>3306</DbPort><DbName>ocs</DbName><DbUser>ocs</DbUser><DbPassword>ocs</DbPassword></inventory>I can't understend what problem
hello:
,Connect the cmdbuild, cmdbuild log:
INFO 2013-06-14 14:32:29 [cmdbuild] creating guest filter for user 'admin' with type 'APPLICATION'
WARN 2013-06-14 14:32:29 [cmdbuild] cannot apply filter, user is not guest
ERROR 2013-06-14 14:32:29 [cmdbuild] Cannot read attribute...
WARN 2013-06-14 14:32:29 [org.apache.cxf.phase.PhaseInterceptorChain] Application {http://soap.services.cmdbuild.org}WebservicesImplService#{http://soap.services.cmdbuild.org}getCardList has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault: Malformed sortersMalformed sorters
at org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvoker.java:155)
at org.apache.cxf.jaxws.AbstractJAXWSMethodInvoker.createFault(AbstractJAXWSMethodInvoker.java:86)
at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:121)
at org.apache.cxf.jaxws.JAXWSMethodInvoker.invoke(JAXWSMethodInvoker.java:61)
at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:75)
at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)
at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:106)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:255)
at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:113)
at org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDestination.java:102)
at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletControll
My configuration.xml<?xml version="1.0" encoding="UTF-8"?><configuration><cmdbuild><ServerAddress>127.0.0.1</ServerAddress><ServerContext>cmdbuild</ServerContext><ServerPort>8080</ServerPort><Username>cmdb</Username><Password>cmdb</Password></cmdbuild><inventory><DbType>mysql</DbType><DbAddress>127.0.0.1</DbAddress><DbPort>3306</DbPort><DbName>ocs</DbName><DbUser>ocs</DbUser><DbPassword>ocs</DbPassword></inventory>I can't understend what problem
I have the same problem
Hi,
Previously Pawel wrote:
Hi,Hi,I check configutation files and this is ok, but in log I haveINFO 2013-07-17 08:19:50 [cmdbuild] Trying to login user ocsinvent with group nullINFO 2013-07-17 08:19:50 [cmdbuild] creating guest filter for user 'ocsinvent' with type 'APPLICATION'WARN 2013-07-17 08:19:50 [cmdbuild] cannot apply filter, user is not guestINFO 2013-07-17 08:19:50 [cmdbuild] Trying to login user ocsinvent with group nullINFO 2013-07-17 08:19:50 [workflow] getting process classe with name 'ImportOCS'WARN 2013-07-17 08:19:50 [org.apache.cxf.phase.PhaseInterceptorChain] Application {http://soap.services.cmdbuild.org}WebservicesImplService#{http://soap.services.cmdbuild.org}startWorkflow has thrown exception, unwinding now
Previously Pawel wrote:Hi,Hi,I check configutation files and this is ok, but in log I haveINFO 2013-07-17 08:19:50 [cmdbuild] Trying to login user ocsinvent with group nullINFO 2013-07-17 08:19:50 [cmdbuild] creating guest filter for user 'ocsinvent' with type 'APPLICATION'WARN 2013-07-17 08:19:50 [cmdbuild] cannot apply filter, user is not guestINFO 2013-07-17 08:19:50 [cmdbuild] Trying to login user ocsinvent with group nullINFO 2013-07-17 08:19:50 [workflow] getting process classe with name 'ImportOCS'WARN 2013-07-17 08:19:50 [org.apache.cxf.phase.PhaseInterceptorChain] Application {http://soap.services.cmdbuild.org}WebservicesImplService#{http://soap.services.cmdbuild.org}startWorkflow has thrown exception, unwinding nowFirst I would like to congratulations for the forum.
I have the same problem.I´m trying to integrate the cmdbuild with ocs inventory but the error :[cmdbuild] cannot apply filter, user is not guest[org.apache.cxf.phase.PhaseInterceptorChain] Application {http://proxy.sun.com/}$Proxy24Service#{http://soap.services.cmdbuild.org}updateWorkflow has thrown exception, unwinding noworg.apache.cxf.interceptor.FaultThanks a lot,
Hi,it seems that the connector cannot start the workflow.Did you configurate properly shark, upload the xpdl for your shark version, create the workflow user (that should belong to the Superuser group, and that shoud be a service user)?If so, could you post the complete stacktrace for the startWorkflow method? And the corresponing error in the shark.log file?Previously Alex wrote:Previously Pawel wrote:Hi,Hi,I check configutation files and this is ok, but in log I haveINFO 2013-07-17 08:19:50 [cmdbuild] Trying to login user ocsinvent with group nullINFO 2013-07-17 08:19:50 [cmdbuild] creating guest filter for user 'ocsinvent' with type 'APPLICATION'WARN 2013-07-17 08:19:50 [cmdbuild] cannot apply filter, user is not guestINFO 2013-07-17 08:19:50 [cmdbuild] Trying to login user ocsinvent with group nullINFO 2013-07-17 08:19:50 [workflow] getting process classe with name 'ImportOCS'WARN 2013-07-17 08:19:50 [org.apache.cxf.phase.PhaseInterceptorChain] Application {http://soap.services.cmdbuild.org}WebservicesImplService#{http://soap.services.cmdbuild.org}startWorkflow has thrown exception, unwinding nowFirst I would like to congratulations for the forum.
I have the same problem.I´m trying to integrate the cmdbuild with ocs inventory but the error :[cmdbuild] cannot apply filter, user is not guest[org.apache.cxf.phase.PhaseInterceptorChain] Application {http://proxy.sun.com/}$Proxy24Service#{http://soap.services.cmdbuild.org}updateWorkflow has thrown exception, unwinding noworg.apache.cxf.interceptor.FaultThanks a lot,
Hi,we will assume that your shark configured properly. If so, it seems you don't have some attribute in your process class.Have you created any process class like, for example, the "ImportAsset" and uploaded the xpdl file (shark4) contained in the "basic-connector-1.5.0.zip"?This process must have:• actionList of the TEXT type (editing: hidden)• actionDetail of the TEXT typeProbably you have also to change also the cmdbuild_url, cmdbuild_username, cmdbuild_password variabiles default values in the xpdl provided in the archive file.
I am trying to integrate cmdbuild 2.2 with ocs inventory but getting below error
am using basic connector 1.5
INFO 2015-01-03 20:36:09 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
WARN 2015-01-03 20:36:09 [cmdbuild] cannot apply filter, user is not guest
INFO 2015-01-03 20:36:09 [cmdbuild] trying to login user inventory with group null
INFO 2015-01-03 20:36:09 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO 2015-01-03 20:36:09 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO 2015-01-03 20:36:09 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO 2015-01-03 20:36:09 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
WARN 2015-01-03 20:36:09 [org.apache.cxf.phase.PhaseInterceptorChain] Application {http://unknown.namespace/}$Proxy65Service#{http://soap.services.cmdbuild.org}updateWorkflow has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault
at org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvoker.java:162)
at org.apache.cxf.jaxws.AbstractJAXWSMethodInvoker.createFault(AbstractJAXWSMethodInvoker.java:213)
at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:128)
Any solution ??
I have the same problem.
Any idea?
INFO 2016-07-07 15:48:57 [cmdbuild] trying to login user Inventory with group null
INFO 2016-07-07 15:48:57 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO 2016-07-07 15:48:57 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO 2016-07-07 15:48:57 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO 2016-07-07 15:48:57 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO 2016-07-07 15:48:57 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO 2016-07-07 15:48:57 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO 2016-07-07 15:48:57 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO 2016-07-07 15:48:57 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
WARN 2016-07-07 15:48:57 [org.apache.cxf.phase.PhaseInterceptorChain] Application {http://proxy.sun.com/}$Proxy146Service#{http://soap.services.cmdbuild.org}getCardList has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault
at org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvoker.java:162)
at org.apache.cxf.jaxws.AbstractJAXWSMethodInvoker.createFault(AbstractJAXWSMethodInvoker.java:267)
at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:128)
at org.apache.cxf.jaxws.AbstractJAXWSMethodInvoker.invoke(AbstractJAXWSMethodInvoker.java:232)
at org.apache.cxf.jaxws.JAXWSMethodInvoker.invoke(JAXWSMethodInvoker.java:85)
at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:74)
at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:59)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.apache.cxf.interceptor.ServiceInvokerInterceptor$2.run(ServiceInvokerInterceptor.java:126)
at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)
at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:131)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:253)
at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:234)
at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:208)
at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:160)
at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:180)
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:298)
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:217)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:273)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at org.cmdbuild.filters.AuthFilter.doFilter(AuthFilter.java:188)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at org.cmdbuild.filters.PatchManagerFilter.doFilter(PatchManagerFilter.java:48)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at org.cmdbuild.filters.ConfCheckFilter.doFilter(ConfCheckFilter.java:31)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at org.cmdbuild.filters.TranslationFilter.doFilter(TranslationFilter.java:52)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at org.cmdbuild.filters.LocalizationFilter.doFilter(LocalizationFilter.java:127)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:528)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1099)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1520)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1476)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)