Jump to content

J823

Members
  • Posts

    31
  • Joined

  • Last visited

Posts posted by J823

  1. All this is about

     

    FriendsGame(war)

     

     

    I am trying to log error to a log file using springboot log4j but it is not doing

    my

     

    and trying to connect with mysql database

     

     

     

    application.properties file

     

    server.port=8080

    spring.datasource.username=newfire

    spring.datasource.password=

    spring.datasource.tomcat.max-active=2

    spring.jpa.show-sql=true

    spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver

    spring.datasource.url=jdbc:mysql://tommy.heliohost.org/newfire_student?verifyServerCertificate=false&useSSL=false&requireSSL=false

    spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5Dialect

     

    logging.file.path=/home/newfire/public_html/jay/

    logging.level.org.springframework=error

    loging.level.io.app=trace

     

     

    And please share log

  2.  

     

    All this is about

     

    FriendsGame(war)

     

     

    I am trying to log error to a log file using springboot log4j but it is not doing

    my

     

    and trying to connect with mysql database

     

     

     

    application.properties file

     

    server.port=8080

    spring.datasource.username=newfire

    spring.datasource.password=

    spring.datasource.tomcat.max-active=2

    spring.jpa.show-sql=true

    spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver

    spring.datasource.url=jdbc:mysql://tomcat.heliohost.org/newfire_student?verifyServerCertificate=false&useSSL=false&requireSSL=false

    spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5Dialect

     

    logging.file.path=/home/newfire/public_html/jay/

    logging.level.org.springframework=error

    loging.level.io.app=trace

     

     

    And please share log

  3. hey can you tell me what kind of adverts are allowed on

    website on heliohost ??

     

    site url

     

    id newfire

     

    newfire.heliohost.org

     

    please let me know and please warn before i do anything wrong thank you

  4. my

    jdbc url jdbc:postgresql://tommy.heliohost.org/newfire_login?verifyServerCertificate=false&requiredSSL=false

     

    i am using spring security and jdbc to connect with postgressql database

    which i am using on my local machine to coonect with postgresql db on heliohost 

     

    username=newfire

     

    error

    
    org.postgresql.util.PSQLException: FATAL: no pg_hba.conf entry for host "49.33.215.146", user "newfire_root", database "newfire_login", SSL off
    	at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:514) ~[postgresql-42.2.5.jar:42.2.5]
    	at org.postgresql.core.v3.ConnectionFactoryImpl.tryConnect(ConnectionFactoryImpl.java:141) ~[postgresql-42.2.5.jar:42.2.5]
    	at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:192) ~[postgresql-42.2.5.jar:42.2.5]
    	at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49) ~[postgresql-42.2.5.jar:42.2.5]
    	at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:195) ~[postgresql-42.2.5.jar:42.2.5]
    	at org.postgresql.Driver.makeConnection(Driver.java:454) ~[postgresql-42.2.5.jar:42.2.5]
    	at org.postgresql.Driver.connect(Driver.java:256) ~[postgresql-42.2.5.jar:42.2.5]
    	at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:117) ~[HikariCP-2.7.9.jar:na]
    	at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:123) ~[HikariCP-2.7.9.jar:na]
    	at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:365) ~[HikariCP-2.7.9.jar:na]
    	at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:194) ~[HikariCP-2.7.9.jar:na]
    	at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:460) [HikariCP-2.7.9.jar:na]
    	at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:534) [HikariCP-2.7.9.jar:na]
    	at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:115) [HikariCP-2.7.9.jar:na]
    	at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112) [HikariCP-2.7.9.jar:na]
    	at org.springframework.jdbc.datasource.DataSourceUtils.fetchConnection(DataSourceUtils.java:151) [spring-jdbc-5.0.11.RELEASE.jar:5.0.11.RELEASE]
    	at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:115) [spring-jdbc-5.0.11.RELEASE.jar:5.0.11.RELEASE]
    	at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:78) [spring-jdbc-5.0.11.RELEASE.jar:5.0.11.RELEASE]
    	at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:600) [spring-jdbc-5.0.11.RELEASE.jar:5.0.11.RELEASE]
    
    
  5. Spring boot was running its own tomcat server

    (which is useful for standalone web application or running springboot webapp with the help of cli)

     

    but here we already have a heliohost tomcat server(8.5.24) (for deploying war file)

     

    which is conflicting with spring boots embedded server

     

    ( because of spring boot latest embedded tomcat "v 9.0 something" )

     

    so on heliohost i have to deploy spring boot war file on external tomcat(heliohost tomcat )

     

    for doing this i followed this guys utube video

     

     

     

     

    Thankyou @krydos ❤️

    #java deploy

    #springboot

    #java war file

  6. username newfire

    aliases www.plantgreenpg.com

     

    www.plantgreenpg.com is showing ssl not configured while i am on tommy server where autossl is enabled for my each domain so i don't know why it is showing this

     

    i have changed its nameserver yesterday and added this domain to my newfire account as an aliases

     

    and

    problems

     

    1. i want to turn of gzip compression on my worpress site but cannot find any solution on web if you could check my script please turn it off

     

    2. my memory and cpu usage is at 100 in metrics but memory usage is low in disk space why it is like this and how to decrease it

    please tell me to change wordpress platform

     

    Thank you for everything heliohost do❤️

  7. username newfire

    aliases www.plantgreenpg.com

    i have added www.plantgreenpg.com as my aliases and changed its nameserver

    but still it is showing ssl not configured error but while checking in cpanel of my newfire account i found that autossl is working fine

    and it is enable for www.plantgreenpg.com

     

    and

     

    one of my plugin is showing gzip enable i want to disable it

    on WordPress

    but cannot find any solution

     

    and sometimes my memory is at 100 if you have any solution other than changing wordpress than please tell

×
×
  • Create New...