Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo


Jboss exceptions after installing glassbox

Tom Doe
  • Tom Doe
    Tom Doe

    I get the following exceptions and several ajcore files in the jboss bin every time I restart Jboss.  Glassbox seems to work fine though.  Any ideas? Thanks in advance.

    2009-02-18 09:58:56,053 INFO  [service.TomcatDeployer] [] : deploy, ctxPath=/, warUrl=.../deploy/jboss-web.deployer/ROOT.war/
    2009-02-18 09:58:56,850 ERROR [STDERR] [] : Feb 18, 2009 9:58:56 AM org.aspectj.weaver.tools.Jdk14Trace error
    SEVERE: com/sun/faces/spi/ManagedBeanFactory$Scope
    java.lang.ArrayIndexOutOfBoundsException: 0
        at org.aspectj.weaver.ResolvedType.getMemberParameterizationMap(ResolvedType.java:700)
        at org.aspectj.weaver.ReferenceType.getDeclaredInterfaces(ReferenceType.java:412)
        at org.aspectj.weaver.ResolvedType.getDirectSupertypes(ResolvedType.java:65)
        at org.aspectj.weaver.patterns.TypePattern.matchesSubtypes(TypePattern.java:182)
        at org.aspectj.weaver.patterns.TypePattern.matchesSubtypes(TypePattern.java:169)
        at org.aspectj.weaver.patterns.TypePattern.matchesStatically(TypePattern.java:119)
        at org.aspectj.weaver.loadtime.ClassLoaderWeavingAdaptor.accept(ClassLoaderWeavingAdaptor.java:621)

        at $Proxy5.deploy(Unknown Source)
        at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
        at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
    2009-02-18 09:58:56,850 ERROR [STDERR] [] :
        at org.jboss.Main.boot(Main.java:200)
        at org.jboss.Main$1.run(Main.java:508)
        at java.lang.Thread.run(Thread.java:619)
    2009-02-18 09:58:56,850 ERROR [STDERR] [] : Feb 18, 2009 9:58:56 AM org.aspectj.weaver.tools.Jdk14Trace info
    INFO: Dumping to C:\SAA_3.1.0_SVN\deploy\cont\jboss-4.2.0.GA\bin\.\ajcore.20090218.095856.850.txt
    2009-02-18 09:58:57,912 ERROR [STDERR] [] : Feb 18, 2009 9:58:57 AM org.aspectj.weaver.tools.Jdk14Trace error
    SEVERE: com/sun/faces/config/WebConfiguration$BooleanWebContextInitParameter
        at org.aspectj.weaver.patterns.WildTypePattern.matchesExactly(WildTypePattern.java:231)
        at org.aspectj.weaver.patterns.TypePattern.matchesSubtypes(TypePattern.java:176)
        at org.aspectj.weaver.patterns.TypePattern.matchesSubtypes(TypePattern.java:184)

    • Ron Bodkin
      Ron Bodkin

      Thanks for reporting that. It looks like an AspectJ weaver bug. You might want to test out the latest version of AspectJ's weaver to see if the problem has been fixed in a later release. Either way I'd be interested to know: I might be able to find a fix for this.

  • Don't Disturb
    Don't Disturb

    Can you check this error for an clustered Jboss? I have the same problem with a JBoss4.2.3 GA. Does Glassbox support this environment? Thanks in advance.

  • milan

    I am facing the same issue.
    Have you got any solution?
    If you get any solution please reply me.