Thursday, July 9, 2020

Configure server port when running jar files


Configure server port when running jar files

    

Sometimes you need your applications to be running on different ports because other applications are running on the same port. 

For Example, you need to run the restful-web-services-0.0.1-SNAPSHOT.jar file at port 8888 just run the below command.


    java -Dserver.port=8888 -jar restful-web-services-0.0.1-SNAPSHOT.jar



..........
C:\Users\dk\Desktop>java -Dserver.port=8888 -jar restful-web-services-0.0.1-SNAPSHOT.jar



  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::        (v2.1.0.RELEASE)

ationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$6dd8c139] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-07-09 15:09:17.809  INFO 5272 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.security.config.annotation.configuration.ObjectPostProcessorConfiguration' of type [org.springframework.security.config.annotation.configuration.ObjectPostProcessorConfiguration$$EnhancerBySpringCGLIB$$6868973] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-07-09 15:09:17.825  INFO 5272 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'objectPostProcessor' of type [org.springframework.security.config.annotation.configuration.AutowireBeanFactoryObjectPostProcessor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)






3 comments:

  1. Linux Enable ssh:

    sudo apt update
    sudo apt install openssh-server

    ReplyDelete
  2. https://linuxize.com/post/how-to-enable-ssh-on-ubuntu-20-04/

    ReplyDelete
  3. sudo apt update
    sudo apt install openssh-server
    sudo systemctl status ssh
    if firwewall blocked ssh :sudo ufw allow ssh

    access: ssh username@ip_address

    ReplyDelete

Create a Digital Clock using HTML and JavaScript

Create a Digital Clock using HTML and JavaScript  <! DOCTYPE html> < html > < head > ...

Followers

Search This Blog

Popular Posts