You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Robert Ottaway (JIRA)" <ji...@apache.org> on 2006/10/14 14:29:16 UTC

[jira] Created: (SM-708) ServiceUnitAnalyzer does not create parent spring context

ServiceUnitAnalyzer does not create parent spring context
---------------------------------------------------------

                 Key: SM-708
                 URL: https://issues.apache.org/activemq/browse/SM-708
             Project: ServiceMix
          Issue Type: Improvement
          Components: tooling
    Affects Versions: 3.0
         Environment: Servicemix 3.0
            Reporter: Robert Ottaway
            Priority: Blocker
         Attachments: xbean.xml

When trying to create a service assembly using the jbi plugin error is recieved. In a service unit's xbean file I ry to pass a reference to the ComponentContext to a XFire POJO object. According to documentation on the site this should work fine. But when the ServiceUnitAnalyzer kicks in during the mvn install goal, it finds no parent reference to 'context'

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to generate jbi.xml

Embedded error: Unable to generate service unit descriptor!
No bean named 'context' is defined 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (SM-708) ServiceUnitAnalyzer does not create parent spring context

Posted by "Robert Ottaway (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-708?page=comments#action_37183 ] 
            
Robert Ottaway commented on SM-708:
-----------------------------------

Link to Nabble forum topic: http://www.nabble.com/SOAP-Service-for-posting-a-XML-document-tf2440194.html#a6810170

> ServiceUnitAnalyzer does not create parent spring context
> ---------------------------------------------------------
>
>                 Key: SM-708
>                 URL: https://issues.apache.org/activemq/browse/SM-708
>             Project: ServiceMix
>          Issue Type: Improvement
>          Components: tooling
>    Affects Versions: 3.0
>         Environment: Servicemix 3.0
>            Reporter: Robert Ottaway
>            Priority: Blocker
>         Attachments: xbean.xml
>
>
> When trying to create a service assembly using the jbi plugin error is recieved. In a service unit's xbean file I ry to pass a reference to the ComponentContext to a XFire POJO object. According to documentation on the site this should work fine. But when the ServiceUnitAnalyzer kicks in during the mvn install goal, it finds no parent reference to 'context'
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Failed to generate jbi.xml
> Embedded error: Unable to generate service unit descriptor!
> No bean named 'context' is defined 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (SM-708) ServiceUnitAnalyzer does not create parent spring context

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-708?page=all ]

Guillaume Nodet updated SM-708:
-------------------------------

    Priority: Major  (was: Blocker)

Moving to Major as there is a simple workaround

> ServiceUnitAnalyzer does not create parent spring context
> ---------------------------------------------------------
>
>                 Key: SM-708
>                 URL: https://issues.apache.org/activemq/browse/SM-708
>             Project: ServiceMix
>          Issue Type: Improvement
>          Components: tooling
>    Affects Versions: 3.0
>         Environment: Servicemix 3.0
>            Reporter: Robert Ottaway
>         Attachments: xbean.xml
>
>
> When trying to create a service assembly using the jbi plugin error is recieved. In a service unit's xbean file I ry to pass a reference to the ComponentContext to a XFire POJO object. According to documentation on the site this should work fine. But when the ServiceUnitAnalyzer kicks in during the mvn install goal, it finds no parent reference to 'context'
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Failed to generate jbi.xml
> Embedded error: Unable to generate service unit descriptor!
> No bean named 'context' is defined 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (SM-708) ServiceUnitAnalyzer does not create parent spring context

Posted by "Philip Dodds (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-708?page=comments#action_37184 ] 
            
Philip Dodds commented on SM-708:
---------------------------------

You can disable the SU analyzers by adding the parameter useServiceUnitAnalyzer to false in your jbi-maven-plugin configuration for the SU

> ServiceUnitAnalyzer does not create parent spring context
> ---------------------------------------------------------
>
>                 Key: SM-708
>                 URL: https://issues.apache.org/activemq/browse/SM-708
>             Project: ServiceMix
>          Issue Type: Improvement
>          Components: tooling
>    Affects Versions: 3.0
>         Environment: Servicemix 3.0
>            Reporter: Robert Ottaway
>            Priority: Blocker
>         Attachments: xbean.xml
>
>
> When trying to create a service assembly using the jbi plugin error is recieved. In a service unit's xbean file I ry to pass a reference to the ComponentContext to a XFire POJO object. According to documentation on the site this should work fine. But when the ServiceUnitAnalyzer kicks in during the mvn install goal, it finds no parent reference to 'context'
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Failed to generate jbi.xml
> Embedded error: Unable to generate service unit descriptor!
> No bean named 'context' is defined 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Resolved: (SM-708) ServiceUnitAnalyzer does not create parent spring context

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-708?page=all ]

Guillaume Nodet resolved SM-708.
--------------------------------

    Fix Version/s: 3.1
       Resolution: Fixed
         Assignee: Guillaume Nodet

Author: gnodet
Date: Mon Oct 16 06:20:55 2006
New Revision: 464479

URL: http://svn.apache.org/viewvc?view=rev&rev=464479
Log:
Simplify xbean deployer by extending BaseXBeanDeployer.
Fix SM-708: a parent BeanFactory containing the "context" bean is created

Modified:
   incubator/servicemix/trunk/servicemix-jsr181/src/main/java/org/apache/servicemix/jsr181/Jsr181Endpoint.java
   incubator/servicemix/trunk/servicemix-jsr181/src/main/java/org/apache/servicemix/jsr181/Jsr181XBeanDeployer.java
   incubator/servicemix/trunk/servicemix-jsr181/src/main/java/org/apache/servicemix/jsr181/packaging/Jsr181ServiceUnitAnalyzer.java



> ServiceUnitAnalyzer does not create parent spring context
> ---------------------------------------------------------
>
>                 Key: SM-708
>                 URL: https://issues.apache.org/activemq/browse/SM-708
>             Project: ServiceMix
>          Issue Type: Improvement
>          Components: tooling
>    Affects Versions: 3.0
>         Environment: Servicemix 3.0
>            Reporter: Robert Ottaway
>         Assigned To: Guillaume Nodet
>             Fix For: 3.1
>
>         Attachments: xbean.xml
>
>
> When trying to create a service assembly using the jbi plugin error is recieved. In a service unit's xbean file I ry to pass a reference to the ComponentContext to a XFire POJO object. According to documentation on the site this should work fine. But when the ServiceUnitAnalyzer kicks in during the mvn install goal, it finds no parent reference to 'context'
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Failed to generate jbi.xml
> Embedded error: Unable to generate service unit descriptor!
> No bean named 'context' is defined 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira