You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Lou Amodeo (JIRA)" <tu...@ws.apache.org> on 2006/12/18 19:14:21 UTC

[jira] Created: (TUSCANY-1001) @SessionID injection is not working..

@SessionID  injection is not working.. 
---------------------------------------

                 Key: TUSCANY-1001
                 URL: http://issues.apache.org/jira/browse/TUSCANY-1001
             Project: Tuscany
          Issue Type: Bug
            Reporter: Lou Amodeo


When using the @SessionID annotation and instance variable protected String sessionID the session is not being injected and sessionID is null.   

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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Closed: (TUSCANY-1001) @SessionID injection is not working..

Posted by "Ignacio Silva-Lepe (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1001?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ignacio Silva-Lepe closed TUSCANY-1001.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: Java-Mx

> @SessionID  injection is not working..
> --------------------------------------
>
>                 Key: TUSCANY-1001
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1001
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Core, Java SCA Integration Tests
>            Reporter: Lou Amodeo
>         Assigned To: Ignacio Silva-Lepe
>             Fix For: Java-Mx
>
>
> When using the @SessionID annotation and instance variable protected String sessionID the session is not being injected and sessionID is null.   

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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Commented: (TUSCANY-1001) @SessionID injection is not working..

Posted by "Ignacio Silva-Lepe (JIRA)" <tu...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/TUSCANY-1001?page=comments#action_12460269 ] 
            
Ignacio Silva-Lepe commented on TUSCANY-1001:
---------------------------------------------

I am assuming you are trying to get a conversation id injected. I may be wrong, but I believe the annotation to use is going to be @ConversationID. I have checked in a fix with r489355 that adds support for @ConversationID injection. If it turns out that @SessionID is also, or only, needed for this, it should be pretty simple to add/change it. For now, can you verify using @ConversationID and let me know?
Notice that, at least for now also, the qualifier for the field/method should be protected and not private.

> @SessionID  injection is not working..
> --------------------------------------
>
>                 Key: TUSCANY-1001
>                 URL: http://issues.apache.org/jira/browse/TUSCANY-1001
>             Project: Tuscany
>          Issue Type: Bug
>            Reporter: Lou Amodeo
>         Assigned To: Ignacio Silva-Lepe
>
> When using the @SessionID annotation and instance variable protected String sessionID the session is not being injected and sessionID is null.   

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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Updated: (TUSCANY-1001) @SessionID injection is not working..

Posted by "Lou Amodeo (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1001?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lou Amodeo updated TUSCANY-1001:
--------------------------------

    Component/s: Java SCA Integration Tests
                 Java SCA Core

> @SessionID  injection is not working..
> --------------------------------------
>
>                 Key: TUSCANY-1001
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1001
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Core, Java SCA Integration Tests
>            Reporter: Lou Amodeo
>         Assigned To: Ignacio Silva-Lepe
>
> When using the @SessionID annotation and instance variable protected String sessionID the session is not being injected and sessionID is null.   

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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Commented: (TUSCANY-1001) @SessionID injection is not working..

Posted by "Ignacio Silva-Lepe (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12464227 ] 

Ignacio Silva-Lepe commented on TUSCANY-1001:
---------------------------------------------

I don't think this is a blocker for TUSCANY-1046. Actually, the reason you don't see a conversation id injected is that there is none, which may be caused by the interface not being annotated as conversational. See comment to TUSCANY-1046.
I have verified in the loanappconversation sample that when there is a conversation id available, it does get injected into the member annotated by @ConversationID. But this annotation per se is not the way to get a conversation id created.

> @SessionID  injection is not working..
> --------------------------------------
>
>                 Key: TUSCANY-1001
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1001
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Core, Java SCA Integration Tests
>            Reporter: Lou Amodeo
>         Assigned To: Ignacio Silva-Lepe
>
> When using the @SessionID annotation and instance variable protected String sessionID the session is not being injected and sessionID is null.   

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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Commented: (TUSCANY-1001) @SessionID injection is not working..

Posted by "Lou Amodeo (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12464217 ] 

Lou Amodeo commented on TUSCANY-1001:
-------------------------------------

I was unable to verify this.  Please see TUSCANY-1046 which shows that a conversationID is not being obtained within the ConversationalScopeContainer.   

> @SessionID  injection is not working..
> --------------------------------------
>
>                 Key: TUSCANY-1001
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1001
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Core, Java SCA Integration Tests
>            Reporter: Lou Amodeo
>         Assigned To: Ignacio Silva-Lepe
>
> When using the @SessionID annotation and instance variable protected String sessionID the session is not being injected and sessionID is null.   

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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Commented: (TUSCANY-1001) @SessionID injection is not working..

Posted by "Lou Amodeo (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12464322 ] 

Lou Amodeo commented on TUSCANY-1001:
-------------------------------------

I have the @Scope on the impl and not the interface.  I switched to the interface and am past the problem.   However, Here is the spec which states @Scope can be specified on either interface or impl.    I do not know if spec is incorrect or the runtime?


P.   39 of C&I    .095.  

 1.7.11. @Scope 


The @Scope annotation type is used on either the service's interface definition or on the service
implementation class itself.

> @SessionID  injection is not working..
> --------------------------------------
>
>                 Key: TUSCANY-1001
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1001
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Core, Java SCA Integration Tests
>            Reporter: Lou Amodeo
>         Assigned To: Ignacio Silva-Lepe
>
> When using the @SessionID annotation and instance variable protected String sessionID the session is not being injected and sessionID is null.   

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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Commented: (TUSCANY-1001) @SessionID injection is not working..

Posted by "Ignacio Silva-Lepe (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12464334 ] 

Ignacio Silva-Lepe commented on TUSCANY-1001:
---------------------------------------------

Since you are past the TUSCANY-1046 problem, I assume that this issue can be closed as well?


> @SessionID  injection is not working..
> --------------------------------------
>
>                 Key: TUSCANY-1001
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1001
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Core, Java SCA Integration Tests
>            Reporter: Lou Amodeo
>         Assigned To: Ignacio Silva-Lepe
>
> When using the @SessionID annotation and instance variable protected String sessionID the session is not being injected and sessionID is null.   

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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Assigned: (TUSCANY-1001) @SessionID injection is not working..

Posted by "Ignacio Silva-Lepe (JIRA)" <tu...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/TUSCANY-1001?page=all ]

Ignacio Silva-Lepe reassigned TUSCANY-1001:
-------------------------------------------

    Assignee: Ignacio Silva-Lepe

> @SessionID  injection is not working..
> --------------------------------------
>
>                 Key: TUSCANY-1001
>                 URL: http://issues.apache.org/jira/browse/TUSCANY-1001
>             Project: Tuscany
>          Issue Type: Bug
>            Reporter: Lou Amodeo
>         Assigned To: Ignacio Silva-Lepe
>
> When using the @SessionID annotation and instance variable protected String sessionID the session is not being injected and sessionID is null.   

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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Commented: (TUSCANY-1001) @SessionID injection is not working..

Posted by "Lou Amodeo (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12464861 ] 

Lou Amodeo commented on TUSCANY-1001:
-------------------------------------

I would agree that a conversation id does get injected when @Scope("CONVERSATION') is annotated on the interface but i am still unclear on what specifically is the correct annotations to be used when defining a conversational client / service interaction.  I will add a comment to TUSCANY-1046 to elaborate.  Thanks.     

> @SessionID  injection is not working..
> --------------------------------------
>
>                 Key: TUSCANY-1001
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1001
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Core, Java SCA Integration Tests
>            Reporter: Lou Amodeo
>         Assigned To: Ignacio Silva-Lepe
>             Fix For: Java-Mx
>
>
> When using the @SessionID annotation and instance variable protected String sessionID the session is not being injected and sessionID is null.   

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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Commented: (TUSCANY-1001) @SessionID injection is not working..

Posted by "Jim Marino (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12464381 ] 

Jim Marino commented on TUSCANY-1001:
-------------------------------------

A quick comment that the spec is being changed to have scopes specified only on the implementation. Services on the other hand can either be non-conversational (default) or conversational.

> @SessionID  injection is not working..
> --------------------------------------
>
>                 Key: TUSCANY-1001
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1001
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Core, Java SCA Integration Tests
>            Reporter: Lou Amodeo
>         Assigned To: Ignacio Silva-Lepe
>             Fix For: Java-Mx
>
>
> When using the @SessionID annotation and instance variable protected String sessionID the session is not being injected and sessionID is null.   

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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org