You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Björn Schütte (JIRA)" <ji...@apache.org> on 2009/06/15 16:00:07 UTC

[jira] Created: (CXF-2288) Bundle cannot be restarted

Bundle cannot be restarted
--------------------------

                 Key: CXF-2288
                 URL: https://issues.apache.org/jira/browse/CXF-2288
             Project: CXF
          Issue Type: Bug
          Components: Distributed-OSGi
    Affects Versions: dOSGi-1.0
         Environment: Windows XP, Eclipse 3.5 RC4
            Reporter: Björn Schütte


When using the OSGi HTTP Service by indicating the osgi.remote.configuration.pojo.httpservice.context property, the bundle cannot be restarted using the osgi console (stop, start, stop).

The given output is:
"WARNING: Problem creating a remote endpoint for mypackage.MyService from CXF PublishHook, reason is CXF DOSGI: problem registering CXF HTTP Servlet"

The underlying cause:
"org.osgi.service.http.NamespaceException: alias is already in use in this or another context"

This does not occur using straight Jetty.

Referring mailing list discussion: http://www.nabble.com/-DOSGi--jetty-issues-to24032884.html





-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (CXF-2288) Bundle cannot be restarted

Posted by "Sergey Beryozkin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-2288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sergey Beryozkin reassigned CXF-2288:
-------------------------------------

    Assignee: Sergey Beryozkin

> Bundle cannot be restarted
> --------------------------
>
>                 Key: CXF-2288
>                 URL: https://issues.apache.org/jira/browse/CXF-2288
>             Project: CXF
>          Issue Type: Bug
>          Components: Distributed-OSGi
>    Affects Versions: dOSGi-1.0
>         Environment: Windows XP, Eclipse 3.5 RC4
>            Reporter: Björn Schütte
>            Assignee: Sergey Beryozkin
>             Fix For: dOSGi-1.1
>
>         Attachments: CXF-2288.diff
>
>
> When using the OSGi HTTP Service by indicating the osgi.remote.configuration.pojo.httpservice.context property, the bundle cannot be restarted using the osgi console (stop, start, stop).
> The given output is:
> "WARNING: Problem creating a remote endpoint for mypackage.MyService from CXF PublishHook, reason is CXF DOSGI: problem registering CXF HTTP Servlet"
> The underlying cause:
> "org.osgi.service.http.NamespaceException: alias is already in use in this or another context"
> This does not occur using straight Jetty.
> Referring mailing list discussion: http://www.nabble.com/-DOSGi--jetty-issues-to24032884.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CXF-2288) Bundle cannot be restarted

Posted by "Josh Holtzman (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-2288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Josh Holtzman updated CXF-2288:
-------------------------------

    Attachment:     (was: cxf_reload.diff)

> Bundle cannot be restarted
> --------------------------
>
>                 Key: CXF-2288
>                 URL: https://issues.apache.org/jira/browse/CXF-2288
>             Project: CXF
>          Issue Type: Bug
>          Components: Distributed-OSGi
>    Affects Versions: dOSGi-1.0
>         Environment: Windows XP, Eclipse 3.5 RC4
>            Reporter: Björn Schütte
>         Attachments: CXF-2288.diff
>
>
> When using the OSGi HTTP Service by indicating the osgi.remote.configuration.pojo.httpservice.context property, the bundle cannot be restarted using the osgi console (stop, start, stop).
> The given output is:
> "WARNING: Problem creating a remote endpoint for mypackage.MyService from CXF PublishHook, reason is CXF DOSGI: problem registering CXF HTTP Servlet"
> The underlying cause:
> "org.osgi.service.http.NamespaceException: alias is already in use in this or another context"
> This does not occur using straight Jetty.
> Referring mailing list discussion: http://www.nabble.com/-DOSGi--jetty-issues-to24032884.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CXF-2288) Bundle cannot be restarted

Posted by "Josh Holtzman (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-2288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Josh Holtzman updated CXF-2288:
-------------------------------

    Attachment: cxf_reload.diff

The attached patch seems to fix the reloading problem for me locally with a JAX-RS endpoint.

> Bundle cannot be restarted
> --------------------------
>
>                 Key: CXF-2288
>                 URL: https://issues.apache.org/jira/browse/CXF-2288
>             Project: CXF
>          Issue Type: Bug
>          Components: Distributed-OSGi
>    Affects Versions: dOSGi-1.0
>         Environment: Windows XP, Eclipse 3.5 RC4
>            Reporter: Björn Schütte
>         Attachments: cxf_reload.diff
>
>
> When using the OSGi HTTP Service by indicating the osgi.remote.configuration.pojo.httpservice.context property, the bundle cannot be restarted using the osgi console (stop, start, stop).
> The given output is:
> "WARNING: Problem creating a remote endpoint for mypackage.MyService from CXF PublishHook, reason is CXF DOSGI: problem registering CXF HTTP Servlet"
> The underlying cause:
> "org.osgi.service.http.NamespaceException: alias is already in use in this or another context"
> This does not occur using straight Jetty.
> Referring mailing list discussion: http://www.nabble.com/-DOSGi--jetty-issues-to24032884.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CXF-2288) Bundle cannot be restarted

Posted by "Sergey Beryozkin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-2288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sergey Beryozkin resolved CXF-2288.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: dOSGi-1.1

> Bundle cannot be restarted
> --------------------------
>
>                 Key: CXF-2288
>                 URL: https://issues.apache.org/jira/browse/CXF-2288
>             Project: CXF
>          Issue Type: Bug
>          Components: Distributed-OSGi
>    Affects Versions: dOSGi-1.0
>         Environment: Windows XP, Eclipse 3.5 RC4
>            Reporter: Björn Schütte
>            Assignee: Sergey Beryozkin
>             Fix For: dOSGi-1.1
>
>         Attachments: CXF-2288.diff
>
>
> When using the OSGi HTTP Service by indicating the osgi.remote.configuration.pojo.httpservice.context property, the bundle cannot be restarted using the osgi console (stop, start, stop).
> The given output is:
> "WARNING: Problem creating a remote endpoint for mypackage.MyService from CXF PublishHook, reason is CXF DOSGI: problem registering CXF HTTP Servlet"
> The underlying cause:
> "org.osgi.service.http.NamespaceException: alias is already in use in this or another context"
> This does not occur using straight Jetty.
> Referring mailing list discussion: http://www.nabble.com/-DOSGi--jetty-issues-to24032884.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CXF-2288) Bundle cannot be restarted

Posted by "Josh Holtzman (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-2288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Josh Holtzman updated CXF-2288:
-------------------------------

    Comment: was deleted

(was: The attached patch seems to fix the reloading problem for me locally with a JAX-RS endpoint.)

> Bundle cannot be restarted
> --------------------------
>
>                 Key: CXF-2288
>                 URL: https://issues.apache.org/jira/browse/CXF-2288
>             Project: CXF
>          Issue Type: Bug
>          Components: Distributed-OSGi
>    Affects Versions: dOSGi-1.0
>         Environment: Windows XP, Eclipse 3.5 RC4
>            Reporter: Björn Schütte
>         Attachments: CXF-2288.diff
>
>
> When using the OSGi HTTP Service by indicating the osgi.remote.configuration.pojo.httpservice.context property, the bundle cannot be restarted using the osgi console (stop, start, stop).
> The given output is:
> "WARNING: Problem creating a remote endpoint for mypackage.MyService from CXF PublishHook, reason is CXF DOSGI: problem registering CXF HTTP Servlet"
> The underlying cause:
> "org.osgi.service.http.NamespaceException: alias is already in use in this or another context"
> This does not occur using straight Jetty.
> Referring mailing list discussion: http://www.nabble.com/-DOSGi--jetty-issues-to24032884.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CXF-2288) Bundle cannot be restarted

Posted by "Josh Holtzman (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-2288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Josh Holtzman updated CXF-2288:
-------------------------------

    Attachment: CXF-2288.diff

The patch CXF-2288.diff seems to fix reloading for both rest and soap endpoints.

> Bundle cannot be restarted
> --------------------------
>
>                 Key: CXF-2288
>                 URL: https://issues.apache.org/jira/browse/CXF-2288
>             Project: CXF
>          Issue Type: Bug
>          Components: Distributed-OSGi
>    Affects Versions: dOSGi-1.0
>         Environment: Windows XP, Eclipse 3.5 RC4
>            Reporter: Björn Schütte
>         Attachments: CXF-2288.diff
>
>
> When using the OSGi HTTP Service by indicating the osgi.remote.configuration.pojo.httpservice.context property, the bundle cannot be restarted using the osgi console (stop, start, stop).
> The given output is:
> "WARNING: Problem creating a remote endpoint for mypackage.MyService from CXF PublishHook, reason is CXF DOSGI: problem registering CXF HTTP Servlet"
> The underlying cause:
> "org.osgi.service.http.NamespaceException: alias is already in use in this or another context"
> This does not occur using straight Jetty.
> Referring mailing list discussion: http://www.nabble.com/-DOSGi--jetty-issues-to24032884.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.