Comments (5)
The problem here is due to permissions. Payara makes a backup of the domain.xml
so that you always have a copy to restore to if something goes wrong. The default temporary directory is /tmp
, so if it doesn't have write permissions there, or on the original domain.xml
, you might see an error like this.
You can change the temp directory by setting -Djava.io.tmpdir=/my/new/path
which may help. If not, please upload the log file and I'll take a closer look.
from payara-examples.
Could I also ask exactly what the symptoms were? You say you couldn't make it work, but how did it fail? Did Payara Micro completely fail to start, or did it start with the default domain.xml?
from payara-examples.
Payara Micro started but with error I posted above and it didn't fail completely...I hadn't checked if it started with default domain.xml.
Solution you suggested worked, I just added System.setProperty("java.io.tmpdir", "/my/folder");
at the beginning of my application.
from payara-examples.
Excellent, thanks!
from payara-examples.
i have same problem and i will try to change temp folder.
from payara-examples.
Related Issues (20)
- Microprofile Fault Tolerance examples do not deploy on 5.192 HOT 2
- Microprofile REST Client examples do not deploy on 5.192
- build fails for master branch HOT 1
- can't deploy HOT 5
- Is there an example of ...? HOT 2
- mvn clean package fails
- Possible to build the datasource-example app ...
- Problem with Payara Micro examples <parent> - Could not find artifact HOT 2
- Test fails HOT 8
- loopBack undefined symbol
- Unsatisfied dependencies for type PayaraMicroRuntime with qualifiers @Default payara171
- Upgrade Payara Micro examples to work with 171 HOT 1
- Remote EJB connection from client application HOT 6
- Payara server stops at night HOT 2
- java.lang.RuntimeException: No pool by name HOT 1
- Accessing an HTTPS web service from Payara based standalone application HOT 3
- Request: update the Spring Boot REST example Spring Boot 2.0.0.RELEASE HOT 1
- BUG: JWTAuthenticationMechanism.java HOT 5
- NullPointerException when running batch process in Payara Micro HOT 1
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 payara-examples.