简体   繁体   English

我如何自动启动wso2 dss服务

[英]how can i start wso2 dss service automatically

I have a wso2 dss with one service. 我有一项服务的wso2 dss。 I need that service be active when i run the server. 运行服务器时,我需要该服务处于活动状态。 So if my server run automatically when start Operative System, it´s mandatory that my service be active too, but this not happen. 因此,如果我的服务器在启动Operative System时自动运行,则必须强制我的服务也处于活动状态,但这不会发生。 Until now i most go to the management console and activate it manually. 到目前为止,我最多都转到管理控制台并手动激活它。 Once active, works fine, without problems. 一旦激活,工作正常,没有问题。 I hope you can help me. 我希望你能帮助我。

My service it's a simple dataservice service. 我的服务是一项简单的dataservice服务。 Yes, that's happening @gusto2. 是的,这正在发生@ gusto2。 I let you the log wso2carbon.log when try to deploy the service. 尝试部署服务时,我让您登录wso2carbon.log。

{org.wso2.carbon.core.deployment.DeploymentInterceptor} TID: [-1234] [] [2017-12-07 10:03:58,526] ERROR {org.wso2.carbon.dataservices.core.DBDeployer} - The Servicio_SICA.dbs service, which is not valid, caused {1} {org.wso2.carbon.dataservices.core.DBDeployer} org.apache.axiom.om.OMException: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog at [row,col {unknown-source}]: [1,0] TID: [-1234] [] [2017-12-07 10:03:59,159] ERROR {org.wso2.carbon.service.mgt.ServiceAdmin} - Invalid service name, service not found : Servicio_SICA {org.wso2.carbon.service.mgt.ServiceAdmin} TID: [-1234] [] [2017-12-07 10:03:59,175] ERROR {org.wso2.carbon.service.mgt.ui.ServiceAdminClient} - Cannot get service data. {org.wso2.carbon.core.deployment.DeploymentInterceptor} TID:[-1234] [] [2017-12-07 10:03:58,526]错误{org.wso2.carbon.dataservices.core.DBDeployer}-Servicio_SICA无效的.dbs服务导致{1} {org.wso2.carbon.dataservices.core.DBDeployer} org.apache.axiom.om.OMException:com.ctc.wstx.exc.WstxEOFException:序言中的意外EOF在[row,col {unknown-source}]:[1,0] TID:[-1234] [] [2017-12-07 10:03:59,159]错误{org.wso2.carbon.service.mgt.ServiceAdmin }-服务名称无效,未找到服务:Servicio_SICA {org.wso2.carbon.service.mgt.ServiceAdmin} TID:[-1234] [] [2017-12-07 10:03:59,175]错误{org.wso2。 carbon.service.mgt.ui.ServiceAdminClient}-无法获取服务数据。 Backend service may be unavailable {org.wso2.carbon.service.mgt.ui.ServiceAdminClient} org.apache.axis2.AxisFault: Invalid service name, service not found : Servicio_SICA 后端服务可能不可用{org.wso2.carbon.service.mgt.ui.ServiceAdminClient} org.apache.axis2.AxisFault:无效的服务名称,未找到服务:Servicio_SICA

@JorgeOsorioInfante @JorgeOsorioInfante

Maybe when you start wso2 service your database or some wsdl services not start yet? 也许当您启动wso2服务时您的数据库或某些wsdl服务尚未启动? Wso2 has a problem with it, because can create pooling on startup or something else. Wso2有一个问题,因为它可能在启动时或其他情况下创建池。 You can add dependency to your wso2dss service to your database, if you start it as service. 如果将wso2dss服务作为服务启动,则可以将其添加到数据库的wso2dss服务。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM