Comments (5)
Thank you guys for the report, will be checking out these soon
from postmark-java.
Hi @rocketraman
no need, already addressed in 1.7.3
from postmark-java.
@rocketraman Thanks for the in-depth analysis of this, I was thinking my implementation was wrong initially when using this library. I raised #26 and had to apply some exclusions to the postmark dependency to get it working and maintain our current logging setup, as well as modifying the jar to remove the log4j2.properties file.
from postmark-java.
Hi @rocketraman @DarkNormal ,
thank you for the detailed report, we have just released a version 1.7.2 which resolves these issues. All issues above should be resolved. log4j is not part of the library anymore since as you mentioned it's not really needed in this case and the mimeutil library is old one and we went for newer library, for customers wanting to use auto mime file type detection.
from postmark-java.
Thank you @ibalosh , I can confirm the situation with logging is much better now.
However, why do you depend on tika-bundle instead of tika-core directly?
+--- com.wildbit.java:postmark:1.7.2
...
| \--- org.apache.tika:tika-bundle:1.25
| \--- org.apache.tika:tika-core:1.25
The tika-bundle
dependency bundles all the tika dependencies together (everything needed for everything Tika does, including parsing a bazillion different file types) and adds OSGi meta-data on top, so that tika can be used easily in an OSGi environment. As a result, it is quite large (48 Megabytes).
For MIME type detection, you should only need tika-core (712 Kb) and nothing else.
I can open a separate issue for this if you like.
from postmark-java.
Related Issues (20)
- Java 9: Illegal reflective access warning caused by JAXB dependency HOT 8
- [1.5.6] ProcessingException after upgrading from 1.5.5 to 1.5.6 HOT 10
- log4j2.properties overriding log4j2 configuration HOT 1
- Feature Request - support custom jackson object mapper HOT 3
- `message.addHeader` function not backwards compatible HOT 2
- Updated dependencies with high vulnerabilities HOT 1
- Allowing comma separated emails HOT 5
- HeaderValueException:Too many "Content-Type" header values: "[application/json, application/json]" HOT 13
- HeaderValueException:Too many "Content-Type" header values: "[application/json, application/json]" HOT 2
- HeaderValueException:Too many "Content-Type" header values: "[application/json, application/json] HOT 2
- Apache Tika vulnerabilities HOT 2
- Version `1.8.2` introduces `slf4j-simple` dependency HOT 2
- Upgrade Apache Tika to address vulnerability HOT 2
- Improve error handling, when HTTP status is unknown HOT 1
- Is ApiClient threadsafe? HOT 3
- Support for Jakarta EE HOT 2
- Spring Boot random "SSLException: Connection Reset" with Java 8 HOT 6
- Spring boot version 3.XX support HOT 3
- Metadata field is not present in "Bounce" class HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from postmark-java.