This forum provides solutions for aws developers for their issues.It provides solutions for aws elastic ip, ec2 instance, public ip,route53 pricing, load balancers in aws,Orchestration, ebs,, lambda, installing mongodb on ubuntu etc.

Saturday, 21 April 2018

sudo -u keycloak ./ 'embed-server,/subsystem=undertow/server=default-server/http-listener=default:write-attribute(name=proxy-address-forwarding,value=true)'
Cannot start embedded server: Failed to instantiate class "org.jboss.logmanager.handlers.PeriodicRotatingFileHandler" for handler "FILE": java.lang.reflect.InvocationTargetException: /opt/keycloak-3.4.3.Final/standalone/log/server.log (Permission denied)


https required keycloak

Keycloak admin login page not showing without https .
Disable https in the dashboard, but without logging in, we cannot disable.
So use the below commands
go to bin folder of keycloak.
./ config credentials --server http://localhost:8080/auth --realm master --user admin
./ update realms/realmname -s sslRequired=NONE

Saturday, 14 April 2018

https: Address already in use /

18:02:14,277 ERROR [] (MSC service thread 1-1) MSC000001: Failed to start service org.wildfly.undertow.listener.https: org.jboss.msc.service.StartException in service org.wildfly.undertow.listener.https: Address already in use /
    at org.wildfly.extension.undertow//org.wildfly.extension.undertow.ListenerService.start(
    at org.jboss.msc//org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(
    at org.jboss.msc//org.jboss.msc.service.ServiceControllerImpl$
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(
    at java.base/java.util.concurrent.ThreadPoolExecutor$
    at java.base/

PPK to Pem Conversion in Mac

PPK to PEM conversion in MAC
puttygen privatekey.ppk -O private-openssh -o privatekey.pem

Wednesday, 11 April 2018

No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?

[INFO] ------------------------------------------------------------------------
[INFO] Total time: 47.995 s
[INFO] Finished at: 2018-04-11T12:51:26+00:00
[INFO] Final Memory: 210M/483M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project keycloak-common: Compilation failure
[ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
[ERROR] -> [Help 1]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :keycloak-common 
sudo apt-get install openjdk-8-jdk

Sunday, 1 April 2018

php 5.5.9 Uncaught exception 'PusherException'

PHP Fatal error:  Uncaught exception 'PusherException' with message 'There is missing dependant extensions - please ensure both cURL and JSON modules are installed'

Wednesday, 28 February 2018

Install Apache Tomcat latest stable version on Ubuntu

Update your apt-get package 
apt-get update
Install Java Developer kit
sudo apt-get install default-jdk
Install Java Developer kit
apt-get install tomcat8
Install Java Developer kit
apt-get install tomcat8
Install Tomcat8 admin tools and documents
apt-get install tomcat8-docs tomcat8-examples tomcat8-admin

Run tomcat as service
systemctl start tomcat8
 To stop and restart service
systemctl stop tomcat8
systemctl restart tomcat8
NOTE: For security reasons, using the manager webapp is restricted to users with role "manager-gui". The host-manager webapp is restricted to users with role "admin-gui". Users are defined in /etc/tomcat8/tomcat-users.xml.

sudo vi /etc/tomcat8/tomcat-users.xml

<role rolename="manager-gui"/>
<role rolename="admin-gui"/>
<user username="admin" password="admin123" roles="manager-gui,admin-gui"/>


Online Training

Your Name :
Your Email: (required)
Your Message: (required)

Powered by Blogger.

Recent Posts

Find Us On Facebook

Popular Posts