<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    JBoss AOP error message - org.jboss.aop.SuperClassesFirstWeavingStrategy error
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="http://community.jboss.org/people/techtigre1">T Rich</a> in <i>JBoss AOP</i> - <a href="http://community.jboss.org/message/594892#594892">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>Can anyone shed some light as to why I get this error message: <strong>ERROR [org.jboss.aop.SuperClassesFirstWeavingStrategy] (main) java.lang.RuntimeException: Error converting class. </strong>&#160; The following is my JBoss AS configuration:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>1 JBoss 5.1.0GA setup/configured successfully</p><p>2 JBoss AOP 2.1.8GA setup/deployed successfully</p><p>3 Custom Webapp(HelpDesk.ear) deployed on JBoss AS with custom annotations from <strong>another </strong>framework works successfully (e.g. annotations, custom aspect from third party framework work as advertised)</p><p>4. Created a second javaagent that bytecode weaves the Custom Webapp classes and adds third party annotations to specified class; custom agent works and <strong>does </strong>instrument the Webapp class successfully however the above error message happens at runtime.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Note: The second javaagent properly instruments a method with before/after code (timing code), but the when i try and add the annotation to a method the</p><p> error above happens at runtime. </p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Stack Trace:</p><p>2011-03-22 14:50:15,124 INFO&#160; [STDOUT] <strong>(main) Agent Transformer() was called.&#8221;</strong></p><p>2011-03-22 14:50:15,124 INFO&#160; [STDOUT] <strong>(main) txfrmd class:com.mycompany.demoapps.helpdesk.CreateTicketServlet</strong></p><p>2011-03-22 14:50:15,233 <strong>ERROR <span style="font-size: 8pt;">[org.jboss.aop.SuperClassesFirstWeavingStrategy] (main) java.lang.RuntimeException: Error converting class </span></strong></p><p>2011-03-22 14:50:15,233 <strong>ERROR <span style="font-size: 8pt;">[org.jboss.aop.SuperClassesFirstWeavingStrategy] (main) java.lang.RuntimeException: Error converting class </span></strong></p><p>2011-03-22 14:50:15,233 INFO&#160; [STDOUT] <strong>(main) Annotation key:com.mycompany.demoapps.helpdesk.CreateTicketServlet</strong></p><p>2011-03-22 14:50:19,796 INFO&#160; [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (main) deploy, ctxPath=/helpdesk</p><p>2011-03-22 14:50:21,905 ERROR [STDERR] (main) log4j:ERROR A "org.jboss.logging.appender.FileAppender" object is not assignable to a "org.apache.log4j.Appender" variable.</p><p>2011-03-22 14:50:21,905 ERROR [STDERR] (main) log4j:ERROR The class "org.apache.log4j.Appender" was loaded by </p><p>2011-03-22 14:50:21,905 ERROR [STDERR] (main) log4j:ERROR [BaseClassLoader@afaa85{vfszip:/C:/java/webservers/jboss-5.1.0.GA/server/default/deploy/helpdesk.ear/helpdesk.war/}] whereas object of type </p><p>2011-03-22 14:50:21,905 ERROR [STDERR] (main) log4j:ERROR "org.jboss.logging.appender.FileAppender" was loaded by [org.jboss.bootstrap.NoAnnotationURLClassLoader@17a29a1].</p><p>2011-03-22 14:50:21,905 ERROR [STDERR] (main) log4j:ERROR Could not instantiate appender named "FILE".</p><p>2011-03-22 14:50:22,218 INFO&#160; [STDOUT] (main) 14:50:22,218 INFO&#160; [ResolverUtil] Checking URL '/C:/java/webservers/jboss-5.1.0.GA/server/default/tmp/5c4o11t-rq0ayi-gll8ke66-1-gll8ocbd-9s/helpdesk.war/WEB-INF/lib/commons-logging.jar' for instances of net.sourceforge.stripes.action.ActionBean</p><p>2011-03-22 14:50:22,296 INFO&#160; [STDOUT] (main) 14:50:22,296 INFO&#160; [ResolverUtil] Checking URL '/C:/java/webservers/jboss-5.1.0.GA/server/default/tmp/5c4o11t-rq0ayi-gll8ke66-1-gll8ocbd-9s/helpdesk.war/WEB-INF/lib/commons-logging-1.0.3.jar' for instances of net.sourceforge.stripes.action.ActionBean</p><p>2011-03-22 14:50:22,312 INFO&#160; [STDOUT] (main) 14:50:22,312 INFO&#160; [ResolverUtil] Checking URL '/C:/java/webservers/jboss-5.1.0.GA/server/default/tmp/5c4o11t-rq0ayi-gll8ke66-1-gll8ocbd-9s/helpdesk.war/WEB-INF/lib/log4j-1.2.16.jar' for instances of net.sourceforge.stripes.action.ActionBean</p><p>2011-03-22 14:50:24,015 INFO&#160; [STDOUT] (main) 14:50:24,015 INFO&#160; [ResolverUtil] Checking URL '/C:/java/webservers/jboss-5.1.0.GA/server/default/tmp/5c4o11t-rq0ayi-gll8ke66-1-gll8ocbd-9s/helpdesk.war/WEB-INF/lib/commons-collections-3.1.jar' for instances of net.sourceforge.stripes.action.ActionBean</p><p>2011-03-22 14:50:28,718 INFO&#160; [STDOUT] (main) 14:50:28,718 INFO&#160; [ResolverUtil] Checking URL '/C:/java/webservers/jboss-5.1.0.GA/server/default/tmp/5c4o11t-rq0ayi-gll8ke66-1-gll8ocbd-9s/helpdesk.war/WEB-INF/lib/stripes.jar' for instances of net.sourceforge.stripes.action.ActionBean</p><p>2011-03-22 14:50:29,390 INFO&#160; [STDOUT] (main) 14:50:29,390 WARN&#160; [ResolverUtil] Could not examine class 'net/sourceforge/stripes/tools/SiteStructureTool.class' due to a java.lang.NoClassDefFoundError with message: com/sun/mirror/apt/AnnotationProcessor</p><p>2011-03-22 14:50:29,515 INFO&#160; [STDOUT] (main) 14:50:29,515 INFO&#160; [ResolverUtil] Checking URL '/C:/java/webservers/jboss-5.1.0.GA/server/default/tmp/5c4o11t-rq0ayi-gll8ke66-1-gll8ocbd-9s/helpdesk.war/WEB-INF/classes' for instances of net.sourceforge.stripes.action.ActionBean</p><p>2011-03-22 14:50:29,515 INFO&#160; [STDOUT] (main) 14:50:29,515 INFO&#160; [ResolverUtil] Checking URL '/C:/java/webservers/jboss-5.1.0.GA/server/default/tmp/5c4o11t-rq0ayi-gll8ke66-1-gll8ocbd-9s/helpdesk.war/WEB-INF/lib/helpdesk.jar' for instances of net.sourceforge.stripes.action.ActionBean</p><p>2011-03-22 14:50:29,546 INFO&#160; [STDOUT] (main) 14:50:29,546 INFO&#160; [ResolverUtil] Checking URL '/C:/java/webservers/jboss-5.1.0.GA/server/default/tmp/5c4o11t-rq0ayi-gll8ke66-1-gll8ocbd-9s/helpdesk.war/WEB-INF/lib/commons-io-1.3.2.jar' for instances of net.sourceforge.stripes.action.ActionBean</p><p>2011-03-22 14:50:29,687 INFO&#160; [STDOUT] (main) 14:50:29,687 INFO&#160; [DefaultLocalePicker] No locale list specified, defaulting to single locale: en_US</p><p>2011-03-22 14:50:29,718 INFO&#160; [STDOUT] (main) 14:50:29,718 INFO&#160; [StripesFilter] Stripes Initialization Complete. Version: 1.4.3, Build: 542</p><p>2011-03-22 14:50:30,140 ERROR [org.jboss.system.server.profileservice.ProfileServiceBootstrap] (main) Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>DEPLOYMENTS MISSING DEPENDENCIES:</p><p>&#160; Deployment "AppClientParsingDeployer" is missing the following dependencies:</p><p>&#160;&#160;&#160; Dependency "AspectLibrary" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'AspectLibrary' **")</p><p>&#160; Deployment "Ejb3ClientDeployer" is missing the following dependencies:</p><p>&#160;&#160;&#160; Dependency "AspectLibrary" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'AspectLibrary' **")</p><p>&#160; Deployment "Ejb3Deployer" is missing the following dependencies:</p><p>&#160;&#160;&#160; Dependency "AspectLibrary" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'AspectLibrary' **")</p><p>&#160; Deployment "JBossClientParsingDeployer" is missing the following dependencies:</p><p>&#160;&#160;&#160; Dependency "AppClientParsingDeployer" (should be in state "Create", but is actually in state "Configured")</p><p>&#160; Deployment "MergedJBossClientMetaDataDeployer" is missing the following dependencies:</p><p>&#160;&#160;&#160; Dependency "AppClientParsingDeployer" (should be in state "Create", but is actually in state "Configured")</p><p>&#160; Deployment "WSDeployerHook_JAXRPC_EJB21" is missing the following dependencies:</p><p>&#160;&#160;&#160; Dependency "WebServiceDeployerEJB" (should be in state "Create", but is actually in state "Configured")</p><p>&#160; Deployment "WSDeployerHook_JAXWS_EJB3" is missing the following dependencies:</p><p>&#160;&#160;&#160; Dependency "WebServiceDeployerEJB" (should be in state "Create", but is actually in state "Configured")</p><p>&#160; Deployment "WebServiceDeployerEJB" is missing the following dependencies:</p><p>&#160;&#160;&#160; Dependency "Ejb3Deployer" (should be in state "Create", but is actually in state "Configured")</p><p>&#160; Deployment "jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3_endpoint" is missing the following dependencies:</p><p>&#160;&#160;&#160; Dependency "jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3" (should be in state "Configured", but is actually in state "** NOT FOUND Depends on 'jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3' **")</p><p>&#160; Deployment "jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3_endpoint" is missing the following dependencies:</p><p>&#160;&#160;&#160; Dependency "jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3" (should be in state "Configured", but is actually in state "** NOT FOUND Depends on 'jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3' **")</p><p>&#160; Deployment "jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3_endpoint" is missing the following dependencies:</p><p>&#160;&#160;&#160; Dependency "jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3" (should be in state "Configured", but is actually in state "** NOT FOUND Depends on 'jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3' **")</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>DEPLOYMENTS IN ERROR:</p><p>&#160; Deployment "jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3" is in error due to the following reason(s): ** NOT FOUND Depends on 'jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3' **</p><p>&#160; Deployment "AspectLibrary" is in error due to the following reason(s): ** NOT FOUND Depends on 'AspectLibrary' **</p><p>&#160; Deployment "jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3" is in error due to the following reason(s): ** NOT FOUND Depends on 'jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3' **</p><p>&#160; Deployment "jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3" is in error due to the following reason(s): ** NOT FOUND Depends on 'jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3' **</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>2011-03-22 14:50:30,202 INFO&#160; [org.apache.coyote.http11.Http11Protocol] (main) Starting Coyote HTTP/1.1 on http-0.0.0.0-8080</p><p>2011-03-22 14:50:30,312 INFO&#160; [org.apache.coyote.ajp.AjpProtocol] (main) Starting Coyote AJP/1.3 on ajp-0.0.0.0-8009</p><p>2011-03-22 14:50:30,327 INFO&#160; [org.jboss.bootstrap.microcontainer.ServerImpl] (main) JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221634)] Started in 3m:18s:515ms</p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/594892#594892">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in JBoss AOP at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2027">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>