Tuesday, May 19, 2015

Solve error "Allowing Tomcat to shutdown...."

Haz 04, 2013 4:15:26 PM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Skipped installing application listeners due to previous error(s)
Haz 04, 2013 4:15:26 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error listenerStart
Haz 04, 2013 4:15:26 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [] startup failed due to previous errors
SEVERE: Context [] failed in [org.apache.catalina.core.StandardContext] lifecycle. Allowing Tomcat to shutdown.
Haz 04, 2013 4:15:26 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-nio-8080"]

Problem: Your system doesn't JRE ?

Ubuntu for my project

1. java
2. git
3. maven
               http://www.mkyong.com/maven/how-to-install-maven-in-ubuntu/
4.mongodb
5.pymongo
6.heroku
7.paramiko

How to get twitter api credentials ?

Monday, May 18, 2015

How to deploy any Java application from Ubuntu to Heroku

Solve error when you run maven ?

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.3:generate (default-cli) on project standalone-pom: Execution default-cli of goal org.apache.maven.plugins:maven-archetype-plugin:2.3:generate failed: Plugin org.apache.maven.plugins:maven-archetype-plugin:2.3 or one of its dependencies could not be resolved: Could not transfer artifact xml-apis:xml-apis:jar:1.0.b2 from/to central (http://repo.maven.apache.org/maven2): Access denied to: http://repo.maven.apache.org/maven2/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar , ReasonPhrase:Blocked by ESET Security. -> [Help 1]
[ERROR]
[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]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException

Problem: I am using an anti-virus ESET Security. It has blocked my traffic !? :)