You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hivemind.apache.org by "James Carman (JIRA)" <hi...@jakarta.apache.org> on 2006/04/18 13:27:17 UTC

[jira] Created: (HIVEMIND-176) HiveMind incompatible with proxies created using a different Javassist ClassPool

HiveMind incompatible with proxies created using a different Javassist ClassPool
--------------------------------------------------------------------------------

         Key: HIVEMIND-176
         URL: http://issues.apache.org/jira/browse/HIVEMIND-176
     Project: HiveMind
        Type: Bug

  Components: framework  
    Versions: 1.1    
    Reporter: James Carman


Jakarta Commons Proxy allows me to create interceptors very easily using Javassist.  However, when I put one of my JCP-generated proxies on the interceptor stack and then try to put a HiveMind-generated one (like LoggingInterceptor), it can't find the JCP-generated proxy class.  Isn't there something we can do to fix this?

-- 
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: hivemind-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-dev-help@jakarta.apache.org


Re: [jira] Created: (HIVEMIND-176) HiveMind incompatible with proxies created using a different Javassist ClassPool

Posted by Howard Lewis Ship <hl...@gmail.com>.
Should be a way to add the commons-proxy class loader to the list of
class loaders searched for by the ClassFactory's class loader.

On 4/18/06, James Carman (JIRA) <hi...@jakarta.apache.org> wrote:
> HiveMind incompatible with proxies created using a different Javassist ClassPool
> --------------------------------------------------------------------------------
>
>          Key: HIVEMIND-176
>          URL: http://issues.apache.org/jira/browse/HIVEMIND-176
>      Project: HiveMind
>         Type: Bug
>
>   Components: framework
>     Versions: 1.1
>     Reporter: James Carman
>
>
> Jakarta Commons Proxy allows me to create interceptors very easily using Javassist.  However, when I put one of my JCP-generated proxies on the interceptor stack and then try to put a HiveMind-generated one (like LoggingInterceptor), it can't find the JCP-generated proxy class.  Isn't there something we can do to fix this?
>
> --
> 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: hivemind-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: hivemind-dev-help@jakarta.apache.org
>
>


--
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

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


[jira] Assigned: (HIVEMIND-176) HiveMind LoggingInterceptor incompatible with proxies generated by outside means (CGLIB or Javassist)

