Git Product home page Git Product logo

jhipster / jhipster-online Goto Github PK

View Code? Open in Web Editor NEW
201.0 20.0 135.0 6.7 MB

JHipster Online lets you generate your JHipster projects through a user friendly web interface.

Home Page: https://start.jhipster.tech/

License: Apache License 2.0

JavaScript 0.42% Java 57.52% HTML 11.17% TypeScript 29.90% CSS 0.24% Shell 0.01% Dockerfile 0.06% SCSS 0.66%
jhipster jhipster-generator cloud development-platform web-applications microservices hacktoberfest

jhipster-online's Introduction

JHipster Online

Build Status Docker Pulls

JHipster Online is a Web application that allows to generate JHipster applications without installing JHipster on your machine.

This is an Open Source project (Apache 2 license) that powers the https://start.jhipster.tech/ website.

You can use https://start.jhipster.tech/ for free, but if you find a bug or need a specific feature, you are welcome to contribute to the project. You can also choose to clone or fork the project, and have your own version that is hosted within your company.

Quick start guide

JHipster Online is a JHipster application, so you can follow the JHipster documentation to learn how to configure and set up JHipster Online.

This quick start guide uses the default configuration that comes with JHipster Online: please read the next section for details on configuring the application.

  • Install and run the front-end:
yarn install && yarn start
  • Run the database:
docker-compose -f src/main/docker/mysql.yml up -d
  • Run the back-end:
./mvnw

Specific configuration

This section covers what is specific to JHipster Online over a normal JHipster application.

For standard JHipster configuration, the JHipster common application properties will probably be very useful.

JHipster installation and execution

JHipster Online generates a JHipster application by running the jhipster command line. In order for that command line to work, you need to have JHipster installed on your machine.

We recommend you use the "Yarn installation" from the official JHipster installation documentation.

If you need more configuration options for running the JHipster command, you can modify:

  • the location of the jhipster command
  • the timeout value for that command (the default is 120 seconds - please note that on our production server a generation usually takes 5 to 6 seconds)
  • the temporary folder in which the application will be generated (/tmp by default)

Those are customized using the Spring Boot application-*.yml files as usual, for example:

application:
    jhipster-cmd:
        cmd: /usr/local/bin/jhipster
        timeout: 60
    tmp-folder: /tmp

Database configuration

JHipster Online works with a MySQL database, that is configured in the usual application-*.yml Spring Boot configuration files, using the standard spring.datasource keys.

Security

JHipster Online uses JWT to secure the application. For a production application, it is therefore mandatory that:

  • The jhipster.security.authentication.jwt.key is configured, and that key is stored securely (not commited in your application's Git repository). We recommend to configure it as an environment variable on your server, or in a specific Spring Boot application.yml file that is stored in your application's folder on your production server (which is our configuration on the official JHipster Online website).
  • The application is only available through HTTPS. You can configure it using Spring Boot (please read the comments in the application-prod.yml file), or using an Apache 2 HTTP server with Let's Encrypt on front of your application (which is our configuration on the official JHipster Online website).

Mail

E-mails are used to validate users' e-mail addresses or to send "forgotten password" e-mails. They are disabled by default, but it might be a good idea to configure them once the application is in production.

To configure e-mail sending, you need to configure the jhipster.mail keys (see JHipster common application properties), and the Spring Boot standard spring.mail keys.

When running the app with the dev profile, make sure to start the development mail server with:

docker-compose -f src/main/docker/mailserver.yml up -d

You can view the mails sent by JHipster with the MailHog UI at http://localhost:8025.

GitHub configuration

GitHub is configured using the application.github keys in the application-*.yml configuration files.

JHipster Online can work on the public GitHub instance on https://github.com as well as any private instance of GitHub Enterprise that is configured inside your company.

JHipster Online has to be configured as an "OAuth App": create a jhipster organization, and go to that organization's "Settings > Developer Settings > OAuth Apps" to create a new "OAuth App" with the required credentials. This will allow JHipster Online to create applications and pull requests on your behalf. JHipster Online uses https://your-jhipster-online-url/api/github/callback as callback endpoint.

JHipster Online also needs to have a specific "JHipster Bot" user configured, like the
https://github.com/jhipster-bot used by the official JHipster Online website.

Here is the final configuration, that should be set up inside the application-dev.yml file for development, and inside the application-prod.yml file for production.

application:
    github:
        host: https://github.com # The GitHub to connect to (by default: the public GitHub instance)
        client-id: XXX # The OAuth Client ID of the application on GitHub
        client-secret: XXX # The OAuth Client secret of the application on GitHub

GitLab configuration

Similarly to GitHub, your GitLab configuration must be placed in your application-*.yml using the application.gitlab keys.

JHipster Online can work on the public GitLab instance on https://gitlab.com as well as any private instance of GitLab that is configured inside your company.

JHipster Online needs to have a specific "JHipster Bot" user configured: create that user (if you have your own private instance, you can call it jhipster-bot, otherwise choose the name you like), and log in using that user.

Once logged in, the required API credentials can be created by going to "Settings > Applications > Add new application". Create a new application:

  • Its name is jhipster
  • The redirect URI is https://your-jhipster-online-url/api/gitlab/callback
  • It has the api and read_user scopes

Save that new application and store safely the Application Id and Secret values, so you can use them to configure the application-*.yml files.

Here is the final configuration, that should be set up inside the application-dev.yml file for development, and inside the application-prod.yml file for production.

application:
    gitlab:
        host: https://gitlab.com # The GitLab to connect to. The main public GitLab instance is default here.
        client-id: XXX # Your GitLab application Id
        client-secret: XXX # Your GitLab application secret
        redirect-uri: XXX   # The URI where the user will be redirected after GitLab authentication. This URI
                            # must be registered in you GitLab application callback URLs

Building for production

To generate a production build, like any normal JHipster application, please run:

./mvnw -Pprod clean package

Using Docker

You can also fully dockerize your application and all the services that it depends on. To achieve this, first build a docker image of your app by running:

docker build -t jhonline .

Then run:

docker compose -f src/main/docker/app.yml up -d

Deployment to Google App Engine (GAE) Flexible Environment

Steps for Deployment

  • Increment the version numbers in pom.xml and package.json.
  • Create a tagged release. All you have to do is got to the releases section and edit the draft created by github-actions.

Help and contribution to the project

Please note that this project is part of the JHipster organization and it follows the rules of the JHipster project.

If you have an issue, a bug or a feature request

Please follow our contribution guide.

If you have a question or need help

You should post it on Stack Overflow using the "jhipster" tag.

Code of conduct

We have the same code of conduct as the main JHipster project: JHipster code of conduct.

jhipster-online's People

Contributors

agaspardcilia avatar atomfrede avatar chrisdns avatar danielfran avatar deepu105 avatar dependabot[bot] avatar devysf avatar emilpaw avatar gmarziou avatar hdurix avatar jdubois avatar jhipster-bot avatar kazinizamul avatar leodubob avatar mraible avatar mshima avatar nomuna avatar pascalgrimaud avatar pierrebesson avatar qmonmert avatar roexber avatar ruddell avatar seraphinandrieux avatar shaolans avatar sinedied avatar somayaj avatar strat1987 avatar sudharakap avatar swarajsaaj avatar vishal423 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jhipster-online's Issues

Never received activation mail

Hi, I registered a few days ago (with the same username as in Github) and I never received the activation mail.

The site doesn't let me register with the same mail, so I know I entered it correctly.

Login and Reset password don't work and there is no way to resend the activation mail.

Please, could you activate my account?

Maybe there is a problem sending to Hotmail/Outlook.com?

Is the "resend activation mail" feature in the roadmap?

Many thanks!

Registration mail delayed

Hi Julien,

I registered and it took 15 minutes or more before I received the registration confirmation mail, I did not measure time as I first thought that the mail was not sent.

I received mail at 12/12/2017 22:36 for gmarziou user, maybe you could compare with the date in logs.

Production crash on https://start.jhipster.tech/jdl-studio/

The Web page on https://start.jhipster.tech/jdl-studio/ crashes from time to time:

  • This has already happened 3 times
  • This doesn't seem correlated with anything else: I guess there's one user who triggers the bug, but I have no idea how he does that

I'm doing this ticket mainly for @danielfernandez as I believe this is an interesting Thymeleaf issue, but for us this should be solved in the future.

Here is what happens:

  • The page at https://start.jhipster.tech/jdl-studio/ can work for several weeks without any problem
  • Suddenly, it gets the following error: Caused by: org.thymeleaf.exceptions.TemplateInputException: Error resolving template "/jdl-studio/index.html.htm", template might not exist or might not be accessible by any of the configured Template Resolvers
  • Then the page always shows the JHipster error page

What is strange is that it gets broken suddenly, and it tries to load a template which has the wrong suffix (/index.html.htm"), instead of the normal index.html page.

This issue should be solved in the future as:

  • This is a static page and shouldn't be served using Thymeleaf
  • Thymeleaf code is refactored in JHipster 5

Constraint violation with the new statistics

When creating a new statistic, we have quite often a constraint violation.

From my understanding, this is because we send several events at the same time, and each of them create the guid if it doesn't exist yet, in GeneratorIdentityService.findOrCreateOneByGuid: this is typically a concurrency issue, when 2 different events try to create the same guid (as it has a unique constraint).

I'm not sure of the solution: we could have a queue or even remove the constraint. The table holding the constraint isn't used at the moment anyway.

What I don't understand is that this still creates the "YoRc" line, but it is incomplete, so we have statistics which have several missing fields. Normally the transaction should rollback everything, not commit the line with only a part of the data.

Here is the log:

Aug 17 15:09:21 jhipster-app jhonline.war[21981]: org.springframework.dao.DataIntegrityViolationException: could not execute statement; SQL [n/a]; constraint [UC_GENERATOR_IDENTITYGUID_COL]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.orm.jpa.vendor.HibernateJpaDialect.convertHibernateAccessException(HibernateJpaDialect.java:259)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.orm.jpa.vendor.HibernateJpaDialect.translateExceptionIfPossible(HibernateJpaDialect.java:225)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.translateExceptionIfPossible(AbstractEntityManagerFactoryBean.java:527)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.dao.support.ChainedPersistenceExceptionTranslator.translateExceptionIfPossible(ChainedPersistenceExceptionTranslator.java:61)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.dao.support.DataAccessUtils.translateIfNecessary(DataAccessUtils.java:242)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:153)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:135)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.data.repository.core.support.SurroundingTransactionDetectorMethodInterceptor.invoke(SurroundingTransactionDetectorMethodInterceptor.java:61)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at com.sun.proxy.$Proxy177.save(Unknown Source)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at io.github.jhipster.online.service.GeneratorIdentityService.save(GeneratorIdentityService.java:57)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at io.github.jhipster.online.service.GeneratorIdentityService.findOrCreateOneByGuid(GeneratorIdentityService.java:117)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at io.github.jhipster.online.service.GeneratorIdentityService$$FastClassBySpringCGLIB$$327d4860.invoke(<generated>)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:746)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at io.github.jhipster.online.service.GeneratorIdentityService$$EnhancerBySpringCGLIB$$799edeaf.findOrCreateOneByGuid(<generated>)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at io.github.jhipster.online.service.StatisticsService.addSubGenEvent(StatisticsService.java:109)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at io.github.jhipster.online.service.StatisticsService$$FastClassBySpringCGLIB$$b9a077f6.invoke(<generated>)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:746)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at io.github.jhipster.online.service.StatisticsService$$EnhancerBySpringCGLIB$$281fdb31.addSubGenEvent(<generated>)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at io.github.jhipster.online.web.rest.StatisticsResource.addSubGenEvent(StatisticsResource.java:184)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at io.github.jhipster.online.web.rest.StatisticsResource$$FastClassBySpringCGLIB$$3a0011ee.invoke(<generated>)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:746)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at com.ryantenney.metrics.spring.TimedMethodInterceptor.invoke(TimedMethodInterceptor.java:48)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at com.ryantenney.metrics.spring.TimedMethodInterceptor.invoke(TimedMethodInterceptor.java:34)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at com.ryantenney.metrics.spring.AbstractMetricMethodInterceptor.invoke(AbstractMetricMethodInterceptor.java:59)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at io.github.jhipster.online.web.rest.StatisticsResource$$EnhancerBySpringCGLIB$$8538ce9b.addSubGenEvent(<generated>)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at jdk.internal.reflect.GeneratedMethodAccessor341.invoke(Unknown Source)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at java.base/java.lang.reflect.Method.invoke(Method.java:564)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:209)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:136)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:877)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:783)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:991)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:925)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:974)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:877)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:851)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at com.codahale.metrics.servlet.AbstractInstrumentedFilter.doFilter(AbstractInstrumentedFilter.java:111)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:101)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.boot.actuate.web.trace.servlet.HttpTraceFilter.doFilterInternal(HttpTraceFilter.java:90)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:320)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:119)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:170)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at io.github.jhipster.online.security.jwt.JWTFilter.doFilter(JWTFilter.java:51)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:96)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:66)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:215)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:178)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:357)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:270)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:109)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:64)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:132)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at io.undertow.server.Connectors.executeRootHandler(Connectors.java:336)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:830)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at java.base/java.lang.Thread.run(Thread.java:844)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: Caused by: org.hibernate.exception.ConstraintViolationException: could not execute statement
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.hibernate.exception.internal.SQLExceptionTypeDelegate.convert(SQLExceptionTypeDelegate.java:59)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:42)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:111)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:97)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:178)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.hibernate.dialect.identity.GetGeneratedKeysDelegate.executeAndExtract(GetGeneratedKeysDelegate.java:57)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.hibernate.id.insert.AbstractReturningDelegate.performInsert(AbstractReturningDelegate.java:42)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2933)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:3524)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.hibernate.action.internal.EntityIdentityInsertAction.execute(EntityIdentityInsertAction.java:81)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.hibernate.engine.spi.ActionQueue.execute(ActionQueue.java:637)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.hibernate.engine.spi.ActionQueue.addResolvedEntityInsertAction(ActionQueue.java:282)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.hibernate.engine.spi.ActionQueue.addInsertAction(ActionQueue.java:263)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.hibernate.engine.spi.ActionQueue.addAction(ActionQueue.java:317)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.hibernate.event.internal.AbstractSaveEventListener.addInsertAction(AbstractSaveEventListener.java:318)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.hibernate.event.internal.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:275)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.hibernate.event.internal.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:182)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.hibernate.event.internal.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:113)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.hibernate.jpa.event.internal.core.JpaPersistEventListener.saveWithGeneratedId(JpaPersistEventListener.java:67)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.hibernate.event.internal.DefaultPersistEventListener.entityIsTransient(DefaultPersistEventListener.java:189)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:132)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:58)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.hibernate.internal.SessionImpl.firePersist(SessionImpl.java:783)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.hibernate.internal.SessionImpl.persist(SessionImpl.java:768)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at jdk.internal.reflect.GeneratedMethodAccessor314.invoke(Unknown Source)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at java.base/java.lang.reflect.Method.invoke(Method.java:564)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:305)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at com.sun.proxy.$Proxy162.persist(Unknown Source)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.data.jpa.repository.support.SimpleJpaRepository.save(SimpleJpaRepository.java:490)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at jdk.internal.reflect.GeneratedMethodAccessor313.invoke(Unknown Source)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at java.base/java.lang.reflect.Method.invoke(Method.java:564)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.data.repository.core.support.RepositoryComposition$RepositoryFragments.invoke(RepositoryComposition.java:377)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.data.repository.core.support.RepositoryComposition.invoke(RepositoryComposition.java:200)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.data.repository.core.support.RepositoryFactorySupport$ImplementationMethodExecutionInterceptor.invoke(RepositoryFactorySupport.java:629)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:593)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:578)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:59)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011... 148 common frames omitted
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '620dcb7c-7dae-40a6-ae8e-56e7c1c83aa8' for key 'UC_GENERATOR_IDENTITYGUID_COL'
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:488)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at com.mysql.jdbc.Util.getInstance(Util.java:408)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3976)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3912)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2530)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at com.mysql.jdbc.ServerPreparedStatement.serverExecute(ServerPreparedStatement.java:1283)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at com.mysql.jdbc.ServerPreparedStatement.executeInternal(ServerPreparedStatement.java:783)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at com.mysql.jdbc.PreparedStatement.executeUpdateInternal(PreparedStatement.java:2079)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at com.mysql.jdbc.PreparedStatement.executeUpdateInternal(PreparedStatement.java:2013)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at com.mysql.jdbc.PreparedStatement.executeLargeUpdate(PreparedStatement.java:5104)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1998)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at com.zaxxer.hikari.pool.ProxyPreparedStatement.executeUpdate(ProxyPreparedStatement.java:61)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeUpdate(HikariProxyPreparedStatement.java)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:175)
Aug 17 15:09:21 jhipster-app jhonline.war[21981]: #011... 189 common frames omitted

Login / GitHub access

Great tool, but why do I need to create an account and give access to github?
Would the github oauth access not also work as login?

And a version without the need for access to the github repositories (download as zip) would be great!

Translation and additional language bug

When you activate translation support and choose a main language without selecting it in additional languages, no translation is found when running the app.

For example, I chose "French" as my main language and "English" as additional language, only "en" is present as languages in .yo-rc.json, see https://github.com/hdurix/testOnline/blob/master/.yo-rc.json#L28

The bug is not present in the basic generator as the main language is added to application languages (both "fr" and "en" are defined in .yo-rc.json), see https://github.com/jhipster/generator-jhipster/blob/master/generators/generator-base.js#L2155

The algorithm should be the same, the main language should be added as a language even if this language is not selected in select box (or it should not appear at all or disabled in the select box as it means nothing).

Configure JHipster Online to access my GitHub account FAILS

  1. I click on ``Authorize JHipster" within Github
  2. JHipster appears in Authorized OAuth Apps
  3. Back to JHipster, I get `` Warning! To generate your application on GitHub, you must authorize JHipster"
  4. I click on ``Authorize JHipster" within Github
  5. Back to (1.)

Can't register in JHipster Online Platform

Hi!

I can't sign in to JHipster Online because the confirmation e-mail never arrived and when I try to sign in it says that I'm not registered yet but when I try to register again a warning says I'm already registered.

Thank you.

Unable to start the application with swagger

I got this error in dev, related to swagger. I need to disable it to be able to start the application.
Did you encounter this issue @agaspardcilia @chrisdns ?

To reproduce it:

  • clone this project
  • yarn install
  • yarn webpack:build
  • mvn
2018-07-27 20:14:07.640 ERROR 13472 --- [  restartedMain] o.s.boot.SpringApplication               : Application run failed

org.springframework.context.ApplicationContextException: Failed to start bean 'documentationPluginsBootstrapper'; nested exception is java.lang.NoSuchMethodError: com.google.common.collect.FluentIterable.append(Ljava/lang/Iterable;)Lcom/google/common/collect/FluentIterable;
	at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:184)
	at org.springframework.context.support.DefaultLifecycleProcessor.access$200(DefaultLifecycleProcessor.java:52)
	at org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.start(DefaultLifecycleProcessor.java:356)
	at org.springframework.context.support.DefaultLifecycleProcessor.startBeans(DefaultLifecycleProcessor.java:157)
	at org.springframework.context.support.DefaultLifecycleProcessor.onRefresh(DefaultLifecycleProcessor.java:121)
	at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:885)
	at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.finishRefresh(ServletWebServerApplicationContext.java:161)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:553)
	at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140)
	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759)
	at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:395)
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:327)
	at io.github.jhipster.online.JhonlineApp.main(JhonlineApp.java:79)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49)
