Archived
This forum has been archived. Please start a new discussion on GitHub.
problem with char ':' in identity.name
xdm
La Coruña, Spain
in Help Center
Hi zeroc
Is correct include the char ':' in the indentity.name?
i observe the next problem
I try to register a object in IceGrid with id "192.168.0.20:8080/WebManager"
here is the descriptor that i use and the template works well with other ids
and here the IceGrid exception when parse the descriptor
Is correct include the char ':' in the indentity.name?
i observe the next problem
I try to register a object in IceGrid with id "192.168.0.20:8080/WebManager"
here is the descriptor that i use and the template works well with other ids
<!--WebService--> <server-instance template="WebService" icebox-id="DogaWebService" exe="/opt/Ice-3.0.1/bin/icebox" dll-entry-point="DogaWeb:create" server-name="DogaWebService" identity="192.168.0.20:8080/WebManager" router="Glacier2/router:tcp -h 192.168.0.20 -p 10005" domainName="alcompleto.com" xslTemplateDir="/home/pepone/hydra/WebFramework/xsl"/>
and here the IceGrid exception when parse the descriptor
[ icegridregistry: Object: added object `SessionService-permission-verifier' ] icegridregistry: warning: dispatch exception: ReferenceFactory.cpp:448: Ice::EndpointParseException: error while parsing endpoint `8080/WebManager@titanio-DogaWebService.DogaWebService.DogaWebService' identity: IceGrid/Admin facet: operation: addApplication
0
Comments
-
After add this descriptor the application is not complete added and i can remove the servers tha are created from Icegridadmin
here is the icegridadmin ouputpepone@localhost ~/hydra/etc/linux $ icegridadmin --Ice.Config=config.titanio Ice 3.0.1 Copyright 2003-2005 ZeroC, Inc. This copy of Ice is free software. You are welcome to change it and/or distribute copies under certain conditions. Type "show copying" to see these conditions. There is absolutely no warranty for Ice. Type "show warranty" for details. >>> server list >>> application add hydra-server.xml error: couldn't reach the IceGrid registry: Outgoing.cpp:415: Ice::UnknownLocalException: unknown local exception: ReferenceFactory.cpp:448: Ice::EndpointParseException: error while parsing endpoint `8080/WebManager@titanio-DogaWebService.DogaWebService.DogaWebService' >>> server list DomainService DomainServiceManager FileService FileServiceManager LuceneService MetaService MetaServiceManager SessionService titanio-DogaWebService >>> object list DomainManagerServer/Alcompleto DomainServer/Alcompleto FileManagerServer/Alcompleto FileServer/Alcompleto LuceneServer/Alcompleto MetaManagerServer/Alcompleto MetaServer/Alcompleto SessionServer/Alcompleto SessionService-SessionManager SessionService-permission-verifier error: ../../include/IceUtil/Handle.h:39: IceUtil::NullHandleException >>> application list >>> server list DomainService DomainServiceManager FileService FileServiceManager LuceneService MetaService MetaServiceManager SessionService titanio-DogaWebService >>> server remove titanio-DogaWebService error: couldn't find application `hydra' >>> server list DomainService DomainServiceManager FileService FileServiceManager LuceneService MetaService MetaServiceManager SessionService titanio-DogaWebService >>> server remove titanio-DogaWebService
0 -
Hi Jose,
Could you also post your template descriptor 'WebService'?
':' are allowed in identities, but must be escaped in proxies.
Cheers,
Bernard0 -
Here is the WebService descriptor
<server-template id="WebService"> <parameter name="icebox-id"/> <parameter name="exe"/> <parameter name="dll-entry-point"/> <parameter name="server-name"/> <parameter name="identity"/> <parameter name="router"/> <parameter name="domainName"/> <parameter name="xslTemplateDir"/> <icebox id="${node}-${icebox-id}" exe="${exe}" activation="on-demand"> <service name="${server-name}" entry="${dll-entry-point}"> <adapter name="${service}" endpoints="tcp" register-process="true"> <property name="Identity" value="$identity"/> <object identity="${identity}" type="::Oz::Web::ApplicationManager"/> </adapter> <property name="router" value="${router}"/> <property name="serviceId" value="${identity}"/> <property name="domainName" value="${domainName}"/> <property name="xslTemplateDir" value="${xslTemplateDir}"/> <property name="Ice.MessageSizeMax" value="2048"/> </service> </icebox> </server-template>
0 -
Hi Jose,
I'm afraid that's a bug in IceGrid wrt identities. This bug will be fixed in the upcoming Ice 3.1!
Cheers,
Benoit.0