-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jess,

On 8/16/12 12:19 PM, Jess Holle wrote:
> On 8/16/2012 11:14 AM, Pid * wrote:
>> On 16 Aug 2012, at 17:10, Jess Holle <je...@ptc.com> wrote:
>>> It appears that when one installs the groovy-all-2.0.1-indy.jar
>>> in a Tomcat web app, BCEL chokes on the Java 7 specific
>>> byte-code therein ala
>>> 
>>> org.apache.tomcat.util.bcel.classfile.ClassFormatException: 
>>> Invalid byte tag in constant pool: 15 at 
>>> org.apache.tomcat.util.bcel.classfile.Constant.readConstant(Constant.java:131)
>>>
>>>
>>> 
at
>>> org.apache.tomcat.util.bcel.classfile.ConstantPool.<init>(ConstantPool.java:60)
>>>
>>>
>>> 
at
>>> org.apache.tomcat.util.bcel.classfile.ClassParser.readConstantPool(ClassParser.java:209)
>>>
>>>
>>> 
at
>>> org.apache.tomcat.util.bcel.classfile.ClassParser.parse(ClassParser.java:119)
>>>
>>>
>>> 
at
>>> org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:2066)
>>>
>>>
>>> 
...
>>> 
>>> Is there an update planned to make org.apache.tomcat.util.bcel
>>> savvy to Java 7 or replace it with ASM (which is fully Java 7
>>> savvy)? [Please!]
>>> 
>>> Until then, can I completely exclude this jar from annotation
>>> scanning?
>> Yes!
> Sorry, but how?

I had to search around for this for a while, but I finally found it
(it's essentially undocumented) in the ChangeLog.

Look at the "tomcat.util.scan.DefaultJarScanner.jarsToSkip" property
in CATALINA_HOME/conf/catalina.properties

I think you can just add your JAR to that list.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlAtYC4ACgkQ9CaO5/Lv0PD5uACbBAFYLPKcuE72HhKVHh7+dI3r
r78AnA3Lxv05VcwO0NtA2Tt1+1v8eBIi
=/YZH
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to