-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TomEE downloaded by buildpack has an incorrect jarsToSkip configuration #32
Comments
Hello,
So can you clarify this with your scenario. This property is not used to exclude jar files from the class path. In your context.xml you can provide description for additional jar files which will be skipped/scanned. More information here: Regards, |
Sorry then by the misunderstanding... my scenario is quite simple and I didn't find explanation. I have this EAR structure:
The tomEE loads perfectly all my classes located in "lib" folder except commons-codec, I get the reported error. In fact If I put this class inside the WAR it works (I just check it) and in my local machine works properly in both situation. The full error log is:
The class I just add a example in the #23 if you can try. Regards. |
Hi, Please use the workaround ( Regards, |
I made it, thanks in advance by your support. Regards, |
Hi, As per advice in the TomEE ticket above, one can use Regards, |
Hi
Deploying applications that needs commons-codec I have had the following error:
But I have added the commons-codec in my lib folder. Checking the buildpack logs I have detected that the tomEE located in:
https://java-buildpack.cloudfoundry.org/tomee/tomee-7.0.4.tar.gz
it has (I think) a incorrect configuration in catalina.properties. If you check the property "jarsToSkip" you can check the jars that are provided by tomEE and they are not included in the JarScanner
But if you check the lib of this tomEE the commons-codec (and others) are not included
Currently I have had to delete this dependency but our applications that are planning to run on tomEE are hundreds. Maybe I can make a fork of the buildpack to change the tomEE but I would prefer use the official revision.
Thanks in advance.
Manuel.
The text was updated successfully, but these errors were encountered: