Friday, March 29, 2013

Downloading and configuring jetty9

More info is available here http://www.eclipse.org/jetty/documentation/current/jetty-runner.html
http://linuxdatum.info/web-server/howto-install-php-fpm-with-nginx-on-ubuntu-12-04-lts
NgInx server install with FastCGI check  /etc/resolv.conf , /etc/hostname, /etc/hosts check for hostname in (127.0.1.1)

===Downloading and configuring jetty9==

search.maven.org for "jetty-runner"

wget -O ~/programs/lib/jetty-runner-9.0.0.v20130308.jar http://search.maven.org/remotecontent?filepath=org/eclipse/jetty/jetty-runner/9.0.0.v20130308/jetty-runner-9.0.0.v20130308.jar

rm ~/programs/jetty-9.jar
ln -s -T ~/programs/lib/jetty-runner-9.0.0.v20130308.jar ~/programs/jetty-9.jar


==in another Window RUN war from cmdLine
cd ~/projects-try
mvn archetype:create -DarchetypeGroupId=org.apache.maven.archetypes -DarchetypeArtifactId=maven-archetype-webapp -DarchetypeVersion=1.0 -DgroupId=com.example -DartifactId=ccaApp -Dversion=1.0-SNAPSHOT

cd ccaApp
mvn war:inplace

java -jar ~/programs/jetty-9.jar --port 9090  ~/projects-try/ccaApp/src/main/webapp or add this to pom.xml and run as mvn -Djetty.port=9090 jetty:run ===============



    ccaApp

  
   
   
   
  org.eclipse.jetty
  jetty-maven-plugin
  9.0.0.v20130308
  
  
    10
    
      /j9090
    
  


  




test using http://http://rpradeshik:9090/
===========

No comments: