[needs-packaging] add tomcat 6

Bug #120086 reported by Alvin Thompson
40
Affects Status Importance Assigned to Milestone
Ubuntu
Fix Released
Wishlist
Loris-Guillaume Minoia

Bug Description

Binary package hint: tomcat5.5

please add tomcat 6 because it's the only tomcat version that supports j2ee 5. i doubt it has any different deps than 5.5, which is already present.

thanks!

Revision history for this message
Matti Lindell (mlind) wrote :

not a tomcat5.5 bug

Changed in tomcat5.5:
importance: Undecided → Wishlist
status: Unconfirmed → Confirmed
Revision history for this message
Daniel Holbach (dholbach) wrote :

Tomcat 6 was not packaged yet. Either it has to be packaged separately or a package has to be ugpraded.

Revision history for this message
David Rabinowitz (davidrab) wrote :

Joining the request - this will enhance the value of Ubuntu as a server OS.

Revision history for this message
GSMD (gsmdib) wrote :

I believe that tomcat5.5 is pretty much obsolete so having tomcat6 in an OS targeted at enterprises is a must.
Please! :)

Revision history for this message
Alvin Thompson (alvint-deactivatedaccount) wrote :

+1

Revision history for this message
Thomas E. Deutsch (tdeutsch) wrote : Re: [needs-packaging] add tomcat 6 to hardy

Whats the actual status? Package is needed :)

Revision history for this message
David Rabinowitz (davidrab) wrote :

And hopefully soon!

Revision history for this message
Loris-Guillaume Minoia (miguillo) wrote :

Trying to package it. I'm really not against help and comments

Revision history for this message
GSMD (gsmdib) wrote :