Caused by: java.lang.NoSuchMethodError: com.google.common.collect.FluentIterable.append(Ljava/lang/Iterable;)Lcom/google/common/collect/FluentIterable;
	at springfox.documentation.spring.web.scanners.ApiListingScanner.scan(ApiListingScanner.java:117)
	at springfox.documentation.spring.web.scanners.ApiDocumentationScanner.scan(ApiDocumentationScanner.java:71)
	at springfox.documentation.spring.web.plugins.DocumentationPluginsBootstrapper.scanDocumentation(DocumentationPluginsBootstrapper.java:101)
	at springfox.documentation.spring.web.plugins.DocumentationPluginsBootstrapper.start(DocumentationPluginsBootstrapper.java:167)
	at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:181)
	... 17 common frames omitted

TODO for JHipster v5

  • Remove the "social login" option
  • Add the React option
  • A gateway with OAuth2/UAA needs to have a database (at least for now)
  • When OAuth2 is selected, you cannot select Cassandra

JHipSter online generated gradle project opens with blank page

Project options:

  • Application type - monolithic
  • package name = io.github.jhipster.application
  • port = 8080
  • auth = HTTP Session Auth
  • db = MongoDB
  • build = Gradle
  • framework = Angular 5
  • testing = Cucumber

The project is built and run with "gradlew bootrun", but the page served from http://localhost:8080 is blank.