Posted by "James Carman (JIRA)" <hi...@jakarta.apache.org>.
     [ http://issues.apache.org/jira/browse/HIVEMIND-176?page=all ]

James Carman reassigned HIVEMIND-176:
-------------------------------------

    Assign To: James Carman

> HiveMind LoggingInterceptor incompatible with proxies generated by outside means (CGLIB or Javassist)
> -----------------------------------------------------------------------------------------------------
>
>          Key: HIVEMIND-176
>          URL: http://issues.apache.org/jira/browse/HIVEMIND-176
>      Project: HiveMind
>         Type: Bug

>   Components: framework
>     Versions: 1.1
>     Reporter: James Carman
>     Assignee: James Carman

>
> Jakarta Commons Proxy allows me to create interceptors very easily using Javassist and CGLIB.  However, when I put one of my JCP-generated proxies on the interceptor stack and then try to put a HiveMind-generated one (like LoggingInterceptor), it can't find the JCP-generated proxy class.  Isn't there something we can do to fix this?

-- 
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: hivemind-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-dev-help@jakarta.apache.org


[jira] Updated: (HIVEMIND-176) HiveMind LoggingInterceptor incompatible with proxies generated by outside means (CGLIB or Javassist)

Posted by "James Carman (JIRA)" <hi...@jakarta.apache.org>.
     [ http://issues.apache.org/jira/browse/HIVEMIND-176?page=all ]

James Carman updated HIVEMIND-176:
----------------------------------

        Summary: HiveMind LoggingInterceptor incompatible with proxies generated by outside means (CGLIB or Javassist)  (was: HiveMind incompatible with proxies created using a different Javassist ClassPool)
    Description: Jakarta Commons Proxy allows me to create interceptors very easily using Javassist and CGLIB.  However, when I put one of my JCP-generated proxies on the interceptor stack and then try to put a HiveMind-generated one (like LoggingInterceptor), it can't find the JCP-generated proxy class.  Isn't there something we can do to fix this?  (was: Jakarta Commons Proxy allows me to create interceptors very easily using Javassist.  However, when I put one of my JCP-generated proxies on the interceptor stack and then try to put a HiveMind-generated one (like LoggingInterceptor), it can't find the JCP-generated proxy class.  Isn't there something we can do to fix this?)

> HiveMind LoggingInterceptor incompatible with proxies generated by outside means (CGLIB or Javassist)
> -----------------------------------------------------------------------------------------------------
>
>          Key: HIVEMIND-176
>          URL: http://issues.apache.org/jira/browse/HIVEMIND-176
>      Project: HiveMind
>         Type: Bug

>   Components: framework
>     Versions: 1.1
>     Reporter: James Carman

>
> Jakarta Commons Proxy allows me to create interceptors very easily using Javassist and CGLIB.  However, when I put one of my JCP-generated proxies on the interceptor stack and then try to put a HiveMind-generated one (like LoggingInterceptor), it can't find the JCP-generated proxy class.  Isn't there something we can do to fix this?

-- 
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: hivemind-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-dev-help@jakarta.apache.org


[jira] Commented: (HIVEMIND-176) HiveMind LoggingInterceptor incompatible with proxies generated by outside means (CGLIB or Javassist)

Posted by "James Carman (JIRA)" <hi...@jakarta.apache.org>.
    [ http://issues.apache.org/jira/browse/HIVEMIND-176?page=comments#action_12378220 ] 

James Carman commented on HIVEMIND-176:
---------------------------------------

When trying to fix this, I ran into a problem.  I need to remove the static ClassFabUtils.getInstanceClass() or change its signature.  Right now, it's only checking if it's a JDK proxy object.  It needs to check for *any* incompatible object.  To do that, it needs to somehow ask the HiveMindClassPool for the corresponding CtClass.  If it throws NotFoundException, then it should just use the interface class.  Static methods can't get to the HiveMindClassPool, though.  I think these static classes (ProxyUtils, ClassFabUtils, etc.) need to be changed into services.

> HiveMind LoggingInterceptor incompatible with proxies generated by outside means (CGLIB or Javassist)
> -----------------------------------------------------------------------------------------------------
>
>          Key: HIVEMIND-176
>          URL: http://issues.apache.org/jira/browse/HIVEMIND-176
>      Project: HiveMind
>         Type: Bug

>   Components: framework
>     Versions: 1.1
>     Reporter: James Carman

>
> Jakarta Commons Proxy allows me to create interceptors very easily using Javassist and CGLIB.  However, when I put one of my JCP-generated proxies on the interceptor stack and then try to put a HiveMind-generated one (like LoggingInterceptor), it can't find the JCP-generated proxy class.  Isn't there something we can do to fix this?

-- 
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: hivemind-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-dev-help@jakarta.apache.org


[jira] Resolved: (HIVEMIND-176) HiveMind LoggingInterceptor incompatible with proxies generated by outside means (CGLIB or Javassist)

Posted by "James Carman (JIRA)" <hi...@jakarta.apache.org>.
     [ http://issues.apache.org/jira/browse/HIVEMIND-176?page=all ]
     
James Carman resolved HIVEMIND-176:
-----------------------------------

    Fix Version: 1.1
     Resolution: Fixed

> HiveMind LoggingInterceptor incompatible with proxies generated by outside means (CGLIB or Javassist)
> -----------------------------------------------------------------------------------------------------
>
>          Key: HIVEMIND-176
>          URL: http://issues.apache.org/jira/browse/HIVEMIND-176
>      Project: HiveMind
>         Type: Bug

>   Components: framework
>     Versions: 1.1
>     Reporter: James Carman
>     Assignee: James Carman
>      Fix For: 1.1

>
> Jakarta Commons Proxy allows me to create interceptors very easily using Javassist and CGLIB.  However, when I put one of my JCP-generated proxies on the interceptor stack and then try to put a HiveMind-generated one (like LoggingInterceptor), it can't find the JCP-generated proxy class.  Isn't there something we can do to fix this?

-- 
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: hivemind-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-dev-help@jakarta.apache.org


[jira] Updated: (HIVEMIND-176) HiveMind LoggingInterceptor incompatible with proxies generated by outside means (CGLIB or Javassist)

Posted by "James Carman (JIRA)" <hi...@jakarta.apache.org>.
     [ http://issues.apache.org/jira/browse/HIVEMIND-176?page=all ]

James Carman updated HIVEMIND-176:
----------------------------------

    Fix Version: 1.2
                     (was: 1.1)

> HiveMind LoggingInterceptor incompatible with proxies generated by outside means (CGLIB or Javassist)
> -----------------------------------------------------------------------------------------------------
>
>          Key: HIVEMIND-176
>          URL: http://issues.apache.org/jira/browse/HIVEMIND-176
>      Project: HiveMind
>         Type: Bug

>   Components: framework
>     Versions: 1.1
>     Reporter: James Carman
>     Assignee: James Carman
>      Fix For: 1.2

>
> Jakarta Commons Proxy allows me to create interceptors very easily using Javassist and CGLIB.  However, when I put one of my JCP-generated proxies on the interceptor stack and then try to put a HiveMind-generated one (like LoggingInterceptor), it can't find the JCP-generated proxy class.  Isn't there something we can do to fix this?

-- 
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: hivemind-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-dev-help@jakarta.apache.org