20

I'm a jee newbie so I may misunderstand some java concepts independent on jenkins itself.

I've got an access to a ubuntu-like server where jenkins was installed through sugo apt-get (someone else installed it). I've got a web access to the application. I want to find out how is it deployed and where - a tomcat (as a servlet container), an application server or nothing at all?

user@server:$ ps aux | grep jenkins
1001      1801  0.0  0.0   5628   836 pts/8    R+   10:58   0:00 grep --color=auto jenkins
jenkins  13758  0.1 11.0 1355676 456860 ?      Ssl  Feb05   1:26 /usr/bin/java -jar /usr/share/jenkins/jenkins.war --webroot=/var/run/jenkins/war --httpPort=8080 --ajp13Port=-1 --preferredClassLoader=java.net.URLClassLoader --logfile=/var/log/jenkins/jenkins.log

There is a .war file so there should be some kind of a servlet container, but I don't have tomcat installed.

user@server:$ dpkg -L jenkins
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/jenkins
/usr/share/doc/jenkins/README.Debian
/usr/share/doc/jenkins/copyright
/var
/var/log
/var/log/jenkins
/var/lib
/var/lib/jenkins
/etc
/etc/logrotate.d
/etc/logrotate.d/jenkins
/etc/init
/etc/init/jenkins.conf
/etc/init.d
/etc/default
/etc/default/jenkins
/usr/share/doc/jenkins/NEWS.Debian.gz
/usr/share/doc/jenkins/changelog.Debian.gz
/etc/init.d/jenkins
Rich Homolka
  • 31,057
  • 6
  • 55
  • 80
ducin
  • 367
  • 1
  • 3
  • 15

2 Answers2

28
  • Typically it is /var/lib/jenkins
  • dpkg -L jenkins will help you find what files does a package install
GrzegorzOledzki
  • 561
  • 1
  • 6
  • 17
  • So you mean that jenkins has its own servlet container? –  Feb 06 '13 at 11:14
  • 1
    Yep. If `8080` is your local Jenkins port, try accessing some non-existing address, e.g. http://localhost:8080/asdfasdf and then you can see some information. I see `Winstone Servlet Engine v0.9.10` – GrzegorzOledzki Feb 06 '13 at 12:48
4

By default, Jenkins is installed with the Winstone Servlet Container. It's a light-weight servlet container, not fully supporting some APIs (read more at wikipedia)

ducin
  • 367
  • 1
  • 3
  • 15