Open the source reveal there is no javascript links in it.


  | <!doctype html>
-- | --
  | <html class="no-js" lang="en" dir="ltr">
  | <head>
  | <base href="./" />
  | <meta charset="utf-8">
  | <meta http-equiv="X-UA-Compatible" content="IE=edge">
  | <title>jhipsterMonoApplication2</title>
  | <meta name="description" content="">
  | <meta name="viewport" content="width=device-width, initial-scale=1">
  | <meta name="theme-color" content="#000000">
  | <link rel="shortcut icon" href="favicon.ico" />
  | <link rel="manifest" href="manifest.webapp" />
  | <!-- jhipster-needle-add-resources-to-root - JHipster will add new resources here -->
  | </head>
  | <body>
  | <!--[if lt IE 9]>
  | <p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
  | <![endif]-->
  | <jhi-main></jhi-main>
  | <noscript>
  | <h1>You must enable javascript to view this page.</h1>
  | </noscript>
  | <!-- uncomment this for adding service worker
  | <script>
  | if ('serviceWorker' in navigator) {
  | navigator.serviceWorker
  | .register('./sw.js')
  | .then(function() { console.log('Service Worker Registered'); });
  | }
  | </script>
  | -->
  | <!-- Google Analytics: uncomment and change UA-XXXXX-X to be your site's ID.
  | <script>
  | (function(b,o,i,l,e,r){b.GoogleAnalyticsObject=l;b[l]\|\|(b[l]=
  | function(){(b[l].q=b[l].q\|\|[]).push(arguments)});b[l].l=+new Date;
  | e=o.createElement(i);r=o.getElementsByTagName(i)[0];
  | e.src='//www.google-analytics.com/analytics.js';
  | r.parentNode.insertBefore(e,r)}(window,document,'script','ga'));
  | ga('create','UA-XXXXX-X');ga('send','pageview');
  | </script>-->
  | </body>
  | </html>
 


I have tried to separately run "yarn install" followed by "gradle webpack" without success.

