[jira] [Comment Edited] (DOSGI-225) Service publication with org.apache.cxf.ws.httpservice.context property does not work
[ https://issues.apache.org/jira/browse/DOSGI-225?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15860728#comment-15860728 ] Panu Hämäläinen edited comment on DOSGI-225 at 2/10/17 5:16 AM: Answering to myself: - cxfServletAlias is ignored in this case, no need to specify - org.apache.cxf.ws.address gets prefixed with org.apache.cxf.ws.httpservice.context in the full address That is, the full address becomes: // Verified with DOSGi 2.0.0. The address property does it. This can be closed. was (Author: hamapa): Answering myself: - cxfServletAlias is ignored in this case, no need to specify - org.apache.cxf.ws.address gets prefixed with org.apache.cxf.ws.httpservice.context in the full address That is, the full address becomes: // Verified with DOSGi 2.0.0. The address property does it. This can be closed. > Service publication with org.apache.cxf.ws.httpservice.context property does > not work > - > > Key: DOSGI-225 > URL: https://issues.apache.org/jira/browse/DOSGI-225 > Project: CXF Distributed OSGi > Issue Type: Bug > Components: DSW >Affects Versions: 1.7.0 >Reporter: Panu Hämäläinen >Assignee: Christian Schneider > Fix For: 2.0.0 > > > For org.apache.cxf.ws.httpservice.context the page > https://cxf.apache.org/distributed-osgi-reference.html says "When this > property is specified, the OSGi HTTP Service is used to expose the service, > rather than a dedicated Jetty HTTP Server. This property doesn't allow the > specification of a port number, as this is provided by the HTTP Service." > However, this does not work with DOSGi 1.7.0. Instead, the service gets > exposed (by PojoConfigurationTypeHandler) at the default address > http://localhost:9000. This used to work e.g. with 1.4.0. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Comment Edited] (DOSGI-225) Service publication with org.apache.cxf.ws.httpservice.context property does not work
[ https://issues.apache.org/jira/browse/DOSGI-225?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15502394#comment-15502394 ] Panu Hämäläinen edited comment on DOSGI-225 at 9/19/16 6:02 AM: Ok, need to try. Probably the referred documentation should be updated then. The bug seems to be related to DOSGI-159. If I want to expose my service at address "http://:/myservice", I need to specify - org.apache.cxf.ws.address = /myaddress (in my service properties) - httpBase = http://: (in HttpServiceManager config with PID org.apache.cxf.dosgi.http) - specify empty cxfServletAlias property in HttpServiceManager config? Correct? What's the purpose of org.apache.cxf.ws.httpservice.context service property (does it still exist)? was (Author: hamapa): Ok, need to try. Probably the referred documentation should be updated then. The bug seems to be related to DOSGI-159. If I want to expose my service at address "http://:/myservice", I need to specify - org.apache.cxf.ws.address = /myaddress (in my service properties) - httpBase = http://: (in HttpServiceManager config with PID org.apache.cxf.dosgi.http) Correct? What's the purpose of org.apache.cxf.ws.httpservice.context service property (does it still exist)? > Service publication with org.apache.cxf.ws.httpservice.context property does > not work > - > > Key: DOSGI-225 > URL: https://issues.apache.org/jira/browse/DOSGI-225 > Project: CXF Distributed OSGi > Issue Type: Bug > Components: DSW >Affects Versions: 1.7.0 >Reporter: Panu Hämäläinen >Assignee: Christian Schneider > Fix For: 2.0.0 > > > For org.apache.cxf.ws.httpservice.context the page > https://cxf.apache.org/distributed-osgi-reference.html says "When this > property is specified, the OSGi HTTP Service is used to expose the service, > rather than a dedicated Jetty HTTP Server. This property doesn't allow the > specification of a port number, as this is provided by the HTTP Service." > However, this does not work with DOSGi 1.7.0. Instead, the service gets > exposed (by PojoConfigurationTypeHandler) at the default address > http://localhost:9000. This used to work e.g. with 1.4.0. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Comment Edited] (DOSGI-225) Service publication with org.apache.cxf.ws.httpservice.context property does not work
[ https://issues.apache.org/jira/browse/DOSGI-225?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15502394#comment-15502394 ] Panu Hämäläinen edited comment on DOSGI-225 at 9/19/16 6:00 AM: Ok, need to try. Probably the referred documentation should be updated then. The bug seems to be related to DOSGI-159. If I want to expose my service at address "http://:/myservice", I need to specify - org.apache.cxf.ws.address = /myaddress (in my service properties) - httpBase = http://: (in HttpServiceManager config with PID org.apache.cxf.dosgi.http) Correct? What's the purpose of org.apache.cxf.ws.httpservice.context service property (does it still exist)? was (Author: hamapa): Ok, need to try. Probably the referred documentation should be updated then. The bug seems to be related to DOSGI-159. If I want to expose my service at address "http://:/myservice", I need to specify - org.apache.cxf.ws.address = /myaddress (in my service properties) - httpBase = http://: (in HttpServiceManager config with PID org.apache.cxf.dosgi.http) Correct? What's the purpose of org.apache.cxf.ws.httpservice.context service property? > Service publication with org.apache.cxf.ws.httpservice.context property does > not work > - > > Key: DOSGI-225 > URL: https://issues.apache.org/jira/browse/DOSGI-225 > Project: CXF Distributed OSGi > Issue Type: Bug > Components: DSW >Affects Versions: 1.7.0 >Reporter: Panu Hämäläinen >Assignee: Christian Schneider > Fix For: 2.0.0 > > > For org.apache.cxf.ws.httpservice.context the page > https://cxf.apache.org/distributed-osgi-reference.html says "When this > property is specified, the OSGi HTTP Service is used to expose the service, > rather than a dedicated Jetty HTTP Server. This property doesn't allow the > specification of a port number, as this is provided by the HTTP Service." > However, this does not work with DOSGi 1.7.0. Instead, the service gets > exposed (by PojoConfigurationTypeHandler) at the default address > http://localhost:9000. This used to work e.g. with 1.4.0. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Comment Edited] (DOSGI-225) Service publication with org.apache.cxf.ws.httpservice.context property does not work
[ https://issues.apache.org/jira/browse/DOSGI-225?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15502394#comment-15502394 ] Panu Hämäläinen edited comment on DOSGI-225 at 9/19/16 5:59 AM: Ok, need to try. Probably the referred documentation should be updated then. The bug seems to be related to DOSGI-159. If I want to expose my service at address "http://:/myservice", I need to specify - org.apache.cxf.ws.address = /myaddress (in my service properties) - httpBase = http://: (in HttpServiceManager config with PID org.apache.cxf.dosgi.http) Correct? What's the purpose of org.apache.cxf.ws.httpservice.context service property? was (Author: hamapa): Ok, need to try. Probably the referred documentation should be updated then. The bug seems to be related to DOSGI-159. If I want to expose my service at address "http://:/myservice", I need to specify - org.apache.cxf.ws.address=/myaddress (in my service properties) - http://: (in HttpServiceManager config with PID org.apache.cxf.dosgi.http) Correct? What's the purpose of org.apache.cxf.ws.httpservice.context service property? > Service publication with org.apache.cxf.ws.httpservice.context property does > not work > - > > Key: DOSGI-225 > URL: https://issues.apache.org/jira/browse/DOSGI-225 > Project: CXF Distributed OSGi > Issue Type: Bug > Components: DSW >Affects Versions: 1.7.0 >Reporter: Panu Hämäläinen >Assignee: Christian Schneider > Fix For: 2.0.0 > > > For org.apache.cxf.ws.httpservice.context the page > https://cxf.apache.org/distributed-osgi-reference.html says "When this > property is specified, the OSGi HTTP Service is used to expose the service, > rather than a dedicated Jetty HTTP Server. This property doesn't allow the > specification of a port number, as this is provided by the HTTP Service." > However, this does not work with DOSGi 1.7.0. Instead, the service gets > exposed (by PojoConfigurationTypeHandler) at the default address > http://localhost:9000. This used to work e.g. with 1.4.0. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Comment Edited] (DOSGI-225) Service publication with org.apache.cxf.ws.httpservice.context property does not work
[ https://issues.apache.org/jira/browse/DOSGI-225?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15303507#comment-15303507 ] Panu Hämäläinen edited comment on DOSGI-225 at 5/27/16 5:16 AM: To be clear, the patch would be to change from {code} !* {code} to {code} org.apache.cxf.dosgi.discovery.zookeeper.publish {code} in the pom.xml of the artifact cxf-dosgi-ri-discovery-distributed. was (Author: hamapa): To be clear, the patch would be to change from {code} !* {code} to {code} org.apache.cxf.dosgi.discovery.zookeeper.publish {code} in the pom of the artifact cxf-dosgi-ri-discovery-distributed. > Service publication with org.apache.cxf.ws.httpservice.context property does > not work > - > > Key: DOSGI-225 > URL: https://issues.apache.org/jira/browse/DOSGI-225 > Project: CXF Distributed OSGi > Issue Type: Bug > Components: DSW >Affects Versions: 1.7.0 >Reporter: Panu Hämäläinen > > For org.apache.cxf.ws.httpservice.context the page > https://cxf.apache.org/distributed-osgi-reference.html says "When this > property is specified, the OSGi HTTP Service is used to expose the service, > rather than a dedicated Jetty HTTP Server. This property doesn't allow the > specification of a port number, as this is provided by the HTTP Service." > However, this does not work with DOSGi 1.7.0. Instead, the service gets > exposed (by PojoConfigurationTypeHandler) at the default address > http://localhost:9000. This used to work e.g. with 1.4.0. -- This message was sent by Atlassian JIRA (v6.3.4#6332)