You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "David Jencks (JIRA)" <de...@geronimo.apache.org> on 2005/11/22 23:41:41 UTC
[jira] Created: (GERONIMO-1221) Recent caching changes in cglib broke axis-builder
Recent caching changes in cglib broke axis-builder
--------------------------------------------------
Key: GERONIMO-1221
URL: http://issues.apache.org/jira/browse/GERONIMO-1221
Project: Geronimo
Type: Bug
Components: webservices
Versions: 1.0
Reporter: David Jencks
Assigned to: David Jencks
Fix For: 1.0
Apparently recent changes in cglib broke axis-builder. In axis-builder we enhance classes and save the bytecode in the configuration we are building. This only works if cglib actually enhances the class when we ask it to: if it has cached the enhanced class we don't get the bytes back. Rather than trying to add another cache and try to figure out classloader lifetimes it is simpler to explictly turn off cglib caching with enhancer.setUseCache(false). This may be something to be careful of when we generate and save other enhanced classes at deploy time.
--
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
Re: [jira] Created: (GERONIMO-1221) Recent caching changes in cglib
broke axis-builder
Posted by John Sisson <jr...@gmail.com>.
FYI.. I made a change to axis in relation to CGLIB a few weeks ago, but it wasn't in axis-builder.
http://svn.apache.org/viewcvs?rev=327895&view=rev
John
David Jencks (JIRA) wrote:
>Recent caching changes in cglib broke axis-builder
>--------------------------------------------------
>
> Key: GERONIMO-1221
> URL: http://issues.apache.org/jira/browse/GERONIMO-1221
> Project: Geronimo
> Type: Bug
> Components: webservices
> Versions: 1.0
> Reporter: David Jencks
> Assigned to: David Jencks
> Fix For: 1.0
>
>
>Apparently recent changes in cglib broke axis-builder. In axis-builder we enhance classes and save the bytecode in the configuration we are building. This only works if cglib actually enhances the class when we ask it to: if it has cached the enhanced class we don't get the bytes back. Rather than trying to add another cache and try to figure out classloader lifetimes it is simpler to explictly turn off cglib caching with enhancer.setUseCache(false). This may be something to be careful of when we generate and save other enhanced classes at deploy time.
>
>
>
[jira] Closed: (GERONIMO-1221) Recent caching changes in cglib broke axis-builder
Posted by "David Jencks (JIRA)" <de...@geronimo.apache.org>.
[ http://issues.apache.org/jira/browse/GERONIMO-1221?page=all ]
David Jencks closed GERONIMO-1221:
----------------------------------
Resolution: Fixed
Sending modules/axis-builder/src/java/org/apache/geronimo/axis/builder/AxisBuilder.java
Transmitting file data .
Committed revision 348281.
> Recent caching changes in cglib broke axis-builder
> --------------------------------------------------
>
> Key: GERONIMO-1221
> URL: http://issues.apache.org/jira/browse/GERONIMO-1221
> Project: Geronimo
> Type: Bug
> Components: webservices
> Versions: 1.0
> Reporter: David Jencks
> Assignee: David Jencks
> Fix For: 1.0
>
> Apparently recent changes in cglib broke axis-builder. In axis-builder we enhance classes and save the bytecode in the configuration we are building. This only works if cglib actually enhances the class when we ask it to: if it has cached the enhanced class we don't get the bytes back. Rather than trying to add another cache and try to figure out classloader lifetimes it is simpler to explictly turn off cglib caching with enhancer.setUseCache(false). This may be something to be careful of when we generate and save other enhanced classes at deploy time.
--
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