JDL Studio Inaccessible

https://start.jhipster.tech/jdl-studio/ is not working, it appears to be looking for index.html.htm instead of index.html.

It does work if you specify index.html like https://start.jhipster.tech/jdl-studio/index.html

Status: Internal Server Error (Internal Server Error)
Message: Request processing failed; nested exception is
org.thymeleaf.exceptions.TemplateInputException: Error resolving template "/jdl-studio/index.html.htm",
template might not exist or might not be accessible by any of the configured Template Resolvers

Login not working after new account creation

Hi,

I have just created an account for JHipster online, at first try after activation, password not recognized. Changed the password and proceeded to login again, and again password not working.

I have been careful in typing the password, so there's got to be another problem there.

new features we will release,some my suggestion

the online generator is building successful ,so i can do not to install some busy software in my person computer ,note that my system is window7 64bit now,so ?in some day ago ,in order to use it ,i must to rebuild my pc,now is not necessery,seconde is the oncline JDL-Studio is builded successful,so i think sometimes we need to improve the online generator to import jh file,very hope it as soon as vell come to us.thanks

Gitlab CI support

Currently the CI/CD can only generate Travis/Jenkins Configuration. It would be cool to have it also generate gitlab ci configuration. What do you think?

Disable OIDC + AngularJS

I just helped out someone who used https://start.jhipster.tech to create his project and he ran into this issue (OIDC is not implemented for AngularJS). We have a special condition in the generator that handles adding AngularJS to the clientFramework list if not using OIDC (client/prompts.js), I'm not sure how jhipster-online handles this.

To Reproduce:

  • Choose OIDC auth
  • Choose AngularJS as the client framework
  • Clone the generated project, yarn && bower install && gulp install
  • Project will not display due to missing AuthServerProvider

To Fix:

  • Don't allow choice of AngularJS as clientFramework when OIDC auth is selected

not able to sign in

just registered ([email protected]), but not able to sign in. getting:

Failed to sign in!
Did you use your username, and not your e-mail address?
Please check your credentials and try again.

Thanks

Configurator and propagation choices

Hi,

It is not really an issue, but an open question driven by curiosity ;)
The website is fantastic and the configurator seems nicely implemented.
In particular, at each selection by a user, there is a "propagation" to other choices, forcing other values (with implications/exclusions)

I am wondering how it is implemented: do you rely on facilities offered by Inquirer https://github.com/SBoudrias/Inquirer.js/ ?
Or have you implemented an ad-hoc solution?

Best regards,

Mathieu Acher

Registration

I can't register at Jhipster online, I didn't get any confirmation email... I tried my gmail. outlook, hotmail....

Failed to sign in!

When i register, im using my email as username, and already activate the email below

Dear

Your JHipster Online account has been created, please click on the URL below to activate it:

after activate, i login to jhipster-online then error:

Failed to sign in!
Did you use your username, and not your e-mail address?
Please check your credentials and try again.

Registration

Hi,
I'm trying to register to jhipster online but i didn't get the confirmation mail to confirm it.
I used Gmail and my personnel domain name.

Unable to create new account

I used the site to create a new account from scratch.

  • When I tried to log in, my password was rejected
  • When I used password recovery link I got an error saying my "email not registered"
  • When I tried to create a new user account to register the email, I got an error saying "email and username already taken"

This seems to be an endless loop of frustration. :(

Add Docker Hub image

Similar to what is done with jhipster-registry, we need to have an official image for jhipster-online in Docker Hub.

2 parts for this:

  • add configuration at Docker Hub: I can take this part
  • add a Dockerfile at root folder (similar to jhipster-registry, but we need to add some additional tool like node, etc)

@agaspardcilia : tell me if you want to do the 2nd part, otherwise, I will work on this, after my day work :)

can't get account to register

I can't seem to register. Maybe I've been on my computer too many hours. wait I register the account then I confirm email in my spam then when I go log in it says account cannot be confirmed. I have tried changing password multiple times. I have a capital letter small case letter a number and a symbol in my password. Any advice on how I may register or what I may be doing wrong?

The error message reads as follows: Failed to sign in! Please check your credentials and try again.

Callback for GitHub synchronization is wrong

When I access https://start.jhipster.tech/#/github and attempt to synchronize my GitHub account, the callback after I've accepted the permissions on GitHub tries to take me to http://jhipster.julien-dubois.com/#/github/callback/, but this defaults to an Apache2 Ubuntu Default Page.

My workaround was to manually replace jhipster.julien-dubois.com with https://start.jhipster.tech in the url I pasted above, and it was able to successfully synchronize my account.

Registration

Hi,

probably I have the same problem with registration - #27

I'm trying to register to jhipster online but i didn't get the confirmation mail to confirm it.
I used Gmail and my personnel domain name.

The generated app doesn't show the menu Languages

Overview of the issue

The online-generated monolithic app doesn't show the menu Languages, while the locally-generated app does.

Motivation for or Use Case

The online-generated app should be consistent with locally-generated app in terms of the internationalization support.

Reproduce the error

Download and run the newly generated monolithic app from http://bit.ly/2gmzZN7

JHipster info

Using JHipster version installed locally in current project's node_modules
Executing jhipster:info
Options:
Welcome to the JHipster Information Sub-Generator

JHipster Version(s)

[email protected] /Users/yfain11/Downloads/nyc1
└── [email protected]

JHipster configuration, a .yo-rc.json file generated in the root folder

.yo-rc.json file
JDL for the Entity configuration(s) entityName.json files generated in the .jhipster directory

JDL entity definitions
Environment and Tools

java version "1.8.0_121"
Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)

git version 2.10.1

node: v8.1.3

npm: 5.3.0

yeoman: 2.0.0

yarn: 0.27.5

Docker version 17.03.1-ce, build c6d412e

docker-compose version 1.11.2, build dfed245

Execution complete

Browsers and Operating System

MAC OS 10.11.6, Chrome 60

[ x] Checking this box is mandatory (this is just to show you read everything)
@deepu105
Member

Can't login even after resetting password

I've reset my password a couple times, and received reset emails just fine. However, when I try to login, it doesn't work. I'm using 1Password to generate my passwords. The first one had a period in it (u7kWNv.jMxwBV}wH), the current one has no symbols in it.

Unable to reset my password

Hello,
I am trying to reset my login's password but when I click on "Did you forget your password?" button it says "Emails are disabled on this server! You will need to ask an administrator to provide you a password reset link."
My login name is mlstoppa, and I am sure it exists because I can't register again with the same login credentials.
Can you help me?
Thank you

Can't get an activation link email

Hi,
I just tried twice to register on jhipster online.
I got a message telling me to check my email twice.
On the two emails I provided, no message received more than 30mn after registering.
Will this be fixed soon?
Have a nice day.

Registration email not received

I signed up for junkster online with "nashcrash" account and my email, but I did not receive the registration email.
Is there a way to request it again?

If I try to log in with username and password entered at registration, it tells me "the user does not exist".
If I try to reset the password, it tells me that "the email does not exist".
If I try to re-register, it tells me "the user and the e-mail already exist".

I attach screenshots (covered to avoid spam).

try to reregister
try to reset

Reset password not working

Hi,

it seems that after registration I cannot login. I went to "reset password" but there I get:

"Your password couldn't be reset. Remember a password request is only valid for 24 hours."

Could you help me?

Thnx,
Tommy

Not able to login to Jhipster Online

Hello,

I have registered the user jcm-altia with my email address, but neither received confirmation email, nor able to login. New attempt to register throws error (login already in use, email address already in use).

Can you please check?

JHipster online Forgot Password not working

JHipster online forgot password dialog is not working correctly, you can enter your email address and press Reset then you will not get any email about the password changes and the email address field will not be cleared.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.