Comments (10)
I think using the above opens
opts is a sensible workaround. I'll investigate more if removing WildFlySecurityManager
in jberet would make it easier.
from jsr352.
It will be fixed via https://issues.redhat.com/browse/JBERET-570 and https://issues.redhat.com/browse/JBERET-572
from jsr352.
FYI, jberet 1.4.8.Final is released on 2022-07-27, which contains the fix for this issue, along with other improvements.
https://github.com/jberet/jsr352/releases/tag/1.4.8.Final
from jsr352.
@chengfang are you aware of this?
from jsr352.
Not sure if removing WildflySecurityManager will fully fix it. In WildFly, we use the workaround with jdk 17:
<modular.jdk.args>
--add-exports=java.desktop/sun.awt=ALL-UNNAMED
--add-opens=java.base/java.io=ALL-UNNAMED
--add-opens=java.base/java.lang=ALL-UNNAMED
--add-opens=java.base/java.lang.invoke=ALL-UNNAMED
--add-opens=java.base/java.lang.reflect=ALL-UNNAMED
--add-opens=java.base/java.security=ALL-UNNAMED
--add-opens=java.base/java.util=ALL-UNNAMED
--add-opens=java.base/java.util.concurrent=ALL-UNNAMED
--add-opens=java.management/javax.management=ALL-UNNAMED
--add-opens=java.naming/javax.naming=ALL-UNNAMED
</modular.jdk.args>
https://github.com/wildfly/wildfly/blob/main/pom.xml#L169
It has not come up in JBeret till now. Is it possible to apply this workaround in quarkus-jberet?
from jsr352.
Already did and it works as expected. Actually, it only required the security module, but we may have runtime code not being hit requiring additional stuff.
Are we fine with this, or do we want to eventually remove the need of opening these modules?
from jsr352.
Any add opens is not a sensible workaround. Its a working workaround but let’s not consider it sensible :)
from jsr352.
Wondering if we should just remove the SecurityManager
related code since it is deprecated in 17 and will be removed in the future.
from jsr352.
SecurityManager is still used in WildFy, EAP and many user apps, so will be preserved in jberet for now.
from jsr352.
+1 the security manager related stuff cannot be removed. In some environments the security manager is mandated. The spec itself even uses it.
from jsr352.
Related Issues (20)
- NoSuchJobException HOT 8
- Need to update the link to JSR 352 spec project in README.md HOT 1
- If the server is using other timezone the JDBC repository will show wrong time. HOT 7
- According JBeret specification JBeret should be able to @Inject @BatchProperty File file, but it works only in special curcumstance. HOT 2
- Checkpoints must be set after skipped item HOT 5
- JBERET000640 - Wildfly 14 HOT 13
- Does JBeret support Java11? HOT 3
- Usage of JBoss Marshalling incompatible with native compilation with GraalVM HOT 8
- Jberet and Thorntail HOT 2
- Inconsistent BatchStatus after database connection loss HOT 1
- Support additional Serialization mechanisms
- jberet-camel reading only one file HOT 2
- Mongo support for storing batch metadata? HOT 2
- PurgeBatchlet doesn't work with JdbcJobRepository HOT 1
- "JBERET000651: The requested permits (%d) is greater than the maximum number of permits (%d) allowed in the thread pool."; HOT 2
- user guide HOT 2
- Injection of batch artifact properties does not work HOT 10
- Job versioning does not appear to be supported in JBeret HOT 1
- Error using Oracle DB as default job repository HOT 2
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 jsr352.