Comments (2)
Hi @mfehse,
thanks for pointing this out - I can confirm that I can see this on JDK9 to JDK11.
It seems the namespaces located on classpath under titanoboa/system/ folder do not get automatically loaded during startup (they should).
Basically the auto-loading of these namespaces was supposed to be there just to make starting from scratch easier. Apparently it got broken at some point and is doing quite the opposite...
I am going to fix this, but in the meantime there is an easy workaround:
- Update ext-dependencies.clj so as it contains
[titanoboa.system.local]
under the:require
section, e.g.:
{:coordinates [[io.titanoboa.tasklet/pdf "0.1.0"][io.titanoboa.tasklet/aws-s3 "0.1.0"]]
:require [[titanoboa.system.local][io.titanoboa.tasklet.aws.s3][io.titanoboa.tasklet.pdf]]
:import nil
:repositories {"central" "https://repo1.maven.org/maven2/"
"clojars" "https://clojars.org/repo"}}
- Make sure you point titanoboa to the ext-dependencies.clj (otherwise it will be recreated upon startup). Just update the start.sh script to contain:
-Dboa.server.dependencies.path=./ext-dependencies.clj
e.g.:
#!/bin/bash
java -Dboa.server.dependencies.path=./ext-dependencies.clj -cp "./build/titanoboa.jar:./lib/*" titanoboa.server
Feel free to read more about the server config and dependencies at https://github.com/mikub/titanoboa/wiki/Server-Configuration
Cheers
Miro
from titanoboa.
This has now been fixed in this commit and the fix will go into the next release.
I also added the workaround into the current release available at https://www.titanoboa.io - so if you download the release again it should work straight away without any need for the workaround described above.
Feel free to reopen this if you still have any issues with it.
from titanoboa.
Related Issues (20)
- Add ability to suspend/resume workflow jobs HOT 1
- Add API endpoint to stop particular worker
- Use a java Thread directly instead of core.async thread for worker execution
- Add ability for Workers to self-initate restart in case of a fatal error.
- Update API docs: add Job Suspension operation & also add all the missing Archive and Systems API endpoints HOT 4
- Consider adding support for Swagger or OpenAPI
- ship extracted ext-depedencies file (and updated start scripts)
- Jobs in :initial state might not get evicted from job cache in clustered setup HOT 1
- MQ session pool macro does not return a session to the pool upon error
- Create folder property on workflow deifnition should be false by default
- stop.sh script does not work properly on Ubuntu
- Terminating a worker via thread interrupt can lead to a workflow job failure
- Step retries should take precedence over triggering :next step defined on "ERROR" condition
- Support query opts in jdbc tasklet HOT 1
- Support strings (with spaces) as step type names
- Create a new t-boa system for Quartz scheduler
- Allow using env variables to configure tboa HOT 3
- When condition in next step is a Boolean it is not shown in UI
- Updates to the workflow repository may not be noticed by all nodes
- Show health of each worker
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 titanoboa.