Posts

'jasypt.encryptor.password' or one of ['jasypt.encryptor.privateKeyString', 'jasypt.encryptor.privateKeyLocation'] must be provided for Password-based or Asymmetric encryption

Image
      Intellij spring boot build failing not seeing the jasypt password. The same is working fine with the normal startup and is also working with mvn command.     Caused by: org.springframework.boot.context.properties.ConfigurationPropertiesBindException: Error creating bean with name 'spring.security-org.springframework.boot.autoconfigure.security.SecurityProperties': Could not bind properties to 'SecurityProperties' : prefix=spring.security, ignoreInvalidFields=false, ignoreUnknownFields=true; nested exception is org.springframework.boot.context.properties.bind.BindException: Failed to bind properties under 'spring.security.user.password' to java.lang.String Caused by: org.springframework.boot.context.properties.bind.BindException: Failed to bind properties under 'spring.security.user.password' to java.lang.String Caused by: org.springframework.cache.Cache$ValueRetrievalException: Value for key 'spring.security.user.password' could not be load...

Unknown column ' ' in 'field list - JPA - Camel Case

Add this above the column name @Column (name= "MODIFIEDDATETIME" ,nullable = false ) Make sure the Column name is ALL CAPS

unable to load certificate 16851:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:650:Expecting: TRUSTED CERTIFICATE

Run both of two following commands and give us the output: openssl x509 -text -inform DER -in domain.com.crt openssl x509 -text -inform PEM -in domain.com.crt Problem is that you must be trying to print a certificate in DER format. Then it needs to be specified explicitly.

db3 error(-30974) from dbenv->failchk: DB_RUNRECOVERY: Fatal error, run database recovery

The Error Happens on Cent OS when you try to update or install any new Software Below are the steps to fix it $ mv /var/lib/rpm/__db* /tmp/ $ rpm --rebuilddb $ yum clean all Go on install the software or update it. The Above commands are safe,usually doesnt damage anyhting :)

Hazelcast as Windows Service Using Procrun

Hazelcast as Windows Service Check this Github Repo For code https://github.com/aravindrajasekharan/HazelCast-WindowsService.git Hazelcast can follow 2 main deployment typology however if you are following a Server - Client Architecture  and you want to start a server on a windows node, follow the below steps. Am using Apache Procrun to expose the Hazelcast as a windows Service https://commons.apache.org/proper/commons-daemon/procrun.html Follow the link to understand more on the same,It is very easy to setup however documentation is little tedious to get a grasp. PROS ---- Will create a windows service (kind of obvious :) ). CONS ------- Another Jar to maintain along with the Hazelcast. Since we have a dependency in our self executable jar project, on Hazelcast version upgrade means upgrading the jar as well. (Ideally,it will work even without upgrading assuming the Core Hazelcast API is going to remain the same with the future releases). Will look for s...

Cleaning Maven Projects after Import IntelliJ

Run the Maven with below command and it will rerun the dependency analysis. This is effective mainly in case where there are multiple child projects under a single parent maven project. mvn - U idea : idea Another Good thing is to enable Facet if you are using it like Spring and then enable the Spring Configurations.

"/usr/bin/env: node: No such file or directory" - UBUNTU

Check out this GitHub Issue https://github.com/nodejs/node-v0.x-archive/issues/3911 If you have installed nodejs from your package repo in ubuntu it is called nodejs and not node. You can solve it whit a symlink but you should not place the symlink in /usr/bin like nodejs is, but in /usr/local/bin/node for it to be outside the package systems world to comply to standards. ie:  ln -s /usr/bin/nodejs /usr/local/bin/node