Given that code is frozen for Gutsy, tomcat 6 won't make it's way. What a sad state of things! :(

Revision history for this message
Craig (candrews-integralblue) wrote :

Any news? Is this still in progress?

Revision history for this message
Loris-Guillaume Minoia (miguillo) wrote :

still in progress, got some trouble with security manager and I don't want to put in the wild an insecure package, if you want to have a look packaging patch is attached

Revision history for this message
Mathias Gug (mathiaz) wrote :

Have a look at the NewPackage process (https://wiki.ubuntu.com/UbuntuDevelopment/NewPackages) to get a new package uploaded in Ubuntu.

Revision history for this message
Mathias Gug (mathiaz) wrote :

Would it be possible to have tomcat5.5 and tomcat6 installed at the same time on a server ?

Revision history for this message
Matti Lindell (mlind) wrote :

Yes, both can be installed at the same time, using different ports though. Even multiple instances of tomcat containers is possible.

Revision history for this message
Loris-Guillaume Minoia (miguillo) wrote :

a first draft package is available on my ppa:
https://launchpad.net/~miguillo/+archive

things for which I ask your help:
- reviews
- missing dependencies
- non-i386 arch
- every bugs
someone should do it one day:
- packaging for hardy
- (backport)

interaction with other packages:
- libservlet2.4 as reported in bug https://bugs.launchpad.net/ubuntu/+source/libservlet2.4-java/+bug/198130. This change is packaged on my ppa.

Revision history for this message
Loris-Guillaume Minoia (miguillo) wrote :

please test:
- it's quiet a big package
- it open tcp port so security matters
- it has perhaps some implication with your code.
- does your webapps runs on it?
- did I forget something important that make your old tomcat5.5 webapps not working?

It can't be perfect, it's my first big package.

Revision history for this message
Loris-Guillaume Minoia (miguillo) wrote :
Revision history for this message
Matti Lindell (mlind) wrote :

Loris-Guillaume, thanks for your work! It would make sense to include previous changelog entries as the package is based to tomcat5.5 packaging and also credit the original packagers.

- Providing and using dedicated user, tomcat6, would be better security-wise at least
- Using port 8080, might cause trouble with existing servlet containers. Maybe default to something like 8280 as the tomcat5.5 package is using 8180
- Not sure about the mod_jk addition to server.xml, seems unnecessary?
- tomcat6 package probably needs java2-sdk in Depends as JDK is required to run tomcat

I'm going to test this out once the intrepid opens. If possible could you add this into bzr in launchpad ?

Revision history for this message
Loris-Guillaume Minoia (miguillo) wrote :

> I'm going to test this out once the intrepid opens. If possible could you add this into bzr in launchpad ?
in https://wiki.ubuntu.com/BzrMaintainerHowto, it's written:
    * If the package is intended for main, then the team should be ubuntu-core-dev.
    * If the package is intended for universe, then the team should be ubuntu-dev.
what's the team for multiverse, as it needs java2 and for now, there is none in main, neither universe: http://packages.ubuntu.com/intrepid/java2-compiler

> - It would make sense to include previous changelog entries as the package is based to tomcat5.5 packaging and also credit the original packagers.
I packaged it from scratch, with great inspiration from the tomcat5.5 package, (with exception of the policy.d directory that i evily copied), but this is sufficient for a credit.

> - Providing and using dedicated user, tomcat6, would be better security-wise at least
ok
> - Using port 8080, might cause trouble with existing servlet containers. Maybe default to something like 8280 as the tomcat5.5 package is using 8180
nod
> - Not sure about the mod_jk addition to server.xml, seems unnecessary?
it is not necessary, but the purpose of a distribution is not just to "./configure,make;make install". I should put either more jk integration, or just none, it's a good question
> - tomcat6 package probably needs java2-sdk in Depends as JDK is required to run tomcat
it uses the eclipse compiler (libecj-java) to compile jsp pages

Revision history for this message
muzzamo (murray-waters) wrote :

Using your PPA repository, I get the following error:

vmuser@vmuser-laptop:~$ sudo apt-get install tomcat6
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  jsvc libcommons-daemon-java libservlet2.5-java libtomcat6-java
The following NEW packages will be installed:
  jsvc libcommons-daemon-java libservlet2.5-java libtomcat6-java tomcat6
0 upgraded, 5 newly installed, 0 to remove and 1 not upgraded.
Need to get 3254kB of archives.
After this operation, 4321kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
WARNING: The following packages cannot be authenticated!
  libservlet2.5-java libtomcat6-java tomcat6
Install these packages without verification [y/N]? y
Get:1 http://ftp.filearena.net hardy/universe libcommons-daemon-java 1.0.2~svn20061127-6 [38.9kB]
Get:2 http://ftp.filearena.net hardy/universe jsvc 1.0.2~svn20061127-6 [23.7kB]
Get:3 http://ppa.launchpad.net hardy/main libservlet2.5-java 6.0.16-0ubuntu2 [150kB]
Get:4 http://ppa.launchpad.net hardy/main libtomcat6-java 6.0.16-0ubuntu2 [3012kB]
Get:5 http://ppa.launchpad.net hardy/main tomcat6 6.0.16-0ubuntu2 [29.3kB]
Fetched 3254kB in 17s (187kB/s)
Selecting previously deselected package libcommons-daemon-java.
(Reading database ... 109000 files and directories currently installed.)
Unpacking libcommons-daemon-java (from .../libcommons-daemon-java_1.0.2~svn20061127-6_all.deb) ...
Selecting previously deselected package jsvc.
Unpacking jsvc (from .../jsvc_1.0.2~svn20061127-6_i386.deb) ...
Selecting previously deselected package libservlet2.5-java.
Unpacking libservlet2.5-java (from .../libservlet2.5-java_6.0.16-0ubuntu2_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/libservlet2.5-java_6.0.16-0ubuntu2_i386.deb (--unpack):
 trying to overwrite `/usr/share/java/jsp-api.jar', which is also in package libservlet2.4-java
Selecting previously deselected package libtomcat6-java.
Unpacking libtomcat6-java (from .../libtomcat6-java_6.0.16-0ubuntu2_i386.deb) ...
Selecting previously deselected package tomcat6.
Unpacking tomcat6 (from .../tomcat6_6.0.16-0ubuntu2_i386.deb) ...
Errors were encountered while processing:
 /var/cache/apt/archives/libservlet2.5-java_6.0.16-0ubuntu2_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
Matti Lindell (mlind) wrote :

tomcat6 source package is now in Intrepid, thanks to Debian Java Maintainers. The only binary it currently produces is servlet2.5 api though.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.