Comments (1)
Thanks for your suggestion. I did some experiments with Tomcat and Spring framework, to study the actual case when this is a problem.
- Put jackson-jq-{version}.jar and its dependencies into $TOMCAT_HOME/lib, so that jackson-jq are loaded by a tomcat's common classloader.
- Put custom jq UDFs in $TOMCAT_HOME/webapps/{app}/classes/jq.json. This file can be loaded only by an application classloader.
In this case, using Scope.class.getClassLoader()
did not work well. While this specific deployment is rather unrealistic, similar issues are definitely expected to happen in real circumstances.
I'm merging your PR #4. Thanks again!
from jackson-jq.
Related Issues (20)
- Complex Assignment not working HOT 2
- Publish Scope as a CDI bean and make ObjectMapper injectable
- [Announcement] Introducing Quarkus Extension for Jackson JQ HOT 1
- Stackoverflow error HOT 2
- Improved quarkus support: add jandex indexes HOT 2
- Improved quarkus support: make the jq json node model public HOT 3
- Improved extensibility: add an official JqFunction annotation
- Change scope constructor from private to protected HOT 3
- brew install jackson-jq Error: jackson-jq: wrong number of arguments (given 1, expected 0)
- 3 * "-" HOT 2
- -f option
- How to use --raw-output option from Java? HOT 3
- Update jackson-databind to 2.13.4.1 at least in order to fix vulnerabilities CVE-2022-42004 and CVE-2022-42003 HOT 7
- test with digit class of character throws an exception from jcodings HOT 1
- gsub's implementation causes stack overflows
- Support for fromdateiso8601 and todateiso8601 HOT 1
- Add uuid5 in "jackson-jq/extras" module
- Release 1.0.0
- "del" not working properly HOT 2
- Add options on usage
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 jackson-jq.