Tomcat & Jetspeed

Been trying to get jetspeed working with Tomcat on a debian machine. I get tomcat working fine (examples and sample page) and adding the jetspeed war file to the webapps results in a 'running' jetspeed entry. When I click on the jetspeed entry from the manager page or use the http://hostname:8080/jetspeed/ url, it fails with a jasper error that it can't find PoolService.

I must be missing some setting somewhere. Google searches don't yield much even though it's obvious others have the same trouble. I've posted on the jetspeed user's listgroup, but haven't gotten any replys. I've tried various versions of Tomcat and even compiled jetspeed from source. All with the same result.

Any ideas?

Tom
---------Error Log---------
exception

org.apache.jasper.JasperException: ServiceBroker: unknown service PoolService requested
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:254)
<snip>

root cause

org.apache.turbine.services.InstantiationException: ServiceBroker: unknown service PoolService requested
at org.apache.turbine.services.BaseServiceBroker.getServiceInstance(BaseServiceBroker.java:354)
<snip>

Comments

Re:Tomcat &amp; Jetspeed

OK. Not sure exactly what all fixed things, but it works now. Might be installing a path or setting environment vars or maybe installing maven. I dunno. Seems though that the debian packages aren't quite right. I used the Sun and apache binary (tomcat4.1.30/jspd1.5) packages to get this to work. I'll try to build jetspeed 2 from source tonight. At some point, I will mindwipe and redo everything just to confirm the recipe.

I'll subscribe to the debian-java list and see if there is more info there.

tomcat4 packages available...
* stable (web): Java Servlet 2.3 engine with JSP 1.2 support [contrib]
4.0.3-3woody3: alpha arm hppa i386 ia64 m68k mips mipsel powerpc s390 sparc
* testing (web): Java Servlet 2.3 engine with JSP 1.2 support [contrib]
4.0.4-4: alpha arm hppa i386 ia64 m68k mips mipsel powerpc s390 sparc
* unstable (web): Java Servlet 2.3 engine with JSP 1.2 support [contrib]
4.1.30-5: alpha arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc

Unfortunately, as you can see above, to get tomcat4.1.30, you have to install from unstable. I found that problematic since the libtomcat4-java is broken and won't install. Jetspeed will work ok with 3.3.3, but there isn't a package available with that. Jetspeed has problems with 4.0.x.

Is this typical for debian? I have run into this before. The good stuff you want is not quite all there. Not complainin' since I have great respect for the effort involved. Just wish I could use apt-get instead of gzip and tar! Guess I expected 4.1.30 to be testing and tomcat5 to be unstable.

Lastly, are there any java 'experts' in our club? Maybe this would be a good topic - java enterprise webserving? Um. Give me a few months (maybe more) if ya want it from me. ;)

Thanks for the help Michael.
Tom

Re:Tomcat &amp; Jetspeed

http://www.mail-archive.com/jetspeed-user@jakarta.apache.org/msg12168.html and subsequent threads may also have some helpful information

Re:Tomcat &amp; Jetspeed

You might want to ask on debian-java@lists.debian.org