Closed vleboulanger closed 4 years ago
It is an error of me..
In file properties, I have kept jdbc:postgres behind jdbc:postgresql !!
Sorry, I close
the update on file properties is ok when I launch on my Windows computer
When I deploy on Heroku, I still have the error
java.lang.OutOfMemoryError: Java heap space
Looks like you're running out of memory
I think that the memory error is the result of the fact that the application does not launch, visibly, on connection with the BDD
Can you try to make your heroku instance larger? What kind of instance are you trying to start the application?
I use web Dyno 2X not enough you think?
Could be but I use it regularly for demos with the free dyno and I never have that problem with a vanilla jhipster app. Do you have entities defined? Can you try a newly created app?
Hello, Yes I have thousand entities defined I will try deply new app next week and come back to you
You mean you have thousands of database tables? That might take time, not sure how Liquibase will scale... nor your database in fact. BTW you need to remove Swagger, but you probably have a warning message in your logs for this.
not thousand, but 1 hundred, sorry, bad translate And it is the same number of tables in actual version. It works with jhipster 5.8.2
Ah, in that case that's "normal".
@ahmeed83 please don't hijack this issue for something that seems only partially related (you're not upgrading as far as I know). Also please avoid cross-posting as you got some comments already on stackoverflow: https://stackoverflow.com/questions/59912549/failed-deploying-jhipster-app-on-heroku-error-bin-sh-1-mvnw-not-found
Hard to advance on this ticket as it's too specific to your project. We don't have any steps, no project for trying to reproduce. And I'm pretty sure it comes from the settings on Heroku.
So I'm closing this for now. Feel free to provide project, all steps in details to prove it is a JHipster Bug
Overview of the issue
I upgrade my project from jhipster 5.8.2 to 6.6.0. All works fine on my computer when I launch with "dev" profile
If I launch on my computer with "int" profile, I have this result :
When I deploy a version on Heroku with "int" profil, I have this stacktrace on log Heroku :
Motivation for or Use Case
Since this version, I can not deploy this new version on my environment.
Reproduce the error
Related issues
JHipster Version(s)
I use version 6.6.0 (finally i try)
JHipster configuration
For my "int" profile, I have my application-int.yml
in build.gradle :
and profile_int.gradle
Environment and Tools
openjdk version "11.0.5" 2019-10-15 OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.5+10) OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.5+10, mixed mode)
git version 2.24.0.windows.2 node: v12.13.1 npm: 6.13.1 yeoman: 3.1.1 yarn: 1.19.2 Docker version 19.03.5, build 633a0ea docker-compose version 1.24.1, build 4667896b
this is the .yo-rc.json :
{ "generator-jhipster": { "promptValues": { "packageName": "fr.yoni.yvidya", "nativeLanguage": "fr" }, "jhipsterVersion": "6.6.0", "applicationType": "monolith", "baseName": "yvidya", "packageName": "fr.yoni.yvidya", "packageFolder": "fr/yoni/yvidya", "serverPort": "8080", "authenticationType": "jwt", "cacheProvider": "ehcache", "enableHibernateCache": true, "websocket": false, "databaseType": "sql", "devDatabaseType": "postgresql", "prodDatabaseType": "postgresql", "searchEngine": false, "messageBroker": false, "serviceDiscoveryType": false, "buildTool": "gradle", "enableSwaggerCodegen": false, "jwtSecretKey": "TTTTTTT=", "clientFramework": "angularX", "useSass": true, "clientPackageManager": "npm", "testFrameworks": ["gatling", "cucumber"], "jhiPrefix": "jhi", "otherModules": [], "enableTranslation": true, "nativeLanguage": "fr", "languages": ["fr", "en"], "entitySuffix": "", "dtoSuffix": "DTO", "embeddableLaunchScript": false, "clientTheme": "none", "creationTimestamp": 1577976295364, "blueprints": [] } }